Module Smaws_Client_CodeCommit.UpdatePullRequestApprovalState

Updates the state of a user's approval on a pull request. The user is derived from the signed-in account when the request is made.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ApprovalStateRequiredException of Types.approval_state_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 | `InvalidApprovalStateException of Types.invalid_approval_state_exception | `InvalidPullRequestIdException of Types.invalid_pull_request_id_exception | `InvalidRevisionIdException of Types.invalid_revision_id_exception | `MaximumNumberOfApprovalsExceededException of Types.maximum_number_of_approvals_exceeded_exception | `PullRequestAlreadyClosedException of Types.pull_request_already_closed_exception | `PullRequestCannotBeApprovedByAuthorException of Types.pull_request_cannot_be_approved_by_author_exception | `PullRequestDoesNotExistException of Types.pull_request_does_not_exist_exception | `PullRequestIdRequiredException of Types.pull_request_id_required_exception | `RevisionIdRequiredException of Types.revision_id_required_exception | `RevisionNotCurrentException of Types.revision_not_current_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.update_pull_request_approval_state_input -> (Smaws_Lib.Smithy_api.Types.unit_, [> Smaws_Lib.Protocols.AwsJson.error | `ApprovalStateRequiredException of Types.approval_state_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 | `InvalidApprovalStateException of Types.invalid_approval_state_exception | `InvalidPullRequestIdException of Types.invalid_pull_request_id_exception | `InvalidRevisionIdException of Types.invalid_revision_id_exception | `MaximumNumberOfApprovalsExceededException of Types.maximum_number_of_approvals_exceeded_exception | `PullRequestAlreadyClosedException of Types.pull_request_already_closed_exception | `PullRequestCannotBeApprovedByAuthorException of Types.pull_request_cannot_be_approved_by_author_exception | `PullRequestDoesNotExistException of Types.pull_request_does_not_exist_exception | `PullRequestIdRequiredException of Types.pull_request_id_required_exception | `RevisionIdRequiredException of Types.revision_id_required_exception | `RevisionNotCurrentException of Types.revision_not_current_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.update_pull_request_approval_state_input -> (Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `ApprovalStateRequiredException of Types.approval_state_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 | `InvalidApprovalStateException of Types.invalid_approval_state_exception | `InvalidPullRequestIdException of Types.invalid_pull_request_id_exception | `InvalidRevisionIdException of Types.invalid_revision_id_exception | `MaximumNumberOfApprovalsExceededException of Types.maximum_number_of_approvals_exceeded_exception | `PullRequestAlreadyClosedException of Types.pull_request_already_closed_exception | `PullRequestCannotBeApprovedByAuthorException of Types.pull_request_cannot_be_approved_by_author_exception | `PullRequestDoesNotExistException of Types.pull_request_does_not_exist_exception | `PullRequestIdRequiredException of Types.pull_request_id_required_exception | `RevisionIdRequiredException of Types.revision_id_required_exception | `RevisionNotCurrentException of Types.revision_not_current_exception ] * Smaws_Lib.Response.metadata) Stdlib.result