ARCRegionswitch / Client / tag_resource

tag_resource

ARCRegionswitch.Client.tag_resource(**kwargs)

Adds or updates tags for a Region switch resource. You can assign metadata to your resources in the form of tags, which are key-value pairs.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The Amazon Resource Name (ARN) for a tag that you add to a resource.

  • tags (dict) –

    [REQUIRED]

    Tags that you add to a resource. You can add a maximum of 50 tags in Region switch.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • ARCRegionswitch.Client.exceptions.ResourceNotFoundException

  • ARCRegionswitch.Client.exceptions.InternalServerException