Skip to content

ApplicationAutoScaling module#

Index > ApplicationAutoScaling

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

How to install#

From PyPI with pip#

Install types-aiobotocore for ApplicationAutoScaling service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[application-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-aiobotocore-lite[application-autoscaling]'


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

ApplicationAutoScalingClient#

Type annotations and code completion for session.create_client("application-autoscaling") as ApplicationAutoScalingClient boto3 documentation

# ApplicationAutoScalingClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_application_autoscaling.client import ApplicationAutoScalingClient


session = get_session()
async with session.create_client("application-autoscaling") as client:
    client: ApplicationAutoScalingClient

Paginators#

Type annotations and code completion for paginators from session.create_client("application-autoscaling").get_paginator("...").

# DescribeScalableTargetsPaginator usage example

from types_aiobotocore_application_autoscaling.paginator import DescribeScalableTargetsPaginator

def get_describe_scalable_targets_paginator() -> DescribeScalableTargetsPaginator:
    return client.get_paginator("describe_scalable_targets"))

Literals#

Type annotations for literals used in methods and schema.

# AdjustmentTypeType usage example

from types_aiobotocore_application_autoscaling.literals import AdjustmentTypeType

def get_value() -> AdjustmentTypeType:
    return "ChangeInCapacity"

Type definitions#

Type annotations for type definitions used in methods and schema.