AgentRegistryControl / Client / tag_resource

tag_resource

AgentRegistryControl.Client.tag_resource(**kwargs)

Tag a resource with key-value pairs

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    ARN of a taggable Agent Registry resource.

  • tags (dict) –

    [REQUIRED]

    A map of tag keys to tag values.

    • (string) –

      Key of a tag.

      • (string) –

        Value of a tag.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • AgentRegistryControl.Client.exceptions.InternalServerException

  • AgentRegistryControl.Client.exceptions.AccessDeniedException

  • AgentRegistryControl.Client.exceptions.ThrottlingException

  • AgentRegistryControl.Client.exceptions.ResourceNotFoundException

  • AgentRegistryControl.Client.exceptions.ValidationException

  • AgentRegistryControl.Client.exceptions.ServiceQuotaExceededException