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"). boto3 documentation

# GetDiskSnapshotsPaginator usage example

from boto3.session import Session

from mypy_boto3_lightsail.paginator import GetDiskSnapshotsPaginator

def get_get_disk_snapshots_paginator() -> GetDiskSnapshotsPaginator:
    return Session().client("lightsail").get_paginator("get_disk_snapshots")
# GetDiskSnapshotsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_lightsail.paginator import GetDiskSnapshotsPaginator

session = Session()

client = Session().client("lightsail")  # (1)
paginator: GetDiskSnapshotsPaginator = client.get_paginator("get_disk_snapshots")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: LightsailClient
  2. paginator: GetDiskSnapshotsPaginator
  3. item: GetDiskSnapshotsResultTypeDef

paginate#

Type annotations and code completion for GetDiskSnapshotsPaginator.paginate method.

# paginate method definition

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

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

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

GetDisksPaginator#

Type annotations and code completion for boto3.client("lightsail").get_paginator("get_disks"). boto3 documentation

# GetDisksPaginator usage example

from boto3.session import Session

from mypy_boto3_lightsail.paginator import GetDisksPaginator

def get_get_disks_paginator() -> GetDisksPaginator:
    return Session().client("lightsail").get_paginator("get_disks")
# GetDisksPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_lightsail.paginator import GetDisksPaginator

session = Session()

client = Session().client("lightsail")  # (1)
paginator: GetDisksPaginator = client.get_paginator("get_disks")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: LightsailClient
  2. paginator: GetDisksPaginator
  3. item: GetDisksResultTypeDef

paginate#

Type annotations and code completion for GetDisksPaginator.paginate method.

# paginate method definition

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

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

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

GetDomainsPaginator#

Type annotations and code completion for boto3.client("lightsail").get_paginator("get_domains"). boto3 documentation

# GetDomainsPaginator usage example

from boto3.session import Session

from mypy_boto3_lightsail.paginator import GetDomainsPaginator

def get_get_domains_paginator() -> GetDomainsPaginator:
    return Session().client("lightsail").get_paginator("get_domains")
# GetDomainsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_lightsail.paginator import GetDomainsPaginator

session = Session()

client = Session().client("lightsail")  # (1)
paginator: GetDomainsPaginator = client.get_paginator("get_domains")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: LightsailClient
  2. paginator: GetDomainsPaginator
  3. item: GetDomainsResultTypeDef

paginate#

Type annotations and code completion for GetDomainsPaginator.paginate method.

# paginate method definition

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

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

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

GetExportSnapshotRecordsPaginator#

Type annotations and code completion for boto3.client("lightsail").get_paginator("get_export_snapshot_records"). b