v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1446252177.2 KB

Associates tags with an OpenSearch Serverless resource. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/tag-collection.html">Tagging Amazon OpenSearch Serverless collections</a>.

post/#X-Amz-Target=OpenSearchServerless.TagResource

Headers

X-Amz-Target'OpenSearchServerless.TagResource' required

Request body

resourceArnstring required

The Amazon Resource Name (ARN) of the resource. The resource must be active (not in the <code>DELETING</code> state), and must be owned by the account ID included in the request.

Response

Success

TagResourceResponse required