Smaws_Client_CodeCommit.GetBranchReturns information about a repository branch, including its name and the last commit ID.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `BranchDoesNotExistException of Types.branch_does_not_exist_exception
| `BranchNameRequiredException of Types.branch_name_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
| `InvalidBranchNameException of Types.invalid_branch_name_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.get_branch_input ->
(Types.get_branch_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `BranchDoesNotExistException of Types.branch_does_not_exist_exception
| `BranchNameRequiredException of Types.branch_name_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
| `InvalidBranchNameException of Types.invalid_branch_name_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.get_branch_input ->
(Types.get_branch_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `BranchDoesNotExistException of Types.branch_does_not_exist_exception
| `BranchNameRequiredException of Types.branch_name_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
| `InvalidBranchNameException of Types.invalid_branch_name_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