get_object_metadata
(**kwargs)¶Get metadata associated with an Object.
See also: AWS API Documentation
Request Syntax
response = client.get_object_metadata(
StorageJobId='string',
ObjectToken='string'
)
dict
Response Syntax
{
'MetadataString': 'string',
'MetadataBlob': StreamingBody(),
'MetadataBlobLength': 123,
'MetadataBlobChecksum': 'string',
'MetadataBlobChecksumAlgorithm': 'SHA256'
}
Response Structure
StreamingBody
) -- Metadata blob.Exceptions
BackupStorage.Client.exceptions.ServiceUnavailableException
BackupStorage.Client.exceptions.ServiceInternalException
BackupStorage.Client.exceptions.ResourceNotFoundException
BackupStorage.Client.exceptions.RetryableException
BackupStorage.Client.exceptions.IllegalArgumentException
BackupStorage.Client.exceptions.ThrottlingException
BackupStorage.Client.exceptions.KMSInvalidKeyUsageException
BackupStorage.Client.exceptions.AccessDeniedException