SystemsManagerQuickSetup / Client / tag_resource

tag_resource#

SystemsManagerQuickSetup.Client.tag_resource(**kwargs)#

Assigns key-value pairs of metadata to Amazon Web Services resources.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ARN of the resource to tag.

  • Tags (dict) –

    [REQUIRED]

    Key-value pairs of metadata to assign to the resource.

    • (string) –

      • (string) –

Returns:

None

Exceptions

  • SystemsManagerQuickSetup.Client.exceptions.ValidationException

  • SystemsManagerQuickSetup.Client.exceptions.ConflictException

  • SystemsManagerQuickSetup.Client.exceptions.InternalServerException

  • SystemsManagerQuickSetup.Client.exceptions.AccessDeniedException

  • SystemsManagerQuickSetup.Client.exceptions.ThrottlingException

  • SystemsManagerQuickSetup.Client.exceptions.ResourceNotFoundException