Skip to content

Paginators#

Index > WorkSpacesThinClient > Paginators

Auto-generated documentation for WorkSpacesThinClient type annotations stubs module mypy-boto3-workspaces-thin-client.

ListDevicesPaginator#

Type annotations and code completion for boto3.client("workspaces-thin-client").get_paginator("list_devices"). boto3 documentation

# ListDevicesPaginator usage example

from boto3.session import Session

from mypy_boto3_workspaces_thin_client.paginator import ListDevicesPaginator

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

from boto3.session import Session

from mypy_boto3_workspaces_thin_client.paginator import ListDevicesPaginator

session = Session()

client = Session().client("workspaces-thin-client")  # (1)
paginator: ListDevicesPaginator = client.get_paginator("list_devices")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: WorkSpacesThinClientClient
  2. paginator: ListDevicesPaginator
  3. item: ListDevicesResponseTypeDef

paginate#

Type annotations and code completion for ListDevicesPaginator.paginate method.

# paginate method definition

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

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

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

ListEnvironmentsPaginator#

Type annotations and code completion for boto3.client("workspaces-thin-client").get_paginator("list_environments"). boto3 documentation

# ListEnvironmentsPaginator usage example

from boto3.session import Session

from mypy_boto3_workspaces_thin_client.paginator import ListEnvironmentsPaginator

def get_list_environments_paginator() -> ListEnvironmentsPaginator:
    return Session().client("workspaces-thin-client").get_paginator("list_environments")
# ListEnvironmentsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_workspaces_thin_client.paginator import ListEnvironmentsPaginator

session = Session()

client = Session().client("workspaces-thin-client")  # (1)
paginator: ListEnvironmentsPaginator = client.get_paginator("list_environments")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: WorkSpacesThinClientClient
  2. paginator: ListEnvironmentsPaginator
  3. item: ListEnvironmentsResponseTypeDef

paginate#

Type annotations and code completion for ListEnvironmentsPaginator.paginate method.

# paginate method definition

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

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

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

ListSoftwareSetsPaginator#

Type annotations and code completion for boto3.client("workspaces-thin-client").get_paginator("list_software_sets"). boto3 documentation

# ListSoftwareSetsPaginator usage example

from boto3.session import Session

from mypy_boto3_workspaces_thin_client.paginator import ListSoftwareSetsPaginator

def get_list_software_sets_paginator() -> ListSoftwareSetsPaginator:
    return Session().client("workspaces-thin-client").get_paginator("list_software_sets")
# ListSoftwareSetsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_workspaces_thin_client.paginator import ListSoftwareSetsPaginator

session = Session()

client = Session().client("workspaces-thin-client")  # (1)
paginator: ListSoftwareSetsPaginator = client.get_paginator("list_software_sets")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: WorkSpacesThinClientClient
  2. paginator: ListSoftwareSetsPaginator
  3. item: ListSoftwareSetsResponseTypeDef

paginate#

Type annotations and code completion for ListSoftwareSetsPaginator.paginate method.

# paginate method definition

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

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

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