Class: Aws::Mgn::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Mgn::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb
Overview
An API client for Mgn. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::Mgn::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#archive_application(params = {}) ⇒ Types::Application
Archive application.
-
#archive_wave(params = {}) ⇒ Types::Wave
Archive wave.
-
#associate_applications(params = {}) ⇒ Struct
Associate applications to wave.
-
#associate_source_servers(params = {}) ⇒ Struct
Associate source servers to application.
-
#change_server_life_cycle_state(params = {}) ⇒ Types::SourceServer
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.
-
#create_application(params = {}) ⇒ Types::Application
Create application.
-
#create_connector(params = {}) ⇒ Types::Connector
Create Connector.
-
#create_launch_configuration_template(params = {}) ⇒ Types::LaunchConfigurationTemplate
Creates a new Launch Configuration Template.
-
#create_replication_configuration_template(params = {}) ⇒ Types::ReplicationConfigurationTemplate
Creates a new ReplicationConfigurationTemplate.
-
#create_wave(params = {}) ⇒ Types::Wave
Create wave.
-
#delete_application(params = {}) ⇒ Struct
Delete application.
-
#delete_connector(params = {}) ⇒ Struct
Delete Connector.
-
#delete_job(params = {}) ⇒ Struct
Deletes a single Job by ID.
-
#delete_launch_configuration_template(params = {}) ⇒ Struct
Deletes a single Launch Configuration Template by ID.
-
#delete_replication_configuration_template(params = {}) ⇒ Struct
Deletes a single Replication Configuration Template by ID.
-
#delete_source_server(params = {}) ⇒ Struct
Deletes a single source server by ID.
-
#delete_vcenter_client(params = {}) ⇒ Struct
Deletes a given vCenter client by ID.
-
#delete_wave(params = {}) ⇒ Struct
Delete wave.
-
#describe_job_log_items(params = {}) ⇒ Types::DescribeJobLogItemsResponse
Retrieves detailed job log items with paging.
-
#describe_jobs(params = {}) ⇒ Types::DescribeJobsResponse
Returns a list of Jobs.
-
#describe_launch_configuration_templates(params = {}) ⇒ Types::DescribeLaunchConfigurationTemplatesResponse
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs.
-
#describe_replication_configuration_templates(params = {}) ⇒ Types::DescribeReplicationConfigurationTemplatesResponse
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
-
#describe_source_servers(params = {}) ⇒ Types::DescribeSourceServersResponse
Retrieves all SourceServers or multiple SourceServers by ID.
-
#describe_vcenter_clients(params = {}) ⇒ Types::DescribeVcenterClientsResponse
Returns a list of the installed vCenter clients.
-
#disassociate_applications(params = {}) ⇒ Struct
Disassociate applications from wave.
-
#disassociate_source_servers(params = {}) ⇒ Struct
Disassociate source servers from application.
-
#disconnect_from_service(params = {}) ⇒ Types::SourceServer
Disconnects specific Source Servers from Application Migration Service.
-
#finalize_cutover(params = {}) ⇒ Types::SourceServer
Finalizes the cutover immediately for specific Source Servers.
-
#get_launch_configuration(params = {}) ⇒ Types::LaunchConfiguration
Lists all LaunchConfigurations available, filtered by Source Server IDs.
-
#get_replication_configuration(params = {}) ⇒ Types::ReplicationConfiguration
Lists all ReplicationConfigurations, filtered by Source Server ID.
-
#initialize_service(params = {}) ⇒ Struct
Initialize Application Migration Service.
-
#list_applications(params = {}) ⇒ Types::ListApplicationsResponse
Retrieves all applications or multiple applications by ID.
-
#list_connectors(params = {}) ⇒ Types::ListConnectorsResponse
List Connectors.
-
#list_export_errors(params = {}) ⇒ Types::ListExportErrorsResponse
List export errors.
-
#list_exports(params = {}) ⇒ Types::ListExportsResponse
List exports.
-
#list_import_errors(params = {}) ⇒ Types::ListImportErrorsResponse
List import errors.
-
#list_imports(params = {}) ⇒ Types::ListImportsResponse
List imports.
-
#list_managed_accounts(params = {}) ⇒ Types::ListManagedAccountsResponse
List Managed Accounts.
-
#list_source_server_actions(params = {}) ⇒ Types::ListSourceServerActionsResponse
List source server post migration custom actions.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
List all tags for your Application Migration Service resources.
-
#list_template_actions(params = {}) ⇒ Types::ListTemplateActionsResponse
List template post migration custom actions.
-
#list_waves(params = {}) ⇒ Types::ListWavesResponse
Retrieves all waves or multiple waves by ID.
-
#mark_as_archived(params = {}) ⇒ Types::SourceServer
Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified SourceServers by ID.
-
#pause_replication(params = {}) ⇒ Types::SourceServer
Pause Replication.
-
#put_source_server_action(params = {}) ⇒ Types::SourceServerActionDocument
Put source server post migration custom action.
-
#put_template_action(params = {}) ⇒ Types::TemplateActionDocument
Put template post migration custom action.
-
#remove_source_server_action(params = {}) ⇒ Struct
Remove source server post migration custom action.
-
#remove_template_action(params = {}) ⇒ Struct
Remove template post migration custom action.
-
#resume_replication(params = {}) ⇒ Types::SourceServer
Resume Replication.
-
#retry_data_replication(params = {}) ⇒ Types::SourceServer
Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started.
-
#start_cutover(params = {}) ⇒ Types::StartCutoverResponse
Launches a Cutover Instance for specific Source Servers.
-
#start_export(params = {}) ⇒ Types::StartExportResponse
Start export.
-
#start_import(params = {}) ⇒ Types::StartImportResponse
Start import.
-
#start_replication(params = {}) ⇒ Types::SourceServer
Starts replication for SNAPSHOT_SHIPPING agents.
-
#start_test(params = {}) ⇒ Types::StartTestResponse
Launches a Test Instance for specific Source Servers.
-
#stop_replication(params = {}) ⇒ Types::SourceServer
Stop Replication.
-
#tag_resource(params = {}) ⇒ Struct
Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources.
-
#terminate_target_instances(params = {}) ⇒ Types::TerminateTargetInstancesResponse
Starts a job that terminates specific launched EC2 Test and Cutover instances.
-
#unarchive_application(params = {}) ⇒ Types::Application
Unarchive application.
-
#unarchive_wave(params = {}) ⇒ Types::Wave
Unarchive wave.
-
#untag_resource(params = {}) ⇒ Struct
Deletes the specified set of tags from the specified set of Application Migration Service resources.
-
#update_application(params = {}) ⇒ Types::Application
Update application.
-
#update_connector(params = {}) ⇒ Types::Connector
Update Connector.
-
#update_launch_configuration(params = {}) ⇒ Types::LaunchConfiguration
Updates multiple LaunchConfigurations by Source Server ID.
-
#update_launch_configuration_template(params = {}) ⇒ Types::LaunchConfigurationTemplate
Updates an existing Launch Configuration Template by ID.
-
#update_replication_configuration(params = {}) ⇒ Types::ReplicationConfiguration
Allows you to update multiple ReplicationConfigurations by Source Server ID.
-
#update_replication_configuration_template(params = {}) ⇒ Types::ReplicationConfigurationTemplate
Updates multiple ReplicationConfigurationTemplates by ID.
-
#update_source_server(params = {}) ⇒ Types::SourceServer
Update Source Server.
-
#update_source_server_replication_type(params = {}) ⇒ Types::SourceServer
Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.
-
#update_wave(params = {}) ⇒ Types::Wave
Update wave.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
444 445 446 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 444 def initialize(*args) super end |
Instance Method Details
#archive_application(params = {}) ⇒ Types::Application
Archive application.
499 500 501 502 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 499 def archive_application(params = {}, = {}) req = build_request(:archive_application, params) req.send_request() end |
#archive_wave(params = {}) ⇒ Types::Wave
Archive wave.
552 553 554 555 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 552 def archive_wave(params = {}, = {}) req = build_request(:archive_wave, params) req.send_request() end |
#associate_applications(params = {}) ⇒ Struct
Associate applications to wave.
582 583 584 585 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 582 def associate_applications(params = {}, = {}) req = build_request(:associate_applications, params) req.send_request() end |
#associate_source_servers(params = {}) ⇒ Struct
Associate source servers to application.
612 613 614 615 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 612 def associate_source_servers(params = {}, = {}) req = build_request(:associate_source_servers, params) req.send_request() end |
#change_server_life_cycle_state(params = {}) ⇒ Types::SourceServer
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. This command only works if the Source Server is already launchable (dataReplicationInfo.lagDuration is not null.)
731 732 733 734 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 731 def change_server_life_cycle_state(params = {}, = {}) req = build_request(:change_server_life_cycle_state, params) req.send_request() end |
#create_application(params = {}) ⇒ Types::Application
Create application.
795 796 797 798 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 795 def create_application(params = {}, = {}) req = build_request(:create_application, params) req.send_request() end |
#create_connector(params = {}) ⇒ Types::Connector
Create Connector.
856 857 858 859 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 856 def create_connector(params = {}, = {}) req = build_request(:create_connector, params) req.send_request() end |
#create_launch_configuration_template(params = {}) ⇒ Types::LaunchConfigurationTemplate
Creates a new Launch Configuration Template.
1026 1027 1028 1029 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1026 def create_launch_configuration_template(params = {}, = {}) req = build_request(:create_launch_configuration_template, params) req.send_request() end |
#create_replication_configuration_template(params = {}) ⇒ Types::ReplicationConfigurationTemplate
Creates a new ReplicationConfigurationTemplate.
1157 1158 1159 1160 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1157 def create_replication_configuration_template(params = {}, = {}) req = build_request(:create_replication_configuration_template, params) req.send_request() end |
#create_wave(params = {}) ⇒ Types::Wave
Create wave.
1220 1221 1222 1223 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1220 def create_wave(params = {}, = {}) req = build_request(:create_wave, params) req.send_request() end |
#delete_application(params = {}) ⇒ Struct
Delete application.
1246 1247 1248 1249 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1246 def delete_application(params = {}, = {}) req = build_request(:delete_application, params) req.send_request() end |
#delete_connector(params = {}) ⇒ Struct
Delete Connector.
1268 1269 1270 1271 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1268 def delete_connector(params = {}, = {}) req = build_request(:delete_connector, params) req.send_request() end |
#delete_job(params = {}) ⇒ Struct
Deletes a single Job by ID.
1294 1295 1296 1297 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1294 def delete_job(params = {}, = {}) req = build_request(:delete_job, params) req.send_request() end |
#delete_launch_configuration_template(params = {}) ⇒ Struct
Deletes a single Launch Configuration Template by ID.
1316 1317 1318 1319 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1316 def delete_launch_configuration_template(params = {}, = {}) req = build_request(:delete_launch_configuration_template, params) req.send_request() end |
#delete_replication_configuration_template(params = {}) ⇒ Struct
Deletes a single Replication Configuration Template by ID
1339 1340 1341 1342 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1339 def delete_replication_configuration_template(params = {}, = {}) req = build_request(:delete_replication_configuration_template, params) req.send_request() end |
#delete_source_server(params = {}) ⇒ Struct
Deletes a single source server by ID.
1365 1366 1367 1368 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1365 def delete_source_server(params = {}, = {}) req = build_request(:delete_source_server, params) req.send_request() end |
#delete_vcenter_client(params = {}) ⇒ Struct
Deletes a given vCenter client by ID.
1387 1388 1389 1390 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1387 def delete_vcenter_client(params = {}, = {}) req = build_request(:delete_vcenter_client, params) req.send_request() end |
#delete_wave(params = {}) ⇒ Struct
Delete wave.
1413 1414 1415 1416 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1413 def delete_wave(params = {}, = {}) req = build_request(:delete_wave, params) req.send_request() end |
#describe_job_log_items(params = {}) ⇒ Types::DescribeJobLogItemsResponse
Retrieves detailed job log items with paging.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1463 1464 1465 1466 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1463 def describe_job_log_items(params = {}, = {}) req = build_request(:describe_job_log_items, params) req.send_request() end |
#describe_jobs(params = {}) ⇒ Types::DescribeJobsResponse
Returns a list of Jobs. Use the JobsID and fromDate and toData filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are normally created by the StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to Support and only used in response to relevant support tickets.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1546 1547 1548 1549 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1546 def describe_jobs(params = {}, = {}) req = build_request(:describe_jobs, params) req.send_request() end |
#describe_launch_configuration_templates(params = {}) ⇒ Types::DescribeLaunchConfigurationTemplatesResponse
Lists all Launch Configuration Templates, filtered by Launch Configuration Template IDs
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1626 1627 1628 1629 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1626 def describe_launch_configuration_templates(params = {}, = {}) req = build_request(:describe_launch_configuration_templates, params) req.send_request() end |
#describe_replication_configuration_templates(params = {}) ⇒ Types::DescribeReplicationConfigurationTemplatesResponse
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1687 1688 1689 1690 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1687 def describe_replication_configuration_templates(params = {}, = {}) req = build_request(:describe_replication_configuration_templates, params) req.send_request() end |
#describe_source_servers(params = {}) ⇒ Types::DescribeSourceServersResponse
Retrieves all SourceServers or multiple SourceServers by ID.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1802 1803 1804 1805 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1802 def describe_source_servers(params = {}, = {}) req = build_request(:describe_source_servers, params) req.send_request() end |
#describe_vcenter_clients(params = {}) ⇒ Types::DescribeVcenterClientsResponse
Returns a list of the installed vCenter clients.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1848 1849 1850 1851 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1848 def describe_vcenter_clients(params = {}, = {}) req = build_request(:describe_vcenter_clients, params) req.send_request() end |
#disassociate_applications(params = {}) ⇒ Struct
Disassociate applications from wave.
1878 1879 1880 1881 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1878 def disassociate_applications(params = {}, = {}) req = build_request(:disassociate_applications, params) req.send_request() end |
#disassociate_source_servers(params = {}) ⇒ Struct
Disassociate source servers from application.
1908 1909 1910 1911 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1908 def disassociate_source_servers(params = {}, = {}) req = build_request(:disassociate_source_servers, params) req.send_request() end |
#disconnect_from_service(params = {}) ⇒ Types::SourceServer
Disconnects specific Source Servers from Application Migration Service. Data replication is stopped immediately. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the agent on the source server has not been prevented from communicating with the Application Migration Service service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
2030 2031 2032 2033 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2030 def disconnect_from_service(params = {}, = {}) req = build_request(:disconnect_from_service, params) req.send_request() end |
#finalize_cutover(params = {}) ⇒ Types::SourceServer
Finalizes the cutover immediately for specific Source Servers. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. The AWS Replication Agent will receive a command to uninstall itself (within 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be changed to DISCONNECTED; The SourceServer.lifeCycle.state will be changed to CUTOVER; The totalStorageBytes property fo each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.
2151 2152 2153 2154 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2151 def finalize_cutover(params = {}, = {}) req = build_request(:finalize_cutover, params) req.send_request() end |
#get_launch_configuration(params = {}) ⇒ Types::LaunchConfiguration
Lists all LaunchConfigurations available, filtered by Source Server IDs.
2220 2221 2222 2223 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2220 def get_launch_configuration(params = {}, = {}) req = build_request(:get_launch_configuration, params) req.send_request() end |
#get_replication_configuration(params = {}) ⇒ Types::ReplicationConfiguration
Lists all ReplicationConfigurations, filtered by Source Server ID.
2289 2290 2291 2292 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2289 def get_replication_configuration(params = {}, = {}) req = build_request(:get_replication_configuration, params) req.send_request() end |
#initialize_service(params = {}) ⇒ Struct
Initialize Application Migration Service.
2302 2303 2304 2305 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2302 def initialize_service(params = {}, = {}) req = build_request(:initialize_service, params) req.send_request() end |
#list_applications(params = {}) ⇒ Types::ListApplicationsResponse
Retrieves all applications or multiple applications by ID.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2364 2365 2366 2367 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2364 def list_applications(params = {}, = {}) req = build_request(:list_applications, params) req.send_request() end |
#list_connectors(params = {}) ⇒ Types::ListConnectorsResponse
List Connectors.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2416 2417 2418 2419 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2416 def list_connectors(params = {}, = {}) req = build_request(:list_connectors, params) req.send_request() end |
#list_export_errors(params = {}) ⇒ Types::ListExportErrorsResponse
List export errors.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2458 2459 2460 2461 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2458 def list_export_errors(params = {}, = {}) req = build_request(:list_export_errors, params) req.send_request() end |
#list_exports(params = {}) ⇒ Types::ListExportsResponse
List exports.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2511 2512 2513 2514 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2511 def list_exports(params = {}, = {}) req = build_request(:list_exports, params) req.send_request() end |
#list_import_errors(params = {}) ⇒ Types::ListImportErrorsResponse
List import errors.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2560 2561 2562 2563 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2560 def list_import_errors(params = {}, = {}) req = build_request(:list_import_errors, params) req.send_request() end |
#list_imports(params = {}) ⇒ Types::ListImportsResponse
List imports.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2616 2617 2618 2619 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2616 def list_imports(params = {}, = {}) req = build_request(:list_imports, params) req.send_request() end |
#list_managed_accounts(params = {}) ⇒ Types::ListManagedAccountsResponse
List Managed Accounts.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2653 2654 2655 2656 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2653 def list_managed_accounts(params = {}, = {}) req = build_request(:list_managed_accounts, params) req.send_request() end |
#list_source_server_actions(params = {}) ⇒ Types::ListSourceServerActionsResponse
List source server post migration custom actions.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2723 2724 2725 2726 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2723 def list_source_server_actions(params = {}, = {}) req = build_request(:list_source_server_actions, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
List all tags for your Application Migration Service resources.
2752 2753 2754 2755 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2752 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_template_actions(params = {}) ⇒ Types::ListTemplateActionsResponse
List template post migration custom actions.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2816 2817 2818 2819 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2816 def list_template_actions(params = {}, = {}) req = build_request(:list_template_actions, params) req.send_request() end |
#list_waves(params = {}) ⇒ Types::ListWavesResponse
Retrieves all waves or multiple waves by ID.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2877 2878 2879 2880 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2877 def list_waves(params = {}, = {}) req = build_request(:list_waves, params) req.send_request() end |
#mark_as_archived(params = {}) ⇒ Types::SourceServer
Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified SourceServers by ID. This command only works for SourceServers with a lifecycle. state which equals DISCONNECTED or CUTOVER.
2989 2990 2991 2992 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2989 def mark_as_archived(params = {}, = {}) req = build_request(:mark_as_archived, params) req.send_request() end |
#pause_replication(params = {}) ⇒ Types::SourceServer
Pause Replication.
3098 3099 3100 3101 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3098 def pause_replication(params = {}, = {}) req = build_request(:pause_replication, params) req.send_request() end |
#put_source_server_action(params = {}) ⇒ Types::SourceServerActionDocument
Put source server post migration custom action.
3215 3216 3217 3218 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3215 def put_source_server_action(params = {}, = {}) req = build_request(:put_source_server_action, params) req.send_request() end |
#put_template_action(params = {}) ⇒ Types::TemplateActionDocument
Put template post migration custom action.
3335 3336 3337 3338 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3335 def put_template_action(params = {}, = {}) req = build_request(:put_template_action, params) req.send_request() end |
#remove_source_server_action(params = {}) ⇒ Struct
Remove source server post migration custom action.
3365 3366 3367 3368 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3365 def remove_source_server_action(params = {}, = {}) req = build_request(:remove_source_server_action, params) req.send_request() end |
#remove_template_action(params = {}) ⇒ Struct
Remove template post migration custom action.
3392 3393 3394 3395 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3392 def remove_template_action(params = {}, = {}) req = build_request(:remove_template_action, params) req.send_request() end |
#resume_replication(params = {}) ⇒ Types::SourceServer
Resume Replication.
3501 3502 3503 3504 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3501 def resume_replication(params = {}, = {}) req = build_request(:resume_replication, params) req.send_request() end |
#retry_data_replication(params = {}) ⇒ Types::SourceServer
Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started. This command will not work if the SourceServer is not stalled or is in a DISCONNECTED or STOPPED state.
3613 3614 3615 3616 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3613 def retry_data_replication(params = {}, = {}) req = build_request(:retry_data_replication, params) req.send_request() end |
#start_cutover(params = {}) ⇒ Types::StartCutoverResponse
Launches a Cutover Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state property to CUTTING_OVER.
3681 3682 3683 3684 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3681 def start_cutover(params = {}, = {}) req = build_request(:start_cutover, params) req.send_request() end |
#start_export(params = {}) ⇒ Types::StartExportResponse
Start export.
3727 3728 3729 3730 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3727 def start_export(params = {}, = {}) req = build_request(:start_export, params) req.send_request() end |
#start_import(params = {}) ⇒ Types::StartImportResponse
Start import.
3779 3780 3781 3782 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3779 def start_import(params = {}, = {}) req = build_request(:start_import, params) req.send_request() end |
#start_replication(params = {}) ⇒ Types::SourceServer
Starts replication for SNAPSHOT_SHIPPING agents.
3888 3889 3890 3891 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3888 def start_replication(params = {}, = {}) req = build_request(:start_replication, params) req.send_request() end |
#start_test(params = {}) ⇒ Types::StartTestResponse
Launches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.
3956 3957 3958 3959 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3956 def start_test(params = {}, = {}) req = build_request(:start_test, params) req.send_request() end |
#stop_replication(params = {}) ⇒ Types::SourceServer
Stop Replication.
4065 4066 4067 4068 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4065 def stop_replication(params = {}, = {}) req = build_request(:stop_replication, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.
4097 4098 4099 4100 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4097 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#terminate_target_instances(params = {}) ⇒ Types::TerminateTargetInstancesResponse
Starts a job that terminates specific launched EC2 Test and Cutover instances. This command will not work for any Source Server with a lifecycle.state of TESTING, CUTTING_OVER, or CUTOVER.
4165 4166 4167 4168 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4165 def terminate_target_instances(params = {}, = {}) req = build_request(:terminate_target_instances, params) req.send_request() end |
#unarchive_application(params = {}) ⇒ Types::Application
Unarchive application.
4219 4220 4221 4222 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4219 def unarchive_application(params = {}, = {}) req = build_request(:unarchive_application, params) req.send_request() end |
#unarchive_wave(params = {}) ⇒ Types::Wave
Unarchive wave.
4272 4273 4274 4275 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4272 def unarchive_wave(params = {}, = {}) req = build_request(:unarchive_wave, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Deletes the specified set of tags from the specified set of Application Migration Service resources.
4299 4300 4301 4302 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4299 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_application(params = {}) ⇒ Types::Application
Update application.