SecurityIncidentResponse / Client / tag_resource

tag_resource

SecurityIncidentResponse.Client.tag_resource(**kwargs)

Adds a tag(s) to a designated resource.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    Required element for TagResource to identify the ARN for the resource to add a tag to.

  • tags (dict) –

    [REQUIRED]

    Required element for ListTagsForResource to provide the content for a tag.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions