Skip to content

Paginators#

Index > MainframeModernization > Paginators

Auto-generated documentation for MainframeModernization type annotations stubs module mypy-boto3-m2.

ListApplicationVersionsPaginator#

Type annotations and code completion for boto3.client("m2").get_paginator("list_application_versions"). boto3 documentation

# ListApplicationVersionsPaginator usage example

from boto3.session import Session

from mypy_boto3_m2.paginator import ListApplicationVersionsPaginator

def get_list_application_versions_paginator() -> ListApplicationVersionsPaginator:
    return Session().client("m2").get_paginator("list_application_versions")
# ListApplicationVersionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_m2.paginator import ListApplicationVersionsPaginator

session = Session()

client = Session().client("m2")  # (1)
paginator: ListApplicationVersionsPaginator = client.get_paginator("list_application_versions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MainframeModernizationClient
  2. paginator: ListApplicationVersionsPaginator
  3. item: ListApplicationVersionsResponseTypeDef

paginate#

Type annotations and code completion for ListApplicationVersionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    applicationId: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListApplicationVersionsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListApplicationVersionsResponseTypeDef
# paginate method usage example with argument unpacking

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

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

ListApplicationsPaginator#

Type annotations and code completion for boto3.client("m2").get_paginator("list_applications"). boto3 documentation

# ListApplicationsPaginator usage example

from boto3.session import Session

from mypy_boto3_m2.paginator import ListApplicationsPaginator

def get_list_applications_paginator() -> ListApplicationsPaginator:
    return Session().client("m2").get_paginator("list_applications")
# ListApplicationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_m2.paginator import ListApplicationsPaginator

session = Session()

client = Session().client("m2")  # (1)
paginator: ListApplicationsPaginator = client.get_paginator("list_applications")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MainframeModernizationClient
  2. paginator: ListApplicationsPaginator
  3. item: ListApplicationsResponseTypeDef

paginate#

Type annotations and code completion for ListApplicationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    environmentId: str = ...,
    names: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListApplicationsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListApplicationsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListApplicationsRequestListApplicationsPaginateTypeDef = {  # (1)
    "environmentId": ...,
}

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

ListBatchJobDefinitionsPaginator#

Type annotations and code completion for boto3.client("m2").get_paginator("list_batch_job_definitions"). boto3 documentation

# ListBatchJobDefinitionsPaginator usage example

from boto3.session import Session

from mypy_boto3_m2.paginator import ListBatchJobDefinitionsPaginator

def get_list_batch_job_definitions_paginator() -> ListBatchJobDefinitionsPaginator:
    return Session().client("m2").get_paginator("list_batch_job_definitions")
# ListBatchJobDefinitionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_m2.paginator import ListBatchJobDefinitionsPaginator

session = Session()

client = Session().client("m2")  # (1)
paginator: ListBatchJobDefinitionsPaginator = client.get_paginator("list_batch_job_definitions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MainframeModernizationClient
  2. paginator: ListBatchJobDefinitionsPaginator
  3. item: ListBatchJobDefinitionsResponseTypeDef

paginate#

Type annotations and code completion for ListBatchJobDefinitionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    applicationId: str,
    prefix: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListBatchJobDefinitionsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListBatchJobDefinitionsResponseTypeDef
# paginate method usage example with argument unpacking

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

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

ListBatchJobExecutionsPaginator#

Type annotations and code completion for boto3.client("m2").get_paginator("list_batch_job_executions"). boto3 documentation

# ListBatchJobExecutionsPaginator usage example

from boto3.session import Session

from mypy_boto3_m2.paginator import ListBatchJobExecutionsPaginator

def get_list_batch_job_executions_paginator() -> ListBatchJobExecutionsPaginator:
    return Session().client("m2").get_paginator("list_batch_job_executions")
# ListBatchJobExecutionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_m2.paginator import ListBatchJobExecutionsPaginator

session = Session()

client = Session().client("m2")  # (1)
paginator: ListBatchJobExecutionsPaginator = client.get_paginator("list_batch_job_executions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MainframeModernizationClient
  2. paginator: ListBatchJobExecutionsPaginator
  3. item: ListBatchJobExecutionsResponseTypeDef

paginate#

Type annotations and code completion for ListBatchJobExecutionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    applicationId: str,
    executionIds: Sequence[str] = ...,
    jobName: str = ...,
    startedAfter: Union[datetime, str] = ...,
    startedBefore: Union[datetime, str] = ...,
    status: BatchJobExecutionStatusType = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[ListBatchJobExecutionsResponseTypeDef]:  # (3)
    ...
  1. See BatchJobExecutionStatusType
  2. See PaginatorConfigTypeDef
  3. See ListBatchJobExecutionsResponseTypeDef
# paginate method usage example with argument unpacking

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

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

ListDataSetImportHistoryPaginator#

Type annotations and code completion for boto3.client("m2").get_paginator("list_data_set_import_history"). boto3 documentation

# ListDataSetImportHistoryPaginator usage example

from boto3.session import Session

from mypy_boto3_m2.paginator import ListDataSetImportHistoryPaginator

def get_list_data_set_import_history_paginator() -> ListDataSetImportHistoryPaginator:
    return Session().client("m2").get_paginator("list_data_set_import_history")
# ListDataSetImportHistoryPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_m2.paginator import ListDataSetImportHistoryPaginator

session = Session()

client = Session().client("m2")  # (1)
paginator: ListDataSetImportHistoryPaginator = client.get_paginator("list_data_set_import_history")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MainframeModernizationClient
  2. paginator: ListDataSetImportHistoryPaginator
  3. item: ListDataSetImportHistoryResponseTypeDef

paginate#

Type annotations and code completion for ListDataSetImportHistoryPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    applicationId: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListDataSetImportHistoryResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListDataSetImportHistoryResponseTypeDef
# paginate method usage example with argument unpacking

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

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

ListDataSetsPaginator#

Type annotations and code completion for boto3.client("m2").get_paginator("list_data_sets"). boto3 documentation

# ListDataSetsPaginator usage example

from boto3.session import Session

from mypy_boto3_m2.paginator import ListDataSetsPaginator

def get_list_data_sets_paginator() -> ListDataSetsPaginator:
    return Session().client("m2").get_paginator("list_data_sets")
# ListDataSetsPaginator usage example with