Skip to content

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)
  1. client: EMRServerlessClient
  2. paginator: ListApplicationsPaginator
  3. 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)
    ...
  1. See ApplicationStateType
  2. See PaginatorConfigTypeDef
  3. See ListApplicationsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListApplicationsRequestPaginateTypeDef = {  # (1)
    "states": ...,
}

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

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

kwargs: ListJobRunAttemptsRequestPaginateTypeDef = {  # (1)
    "applicationId": ...,
    "jobRunId": ...,
}

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

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)
  1. client: EMRServerlessClient
  2. paginator: ListJobRunsPaginator
  3. 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)
    ...
  1. See JobRunStateType
  2. See JobRunModeType
  3. See PaginatorConfigTypeDef
  4. See ListJobRunsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListJobRunsRequestPaginateTypeDef = {  # (1)
    "applicationId": ...,
}

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