Textract / Client / tag_resource

tag_resource#

Textract.Client.tag_resource(**kwargs)#

Adds one or more tags to the specified resource.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The Amazon Resource Name (ARN) that specifies the resource to be tagged.

  • Tags (dict) –

    [REQUIRED]

    A set of tags (key-value pairs) that you want to assign to the resource.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions