Skip to content

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)
  1. client: AmplifyBackendClient
  2. paginator: ListBackendJobsPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListBackendJobsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListBackendJobsRequestListBackendJobsPaginateTypeDef = {  # (1)
    "AppId": ...,
    "BackendEnvironmentName": ...,
}

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