Delete Collection
opensearchserviceserverless_delete_collection | R Documentation |
Deletes an OpenSearch Serverless collection¶
Description¶
Deletes an OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
Usage¶
Arguments¶
clientToken
A unique, case-sensitive identifier to ensure idempotency of the request.
id
[required] The unique identifier of the collection. For example,
1iu5usc406kd
. The ID is part of the collection endpoint. You can also retrieve it using thelist_collections
API.
Value¶
A list with the following syntax:
list(
deleteCollectionDetail = list(
id = "string",
name = "string",
status = "CREATING"|"DELETING"|"ACTIVE"|"FAILED"
)
)