Module Smaws_Client_CodeCommit.MergePullRequestByFastForward

Attempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the fast-forward merge strategy. If the merge is successful, it closes the pull request.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ConcurrentReferenceUpdateException of Types.concurrent_reference_update_exception | `EncryptionIntegrityChecksFailedException of Types.encryption_integrity_checks_failed_exception | `EncryptionKeyAccessDeniedException of Types.encryption_key_access_denied_exception | `EncryptionKeyDisabledException of Types.encryption_key_disabled_exception | `EncryptionKeyNotFoundException of Types.encryption_key_not_found_exception | `EncryptionKeyUnavailableException of Types.encryption_key_unavailable_exception | `InvalidCommitIdException of Types.invalid_commit_id_exception | `InvalidPullRequestIdException of Types.invalid_pull_request_id_exception | `InvalidRepositoryNameException of Types.invalid_repository_name_exception | `ManualMergeRequiredException of Types.manual_merge_required_exception | `PullRequestAlreadyClosedException of Types.pull_request_already_closed_exception | `PullRequestApprovalRulesNotSatisfiedException of Types.pull_request_approval_rules_not_satisfied_exception | `PullRequestDoesNotExistException of Types.pull_request_does_not_exist_exception | `PullRequestIdRequiredException of Types.pull_request_id_required_exception | `ReferenceDoesNotExistException of Types.reference_does_not_exist_exception | `RepositoryDoesNotExistException of Types.repository_does_not_exist_exception | `RepositoryNameRequiredException of Types.repository_name_required_exception | `RepositoryNotAssociatedWithPullRequestException of Types.repository_not_associated_with_pull_request_exception | `TipOfSourceReferenceIsDifferentException of Types.tip_of_source_reference_is_different_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.merge_pull_request_by_fast_forward_input -> (Types.merge_pull_request_by_fast_forward_output, [> Smaws_Lib.Protocols.AwsJson.error | `ConcurrentReferenceUpdateException of Types.concurrent_reference_update_exception | `EncryptionIntegrityChecksFailedException of Types.encryption_integrity_checks_failed_exception | `EncryptionKeyAccessDeniedException of Types.encryption_key_access_denied_exception | `EncryptionKeyDisabledException of Types.encryption_key_disabled_exception | `EncryptionKeyNotFoundException of Types.encryption_key_not_found_exception | `EncryptionKeyUnavailableException of Types.encryption_key_unavailable_exception | `InvalidCommitIdException of Types.invalid_commit_id_exception | `InvalidPullRequestIdException of Types.invalid_pull_request_id_exception | `InvalidRepositoryNameException of Types.invalid_repository_name_exception | `ManualMergeRequiredException of Types.manual_merge_required_exception | `PullRequestAlreadyClosedException of Types.pull_request_already_closed_exception | `PullRequestApprovalRulesNotSatisfiedException of Types.pull_request_approval_rules_not_satisfied_exception | `PullRequestDoesNotExistException of Types.pull_request_does_not_exist_exception | `PullRequestIdRequiredException of Types.pull_request_id_required_exception | `ReferenceDoesNotExistException of Types.reference_does_not_exist_exception | `RepositoryDoesNotExistException of Types.repository_does_not_exist_exception | `RepositoryNameRequiredException of Types.repository_name_required_exception | `RepositoryNotAssociatedWithPullRequestException of Types.repository_not_associated_with_pull_request_exception | `TipOfSourceReferenceIsDifferentException of Types.tip_of_source_reference_is_different_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.merge_pull_request_by_fast_forward_input -> (Types.merge_pull_request_by_fast_forward_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `ConcurrentReferenceUpdateException of Types.concurrent_reference_update_exception | `EncryptionIntegrityChecksFailedException of Types.encryption_integrity_checks_failed_exception | `EncryptionKeyAccessDeniedException of Types.encryption_key_access_denied_exception | `EncryptionKeyDisabledException of Types.encryption_key_disabled_exception | `EncryptionKeyNotFoundException of Types.encryption_key_not_found_exception | `EncryptionKeyUnavailableException of Types.encryption_key_unavailable_exception | `InvalidCommitIdException of Types.invalid_commit_id_exception | `InvalidPullRequestIdException of Types.invalid_pull_request_id_exception | `InvalidRepositoryNameException of Types.invalid_repository_name_exception | `ManualMergeRequiredException of Types.manual_merge_required_exception | `PullRequestAlreadyClosedException of Types.pull_request_already_closed_exception | `PullRequestApprovalRulesNotSatisfiedException of Types.pull_request_approval_rules_not_satisfied_exception | `PullRequestDoesNotExistException of Types.pull_request_does_not_exist_exception | `PullRequestIdRequiredException of Types.pull_request_id_required_exception | `ReferenceDoesNotExistException of Types.reference_does_not_exist_exception | `RepositoryDoesNotExistException of Types.repository_does_not_exist_exception | `RepositoryNameRequiredException of Types.repository_name_required_exception | `RepositoryNotAssociatedWithPullRequestException of Types.repository_not_associated_with_pull_request_exception | `TipOfSourceReferenceIsDifferentException of Types.tip_of_source_reference_is_different_exception ] * Smaws_Lib.Response.metadata) Stdlib.result