You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Module: Aws::ElasticLoadBalancing
- Defined in:
- (unknown)
Overview
This module provides a client for making API requests to Elastic Load Balancing.
Aws::ElasticLoadBalancing::Client
The Client class provides one-to-one mapping for each API operation.
elasticloadbalancing = Aws::ElasticLoadBalancing::Client.new(region: 'us-east-1')
elasticloadbalancing.operation_names
#=> [:add_tags, :apply_security_groups_to_load_balancer, :attach_load_balancer_to_subnets, :configure_health_check, ...]
Each API operation method accepts a hash of request parameters and returns a response object.
resp = elasticloadbalancing.(params)
See Client for more information.
Aws::ElasticLoadBalancing::Errors
Errors returned from Elastic Load Balancing are defined in the Errors module and extend Errors::ServiceError.
begin
# do stuff
rescue Aws::ElasticLoadBalancing::Errors::ServiceError
# rescues all errors returned by Elastic Load Balancing
end
See Errors for more information.