Paginators#
Index > AutoScaling > Paginators
Auto-generated documentation for AutoScaling type annotations stubs module mypy-boto3-autoscaling.
DescribeAutoScalingGroupsPaginator#
Type annotations and code completion for boto3.client("autoscaling").get_paginator("describe_auto_scaling_groups")
.
boto3 documentation
# DescribeAutoScalingGroupsPaginator usage example
from boto3.session import Session
from mypy_boto3_autoscaling.paginator import DescribeAutoScalingGroupsPaginator
def get_describe_auto_scaling_groups_paginator() -> DescribeAutoScalingGroupsPaginator:
return Session().client("autoscaling").get_paginator("describe_auto_scaling_groups")
# DescribeAutoScalingGroupsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_autoscaling.paginator import DescribeAutoScalingGroupsPaginator
session = Session()
client = Session().client("autoscaling") # (1)
paginator: DescribeAutoScalingGroupsPaginator = client.get_paginator("describe_auto_scaling_groups") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: AutoScalingClient
- paginator: DescribeAutoScalingGroupsPaginator
- item: AutoScalingGroupsTypeTypeDef
paginate#
Type annotations and code completion for DescribeAutoScalingGroupsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
AutoScalingGroupNames: Sequence[str] = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[AutoScalingGroupsTypeTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef = { # (1)
"AutoScalingGroupNames": ...,
}
parent.paginate(**kwargs)
DescribeAutoScalingInstancesPaginator#
Type annotations and code completion for boto3.client("autoscaling").get_paginator("describe_auto_scaling_instances")
.
boto3 documentation
# DescribeAutoScalingInstancesPaginator usage example
from boto3.session import Session
from mypy_boto3_autoscaling.paginator import DescribeAutoScalingInstancesPaginator
def get_describe_auto_scaling_instances_paginator() -> DescribeAutoScalingInstancesPaginator:
return Session().client("autoscaling").get_paginator("describe_auto_scaling_instances")
# DescribeAutoScalingInstancesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_autoscaling.paginator import DescribeAutoScalingInstancesPaginator
session = Session()
client = Session().client("autoscaling") # (1)
paginator: DescribeAutoScalingInstancesPaginator = client.get_paginator("describe_auto_scaling_instances") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: AutoScalingClient
- paginator: DescribeAutoScalingInstancesPaginator
- item: AutoScalingInstancesTypeTypeDef
paginate#
Type annotations and code completion for DescribeAutoScalingInstancesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
InstanceIds: Sequence[str] = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[AutoScalingInstancesTypeTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef = { # (1)
"InstanceIds": ...,
}
parent.paginate(**kwargs)
DescribeLaunchConfigurationsPaginator#
Type annotations and code completion for boto3.client("autoscaling").get_paginator("describe_launch_configurations")
.
boto3 documentation
# DescribeLaunchConfigurationsPaginator usage example
from boto3.session import Session
from mypy_boto3_autoscaling.paginator import DescribeLaunchConfigurationsPaginator
def get_describe_launch_configurations_paginator() -> DescribeLaunchConfigurationsPaginator:
return Session().client("autoscaling").get_paginator("describe_launch_configurations")
# DescribeLaunchConfigurationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_autoscaling.paginator import DescribeLaunchConfigurationsPaginator
session = Session()
client = Session().client("autoscaling") # (1)
paginator: DescribeLaunchConfigurationsPaginator = client.get_paginator("describe_launch_configurations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: AutoScalingClient
- paginator: DescribeLaunchConfigurationsPaginator
- item: LaunchConfigurationsTypeTypeDef
paginate#
Type annotations and code completion for DescribeLaunchConfigurationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
LaunchConfigurationNames: Sequence[str] = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[LaunchConfigurationsTypeTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef = { # (1)
"LaunchConfigurationNames": ...,
}
parent.paginate(**kwargs)
DescribeLoadBalancerTargetGroupsPaginator#
Type annotations and code completion for boto3.client("autoscaling").get_paginator("describe_load_balancer_target_groups")
.
boto3 documentation
# DescribeLoadBalancerTargetGroupsPaginator usage example
from boto3.session import Session
from mypy_boto3_autoscaling.paginator import DescribeLoadBalancerTargetGroupsPaginator
def get_describe_load_balancer_target_groups_paginator() -> DescribeLoadBalancerTargetGroupsPaginator:
return Session().client("autoscaling").get_paginator("describe_load_balancer_target_groups")
# DescribeLoadBalancerTargetGroupsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_autoscaling.paginator import DescribeLoadBalancerTargetGroupsPaginator
session = Session()
client = Session().client("autoscaling") # (1)
paginator: DescribeLoadBalancerTargetGroupsPaginator = client.get_paginator("describe_load_balancer_target_groups") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: AutoScalingClient
- paginator: DescribeLoadBalancerTargetGroupsPaginator
- item: DescribeLoadBalancerTargetGroupsResponseTypeDef
paginate#
Type annotations and code completion for DescribeLoadBalancerTargetGroupsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
AutoScalingGroupName: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[DescribeLoadBalancerTargetGroupsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef = { # (1)
"AutoScalingGroupName": ...,
}
parent.paginate(**kwargs)
DescribeLoadBalancersPaginator#
Type annotations and code completion for boto3.client("autoscaling").get_paginator("describe_load_balancers")
.
boto3 documentation
# DescribeLoadBalancersPaginator usage example
from boto3.session import Session
from mypy_boto3_autoscaling.paginator import DescribeLoadBalancersPaginator
def get_describe_load_balancers_paginator() -> DescribeLoadBalancersPaginator:
return Session().client("autoscaling").get_paginator("describe_load_balancers")
# DescribeLoadBalancersPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_autoscaling.paginator import DescribeLoadBalancersPaginator
session = Session()
client = Session().client("autoscaling") # (1)
paginator: DescribeLoadBalancersPaginator = client.get_paginator("describe_load_balancers") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: AutoScalingClient
- paginator: DescribeLoadBalancersPaginator
- item: DescribeLoadBalancersResponseTypeDef
paginate#
Type annotations and code completion for DescribeLoadBalancersPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
AutoScalingGroupName: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[DescribeLoadBalancersResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef = { # (1)
"AutoScalingGroupName": ...,
}
parent.paginate(**kwargs)
DescribeNotificationConfigurationsPaginator#
Type annotations and code completion for boto3.client("autoscaling").get_paginator("describe_notification_configurations")
.
boto3 documentation
# DescribeNotificationConfigurationsPaginator usage example
from boto3.session import Session
from mypy_boto3_autoscaling.paginator import DescribeNotificationConfigurationsPaginator
def get_describe_notification_configurations_paginator() -> DescribeNotificationConfigurationsPaginator:
return Session().client("autoscaling").get_paginator("describe_notification_configurations")
# DescribeNotificationConfigurationsPaginator usage example with