Batch Get Collection
opensearchserviceserverless_batch_get_collection | R Documentation |
Returns attributes for one or more collections, including the collection endpoint and the OpenSearch Dashboards endpoint¶
Description¶
Returns attributes for one or more collections, including the collection endpoint and the OpenSearch Dashboards endpoint. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
Usage¶
opensearchserviceserverless_batch_get_collection(ids, names)
Arguments¶
ids |
A list of collection IDs. You can't provide names and IDs in the
same request. The ID is part of the collection endpoint. You can also
retrieve it using the |
names |
A list of collection names. You can't provide names and IDs in the same request. |
Value¶
A list with the following syntax:
list(
collectionDetails = list(
list(
id = "string",
name = "string",
status = "CREATING"|"DELETING"|"ACTIVE"|"FAILED",
type = "SEARCH"|"TIMESERIES"|"VECTORSEARCH",
description = "string",
arn = "string",
kmsKeyArn = "string",
standbyReplicas = "ENABLED"|"DISABLED",
createdDate = 123,
lastModifiedDate = 123,
collectionEndpoint = "string",
dashboardEndpoint = "string",
failureCode = "string",
failureMessage = "string"
)
),
collectionErrorDetails = list(
list(
id = "string",
name = "string",
errorMessage = "string",
errorCode = "string"
)
)
)
Request syntax¶
svc$batch_get_collection(
ids = list(
"string"
),
names = list(
"string"
)
)