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.
440 441 442 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 440 def initialize(*args) super end |
Instance Method Details
#archive_application(params = {}) ⇒ Types::Application
Archive application.
495 496 497 498 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 495 def archive_application(params = {}, = {}) req = build_request(:archive_application, params) req.send_request() end |
#archive_wave(params = {}) ⇒ Types::Wave
Archive wave.
548 549 550 551 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 548 def archive_wave(params = {}, = {}) req = build_request(:archive_wave, params) req.send_request() end |
#associate_applications(params = {}) ⇒ Struct
Associate applications to wave.
578 579 580 581 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 578 def associate_applications(params = {}, = {}) req = build_request(:associate_applications, params) req.send_request() end |
#associate_source_servers(params = {}) ⇒ Struct
Associate source servers to application.
608 609 610 611 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 608 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.)
727 728 729 730 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 727 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.
791 792 793 794 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 791 def create_application(params = {}, = {}) req = build_request(:create_application, params) req.send_request() end |
#create_connector(params = {}) ⇒ Types::Connector
Create Connector.
852 853 854 855 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 852 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.
1022 1023 1024 1025 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1022 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.
1153 1154 1155 1156 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1153 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.
1216 1217 1218 1219 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1216 def create_wave(params = {}, = {}) req = build_request(:create_wave, params) req.send_request() end |
#delete_application(params = {}) ⇒ Struct
Delete application.
1242 1243 1244 1245 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1242 def delete_application(params = {}, = {}) req = build_request(:delete_application, params) req.send_request() end |
#delete_connector(params = {}) ⇒ Struct
Delete Connector.
1264 1265 1266 1267 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1264 def delete_connector(params = {}, = {}) req = build_request(:delete_connector, params) req.send_request() end |
#delete_job(params = {}) ⇒ Struct
Deletes a single Job by ID.
1290 1291 1292 1293 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1290 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.
1312 1313 1314 1315 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1312 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
1335 1336 1337 1338 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1335 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.
1361 1362 1363 1364 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1361 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.
1383 1384 1385 1386 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1383 def delete_vcenter_client(params = {}, = {}) req = build_request(:delete_vcenter_client, params) req.send_request() end |
#delete_wave(params = {}) ⇒ Struct
Delete wave.
1409 1410 1411 1412 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1409 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.
1459 1460 1461 1462 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1459 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.
1542 1543 1544 1545 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1542 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.
1622 1623 1624 1625 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1622 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.
1683 1684 1685 1686 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1683 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.
1798 1799 1800 1801 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1798 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.
1844 1845 1846 1847 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1844 def describe_vcenter_clients(params = {}, = {}) req = build_request(:describe_vcenter_clients, params) req.send_request() end |
#disassociate_applications(params = {}) ⇒ Struct
Disassociate applications from wave.
1874 1875 1876 1877 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1874 def disassociate_applications(params = {}, = {}) req = build_request(:disassociate_applications, params) req.send_request() end |
#disassociate_source_servers(params = {}) ⇒ Struct
Disassociate source servers from application.
1904 1905 1906 1907 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1904 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.
2026 2027 2028 2029 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2026 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.
2147 2148 2149 2150 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2147 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.
2216 2217 2218 2219 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2216 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.
2285 2286 2287 2288 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2285 def get_replication_configuration(params = {}, = {}) req = build_request(:get_replication_configuration, params) req.send_request() end |
#initialize_service(params = {}) ⇒ Struct
Initialize Application Migration Service.
2298 2299 2300 2301 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2298 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.
2360 2361 2362 2363 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2360 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.
2412 2413 2414 2415 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2412 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.
2454 2455 2456 2457 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2454 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.
2507 2508 2509 2510 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2507 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.
2556 2557 2558 2559 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2556 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.
2612 2613 2614 2615 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2612 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.
2649 2650 2651 2652 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2649 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.
2719 2720 2721 2722 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2719 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.
2748 2749 2750 2751 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2748 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.
2812 2813 2814 2815 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2812 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.
2873 2874 2875 2876 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2873 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.
2985 2986 2987 2988 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2985 def mark_as_archived(params = {}, = {}) req = build_request(:mark_as_archived, params) req.send_request() end |
#pause_replication(params = {}) ⇒ Types::SourceServer
Pause Replication.
3094 3095 3096 3097 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3094 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.
3211 3212 3213 3214 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3211 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.
3331 3332 3333 3334 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3331 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.
3361 3362 3363 3364 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3361 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.
3388 3389 3390 3391 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3388 def remove_template_action(params = {}, = {}) req = build_request(:remove_template_action, params) req.send_request() end |
#resume_replication(params = {}) ⇒ Types::SourceServer
Resume Replication.
3497 3498 3499 3500 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3497 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.
3609 3610 3611 3612 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3609 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.
3677 3678 3679 3680 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3677 def start_cutover(params = {}, = {}) req = build_request(:start_cutover, params) req.send_request() end |
#start_export(params = {}) ⇒ Types::StartExportResponse
Start export.
3723 3724 3725 3726 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3723 def start_export(params = {}, = {}) req = build_request(:start_export, params) req.send_request() end |
#start_import(params = {}) ⇒ Types::StartImportResponse
Start import.
3775 3776 3777 3778 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3775 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.
3884 3885 3886 3887 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3884 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.
3952 3953 3954 3955 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3952 def start_test(params = {}, = {}) req = build_request(:start_test, params) req.send_request() end |
#stop_replication(params = {}) ⇒ Types::SourceServer
Stop Replication.
4061 4062 4063 4064 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4061 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.
4093 4094 4095 4096 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4093 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.
4161 4162 4163 4164 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4161 def terminate_target_instances(params = {}, = {}) req = build_request(:terminate_target_instances, params) req.send_request() end |
#unarchive_application(params = {}) ⇒ Types::Application
Unarchive application.
4215 4216 4217 4218 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4215 def unarchive_application(params = {}, = {}) req = build_request(:unarchive_application, params) req.send_request() end |
#unarchive_wave(params = {}) ⇒ Types::Wave
Unarchive wave.
4268 4269 4270 4271 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4268 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.
4295 4296 4297 4298 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4295 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_application(params = {}) ⇒ Types::Application
Update application.