Module: Aws::OpenSearchServerless
- Defined in:
- lib/aws-sdk-opensearchserverless/endpoint_parameters.rb,
lib/aws-sdk-opensearchserverless/plugins/endpoints.rb,
lib/aws-sdk-opensearchserverless/endpoint_provider.rb,
lib/aws-sdk-opensearchserverless/client_api.rb,
lib/aws-sdk-opensearchserverless/endpoints.rb,
lib/aws-sdk-opensearchserverless/resource.rb,
lib/aws-sdk-opensearchserverless/errors.rb,
lib/aws-sdk-opensearchserverless/client.rb,
lib/aws-sdk-opensearchserverless/types.rb,
lib/aws-sdk-opensearchserverless.rb
Overview
This module provides support for OpenSearch Service Serverless. This module is available in the ‘aws-sdk-opensearchserverless` gem.
# Client
The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.
open_search_serverless = Aws::OpenSearchServerless::Client.new
resp = open_search_serverless.batch_get_collection(params)
See Client for more information.
# Errors
Errors returned from OpenSearch Service Serverless are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::OpenSearchServerless::Errors::ServiceError
# rescues all OpenSearch Service Serverless API errors
end
See Errors for more information.
Defined Under Namespace
Modules: ClientApi, Endpoints, Errors, Plugins, Types Classes: Client, EndpointParameters, EndpointProvider, Resource
service collapse
- GEM_VERSION =
'1.16.0'