Skip to content

AutoScaling module#

Index > AutoScaling

Auto-generated documentation for AutoScaling type annotations stubs module types-aiobotocore-autoscaling.

How to install#

From PyPI with pip#

Install types-aioboto3 for AutoScaling service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[autoscaling]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aioboto3-lite[autoscaling]'


# standalone installation
python -m pip install types-aiobotocore-autoscaling

How to uninstall#

python -m pip uninstall -y types-aiobotocore-autoscaling

Usage#

Code samples can be found in Examples.

AutoScalingClient#

Type annotations and code completion for session.client("autoscaling") as AutoScalingClient boto3 documentation

# AutoScalingClient usage example

from aioboto3.session import Session

from types_aiobotocore_autoscaling.client import AutoScalingClient


session = Session()
async with session.client("autoscaling") as client:
    client: AutoScalingClient

Paginators#

Type annotations and code completion for paginators from session.client("autoscaling").get_paginator("...").

# DescribeAutoScalingGroupsPaginator usage example

from types_aiobotocore_autoscaling.paginator import DescribeAutoScalingGroupsPaginator

def get_describe_auto_scaling_groups_paginator() -> DescribeAutoScalingGroupsPaginator:
    return client.get_paginator("describe_auto_scaling_groups"))

Literals#

Type annotations for literals used in methods and schema.

# AcceleratorManufacturerType usage example

from types_aiobotocore_autoscaling.literals import AcceleratorManufacturerType

def get_value() -> AcceleratorManufacturerType:
    return "amazon-web-services"

Type definitions#

Type annotations for type definitions used in methods and schema.