Smaws_Client_CodeCommit.ListPullRequestsReturns a list of pull requests for a specified repository. The return list can be refined by pull request status or pull request author ARN.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AuthorDoesNotExistException of Types.author_does_not_exist_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
| `InvalidAuthorArnException of Types.invalid_author_arn_exception
| `InvalidContinuationTokenException of
Types.invalid_continuation_token_exception
| `InvalidMaxResultsException of Types.invalid_max_results_exception
| `InvalidPullRequestStatusException of
Types.invalid_pull_request_status_exception
| `InvalidRepositoryNameException of Types.invalid_repository_name_exception
| `RepositoryDoesNotExistException of
Types.repository_does_not_exist_exception
| `RepositoryNameRequiredException of
Types.repository_name_required_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_pull_requests_input ->
(Types.list_pull_requests_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `AuthorDoesNotExistException of Types.author_does_not_exist_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
| `InvalidAuthorArnException of Types.invalid_author_arn_exception
| `InvalidContinuationTokenException of
Types.invalid_continuation_token_exception
| `InvalidMaxResultsException of Types.invalid_max_results_exception
| `InvalidPullRequestStatusException of
Types.invalid_pull_request_status_exception
| `InvalidRepositoryNameException of
Types.invalid_repository_name_exception
| `RepositoryDoesNotExistException of
Types.repository_does_not_exist_exception
| `RepositoryNameRequiredException of
Types.repository_name_required_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_pull_requests_input ->
(Types.list_pull_requests_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AuthorDoesNotExistException of Types.author_does_not_exist_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
| `InvalidAuthorArnException of Types.invalid_author_arn_exception
| `InvalidContinuationTokenException of
Types.invalid_continuation_token_exception
| `InvalidMaxResultsException of Types.invalid_max_results_exception
| `InvalidPullRequestStatusException of
Types.invalid_pull_request_status_exception
| `InvalidRepositoryNameException of
Types.invalid_repository_name_exception
| `RepositoryDoesNotExistException of
Types.repository_does_not_exist_exception
| `RepositoryNameRequiredException of
Types.repository_name_required_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result