WorkMail / Client / tag_resource

tag_resource#

WorkMail.Client.tag_resource(**kwargs)#

Applies the specified tags to the specified WorkMailorganization resource.

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    ResourceARN='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
Parameters:
  • ResourceARN (string) –

    [REQUIRED]

    The resource ARN.

  • Tags (list) –

    [REQUIRED]

    The tag key-value pairs.

    • (dict) –

      Describes a tag applied to a resource.

      • Key (string) – [REQUIRED]

        The key of the tag.

      • Value (string) – [REQUIRED]

        The value of the tag.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions