Skip to content

Paginators#

Index > ApplicationAutoScaling > Paginators

Auto-generated documentation for ApplicationAutoScaling type annotations stubs module mypy-boto3-application-autoscaling.

DescribeScalableTargetsPaginator#

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

# DescribeScalableTargetsPaginator usage example

from boto3.session import Session

from mypy_boto3_application_autoscaling.paginator import DescribeScalableTargetsPaginator

def get_describe_scalable_targets_paginator() -> DescribeScalableTargetsPaginator:
    return Session().client("application-autoscaling").get_paginator("describe_scalable_targets")
# DescribeScalableTargetsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_application_autoscaling.paginator import DescribeScalableTargetsPaginator

session = Session()

client = Session().client("application-autoscaling")  # (1)
paginator: DescribeScalableTargetsPaginator = client.get_paginator("describe_scalable_targets")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ApplicationAutoScalingClient
  2. paginator: DescribeScalableTargetsPaginator
  3. item: DescribeScalableTargetsResponseTypeDef

paginate#

Type annotations and code completion for DescribeScalableTargetsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ServiceNamespace: ServiceNamespaceType,  # (1)
    ResourceIds: Sequence[str] = ...,
    ScalableDimension: ScalableDimensionType = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> PageIterator[DescribeScalableTargetsResponseTypeDef]:  # (4)
    ...
  1. See ServiceNamespaceType
  2. See ScalableDimensionType
  3. See PaginatorConfigTypeDef
  4. See DescribeScalableTargetsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeScalableTargetsRequestPaginateTypeDef = {  # (1)
    "ServiceNamespace": ...,
}

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

DescribeScalingActivitiesPaginator#

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

# DescribeScalingActivitiesPaginator usage example

from boto3.session import Session

from mypy_boto3_application_autoscaling.paginator import DescribeScalingActivitiesPaginator

def get_describe_scaling_activities_paginator() -> DescribeScalingActivitiesPaginator:
    return Session().client("application-autoscaling").get_paginator("describe_scaling_activities")
# DescribeScalingActivitiesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_application_autoscaling.paginator import DescribeScalingActivitiesPaginator

session = Session()

client = Session().client("application-autoscaling")  # (1)
paginator: DescribeScalingActivitiesPaginator = client.get_paginator("describe_scaling_activities")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ApplicationAutoScalingClient
  2. paginator: DescribeScalingActivitiesPaginator
  3. item: DescribeScalingActivitiesResponseTypeDef

paginate#

Type annotations and code completion for DescribeScalingActivitiesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ServiceNamespace: ServiceNamespaceType,  # (1)
    ResourceId: str = ...,
    ScalableDimension: ScalableDimensionType = ...,  # (2)
    IncludeNotScaledActivities: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> PageIterator[DescribeScalingActivitiesResponseTypeDef]:  # (4)
    ...
  1. See ServiceNamespaceType
  2. See ScalableDimensionType
  3. See PaginatorConfigTypeDef
  4. See DescribeScalingActivitiesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeScalingActivitiesRequestPaginateTypeDef = {  # (1)
    "ServiceNamespace": ...,
}

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

DescribeScalingPoliciesPaginator#

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

# DescribeScalingPoliciesPaginator usage example

from boto3.session import Session

from mypy_boto3_application_autoscaling.paginator import DescribeScalingPoliciesPaginator

def get_describe_scaling_policies_paginator() -> DescribeScalingPoliciesPaginator:
    return Session().client("application-autoscaling").get_paginator("describe_scaling_policies")
# DescribeScalingPoliciesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_application_autoscaling.paginator import DescribeScalingPoliciesPaginator

session = Session()

client = Session().client("application-autoscaling")  # (1)
paginator: DescribeScalingPoliciesPaginator = client.get_paginator("describe_scaling_policies")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ApplicationAutoScalingClient
  2. paginator: DescribeScalingPoliciesPaginator
  3. item: DescribeScalingPoliciesResponseTypeDef

paginate#

Type annotations and code completion for DescribeScalingPoliciesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ServiceNamespace: ServiceNamespaceType,  # (1)
    PolicyNames: Sequence[str] = ...,
    ResourceId: str = ...,
    ScalableDimension: ScalableDimensionType = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> PageIterator[DescribeScalingPoliciesResponseTypeDef]:  # (4)
    ...
  1. See ServiceNamespaceType
  2. See ScalableDimensionType
  3. See PaginatorConfigTypeDef
  4. See DescribeScalingPoliciesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeScalingPoliciesRequestPaginateTypeDef = {  # (1)
    "ServiceNamespace": ...,
}

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

DescribeScheduledActionsPaginator#

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

# DescribeScheduledActionsPaginator usage example

from boto3.session import Session

from mypy_boto3_application_autoscaling.paginator import DescribeScheduledActionsPaginator

def get_describe_scheduled_actions_paginator() -> DescribeScheduledActionsPaginator:
    return Session().client("application-autoscaling").get_paginator("describe_scheduled_actions")
# DescribeScheduledActionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_application_autoscaling.paginator import DescribeScheduledActionsPaginator

session = Session()

client = Session().client("application-autoscaling")  # (1)
paginator: DescribeScheduledActionsPaginator = client.get_paginator("describe_scheduled_actions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ApplicationAutoScalingClient
  2. paginator: DescribeScheduledActionsPaginator
  3. item: DescribeScheduledActionsResponseTypeDef

paginate#

Type annotations and code completion for DescribeScheduledActionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ServiceNamespace: ServiceNamespaceType,  # (1)
    ScheduledActionNames: Sequence[str] = ...,
    ResourceId: str = ...,
    ScalableDimension: ScalableDimensionType = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> PageIterator[DescribeScheduledActionsResponseTypeDef]:  # (4)
    ...
  1. See ServiceNamespaceType
  2. See ScalableDimensionType
  3. See PaginatorConfigTypeDef
  4. See DescribeScheduledActionsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeScheduledActionsRequestPaginateTypeDef = {  # (1)
    "ServiceNamespace": ...,
}

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