Skip to content

Untag Resource

opensearchserviceserverless_untag_resource R Documentation

Removes a tag or set of tags from an OpenSearch Serverless resource

Description

Removes a tag or set of tags from an OpenSearch Serverless resource. For more information, see Tagging Amazon OpenSearch Serverless collections.

Usage

opensearchserviceserverless_untag_resource(resourceArn, tagKeys)

Arguments

resourceArn

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

tagKeys

[required] The tag or set of tags to remove from the resource. All tag keys in the request must be unique.

Value

An empty list.

Request syntax

svc$untag_resource(
  resourceArn = "string",
  tagKeys = list(
    "string"
  )
)