Skip to content

Paginators#

Index > AutoScalingPlans > Paginators

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

DescribeScalingPlanResourcesPaginator#

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

# 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")
# DescribeScalingPlanResourcesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_autoscaling_plans.paginator import DescribeScalingPlanResourcesPaginator

session = Session()

client = Session().client("autoscaling-plans")  # (1)
paginator: DescribeScalingPlanResourcesPaginator = client.get_paginator("describe_scaling_plan_resources")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: AutoScalingPlansClient
  2. paginator: DescribeScalingPlanResourcesPaginator
  3. item: DescribeScalingPlanResourcesResponseTypeDef

paginate#

Type annotations and code completion for DescribeScalingPlanResourcesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ScalingPlanName: str,
    ScalingPlanVersion: int,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[DescribeScalingPlanResourcesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribeScalingPlanResourcesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeScalingPlanResourcesRequestDescribeScalingPlanResourcesPaginateTypeDef = {  # (1)
    "ScalingPlanName": ...,
    "ScalingPlanVersion": ...,
}

parent.paginate(**kwargs)
  1. See DescribeScalingPlanResourcesRequestDescribeScalingPlanResourcesPaginateTypeDef

DescribeScalingPlansPaginator#

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

# DescribeScalingPlansPaginator usage example

from boto3.session import Session

from mypy_boto3_autoscaling_plans.paginator import DescribeScalingPlansPaginator

def get_describe_scaling_plans_paginator() -> DescribeScalingPlansPaginator:
    return Session().client("autoscaling-plans").get_paginator("describe_scaling_plans")
# DescribeScalingPlansPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_autoscaling_plans.paginator import DescribeScalingPlansPaginator

session = Session()

client = Session().client("autoscaling-plans")  # (1)
paginator: DescribeScalingPlansPaginator = client.get_paginator("describe_scaling_plans")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: AutoScalingPlansClient
  2. paginator: DescribeScalingPlansPaginator
  3. item: DescribeScalingPlansResponseTypeDef

paginate#

Type annotations and code completion for DescribeScalingPlansPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ScalingPlanNames: Sequence[str] = ...,
    ScalingPlanVersion: int = ...,
    ApplicationSources: Sequence[ApplicationSourceTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeScalingPlansResponseTypeDef]:  # (3)
    ...
  1. See ApplicationSourceTypeDef
  2. See PaginatorConfigTypeDef
  3. See DescribeScalingPlansResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeScalingPlansRequestDescribeScalingPlansPaginateTypeDef = {  # (1)
    "ScalingPlanNames": ...,
}

parent.paginate(**kwargs)
  1. See DescribeScalingPlansRequestDescribeScalingPlansPaginateTypeDef