Skip to content

Paginators#

Index > SnowDeviceManagement > Paginators

Auto-generated documentation for SnowDeviceManagement type annotations stubs module mypy-boto3-snow-device-management.

ListDeviceResourcesPaginator#

Type annotations and code completion for boto3.client("snow-device-management").get_paginator("list_device_resources"). boto3 documentation

# ListDeviceResourcesPaginator usage example

from boto3.session import Session

from mypy_boto3_snow_device_management.paginator import ListDeviceResourcesPaginator

def get_list_device_resources_paginator() -> ListDeviceResourcesPaginator:
    return Session().client("snow-device-management").get_paginator("list_device_resources")
# ListDeviceResourcesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_snow_device_management.paginator import ListDeviceResourcesPaginator

session = Session()

client = Session().client("snow-device-management")  # (1)
paginator: ListDeviceResourcesPaginator = client.get_paginator("list_device_resources")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SnowDeviceManagementClient
  2. paginator: ListDeviceResourcesPaginator
  3. item: ListDeviceResourcesOutputTypeDef

paginate#

Type annotations and code completion for ListDeviceResourcesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    managedDeviceId: str,
    type: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> PageIterator[ListDeviceResourcesOutputTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListDeviceResourcesOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: ListDeviceResourcesInputPaginateTypeDef = {  # (1)
    "managedDeviceId": ...,
}

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

ListDevicesPaginator#

Type annotations and code completion for boto3.client("snow-device-management").get_paginator("list_devices"). boto3 documentation

# ListDevicesPaginator usage example

from boto3.session import Session

from mypy_boto3_snow_device_management.paginator import ListDevicesPaginator

def get_list_devices_paginator() -> ListDevicesPaginator:
    return Session().client("snow-device-management").get_paginator("list_devices")
# ListDevicesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_snow_device_management.paginator import ListDevicesPaginator

session = Session()

client = Session().client("snow-device-management")  # (1)
paginator: ListDevicesPaginator = client.get_paginator("list_devices")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SnowDeviceManagementClient
  2. paginator: ListDevicesPaginator
  3. item: ListDevicesOutputTypeDef

paginate#

Type annotations and code completion for ListDevicesPaginator.paginate method.

# paginate method definition

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

kwargs: ListDevicesInputPaginateTypeDef = {  # (1)
    "jobId": ...,
}

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

ListExecutionsPaginator#

Type annotations and code completion for boto3.client("snow-device-management").get_paginator("list_executions"). boto3 documentation

# ListExecutionsPaginator usage example

from boto3.session import Session

from mypy_boto3_snow_device_management.paginator import ListExecutionsPaginator

def get_list_executions_paginator() -> ListExecutionsPaginator:
    return Session().client("snow-device-management").get_paginator("list_executions")
# ListExecutionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_snow_device_management.paginator import ListExecutionsPaginator

session = Session()

client = Session().client("snow-device-management")  # (1)
paginator: ListExecutionsPaginator = client.get_paginator("list_executions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SnowDeviceManagementClient
  2. paginator: ListExecutionsPaginator
  3. item: ListExecutionsOutputTypeDef

paginate#

Type annotations and code completion for ListExecutionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    taskId: str,
    state: ExecutionStateType = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> PageIterator[ListExecutionsOutputTypeDef]:  # (3)
    ...
  1. See ExecutionStateType
  2. See PaginatorConfigTypeDef
  3. See ListExecutionsOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: ListExecutionsInputPaginateTypeDef = {  # (1)
    "taskId": ...,
}

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

ListTasksPaginator#

Type annotations and code completion for boto3.client("snow-device-management").get_paginator("list_tasks"). boto3 documentation

# ListTasksPaginator usage example

from boto3.session import Session

from mypy_boto3_snow_device_management.paginator import ListTasksPaginator

def get_list_tasks_paginator() -> ListTasksPaginator:
    return Session().client("snow-device-management").get_paginator("list_tasks")
# ListTasksPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_snow_device_management.paginator import ListTasksPaginator

session = Session()

client = Session().client("snow-device-management")  # (1)
paginator: ListTasksPaginator = client.get_paginator("list_tasks")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SnowDeviceManagementClient
  2. paginator: ListTasksPaginator
  3. item: ListTasksOutputTypeDef

paginate#

Type annotations and code completion for ListTasksPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    state: TaskStateType = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> PageIterator[ListTasksOutputTypeDef]:  # (3)
    ...
  1. See TaskStateType
  2. See PaginatorConfigTypeDef
  3. See ListTasksOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: ListTasksInputPaginateTypeDef = {  # (1)
    "state": ...,
}

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