Skip to content

AutoScalingPlans module#

Index > AutoScalingPlans

Auto-generated documentation for AutoScalingPlans type annotations stubs module mypy-boto3-autoscaling-plans.

How to install#

VSCode extension#

Add AWS Boto3 extension to your VSCode and run AWS boto3: Quick Start command.

Click Modify and select boto3 common and AutoScalingPlans.

From PyPI with pip#

Install boto3-stubs for AutoScalingPlans service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[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 'boto3-stubs-lite[autoscaling-plans]'

# standalone installation
python -m pip install mypy-boto3-autoscaling-plans

How to uninstall#

python -m pip uninstall -y mypy-boto3-autoscaling-plans


Code samples can be found in Examples.


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

# AutoScalingPlansClient usage example

from boto3.session import Session

from mypy_boto3_autoscaling_plans.client import AutoScalingPlansClient

def get_client() -> AutoScalingPlansClient:
    return Session().client("autoscaling-plans")


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

# DescribeScalingPlanResourcesPaginator usage example

from boto3.session import Session

from mypy_boto3_autoscaling_plans.paginator import DescribeScalingPlanResourcesPaginator

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


Type annotations for literals used in methods and schema.

# DescribeScalingPlanResourcesPaginatorName usage example

from mypy_boto3_autoscaling_plans.literals import DescribeScalingPlanResourcesPaginatorName

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

Type definitions#

Type annotations for type definitions used in methods and schema.