You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Module: Aws::ElasticBeanstalk

Defined in:
(unknown)

Overview

This module provides a client for making API requests to AWS Elastic Beanstalk.

Aws::ElasticBeanstalk::Client

The Client class provides one-to-one mapping for each API operation.

elasticbeanstalk = Aws::ElasticBeanstalk::Client.new(region: 'us-east-1')
elasticbeanstalk.operation_names
#=> [:abort_environment_update, :apply_environment_managed_action, :check_dns_availability, :compose_environments, ...]

Each API operation method accepts a hash of request parameters and returns a response object.

resp = elasticbeanstalk.abort_environment_update(params)

See Client for more information.

Aws::ElasticBeanstalk::Errors

Errors returned from AWS Elastic Beanstalk are defined in the Errors module and extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::ElasticBeanstalk::Errors::ServiceError
  # rescues all errors returned by AWS Elastic Beanstalk
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Client