Smaws_Client_CodeCommit.CreatePullRequestCreates a pull request in the specified repository.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ClientRequestTokenRequiredException of
Types.client_request_token_required_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
| `IdempotencyParameterMismatchException of
Types.idempotency_parameter_mismatch_exception
| `InvalidClientRequestTokenException of
Types.invalid_client_request_token_exception
| `InvalidDescriptionException of Types.invalid_description_exception
| `InvalidReferenceNameException of Types.invalid_reference_name_exception
| `InvalidRepositoryNameException of Types.invalid_repository_name_exception
| `InvalidTargetException of Types.invalid_target_exception
| `InvalidTargetsException of Types.invalid_targets_exception
| `InvalidTitleException of Types.invalid_title_exception
| `MaximumOpenPullRequestsExceededException of
Types.maximum_open_pull_requests_exceeded_exception
| `MultipleRepositoriesInPullRequestException of
Types.multiple_repositories_in_pull_request_exception
| `ReferenceDoesNotExistException of Types.reference_does_not_exist_exception
| `ReferenceNameRequiredException of Types.reference_name_required_exception
| `ReferenceTypeNotSupportedException of
Types.reference_type_not_supported_exception
| `RepositoryDoesNotExistException of
Types.repository_does_not_exist_exception
| `RepositoryNameRequiredException of
Types.repository_name_required_exception
| `SourceAndDestinationAreSameException of
Types.source_and_destination_are_same_exception
| `TargetRequiredException of Types.target_required_exception
| `TargetsRequiredException of Types.targets_required_exception
| `TitleRequiredException of Types.title_required_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_pull_request_input ->
(Types.create_pull_request_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `ClientRequestTokenRequiredException of
Types.client_request_token_required_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
| `IdempotencyParameterMismatchException of
Types.idempotency_parameter_mismatch_exception
| `InvalidClientRequestTokenException of
Types.invalid_client_request_token_exception
| `InvalidDescriptionException of Types.invalid_description_exception
| `InvalidReferenceNameException of Types.invalid_reference_name_exception
| `InvalidRepositoryNameException of
Types.invalid_repository_name_exception
| `InvalidTargetException of Types.invalid_target_exception
| `InvalidTargetsException of Types.invalid_targets_exception
| `InvalidTitleException of Types.invalid_title_exception
| `MaximumOpenPullRequestsExceededException of
Types.maximum_open_pull_requests_exceeded_exception
| `MultipleRepositoriesInPullRequestException of
Types.multiple_repositories_in_pull_request_exception
| `ReferenceDoesNotExistException of
Types.reference_does_not_exist_exception
| `ReferenceNameRequiredException of
Types.reference_name_required_exception
| `ReferenceTypeNotSupportedException of
Types.reference_type_not_supported_exception
| `RepositoryDoesNotExistException of
Types.repository_does_not_exist_exception
| `RepositoryNameRequiredException of
Types.repository_name_required_exception
| `SourceAndDestinationAreSameException of
Types.source_and_destination_are_same_exception
| `TargetRequiredException of Types.target_required_exception
| `TargetsRequiredException of Types.targets_required_exception
| `TitleRequiredException of Types.title_required_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_pull_request_input ->
(Types.create_pull_request_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ClientRequestTokenRequiredException of
Types.client_request_token_required_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
| `IdempotencyParameterMismatchException of
Types.idempotency_parameter_mismatch_exception
| `InvalidClientRequestTokenException of
Types.invalid_client_request_token_exception
| `InvalidDescriptionException of Types.invalid_description_exception
| `InvalidReferenceNameException of Types.invalid_reference_name_exception
| `InvalidRepositoryNameException of
Types.invalid_repository_name_exception
| `InvalidTargetException of Types.invalid_target_exception
| `InvalidTargetsException of Types.invalid_targets_exception
| `InvalidTitleException of Types.invalid_title_exception
| `MaximumOpenPullRequestsExceededException of
Types.maximum_open_pull_requests_exceeded_exception
| `MultipleRepositoriesInPullRequestException of
Types.multiple_repositories_in_pull_request_exception
| `ReferenceDoesNotExistException of
Types.reference_does_not_exist_exception
| `ReferenceNameRequiredException of
Types.reference_name_required_exception
| `ReferenceTypeNotSupportedException of
Types.reference_type_not_supported_exception
| `RepositoryDoesNotExistException of
Types.repository_does_not_exist_exception
| `RepositoryNameRequiredException of
Types.repository_name_required_exception
| `SourceAndDestinationAreSameException of
Types.source_and_destination_are_same_exception
| `TargetRequiredException of Types.target_required_exception
| `TargetsRequiredException of Types.targets_required_exception
| `TitleRequiredException of Types.title_required_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result