Skip to content

Update Collection

opensearchserviceserverless_update_collection R Documentation

Updates an OpenSearch Serverless collection

Description

Updates an OpenSearch Serverless collection.

Usage

opensearchserviceserverless_update_collection(clientToken, description,
  id)

Arguments

clientToken

Unique, case-sensitive identifier to ensure idempotency of the request.

description

A description of the collection.

id

[required] The unique identifier of the collection.

Value

A list with the following syntax:

list(
  updateCollectionDetail = list(
    arn = "string",
    createdDate = 123,
    description = "string",
    id = "string",
    lastModifiedDate = 123,
    name = "string",
    status = "CREATING"|"DELETING"|"ACTIVE"|"FAILED",
    type = "SEARCH"|"TIMESERIES"|"VECTORSEARCH"
  )
)

Request syntax

svc$update_collection(
  clientToken = "string",
  description = "string",
  id = "string"
)