LookoutforVision / Client / list_tags_for_resource

list_tags_for_resource#

LookoutforVision.Client.list_tags_for_resource(**kwargs)#

Returns a list of tags attached to the specified Amazon Lookout for Vision model.

This operation requires permissions to perform the lookoutvision:ListTagsForResource operation.

See also: AWS API Documentation

Request Syntax

response = client.list_tags_for_resource(
    ResourceArn='string'
)
Parameters:

ResourceArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the model for which you want to list tags.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • Tags (list) –

      A map of tag keys and values attached to the specified model.

      • (dict) –

        A key and value pair that is attached to the specified Amazon Lookout for Vision model.

        • Key (string) –

          The key of the tag that is attached to the specified model.

        • Value (string) –

          The value of the tag that is attached to the specified model.

Exceptions

  • LookoutforVision.Client.exceptions.AccessDeniedException

  • LookoutforVision.Client.exceptions.InternalServerException

  • LookoutforVision.Client.exceptions.ValidationException

  • LookoutforVision.Client.exceptions.ConflictException

  • LookoutforVision.Client.exceptions.ResourceNotFoundException

  • LookoutforVision.Client.exceptions.ThrottlingException