CloudWatchNetworkMonitor / Client / tag_resource

tag_resource#

CloudWatchNetworkMonitor.Client.tag_resource(**kwargs)#

Adds key-value pairs to a monitor or probe.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ARN of the monitor or probe to tag.

  • tags (dict) –

    [REQUIRED]

    The list of key-value pairs assigned to the monitor or probe.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions