Module: Aws::ComputeOptimizer

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

Overview

This module provides support for AWS Compute Optimizer. This module is available in the ‘aws-sdk-computeoptimizer` 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.

compute_optimizer = Aws::ComputeOptimizer::Client.new
resp = compute_optimizer.delete_recommendation_preferences(params)

See Client for more information.

# Errors

Errors returned from AWS Compute Optimizer are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::ComputeOptimizer::Errors::ServiceError
  # rescues all AWS Compute Optimizer 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.71.0'