Skip to content

mgnClient#

Index > mgn > mgnClient

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

mgnClient#

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

mgnClient usage example

from aiobotocore.session import get_session
from types_aiobotocore_mgn.client import mgnClient

session = get_session()
async with session.create_client("mgn") as client:
    client: mgnClient

Exceptions#

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

mgnClient.exceptions usage example

async with session.create_client("mgn") as client:
    try:
        do_something(client)
    except (
            client.AccessDeniedException,
        client.ClientError,
        client.ConflictException,
        client.InternalServerException,
        client.ResourceNotFoundException,
        client.ServiceQuotaExceededException,
        client.ThrottlingException,
        client.UninitializedAccountException,
        client.ValidationException,
    ) as e:
        print(e)
mgnClient usage type checking example

from types_aiobotocore_mgn.client import Exceptions

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

Methods#

archive_application#

Archive application.

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

# archive_application method definition

await 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 session.create_client("mgn").archive_wave method. boto3 documentation

# archive_wave method definition

await 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 session.create_client("mgn").associate_applications method. boto3 documentation

# associate_applications method definition

await 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 session.create_client("mgn").associate_source_servers method. boto3 documentation

# associate_source_servers method definition

await 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

can_paginate#

Check if an operation can be paginated.

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

# can_paginate method definition

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

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 session.create_client("mgn").change_server_life_cycle_state method. boto3 documentation

# change_server_life_cycle_state method definition

await 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

close#

Closes underlying endpoint connections.

Type annotations and code completion for session.create_client("mgn").close method. boto3 documentation

# close method definition

await def close(
    self,
) -> None:
    ...

create_application#

Create application.

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

# create_application method definition

await 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_launch_configuration_template#

Creates a new Launch Configuration Template.

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

# create_launch_configuration_template method definition

await 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 session.create_client("mgn").create_replication_configuration_template method. boto3 documentation

# create_replication_configuration_template method definition

await 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 session.create_client("mgn").create_wave method. boto3 documentation

# create_wave method definition

await 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 session.create_client("mgn").delete_application method. boto3 documentation

# delete_application method definition

await 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_job#

Deletes a single Job by ID.

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

# delete_job method definition

await 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 session.create_client("mgn").delete_launch_configuration_template method. boto3 documentation

# delete_launch_configuration_template method definition

await 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 See also: AWS API Documentation.

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

# delete_replication_configuration_template method definition

await 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 session.create_client("mgn").delete_source_server method. boto3 documentation

# delete_source_server method definition

await 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 session.create_client("mgn").delete_vcenter_client method. boto3 documentation

# delete_vcenter_client method definition

await 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 session.create_client("mgn").delete_wave method. boto3 documentation

# delete_wave method definition

await 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 session.create_client("mgn").describe_job_log_items method. boto3 documentation

# describe_job_log_items method definition

await 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 session.create_client("mgn").describe_jobs method. boto3 documentation

# describe_jobs method definition

await 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 See also: AWS API Documentation.

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

# describe_launch_configuration_templates method definition

await 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 session.create_client("mgn").describe_replication_configuration_templates method. boto3 documentation

# describe_replication_configuration_templates method definition

await 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 session.create_client("mgn").describe_source_servers method. boto3 documentation

# describe_source_servers method definition

await 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 session.create_client("mgn").describe_vcenter_clients method. boto3 documentation

# describe_vcenter_clients method definition

await 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 session.create_client("mgn").disassociate_applications method. boto3 documentation

# disassociate_applications method definition

await 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 session.create_client("mgn").disassociate_source_servers method. boto3 documentation

# disassociate_source_servers method definition

await 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 session.create_client("mgn").disconnect_from_service method. boto3 documentation

# disconnect_from_service method definition

await 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 session.create_client("mgn").finalize_cutover method. boto3 documentation

# finalize_cutover method definition

await 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

generate_presigned_url#

Generate a presigned url given a client, its method, and arguments.

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

# generate_presigned_url method definition

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

get_launch_configuration#

Lists all LaunchConfigurations available, filtered by Source Server IDs.

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

# get_launch_configuration method definition

await 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 session.create_client("mgn").get_replication_configuration method. boto3 documentation

# get_replication_configuration method definition

await 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 session.create_client("mgn").initialize_service method. boto3 documentation

# initialize_service method definition

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

list_applications#

Retrieves all applications or multiple applications by ID.

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

# list_applications method definition

await 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_export_errors#

List export errors.

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

# list_export_errors method definition

await 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 session.create_client("mgn").list_exports method. boto3 documentation

# list_exports method definition

await 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 session.create_client("mgn").list_import_errors method. boto3 documentation

# list_import_errors method definition

await 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 session.create_client("mgn").list_imports method. boto3 documentation

# list_imports method definition

await 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 session.create_client("mgn").list_managed_accounts method. boto3 documentation

# list_managed_accounts method definition

await 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 session.create_client("mgn").list_source_server_actions method. boto3 documentation

# list_source_server_actions method definition

await 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 session.create_client("mgn").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

await 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 session.create_client("mgn").list_template_actions method. boto3 documentation

# list_template_actions method definition

await 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 session.create_client("mgn").list_waves method. boto3 documentation

# list_waves method definition

await 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 session.create_client("mgn").mark_as_archived method. boto3 documentation

# mark_as_archived method definition

await 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 session.create_client("mgn").pause_replication method. boto3 documentation

# pause_replication method definition

await 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 session.create_client("mgn").put_source_server_action method. boto3 documentation

# put_source_server_action method definition

await 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 session.create_client("mgn").put_template_action method. boto3 documentation

# put_template_action method definition

await 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 session.create_client("mgn").remove_source_server_action method. boto3 documentation

# remove_source_server_action method definition

await 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 session.create_client("mgn").remove_template_action method. boto3 documentation

# remove_template_action method definition

await 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 session.create_client("mgn").resume_replication method. boto3 documentation

# resume_replication method definition

await 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 session.create_client("mgn").retry_data_replication method. boto3 documentation

# retry_data_replication method definition

await 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 session.create_client("mgn").start_cutover method. boto3 documentation

# start_cutover method definition

await 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 session.create_client("mgn").start_export method. boto3 documentation

# start_export method definition

await 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 session.create_client("mgn").start_import method. boto3 documentation

# start_import method definition

await 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 session.create_client("mgn").start_replication method. boto3 documentation

# start_replication method definition

await 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 session.create_client("mgn").start_test method. boto3 documentation

# start_test method definition

await 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 session.create_client("mgn").stop_replication method. boto3 documentation

# stop_replication method definition

await 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 session.create_client("mgn").tag_resource method. boto3 documentation

# tag_resource method definition

await 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 session.create_client("mgn").terminate_target_instances method. boto3 documentation

# terminate_target_instances method definition

await 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 session.create_client("mgn").unarchive_application method. boto3 documentation

# unarchive_application method definition

await 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 session.create_client("mgn").unarchive_wave method. boto3 documentation

# unarchive_wave method definition

await 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 session.create_client("mgn").untag_resource method. boto3 documentation

# untag_resource method definition

await 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 session.create_client("mgn").update_application method. boto3 documentation

# update_application method definition

await 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_launch_configuration#

Updates multiple LaunchConfigurations by Source Server ID.

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

# update_launch_configuration method definition

await 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 session.create_client("mgn").update_launch_configuration_template method. boto3 documentation

# update_launch_configuration_template method definition

await 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 session.create_client("mgn").update_replication_configuration method. boto3 documentation

# update_replication_configuration method definition

await 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 session.create_client("mgn").update_replication_configuration_template method. boto3 documentation

# update_replication_configuration_template method definition

await 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_replication_type#

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

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

# update_source_server_replication_type method definition

await 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 session.create_client("mgn").update_wave method. boto3 documentation

# update_wave method definition

await 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

__aenter__#

Type annotations and code completion for session.create_client("mgn").__aenter__ method. boto3 documentation

# __aenter__ method definition

await def __aenter__(
    self,
) -> mgnClient:
    ...

__aexit__#

Type annotations and code completion for session.create_client("mgn").__aexit__ method. boto3 documentation

# __aexit__ method definition

await def __aexit__(
    self,
    exc_type: Any,
    exc_val: Any,
    exc_tb: Any,
) -> Any:
    ...

get_paginator#

Type annotations and code completion for session.create_client("mgn").get_paginator method with overloads.