Deletes an OpenSearch Serverless collection¶
Description¶
Deletes an OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
Usage¶
Arguments¶
-
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_collectionsAPI. -
clientTokenA unique, case-sensitive identifier to ensure idempotency of the request.
Value¶
A list with the following syntax:
list(
deleteCollectionDetail = list(
id = "string",
name = "string",
status = "CREATING"|"UPDATING"|"DELETING"|"ACTIVE"|"FAILED"|"UPDATE_FAILED",
deletionProtection = "ENABLED"|"DISABLED"
)
)