Paginators#
Index > EMRServerless > Paginators
Auto-generated documentation for EMRServerless type annotations stubs module mypy-boto3-emr-serverless.
ListApplicationsPaginator#
Type annotations and code completion for boto3.client("emr-serverless").get_paginator("list_applications")
.
boto3 documentation
# ListApplicationsPaginator usage example
from boto3.session import Session
from mypy_boto3_emr_serverless.paginator import ListApplicationsPaginator
def get_list_applications_paginator() -> ListApplicationsPaginator:
return Session().client("emr-serverless").get_paginator("list_applications")
# ListApplicationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_emr_serverless.paginator import ListApplicationsPaginator
session = Session()
client = Session().client("emr-serverless") # (1)
paginator: ListApplicationsPaginator = client.get_paginator("list_applications") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: EMRServerlessClient
- paginator: ListApplicationsPaginator
- item: ListApplicationsResponseTypeDef
paginate#
Type annotations and code completion for ListApplicationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
states: Sequence[ApplicationStateType] = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListApplicationsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListApplicationsRequestListApplicationsPaginateTypeDef = { # (1)
"states": ...,
}
parent.paginate(**kwargs)
ListJobRunAttemptsPaginator#
Type annotations and code completion for boto3.client("emr-serverless").get_paginator("list_job_run_attempts")
.
boto3 documentation
# ListJobRunAttemptsPaginator usage example
from boto3.session import Session
from mypy_boto3_emr_serverless.paginator import ListJobRunAttemptsPaginator
def get_list_job_run_attempts_paginator() -> ListJobRunAttemptsPaginator:
return Session().client("emr-serverless").get_paginator("list_job_run_attempts")
# ListJobRunAttemptsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_emr_serverless.paginator import ListJobRunAttemptsPaginator
session = Session()
client = Session().client("emr-serverless") # (1)
paginator: ListJobRunAttemptsPaginator = client.get_paginator("list_job_run_attempts") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: EMRServerlessClient
- paginator: ListJobRunAttemptsPaginator
- item: ListJobRunAttemptsResponseTypeDef
paginate#
Type annotations and code completion for ListJobRunAttemptsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
applicationId: str,
jobRunId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListJobRunAttemptsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListJobRunAttemptsRequestListJobRunAttemptsPaginateTypeDef = { # (1)
"applicationId": ...,
"jobRunId": ...,
}
parent.paginate(**kwargs)
ListJobRunsPaginator#
Type annotations and code completion for boto3.client("emr-serverless").get_paginator("list_job_runs")
.
boto3 documentation
# ListJobRunsPaginator usage example
from boto3.session import Session
from mypy_boto3_emr_serverless.paginator import ListJobRunsPaginator
def get_list_job_runs_paginator() -> ListJobRunsPaginator:
return Session().client("emr-serverless").get_paginator("list_job_runs")
# ListJobRunsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_emr_serverless.paginator import ListJobRunsPaginator
session = Session()
client = Session().client("emr-serverless") # (1)
paginator: ListJobRunsPaginator = client.get_paginator("list_job_runs") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: EMRServerlessClient
- paginator: ListJobRunsPaginator
- item: ListJobRunsResponseTypeDef
paginate#
Type annotations and code completion for ListJobRunsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
applicationId: str,
createdAtAfter: TimestampTypeDef = ...,
createdAtBefore: TimestampTypeDef = ...,
states: Sequence[JobRunStateType] = ..., # (1)
mode: JobRunModeType = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> _PageIterator[ListJobRunsResponseTypeDef]: # (4)
...
# paginate method usage example with argument unpacking
kwargs: ListJobRunsRequestListJobRunsPaginateTypeDef = { # (1)
"applicationId": ...,
}
parent.paginate(**kwargs)