Class: Aws::Drs::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Drs::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb
Overview
An API client for Drs. To construct a client, you need to configure a :region and :credentials.
client = Aws::Drs::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
-
#associate_source_network_stack(params = {}) ⇒ Types::AssociateSourceNetworkStackResponse
Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network.
-
#cancel_recovery_plan_execution(params = {}) ⇒ Types::CancelRecoveryPlanExecutionResponse
Cancels an in-progress Recovery Plan execution.
-
#create_extended_source_server(params = {}) ⇒ Types::CreateExtendedSourceServerResponse
Create an extended source server in the target Account based on the source server in staging account.
-
#create_launch_configuration_template(params = {}) ⇒ Types::CreateLaunchConfigurationTemplateResponse
Creates a new Launch Configuration Template.
-
#create_recovery_plan(params = {}) ⇒ Types::CreateRecoveryPlanResponse
Creates a Recovery Plan to orchestrate multi-server disaster recovery.
-
#create_recovery_plan_step(params = {}) ⇒ Types::CreateRecoveryPlanStepResponse
Creates a step in a Recovery Plan.
-
#create_replication_configuration_template(params = {}) ⇒ Types::ReplicationConfigurationTemplate
Creates a new ReplicationConfigurationTemplate.
-
#create_source_network(params = {}) ⇒ Types::CreateSourceNetworkResponse
Create a new Source Network resource for a provided VPC ID.
-
#delete_job(params = {}) ⇒ Struct
Deletes a single Job by ID.
-
#delete_launch_action(params = {}) ⇒ Struct
Deletes a resource launch action.
-
#delete_launch_configuration_template(params = {}) ⇒ Struct
Deletes a single Launch Configuration Template by ID.
-
#delete_recovery_instance(params = {}) ⇒ Struct
Deletes a single Recovery Instance by ID.
-
#delete_recovery_plan(params = {}) ⇒ Types::DeleteRecoveryPlanResponse
Deletes a Recovery Plan.
-
#delete_recovery_plan_execution(params = {}) ⇒ Types::DeleteRecoveryPlanExecutionResponse
Deletes a Recovery Plan execution record.
-
#delete_recovery_plan_step(params = {}) ⇒ Types::DeleteRecoveryPlanStepResponse
Deletes a step from a Recovery Plan.
-
#delete_replication_configuration_template(params = {}) ⇒ Struct
Deletes a single Replication Configuration Template by ID.
-
#delete_source_network(params = {}) ⇒ Struct
Delete Source Network resource.
-
#delete_source_server(params = {}) ⇒ Struct
Deletes a single Source Server by ID.
-
#describe_job_log_items(params = {}) ⇒ Types::DescribeJobLogItemsResponse
Retrieves a detailed Job log with pagination.
-
#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_recovery_instances(params = {}) ⇒ Types::DescribeRecoveryInstancesResponse
Lists all Recovery Instances or multiple Recovery Instances by ID.
-
#describe_recovery_snapshots(params = {}) ⇒ Types::DescribeRecoverySnapshotsResponse
Lists all Recovery Snapshots for a single Source Server.
-
#describe_replication_configuration_templates(params = {}) ⇒ Types::DescribeReplicationConfigurationTemplatesResponse
Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
-
#describe_source_networks(params = {}) ⇒ Types::DescribeSourceNetworksResponse
Lists all Source Networks or multiple Source Networks filtered by ID.
-
#describe_source_servers(params = {}) ⇒ Types::DescribeSourceServersResponse
Lists all Source Servers or multiple Source Servers filtered by ID.
-
#disconnect_recovery_instance(params = {}) ⇒ Struct
Disconnect a Recovery Instance from Elastic Disaster Recovery.
-
#disconnect_source_server(params = {}) ⇒ Types::SourceServer
Disconnects a specific Source Server from Elastic Disaster Recovery.
-
#export_source_network_cfn_template(params = {}) ⇒ Types::ExportSourceNetworkCfnTemplateResponse
Export the Source Network CloudFormation template to an S3 bucket.
-
#get_failback_replication_configuration(params = {}) ⇒ Types::GetFailbackReplicationConfigurationResponse
Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
-
#get_launch_configuration(params = {}) ⇒ Types::LaunchConfiguration
Gets a LaunchConfiguration, filtered by Source Server IDs.
-
#get_recovery_plan(params = {}) ⇒ Types::GetRecoveryPlanResponse
Gets a Recovery Plan by ARN.
-
#get_recovery_plan_execution(params = {}) ⇒ Types::GetRecoveryPlanExecutionResponse
Gets the details of a Recovery Plan execution.
-
#get_recovery_plan_execution_step(params = {}) ⇒ Types::GetRecoveryPlanExecutionStepResponse
Gets the details of a step within a Recovery Plan execution.
-
#get_recovery_plan_step(params = {}) ⇒ Types::GetRecoveryPlanStepResponse
Gets a Recovery Plan step by ARN.
-
#get_replication_configuration(params = {}) ⇒ Types::ReplicationConfiguration
Gets a ReplicationConfiguration, filtered by Source Server ID.
-
#initialize_service(params = {}) ⇒ Struct
Initialize Elastic Disaster Recovery.
-
#list_extensible_source_servers(params = {}) ⇒ Types::ListExtensibleSourceServersResponse
Returns a list of source servers on a staging account that are extensible, which means that: a.
-
#list_launch_actions(params = {}) ⇒ Types::ListLaunchActionsResponse
Lists resource launch actions.
-
#list_recovery_plan_execution_steps(params = {}) ⇒ Types::ListRecoveryPlanExecutionStepsResponse
Lists all steps within a Recovery Plan execution.
-
#list_recovery_plan_executions(params = {}) ⇒ Types::ListRecoveryPlanExecutionsResponse
Lists executions of Recovery Plans, optionally filtered by plan or status.
-
#list_recovery_plan_steps(params = {}) ⇒ Types::ListRecoveryPlanStepsResponse
Lists all steps in a Recovery Plan.
-
#list_recovery_plans(params = {}) ⇒ Types::ListRecoveryPlansResponse
Lists all Recovery Plans in the account.
-
#list_staging_accounts(params = {}) ⇒ Types::ListStagingAccountsResponse
Returns an array of staging accounts for existing extended source servers.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
List all tags for your Elastic Disaster Recovery resources.
-
#put_launch_action(params = {}) ⇒ Types::PutLaunchActionResponse
Puts a resource launch action.
-
#reorder_recovery_plan_steps(params = {}) ⇒ Types::ReorderRecoveryPlanStepsResponse
Reorders steps in a Recovery Plan.
-
#retry_data_replication(params = {}) ⇒ Types::SourceServer
WARNING: RetryDataReplication is deprecated.
-
#retry_recovery_plan_execution_step(params = {}) ⇒ Types::RetryRecoveryPlanExecutionStepResponse
Retries a failed
SERVERtype execution step. -
#reverse_replication(params = {}) ⇒ Types::ReverseReplicationResponse
Start replication to origin / target region - applies only to protected instances that originated in EC2.
-
#start_failback_launch(params = {}) ⇒ Types::StartFailbackLaunchResponse
Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance.
-
#start_recovery(params = {}) ⇒ Types::StartRecoveryResponse
Launches Recovery Instances for the specified Source Servers.
-
#start_recovery_plan_execution(params = {}) ⇒ Types::StartRecoveryPlanExecutionResponse
Starts executing a Recovery Plan in
DRILLorRECOVERYmode. -
#start_replication(params = {}) ⇒ Types::StartReplicationResponse
Starts replication for a stopped Source Server.
-
#start_source_network_recovery(params = {}) ⇒ Types::StartSourceNetworkRecoveryResponse
Deploy VPC for the specified Source Network and modify launch templates to use this network.
-
#start_source_network_replication(params = {}) ⇒ Types::StartSourceNetworkReplicationResponse
Starts replication for a Source Network.
-
#stop_failback(params = {}) ⇒ Struct
Stops the failback process for a specified Recovery Instance.
-
#stop_replication(params = {}) ⇒ Types::StopReplicationResponse
Stops replication for a Source Server.
-
#stop_source_network_replication(params = {}) ⇒ Types::StopSourceNetworkReplicationResponse
Stops replication for a Source Network.
-
#tag_resource(params = {}) ⇒ Struct
Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery resource or resources.
-
#terminate_recovery_instances(params = {}) ⇒ Types::TerminateRecoveryInstancesResponse
Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will delete the Recovery Instances from the Elastic Disaster Recovery service.
-
#untag_resource(params = {}) ⇒ Struct
Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
-
#update_failback_replication_configuration(params = {}) ⇒ Struct
Allows you to update the failback replication configuration of a Recovery Instance by ID.
-
#update_launch_configuration(params = {}) ⇒ Types::LaunchConfiguration
Updates a LaunchConfiguration by Source Server ID.
-
#update_launch_configuration_template(params = {}) ⇒ Types::UpdateLaunchConfigurationTemplateResponse
Updates an existing Launch Configuration Template by ID.
-
#update_recovery_plan(params = {}) ⇒ Types::UpdateRecoveryPlanResponse
Updates a Recovery Plan's name or description.
-
#update_recovery_plan_execution_step(params = {}) ⇒ Types::UpdateRecoveryPlanExecutionStepResponse
Updates an execution step.
-
#update_recovery_plan_step(params = {}) ⇒ Types::UpdateRecoveryPlanStepResponse
Updates a Recovery Plan step's name or configuration.
-
#update_replication_configuration(params = {}) ⇒ Types::ReplicationConfiguration
Allows you to update a ReplicationConfiguration by Source Server ID.
-
#update_replication_configuration_template(params = {}) ⇒ Types::ReplicationConfigurationTemplate
Updates a ReplicationConfigurationTemplate by ID.
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.
471 472 473 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 471 def initialize(*args) super end |
Instance Method Details
#associate_source_network_stack(params = {}) ⇒ Types::AssociateSourceNetworkStackResponse
Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network. Can be used for reverting to previously deployed CloudFormation stacks.
539 540 541 542 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 539 def associate_source_network_stack(params = {}, = {}) req = build_request(:associate_source_network_stack, params) req.send_request() end |
#cancel_recovery_plan_execution(params = {}) ⇒ Types::CancelRecoveryPlanExecutionResponse
Cancels an in-progress Recovery Plan execution. Remaining steps are skipped.
577 578 579 580 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 577 def cancel_recovery_plan_execution(params = {}, = {}) req = build_request(:cancel_recovery_plan_execution, params) req.send_request() end |
#create_extended_source_server(params = {}) ⇒ Types::CreateExtendedSourceServerResponse
Create an extended source server in the target Account based on the source server in staging account.
677 678 679 680 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 677 def create_extended_source_server(params = {}, = {}) req = build_request(:create_extended_source_server, params) req.send_request() end |
#create_launch_configuration_template(params = {}) ⇒ Types::CreateLaunchConfigurationTemplateResponse
Creates a new Launch Configuration Template.
760 761 762 763 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 760 def create_launch_configuration_template(params = {}, = {}) req = build_request(:create_launch_configuration_template, params) req.send_request() end |
#create_recovery_plan(params = {}) ⇒ Types::CreateRecoveryPlanResponse
Creates a Recovery Plan to orchestrate multi-server disaster recovery.
812 813 814 815 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 812 def create_recovery_plan(params = {}, = {}) req = build_request(:create_recovery_plan, params) req.send_request() end |
#create_recovery_plan_step(params = {}) ⇒ Types::CreateRecoveryPlanStepResponse
Creates a step in a Recovery Plan. A step is either SERVER type
(servers to recover in parallel) or WAIT type (timed pause between
steps).
882 883 884 885 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 882 def create_recovery_plan_step(params = {}, = {}) req = build_request(:create_recovery_plan_step, params) req.send_request() end |
#create_replication_configuration_template(params = {}) ⇒ Types::ReplicationConfigurationTemplate
Creates a new ReplicationConfigurationTemplate.
1033 1034 1035 1036 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1033 def create_replication_configuration_template(params = {}, = {}) req = build_request(:create_replication_configuration_template, params) req.send_request() end |
#create_source_network(params = {}) ⇒ Types::CreateSourceNetworkResponse
Create a new Source Network resource for a provided VPC ID.
1075 1076 1077 1078 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1075 def create_source_network(params = {}, = {}) req = build_request(:create_source_network, params) req.send_request() end |
#delete_job(params = {}) ⇒ Struct
Deletes a single Job by ID.
1097 1098 1099 1100 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1097 def delete_job(params = {}, = {}) req = build_request(:delete_job, params) req.send_request() end |
#delete_launch_action(params = {}) ⇒ Struct
Deletes a resource launch action.
1123 1124 1125 1126 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1123 def delete_launch_action(params = {}, = {}) req = build_request(:delete_launch_action, params) req.send_request() end |
#delete_launch_configuration_template(params = {}) ⇒ Struct
Deletes a single Launch Configuration Template by ID.
1145 1146 1147 1148 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1145 def delete_launch_configuration_template(params = {}, = {}) req = build_request(:delete_launch_configuration_template, params) req.send_request() end |
#delete_recovery_instance(params = {}) ⇒ Struct
Deletes a single Recovery Instance by ID. This deletes the Recovery Instance resource from Elastic Disaster Recovery. The Recovery Instance must be disconnected first in order to delete it.
1169 1170 1171 1172 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1169 def delete_recovery_instance(params = {}, = {}) req = build_request(:delete_recovery_instance, params) req.send_request() end |
#delete_recovery_plan(params = {}) ⇒ Types::DeleteRecoveryPlanResponse
Deletes a Recovery Plan. Cannot delete a plan that has an execution in
a non-terminal status (CREATED, IN_PROGRESS).
1198 1199 1200 1201 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1198 def delete_recovery_plan(params = {}, = {}) req = build_request(:delete_recovery_plan, params) req.send_request() end |
#delete_recovery_plan_execution(params = {}) ⇒ Types::DeleteRecoveryPlanExecutionResponse
Deletes a Recovery Plan execution record. Must be in a terminal status.
1227 1228 1229 1230 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1227 def delete_recovery_plan_execution(params = {}, = {}) req = build_request(:delete_recovery_plan_execution, params) req.send_request() end |
#delete_recovery_plan_step(params = {}) ⇒ Types::DeleteRecoveryPlanStepResponse
Deletes a step from a Recovery Plan.
1255 1256 1257 1258 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1255 def delete_recovery_plan_step(params = {}, = {}) req = build_request(:delete_recovery_plan_step, params) req.send_request() end |
#delete_replication_configuration_template(params = {}) ⇒ Struct
Deletes a single Replication Configuration Template by ID
1277 1278 1279 1280 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1277 def delete_replication_configuration_template(params = {}, = {}) req = build_request(:delete_replication_configuration_template, params) req.send_request() end |
#delete_source_network(params = {}) ⇒ Struct
Delete Source Network resource.
1299 1300 1301 1302 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1299 def delete_source_network(params = {}, = {}) req = build_request(:delete_source_network, params) req.send_request() end |
#delete_source_server(params = {}) ⇒ Struct
Deletes a single Source Server by ID. The Source Server must be disconnected first.
1322 1323 1324 1325 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1322 def delete_source_server(params = {}, = {}) req = build_request(:delete_source_server, params) req.send_request() end |
#describe_job_log_items(params = {}) ⇒ Types::DescribeJobLogItemsResponse
Retrieves a detailed Job log with pagination.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1386 1387 1388 1389 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1386 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 toDate filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are created by the StartRecovery, TerminateRecoveryInstances and StartFailbackLaunch 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.
1470 1471 1472 1473 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1470 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.
1526 1527 1528 1529 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1526 def describe_launch_configuration_templates(params = {}, = {}) req = build_request(:describe_launch_configuration_templates, params) req.send_request() end |
#describe_recovery_instances(params = {}) ⇒ Types::DescribeRecoveryInstancesResponse
Lists all Recovery Instances or multiple Recovery Instances by ID.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1629 1630 1631 1632 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1629 def describe_recovery_instances(params = {}, = {}) req = build_request(:describe_recovery_instances, params) req.send_request() end |
#describe_recovery_snapshots(params = {}) ⇒ Types::DescribeRecoverySnapshotsResponse
Lists all Recovery Snapshots for a single Source Server.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1686 1687 1688 1689 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1686 def describe_recovery_snapshots(params = {}, = {}) req = build_request(:describe_recovery_snapshots, 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.
1754 1755 1756 1757 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1754 def describe_replication_configuration_templates(params = {}, = {}) req = build_request(:describe_replication_configuration_templates, params) req.send_request() end |
#describe_source_networks(params = {}) ⇒ Types::DescribeSourceNetworksResponse
Lists all Source Networks or multiple Source Networks filtered by ID.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1812 1813 1814 1815 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1812 def describe_source_networks(params = {}, = {}) req = build_request(:describe_source_networks, params) req.send_request() end |
#describe_source_servers(params = {}) ⇒ Types::DescribeSourceServersResponse
Lists all Source Servers or multiple Source Servers filtered by ID.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1921 1922 1923 1924 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1921 def describe_source_servers(params = {}, = {}) req = build_request(:describe_source_servers, params) req.send_request() end |
#disconnect_recovery_instance(params = {}) ⇒ Struct
Disconnect a Recovery Instance from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Recovery Instance will be terminated / deleted within 90 minutes. If the agent on the Recovery Instance has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the Recovery Instance 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.
1955 1956 1957 1958 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 1955 def disconnect_recovery_instance(params = {}, = {}) req = build_request(:disconnect_recovery_instance, params) req.send_request() end |
#disconnect_source_server(params = {}) ⇒ Types::SourceServer
Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Source Server will be terminated / deleted within 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If the agent on the Source Server has not been prevented from communicating with the Elastic Disaster Recovery 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.
2073 2074 2075 2076 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2073 def disconnect_source_server(params = {}, = {}) req = build_request(:disconnect_source_server, params) req.send_request() end |
#export_source_network_cfn_template(params = {}) ⇒ Types::ExportSourceNetworkCfnTemplateResponse
Export the Source Network CloudFormation template to an S3 bucket.
2102 2103 2104 2105 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2102 def export_source_network_cfn_template(params = {}, = {}) req = build_request(:export_source_network_cfn_template, params) req.send_request() end |
#get_failback_replication_configuration(params = {}) ⇒ Types::GetFailbackReplicationConfigurationResponse
Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
2140 2141 2142 2143 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2140 def get_failback_replication_configuration(params = {}, = {}) req = build_request(:get_failback_replication_configuration, params) req.send_request() end |
#get_launch_configuration(params = {}) ⇒ Types::LaunchConfiguration
Gets a LaunchConfiguration, filtered by Source Server IDs.
2189 2190 2191 2192 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2189 def get_launch_configuration(params = {}, = {}) req = build_request(:get_launch_configuration, params) req.send_request() end |
#get_recovery_plan(params = {}) ⇒ Types::GetRecoveryPlanResponse
Gets a Recovery Plan by ARN.
2224 2225 2226 2227 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2224 def get_recovery_plan(params = {}, = {}) req = build_request(:get_recovery_plan, params) req.send_request() end |
#get_recovery_plan_execution(params = {}) ⇒ Types::GetRecoveryPlanExecutionResponse
Gets the details of a Recovery Plan execution.
2261 2262 2263 2264 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2261 def get_recovery_plan_execution(params = {}, = {}) req = build_request(:get_recovery_plan_execution, params) req.send_request() end |
#get_recovery_plan_execution_step(params = {}) ⇒ Types::GetRecoveryPlanExecutionStepResponse
Gets the details of a step within a Recovery Plan execution.
2302 2303 2304 2305 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2302 def get_recovery_plan_execution_step(params = {}, = {}) req = build_request(:get_recovery_plan_execution_step, params) req.send_request() end |
#get_recovery_plan_step(params = {}) ⇒ Types::GetRecoveryPlanStepResponse
Gets a Recovery Plan step by ARN.
2338 2339 2340 2341 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2338 def get_recovery_plan_step(params = {}, = {}) req = build_request(:get_recovery_plan_step, params) req.send_request() end |
#get_replication_configuration(params = {}) ⇒ Types::ReplicationConfiguration
Gets a ReplicationConfiguration, filtered by Source Server ID.
2413 2414 2415 2416 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2413 def get_replication_configuration(params = {}, = {}) req = build_request(:get_replication_configuration, params) req.send_request() end |
#initialize_service(params = {}) ⇒ Struct
Initialize Elastic Disaster Recovery.
2426 2427 2428 2429 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2426 def initialize_service(params = {}, = {}) req = build_request(:initialize_service, params) req.send_request() end |
#list_extensible_source_servers(params = {}) ⇒ Types::ListExtensibleSourceServersResponse
Returns a list of source servers on a staging account that are extensible, which means that: a. The source server is not already extended into this Account. b. The source server on the Account we’re reading from is not an extension of another source server.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2474 2475 2476 2477 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2474 def list_extensible_source_servers(params = {}, = {}) req = build_request(:list_extensible_source_servers, params) req.send_request() end |
#list_launch_actions(params = {}) ⇒ Types::ListLaunchActionsResponse
Lists resource launch actions.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2534 2535 2536 2537 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2534 def list_launch_actions(params = {}, = {}) req = build_request(:list_launch_actions, params) req.send_request() end |
#list_recovery_plan_execution_steps(params = {}) ⇒ Types::ListRecoveryPlanExecutionStepsResponse
Lists all steps within a Recovery Plan execution.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2591 2592 2593 2594 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2591 def list_recovery_plan_execution_steps(params = {}, = {}) req = build_request(:list_recovery_plan_execution_steps, params) req.send_request() end |
#list_recovery_plan_executions(params = {}) ⇒ Types::ListRecoveryPlanExecutionsResponse
Lists executions of Recovery Plans, optionally filtered by plan or status.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2643 2644 2645 2646 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2643 def list_recovery_plan_executions(params = {}, = {}) req = build_request(:list_recovery_plan_executions, params) req.send_request() end |
#list_recovery_plan_steps(params = {}) ⇒ Types::ListRecoveryPlanStepsResponse
Lists all steps in a Recovery Plan.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2692 2693 2694 2695 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2692 def list_recovery_plan_steps(params = {}, = {}) req = build_request(:list_recovery_plan_steps, params) req.send_request() end |
#list_recovery_plans(params = {}) ⇒ Types::ListRecoveryPlansResponse
Lists all Recovery Plans in the account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2733 2734 2735 2736 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2733 def list_recovery_plans(params = {}, = {}) req = build_request(:list_recovery_plans, params) req.send_request() end |
#list_staging_accounts(params = {}) ⇒ Types::ListStagingAccountsResponse
Returns an array of staging accounts for existing extended source servers.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2771 2772 2773 2774 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2771 def list_staging_accounts(params = {}, = {}) req = build_request(:list_staging_accounts, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
List all tags for your Elastic Disaster Recovery resources.
2800 2801 2802 2803 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2800 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#put_launch_action(params = {}) ⇒ Types::PutLaunchActionResponse
Puts a resource launch action.
2897 2898 2899 2900 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2897 def put_launch_action(params = {}, = {}) req = build_request(:put_launch_action, params) req.send_request() end |
#reorder_recovery_plan_steps(params = {}) ⇒ Types::ReorderRecoveryPlanStepsResponse
Reorders steps in a Recovery Plan. Accepts a complete ordered list of step ARNs.
2939 2940 2941 2942 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 2939 def reorder_recovery_plan_steps(params = {}, = {}) req = build_request(:reorder_recovery_plan_steps, params) req.send_request() end |
#retry_data_replication(params = {}) ⇒ Types::SourceServer
WARNING: RetryDataReplication is deprecated. Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.
3048 3049 3050 3051 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 3048 def retry_data_replication(params = {}, = {}) req = build_request(:retry_data_replication, params) req.send_request() end |
#retry_recovery_plan_execution_step(params = {}) ⇒ Types::RetryRecoveryPlanExecutionStepResponse
Retries a failed SERVER type execution step.
3089 3090 3091 3092 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 3089 def retry_recovery_plan_execution_step(params = {}, = {}) req = build_request(:retry_recovery_plan_execution_step, params) req.send_request() end |
#reverse_replication(params = {}) ⇒ Types::ReverseReplicationResponse
Start replication to origin / target region - applies only to protected instances that originated in EC2. For recovery instances on target region - starts replication back to origin region. For failback instances on origin region - starts replication to target region to re-protect them.
3122 3123 3124 3125 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 3122 def reverse_replication(params = {}, = {}) req = build_request(:reverse_replication, params) req.send_request() end |
#start_failback_launch(params = {}) ⇒ Types::StartFailbackLaunchResponse
Initiates a Job for launching the machine that is being failed back to from the specified Recovery Instance. This will run conversion on the failback client and will reboot your machine, thus completing the failback process.
3193 3194 3195 3196 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 3193 def start_failback_launch(params = {}, = {}) req = build_request(:start_failback_launch, params) req.send_request() end |
#start_recovery(params = {}) ⇒ Types::StartRecoveryResponse
Launches Recovery Instances for the specified Source Servers. For each Source Server you may choose a point in time snapshot to launch from, or use an on demand snapshot.
3271 3272 3273 3274 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 3271 def start_recovery(params = {}, = {}) req = build_request(:start_recovery, params) req.send_request() end |
#start_recovery_plan_execution(params = {}) ⇒ Types::StartRecoveryPlanExecutionResponse
Starts executing a Recovery Plan in DRILL or RECOVERY mode. A plan
cannot have more than one execution in a non-terminal status at a
time.
3337 3338 3339 3340 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 3337 def start_recovery_plan_execution(params = {}, = {}) req = build_request(:start_recovery_plan_execution, params) req.send_request() end |
#start_replication(params = {}) ⇒ Types::StartReplicationResponse
Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it.
3430 3431 3432 3433 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 3430 def start_replication(params = {}, = {}) req = build_request(:start_replication, params) req.send_request() end |
#start_source_network_recovery(params = {}) ⇒ Types::StartSourceNetworkRecoveryResponse
Deploy VPC for the specified Source Network and modify launch templates to use this network. The VPC will be deployed using a dedicated CloudFormation stack.
3509 3510 3511 3512 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 3509 def start_source_network_recovery(params = {}, = {}) req = build_request(:start_source_network_recovery, params) req.send_request() end |
#start_source_network_replication(params = {}) ⇒ Types::StartSourceNetworkReplicationResponse
Starts replication for a Source Network. This action would make the Source Network protected.
3551 3552 3553 3554 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 3551 def start_source_network_replication(params = {}, = {}) req = build_request(:start_source_network_replication, params) req.send_request() end |
#stop_failback(params = {}) ⇒ Struct
Stops the failback process for a specified Recovery Instance. This changes the Failback State of the Recovery Instance back to FAILBACK_NOT_STARTED.
3575 3576 3577 3578 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 3575 def stop_failback(params = {}, = {}) req = build_request(:stop_failback, params) req.send_request() end |
#stop_replication(params = {}) ⇒ Types::StopReplicationResponse
Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it.
3669 3670 3671 3672 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 3669 def stop_replication(params = {}, = {}) req = build_request(:stop_replication, params) req.send_request() end |
#stop_source_network_replication(params = {}) ⇒ Types::StopSourceNetworkReplicationResponse
Stops replication for a Source Network. This action would make the Source Network unprotected.
3711 3712 3713 3714 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 3711 def stop_source_network_replication(params = {}, = {}) req = build_request(:stop_source_network_replication, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery 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.
3743 3744 3745 3746 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 3743 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#terminate_recovery_instances(params = {}) ⇒ Types::TerminateRecoveryInstancesResponse
Initiates a Job for terminating the EC2 resources associated with the specified Recovery Instances, and then will delete the Recovery Instances from the Elastic Disaster Recovery service.
3806 3807 3808 3809 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 3806 def terminate_recovery_instances(params = {}, = {}) req = build_request(:terminate_recovery_instances, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Deletes the specified set of tags from the specified set of Elastic Disaster Recovery resources.
3833 3834 3835 3836 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 3833 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_failback_replication_configuration(params = {}) ⇒ Struct
Allows you to update the failback replication configuration of a Recovery Instance by ID.
3875 3876 3877 3878 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 3875 def update_failback_replication_configuration(params = {}, = {}) req = build_request(:update_failback_replication_configuration, params) req.send_request() end |
#update_launch_configuration(params = {}) ⇒ Types::LaunchConfiguration
Updates a LaunchConfiguration by Source Server ID.
3969 3970 3971 3972 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 3969 def update_launch_configuration(params = {}, = {}) req = build_request(:update_launch_configuration, params) req.send_request() end |
#update_launch_configuration_template(params = {}) ⇒ Types::UpdateLaunchConfigurationTemplateResponse
Updates an existing Launch Configuration Template by ID.
4049 4050 4051 4052 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 4049 def update_launch_configuration_template(params = {}, = {}) req = build_request(:update_launch_configuration_template, params) req.send_request() end |
#update_recovery_plan(params = {}) ⇒ Types::UpdateRecoveryPlanResponse
Updates a Recovery Plan's name or description.
4092 4093 4094 4095 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 4092 def update_recovery_plan(params = {}, = {}) req = build_request(:update_recovery_plan, params) req.send_request() end |
#update_recovery_plan_execution_step(params = {}) ⇒ Types::UpdateRecoveryPlanExecutionStepResponse
Updates an execution step. Supports two actions: (1) skip a step that
is in NOT_STARTED or FAILED status; (2) update the wait duration
of a WAIT type step that is in NOT_STARTED status.
4155 4156 4157 4158 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 4155 def update_recovery_plan_execution_step(params = {}, = {}) req = build_request(:update_recovery_plan_execution_step, params) req.send_request() end |
#update_recovery_plan_step(params = {}) ⇒ Types::UpdateRecoveryPlanStepResponse
Updates a Recovery Plan step's name or configuration. Step type is immutable.
4213 4214 4215 4216 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 4213 def update_recovery_plan_step(params = {}, = {}) req = build_request(:update_recovery_plan_step, params) req.send_request() end |
#update_replication_configuration(params = {}) ⇒ Types::ReplicationConfiguration
Allows you to update a ReplicationConfiguration by Source Server ID.
4383 4384 4385 4386 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 4383 def update_replication_configuration(params = {}, = {}) req = build_request(:update_replication_configuration, params) req.send_request() end |
#update_replication_configuration_template(params = {}) ⇒ Types::ReplicationConfigurationTemplate
Updates a ReplicationConfigurationTemplate by ID.
4535 4536 4537 4538 |
# File 'gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb', line 4535 def update_replication_configuration_template(params = {}, = {}) req = build_request(:update_replication_configuration_template, params) req.send_request() end |