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

Module: Aws::AutoScaling

Defined in:


This module provides a client for making API requests to Auto Scaling.


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

autoscaling = 'us-east-1')
#=> [:attach_instances, :attach_load_balancer_target_groups, :attach_load_balancers, :batch_delete_scheduled_action, ...]

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

resp = autoscaling.attach_instances(params)

See Client for more information.


Errors returned from Auto Scaling are defined in the Errors module and extend Errors::ServiceError.

  # do stuff
rescue Aws::AutoScaling::Errors::ServiceError
  # rescues all errors returned by Auto Scaling

See Errors for more information.

Defined Under Namespace

Modules: Errors, Types Classes: Activity, AutoScalingGroup, Client, Instance, LaunchConfiguration, LifecycleHook, LoadBalancer, NotificationConfiguration, Resource, ScalingPolicy, ScheduledAction, Tag