get_blob(**kwargs)¶Returns the base-64 encoded content of an individual blob in a repository.
See also: AWS API Documentation
Request Syntax
response = client.get_blob(
repositoryName='string',
blobId='string'
)
[REQUIRED]
The name of the repository that contains the blob.
[REQUIRED]
The ID of the blob, which is its SHA-1 pointer.
dict
Response Syntax
{
'content': b'bytes'
}
Response Structure
(dict) --
Represents the output of a get blob operation.
content (bytes) --
The content of the blob, usually a file.
Exceptions
CodeCommit.Client.exceptions.RepositoryNameRequiredExceptionCodeCommit.Client.exceptions.InvalidRepositoryNameExceptionCodeCommit.Client.exceptions.RepositoryDoesNotExistExceptionCodeCommit.Client.exceptions.BlobIdRequiredExceptionCodeCommit.Client.exceptions.InvalidBlobIdExceptionCodeCommit.Client.exceptions.BlobIdDoesNotExistExceptionCodeCommit.Client.exceptions.EncryptionIntegrityChecksFailedExceptionCodeCommit.Client.exceptions.EncryptionKeyAccessDeniedExceptionCodeCommit.Client.exceptions.EncryptionKeyDisabledExceptionCodeCommit.Client.exceptions.EncryptionKeyNotFoundExceptionCodeCommit.Client.exceptions.EncryptionKeyUnavailableExceptionCodeCommit.Client.exceptions.FileTooLargeException