MainframeModernization module#
Index > MainframeModernization
Auto-generated documentation for MainframeModernization type annotations stubs module mypy-boto3-m2.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.86' mypy_boto3_builder
- Select
boto3-stubs
AWS SDK. - Add
MainframeModernization
service. - Use provided commands to install generated packages.
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and MainframeModernization
.
From PyPI with pip#
Install boto3-stubs
for MainframeModernization
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[m2]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[m2]'
# standalone installation
python -m pip install mypy-boto3-m2
How to uninstall#
python -m pip uninstall -y mypy-boto3-m2
Usage#
Code samples can be found in Examples.
MainframeModernizationClient#
Type annotations and code completion for boto3.client("m2")
as MainframeModernizationClient
boto3 documentation
# MainframeModernizationClient usage example
from boto3.session import Session
from mypy_boto3_m2.client import MainframeModernizationClient
def get_client() -> MainframeModernizationClient:
return Session().client("m2")
Paginators#
Type annotations and code completion for paginators
from boto3.client("m2").get_paginator("...")
.
# 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
- ListApplicationsPaginator
- ListBatchJobDefinitionsPaginator
- ListBatchJobExecutionsPaginator
- ListDataSetImportHistoryPaginator
- ListDataSetsPaginator
- ListDeploymentsPaginator
- ListEngineVersionsPaginator
- ListEnvironmentsPaginator
Literals#
Type annotations for literals used in methods and schema.
# ApplicationDeploymentLifecycleType usage example
from mypy_boto3_m2.literals import ApplicationDeploymentLifecycleType
def get_value() -> ApplicationDeploymentLifecycleType:
return "Deployed"
- ApplicationDeploymentLifecycleType
- ApplicationLifecycleType
- ApplicationVersionLifecycleType
- BatchJobExecutionStatusType
- BatchJobTypeType
- DataSetTaskLifecycleType
- DeploymentLifecycleType
- EngineTypeType
- EnvironmentLifecycleType
- ListApplicationVersionsPaginatorName
- ListApplicationsPaginatorName
- ListBatchJobDefinitionsPaginatorName
- ListBatchJobExecutionsPaginatorName
- ListDataSetImportHistoryPaginatorName
- ListDataSetsPaginatorName
- ListDeploymentsPaginatorName
- ListEngineVersionsPaginatorName
- ListEnvironmentsPaginatorName
- NetworkTypeType
- MainframeModernizationServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- AlternateKeyTypeDef
- ApplicationSummaryTypeDef
- ApplicationVersionSummaryTypeDef
- FileBatchJobDefinitionTypeDef
- ScriptBatchJobDefinitionTypeDef
- FileBatchJobIdentifierTypeDef
- ScriptBatchJobIdentifierTypeDef
- CancelBatchJobExecutionRequestRequestTypeDef
- DefinitionTypeDef
- ResponseMetadataTypeDef
- CreateDeploymentRequestRequestTypeDef
- HighAvailabilityConfigTypeDef
- ExternalLocationTypeDef
- DataSetImportSummaryTypeDef
- DataSetSummaryTypeDef
- RecordLengthTypeDef
- GdgDetailAttributesTypeDef
- PoDetailAttributesTypeDef
- PsDetailAttributesTypeDef
- GdgAttributesTypeDef
- PoAttributesTypeDef
- PsAttributesTypeDef
- DeleteApplicationFromEnvironmentRequestRequestTypeDef
- DeleteApplicationRequestRequestTypeDef
- DeleteEnvironmentRequestRequestTypeDef
- DeployedVersionSummaryTypeDef
- DeploymentSummaryTypeDef
- EfsStorageConfigurationTypeDef
- EngineVersionsSummaryTypeDef
- EnvironmentSummaryTypeDef
- FsxStorageConfigurationTypeDef
- GetApplicationRequestRequestTypeDef
- LogGroupSummaryTypeDef
- GetApplicationVersionRequestRequestTypeDef
- GetBatchJobExecutionRequestRequestTypeDef
- JobStepRestartMarkerTypeDef
- GetDataSetDetailsRequestRequestTypeDef
- GetDataSetImportTaskRequestRequestTypeDef
- GetDeploymentRequestRequestTypeDef
- GetEnvironmentRequestRequestTypeDef
- JobIdentifierTypeDef
- JobStepTypeDef
- PaginatorConfigTypeDef
- ListApplicationVersionsRequestRequestTypeDef
- ListApplicationsRequestRequestTypeDef
- ListBatchJobDefinitionsRequestRequestTypeDef
- TimestampTypeDef
- ListBatchJobRestartPointsRequestRequestTypeDef
- ListDataSetImportHistoryRequestRequestTypeDef
- ListDataSetsRequestRequestTypeDef
- ListDeploymentsRequestRequestTypeDef
- ListEngineVersionsRequestRequestTypeDef
- ListEnvironmentsRequestRequestTypeDef
- ListTagsForResourceRequestRequestTypeDef
- MaintenanceScheduleTypeDef
- PrimaryKeyTypeDef
- StartApplicationRequestRequestTypeDef
- StopApplicationRequestRequestTypeDef
- TagResourceRequestRequestTypeDef
- UntagResourceRequestRequestTypeDef
- UpdateEnvironmentRequestRequestTypeDef
- BatchJobDefinitionTypeDef
- CreateApplicationRequestRequestTypeDef
- UpdateApplicationRequestRequestTypeDef
- CreateApplicationResponseTypeDef
- CreateDataSetImportTaskResponseTypeDef
- CreateDeploymentResponseTypeDef
- CreateEnvironmentResponseTypeDef
- GetApplicationVersionResponseTypeDef
- GetDeploymentResponseTypeDef
- GetSignedBluinsightsUrlResponseTypeDef
- ListApplicationVersionsResponseTypeDef
- ListApplicationsResponseTypeDef
- ListTagsForResourceResponseTypeDef
- StartBatchJobResponseTypeDef
- UpdateApplicationResponseTypeDef
- UpdateEnvironmentResponseTypeDef
- DataSetImportTaskTypeDef
- GetDataSetImportTaskResponseTypeDef
- ListDataSetsResponseTypeDef
- ListDeploymentsResponseTypeDef
- ListEngineVersionsResponseTypeDef
- ListEnvironmentsResponseTypeDef
- StorageConfigurationTypeDef
- GetApplicationResponseTypeDef
- RestartBatchJobIdentifierTypeDef
- S3BatchJobIdentifierTypeDef
- ListBatchJobRestartPointsResponseTypeDef
- ListApplicationVersionsRequestPaginateTypeDef
- ListApplicationsRequestPaginateTypeDef
- ListBatchJobDefinitionsRequestPaginateTypeDef
- ListDataSetImportHistoryRequestPaginateTypeDef
- ListDataSetsRequestPaginateTypeDef
- ListDeploymentsRequestPaginateTypeDef
- ListEngineVersionsRequestPaginateTypeDef
- ListEnvironmentsRequestPaginateTypeDef
- ListBatchJobExecutionsRequestPaginateTypeDef
- ListBatchJobExecutionsRequestRequestTypeDef
- PendingMaintenanceTypeDef
- VsamAttributesTypeDef
- VsamDetailAttributesTypeDef
- ListBatchJobDefinitionsResponseTypeDef
- ListDataSetImportHistoryResponseTypeDef
- CreateEnvironmentRequestRequestTypeDef
- BatchJobIdentifierTypeDef
- GetEnvironmentResponseTypeDef
- DatasetOrgAttributesTypeDef
- DatasetDetailOrgAttributesTypeDef
- BatchJobExecutionSummaryTypeDef
- GetBatchJobExecutionResponseTypeDef
- StartBatchJobRequestRequestTypeDef
- DataSetTypeDef
- GetDataSetDetailsResponseTypeDef
- ListBatchJobExecutionsResponseTypeDef
- DataSetImportItemTypeDef
- DataSetImportConfigTypeDef
- CreateDataSetImportTaskRequestRequestTypeDef