describe_image
(**kwargs)¶Describes a SageMaker image.
See also: AWS API Documentation
Request Syntax
response = client.describe_image(
ImageName='string'
)
[REQUIRED]
The name of the image to describe.
{
'CreationTime': datetime(2015, 1, 1),
'Description': 'string',
'DisplayName': 'string',
'FailureReason': 'string',
'ImageArn': 'string',
'ImageName': 'string',
'ImageStatus': 'CREATING'|'CREATED'|'CREATE_FAILED'|'UPDATING'|'UPDATE_FAILED'|'DELETING'|'DELETE_FAILED',
'LastModifiedTime': datetime(2015, 1, 1),
'RoleArn': 'string'
}
Response Structure
When the image was created.
The description of the image.
The name of the image as displayed.
When a create, update, or delete operation fails, the reason for the failure.
The ARN of the image.
The name of the image.
The status of the image.
When the image was last modified.
The ARN of the IAM role that enables Amazon SageMaker to perform tasks on your behalf.
Exceptions
SageMaker.Client.exceptions.ResourceNotFound