Skip to main content

collections

Retrieves a list of collections in a region

Overview

Namecollections
TypeResource
Descriptioncollections
Idawscc.opensearchserverless.collections

Fields

NameDatatypeDescription
idstringThe identifier of the collection
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
id
FROM awscc.opensearchserverless.collections
WHERE region = 'us-east-1'

Permissions

To operate on the collections resource, the following permissions are required:

Create

aoss:CreateCollection,
aoss:BatchGetCollection,
iam:CreateServiceLinkedRole

List

aoss:ListCollections