Paginators#
Index > ImportExport > Paginators
Auto-generated documentation for ImportExport type annotations stubs module mypy-boto3-importexport.
ListJobsPaginator#
Type annotations and code completion for boto3.client("importexport").get_paginator("list_jobs")
.
boto3 documentation
# ListJobsPaginator usage example
from boto3.session import Session
from mypy_boto3_importexport.paginator import ListJobsPaginator
def get_list_jobs_paginator() -> ListJobsPaginator:
return Session().client("importexport").get_paginator("list_jobs")
# ListJobsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_importexport.paginator import ListJobsPaginator
session = Session()
client = Session().client("importexport") # (1)
paginator: ListJobsPaginator = client.get_paginator("list_jobs") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ImportExportClient
- paginator: ListJobsPaginator
- item: ListJobsOutputTypeDef
paginate#
Type annotations and code completion for ListJobsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
APIVersion: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListJobsOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListJobsInputListJobsPaginateTypeDef = { # (1)
"APIVersion": ...,
}
parent.paginate(**kwargs)