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¶
opensearchserviceserverless_delete_collection(id, clientToken)
Arguments¶
id |
[required] The unique identifier of the collection. For example,
|
clientToken |
A 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"|"DELETING"|"ACTIVE"|"FAILED"
)
)
Request syntax¶
svc$delete_collection(
id = "string",
clientToken = "string"
)