SageMaker.Client.
describe_context
(**kwargs)¶Describes a context.
See also: AWS API Documentation
Request Syntax
response = client.describe_context(
ContextName='string'
)
[REQUIRED]
The name of the context to describe.
{
'ContextName': 'string',
'ContextArn': 'string',
'Source': {
'SourceUri': 'string',
'SourceType': 'string',
'SourceId': 'string'
},
'ContextType': 'string',
'Description': 'string',
'Properties': {
'string': 'string'
},
'CreationTime': datetime(2015, 1, 1),
'CreatedBy': {
'UserProfileArn': 'string',
'UserProfileName': 'string',
'DomainId': 'string',
'IamIdentity': {
'Arn': 'string',
'PrincipalId': 'string',
'SourceIdentity': 'string'
}
},
'LastModifiedTime': datetime(2015, 1, 1),
'LastModifiedBy': {
'UserProfileArn': 'string',
'UserProfileName': 'string',
'DomainId': 'string',
'IamIdentity': {
'Arn': 'string',
'PrincipalId': 'string',
'SourceIdentity': 'string'
}
},
'LineageGroupArn': 'string'
}
Response Structure
The name of the context.
The Amazon Resource Name (ARN) of the context.
The source of the context.
The URI of the source.
The type of the source.
The ID of the source.
The type of the context.
The description of the context.
A list of the context's properties.
When the context was created.
Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
The Amazon Resource Name (ARN) of the user's profile.
The name of the user's profile.
The domain associated with the user.
The IAM Identity details associated with the user. These details are associated with model package groups, model packages, and project entities only.
The Amazon Resource Name (ARN) of the IAM identity.
The ID of the principal that assumes the IAM identity.
The person or application which assumes the IAM identity.
When the context was last modified.
Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
The Amazon Resource Name (ARN) of the user's profile.
The name of the user's profile.
The domain associated with the user.
The IAM Identity details associated with the user. These details are associated with model package groups, model packages, and project entities only.
The Amazon Resource Name (ARN) of the IAM identity.
The ID of the principal that assumes the IAM identity.
The person or application which assumes the IAM identity.
The Amazon Resource Name (ARN) of the lineage group.
Exceptions
SageMaker.Client.exceptions.ResourceNotFound