Skip to content

MgnClient#

Index > Mgn > MgnClient

Auto-generated documentation for Mgn type annotations stubs module types-boto3-mgn.

MgnClient#

Type annotations and code completion for boto3.client("mgn"). boto3 documentation

# MgnClient usage example

from boto3.session import Session
from types_boto3_mgn.client import MgnClient

def get_mgn_client() -> MgnClient:
    return Session().client("mgn")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("mgn").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("mgn")

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.InternalServerException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ThrottlingException,
    client.exceptions.UninitializedAccountException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from types_boto3_mgn.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods#

can_paginate#

Type annotations and code completion for boto3.client("mgn").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

generate_presigned_url#

Type annotations and code completion for boto3.client("mgn").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

archive_application#

Archive application.

Type annotations and code completion for boto3.client("mgn").archive_application method. boto3 documentation

# archive_application method definition

def archive_application(
    self,
    *,
    applicationID: str,
    accountID: str = ...,
) -> ApplicationResponseTypeDef:  # (1)
    ...
  1. See ApplicationResponseTypeDef
# archive_application method usage example with argument unpacking

kwargs: ArchiveApplicationRequestRequestTypeDef = {  # (1)
    "applicationID": ...,
}

parent.archive_application(**kwargs)
  1. See ArchiveApplicationRequestRequestTypeDef

archive_wave#

Archive wave.

Type annotations and code completion for boto3.client("mgn").archive_wave method. boto3 documentation

# archive_wave method definition

def archive_wave(
    self,
    *,
    waveID: str,
    accountID: str = ...,
) -> WaveResponseTypeDef:  # (1)
    ...
  1. See WaveResponseTypeDef
# archive_wave method usage example with argument unpacking

kwargs: ArchiveWaveRequestRequestTypeDef = {  # (1)
    "waveID": ...,
}

parent.archive_wave(**kwargs)
  1. See ArchiveWaveRequestRequestTypeDef

associate_applications#

Associate applications to wave.

Type annotations and code completion for boto3.client("mgn").associate_applications method. boto3 documentation

# associate_applications method definition

def associate_applications(
    self,
    *,
    applicationIDs: Sequence[str],
    waveID: str,
    accountID: str = ...,
) -> dict[str, Any]:
    ...
# associate_applications method usage example with argument unpacking

kwargs: AssociateApplicationsRequestRequestTypeDef = {  # (1)
    "applicationIDs": ...,
    "waveID": ...,
}

parent.associate_applications(**kwargs)
  1. See AssociateApplicationsRequestRequestTypeDef

associate_source_servers#

Associate source servers to application.

Type annotations and code completion for boto3.client("mgn").associate_source_servers method. boto3 documentation

# associate_source_servers method definition

def associate_source_servers(
    self,
    *,
    applicationID: str,
    sourceServerIDs: Sequence[str],
    accountID: str = ...,
) -> dict[str, Any]:
    ...
# associate_source_servers method usage example with argument unpacking

kwargs: AssociateSourceServersRequestRequestTypeDef = {  # (1)
    "applicationID": ...,
    "sourceServerIDs": ...,
}

parent.associate_source_servers(**kwargs)
  1. See AssociateSourceServersRequestRequestTypeDef

change_server_life_cycle_state#

Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER.

Type annotations and code completion for boto3.client("mgn").change_server_life_cycle_state method. boto3 documentation

# change_server_life_cycle_state method definition

def change_server_life_cycle_state(
    self,
    *,
    lifeCycle: ChangeServerLifeCycleStateSourceServerLifecycleTypeDef,  # (1)
    sourceServerID: str,
    accountID: str = ...,
) -> SourceServerResponseTypeDef:  # (2)
    ...
  1. See ChangeServerLifeCycleStateSourceServerLifecycleTypeDef
  2. See SourceServerResponseTypeDef
# change_server_life_cycle_state method usage example with argument unpacking

kwargs: ChangeServerLifeCycleStateRequestRequestTypeDef = {  # (1)
    "lifeCycle": ...,
    "sourceServerID": ...,
}

parent.change_server_life_cycle_state(**kwargs)
  1. See ChangeServerLifeCycleStateRequestRequestTypeDef

create_application#

Create application.

Type annotations and code completion for boto3.client("mgn").create_application method. boto3 documentation

# create_application method definition

def create_application(
    self,
    *,
    name: str,
    accountID: str = ...,
    description: str = ...,
    tags: Mapping[str, str] = ...,
) -> ApplicationResponseTypeDef:  # (1)
    ...
  1. See ApplicationResponseTypeDef
# create_application method usage example with argument unpacking

kwargs: CreateApplicationRequestRequestTypeDef = {  # (1)
    "name": ...,
}

parent.create_application(**kwargs)
  1. See CreateApplicationRequestRequestTypeDef

create_connector#

Create Connector.

Type annotations and code completion for boto3.client("mgn").create_connector method. boto3 documentation

# create_connector method definition

def create_connector(
    self,
    *,
    name: str,
    ssmInstanceID: str,
    ssmCommandConfig: ConnectorSsmCommandConfigTypeDef = ...,  # (1)
    tags: Mapping[str, str] = ...,
) -> ConnectorResponseTypeDef:  # (2)
    ...
  1. See ConnectorSsmCommandConfigTypeDef
  2. See ConnectorResponseTypeDef
# create_connector method usage example with argument unpacking

kwargs: CreateConnectorRequestRequestTypeDef = {  # (1)
    "name": ...,
    "ssmInstanceID": ...,
}

parent.create_connector(**kwargs)
  1. See CreateConnectorRequestRequestTypeDef

create_launch_configuration_template#

Creates a new Launch Configuration Template.

Type annotations and code completion for boto3.client("mgn").create_launch_configuration_template method. boto3 documentation

# create_launch_configuration_template method definition

def create_launch_configuration_template(
    self,
    *,
    associatePublicIpAddress: bool = ...,
    bootMode: BootModeType = ...,  # (1)
    copyPrivateIp: bool = ...,
    copyTags: bool = ...,
    enableMapAutoTagging: bool = ...,
    largeVolumeConf: LaunchTemplateDiskConfTypeDef = ...,  # (2)
    launchDisposition: LaunchDispositionType = ...,  # (3)
    licensing: LicensingTypeDef = ...,  # (4)
    mapAutoTaggingMpeID: str = ...,
    postLaunchActions: PostLaunchActionsTypeDef = ...,  # (5)
    smallVolumeConf: LaunchTemplateDiskConfTypeDef = ...,  # (2)
    smallVolumeMaxSize: int = ...,
    tags: Mapping[str, str] = ...,
    targetInstanceTypeRightSizingMethod: TargetInstanceTypeRightSizingMethodType = ...,  # (7)
) -> LaunchConfigurationTemplateResponseTypeDef:  # (8)
    ...
  1. See BootModeType
  2. See LaunchTemplateDiskConfTypeDef
  3. See LaunchDispositionType
  4. See LicensingTypeDef
  5. See PostLaunchActionsTypeDef
  6. See LaunchTemplateDiskConfTypeDef
  7. See TargetInstanceTypeRightSizingMethodType
  8. See LaunchConfigurationTemplateResponseTypeDef
# create_launch_configuration_template method usage example with argument unpacking

kwargs: CreateLaunchConfigurationTemplateRequestRequestTypeDef = {  # (1)
    "associatePublicIpAddress": ...,
}

parent.create_launch_configuration_template(**kwargs)
  1. See CreateLaunchConfigurationTemplateRequestRequestTypeDef

create_replication_configuration_template#

Creates a new ReplicationConfigurationTemplate.

Type annotations and code completion for boto3.client("mgn").create_replication_configuration_template method. boto3 documentation

# create_replication_configuration_template method definition

def create_replication_configuration_template(
    self,
    *,
    associateDefaultSecurityGroup: bool,
    bandwidthThrottling: int,
    createPublicIP: bool,
    dataPlaneRouting: ReplicationConfigurationDataPlaneRoutingType,  # (1)
    defaultLargeStagingDiskType: ReplicationConfigurationDefaultLargeStagingDiskTypeType,  # (2)
    ebsEncryption: ReplicationConfigurationEbsEncryptionType,  # (3)
    replicationServerInstanceType: str,
    replicationServersSecurityGroupsIDs: Sequence[str],
    stagingAreaSubnetId: str,
    stagingAreaTags: Mapping[str, str],
    useDedicatedReplicationServer: bool,
    ebsEncryptionKeyArn: str = ...,
    tags: Mapping[str, str] = ...,
    useFipsEndpoint: bool = ...,
) -> ReplicationConfigurationTemplateResponseTypeDef:  # (4)
    ...
  1. See ReplicationConfigurationDataPlaneRoutingType
  2. See ReplicationConfigurationDefaultLargeStagingDiskTypeType
  3. See ReplicationConfigurationEbsEncryptionType
  4. See ReplicationConfigurationTemplateResponseTypeDef
# create_replication_configuration_template method usage example with argument unpacking

kwargs: CreateReplicationConfigurationTemplateRequestRequestTypeDef = {  # (1)
    "associateDefaultSecurityGroup": ...,
    "bandwidthThrottling": ...,
    "createPublicIP": ...,
    "dataPlaneRouting": ...,
    "defaultLargeStagingDiskType": ...,
    "ebsEncryption": ...,
    "replicationServerInstanceType": ...,
    "replicationServersSecurityGroupsIDs": ...,
    "stagingAreaSubnetId": ...,
    "stagingAreaTags": ...,
    "useDedicatedReplicationServer": ...,
}

parent.create_replication_configuration_template(**kwargs)
  1. See CreateReplicationConfigurationTemplateRequestRequestTypeDef

create_wave#

Create wave.

Type annotations and code completion for boto3.client("mgn").create_wave method. boto3 documentation

# create_wave method definition

def create_wave(
    self,
    *,
    name: str,
    accountID: str = ...,
    description: str = ...,
    tags: Mapping[str, str] = ...,
) -> WaveResponseTypeDef:  # (1)
    ...
  1. See WaveResponseTypeDef
# create_wave method usage example with argument unpacking

kwargs: CreateWaveRequestRequestTypeDef = {  # (1)
    "name": ...,
}

parent.create_wave(**kwargs)
  1. See CreateWaveRequestRequestTypeDef

delete_application#

Delete application.

Type annotations and code completion for boto3.client("mgn").delete_application method. boto3 documentation

# delete_application method definition

def delete_application(
    self,
    *,
    applicationID: str,
    accountID: str = ...,
) -> dict[str, Any]:
    ...
# delete_application method usage example with argument unpacking

kwargs: DeleteApplicationRequestRequestTypeDef = {  # (1)
    "applicationID": ...,
}

parent.delete_application(**kwargs)
  1. See DeleteApplicationRequestRequestTypeDef

delete_connector#

Delete Connector.

Type annotations and code completion for boto3.client("mgn").delete_connector method. boto3 documentation

# delete_connector method definition

def delete_connector(
    self,
    *,
    connectorID: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_connector method usage example with argument unpacking

kwargs: DeleteConnectorRequestRequestTypeDef = {  # (1)
    "connectorID": ...,
}

parent.delete_connector(**kwargs)
  1. See DeleteConnectorRequestRequestTypeDef

delete_job#

Deletes a single Job by ID.

Type annotations and code completion for boto3.client("mgn").delete_job method. boto3 documentation

# delete_job method definition

def delete_job(
    self,
    *,
    jobID: str,
    accountID: str = ...,
) -> dict[str, Any]:
    ...
# delete_job method usage example with argument unpacking

kwargs: DeleteJobRequestRequestTypeDef = {  # (1)
    "jobID": ...,
}

parent.delete_job(**kwargs)
  1. See DeleteJobRequestRequestTypeDef

delete_launch_configuration_template#

Deletes a single Launch Configuration Template by ID.

Type annotations and code completion for boto3.client("mgn").delete_launch_configuration_template method. boto3 documentation

# delete_launch_configuration_template method definition

def delete_launch_configuration_template(
    self,
    *,
    launchConfigurationTemplateID: str,
) -> dict[str, Any]:
    ...
# delete_launch_configuration_template method usage example with argument unpacking

kwargs: DeleteLaunchConfigurationTemplateRequestRequestTypeDef = {  # (1)
    "launchConfigurationTemplateID": ...,
}

parent.delete_launch_configuration_template(**kwargs)
  1. See DeleteLaunchConfigurationTemplateRequestRequestTypeDef

delete_replication_configuration_template#

Deletes a single Replication Configuration Template by ID.

Type annotations and code completion for boto3.client("mgn").delete_replication_configuration_template method. boto3 documentation

# delete_replication_configuration_template method definition

def delete_replication_configuration_template(
    self,
    *,
    replicationConfigurationTemplateID: str,
) -> dict[str, Any]:
    ...
# delete_replication_configuration_template method usage example with argument unpacking

kwargs: DeleteReplicationConfigurationTemplateRequestRequestTypeDef = {  # (1)
    "replicationConfigurationTemplateID": ...,
}

parent.delete_replication_configuration_template(**kwargs)
  1. See DeleteReplicationConfigurationTemplateRequestRequestTypeDef

delete_source_server#

Deletes a single source server by ID.

Type annotations and code completion for boto3.client("mgn").delete_source_server method. boto3 documentation

# delete_source_server method definition

def delete_source_server(
    self,
    *,
    sourceServerID: str,
    accountID: str = ...,
) -> dict[str, Any]:
    ...
# delete_source_server method usage example with argument unpacking

kwargs: DeleteSourceServerRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.delete_source_server(**kwargs)
  1. See DeleteSourceServerRequestRequestTypeDef

delete_vcenter_client#

Deletes a given vCenter client by ID.

Type annotations and code completion for boto3.client("mgn").delete_vcenter_client method. boto3 documentation

# delete_vcenter_client method definition

def delete_vcenter_client(
    self,
    *,
    vcenterClientID: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_vcenter_client method usage example with argument unpacking

kwargs: DeleteVcenterClientRequestRequestTypeDef = {  # (1)
    "vcenterClientID": ...,
}

parent.delete_vcenter_client(**kwargs)
  1. See DeleteVcenterClientRequestRequestTypeDef

delete_wave#

Delete wave.

Type annotations and code completion for boto3.client("mgn").delete_wave method. boto3 documentation

# delete_wave method definition

def delete_wave(
    self,
    *,
    waveID: str,
    accountID: str = ...,
) -> dict[str, Any]:
    ...
# delete_wave method usage example with argument unpacking

kwargs: DeleteWaveRequestRequestTypeDef = {  # (1)
    "waveID": ...,
}

parent.delete_wave(**kwargs)
  1. See DeleteWaveRequestRequestTypeDef

describe_job_log_items#

Retrieves detailed job log items with paging.

Type annotations and code completion for boto3.client("mgn").describe_job_log_items method. boto3 documentation

# describe_job_log_items method definition

def describe_job_log_items(
    self,
    *,
    jobID: str,
    accountID: str = ...,
    maxResults: int = ...,
    nextToken: str = ...,
) -> DescribeJobLogItemsResponseTypeDef:  # (1)
    ...
  1. See DescribeJobLogItemsResponseTypeDef
# describe_job_log_items method usage example with argument unpacking

kwargs: DescribeJobLogItemsRequestRequestTypeDef = {  # (1)
    "jobID": ...,
}

parent.describe_job_log_items(**kwargs)
  1. See DescribeJobLogItemsRequestRequestTypeDef

describe_jobs#

Returns a list of Jobs.

Type annotations and code completion for boto3.client("mgn").describe_jobs method. boto3 documentation

# describe_jobs method definition

def describe_jobs(
    self,
    *,
    accountID: str = ...,
    filters: DescribeJobsRequestFiltersTypeDef = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> DescribeJobsResponseTypeDef:  # (2)
    ...
  1. See DescribeJobsRequestFiltersTypeDef
  2. See DescribeJobsResponseTypeDef
# describe_jobs method usage example with argument unpacking

kwargs: DescribeJobsRequestRequestTypeDef = {  # (1)
    "accountID": ...,
}

parent.describe_jobs(**kwargs)
  1. See DescribeJobsRequestRequestTypeDef

describe_launch_configuration_templates#

Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs.

Type annotations and code completion for boto3.client("mgn").describe_launch_configuration_templates method. boto3 documentation

# describe_launch_configuration_templates method definition

def describe_launch_configuration_templates(
    self,
    *,
    launchConfigurationTemplateIDs: Sequence[str] = ...,
    maxResults: int = ...,
    nextToken: str = ...,
) -> DescribeLaunchConfigurationTemplatesResponseTypeDef:  # (1)
    ...
  1. See DescribeLaunchConfigurationTemplatesResponseTypeDef
# describe_launch_configuration_templates method usage example with argument unpacking

kwargs: DescribeLaunchConfigurationTemplatesRequestRequestTypeDef = {  # (1)
    "launchConfigurationTemplateIDs": ...,
}

parent.describe_launch_configuration_templates(**kwargs)
  1. See DescribeLaunchConfigurationTemplatesRequestRequestTypeDef

describe_replication_configuration_templates#

Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.

Type annotations and code completion for boto3.client("mgn").describe_replication_configuration_templates method. boto3 documentation

# describe_replication_configuration_templates method definition

def describe_replication_configuration_templates(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
    replicationConfigurationTemplateIDs: Sequence[str] = ...,
) -> DescribeReplicationConfigurationTemplatesResponseTypeDef:  # (1)
    ...
  1. See DescribeReplicationConfigurationTemplatesResponseTypeDef
# describe_replication_configuration_templates method usage example with argument unpacking

kwargs: DescribeReplicationConfigurationTemplatesRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.describe_replication_configuration_templates(**kwargs)
  1. See DescribeReplicationConfigurationTemplatesRequestRequestTypeDef

describe_source_servers#

Retrieves all SourceServers or multiple SourceServers by ID.

Type annotations and code completion for boto3.client("mgn").describe_source_servers method. boto3 documentation

# describe_source_servers method definition

def describe_source_servers(
    self,
    *,
    accountID: str = ...,
    filters: DescribeSourceServersRequestFiltersTypeDef = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> DescribeSourceServersResponseTypeDef:  # (2)
    ...
  1. See DescribeSourceServersRequestFiltersTypeDef
  2. See DescribeSourceServersResponseTypeDef
# describe_source_servers method usage example with argument unpacking

kwargs: DescribeSourceServersRequestRequestTypeDef = {  # (1)
    "accountID": ...,
}

parent.describe_source_servers(**kwargs)
  1. See DescribeSourceServersRequestRequestTypeDef

describe_vcenter_clients#

Returns a list of the installed vCenter clients.

Type annotations and code completion for boto3.client("mgn").describe_vcenter_clients method. boto3 documentation

# describe_vcenter_clients method definition

def describe_vcenter_clients(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> DescribeVcenterClientsResponseTypeDef:  # (1)
    ...
  1. See DescribeVcenterClientsResponseTypeDef
# describe_vcenter_clients method usage example with argument unpacking

kwargs: DescribeVcenterClientsRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.describe_vcenter_clients(**kwargs)
  1. See DescribeVcenterClientsRequestRequestTypeDef

disassociate_applications#

Disassociate applications from wave.

Type annotations and code completion for boto3.client("mgn").disassociate_applications method. boto3 documentation

# disassociate_applications method definition

def disassociate_applications(
    self,
    *,
    applicationIDs: Sequence[str],
    waveID: str,
    accountID: str = ...,
) -> dict[str, Any]:
    ...
# disassociate_applications method usage example with argument unpacking

kwargs: DisassociateApplicationsRequestRequestTypeDef = {  # (1)
    "applicationIDs": ...,
    "waveID": ...,
}

parent.disassociate_applications(**kwargs)
  1. See DisassociateApplicationsRequestRequestTypeDef

disassociate_source_servers#

Disassociate source servers from application.

Type annotations and code completion for boto3.client("mgn").disassociate_source_servers method. boto3 documentation

# disassociate_source_servers method definition

def disassociate_source_servers(
    self,
    *,
    applicationID: str,
    sourceServerIDs: Sequence[str],
    accountID: str = ...,
) -> dict[str, Any]:
    ...
# disassociate_source_servers method usage example with argument unpacking

kwargs: DisassociateSourceServersRequestRequestTypeDef = {  # (1)
    "applicationID": ...,
    "sourceServerIDs": ...,
}

parent.disassociate_source_servers(**kwargs)
  1. See DisassociateSourceServersRequestRequestTypeDef

disconnect_from_service#

Disconnects specific Source Servers from Application Migration Service.

Type annotations and code completion for boto3.client("mgn").disconnect_from_service method. boto3 documentation

# disconnect_from_service method definition

def disconnect_from_service(
    self,
    *,
    sourceServerID: str,
    accountID: str = ...,
) -> SourceServerResponseTypeDef:  # (1)
    ...
  1. See SourceServerResponseTypeDef
# disconnect_from_service method usage example with argument unpacking

kwargs: DisconnectFromServiceRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.disconnect_from_service(**kwargs)
  1. See DisconnectFromServiceRequestRequestTypeDef

finalize_cutover#

Finalizes the cutover immediately for specific Source Servers.

Type annotations and code completion for boto3.client("mgn").finalize_cutover method. boto3 documentation

# finalize_cutover method definition

def finalize_cutover(
    self,
    *,
    sourceServerID: str,
    accountID: str = ...,
) -> SourceServerResponseTypeDef:  # (1)
    ...
  1. See SourceServerResponseTypeDef
# finalize_cutover method usage example with argument unpacking

kwargs: FinalizeCutoverRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.finalize_cutover(**kwargs)
  1. See FinalizeCutoverRequestRequestTypeDef

get_launch_configuration#

Lists all LaunchConfigurations available, filtered by Source Server IDs.

Type annotations and code completion for boto3.client("mgn").get_launch_configuration method. boto3 documentation

# get_launch_configuration method definition

def get_launch_configuration(
    self,
    *,
    sourceServerID: str,
    accountID: str = ...,
) -> LaunchConfigurationTypeDef:  # (1)
    ...
  1. See LaunchConfigurationTypeDef
# get_launch_configuration method usage example with argument unpacking

kwargs: GetLaunchConfigurationRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.get_launch_configuration(**kwargs)
  1. See GetLaunchConfigurationRequestRequestTypeDef

get_replication_configuration#

Lists all ReplicationConfigurations, filtered by Source Server ID.

Type annotations and code completion for boto3.client("mgn").get_replication_configuration method. boto3 documentation

# get_replication_configuration method definition

def get_replication_configuration(
    self,
    *,
    sourceServerID: str,
    accountID: str = ...,
) -> ReplicationConfigurationTypeDef:  # (1)
    ...
  1. See ReplicationConfigurationTypeDef
# get_replication_configuration method usage example with argument unpacking

kwargs: GetReplicationConfigurationRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.get_replication_configuration(**kwargs)
  1. See GetReplicationConfigurationRequestRequestTypeDef

initialize_service#

Initialize Application Migration Service.

Type annotations and code completion for boto3.client("mgn").initialize_service method. boto3 documentation

# initialize_service method definition

def initialize_service(
    self,
) -> dict[str, Any]:
    ...

list_applications#

Retrieves all applications or multiple applications by ID.

Type annotations and code completion for boto3.client("mgn").list_applications method. boto3 documentation

# list_applications method definition

def list_applications(
    self,
    *,
    accountID: str = ...,
    filters: ListApplicationsRequestFiltersTypeDef = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListApplicationsResponseTypeDef:  # (2)
    ...
  1. See ListApplicationsRequestFiltersTypeDef
  2. See ListApplicationsResponseTypeDef
# list_applications method usage example with argument unpacking

kwargs: ListApplicationsRequestRequestTypeDef = {  # (1)
    "accountID": ...,
}

parent.list_applications(**kwargs)
  1. See ListApplicationsRequestRequestTypeDef

list_connectors#

List Connectors.

Type annotations and code completion for boto3.client("mgn").list_connectors method. boto3 documentation

# list_connectors method definition

def list_connectors(
    self,
    *,
    filters: ListConnectorsRequestFiltersTypeDef = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListConnectorsResponseTypeDef:  # (2)
    ...
  1. See ListConnectorsRequestFiltersTypeDef
  2. See ListConnectorsResponseTypeDef
# list_connectors method usage example with argument unpacking

kwargs: ListConnectorsRequestRequestTypeDef = {  # (1)
    "filters": ...,
}

parent.list_connectors(**kwargs)
  1. See ListConnectorsRequestRequestTypeDef

list_export_errors#

List export errors.

Type annotations and code completion for boto3.client("mgn").list_export_errors method. boto3 documentation

# list_export_errors method definition

def list_export_errors(
    self,
    *,
    exportID: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListExportErrorsResponseTypeDef:  # (1)
    ...
  1. See ListExportErrorsResponseTypeDef
# list_export_errors method usage example with argument unpacking

kwargs: ListExportErrorsRequestRequestTypeDef = {  # (1)
    "exportID": ...,
}

parent.list_export_errors(**kwargs)
  1. See ListExportErrorsRequestRequestTypeDef

list_exports#

List exports.

Type annotations and code completion for boto3.client("mgn").list_exports method. boto3 documentation

# list_exports method definition

def list_exports(
    self,
    *,
    filters: ListExportsRequestFiltersTypeDef = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListExportsResponseTypeDef:  # (2)
    ...
  1. See ListExportsRequestFiltersTypeDef
  2. See ListExportsResponseTypeDef
# list_exports method usage example with argument unpacking

kwargs: ListExportsRequestRequestTypeDef = {  # (1)
    "filters": ...,
}

parent.list_exports(**kwargs)
  1. See ListExportsRequestRequestTypeDef

list_import_errors#

List import errors.

Type annotations and code completion for boto3.client("mgn").list_import_errors method. boto3 documentation

# list_import_errors method definition

def list_import_errors(
    self,
    *,
    importID: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListImportErrorsResponseTypeDef:  # (1)
    ...
  1. See ListImportErrorsResponseTypeDef
# list_import_errors method usage example with argument unpacking

kwargs: ListImportErrorsRequestRequestTypeDef = {  # (1)
    "importID": ...,
}

parent.list_import_errors(**kwargs)
  1. See ListImportErrorsRequestRequestTypeDef

list_imports#

List imports.

Type annotations and code completion for boto3.client("mgn").list_imports method. boto3 documentation

# list_imports method definition

def list_imports(
    self,
    *,
    filters: ListImportsRequestFiltersTypeDef = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListImportsResponseTypeDef:  # (2)
    ...
  1. See ListImportsRequestFiltersTypeDef
  2. See ListImportsResponseTypeDef
# list_imports method usage example with argument unpacking

kwargs: ListImportsRequestRequestTypeDef = {  # (1)
    "filters": ...,
}

parent.list_imports(**kwargs)
  1. See ListImportsRequestRequestTypeDef

list_managed_accounts#

List Managed Accounts.

Type annotations and code completion for boto3.client("mgn").list_managed_accounts method. boto3 documentation

# list_managed_accounts method definition

def list_managed_accounts(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListManagedAccountsResponseTypeDef:  # (1)
    ...
  1. See ListManagedAccountsResponseTypeDef
# list_managed_accounts method usage example with argument unpacking

kwargs: ListManagedAccountsRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_managed_accounts(**kwargs)
  1. See ListManagedAccountsRequestRequestTypeDef

list_source_server_actions#

List source server post migration custom actions.

Type annotations and code completion for boto3.client("mgn").list_source_server_actions method. boto3 documentation

# list_source_server_actions method definition

def list_source_server_actions(
    self,
    *,
    sourceServerID: str,
    accountID: str = ...,
    filters: SourceServerActionsRequestFiltersTypeDef = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListSourceServerActionsResponseTypeDef:  # (2)
    ...
  1. See SourceServerActionsRequestFiltersTypeDef
  2. See ListSourceServerActionsResponseTypeDef
# list_source_server_actions method usage example with argument unpacking

kwargs: ListSourceServerActionsRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.list_source_server_actions(**kwargs)
  1. See ListSourceServerActionsRequestRequestTypeDef

list_tags_for_resource#

List all tags for your Application Migration Service resources.

Type annotations and code completion for boto3.client("mgn").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

def list_tags_for_resource(
    self,
    *,
    resourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

list_template_actions#

List template post migration custom actions.

Type annotations and code completion for boto3.client("mgn").list_template_actions method. boto3 documentation

# list_template_actions method definition

def list_template_actions(
    self,
    *,
    launchConfigurationTemplateID: str,
    filters: TemplateActionsRequestFiltersTypeDef = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListTemplateActionsResponseTypeDef:  # (2)
    ...
  1. See TemplateActionsRequestFiltersTypeDef
  2. See ListTemplateActionsResponseTypeDef
# list_template_actions method usage example with argument unpacking

kwargs: ListTemplateActionsRequestRequestTypeDef = {  # (1)
    "launchConfigurationTemplateID": ...,
}

parent.list_template_actions(**kwargs)
  1. See ListTemplateActionsRequestRequestTypeDef

list_waves#

Retrieves all waves or multiple waves by ID.

Type annotations and code completion for boto3.client("mgn").list_waves method. boto3 documentation

# list_waves method definition

def list_waves(
    self,
    *,
    accountID: str = ...,
    filters: ListWavesRequestFiltersTypeDef = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListWavesResponseTypeDef:  # (2)
    ...
  1. See ListWavesRequestFiltersTypeDef
  2. See ListWavesResponseTypeDef
# list_waves method usage example with argument unpacking

kwargs: ListWavesRequestRequestTypeDef = {  # (1)
    "accountID": ...,
}

parent.list_waves(**kwargs)
  1. See ListWavesRequestRequestTypeDef

mark_as_archived#

Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified SourceServers by ID.

Type annotations and code completion for boto3.client("mgn").mark_as_archived method. boto3 documentation

# mark_as_archived method definition

def mark_as_archived(
    self,
    *,
    sourceServerID: str,
    accountID: str = ...,
) -> SourceServerResponseTypeDef:  # (1)
    ...
  1. See SourceServerResponseTypeDef
# mark_as_archived method usage example with argument unpacking

kwargs: MarkAsArchivedRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.mark_as_archived(**kwargs)
  1. See MarkAsArchivedRequestRequestTypeDef

pause_replication#

Pause Replication.

Type annotations and code completion for boto3.client("mgn").pause_replication method. boto3 documentation

# pause_replication method definition

def pause_replication(
    self,
    *,
    sourceServerID: str,
    accountID: str = ...,
) -> SourceServerResponseTypeDef:  # (1)
    ...
  1. See SourceServerResponseTypeDef
# pause_replication method usage example with argument unpacking

kwargs: PauseReplicationRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.pause_replication(**kwargs)
  1. See PauseReplicationRequestRequestTypeDef

put_source_server_action#

Put source server post migration custom action.

Type annotations and code completion for boto3.client("mgn").put_source_server_action method. boto3 documentation

# put_source_server_action method definition

def put_source_server_action(
    self,
    *,
    actionID: str,
    actionName: str,
    documentIdentifier: str,
    order: int,
    sourceServerID: str,
    accountID: str = ...,
    active: bool = ...,
    category: ActionCategoryType = ...,  # (1)
    description: str = ...,
    documentVersion: str = ...,
    externalParameters: Mapping[str, SsmExternalParameterTypeDef] = ...,  # (2)
    mustSucceedForCutover: bool = ...,
    parameters: Mapping[str, Sequence[SsmParameterStoreParameterTypeDef]] = ...,  # (3)
    timeoutSeconds: int = ...,
) -> SourceServerActionDocumentResponseTypeDef:  # (4)
    ...
  1. See ActionCategoryType
  2. See SsmExternalParameterTypeDef
  3. See SsmParameterStoreParameterTypeDef
  4. See SourceServerActionDocumentResponseTypeDef
# put_source_server_action method usage example with argument unpacking

kwargs: PutSourceServerActionRequestRequestTypeDef = {  # (1)
    "actionID": ...,
    "actionName": ...,
    "documentIdentifier": ...,
    "order": ...,
    "sourceServerID": ...,
}

parent.put_source_server_action(**kwargs)
  1. See PutSourceServerActionRequestRequestTypeDef

put_template_action#

Put template post migration custom action.

Type annotations and code completion for boto3.client("mgn").put_template_action method. boto3 documentation

# put_template_action method definition

def put_template_action(
    self,
    *,
    actionID: str,
    actionName: str,
    documentIdentifier: str,
    launchConfigurationTemplateID: str,
    order: int,
    active: bool = ...,
    category: ActionCategoryType = ...,  # (1)
    description: str = ...,
    documentVersion: str = ...,
    externalParameters: Mapping[str, SsmExternalParameterTypeDef] = ...,  # (2)
    mustSucceedForCutover: bool = ...,
    operatingSystem: str = ...,
    parameters: Mapping[str, Sequence[SsmParameterStoreParameterTypeDef]] = ...,  # (3)
    timeoutSeconds: int = ...,
) -> TemplateActionDocumentResponseTypeDef:  # (4)
    ...
  1. See ActionCategoryType
  2. See SsmExternalParameterTypeDef
  3. See SsmParameterStoreParameterTypeDef
  4. See TemplateActionDocumentResponseTypeDef
# put_template_action method usage example with argument unpacking

kwargs: PutTemplateActionRequestRequestTypeDef = {  # (1)
    "actionID": ...,
    "actionName": ...,
    "documentIdentifier": ...,
    "launchConfigurationTemplateID": ...,
    "order": ...,
}

parent.put_template_action(**kwargs)
  1. See PutTemplateActionRequestRequestTypeDef

remove_source_server_action#

Remove source server post migration custom action.

Type annotations and code completion for boto3.client("mgn").remove_source_server_action method. boto3 documentation

# remove_source_server_action method definition

def remove_source_server_action(
    self,
    *,
    actionID: str,
    sourceServerID: str,
    accountID: str = ...,
) -> dict[str, Any]:
    ...
# remove_source_server_action method usage example with argument unpacking

kwargs: RemoveSourceServerActionRequestRequestTypeDef = {  # (1)
    "actionID": ...,
    "sourceServerID": ...,
}

parent.remove_source_server_action(**kwargs)
  1. See RemoveSourceServerActionRequestRequestTypeDef

remove_template_action#

Remove template post migration custom action.

Type annotations and code completion for boto3.client("mgn").remove_template_action method. boto3 documentation

# remove_template_action method definition

def remove_template_action(
    self,
    *,
    actionID: str,
    launchConfigurationTemplateID: str,
) -> dict[str, Any]:
    ...
# remove_template_action method usage example with argument unpacking

kwargs: RemoveTemplateActionRequestRequestTypeDef = {  # (1)
    "actionID": ...,
    "launchConfigurationTemplateID": ...,
}

parent.remove_template_action(**kwargs)
  1. See RemoveTemplateActionRequestRequestTypeDef

resume_replication#

Resume Replication.

Type annotations and code completion for boto3.client("mgn").resume_replication method. boto3 documentation

# resume_replication method definition

def resume_replication(
    self,
    *,
    sourceServerID: str,
    accountID: str = ...,
) -> SourceServerResponseTypeDef:  # (1)
    ...
  1. See SourceServerResponseTypeDef
# resume_replication method usage example with argument unpacking

kwargs: ResumeReplicationRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.resume_replication(**kwargs)
  1. See ResumeReplicationRequestRequestTypeDef

retry_data_replication#

Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started.

Type annotations and code completion for boto3.client("mgn").retry_data_replication method. boto3 documentation

# retry_data_replication method definition

def retry_data_replication(
    self,
    *,
    sourceServerID: str,
    accountID: str = ...,
) -> SourceServerResponseTypeDef:  # (1)
    ...
  1. See SourceServerResponseTypeDef
# retry_data_replication method usage example with argument unpacking

kwargs: RetryDataReplicationRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.retry_data_replication(**kwargs)
  1. See RetryDataReplicationRequestRequestTypeDef

start_cutover#

Launches a Cutover Instance for specific Source Servers.

Type annotations and code completion for boto3.client("mgn").start_cutover method. boto3 documentation

# start_cutover method definition

def start_cutover(
    self,
    *,
    sourceServerIDs: Sequence[str],
    accountID: str = ...,
    tags: Mapping[str, str] = ...,
) -> StartCutoverResponseTypeDef:  # (1)
    ...
  1. See StartCutoverResponseTypeDef
# start_cutover method usage example with argument unpacking

kwargs: StartCutoverRequestRequestTypeDef = {  # (1)
    "sourceServerIDs": ...,
}

parent.start_cutover(**kwargs)
  1. See StartCutoverRequestRequestTypeDef

start_export#

Start export.

Type annotations and code completion for boto3.client("mgn").start_export method. boto3 documentation

# start_export method definition

def start_export(
    self,
    *,
    s3Bucket: str,
    s3Key: str,
    s3BucketOwner: str = ...,
) -> StartExportResponseTypeDef:  # (1)
    ...
  1. See StartExportResponseTypeDef
# start_export method usage example with argument unpacking

kwargs: StartExportRequestRequestTypeDef = {  # (1)
    "s3Bucket": ...,
    "s3Key": ...,
}

parent.start_export(**kwargs)
  1. See StartExportRequestRequestTypeDef

start_import#

Start import.

Type annotations and code completion for boto3.client("mgn").start_import method. boto3 documentation

# start_import method definition

def start_import(
    self,
    *,
    s3BucketSource: S3BucketSourceTypeDef,  # (1)
    clientToken: str = ...,
) -> StartImportResponseTypeDef:  # (2)
    ...
  1. See S3BucketSourceTypeDef
  2. See StartImportResponseTypeDef
# start_import method usage example with argument unpacking

kwargs: StartImportRequestRequestTypeDef = {  # (1)
    "s3BucketSource": ...,
}

parent.start_import(**kwargs)
  1. See StartImportRequestRequestTypeDef

start_replication#

Starts replication for SNAPSHOT_SHIPPING agents.

Type annotations and code completion for boto3.client("mgn").start_replication method. boto3 documentation

# start_replication method definition

def start_replication(
    self,
    *,
    sourceServerID: str,
    accountID: str = ...,
) -> SourceServerResponseTypeDef:  # (1)
    ...
  1. See SourceServerResponseTypeDef
# start_replication method usage example with argument unpacking

kwargs: StartReplicationRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.start_replication(**kwargs)
  1. See StartReplicationRequestRequestTypeDef

start_test#

Launches a Test Instance for specific Source Servers.

Type annotations and code completion for boto3.client("mgn").start_test method. boto3 documentation

# start_test method definition

def start_test(
    self,
    *,
    sourceServerIDs: Sequence[str],
    accountID: str = ...,
    tags: Mapping[str, str] = ...,
) -> StartTestResponseTypeDef:  # (1)
    ...
  1. See StartTestResponseTypeDef
# start_test method usage example with argument unpacking

kwargs: StartTestRequestRequestTypeDef = {  # (1)
    "sourceServerIDs": ...,
}

parent.start_test(**kwargs)
  1. See StartTestRequestRequestTypeDef

stop_replication#

Stop Replication.

Type annotations and code completion for boto3.client("mgn").stop_replication method. boto3 documentation

# stop_replication method definition

def stop_replication(
    self,
    *,
    sourceServerID: str,
    accountID: str = ...,
) -> SourceServerResponseTypeDef:  # (1)
    ...
  1. See SourceServerResponseTypeDef
# stop_replication method usage example with argument unpacking

kwargs: StopReplicationRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.stop_replication(**kwargs)
  1. See StopReplicationRequestRequestTypeDef

tag_resource#

Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources.

Type annotations and code completion for boto3.client("mgn").tag_resource method. boto3 documentation

# tag_resource method definition

def tag_resource(
    self,
    *,
    resourceArn: str,
    tags: Mapping[str, str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

terminate_target_instances#

Starts a job that terminates specific launched EC2 Test and Cutover instances.

Type annotations and code completion for boto3.client("mgn").terminate_target_instances method. boto3 documentation

# terminate_target_instances method definition

def terminate_target_instances(
    self,
    *,
    sourceServerIDs: Sequence[str],
    accountID: str = ...,
    tags: Mapping[str, str] = ...,
) -> TerminateTargetInstancesResponseTypeDef:  # (1)
    ...
  1. See TerminateTargetInstancesResponseTypeDef
# terminate_target_instances method usage example with argument unpacking

kwargs: TerminateTargetInstancesRequestRequestTypeDef = {  # (1)
    "sourceServerIDs": ...,
}

parent.terminate_target_instances(**kwargs)
  1. See TerminateTargetInstancesRequestRequestTypeDef

unarchive_application#

Unarchive application.

Type annotations and code completion for boto3.client("mgn").unarchive_application method. boto3 documentation

# unarchive_application method definition

def unarchive_application(
    self,
    *,
    applicationID: str,
    accountID: str = ...,
) -> ApplicationResponseTypeDef:  # (1)
    ...
  1. See ApplicationResponseTypeDef
# unarchive_application method usage example with argument unpacking

kwargs: UnarchiveApplicationRequestRequestTypeDef = {  # (1)
    "applicationID": ...,
}

parent.unarchive_application(**kwargs)
  1. See UnarchiveApplicationRequestRequestTypeDef

unarchive_wave#

Unarchive wave.

Type annotations and code completion for boto3.client("mgn").unarchive_wave method. boto3 documentation

# unarchive_wave method definition

def unarchive_wave(
    self,
    *,
    waveID: str,
    accountID: str = ...,
) -> WaveResponseTypeDef:  # (1)
    ...
  1. See WaveResponseTypeDef
# unarchive_wave method usage example with argument unpacking

kwargs: UnarchiveWaveRequestRequestTypeDef = {  # (1)
    "waveID": ...,
}

parent.unarchive_wave(**kwargs)
  1. See UnarchiveWaveRequestRequestTypeDef

untag_resource#

Deletes the specified set of tags from the specified set of Application Migration Service resources.

Type annotations and code completion for boto3.client("mgn").untag_resource method. boto3 documentation

# untag_resource method definition

def untag_resource(
    self,
    *,
    resourceArn: str,
    tagKeys: Sequence[str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

update_application#

Update application.

Type annotations and code completion for boto3.client("mgn").update_application method. boto3 documentation

# update_application method definition

def update_application(
    self,
    *,
    applicationID: str,
    accountID: str = ...,
    description: str = ...,
    name: str = ...,
) -> ApplicationResponseTypeDef:  # (1)
    ...
  1. See ApplicationResponseTypeDef
# update_application method usage example with argument unpacking

kwargs: UpdateApplicationRequestRequestTypeDef = {  # (1)
    "applicationID": ...,
}

parent.update_application(**kwargs)
  1. See UpdateApplicationRequestRequestTypeDef

update_connector#

Update Connector.

Type annotations and code completion for boto3.client("mgn").update_connector method. boto3 documentation

# update_connector method definition

def update_connector(
    self,
    *,
    connectorID: str,
    name: str = ...,
    ssmCommandConfig: ConnectorSsmCommandConfigTypeDef = ...,  # (1)
) -> ConnectorResponseTypeDef:  # (2)
    ...
  1. See ConnectorSsmCommandConfigTypeDef
  2. See ConnectorResponseTypeDef
# update_connector method usage example with argument unpacking

kwargs: UpdateConnectorRequestRequestTypeDef = {  # (1)
    "connectorID": ...,
}

parent.update_connector(**kwargs)
  1. See UpdateConnectorRequestRequestTypeDef

update_launch_configuration#

Updates multiple LaunchConfigurations by Source Server ID.

Type annotations and code completion for boto3.client("mgn").update_launch_configuration method. boto3 documentation

# update_launch_configuration method definition

def update_launch_configuration(
    self,
    *,
    sourceServerID: str,
    accountID: str = ...,
    bootMode: BootModeType = ...,  # (1)
    copyPrivateIp: bool = ...,
    copyTags: bool = ...,
    enableMapAutoTagging: bool = ...,
    launchDisposition: LaunchDispositionType = ...,  # (2)
    licensing: LicensingTypeDef = ...,  # (3)
    mapAutoTaggingMpeID: str = ...,
    name: str = ...,
    postLaunchActions: PostLaunchActionsTypeDef = ...,  # (4)
    targetInstanceTypeRightSizingMethod: TargetInstanceTypeRightSizingMethodType = ...,  # (5)
) -> LaunchConfigurationTypeDef:  # (6)
    ...
  1. See BootModeType
  2. See LaunchDispositionType
  3. See LicensingTypeDef
  4. See PostLaunchActionsTypeDef
  5. See TargetInstanceTypeRightSizingMethodType
  6. See LaunchConfigurationTypeDef
# update_launch_configuration method usage example with argument unpacking

kwargs: UpdateLaunchConfigurationRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.update_launch_configuration(**kwargs)
  1. See UpdateLaunchConfigurationRequestRequestTypeDef

update_launch_configuration_template#

Updates an existing Launch Configuration Template by ID.

Type annotations and code completion for boto3.client("mgn").update_launch_configuration_template method. boto3 documentation

# update_launch_configuration_template method definition

def update_launch_configuration_template(
    self,
    *,
    launchConfigurationTemplateID: str,
    associatePublicIpAddress: bool = ...,
    bootMode: BootModeType = ...,  # (1)
    copyPrivateIp: bool = ...,
    copyTags: bool = ...,
    enableMapAutoTagging: bool = ...,
    largeVolumeConf: LaunchTemplateDiskConfTypeDef = ...,  # (2)
    launchDisposition: LaunchDispositionType = ...,  # (3)
    licensing: LicensingTypeDef = ...,  # (4)
    mapAutoTaggingMpeID: str = ...,
    postLaunchActions: PostLaunchActionsTypeDef = ...,  # (5)
    smallVolumeConf: LaunchTemplateDiskConfTypeDef = ...,  # (2)
    smallVolumeMaxSize: int = ...,
    targetInstanceTypeRightSizingMethod: TargetInstanceTypeRightSizingMethodType = ...,  # (7)
) -> LaunchConfigurationTemplateResponseTypeDef:  # (8)
    ...
  1. See BootModeType
  2. See LaunchTemplateDiskConfTypeDef
  3. See LaunchDispositionType
  4. See LicensingTypeDef
  5. See PostLaunchActionsTypeDef
  6. See LaunchTemplateDiskConfTypeDef
  7. See TargetInstanceTypeRightSizingMethodType
  8. See LaunchConfigurationTemplateResponseTypeDef
# update_launch_configuration_template method usage example with argument unpacking

kwargs: UpdateLaunchConfigurationTemplateRequestRequestTypeDef = {  # (1)
    "launchConfigurationTemplateID": ...,
}

parent.update_launch_configuration_template(**kwargs)
  1. See UpdateLaunchConfigurationTemplateRequestRequestTypeDef

update_replication_configuration#

Allows you to update multiple ReplicationConfigurations by Source Server ID.

Type annotations and code completion for boto3.client("mgn").update_replication_configuration method. boto3 documentation

# update_replication_configuration method definition

def update_replication_configuration(
    self,
    *,
    sourceServerID: str,
    accountID: str = ...,
    associateDefaultSecurityGroup: bool = ...,
    bandwidthThrottling: int = ...,
    createPublicIP: bool = ...,
    dataPlaneRouting: ReplicationConfigurationDataPlaneRoutingType = ...,  # (1)
    defaultLargeStagingDiskType: ReplicationConfigurationDefaultLargeStagingDiskTypeType = ...,  # (2)
    ebsEncryption: ReplicationConfigurationEbsEncryptionType = ...,  # (3)
    ebsEncryptionKeyArn: str = ...,
    name: str = ...,
    replicatedDisks: Sequence[ReplicationConfigurationReplicatedDiskTypeDef] = ...,  # (4)
    replicationServerInstanceType: str = ...,
    replicationServersSecurityGroupsIDs: Sequence[str] = ...,
    stagingAreaSubnetId: str = ...,
    stagingAreaTags: Mapping[str, str] = ...,
    useDedicatedReplicationServer: bool = ...,
    useFipsEndpoint: bool = ...,
) -> ReplicationConfigurationTypeDef:  # (5)
    ...
  1. See ReplicationConfigurationDataPlaneRoutingType
  2. See ReplicationConfigurationDefaultLargeStagingDiskTypeType
  3. See ReplicationConfigurationEbsEncryptionType
  4. See ReplicationConfigurationReplicatedDiskTypeDef
  5. See ReplicationConfigurationTypeDef
# update_replication_configuration method usage example with argument unpacking

kwargs: UpdateReplicationConfigurationRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.update_replication_configuration(**kwargs)
  1. See UpdateReplicationConfigurationRequestRequestTypeDef

update_replication_configuration_template#

Updates multiple ReplicationConfigurationTemplates by ID.

Type annotations and code completion for boto3.client("mgn").update_replication_configuration_template method. boto3 documentation

# update_replication_configuration_template method definition

def update_replication_configuration_template(
    self,
    *,
    replicationConfigurationTemplateID: str,
    arn: str = ...,
    associateDefaultSecurityGroup: bool = ...,
    bandwidthThrottling: int = ...,
    createPublicIP: bool = ...,
    dataPlaneRouting: ReplicationConfigurationDataPlaneRoutingType = ...,  # (1)
    defaultLargeStagingDiskType: ReplicationConfigurationDefaultLargeStagingDiskTypeType = ...,  # (2)
    ebsEncryption: ReplicationConfigurationEbsEncryptionType = ...,  # (3)
    ebsEncryptionKeyArn: str = ...,
    replicationServerInstanceType: str = ...,
    replicationServersSecurityGroupsIDs: Sequence[str] = ...,
    stagingAreaSubnetId: str = ...,
    stagingAreaTags: Mapping[str, str] = ...,
    useDedicatedReplicationServer: bool = ...,
    useFipsEndpoint: bool = ...,
) -> ReplicationConfigurationTemplateResponseTypeDef:  # (4)
    ...
  1. See ReplicationConfigurationDataPlaneRoutingType
  2. See ReplicationConfigurationDefaultLargeStagingDiskTypeType
  3. See ReplicationConfigurationEbsEncryptionType
  4. See ReplicationConfigurationTemplateResponseTypeDef
# update_replication_configuration_template method usage example with argument unpacking

kwargs: UpdateReplicationConfigurationTemplateRequestRequestTypeDef = {  # (1)
    "replicationConfigurationTemplateID": ...,
}

parent.update_replication_configuration_template(**kwargs)
  1. See UpdateReplicationConfigurationTemplateRequestRequestTypeDef

update_source_server#

Update Source Server.

Type annotations and code completion for boto3.client("mgn").update_source_server method. boto3 documentation

# update_source_server method definition

def update_source_server(
    self,
    *,
    sourceServerID: str,
    accountID: str = ...,
    connectorAction: SourceServerConnectorActionTypeDef = ...,  # (1)
) -> SourceServerResponseTypeDef:  # (2)
    ...
  1. See SourceServerConnectorActionTypeDef
  2. See SourceServerResponseTypeDef
# update_source_server method usage example with argument unpacking

kwargs: UpdateSourceServerRequestRequestTypeDef = {  # (1)
    "sourceServerID": ...,
}

parent.update_source_server(**kwargs)
  1. See UpdateSourceServerRequestRequestTypeDef

update_source_server_replication_type#

Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.

Type annotations and code completion for boto3.client("mgn").update_source_server_replication_type method. boto3 documentation

# update_source_server_replication_type method definition

def update_source_server_replication_type(
    self,
    *,
    replicationType: ReplicationTypeType,  # (1)
    sourceServerID: str,
    accountID: str = ...,
) -> SourceServerResponseTypeDef:  # (2)
    ...
  1. See ReplicationTypeType
  2. See SourceServerResponseTypeDef
# update_source_server_replication_type method usage example with argument unpacking

kwargs: UpdateSourceServerReplicationTypeRequestRequestTypeDef = {  # (1)
    "replicationType": ...,
    "sourceServerID": ...,
}

parent.update_source_server_replication_type(**kwargs)
  1. See UpdateSourceServerReplicationTypeRequestRequestTypeDef

update_wave#

Update wave.

Type annotations and code completion for boto3.client("mgn").update_wave method. boto3 documentation

# update_wave method definition

def update_wave(
    self,
    *,
    waveID: str,
    accountID: str = ...,
    description: str = ...,
    name: str = ...,
) -> WaveResponseTypeDef:  # (1)
    ...
  1. See WaveResponseTypeDef
# update_wave method usage example with argument unpacking

kwargs: UpdateWaveRequestRequestTypeDef = {  # (1)
    "waveID": ...,
}

parent.update_wave(**kwargs)
  1. See UpdateWaveRequestRequestTypeDef

get_paginator#

Type annotations and code completion for boto3.client("mgn").get_paginator method with overloads.