Paginators#
Auto-generated documentation for Lightsail type annotations stubs module mypy-boto3-lightsail.
GetActiveNamesPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_active_names")
.
boto3 documentation
# GetActiveNamesPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetActiveNamesPaginator
def get_get_active_names_paginator() -> GetActiveNamesPaginator:
return Session().client("lightsail").get_paginator("get_active_names")
# GetActiveNamesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetActiveNamesPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetActiveNamesPaginator = client.get_paginator("get_active_names") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetActiveNamesPaginator
- item: GetActiveNamesResultTypeDef
paginate#
Type annotations and code completion for GetActiveNamesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[GetActiveNamesResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetActiveNamesRequestGetActiveNamesPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
GetBlueprintsPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_blueprints")
.
boto3 documentation
# GetBlueprintsPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetBlueprintsPaginator
def get_get_blueprints_paginator() -> GetBlueprintsPaginator:
return Session().client("lightsail").get_paginator("get_blueprints")
# GetBlueprintsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetBlueprintsPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetBlueprintsPaginator = client.get_paginator("get_blueprints") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetBlueprintsPaginator
- item: GetBlueprintsResultTypeDef
paginate#
Type annotations and code completion for GetBlueprintsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
includeInactive: bool = ...,
appCategory: AppCategoryType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[GetBlueprintsResultTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: GetBlueprintsRequestGetBlueprintsPaginateTypeDef = { # (1)
"includeInactive": ...,
}
parent.paginate(**kwargs)
GetBundlesPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_bundles")
.
boto3 documentation
# GetBundlesPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetBundlesPaginator
def get_get_bundles_paginator() -> GetBundlesPaginator:
return Session().client("lightsail").get_paginator("get_bundles")
# GetBundlesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetBundlesPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetBundlesPaginator = client.get_paginator("get_bundles") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetBundlesPaginator
- item: GetBundlesResultTypeDef
paginate#
Type annotations and code completion for GetBundlesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
includeInactive: bool = ...,
appCategory: AppCategoryType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[GetBundlesResultTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: GetBundlesRequestGetBundlesPaginateTypeDef = { # (1)
"includeInactive": ...,
}
parent.paginate(**kwargs)
GetCloudFormationStackRecordsPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_cloud_formation_stack_records")
.
boto3 documentation
# GetCloudFormationStackRecordsPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetCloudFormationStackRecordsPaginator
def get_get_cloud_formation_stack_records_paginator() -> GetCloudFormationStackRecordsPaginator:
return Session().client("lightsail").get_paginator("get_cloud_formation_stack_records")
# GetCloudFormationStackRecordsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetCloudFormationStackRecordsPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetCloudFormationStackRecordsPaginator = client.get_paginator("get_cloud_formation_stack_records") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetCloudFormationStackRecordsPaginator
- item: GetCloudFormationStackRecordsResultTypeDef
paginate#
Type annotations and code completion for GetCloudFormationStackRecordsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[GetCloudFormationStackRecordsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetCloudFormationStackRecordsRequestGetCloudFormationStackRecordsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
GetDiskSnapshotsPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_disk_snapshots")
.
<