Skip to content

Paginators#

Index > Lightsail > 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)
  1. client: LightsailClient
  2. paginator: GetActiveNamesPaginator
  3. item: GetActiveNamesResultTypeDef

paginate#

Type annotations and code completion for GetActiveNamesPaginator.paginate method.

# paginate method definition

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

kwargs: GetActiveNamesRequestGetActiveNamesPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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

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)
  1. client: LightsailClient
  2. paginator: GetBlueprintsPaginator
  3. 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)
    ...
  1. See AppCategoryType
  2. See PaginatorConfigTypeDef
  3. See GetBlueprintsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetBlueprintsRequestGetBlueprintsPaginateTypeDef = {  # (1)
    "includeInactive": ...,
}

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

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)
  1. client: LightsailClient
  2. paginator: GetBundlesPaginator
  3. 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)
    ...
  1. See AppCategoryType
  2. See PaginatorConfigTypeDef
  3. See GetBundlesResultTypeDef
# paginate method usage example with argument unpacking

kwargs: GetBundlesRequestGetBundlesPaginateTypeDef = {  # (1)
    "includeInactive": ...,
}

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

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)
  1. client: LightsailClient
  2. paginator: GetCloudFormationStackRecordsPaginator
  3. item: GetCloudFormationStackRecordsResultTypeDef

paginate#

Type annotations and code completion for GetCloudFormationStackRecordsPaginator.paginate method.

# paginate method definition

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

kwargs: GetCloudFormationStackRecordsRequestGetCloudFormationStackRecordsPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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

GetDiskSnapshotsPaginator#

Type annotations and code completion for boto3.client("lightsail").get_paginator("get_disk_snapshots"). <