AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Returns the base-64 encoded content of an individual blob in a repository.
For .NET Core this operation is only available in asynchronous form. Please refer to GetBlobAsync.
Namespace: Amazon.CodeCommit
Assembly: AWSSDK.CodeCommit.dll
Version: 3.x.y.z
public virtual GetBlobResponse GetBlob( GetBlobRequest request )
Container for the necessary parameters to execute the GetBlob service method.
Exception | Condition |
---|---|
BlobIdDoesNotExistException | The specified blob does not exist. |
BlobIdRequiredException | A blob ID is required, but was not specified. |
EncryptionIntegrityChecksFailedException | An encryption integrity check failed. |
EncryptionKeyAccessDeniedException | An encryption key could not be accessed. |
EncryptionKeyDisabledException | The encryption key is disabled. |
EncryptionKeyNotFoundException | No encryption key was found. |
EncryptionKeyUnavailableException | The encryption key is not available. |
FileTooLargeException | The specified file exceeds the file size limit for CodeCommit. For more information about limits in CodeCommit, see Quotas in the CodeCommit User Guide. |
InvalidBlobIdException | The specified blob is not valid. |
InvalidRepositoryNameException | A specified repository name is not valid. This exception occurs only when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist. |
RepositoryDoesNotExistException | The specified repository does not exist. |
RepositoryNameRequiredException | A repository name is required, but was not specified. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5