tag_resource

SSMIncidents.Client.tag_resource(**kwargs)

Adds a tag to a response plan.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The Amazon Resource Name (ARN) of the response plan you're adding the tags to.

  • tags (dict) --

    [REQUIRED]

    A list of tags to add to the response plan.

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • SSMIncidents.Client.exceptions.ServiceQuotaExceededException
  • SSMIncidents.Client.exceptions.ThrottlingException
  • SSMIncidents.Client.exceptions.ResourceNotFoundException
  • SSMIncidents.Client.exceptions.AccessDeniedException
  • SSMIncidents.Client.exceptions.ValidationException
  • SSMIncidents.Client.exceptions.ConflictException
  • SSMIncidents.Client.exceptions.InternalServerException