mgnClient
Auto-generated documentation for mgn type annotations stubs module mypy-boto3-mgn.
mgnClient
Type annotations and code completion for boto3.client("mgn")
.
boto3 documentation
from boto3.session import Session
from mypy_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.
client = boto3.client("mgn")
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)
from mypy_boto3_mgn.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods
archive_application
Archive application.
Type annotations and code completion for boto3.client("mgn").archive_application
method.
boto3 documentation
def archive_application(
self,
*,
applicationID: str,
) -> ApplicationResponseMetadataTypeDef: # (1)
...
kwargs: ArchiveApplicationRequestRequestTypeDef = { # (1)
"applicationID": ...,
}
parent.archive_application(**kwargs)
archive_wave
Archive wave.
Type annotations and code completion for boto3.client("mgn").archive_wave
method.
boto3 documentation
def archive_wave(
self,
*,
waveID: str,
) -> WaveResponseMetadataTypeDef: # (1)
...
kwargs: ArchiveWaveRequestRequestTypeDef = { # (1)
"waveID": ...,
}
parent.archive_wave(**kwargs)
associate_applications
Associate applications to wave.
Type annotations and code completion for boto3.client("mgn").associate_applications
method.
boto3 documentation
def associate_applications(
self,
*,
applicationIDs: Sequence[str],
waveID: str,
) -> Dict[str, Any]:
...
kwargs: AssociateApplicationsRequestRequestTypeDef = { # (1)
"applicationIDs": ...,
"waveID": ...,
}
parent.associate_applications(**kwargs)
associate_source_servers
Associate source servers to application.
Type annotations and code completion for boto3.client("mgn").associate_source_servers
method.
boto3 documentation
def associate_source_servers(
self,
*,
applicationID: str,
sourceServerIDs: Sequence[str],
) -> Dict[str, Any]:
...
kwargs: AssociateSourceServersRequestRequestTypeDef = { # (1)
"applicationID": ...,
"sourceServerIDs": ...,
}
parent.associate_source_servers(**kwargs)
can_paginate
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("mgn").can_paginate
method.
boto3 documentation
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
def change_server_life_cycle_state(
self,
*,
lifeCycle: ChangeServerLifeCycleStateSourceServerLifecycleTypeDef, # (1)
sourceServerID: str,
) -> SourceServerResponseMetadataTypeDef: # (2)
...
kwargs: ChangeServerLifeCycleStateRequestRequestTypeDef = { # (1)
"lifeCycle": ...,
"sourceServerID": ...,
}
parent.change_server_life_cycle_state(**kwargs)
close
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("mgn").close
method.
boto3 documentation
create_application
Create application.
Type annotations and code completion for boto3.client("mgn").create_application
method.
boto3 documentation
def create_application(
self,
*,
name: str,
description: str = ...,
tags: Mapping[str, str] = ...,
) -> ApplicationResponseMetadataTypeDef: # (1)
...
kwargs: CreateApplicationRequestRequestTypeDef = { # (1)
"name": ...,
}
parent.create_application(**kwargs)
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
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)
) -> LaunchConfigurationTemplateResponseMetadataTypeDef: # (8)
...
- See BootModeType
- See LaunchTemplateDiskConfTypeDef
- See LaunchDispositionType
- See LicensingTypeDef
- See PostLaunchActionsTypeDef
- See LaunchTemplateDiskConfTypeDef
- See TargetInstanceTypeRightSizingMethodType
- See LaunchConfigurationTemplateResponseMetadataTypeDef
kwargs: CreateLaunchConfigurationTemplateRequestRequestTypeDef = { # (1)
"associatePublicIpAddress": ...,
}
parent.create_launch_configuration_template(**kwargs)
create_replication_configuration_template
Creates a new ReplicationConfigurationTemplate.
Type annotations and code completion for boto3.client("mgn").create_replication_configuration_template
method.
boto3 documentation
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] = ...,
) -> ReplicationConfigurationTemplateResponseMetadataTypeDef: # (4)
...
- See ReplicationConfigurationDataPlaneRoutingType
- See ReplicationConfigurationDefaultLargeStagingDiskTypeType
- See ReplicationConfigurationEbsEncryptionType
- See ReplicationConfigurationTemplateResponseMetadataTypeDef
kwargs: CreateReplicationConfigurationTemplateRequestRequestTypeDef = { # (1)
"associateDefaultSecurityGroup": ...,
"bandwidthThrottling": ...,
"createPublicIP": ...,
"dataPlaneRouting": ...,
"defaultLargeStagingDiskType": ...,
"ebsEncryption": ...,
"replicationServerInstanceType": ...,
"replicationServersSecurityGroupsIDs": ...,
"stagingAreaSubnetId": ...,
"stagingAreaTags": ...,
"useDedicatedReplicationServer": ...,
}
parent.create_replication_configuration_template(**kwargs)
create_wave
Create wave.
Type annotations and code completion for boto3.client("mgn").create_wave
method.
boto3 documentation
def create_wave(
self,
*,
name: str,
description: str = ...,
tags: Mapping[str, str] = ...,
) -> WaveResponseMetadataTypeDef: # (1)
...
kwargs: CreateWaveRequestRequestTypeDef = { # (1)
"name": ...,
}
parent.create_wave(**kwargs)
delete_application
Delete application.
Type annotations and code completion for boto3.client("mgn").delete_application
method.
boto3 documentation
kwargs: DeleteApplicationRequestRequestTypeDef = { # (1)
"applicationID": ...,
}
parent.delete_application(**kwargs)
delete_job
Deletes a single Job by ID.
Type annotations and code completion for boto3.client("mgn").delete_job
method.
boto3 documentation
kwargs: DeleteJobRequestRequestTypeDef = { # (1)
"jobID": ...,
}
parent.delete_job(**kwargs)
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
def delete_launch_configuration_template(
self,
*,
launchConfigurationTemplateID: str,
) -> Dict[str, Any]:
...
kwargs: DeleteLaunchConfigurationTemplateRequestRequestTypeDef = { # (1)
"launchConfigurationTemplateID": ...,
}
parent.delete_launch_configuration_template(**kwargs)
delete_replication_configuration_template
Deletes a single Replication Configuration Template by ID See also: AWS API Documentation.
Type annotations and code completion for boto3.client("mgn").delete_replication_configuration_template
method.
boto3 documentation
def delete_replication_configuration_template(
self,
*,
replicationConfigurationTemplateID: str,
) -> Dict[str, Any]:
...
kwargs: DeleteReplicationConfigurationTemplateRequestRequestTypeDef = { # (1)
"replicationConfigurationTemplateID": ...,
}
parent.delete_replication_configuration_template(**kwargs)
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
kwargs: DeleteSourceServerRequestRequestTypeDef = { # (1)
"sourceServerID": ...,
}
parent.delete_source_server(**kwargs)
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
def delete_vcenter_client(
self,
*,
vcenterClientID: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: DeleteVcenterClientRequestRequestTypeDef = { # (1)
"vcenterClientID": ...,
}
parent.delete_vcenter_client(**kwargs)
delete_wave
Delete wave.
Type annotations and code completion for boto3.client("mgn").delete_wave
method.
boto3 documentation
kwargs: DeleteWaveRequestRequestTypeDef = { # (1)
"waveID": ...,
}
parent.delete_wave(**kwargs)
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
def describe_job_log_items(
self,
*,
jobID: str,
maxResults: int = ...,
nextToken: str = ...,
) -> DescribeJobLogItemsResponseTypeDef: # (1)
...
kwargs: DescribeJobLogItemsRequestRequestTypeDef = { # (1)
"jobID": ...,
}
parent.describe_job_log_items(**kwargs)
describe_jobs
Returns a list of Jobs.
Type annotations and code completion for boto3.client("mgn").describe_jobs
method.
boto3 documentation
def describe_jobs(
self,
*,
filters: DescribeJobsRequestFiltersTypeDef = ..., # (1)
maxResults: int = ...,
nextToken: str = ...,
) -> DescribeJobsResponseTypeDef: # (2)
...
kwargs: DescribeJobsRequestRequestTypeDef = { # (1)
"filters": ...,
}
parent.describe_jobs(**kwargs)
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 boto3.client("mgn").describe_launch_configuration_templates
method.
boto3 documentation
def describe_launch_configuration_templates(
self,
*,
launchConfigurationTemplateIDs: Sequence[str] = ...,
maxResults: int = ...,
nextToken: str = ...,
) -> DescribeLaunchConfigurationTemplatesResponseTypeDef: # (1)
...
kwargs: DescribeLaunchConfigurationTemplatesRequestRequestTypeDef = { # (1)
"launchConfigurationTemplateIDs": ...,
}
parent.describe_launch_configuration_templates(**kwargs)
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
def describe_replication_configuration_templates(
self,
*,
maxResults: int = ...,
nextToken: str = ...,
replicationConfigurationTemplateIDs: Sequence[str] = ...,
) -> DescribeReplicationConfigurationTemplatesResponseTypeDef: # (1)
...
kwargs: DescribeReplicationConfigurationTemplatesRequestRequestTypeDef = { # (1)
"maxResults": ...,
}
parent.describe_replication_configuration_templates(**kwargs)
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
def describe_source_servers(
self,
*,
filters: DescribeSourceServersRequestFiltersTypeDef = ..., # (1)
maxResults: int = ...,
nextToken: str = ...,
) -> DescribeSourceServersResponseTypeDef: # (2)
...
kwargs: DescribeSourceServersRequestRequestTypeDef = { # (1)
"filters": ...,
}
parent.describe_source_servers(**kwargs)
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
def describe_vcenter_clients(
self,
*,
maxResults: int = ...,
nextToken: str = ...,
) -> DescribeVcenterClientsResponseTypeDef: # (1)
...
kwargs: DescribeVcenterClientsRequestRequestTypeDef = { # (1)
"maxResults": ...,
}
parent.describe_vcenter_clients(**kwargs)
disassociate_applications
Disassociate applications from wave.
Type annotations and code completion for boto3.client("mgn").disassociate_applications
method.
boto3 documentation
def disassociate_applications(
self,
*,
applicationIDs: Sequence[str],
waveID: str,
) -> Dict[str, Any]:
...
kwargs: DisassociateApplicationsRequestRequestTypeDef = { # (1)
"applicationIDs": ...,
"waveID": ...,
}
parent.disassociate_applications(**kwargs)
disassociate_source_servers
Disassociate source servers from application.
Type annotations and code completion for boto3.client("mgn").disassociate_source_servers
method.
boto3 documentation
def disassociate_source_servers(
self,
*,
applicationID: str,
sourceServerIDs: Sequence[str],
) -> Dict[str, Any]:
...
kwargs: DisassociateSourceServersRequestRequestTypeDef = { # (1)
"applicationID": ...,
"sourceServerIDs": ...,
}
parent.disassociate_source_servers(**kwargs)
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
def disconnect_from_service(
self,
*,
sourceServerID: str,
) -> SourceServerResponseMetadataTypeDef: # (1)
...
kwargs: DisconnectFromServiceRequestRequestTypeDef = { # (1)
"sourceServerID": ...,
}
parent.disconnect_from_service(**kwargs)
finalize_cutover
Finalizes the cutover immediately for specific Source Servers.
Type annotations and code completion for boto3.client("mgn").finalize_cutover
method.
boto3 documentation
def finalize_cutover(
self,
*,
sourceServerID: str,
) -> SourceServerResponseMetadataTypeDef: # (1)
...
kwargs: FinalizeCutoverRequestRequestTypeDef = { # (1)
"sourceServerID": ...,
}
parent.finalize_cutover(**kwargs)
generate_presigned_url
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("mgn").generate_presigned_url
method.
boto3 documentation
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 boto3.client("mgn").get_launch_configuration
method.
boto3 documentation
def get_launch_configuration(
self,
*,
sourceServerID: str,
) -> LaunchConfigurationTypeDef: # (1)
...
kwargs: GetLaunchConfigurationRequestRequestTypeDef = { # (1)
"sourceServerID": ...,
}
parent.get_launch_configuration(**kwargs)
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
def get_replication_configuration(
self,
*,
sourceServerID: str,
) -> ReplicationConfigurationTypeDef: # (1)
...
kwargs: GetReplicationConfigurationRequestRequestTypeDef = { # (1)
"sourceServerID": ...,
}
parent.get_replication_configuration(**kwargs)
initialize_service
Initialize Application Migration Service.
Type annotations and code completion for boto3.client("mgn").initialize_service
method.
boto3 documentation
list_applications
Retrieves all applications or multiple applications by ID.
Type annotations and code completion for boto3.client("mgn").list_applications
method.
boto3 documentation
def list_applications(
self,
*,
filters: ListApplicationsRequestFiltersTypeDef = ..., # (1)
maxResults: int = ...,
nextToken: str = ...,
) -> ListApplicationsResponseTypeDef: # (2)
...
kwargs: ListApplicationsRequestRequestTypeDef = { # (1)
"filters": ...,
}
parent.list_applications(**kwargs)
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
def list_source_server_actions(
self,
*,
sourceServerID: str,
filters: SourceServerActionsRequestFiltersTypeDef = ..., # (1)
maxResults: int = ...,
nextToken: str = ...,
) -> ListSourceServerActionsResponseTypeDef: # (2)
...
kwargs: ListSourceServerActionsRequestRequestTypeDef = { # (1)
"sourceServerID": ...,
}
parent.list_source_server_actions(**kwargs)
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
def list_tags_for_resource(
self,
*,
resourceArn: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
list_template_actions
List template post migration custom actions.
Type annotations and code completion for boto3.client("mgn").list_template_actions
method.
boto3 documentation
def list_template_actions(
self,
*,
launchConfigurationTemplateID: str,
filters: TemplateActionsRequestFiltersTypeDef = ..., # (1)
maxResults: int = ...,
nextToken: str = ...,
) -> ListTemplateActionsResponseTypeDef: # (2)
...
kwargs: ListTemplateActionsRequestRequestTypeDef = { # (1)
"launchConfigurationTemplateID": ...,
}
parent.list_template_actions(**kwargs)
list_waves
Retrieves all waves or multiple waves by ID.
Type annotations and code completion for boto3.client("mgn").list_waves
method.
boto3 documentation
def list_waves(
self,
*,
filters: ListWavesRequestFiltersTypeDef = ..., # (1)
maxResults: int = ...,
nextToken: str = ...,
) -> ListWavesResponseTypeDef: # (2)
...
kwargs: ListWavesRequestRequestTypeDef = { # (1)
"filters": ...,
}
parent.list_waves(**kwargs)
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
def mark_as_archived(
self,
*,
sourceServerID: str,
) -> SourceServerResponseMetadataTypeDef: # (1)
...
kwargs: MarkAsArchivedRequestRequestTypeDef = { # (1)
"sourceServerID": ...,
}
parent.mark_as_archived(**kwargs)
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
def put_source_server_action(
self,
*,
actionID: str,
actionName: str,
documentIdentifier: str,
order: int,
sourceServerID: str,
active: bool = ...,
documentVersion: str = ...,
mustSucceedForCutover: bool = ...,
parameters: Mapping[str, Sequence[SsmParameterStoreParameterTypeDef]] = ..., # (1)
timeoutSeconds: int = ...,
) -> SourceServerActionDocumentResponseMetadataTypeDef: # (2)
...
kwargs: PutSourceServerActionRequestRequestTypeDef = { # (1)
"actionID": ...,
"actionName": ...,
"documentIdentifier": ...,
"order": ...,
"sourceServerID": ...,
}
parent.put_source_server_action(**kwargs)
put_template_action
Put template post migration custom action.
Type annotations and code completion for boto3.client("mgn").put_template_action
method.
boto3 documentation
def put_template_action(
self,
*,
actionID: str,
actionName: str,
documentIdentifier: str,
launchConfigurationTemplateID: str,
order: int,
active: bool = ...,
documentVersion: str = ...,
mustSucceedForCutover: bool = ...,
operatingSystem: str = ...,
parameters: Mapping[str, Sequence[SsmParameterStoreParameterTypeDef]] = ..., # (1)
timeoutSeconds: int = ...,
) -> TemplateActionDocumentResponseMetadataTypeDef: # (2)
...
kwargs: PutTemplateActionRequestRequestTypeDef = { # (1)
"actionID": ...,
"actionName": ...,
"documentIdentifier": ...,
"launchConfigurationTemplateID": ...,
"order": ...,
}
parent.put_template_action(**kwargs)
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
def remove_source_server_action(
self,
*,
actionID: str,
sourceServerID: str,
) -> Dict[str, Any]:
...
kwargs: RemoveSourceServerActionRequestRequestTypeDef = { # (1)
"actionID": ...,
"sourceServerID": ...,
}
parent.remove_source_server_action(**kwargs)
remove_template_action
Remove template post migration custom action.
Type annotations and code completion for boto3.client("mgn").remove_template_action
method.
boto3 documentation
def remove_template_action(
self,
*,
actionID: str,
launchConfigurationTemplateID: str,
) -> Dict[str, Any]:
...
kwargs: RemoveTemplateActionRequestRequestTypeDef = { # (1)
"actionID": ...,
"launchConfigurationTemplateID": ...,
}
parent.remove_template_action(**kwargs)
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
def retry_data_replication(
self,
*,
sourceServerID: str,
) -> SourceServerResponseMetadataTypeDef: # (1)
...
kwargs: RetryDataReplicationRequestRequestTypeDef = { # (1)
"sourceServerID": ...,
}
parent.retry_data_replication(**kwargs)
start_cutover
Launches a Cutover Instance for specific Source Servers.
Type annotations and code completion for boto3.client("mgn").start_cutover
method.
boto3 documentation
def start_cutover(
self,
*,
sourceServerIDs: Sequence[str],
tags: Mapping[str, str] = ...,
) -> StartCutoverResponseTypeDef: # (1)
...
kwargs: StartCutoverRequestRequestTypeDef = { # (1)
"sourceServerIDs": ...,
}
parent.start_cutover(**kwargs)
start_replication
Starts replication for SNAPSHOT_SHIPPING agents.
Type annotations and code completion for boto3.client("mgn").start_replication
method.
boto3 documentation
def start_replication(
self,
*,
sourceServerID: str,
) -> SourceServerResponseMetadataTypeDef: # (1)
...
kwargs: StartReplicationRequestRequestTypeDef = { # (1)
"sourceServerID": ...,
}
parent.start_replication(**kwargs)
start_test
Launches a Test Instance for specific Source Servers.
Type annotations and code completion for boto3.client("mgn").start_test
method.
boto3 documentation
def start_test(
self,
*,
sourceServerIDs: Sequence[str],
tags: Mapping[str, str] = ...,
) -> StartTestResponseTypeDef: # (1)
...
kwargs: StartTestRequestRequestTypeDef = { # (1)
"sourceServerIDs": ...,
}
parent.start_test(**kwargs)
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
def tag_resource(
self,
*,
resourceArn: str,
tags: Mapping[str, str],
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
"tags": ...,
}
parent.tag_resource(**kwargs)
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
def terminate_target_instances(
self,
*,
sourceServerIDs: Sequence[str],
tags: Mapping[str, str] = ...,
) -> TerminateTargetInstancesResponseTypeDef: # (1)
...
kwargs: TerminateTargetInstancesRequestRequestTypeDef = { # (1)
"sourceServerIDs": ...,
}
parent.terminate_target_instances(**kwargs)
unarchive_application
Unarchive application.
Type annotations and code completion for boto3.client("mgn").unarchive_application
method.
boto3 documentation
def unarchive_application(
self,
*,
applicationID: str,
) -> ApplicationResponseMetadataTypeDef: # (1)
...
kwargs: UnarchiveApplicationRequestRequestTypeDef = { # (1)
"applicationID": ...,
}
parent.unarchive_application(**kwargs)
unarchive_wave
Unarchive wave.
Type annotations and code completion for boto3.client("mgn").unarchive_wave
method.
boto3 documentation
def unarchive_wave(
self,
*,
waveID: str,
) -> WaveResponseMetadataTypeDef: # (1)
...
kwargs: UnarchiveWaveRequestRequestTypeDef = { # (1)
"waveID": ...,
}
parent.unarchive_wave(**kwargs)
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
def untag_resource(
self,
*,
resourceArn: str,
tagKeys: Sequence[str],
) -> EmptyResponseMetadataTypeDef: # (1)
...
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
"tagKeys": ...,
}
parent.untag_resource(**kwargs)
update_application
Update application.
Type annotations and code completion for boto3.client("mgn").update_application
method.
boto3 documentation
def update_application(
self,
*,
applicationID: str,
description: str = ...,
name: str = ...,
) -> ApplicationResponseMetadataTypeDef: # (1)
...
kwargs: UpdateApplicationRequestRequestTypeDef = { # (1)
"applicationID": ...,
}
parent.update_application(**kwargs)
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
def update_launch_configuration(
self,
*,
sourceServerID: 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)
...
- See BootModeType
- See LaunchDispositionType
- See LicensingTypeDef
- See PostLaunchActionsTypeDef
- See TargetInstanceTypeRightSizingMethodType
- See LaunchConfigurationTypeDef
kwargs: UpdateLaunchConfigurationRequestRequestTypeDef = { # (1)
"sourceServerID": ...,
}
parent.update_launch_configuration(**kwargs)
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
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)
) -> LaunchConfigurationTemplateResponseMetadataTypeDef: # (8)
...
- See BootModeType
- See LaunchTemplateDiskConfTypeDef
- See LaunchDispositionType
- See LicensingTypeDef
- See PostLaunchActionsTypeDef
- See LaunchTemplateDiskConfTypeDef
- See TargetInstanceTypeRightSizingMethodType
- See LaunchConfigurationTemplateResponseMetadataTypeDef
kwargs: UpdateLaunchConfigurationTemplateRequestRequestTypeDef = { # (1)
"launchConfigurationTemplateID": ...,
}
parent.update_launch_configuration_template(**kwargs)
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
def update_replication_configuration(
self,
*,
sourceServerID: 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 = ...,
) -> ReplicationConfigurationTypeDef: # (5)
...
- See ReplicationConfigurationDataPlaneRoutingType
- See ReplicationConfigurationDefaultLargeStagingDiskTypeType
- See ReplicationConfigurationEbsEncryptionType
- See ReplicationConfigurationReplicatedDiskTypeDef
- See ReplicationConfigurationTypeDef
kwargs: UpdateReplicationConfigurationRequestRequestTypeDef = { # (1)
"sourceServerID": ...,
}
parent.update_replication_configuration(**kwargs)
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
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 = ...,
) -> ReplicationConfigurationTemplateResponseMetadataTypeDef: # (4)
...
- See ReplicationConfigurationDataPlaneRoutingType
- See ReplicationConfigurationDefaultLargeStagingDiskTypeType
- See ReplicationConfigurationEbsEncryptionType
- See ReplicationConfigurationTemplateResponseMetadataTypeDef
kwargs: UpdateReplicationConfigurationTemplateRequestRequestTypeDef = { # (1)
"replicationConfigurationTemplateID": ...,
}
parent.update_replication_configuration_template(**kwargs)
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
def update_source_server_replication_type(
self,
*,
replicationType: ReplicationTypeType, # (1)
sourceServerID: str,
) -> SourceServerResponseMetadataTypeDef: # (2)
...
kwargs: UpdateSourceServerReplicationTypeRequestRequestTypeDef = { # (1)
"replicationType": ...,
"sourceServerID": ...,
}
parent.update_source_server_replication_type(**kwargs)
update_wave
Update wave.
Type annotations and code completion for boto3.client("mgn").update_wave
method.
boto3 documentation
def update_wave(
self,
*,
waveID: str,
description: str = ...,
name: str = ...,
) -> WaveResponseMetadataTypeDef: # (1)
...
kwargs: UpdateWaveRequestRequestTypeDef = { # (1)
"waveID": ...,
}
parent.update_wave(**kwargs)
get_paginator
Type annotations and code completion for boto3.client("mgn").get_paginator
method with overloads.
client.get_paginator("describe_job_log_items")
-> DescribeJobLogItemsPaginatorclient.get_paginator("describe_jobs")
-> DescribeJobsPaginatorclient.get_paginator("describe_launch_configuration_templates")
-> DescribeLaunchConfigurationTemplatesPaginatorclient.get_paginator("describe_replication_configuration_templates")
-> DescribeReplicationConfigurationTemplatesPaginatorclient.get_paginator("describe_source_servers")
-> DescribeSourceServersPaginatorclient.get_paginator("describe_vcenter_clients")
-> DescribeVcenterClientsPaginatorclient.get_paginator("list_applications")
-> ListApplicationsPaginatorclient.get_paginator("list_source_server_actions")
-> ListSourceServerActionsPaginatorclient.get_paginator("list_template_actions")
-> ListTemplateActionsPaginatorclient.get_paginator("list_waves")
-> ListWavesPaginator