

***********
AutoScaling
***********



======
Client
======



.. py:class:: AutoScaling.Client

  A low-level client representing Auto Scaling
   

  The `DescribeAutoScalingGroups <https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAutoScalingGroups.html>`__ API operation might be throttled when retrieving details for an Auto Scaling group that contains many instances. By default, this operation returns details for all instances in the group. To help prevent throttling, you can set the ``IncludeInstances`` parameter to ``false`` to exclude instance details from the response.

   

  Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances based on user-defined scaling policies, scheduled actions, and health checks.

   

  For more information, see the `Amazon EC2 Auto Scaling User Guide <https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html>`__ and the `Amazon EC2 Auto Scaling API Reference <https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html>`__.

  ::

    
    import boto3
    
    client = boto3.client('autoscaling')

  

These are the available methods:

.. toctree::
  :maxdepth: 1
  :titlesonly:

  autoscaling/client/attach_instances
  autoscaling/client/attach_load_balancer_target_groups
  autoscaling/client/attach_load_balancers
  autoscaling/client/attach_traffic_sources
  autoscaling/client/batch_delete_scheduled_action
  autoscaling/client/batch_put_scheduled_update_group_action
  autoscaling/client/can_paginate
  autoscaling/client/cancel_instance_refresh
  autoscaling/client/close
  autoscaling/client/complete_lifecycle_action
  autoscaling/client/create_auto_scaling_group
  autoscaling/client/create_launch_configuration
  autoscaling/client/create_or_update_tags
  autoscaling/client/delete_auto_scaling_group
  autoscaling/client/delete_launch_configuration
  autoscaling/client/delete_lifecycle_hook
  autoscaling/client/delete_notification_configuration
  autoscaling/client/delete_policy
  autoscaling/client/delete_scheduled_action
  autoscaling/client/delete_tags
  autoscaling/client/delete_warm_pool
  autoscaling/client/describe_account_limits
  autoscaling/client/describe_adjustment_types
  autoscaling/client/describe_auto_scaling_groups
  autoscaling/client/describe_auto_scaling_instances
  autoscaling/client/describe_auto_scaling_notification_types
  autoscaling/client/describe_instance_refreshes
  autoscaling/client/describe_launch_configurations
  autoscaling/client/describe_lifecycle_hook_types
  autoscaling/client/describe_lifecycle_hooks
  autoscaling/client/describe_load_balancer_target_groups
  autoscaling/client/describe_load_balancers
  autoscaling/client/describe_metric_collection_types
  autoscaling/client/describe_notification_configurations
  autoscaling/client/describe_policies
  autoscaling/client/describe_scaling_activities
  autoscaling/client/describe_scaling_process_types
  autoscaling/client/describe_scheduled_actions
  autoscaling/client/describe_tags
  autoscaling/client/describe_termination_policy_types
  autoscaling/client/describe_traffic_sources
  autoscaling/client/describe_warm_pool
  autoscaling/client/detach_instances
  autoscaling/client/detach_load_balancer_target_groups
  autoscaling/client/detach_load_balancers
  autoscaling/client/detach_traffic_sources
  autoscaling/client/disable_metrics_collection
  autoscaling/client/enable_metrics_collection
  autoscaling/client/enter_standby
  autoscaling/client/execute_policy
  autoscaling/client/exit_standby
  autoscaling/client/get_paginator
  autoscaling/client/get_predictive_scaling_forecast
  autoscaling/client/get_waiter
  autoscaling/client/launch_instances
  autoscaling/client/put_lifecycle_hook
  autoscaling/client/put_notification_configuration
  autoscaling/client/put_scaling_policy
  autoscaling/client/put_scheduled_update_group_action
  autoscaling/client/put_warm_pool
  autoscaling/client/record_lifecycle_action_heartbeat
  autoscaling/client/resume_processes
  autoscaling/client/rollback_instance_refresh
  autoscaling/client/set_desired_capacity
  autoscaling/client/set_instance_health
  autoscaling/client/set_instance_protection
  autoscaling/client/start_instance_refresh
  autoscaling/client/suspend_processes
  autoscaling/client/terminate_instance_in_auto_scaling_group
  autoscaling/client/update_auto_scaling_group


==========
Paginators
==========


Paginators are available on a client instance via the ``get_paginator`` method. For more detailed instructions and examples on the usage of paginators, see the paginators `user guide <https://boto3.amazonaws.com/v1/documentation/api/latest/guide/paginators.html>`_.

The available paginators are:

.. toctree::
  :maxdepth: 1
  :titlesonly:

  autoscaling/paginator/DescribeAutoScalingGroups
  autoscaling/paginator/DescribeAutoScalingInstances
  autoscaling/paginator/DescribeLaunchConfigurations
  autoscaling/paginator/DescribeLoadBalancerTargetGroups
  autoscaling/paginator/DescribeLoadBalancers
  autoscaling/paginator/DescribeNotificationConfigurations
  autoscaling/paginator/DescribePolicies
  autoscaling/paginator/DescribeScalingActivities
  autoscaling/paginator/DescribeScheduledActions
  autoscaling/paginator/DescribeTags
  autoscaling/paginator/DescribeWarmPool
