Deletes the specified tags associated with an ML object. After this operation is complete, you can't recover deleted tags.
If you specify a tag that doesn't exist, Amazon ML ignores it.
See also: AWS API Documentation
Request Syntax
response = client.delete_tags(
TagKeys=[
'string',
],
ResourceId='string',
ResourceType='BatchPrediction'|'DataSource'|'Evaluation'|'MLModel'
)
[REQUIRED]
One or more tags to delete.
[REQUIRED]
The ID of the tagged ML object. For example, exampleModelId
.
[REQUIRED]
The type of the tagged ML object.
dict
Response Syntax
{
'ResourceId': 'string',
'ResourceType': 'BatchPrediction'|'DataSource'|'Evaluation'|'MLModel'
}
Response Structure
(dict) --
Amazon ML returns the following elements.
ResourceId (string) --
The ID of the ML object from which tags were deleted.
ResourceType (string) --
The type of the ML object from which tags were deleted.
Exceptions
MachineLearning.Client.exceptions.InvalidInputException
MachineLearning.Client.exceptions.InvalidTagException
MachineLearning.Client.exceptions.ResourceNotFoundException
MachineLearning.Client.exceptions.InternalServerException