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: ListApplicationVersionsRequestPaginateTypeDef = {  # (1)
    "applicationId": ...,
}

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

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: ListApplicationsRequestPaginateTypeDef = {  # (1)
    "environmentId": ...,
}

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

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: ListBatchJobDefinitionsRequestPaginateTypeDef = {  # (1)
    "applicationId": ...,
}

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

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: TimestampTypeDef = ...,
    startedBefore: TimestampTypeDef = ...,
    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: ListBatchJobExecutionsRequestPaginateTypeDef = {  # (1)
    "applicationId": ...,
}

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

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: ListDataSetImportHistoryRequestPaginateTypeDef = {  # (1)
    "applicationId": ...,
}

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

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 type annotations

from boto3.session import Session

from mypy_boto3_m2.paginator import ListDataSetsPaginator

session = Session()

client = Session().client("m2")  # (1)
paginator: ListDataSetsPaginator = client.get_paginator("list_data_sets")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MainframeModernizationClient
  2. paginator: ListDataSetsPaginator
  3. item: ListDataSetsResponseTypeDef

paginate#

Type annotations and code completion for ListDataSetsPaginator.paginate method.

# paginate method definition

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

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

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

ListDeploymentsPaginator#

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

# ListDeploymentsPaginator usage example

from boto3.session import Session

from mypy_boto3_m2.paginator import ListDeploymentsPaginator

def get_list_deployments_paginator() -> ListDeploymentsPaginator:
    return Session().client("m2").get_paginator("list_deployments")
# ListDeploymentsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_m2.paginator import ListDeploymentsPaginator

session = Session()

client = Session().client("m2")  # (1)
paginator: ListDeploymentsPaginator = client.get_paginator("list_deployments")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MainframeModernizationClient
  2. paginator: ListDeploymentsPaginator
  3. item: ListDeploymentsResponseTypeDef

paginate#

Type annotations and code completion for ListDeploymentsPaginator.paginate method.

# paginate method definition

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

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

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

ListEngineVersionsPaginator#

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

# ListEngineVersionsPaginator usage example

from boto3.session import Session

from mypy_boto3_m2.paginator import ListEngineVersionsPaginator

def get_list_engine_versions_paginator() -> ListEngineVersionsPaginator:
    return Session().client("m2").get_paginator("list_engine_versions")
# ListEngineVersionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_m2.paginator import ListEngineVersionsPaginator

session = Session()

client = Session().client("m2")  # (1)
paginator: ListEngineVersionsPaginator = client.get_paginator("list_engine_versions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MainframeModernizationClient
  2. paginator: ListEngineVersionsPaginator
  3. item: ListEngineVersionsResponseTypeDef

paginate#

Type annotations and code completion for ListEngineVersionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    engineType: EngineTypeType = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> PageIterator[ListEngineVersionsResponseTypeDef]:  # (3)
    ...
  1. See EngineTypeType
  2. See PaginatorConfigTypeDef
  3. See ListEngineVersionsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListEngineVersionsRequestPaginateTypeDef = {  # (1)
    "engineType": ...,
}

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

ListEnvironmentsPaginator#

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

# ListEnvironmentsPaginator usage example

from boto3.session import Session

from mypy_boto3_m2.paginator import ListEnvironmentsPaginator

def get_list_environments_paginator() -> ListEnvironmentsPaginator:
    return Session().client("m2").get_paginator("list_environments")
# ListEnvironmentsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_m2.paginator import ListEnvironmentsPaginator

session = Session()

client = Session().client("m2")  # (1)
paginator: ListEnvironmentsPaginator = client.get_paginator("list_environments")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MainframeModernizationClient
  2. paginator: ListEnvironmentsPaginator
  3. item: ListEnvironmentsResponseTypeDef

paginate#

Type annotations and code completion for ListEnvironmentsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    engineType: EngineTypeType = ...,  # (1)
    names: Sequence[str] = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> PageIterator[ListEnvironmentsResponseTypeDef]:  # (3)
    ...
  1. See EngineTypeType
  2. See PaginatorConfigTypeDef
  3. See ListEnvironmentsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListEnvironmentsRequestPaginateTypeDef = {  # (1)
    "engineType": ...,
}

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