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)
- client: MainframeModernizationClient
- paginator: ListApplicationVersionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListApplicationVersionsRequestListApplicationVersionsPaginateTypeDef = { # (1)
"applicationId": ...,
}
parent.paginate(**kwargs)
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)
- client: MainframeModernizationClient
- paginator: ListApplicationsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListApplicationsRequestListApplicationsPaginateTypeDef = { # (1)
"environmentId": ...,
}
parent.paginate(**kwargs)
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)
- client: MainframeModernizationClient
- paginator: ListBatchJobDefinitionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListBatchJobDefinitionsRequestListBatchJobDefinitionsPaginateTypeDef = { # (1)
"applicationId": ...,
}
parent.paginate(**kwargs)
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)
- client: MainframeModernizationClient
- paginator: ListBatchJobExecutionsPaginator
- 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)
...
- See BatchJobExecutionStatusType
- See PaginatorConfigTypeDef
- See ListBatchJobExecutionsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListBatchJobExecutionsRequestListBatchJobExecutionsPaginateTypeDef = { # (1)
"applicationId": ...,
}
parent.paginate(**kwargs)
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)
- client: MainframeModernizationClient
- paginator: ListDataSetImportHistoryPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListDataSetImportHistoryRequestListDataSetImportHistoryPaginateTypeDef = { # (1)
"applicationId": ...,
}
parent.paginate(**kwargs)
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