PcaConnectorAd / Client / tag_resource

tag_resource#

PcaConnectorAd.Client.tag_resource(**kwargs)#

Adds one or more tags to your resource.

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    ResourceArn='string',
    Tags={
        'string': 'string'
    }
)
Parameters:
  • ResourceArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) that was returned when you created the resource.

  • Tags (dict) –

    [REQUIRED]

    Metadata assigned to a directory registration consisting of a key-value pair.

    • (string) –

      • (string) –

Returns:

None

Exceptions