CloudExtensions / Client / tag_resource

tag_resource

CloudExtensions.Client.tag_resource(**kwargs)

Adds tags to a profile or profile entry. A tag whose key the resource already has replaces that tag’s value.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ARN of the profile or profile entry to tag.

  • tags (dict) –

    [REQUIRED]

    The tags to add or replace.

    • (string) –

      The key of the tag.

      • (string) –

        The value of the tag.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • CloudExtensions.Client.exceptions.InternalServerException

  • CloudExtensions.Client.exceptions.AccessDeniedException

  • CloudExtensions.Client.exceptions.ValidationException

  • CloudExtensions.Client.exceptions.ResourceNotFoundException

  • CloudExtensions.Client.exceptions.ThrottlingException