SageMaker / Client / delete_tags

delete_tags#

SageMaker.Client.delete_tags(**kwargs)#

Deletes the specified tags from an SageMaker resource.

To list a resource’s tags, use the ListTags API.

Note

When you call this API to delete tags from a hyperparameter tuning job, the deleted tags are not removed from training jobs that the hyperparameter tuning job launched before you called this API.

Note

When you call this API to delete tags from a SageMaker Domain or User Profile, the deleted tags are not removed from Apps that the SageMaker Domain or User Profile launched before you called this API.

See also: AWS API Documentation

Request Syntax

response = client.delete_tags(
    ResourceArn='string',
    TagKeys=[
        'string',
    ]
)
Parameters:
  • ResourceArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the resource whose tags you want to delete.

  • TagKeys (list) –

    [REQUIRED]

    An array or one or more tag keys to delete.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –