NeptuneGraph / Client / tag_resource

tag_resource#

NeptuneGraph.Client.tag_resource(**kwargs)#

Adds tags to the specified resource.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    ARN of the resource for which tags need to be added.

  • tags (dict) –

    [REQUIRED]

    The tags to be assigned to the Neptune Analytics resource.

    The tags are metadata that are specified as a list of key-value pairs:

    Key (string) – A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length. It can’t be prefixed with aws: and can only contain the set of Unicode characters specified by this Java regular expression: "^([\p{L}\p{Z}\p{N}_.:/=+\-]*)$").

    Value (string) – A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length. It can’t be prefixed with aws: and can only contain the set of Unicode characters specified by this Java regular expression: "^([\p{L}\p{Z}\p{N}_.:/=+\-]*)$").

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions