Updates an OpenSearch Serverless collection¶
Description¶
Updates an OpenSearch Serverless collection.
Usage¶
opensearchserviceserverless_update_collection(id, description,
vectorOptions, deletionProtection, clientToken)
Arguments¶
-
id[required] The unique identifier of the collection.
-
descriptionA description of the collection.
-
vectorOptionsConfiguration options for vector search capabilities in the collection.
-
deletionProtectionIndicates whether to enable or disable deletion protection for the collection. When set to
ENABLED, the collection cannot be deleted. -
clientTokenUnique, case-sensitive identifier to ensure idempotency of the request.
Value¶
A list with the following syntax:
list(
updateCollectionDetail = list(
id = "string",
name = "string",
status = "CREATING"|"UPDATING"|"DELETING"|"ACTIVE"|"FAILED"|"UPDATE_FAILED",
type = "SEARCH"|"TIMESERIES"|"VECTORSEARCH",
description = "string",
vectorOptions = list(
ServerlessVectorAcceleration = "ENABLED"|"DISABLED"|"ALLOWED"
),
arn = "string",
createdDate = 123,
lastModifiedDate = 123,
deletionProtection = "ENABLED"|"DISABLED"
)
)