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)
- client: SnowDeviceManagementClient
- paginator: ListDeviceResourcesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListDeviceResourcesInputListDeviceResourcesPaginateTypeDef = { # (1)
"managedDeviceId": ...,
}
parent.paginate(**kwargs)
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)
- client: SnowDeviceManagementClient
- paginator: ListDevicesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListDevicesInputListDevicesPaginateTypeDef = { # (1)
"jobId": ...,
}
parent.paginate(**kwargs)
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)
- client: SnowDeviceManagementClient
- paginator: ListExecutionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListExecutionsInputListExecutionsPaginateTypeDef = { # (1)
"taskId": ...,
}
parent.paginate(**kwargs)
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)
- client: SnowDeviceManagementClient
- paginator: ListTasksPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListTasksInputListTasksPaginateTypeDef = { # (1)
"state": ...,
}
parent.paginate(**kwargs)