Smaws_Client_CodeCommit.MergePullRequestBySquashAttempts to merge the source commit of a pull request into the specified destination branch for that pull request at the specified commit using the squash merge strategy. If the merge is successful, it closes the pull request.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `CommitMessageLengthExceededException of
Types.commit_message_length_exceeded_exception
| `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
| `FileContentSizeLimitExceededException of
Types.file_content_size_limit_exceeded_exception
| `FolderContentSizeLimitExceededException of
Types.folder_content_size_limit_exceeded_exception
| `InvalidCommitIdException of Types.invalid_commit_id_exception
| `InvalidConflictDetailLevelException of
Types.invalid_conflict_detail_level_exception
| `InvalidConflictResolutionException of
Types.invalid_conflict_resolution_exception
| `InvalidConflictResolutionStrategyException of
Types.invalid_conflict_resolution_strategy_exception
| `InvalidEmailException of Types.invalid_email_exception
| `InvalidFileModeException of Types.invalid_file_mode_exception
| `InvalidPathException of Types.invalid_path_exception
| `InvalidPullRequestIdException of Types.invalid_pull_request_id_exception
| `InvalidReplacementContentException of
Types.invalid_replacement_content_exception
| `InvalidReplacementTypeException of
Types.invalid_replacement_type_exception
| `InvalidRepositoryNameException of Types.invalid_repository_name_exception
| `ManualMergeRequiredException of Types.manual_merge_required_exception
| `MaximumConflictResolutionEntriesExceededException of
Types.maximum_conflict_resolution_entries_exceeded_exception
| `MaximumFileContentToLoadExceededException of
Types.maximum_file_content_to_load_exceeded_exception
| `MaximumItemsToCompareExceededException of
Types.maximum_items_to_compare_exceeded_exception
| `MultipleConflictResolutionEntriesException of
Types.multiple_conflict_resolution_entries_exception
| `NameLengthExceededException of Types.name_length_exceeded_exception
| `PathRequiredException of Types.path_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
| `ReplacementContentRequiredException of
Types.replacement_content_required_exception
| `ReplacementTypeRequiredException of
Types.replacement_type_required_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
| `TipsDivergenceExceededException of
Types.tips_divergence_exceeded_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.merge_pull_request_by_squash_input ->
(Types.merge_pull_request_by_squash_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `CommitMessageLengthExceededException of
Types.commit_message_length_exceeded_exception
| `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
| `FileContentSizeLimitExceededException of
Types.file_content_size_limit_exceeded_exception
| `FolderContentSizeLimitExceededException of
Types.folder_content_size_limit_exceeded_exception
| `InvalidCommitIdException of Types.invalid_commit_id_exception
| `InvalidConflictDetailLevelException of
Types.invalid_conflict_detail_level_exception
| `InvalidConflictResolutionException of
Types.invalid_conflict_resolution_exception
| `InvalidConflictResolutionStrategyException of
Types.invalid_conflict_resolution_strategy_exception
| `InvalidEmailException of Types.invalid_email_exception
| `InvalidFileModeException of Types.invalid_file_mode_exception
| `InvalidPathException of Types.invalid_path_exception
| `InvalidPullRequestIdException of Types.invalid_pull_request_id_exception
| `InvalidReplacementContentException of
Types.invalid_replacement_content_exception
| `InvalidReplacementTypeException of
Types.invalid_replacement_type_exception
| `InvalidRepositoryNameException of
Types.invalid_repository_name_exception
| `ManualMergeRequiredException of Types.manual_merge_required_exception
| `MaximumConflictResolutionEntriesExceededException of
Types.maximum_conflict_resolution_entries_exceeded_exception
| `MaximumFileContentToLoadExceededException of
Types.maximum_file_content_to_load_exceeded_exception
| `MaximumItemsToCompareExceededException of
Types.maximum_items_to_compare_exceeded_exception
| `MultipleConflictResolutionEntriesException of
Types.multiple_conflict_resolution_entries_exception
| `NameLengthExceededException of Types.name_length_exceeded_exception
| `PathRequiredException of Types.path_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
| `ReplacementContentRequiredException of
Types.replacement_content_required_exception
| `ReplacementTypeRequiredException of
Types.replacement_type_required_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
| `TipsDivergenceExceededException of
Types.tips_divergence_exceeded_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.merge_pull_request_by_squash_input ->
(Types.merge_pull_request_by_squash_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `CommitMessageLengthExceededException of
Types.commit_message_length_exceeded_exception
| `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
| `FileContentSizeLimitExceededException of
Types.file_content_size_limit_exceeded_exception
| `FolderContentSizeLimitExceededException of
Types.folder_content_size_limit_exceeded_exception
| `InvalidCommitIdException of Types.invalid_commit_id_exception
| `InvalidConflictDetailLevelException of
Types.invalid_conflict_detail_level_exception
| `InvalidConflictResolutionException of
Types.invalid_conflict_resolution_exception
| `InvalidConflictResolutionStrategyException of
Types.invalid_conflict_resolution_strategy_exception
| `InvalidEmailException of Types.invalid_email_exception
| `InvalidFileModeException of Types.invalid_file_mode_exception
| `InvalidPathException of Types.invalid_path_exception
| `InvalidPullRequestIdException of Types.invalid_pull_request_id_exception
| `InvalidReplacementContentException of
Types.invalid_replacement_content_exception
| `InvalidReplacementTypeException of
Types.invalid_replacement_type_exception
| `InvalidRepositoryNameException of
Types.invalid_repository_name_exception
| `ManualMergeRequiredException of Types.manual_merge_required_exception
| `MaximumConflictResolutionEntriesExceededException of
Types.maximum_conflict_resolution_entries_exceeded_exception
| `MaximumFileContentToLoadExceededException of
Types.maximum_file_content_to_load_exceeded_exception
| `MaximumItemsToCompareExceededException of
Types.maximum_items_to_compare_exceeded_exception
| `MultipleConflictResolutionEntriesException of
Types.multiple_conflict_resolution_entries_exception
| `NameLengthExceededException of Types.name_length_exceeded_exception
| `PathRequiredException of Types.path_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
| `ReplacementContentRequiredException of
Types.replacement_content_required_exception
| `ReplacementTypeRequiredException of
Types.replacement_type_required_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
| `TipsDivergenceExceededException of
Types.tips_divergence_exceeded_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result