WorkSpaces / Client / describe_tags

describe_tags#

WorkSpaces.Client.describe_tags(**kwargs)#

Describes the specified tags for the specified WorkSpaces resource.

See also: AWS API Documentation

Request Syntax

response = client.describe_tags(
    ResourceId='string'
)
Parameters:

ResourceId (string) –

[REQUIRED]

The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.

Return type:

dict

Returns:

Response Syntax

{
    'TagList': [
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • TagList (list) –

      The tags.

      • (dict) –

        Describes a tag.

        • Key (string) –

          The key of the tag.

        • Value (string) –

          The value of the tag.

Exceptions

  • WorkSpaces.Client.exceptions.ResourceNotFoundException