describe_tags

DirectConnect.Client.describe_tags(**kwargs)

Describes the tags associated with the specified Direct Connect resources.

See also: AWS API Documentation

Request Syntax

response = client.describe_tags(
    resourceArns=[
        'string',
    ]
)
Parameters
resourceArns (list) --

[REQUIRED]

The Amazon Resource Names (ARNs) of the resources.

  • (string) --
Return type
dict
Returns
Response Syntax
{
    'resourceTags': [
        {
            'resourceArn': 'string',
            'tags': [
                {
                    'key': 'string',
                    'value': 'string'
                },
            ]
        },
    ]
}

Response Structure

  • (dict) --
    • resourceTags (list) --

      Information about the tags.

      • (dict) --

        Information about a tag associated with an Direct Connect resource.

        • resourceArn (string) --

          The Amazon Resource Name (ARN) of the resource.

        • tags (list) --

          The tags.

          • (dict) --

            Information about a tag.

            • key (string) --

              The key.

            • value (string) --

              The value.

Exceptions

  • DirectConnect.Client.exceptions.DirectConnectServerException
  • DirectConnect.Client.exceptions.DirectConnectClientException