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.
446 447 448 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 446 def initialize(*args) super end |
Instance Method Details
#archive_application(params = {}) ⇒ Types::Application
Archive application.
501 502 503 504 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 501 def archive_application(params = {}, = {}) req = build_request(:archive_application, params) req.send_request() end |
#archive_wave(params = {}) ⇒ Types::Wave
Archive wave.
554 555 556 557 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 554 def archive_wave(params = {}, = {}) req = build_request(:archive_wave, params) req.send_request() end |
#associate_applications(params = {}) ⇒ Struct
Associate applications to wave.
584 585 586 587 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 584 def associate_applications(params = {}, = {}) req = build_request(:associate_applications, params) req.send_request() end |
#associate_source_servers(params = {}) ⇒ Struct
Associate source servers to application.
614 615 616 617 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 614 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.)
733 734 735 736 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 733 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.
797 798 799 800 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 797 def create_application(params = {}, = {}) req = build_request(:create_application, params) req.send_request() end |
#create_connector(params = {}) ⇒ Types::Connector
Create Connector.
858 859 860 861 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 858 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.
1028 1029 1030 1031 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1028 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.
1159 1160 1161 1162 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1159 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.
1222 1223 1224 1225 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1222 def create_wave(params = {}, = {}) req = build_request(:create_wave, params) req.send_request() end |
#delete_application(params = {}) ⇒ Struct
Delete application.
1248 1249 1250 1251 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1248 def delete_application(params = {}, = {}) req = build_request(:delete_application, params) req.send_request() end |
#delete_connector(params = {}) ⇒ Struct
Delete Connector.
1270 1271 1272 1273 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1270 def delete_connector(params = {}, = {}) req = build_request(:delete_connector, params) req.send_request() end |
#delete_job(params = {}) ⇒ Struct
Deletes a single Job by ID.
1296 1297 1298 1299 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1296 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.
1318 1319 1320 1321 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1318 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
1341 1342 1343 1344 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1341 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.
1367 1368 1369 1370 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1367 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.
1389 1390 1391 1392 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1389 def delete_vcenter_client(params = {}, = {}) req = build_request(:delete_vcenter_client, params) req.send_request() end |
#delete_wave(params = {}) ⇒ Struct
Delete wave.
1415 1416 1417 1418 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1415 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.
1465 1466 1467 1468 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1465 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.
1548 1549 1550 1551 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1548 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.
1628 1629 1630 1631 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1628 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.
1689 1690 1691 1692 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1689 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.
1804 1805 1806 1807 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1804 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.
1850 1851 1852 1853 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1850 def describe_vcenter_clients(params = {}, = {}) req = build_request(:describe_vcenter_clients, params) req.send_request() end |
#disassociate_applications(params = {}) ⇒ Struct
Disassociate applications from wave.
1880 1881 1882 1883 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1880 def disassociate_applications(params = {}, = {}) req = build_request(:disassociate_applications, params) req.send_request() end |
#disassociate_source_servers(params = {}) ⇒ Struct
Disassociate source servers from application.
1910 1911 1912 1913 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1910 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.
2032 2033 2034 2035 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2032 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.
2153 2154 2155 2156 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2153 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.
2222 2223 2224 2225 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2222 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.
2291 2292 2293 2294 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2291 def get_replication_configuration(params = {}, = {}) req = build_request(:get_replication_configuration, params) req.send_request() end |
#initialize_service(params = {}) ⇒ Struct
Initialize Application Migration Service.
2304 2305 2306 2307 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2304 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.
2366 2367 2368 2369 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2366 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.
2418 2419 2420 2421 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2418 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.
2460 2461 2462 2463 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2460 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.
2513 2514 2515 2516 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2513 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.
2562 2563 2564 2565 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2562 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.
2618 2619 2620 2621 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2618 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.
2655 2656 2657 2658 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2655 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.
2725 2726 2727 2728 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2725 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.
2754 2755 2756 2757 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2754 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.
2818 2819 2820 2821 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2818 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.
2879 2880 2881 2882 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2879 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.
2991 2992 2993 2994 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2991 def mark_as_archived(params = {}, = {}) req = build_request(:mark_as_archived, params) req.send_request() end |
#pause_replication(params = {}) ⇒ Types::SourceServer
Pause Replication.
3100 3101 3102 3103 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3100 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.
3217 3218 3219 3220 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3217 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.
3337 3338 3339 3340 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3337 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.
3367 3368 3369 3370 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3367 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.
3394 3395 3396 3397 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3394 def remove_template_action(params = {}, = {}) req = build_request(:remove_template_action, params) req.send_request() end |
#resume_replication(params = {}) ⇒ Types::SourceServer
Resume Replication.
3503 3504 3505 3506 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3503 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.
3615 3616 3617 3618 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3615 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.
3683 3684 3685 3686 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3683 def start_cutover(params = {}, = {}) req = build_request(:start_cutover, params) req.send_request() end |
#start_export(params = {}) ⇒ Types::StartExportResponse
Start export.
3729 3730 3731 3732 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3729 def start_export(params = {}, = {}) req = build_request(:start_export, params) req.send_request() end |
#start_import(params = {}) ⇒ Types::StartImportResponse
Start import.
3781 3782 3783 3784 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3781 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.
3890 3891 3892 3893 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3890 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.
3958 3959 3960 3961 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3958 def start_test(params = {}, = {}) req = build_request(:start_test, params) req.send_request() end |
#stop_replication(params = {}) ⇒ Types::SourceServer
Stop Replication.
4067 4068 4069 4070 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4067 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.
4099 4100 4101 4102 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4099 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.
4167 4168 4169 4170 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4167 def terminate_target_instances(params = {}, = {}) req = build_request(:terminate_target_instances, params) req.send_request() end |
#unarchive_application(params = {}) ⇒ Types::Application
Unarchive application.
4221 4222 4223 4224 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4221 def unarchive_application(params = {}, = {}) req = build_request(:unarchive_application, params) req.send_request() end |
#unarchive_wave(params = {}) ⇒ Types::Wave
Unarchive wave.
4274 4275 4276 4277 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4274 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.
4301 4302 4303 4304 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4301 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_application(params = {}) ⇒ Types::Application
Update application.
4363 4364 4365 4366 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4363 def update_application(params = {}, = {}) req = build_request(:update_application, params) req.send_request() end |
#update_connector(params = {}) ⇒ Types::Connector
Update Connector.
4418 4419 4420 4421 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4418 def update_connector(params = {}, = {}) req = build_request(:update_connector, params) req.send_request() end |
#update_launch_configuration(params = {}) ⇒ Types::LaunchConfiguration
Updates multiple LaunchConfigurations by Source Server ID.
LEGACY_BIOS | UEFI
4558 4559 4560 4561 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4558 def update_launch_configuration(params = {}, = {}) req = build_request(:update_launch_configuration, params) req.send_request() end |
#update_launch_configuration_template(params = {}) ⇒ Types::LaunchConfigurationTemplate
Updates an existing Launch Configuration Template by ID.
4725 4726 4727 4728 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4725 def update_launch_configuration_template(params = {}, = {}) req = build_request(:update_launch_configuration_template, params) req.send_request() end |
#update_replication_configuration(params = {}) ⇒ Types::ReplicationConfiguration
Allows you to update multiple ReplicationConfigurations by Source Server ID.
4870 4871 4872 4873 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4870 def update_replication_configuration(params = {}, = {}) req = build_request(:update_replication_configuration, params) req.send_request() end |
#update_replication_configuration_template(params = {}) ⇒ Types::ReplicationConfigurationTemplate
Updates multiple ReplicationConfigurationTemplates by ID.
4997 4998 4999 5000 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4997 def update_replication_configuration_template(params = {}, = {}) req = build_request(:update_replication_configuration_template, params) req.send_request() end |
#update_source_server(params = {}) ⇒ Types::SourceServer
Update Source Server.
5113 5114 5115 5116 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 5113 def update_source_server(params = {}, = {}) req = build_request(:update_source_server, params) req.send_request() end |
#update_source_server_replication_type(params = {}) ⇒ Types::SourceServer
Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING replication type.
5227 5228 5229 5230 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 5227 def update_source_server_replication_type(params = {}, = {}) req = build_request(:update_source_server_replication_type, params) req.send_request() end |
#update_wave(params = {}) ⇒ Types::Wave
Update wave.
5288 5289 5290 5291 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 5288 def update_wave(params = {}, = {}) req = build_request(:update_wave, params) req.send_request() end |