Module: Aws::OpenSearchService

Defined in:
lib/aws-sdk-opensearchservice/endpoint_parameters.rb,
lib/aws-sdk-opensearchservice/plugins/endpoints.rb,
lib/aws-sdk-opensearchservice/endpoint_provider.rb,
lib/aws-sdk-opensearchservice/client_api.rb,
lib/aws-sdk-opensearchservice/endpoints.rb,
lib/aws-sdk-opensearchservice/resource.rb,
lib/aws-sdk-opensearchservice/errors.rb,
lib/aws-sdk-opensearchservice/client.rb,
lib/aws-sdk-opensearchservice/types.rb,
lib/aws-sdk-opensearchservice.rb

Overview

This module provides support for Amazon OpenSearch Service. This module is available in the ‘aws-sdk-opensearchservice` 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_service = Aws::OpenSearchService::Client.new
resp = open_search_service.accept_inbound_connection(params)

See Client for more information.

# Errors

Errors returned from Amazon OpenSearch Service are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::OpenSearchService::Errors::ServiceError
  # rescues all Amazon OpenSearch Service 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.61.0'