tag_resource

Braket.Client.tag_resource(**kwargs)

Add a tag to the specified resource.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    Specify the resourceArn of the resource to which a tag will be added.

  • tags (dict) --

    [REQUIRED]

    Specify the tags to add to the resource.

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

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • Braket.Client.exceptions.ResourceNotFoundException
  • Braket.Client.exceptions.InternalServiceException
  • Braket.Client.exceptions.ValidationException