Module: Aws::ElasticInference

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

Overview

This module provides support for Amazon Elastic Inference. This module is available in the ‘aws-sdk-elasticinference` 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.

elastic_inference = Aws::ElasticInference::Client.new
resp = elastic_inference.describe_accelerator_offerings(params)

See Client for more information.

# Errors

Errors returned from Amazon Elastic Inference are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::ElasticInference::Errors::ServiceError
  # rescues all Amazon Elastic  Inference 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.47.0'