Module: Aws::ElasticsearchService

Defined in:
lib/aws-sdk-elasticsearchservice/client_api.rb,
lib/aws-sdk-elasticsearchservice/resource.rb,
lib/aws-sdk-elasticsearchservice/errors.rb,
lib/aws-sdk-elasticsearchservice/client.rb,
lib/aws-sdk-elasticsearchservice/types.rb,
lib/aws-sdk-elasticsearchservice.rb

Overview

This module provides support for Amazon Elasticsearch Service. This module is available in the `aws-sdk-elasticsearchservice` 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.

elasticsearch_service = Aws::ElasticsearchService::Client.new
resp = elasticsearch_service.accept_inbound_cross_cluster_search_connection(params)

See Client for more information.

# Errors

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

begin
  # do stuff
rescue Aws::ElasticsearchService::Errors::ServiceError
  # rescues all Amazon Elasticsearch Service API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Errors, Types Classes: Client, Resource

service collapse

GEM_VERSION =
'1.59.0'