Mgn module#
Index > Mgn
Auto-generated documentation for Mgn type annotations stubs module mypy-boto3-mgn.
How to install#
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and Mgn
.
From PyPI with pip#
Install boto3-stubs
for Mgn
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[mgn]'
# 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[mgn]'
# standalone installation
python -m pip install mypy-boto3-mgn
How to uninstall#
python -m pip uninstall -y mypy-boto3-mgn
Usage#
Code samples can be found in Examples.
MgnClient#
Type annotations and code completion for boto3.client("mgn")
as MgnClient
boto3 documentation
# MgnClient usage example
from boto3.session import Session
from mypy_boto3_mgn.client import MgnClient
def get_client() -> MgnClient:
return Session().client("mgn")
Paginators#
Type annotations and code completion for paginators
from boto3.client("mgn").get_paginator("...")
.
# DescribeJobLogItemsPaginator usage example
from boto3.session import Session
from mypy_boto3_mgn.paginator import DescribeJobLogItemsPaginator
def get_describe_job_log_items_paginator() -> DescribeJobLogItemsPaginator:
return Session().client("mgn").get_paginator("describe_job_log_items"))
- DescribeJobLogItemsPaginator
- DescribeJobsPaginator
- DescribeLaunchConfigurationTemplatesPaginator
- DescribeReplicationConfigurationTemplatesPaginator
- DescribeSourceServersPaginator
- DescribeVcenterClientsPaginator
- ListApplicationsPaginator
- ListConnectorsPaginator
- ListExportErrorsPaginator
- ListExportsPaginator
- ListImportErrorsPaginator
- ListImportsPaginator
- ListManagedAccountsPaginator
- ListSourceServerActionsPaginator
- ListTemplateActionsPaginator
- ListWavesPaginator
Literals#
Type annotations for literals used in methods and schema.
# ActionCategoryType usage example
from mypy_boto3_mgn.literals import ActionCategoryType
def get_value() -> ActionCategoryType:
return "BACKUP"
- ActionCategoryType
- ApplicationHealthStatusType
- ApplicationProgressStatusType
- BootModeType
- ChangeServerLifeCycleStateSourceServerLifecycleStateType
- DataReplicationErrorStringType
- DataReplicationInitiationStepNameType
- DataReplicationInitiationStepStatusType
- DataReplicationStateType
- DescribeJobLogItemsPaginatorName
- DescribeJobsPaginatorName
- DescribeLaunchConfigurationTemplatesPaginatorName
- DescribeReplicationConfigurationTemplatesPaginatorName
- DescribeSourceServersPaginatorName
- DescribeVcenterClientsPaginatorName
- ExportStatusType
- FirstBootType
- ImportErrorTypeType
- ImportStatusType
- InitiatedByType
- JobLogEventType
- JobStatusType
- JobTypeType
- LaunchDispositionType
- LaunchStatusType
- LifeCycleStateType
- ListApplicationsPaginatorName
- ListConnectorsPaginatorName
- ListExportErrorsPaginatorName
- ListExportsPaginatorName
- ListImportErrorsPaginatorName
- ListImportsPaginatorName
- ListManagedAccountsPaginatorName
- ListSourceServerActionsPaginatorName
- ListTemplateActionsPaginatorName
- ListWavesPaginatorName
- PostLaunchActionExecutionStatusType
- PostLaunchActionsDeploymentTypeType
- ReplicationConfigurationDataPlaneRoutingType
- ReplicationConfigurationDefaultLargeStagingDiskTypeType
- ReplicationConfigurationEbsEncryptionType
- ReplicationConfigurationReplicatedDiskStagingDiskTypeType
- ReplicationTypeType
- SsmDocumentTypeType
- SsmParameterStoreParameterTypeType
- TargetInstanceTypeRightSizingMethodType
- VolumeTypeType
- WaveHealthStatusType
- WaveProgressStatusType
- MgnServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- ApplicationAggregatedStatusTypeDef
- ResponseMetadataTypeDef
- ArchiveApplicationRequestRequestTypeDef
- ArchiveWaveRequestRequestTypeDef
- AssociateApplicationsRequestRequestTypeDef
- AssociateSourceServersRequestRequestTypeDef
- CPUTypeDef
- ChangeServerLifeCycleStateSourceServerLifecycleTypeDef
- ConnectorSsmCommandConfigTypeDef
- CreateApplicationRequestRequestTypeDef
- LaunchTemplateDiskConfTypeDef
- LicensingTypeDef
- CreateReplicationConfigurationTemplateRequestRequestTypeDef
- CreateWaveRequestRequestTypeDef
- DataReplicationErrorTypeDef
- DataReplicationInfoReplicatedDiskTypeDef
- DataReplicationInitiationStepTypeDef
- DeleteApplicationRequestRequestTypeDef
- DeleteConnectorRequestRequestTypeDef
- DeleteJobRequestRequestTypeDef
- DeleteLaunchConfigurationTemplateRequestRequestTypeDef
- DeleteReplicationConfigurationTemplateRequestRequestTypeDef
- DeleteSourceServerRequestRequestTypeDef
- DeleteVcenterClientRequestRequestTypeDef
- DeleteWaveRequestRequestTypeDef
- PaginatorConfigTypeDef
- DescribeJobLogItemsRequestRequestTypeDef
- DescribeJobsRequestFiltersTypeDef
- DescribeLaunchConfigurationTemplatesRequestRequestTypeDef
- DescribeReplicationConfigurationTemplatesRequestRequestTypeDef
- ReplicationConfigurationTemplateTypeDef
- DescribeSourceServersRequestFiltersTypeDef
- DescribeVcenterClientsRequestRequestTypeDef
- VcenterClientTypeDef
- DisassociateApplicationsRequestRequestTypeDef
- DisassociateSourceServersRequestRequestTypeDef
- DisconnectFromServiceRequestRequestTypeDef
- DiskTypeDef
- ExportErrorDataTypeDef
- ExportTaskSummaryTypeDef
- FinalizeCutoverRequestRequestTypeDef
- GetLaunchConfigurationRequestRequestTypeDef
- GetReplicationConfigurationRequestRequestTypeDef
- IdentificationHintsTypeDef
- ImportErrorDataTypeDef
- ImportTaskSummaryApplicationsTypeDef
- ImportTaskSummaryServersTypeDef
- ImportTaskSummaryWavesTypeDef
- S3BucketSourceTypeDef
- JobLogEventDataTypeDef
- LaunchedInstanceTypeDef
- LifeCycleLastCutoverFinalizedTypeDef
- LifeCycleLastCutoverInitiatedTypeDef
- LifeCycleLastCutoverRevertedTypeDef
- LifeCycleLastTestFinalizedTypeDef
- LifeCycleLastTestInitiatedTypeDef
- LifeCycleLastTestRevertedTypeDef
- ListApplicationsRequestFiltersTypeDef
- ListConnectorsRequestFiltersTypeDef
- ListExportErrorsRequestRequestTypeDef
- ListExportsRequestFiltersTypeDef
- ListImportErrorsRequestRequestTypeDef
- ListImportsRequestFiltersTypeDef
- ListManagedAccountsRequestRequestTypeDef
- ManagedAccountTypeDef
- SourceServerActionsRequestFiltersTypeDef
- ListTagsForResourceRequestRequestTypeDef
- TemplateActionsRequestFiltersTypeDef
- ListWavesRequestFiltersTypeDef
- MarkAsArchivedRequestRequestTypeDef
- NetworkInterfaceTypeDef
- OSTypeDef
- PauseReplicationRequestRequestTypeDef
- SsmExternalParameterTypeDef
- SsmParameterStoreParameterTypeDef
- RemoveSourceServerActionRequestRequestTypeDef
- RemoveTemplateActionRequestRequestTypeDef
- ReplicationConfigurationReplicatedDiskTypeDef
- ResumeReplicationRequestRequestTypeDef
- RetryDataReplicationRequestRequestTypeDef
- SourceServerConnectorActionTypeDef
- StartCutoverRequestRequestTypeDef
- StartExportRequestRequestTypeDef
- StartReplicationRequestRequestTypeDef
- StartTestRequestRequestTypeDef
- StopReplicationRequestRequestTypeDef
- TagResourceRequestRequestTypeDef
- TerminateTargetInstancesRequestRequestTypeDef
- UnarchiveApplicationRequestRequestTypeDef
- UnarchiveWaveRequestRequestTypeDef
- UntagResourceRequestRequestTypeDef
- UpdateApplicationRequestRequestTypeDef
- UpdateReplicationConfigurationTemplateRequestRequestTypeDef
- UpdateSourceServerReplicationTypeRequestRequestTypeDef
- UpdateWaveRequestRequestTypeDef
- WaveAggregatedStatusTypeDef
- ApplicationTypeDef
- ApplicationResponseTypeDef
- EmptyResponseMetadataTypeDef
- ListTagsForResourceResponseTypeDef
- ReplicationConfigurationTemplateResponseTypeDef
- ChangeServerLifeCycleStateRequestRequestTypeDef
- ConnectorResponseTypeDef
- ConnectorTypeDef
- CreateConnectorRequestRequestTypeDef
- UpdateConnectorRequestRequestTypeDef
- DataReplicationInitiationTypeDef
- DescribeJobLogItemsRequestDescribeJobLogItemsPaginateTypeDef
- DescribeLaunchConfigurationTemplatesRequestDescribeLaunchConfigurationTemplatesPaginateTypeDef
- DescribeReplicationConfigurationTemplatesRequestDescribeReplicationConfigurationTemplatesPaginateTypeDef
- DescribeVcenterClientsRequestDescribeVcenterClientsPaginateTypeDef
- ListExportErrorsRequestListExportErrorsPaginateTypeDef
- ListImportErrorsRequestListImportErrorsPaginateTypeDef
- ListManagedAccountsRequestListManagedAccountsPaginateTypeDef
- DescribeJobsRequestDescribeJobsPaginateTypeDef
- DescribeJobsRequestRequestTypeDef
- DescribeReplicationConfigurationTemplatesResponseTypeDef
- DescribeSourceServersRequestDescribeSourceServersPaginateTypeDef
- DescribeSourceServersRequestRequestTypeDef
- DescribeVcenterClientsResponseTypeDef
- ExportTaskErrorTypeDef
- ExportTaskTypeDef
- ImportTaskErrorTypeDef
- ImportTaskSummaryTypeDef
- StartImportRequestRequestTypeDef
- JobLogTypeDef
- LifeCycleLastCutoverTypeDef
- LifeCycleLastTestTypeDef
- ListApplicationsRequestListApplicationsPaginateTypeDef
- ListApplicationsRequestRequestTypeDef
- ListConnectorsRequestListConnectorsPaginateTypeDef
- ListConnectorsRequestRequestTypeDef
- ListExportsRequestListExportsPaginateTypeDef
- ListExportsRequestRequestTypeDef
- ListImportsRequestListImportsPaginateTypeDef
- ListImportsRequestRequestTypeDef
- ListManagedAccountsResponseTypeDef
- ListSourceServerActionsRequestListSourceServerActionsPaginateTypeDef
- ListSourceServerActionsRequestRequestTypeDef
- ListTemplateActionsRequestListTemplateActionsPaginateTypeDef
- ListTemplateActionsRequestRequestTypeDef
- ListWavesRequestListWavesPaginateTypeDef
- ListWavesRequestRequestTypeDef
- SourcePropertiesTypeDef
- PutSourceServerActionRequestRequestTypeDef
- PutTemplateActionRequestRequestTypeDef
- SourceServerActionDocumentResponseTypeDef
- SourceServerActionDocumentTypeDef
- SsmDocumentOutputTypeDef
- SsmDocumentTypeDef
- TemplateActionDocumentResponseTypeDef
- TemplateActionDocumentTypeDef
- ReplicationConfigurationTypeDef
- UpdateReplicationConfigurationRequestRequestTypeDef
- UpdateSourceServerRequestRequestTypeDef
- WaveResponseTypeDef
- WaveTypeDef
- ListApplicationsResponseTypeDef
- ListConnectorsResponseTypeDef
- DataReplicationInfoTypeDef
- ListExportErrorsResponseTypeDef
- ListExportsResponseTypeDef
- StartExportResponseTypeDef
- ListImportErrorsResponseTypeDef
- ImportTaskTypeDef
- DescribeJobLogItemsResponseTypeDef
- LifeCycleTypeDef
- ListSourceServerActionsResponseTypeDef
- JobPostLaunchActionsLaunchStatusTypeDef
- PostLaunchActionsOutputTypeDef
- SsmDocumentUnionTypeDef
- ListTemplateActionsResponseTypeDef
- ListWavesResponseTypeDef
- ListImportsResponseTypeDef
- StartImportResponseTypeDef
- SourceServerResponseTypeDef
- SourceServerTypeDef
- PostLaunchActionsStatusTypeDef
- LaunchConfigurationTemplateResponseTypeDef
- LaunchConfigurationTemplateTypeDef
- LaunchConfigurationTypeDef
- PostLaunchActionsTypeDef
- DescribeSourceServersResponseTypeDef
- ParticipatingServerTypeDef
- DescribeLaunchConfigurationTemplatesResponseTypeDef
- CreateLaunchConfigurationTemplateRequestRequestTypeDef
- UpdateLaunchConfigurationRequestRequestTypeDef
- UpdateLaunchConfigurationTemplateRequestRequestTypeDef
- JobTypeDef
- DescribeJobsResponseTypeDef
- StartCutoverResponseTypeDef
- StartTestResponseTypeDef
- TerminateTargetInstancesResponseTypeDef