AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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.
For .NET Core this operation is only available in asynchronous form. Please refer to ListCollectionsAsync.
Namespace: Amazon.OpenSearchServerless
Assembly: AWSSDK.OpenSearchServerless.dll
Version: 3.x.y.z
public abstract ListCollectionsResponse ListCollections( ListCollectionsRequest request )
Container for the necessary parameters to execute the ListCollections service method.
Exception | Condition |
---|---|
InternalServerException | Thrown when an error internal to the service occurs while processing a request. |
ValidationException | Thrown when the HTTP request contains invalid input or is missing required input. |
.NET Framework:
Supported in: 4.5 and newer, 3.5