fn create_unreferenced_merge_commit(
        &self,
        input: CreateUnreferencedMergeCommitInput,
    ) -> RusotoFuture<CreateUnreferencedMergeCommitOutput, CreateUnreferencedMergeCommitError> {
        let mut request = SignedRequest::new("POST", "codecommit", &self.region, "/");

        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header(
            "x-amz-target",
            "CodeCommit_20150413.CreateUnreferencedMergeCommit",
        );
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded));

        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(response.buffer().from_err().and_then(|response| {
                    proto::json::ResponsePayload::new(&response)
                        .deserialize::<CreateUnreferencedMergeCommitOutput, _>()
                }))
            } else {
                Box::new(response.buffer().from_err().and_then(|response| {
                    Err(CreateUnreferencedMergeCommitError::from_response(response))
                }))
            }
        })
    }
/// <p><p>Creates an unreferenced commit that represents the result of merging two branches using a specified merge strategy. This can help you determine the outcome of a potential merge. This API cannot be used with the fast-forward merge strategy, as that strategy does not create a merge commit.</p> <note> <p>This unreferenced merge commit can only be accessed using the GetCommit API or through git commands such as git fetch. To retrieve this commit, you must specify its commit ID or otherwise reference it.</p> </note></p>
Creates an unreferenced commit that represents the result of merging two branches using a specified merge strategy. This can help you determine the outcome of a potential merge. This API cannot be used with the fast-forward merge strategy, as that strategy does not create a merge commit.  This unreferenced merge commit can only be accessed using the GetCommit API or through git commands such as git fetch. To retrieve this commit, you must specify its commit ID or otherwise reference it. 
Creates an unreferenced commit that represents the result of merging two branches using a specified merge strategy . This can help you determine the outcome of a potential merge . This API cannot be used with the fast - forward merge strategy as that strategy does not create a merge commit . This unreferenced merge commit can only be accessed using the GetCommit API or through git commands such as git fetch . To retrieve this commit you must specify its commit ID or otherwise reference it .
fn create_unreferenced_merge_commit(
        &self,
        input: CreateUnreferencedMergeCommitInput,
    ) -> RusotoFuture<CreateUnreferencedMergeCommitOutput, CreateUnreferencedMergeCommitError> {
        let mut request = SignedRequest::new("POST", "codecommit", &self.region, "/");
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header(
            "x-amz-target",
            "CodeCommit_20150413.CreateUnreferencedMergeCommit",
        );
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded));
        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(response.buffer().from_err().and_then(|response| {
                    proto::json::ResponsePayload::new(&response)
                        .deserialize::<CreateUnreferencedMergeCommitOutput, _>()
                }))
            } else {
                Box::new(response.buffer().from_err().and_then(|response| {
                    Err(CreateUnreferencedMergeCommitError::from_response(response))
                }))
            }
        })
    }
fn create_unreferenced_merge_commit ( & self , input : CreateUnreferencedMergeCommitInput , ) -> RusotoFuture < CreateUnreferencedMergeCommitOutput , CreateUnreferencedMergeCommitError > { let mut request = SignedRequest :: new ( " " , " " , & self . region , " " ) ; request . set_content_type ( " " . to_owned ( ) ) ; request . add_header ( " " , " " , ) ; let encoded = serde_json :: to_string ( & input ) . unwrap ( ) ; request . set_payload ( Some ( encoded ) ) ; self . client . sign_and_dispatch ( request , | response | { if response . status . is_success ( ) { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { proto :: json :: ResponsePayload :: new ( & response ) . deserialize :: < CreateUnreferencedMergeCommitOutput , _ > ( ) } ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { Err ( CreateUnreferencedMergeCommitError :: from_response ( response ) ) } ) ) } } ) }
<p><p>Creates an unreferenced commit that represents the result of merging two branches using a specified merge strategy.
<p > <p > Creates an unreferenced commit that represents the result of merging two branches using a specified merge strategy .
&self
input
CreateUnreferencedMergeCommitInput
&self
input
CreateUnreferencedMergeCommitInput