AutoScalingPlans module#
Index > AutoScalingPlans
Auto-generated documentation for AutoScalingPlans type annotations stubs module types-aiobotocore-autoscaling-plans.
How to install#
Generate locally (recommended)#
You can generate type annotations for aiobotocore package locally with mypy-boto3-builder.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'aiobotocore==2.25.0' mypy-boto3-builder - Select
aiobotocoreAWS SDK. - Add
AutoScalingPlansservice. - Use provided commands to install generated packages.
From PyPI with pip#
Install types-aiobotocore for AutoScalingPlans service.
# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[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-aiobotocore-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.create_client("autoscaling-plans") as AutoScalingPlansClient
boto3 documentation
# AutoScalingPlansClient usage example
from aiobotocore.session import get_session
from types_aiobotocore_autoscaling_plans.client import AutoScalingPlansClient
session = get_session()
async with session.create_client("autoscaling-plans") as client:
client: AutoScalingPlansClient
Paginators#
Type annotations and code completion for
paginators
from session.create_client("autoscaling-plans").get_paginator("...").
# DescribeScalingPlanResourcesPaginator 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.
# DescribeScalingPlanResourcesPaginatorName usage example
from types_aiobotocore_autoscaling_plans.literals import DescribeScalingPlanResourcesPaginatorName
def get_value() -> DescribeScalingPlanResourcesPaginatorName:
return "describe_scaling_plan_resources"
- DescribeScalingPlanResourcesPaginatorName
- DescribeScalingPlansPaginatorName
- ForecastDataTypeType
- LoadMetricTypeType
- MetricStatisticType
- PolicyTypeType
- PredictiveScalingMaxCapacityBehaviorType
- PredictiveScalingModeType
- ScalableDimensionType
- ScalingMetricTypeType
- ScalingPlanStatusCodeType
- ScalingPolicyUpdateBehaviorType
- ScalingStatusCodeType
- ServiceNamespaceType
- AutoScalingPlansServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- TagFilterOutputTypeDef
- ResponseMetadataTypeDef
- MetricDimensionTypeDef
- DatapointTypeDef
- DeleteScalingPlanRequestTypeDef
- PaginatorConfigTypeDef
- DescribeScalingPlanResourcesRequestTypeDef
- TimestampTypeDef
- PredefinedLoadMetricSpecificationTypeDef
- PredefinedScalingMetricSpecificationTypeDef
- TagFilterTypeDef
- ApplicationSourceOutputTypeDef
- CreateScalingPlanResponseTypeDef
- CustomizedLoadMetricSpecificationOutputTypeDef
- CustomizedLoadMetricSpecificationTypeDef
- CustomizedScalingMetricSpecificationOutputTypeDef
- CustomizedScalingMetricSpecificationTypeDef
- GetScalingPlanResourceForecastDataResponseTypeDef
- DescribeScalingPlanResourcesRequestPaginateTypeDef
- GetScalingPlanResourceForecastDataRequestTypeDef
- TagFilterUnionTypeDef
- CustomizedLoadMetricSpecificationUnionTypeDef
- TargetTrackingConfigurationOutputTypeDef
- CustomizedScalingMetricSpecificationUnionTypeDef
- ApplicationSourceTypeDef
- ScalingInstructionOutputTypeDef
- ScalingPolicyTypeDef
- TargetTrackingConfigurationTypeDef
- ApplicationSourceUnionTypeDef
- ScalingPlanTypeDef
- ScalingPlanResourceTypeDef
- TargetTrackingConfigurationUnionTypeDef
- DescribeScalingPlansRequestPaginateTypeDef
- DescribeScalingPlansRequestTypeDef
- DescribeScalingPlansResponseTypeDef
- DescribeScalingPlanResourcesResponseTypeDef
- ScalingInstructionTypeDef
- ScalingInstructionUnionTypeDef
- CreateScalingPlanRequestTypeDef
- UpdateScalingPlanRequestTypeDef