ResourceExplorer / Client / tag_resource

tag_resource#

ResourceExplorer.Client.tag_resource(**kwargs)#

Adds one or more tag key and value pairs to an Amazon Web Services Resource Explorer view or index.

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    Tags={
        'string': 'string'
    },
    resourceArn='string'
)
Parameters:
  • Tags (dict) –

    A list of tag key and value pairs that you want to attach to the specified view or index.

    • (string) –

      • (string) –

  • resourceArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the view or index that you want to attach tags to.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions