Skip to content

AutoScalingPlans module

Index > AutoScalingPlans

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

How to install

From PyPI with pip

Install types-aioboto3 for AutoScalingPlans service.

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


# 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-plans]'


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

How to uninstall

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

Usage

Code samples can be found in Examples.

AutoScalingPlansClient

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

Usage example
from aioboto3.session import Session

from types_aiobotocore_autoscaling_plans.client import AutoScalingPlansClient


session = Session()
async with session.client("autoscaling-plans") as client:
    client: AutoScalingPlansClient

Paginators

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

Usage example
from types_aiobotocore_autoscaling_plans.paginator import DescribeScalingPlanResourcesPaginator

def get_describe_scaling_plan_resources_paginator() -> DescribeScalingPlanResourcesPaginator:
    return client.get_paginator("describe_scaling_plan_resources"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_autoscaling_plans.literals import DescribeScalingPlanResourcesPaginatorName

def get_value() -> DescribeScalingPlanResourcesPaginatorName:
    return "describe_scaling_plan_resources"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_autoscaling_plans.type_defs import TagFilterTypeDef

def get_value() -> TagFilterTypeDef:
    return {
        "Key": ...,
    }