AlexaForBusiness / Client / list_tags

list_tags#

AlexaForBusiness.Client.list_tags(**kwargs)#

Lists all tags for the specified resource.

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

response = client.list_tags(
    Arn='string',
    NextToken='string',
    MaxResults=123
)
Parameters:
  • Arn (string) –

    [REQUIRED]

    The ARN of the specified resource for which to list tags.

  • NextToken (string) – An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

  • MaxResults (integer) – The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

Return type:

dict

Returns:

Response Syntax

{
    'Tags': [
        {
            'Key': 'string',
            'Value': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • Tags (list) –

      The tags requested for the specified resource.

      • (dict) –

        A key-value pair that can be associated with a resource.

        • Key (string) –

          The key of a tag. Tag keys are case-sensitive.

        • Value (string) –

          The value of a tag. Tag values are case sensitive and can be null.

    • NextToken (string) –

      The token returned to indicate that there is more data available.

Exceptions

  • AlexaForBusiness.Client.exceptions.NotFoundException