Paginators#
Index > AmplifyBackend > Paginators
Auto-generated documentation for AmplifyBackend type annotations stubs module mypy-boto3-amplifybackend.
ListBackendJobsPaginator#
Type annotations and code completion for boto3.client("amplifybackend").get_paginator("list_backend_jobs")
.
boto3 documentation
# ListBackendJobsPaginator usage example
from boto3.session import Session
from mypy_boto3_amplifybackend.paginator import ListBackendJobsPaginator
def get_list_backend_jobs_paginator() -> ListBackendJobsPaginator:
return Session().client("amplifybackend").get_paginator("list_backend_jobs")
# ListBackendJobsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_amplifybackend.paginator import ListBackendJobsPaginator
session = Session()
client = Session().client("amplifybackend") # (1)
paginator: ListBackendJobsPaginator = client.get_paginator("list_backend_jobs") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: AmplifyBackendClient
- paginator: ListBackendJobsPaginator
- item: ListBackendJobsResponseTypeDef
paginate#
Type annotations and code completion for ListBackendJobsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
AppId: str,
BackendEnvironmentName: str,
JobId: str = ...,
Operation: str = ...,
Status: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListBackendJobsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListBackendJobsRequestListBackendJobsPaginateTypeDef = { # (1)
"AppId": ...,
"BackendEnvironmentName": ...,
}
parent.paginate(**kwargs)