untag_resource

OpsWorksCM.Client.untag_resource(**kwargs)

Removes specified tags from an AWS OpsWorks-CM server or backup.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The Amazon Resource Number (ARN) of a resource from which you want to remove tags. For example, arn:aws:opsworks-cm:us-west-2:123456789012:server/test-owcm-server/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE .

  • TagKeys (list) --

    [REQUIRED]

    The keys of tags that you want to remove.

    • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • OpsWorksCM.Client.exceptions.ResourceNotFoundException
  • OpsWorksCM.Client.exceptions.ValidationException
  • OpsWorksCM.Client.exceptions.InvalidStateException