Skip to content

Paginators#

Index > HealthImaging > Paginators

Auto-generated documentation for HealthImaging type annotations stubs module mypy-boto3-medical-imaging.

ListDICOMImportJobsPaginator#

Type annotations and code completion for boto3.client("medical-imaging").get_paginator("list_dicom_import_jobs"). boto3 documentation

# ListDICOMImportJobsPaginator usage example

from boto3.session import Session

from mypy_boto3_medical_imaging.paginator import ListDICOMImportJobsPaginator

def get_list_dicom_import_jobs_paginator() -> ListDICOMImportJobsPaginator:
    return Session().client("medical-imaging").get_paginator("list_dicom_import_jobs")
# ListDICOMImportJobsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_medical_imaging.paginator import ListDICOMImportJobsPaginator

session = Session()

client = Session().client("medical-imaging")  # (1)
paginator: ListDICOMImportJobsPaginator = client.get_paginator("list_dicom_import_jobs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: HealthImagingClient
  2. paginator: ListDICOMImportJobsPaginator
  3. item: ListDICOMImportJobsResponseTypeDef

paginate#

Type annotations and code completion for ListDICOMImportJobsPaginator.paginate method.

# paginate method definition

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

kwargs: ListDICOMImportJobsRequestListDICOMImportJobsPaginateTypeDef = {  # (1)
    "datastoreId": ...,
}

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

ListDatastoresPaginator#

Type annotations and code completion for boto3.client("medical-imaging").get_paginator("list_datastores").