List Collections
| opensearchserviceserverless_list_collections | R Documentation |
Lists all OpenSearch Serverless collections¶
Description¶
Lists all OpenSearch Serverless collections. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
Make sure to include an empty request body {} if you don't include any collection filters in the request.
Usage¶
Arguments¶
collectionFiltersA list of filter names and values that you can use for requests.
maxResultsThe maximum number of results to return. Default is 20. You can use
nextTokento get the next page of results.nextTokenIf your initial
list_collectionsoperation returns anextToken, you can include the returnednextTokenin subsequentlist_collectionsoperations, which returns results in the next page.
Value¶
A list with the following syntax:
list(
collectionSummaries = list(
list(
arn = "string",
id = "string",
name = "string",
status = "CREATING"|"DELETING"|"ACTIVE"|"FAILED"
)
),
nextToken = "string"
)