Describes one or more of the tags for your Amazon ML object.
See also: AWS API Documentation
Request Syntax
response = client.describe_tags(
ResourceId='string',
ResourceType='BatchPrediction'|'DataSource'|'Evaluation'|'MLModel'
)
[REQUIRED]
The ID of the ML object. For example, exampleModelId
.
[REQUIRED]
The type of the ML object.
dict
Response Syntax
{
'ResourceId': 'string',
'ResourceType': 'BatchPrediction'|'DataSource'|'Evaluation'|'MLModel',
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
Response Structure
(dict) --
Amazon ML returns the following elements.
ResourceId (string) --
The ID of the tagged ML object.
ResourceType (string) --
The type of the tagged ML object.
Tags (list) --
A list of tags associated with the ML object.
(dict) --
A custom key-value pair associated with an ML object, such as an ML model.
Key (string) --
A unique identifier for the tag. Valid characters include Unicode letters, digits, white space, _, ., /, =, +, -, %, and @.
Value (string) --
An optional string, typically used to describe or define the tag. Valid characters include Unicode letters, digits, white space, _, ., /, =, +, -, %, and @.
Exceptions
MachineLearning.Client.exceptions.InvalidInputException
MachineLearning.Client.exceptions.ResourceNotFoundException
MachineLearning.Client.exceptions.InternalServerException