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.
467 468 469 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 467 def initialize(*args) super end |
Instance Method Details
#archive_application(params = {}) ⇒ Types::Application
Archive application.
522 523 524 525 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 522 def archive_application(params = {}, = {}) req = build_request(:archive_application, params) req.send_request() end |
#archive_wave(params = {}) ⇒ Types::Wave
Archive wave.
575 576 577 578 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 575 def archive_wave(params = {}, = {}) req = build_request(:archive_wave, params) req.send_request() end |
#associate_applications(params = {}) ⇒ Struct
Associate applications to wave.
605 606 607 608 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 605 def associate_applications(params = {}, = {}) req = build_request(:associate_applications, params) req.send_request() end |
#associate_source_servers(params = {}) ⇒ Struct
Associate source servers to application.
635 636 637 638 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 635 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.)
754 755 756 757 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 754 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.
818 819 820 821 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 818 def create_application(params = {}, = {}) req = build_request(:create_application, params) req.send_request() end |
#create_connector(params = {}) ⇒ Types::Connector
Create Connector.
879 880 881 882 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 879 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.
1049 1050 1051 1052 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1049 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.
1180 1181 1182 1183 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1180 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.
1243 1244 1245 1246 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1243 def create_wave(params = {}, = {}) req = build_request(:create_wave, params) req.send_request() end |
#delete_application(params = {}) ⇒ Struct
Delete application.
1269 1270 1271 1272 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1269 def delete_application(params = {}, = {}) req = build_request(:delete_application, params) req.send_request() end |
#delete_connector(params = {}) ⇒ Struct
Delete Connector.
1291 1292 1293 1294 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1291 def delete_connector(params = {}, = {}) req = build_request(:delete_connector, params) req.send_request() end |
#delete_job(params = {}) ⇒ Struct
Deletes a single Job by ID.
1317 1318 1319 1320 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1317 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.
1339 1340 1341 1342 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1339 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
1362 1363 1364 1365 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1362 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.
1388 1389 1390 1391 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1388 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.
1410 1411 1412 1413 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1410 def delete_vcenter_client(params = {}, = {}) req = build_request(:delete_vcenter_client, params) req.send_request() end |
#delete_wave(params = {}) ⇒ Struct
Delete wave.
1436 1437 1438 1439 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1436 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.
1486 1487 1488 1489 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1486 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.
1569 1570 1571 1572 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1569 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.
1649 1650 1651 1652 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1649 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.
1710 1711 1712 1713 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1710 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.
1825 1826 1827 1828 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1825 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.
1871 1872 1873 1874 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1871 def describe_vcenter_clients(params = {}, = {}) req = build_request(:describe_vcenter_clients, params) req.send_request() end |
#disassociate_applications(params = {}) ⇒ Struct
Disassociate applications from wave.
1901 1902 1903 1904 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1901 def disassociate_applications(params = {}, = {}) req = build_request(:disassociate_applications, params) req.send_request() end |
#disassociate_source_servers(params = {}) ⇒ Struct
Disassociate source servers from application.
1931 1932 1933 1934 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 1931 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.
2053 2054 2055 2056 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2053 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.
2174 2175 2176 2177 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2174 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.
2243 2244 2245 2246 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2243 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.
2312 2313 2314 2315 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2312 def get_replication_configuration(params = {}, = {}) req = build_request(:get_replication_configuration, params) req.send_request() end |
#initialize_service(params = {}) ⇒ Struct
Initialize Application Migration Service.
2325 2326 2327 2328 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2325 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.
2387 2388 2389 2390 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2387 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.
2439 2440 2441 2442 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2439 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.
2481 2482 2483 2484 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2481 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.
2534 2535 2536 2537 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2534 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.
2583 2584 2585 2586 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2583 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.
2639 2640 2641 2642 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2639 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.
2676 2677 2678 2679 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2676 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.
2746 2747 2748 2749 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2746 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.
2775 2776 2777 2778 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2775 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.
2839 2840 2841 2842 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2839 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.
2900 2901 2902 2903 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 2900 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.
3012 3013 3014 3015 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3012 def mark_as_archived(params = {}, = {}) req = build_request(:mark_as_archived, params) req.send_request() end |
#pause_replication(params = {}) ⇒ Types::SourceServer
Pause Replication.
3121 3122 3123 3124 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3121 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.
3238 3239 3240 3241 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3238 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.
3358 3359 3360 3361 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3358 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.
3388 3389 3390 3391 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3388 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.
3415 3416 3417 3418 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3415 def remove_template_action(params = {}, = {}) req = build_request(:remove_template_action, params) req.send_request() end |
#resume_replication(params = {}) ⇒ Types::SourceServer
Resume Replication.
3524 3525 3526 3527 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3524 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.
3636 3637 3638 3639 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3636 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.
3704 3705 3706 3707 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3704 def start_cutover(params = {}, = {}) req = build_request(:start_cutover, params) req.send_request() end |
#start_export(params = {}) ⇒ Types::StartExportResponse
Start export.
3750 3751 3752 3753 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3750 def start_export(params = {}, = {}) req = build_request(:start_export, params) req.send_request() end |
#start_import(params = {}) ⇒ Types::StartImportResponse
Start import.
3802 3803 3804 3805 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3802 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.
3911 3912 3913 3914 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3911 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.
3979 3980 3981 3982 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 3979 def start_test(params = {}, = {}) req = build_request(:start_test, params) req.send_request() end |
#stop_replication(params = {}) ⇒ Types::SourceServer
Stop Replication.
4088 4089 4090 4091 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4088 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.
4120 4121 4122 4123 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4120 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.
4188 4189 4190 4191 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4188 def terminate_target_instances(params = {}, = {}) req = build_request(:terminate_target_instances, params) req.send_request() end |
#unarchive_application(params = {}) ⇒ Types::Application
Unarchive application.
4242 4243 4244 4245 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4242 def unarchive_application(params = {}, = {}) req = build_request(:unarchive_application, params) req.send_request() end |
#unarchive_wave(params = {}) ⇒ Types::Wave
Unarchive wave.
4295 4296 4297 4298 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4295 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.
4322 4323 4324 4325 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4322 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_application(params = {}) ⇒ Types::Application
Update application.
4384 4385 4386 4387 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4384 def update_application(params = {}, = {}) req = build_request(:update_application, params) req.send_request() end |
#update_connector(params = {}) ⇒ Types::Connector
Update Connector.
4439 4440 4441 4442 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4439 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
4579 4580 4581 4582 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4579 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.
4746 4747 4748 4749 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4746 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.
4891 4892 4893 4894 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 4891 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.
5018 5019 5020 5021 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 5018 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.
5134 5135 5136 5137 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 5134 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.
5248 5249 5250 5251 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 5248 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.
5309 5310 5311 5312 |
# File 'gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb', line 5309 def update_wave(params = {}, = {}) req = build_request(:update_wave, params) req.send_request() end |