Skip to content

Paginators#

Index > GreengrassV2 > Paginators

Auto-generated documentation for GreengrassV2 type annotations stubs module mypy-boto3-greengrassv2.

ListClientDevicesAssociatedWithCoreDevicePaginator#

Type annotations and code completion for boto3.client("greengrassv2").get_paginator("list_client_devices_associated_with_core_device"). boto3 documentation

# ListClientDevicesAssociatedWithCoreDevicePaginator usage example

from boto3.session import Session

from mypy_boto3_greengrassv2.paginator import ListClientDevicesAssociatedWithCoreDevicePaginator

def get_list_client_devices_associated_with_core_device_paginator() -> ListClientDevicesAssociatedWithCoreDevicePaginator:
    return Session().client("greengrassv2").get_paginator("list_client_devices_associated_with_core_device")
# ListClientDevicesAssociatedWithCoreDevicePaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_greengrassv2.paginator import ListClientDevicesAssociatedWithCoreDevicePaginator

session = Session()

client = Session().client("greengrassv2")  # (1)
paginator: ListClientDevicesAssociatedWithCoreDevicePaginator = client.get_paginator("list_client_devices_associated_with_core_device")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: GreengrassV2Client
  2. paginator: ListClientDevicesAssociatedWithCoreDevicePaginator
  3. item: ListClientDevicesAssociatedWithCoreDeviceResponseTypeDef

paginate#

Type annotations and code completion for ListClientDevicesAssociatedWithCoreDevicePaginator.paginate method.

# paginate method definition

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

kwargs: ListClientDevicesAssociatedWithCoreDeviceRequestListClientDevicesAssociatedWithCoreDevicePaginateTypeDef = {  # (1)
    "coreDeviceThingName": ...,
}

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

ListComponentVersionsPaginator#

Type annotations and code completion for boto3.client("greengrassv2").get_paginator("list_component_versions"). boto3 documentation

# ListComponentVersionsPaginator usage example

from boto3.session import Session

from mypy_boto3_greengrassv2.paginator import ListComponentVersionsPaginator

def get_list_component_versions_paginator() -> ListComponentVersionsPaginator:
    return Session().client("greengrassv2").get_paginator("list_component_versions")
# ListComponentVersionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_greengrassv2.paginator import ListComponentVersionsPaginator

session = Session()

client = Session().client("greengrassv2")  # (1)
paginator: ListComponentVersionsPaginator = client.get_paginator("list_component_versions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: GreengrassV2Client
  2. paginator: ListComponentVersionsPaginator
  3. item: ListComponentVersionsResponseTypeDef

paginate#

Type annotations and code completion for ListComponentVersionsPaginator.paginate method.

# paginate method definition

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

kwargs: ListComponentVersionsRequestListComponentVersionsPaginateTypeDef = {  # (1)
    "arn": ...,
}

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

ListComponentsPaginator#

Type annotations and code completion for boto3.client("greengrassv2").get_paginator("list_components"). boto3 documentation

# ListComponentsPaginator usage example

from boto3.session import Session

from mypy_boto3_greengrassv2.paginator import ListComponentsPaginator

def get_list_components_paginator() -> ListComponentsPaginator:
    return Session().client("greengrassv2").get_paginator("list_components")
# ListComponentsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_greengrassv2.paginator import ListComponentsPaginator

session = Session()

client = Session().client("greengrassv2")  # (1)
paginator: ListComponentsPaginator = client.get_paginator("list_components")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: GreengrassV2Client
  2. paginator: ListComponentsPaginator
  3. item: ListComponentsResponsePaginatorTypeDef

paginate#

Type annotations and code completion for ListComponentsPaginator.paginate method.

# paginate method definition

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

kwargs: ListComponentsRequestListComponentsPaginateTypeDef = {  # (1)
    "scope": ...,
}

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

ListCoreDevicesPaginator#

Type annotations and code completion for boto3.client("greengrassv2").get_paginator("list_core_devices"). boto3 documentation

# ListCoreDevicesPaginator usage example

from boto3.session import Session

from mypy_boto3_greengrassv2.paginator import ListCoreDevicesPaginator

def get_list_core_devices_paginator() -> ListCoreDevicesPaginator:
    return Session().client("greengrassv2").get_paginator("list_core_devices")
# ListCoreDevicesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_greengrassv2.paginator import ListCoreDevicesPaginator

session = Session()

client = Session().client("greengrassv2")  # (1)
paginator: ListCoreDevicesPaginator = client.get_paginator("list_core_devices")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: GreengrassV2Client
  2. paginator: ListCoreDevicesPaginator
  3. item: ListCoreDevicesResponseTypeDef

paginate#

Type annotations and code completion for ListCoreDevicesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    thingGroupArn: str = ...,
    status: CoreDeviceStatusType = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[ListCoreDevicesResponseTypeDef]:  # (3)
    ...
  1. See CoreDeviceStatusType
  2. See PaginatorConfigTypeDef
  3. See ListCoreDevicesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListCoreDevicesRequestListCoreDevicesPaginateTypeDef = {  # (1)
    "thingGroupArn": ...,
}

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

ListDeploymentsPaginator#

Type annotations and code completion for boto3.client("greengrassv2").get_paginator("list_deployments"). boto3 documentation

# ListDeploymentsPaginator usage example

from boto3.session import Session

from mypy_boto3_greengrassv2.paginator import ListDeploymentsPaginator

def get_list_deployments_paginator() -> ListDeploymentsPaginator:
    return Session().client("greengrassv2").get_paginator("list_deployments")
# ListDeploymentsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_greengrassv2.paginator import ListDeploymentsPaginator

session = Session()

client = Session().client("greengrassv2")  # (1)
paginator: ListDeploymentsPaginator = client.get_paginator("list_deployments")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: GreengrassV2Client
  2. paginator: ListDeploymentsPaginator
  3. item: ListDeploymentsResponseTypeDef

paginate#

Type annotations and code completion for ListDeploymentsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    targetArn: str = ...,
    historyFilter: DeploymentHistoryFilterType = ...,  # (1)
    parentTargetArn: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[ListDeploymentsResponseTypeDef]:  # (3)
    ...
  1. See DeploymentHistoryFilterType
  2. See PaginatorConfigTypeDef
  3. See ListDeploymentsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListDeploymentsRequestListDeploymentsPaginateTypeDef = {  # (1)
    "targetArn": ...,
}

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

ListEffectiveDeploymentsPaginator#

Type annotations and code completion for boto3.client("greengrassv2").get_paginator("list_effective_deployments"). boto3 documentation

# ListEffectiveDeploymentsPaginator usage example

from boto3.session import Session

from mypy_boto3_greengrassv2.paginator import ListEffectiveDeploymentsPaginator

def get_list_effective_deployments_paginator() -> ListEffectiveDeploymentsPaginator:
    return Session().client("greengrassv2").get_paginator("list_effective_deployments")
# ListEffectiveDeploymentsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_greengrassv2.paginator import ListEffectiveDeploymentsPaginator

session = Session()

client = Session().client("greengrassv2")  # (1)
paginator: ListEffectiveDeploymentsPaginator = client.get_paginator("list_effective_deployments")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: GreengrassV2Client
  2. paginator: ListEffectiveDeploymentsPaginator
  3. item: ListEffectiveDeploymentsResponseTypeDef

paginate#

Type annotations and code completion for ListEffectiveDeploymentsPaginator.paginate method.

# paginate method definition

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

kwargs: ListEffectiveDeploymentsRequestListEffectiveDeploymentsPaginateTypeDef = {  # (1)
    "coreDeviceThingName": ...,
}

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

ListInstalledComponentsPaginator#

Type annotations and code completion for boto3.client("greengrassv2").get_paginator("list_installed_components"). boto3 documentation

# ListInstalledComponentsPaginator usage example

from boto3.session import Session

from mypy_boto3_greengrassv2.paginator import ListInstalledComponentsPaginator

def get_list_installed_components_paginator() -> ListInstalledComponentsPaginator:
    return Session().client("greengrassv2").get_paginator("list_installed_components")
# ListInstalledComponentsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_greengrassv2.paginator import ListInstalledComponentsPaginator

session = Session()

client = Session().client("greengrassv2")  # (1)
paginator: ListInstalledComponentsPaginator = client.get_paginator("list_installed_components")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: GreengrassV2Client
  2. paginator: ListInstalledComponentsPaginator
  3. item: ListInstalledComponentsResponseTypeDef

paginate#

Type annotations and code completion for ListInstalledComponentsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    coreDeviceThingName: str,
    topologyFilter: InstalledComponentTopologyFilterType = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[ListInstalledComponentsResponseTypeDef]:  # (3)
    ...
  1. See InstalledComponentTopologyFilterType
  2. See PaginatorConfigTypeDef
  3. See ListInstalledComponentsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListInstalledComponentsRequestListInstalledComponentsPaginateTypeDef = {  # (1)
    "coreDeviceThingName": ...,
}

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