Learn R Programming

paws.analytics (version 0.7.0)

opensearchserviceserverless_tag_resource: Associates tags with an OpenSearch Serverless resource

Description

Associates tags with an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.

See https://www.paws-r-sdk.com/docs/opensearchserviceserverless_tag_resource/ for full documentation.

Usage

opensearchserviceserverless_tag_resource(resourceArn, tags)

Arguments

resourceArn

[required] The Amazon Resource Name (ARN) of the resource. The resource must be active (not in the DELETING state), and must be owned by the account ID included in the request.

tags

[required] A list of tags (key-value pairs) to add to the resource. All tag keys in the request must be unique.