ApplicationAutoScaling / Client / untag_resource

untag_resource#

ApplicationAutoScaling.Client.untag_resource(**kwargs)#

Deletes tags from an Application Auto Scaling scalable target. To delete a tag, specify the tag key and the Application Auto Scaling scalable target.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    Identifies the Application Auto Scaling scalable target from which to remove tags.

    For example: arn:aws:application-autoscaling:us-east-1:123456789012:scalable-target/1234abcd56ab78cd901ef1234567890ab123

    To get the ARN for a scalable target, use DescribeScalableTargets.

  • TagKeys (list) –

    [REQUIRED]

    One or more tag keys. Specify only the tag keys, not the tag values.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • ApplicationAutoScaling.Client.exceptions.ResourceNotFoundException

  • ApplicationAutoScaling.Client.exceptions.ValidationException