untag_resource

Synthetics.Client.untag_resource(**kwargs)

Removes one or more tags from the specified resource.

See also: AWS API Documentation

Request Syntax

response = client.untag_resource(
    ResourceArn='string',
    TagKeys=[
        'string',
    ]
)
Parameters
  • ResourceArn (string) --

    [REQUIRED]

    The ARN of the canary or group that you're removing tags from.

    The ARN format of a canary is arn:aws:synthetics:Region:account-id:canary:canary-name .

    The ARN format of a group is arn:aws:synthetics:Region:account-id:group:group-name

  • TagKeys (list) --

    [REQUIRED]

    The list of tag keys to remove from the resource.

    • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • Synthetics.Client.exceptions.BadRequestException
  • Synthetics.Client.exceptions.NotFoundException
  • Synthetics.Client.exceptions.TooManyRequestsException
  • Synthetics.Client.exceptions.ConflictException
  • Synthetics.Client.exceptions.InternalFailureException