aws-sdk-drs 1.68.0 → 1.69.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/aws-sdk-drs.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::Drs
54
54
  autoload :EndpointProvider, 'aws-sdk-drs/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-drs/endpoints'
56
56
 
57
- GEM_VERSION = '1.68.0'
57
+ GEM_VERSION = '1.69.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -89,6 +89,16 @@ module Aws
89
89
  ) -> _AssociateSourceNetworkStackResponseSuccess
90
90
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateSourceNetworkStackResponseSuccess
91
91
 
92
+ interface _CancelRecoveryPlanExecutionResponseSuccess
93
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelRecoveryPlanExecutionResponse]
94
+ def recovery_plan_execution: () -> Types::RecoveryPlanExecution
95
+ end
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#cancel_recovery_plan_execution-instance_method
97
+ def cancel_recovery_plan_execution: (
98
+ recovery_plan_execution_arn: ::String
99
+ ) -> _CancelRecoveryPlanExecutionResponseSuccess
100
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelRecoveryPlanExecutionResponseSuccess
101
+
92
102
  interface _CreateExtendedSourceServerResponseSuccess
93
103
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateExtendedSourceServerResponse]
94
104
  def source_server: () -> Types::SourceServer
@@ -121,6 +131,33 @@ module Aws
121
131
  ) -> _CreateLaunchConfigurationTemplateResponseSuccess
122
132
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLaunchConfigurationTemplateResponseSuccess
123
133
 
134
+ interface _CreateRecoveryPlanResponseSuccess
135
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRecoveryPlanResponse]
136
+ def recovery_plan: () -> Types::RecoveryPlan
137
+ end
138
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#create_recovery_plan-instance_method
139
+ def create_recovery_plan: (
140
+ name: ::String,
141
+ ?description: ::String,
142
+ ?client_token: ::String,
143
+ ?tags: Hash[::String, ::String]
144
+ ) -> _CreateRecoveryPlanResponseSuccess
145
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRecoveryPlanResponseSuccess
146
+
147
+ interface _CreateRecoveryPlanStepResponseSuccess
148
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRecoveryPlanStepResponse]
149
+ def recovery_plan_step: () -> Types::RecoveryPlanStep
150
+ end
151
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#create_recovery_plan_step-instance_method
152
+ def create_recovery_plan_step: (
153
+ recovery_plan_arn: ::String,
154
+ step_name: ::String,
155
+ ?step_order: ::Integer,
156
+ configuration: Params::recovery_plan_step_configuration,
157
+ ?client_token: ::String
158
+ ) -> _CreateRecoveryPlanStepResponseSuccess
159
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRecoveryPlanStepResponseSuccess
160
+
124
161
  interface _CreateReplicationConfigurationTemplateResponseSuccess
125
162
  include ::Seahorse::Client::_ResponseSuccess[Types::ReplicationConfigurationTemplate]
126
163
  def replication_configuration_template_id: () -> ::String
@@ -218,6 +255,36 @@ module Aws
218
255
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
219
256
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
220
257
 
258
+ interface _DeleteRecoveryPlanResponseSuccess
259
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRecoveryPlanResponse]
260
+ def recovery_plan_arn: () -> ::String
261
+ end
262
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#delete_recovery_plan-instance_method
263
+ def delete_recovery_plan: (
264
+ recovery_plan_arn: ::String
265
+ ) -> _DeleteRecoveryPlanResponseSuccess
266
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRecoveryPlanResponseSuccess
267
+
268
+ interface _DeleteRecoveryPlanExecutionResponseSuccess
269
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRecoveryPlanExecutionResponse]
270
+ def recovery_plan_execution_arn: () -> ::String
271
+ end
272
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#delete_recovery_plan_execution-instance_method
273
+ def delete_recovery_plan_execution: (
274
+ recovery_plan_execution_arn: ::String
275
+ ) -> _DeleteRecoveryPlanExecutionResponseSuccess
276
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRecoveryPlanExecutionResponseSuccess
277
+
278
+ interface _DeleteRecoveryPlanStepResponseSuccess
279
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRecoveryPlanStepResponse]
280
+ def recovery_plan_step_arn: () -> ::String
281
+ end
282
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#delete_recovery_plan_step-instance_method
283
+ def delete_recovery_plan_step: (
284
+ recovery_plan_step_arn: ::String
285
+ ) -> _DeleteRecoveryPlanStepResponseSuccess
286
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRecoveryPlanStepResponseSuccess
287
+
221
288
  interface _DeleteReplicationConfigurationTemplateResponseSuccess
222
289
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteReplicationConfigurationTemplateResponse]
223
290
  end
@@ -442,6 +509,46 @@ module Aws
442
509
  ) -> _GetLaunchConfigurationResponseSuccess
443
510
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLaunchConfigurationResponseSuccess
444
511
 
512
+ interface _GetRecoveryPlanResponseSuccess
513
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRecoveryPlanResponse]
514
+ def recovery_plan: () -> Types::RecoveryPlan
515
+ end
516
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#get_recovery_plan-instance_method
517
+ def get_recovery_plan: (
518
+ recovery_plan_arn: ::String
519
+ ) -> _GetRecoveryPlanResponseSuccess
520
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRecoveryPlanResponseSuccess
521
+
522
+ interface _GetRecoveryPlanExecutionResponseSuccess
523
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRecoveryPlanExecutionResponse]
524
+ def recovery_plan_execution: () -> Types::RecoveryPlanExecution
525
+ end
526
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#get_recovery_plan_execution-instance_method
527
+ def get_recovery_plan_execution: (
528
+ recovery_plan_execution_arn: ::String
529
+ ) -> _GetRecoveryPlanExecutionResponseSuccess
530
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRecoveryPlanExecutionResponseSuccess
531
+
532
+ interface _GetRecoveryPlanExecutionStepResponseSuccess
533
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRecoveryPlanExecutionStepResponse]
534
+ def recovery_plan_execution_step: () -> Types::RecoveryPlanExecutionStep
535
+ end
536
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#get_recovery_plan_execution_step-instance_method
537
+ def get_recovery_plan_execution_step: (
538
+ recovery_plan_execution_step_arn: ::String
539
+ ) -> _GetRecoveryPlanExecutionStepResponseSuccess
540
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRecoveryPlanExecutionStepResponseSuccess
541
+
542
+ interface _GetRecoveryPlanStepResponseSuccess
543
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRecoveryPlanStepResponse]
544
+ def recovery_plan_step: () -> Types::RecoveryPlanStep
545
+ end
546
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#get_recovery_plan_step-instance_method
547
+ def get_recovery_plan_step: (
548
+ recovery_plan_step_arn: ::String
549
+ ) -> _GetRecoveryPlanStepResponseSuccess
550
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRecoveryPlanStepResponseSuccess
551
+
445
552
  interface _GetReplicationConfigurationResponseSuccess
446
553
  include ::Seahorse::Client::_ResponseSuccess[Types::ReplicationConfiguration]
447
554
  def source_server_id: () -> ::String
@@ -506,6 +613,61 @@ module Aws
506
613
  ) -> _ListLaunchActionsResponseSuccess
507
614
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLaunchActionsResponseSuccess
508
615
 
616
+ interface _ListRecoveryPlanExecutionStepsResponseSuccess
617
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRecoveryPlanExecutionStepsResponse]
618
+ def recovery_plan_execution_steps: () -> ::Array[Types::RecoveryPlanExecutionStepSummary]
619
+ def next_token: () -> ::String
620
+ end
621
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#list_recovery_plan_execution_steps-instance_method
622
+ def list_recovery_plan_execution_steps: (
623
+ recovery_plan_execution_arn: ::String,
624
+ ?filter: {
625
+ status: ("NOT_STARTED" | "EXECUTING" | "WAITING" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "SKIPPED")?
626
+ },
627
+ ?max_results: ::Integer,
628
+ ?next_token: ::String
629
+ ) -> _ListRecoveryPlanExecutionStepsResponseSuccess
630
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRecoveryPlanExecutionStepsResponseSuccess
631
+
632
+ interface _ListRecoveryPlanExecutionsResponseSuccess
633
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRecoveryPlanExecutionsResponse]
634
+ def recovery_plan_executions: () -> ::Array[Types::RecoveryPlanExecutionSummary]
635
+ def next_token: () -> ::String
636
+ end
637
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#list_recovery_plan_executions-instance_method
638
+ def list_recovery_plan_executions: (
639
+ ?recovery_plan_arn: ::String,
640
+ ?status: ("CREATED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "CANCELLING" | "CANCELLED"),
641
+ ?max_results: ::Integer,
642
+ ?next_token: ::String
643
+ ) -> _ListRecoveryPlanExecutionsResponseSuccess
644
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRecoveryPlanExecutionsResponseSuccess
645
+
646
+ interface _ListRecoveryPlanStepsResponseSuccess
647
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRecoveryPlanStepsResponse]
648
+ def recovery_plan_steps: () -> ::Array[Types::RecoveryPlanStep]
649
+ def next_token: () -> ::String
650
+ end
651
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#list_recovery_plan_steps-instance_method
652
+ def list_recovery_plan_steps: (
653
+ recovery_plan_arn: ::String,
654
+ ?max_results: ::Integer,
655
+ ?next_token: ::String
656
+ ) -> _ListRecoveryPlanStepsResponseSuccess
657
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRecoveryPlanStepsResponseSuccess
658
+
659
+ interface _ListRecoveryPlansResponseSuccess
660
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRecoveryPlansResponse]
661
+ def recovery_plans: () -> ::Array[Types::RecoveryPlanSummary]
662
+ def next_token: () -> ::String
663
+ end
664
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#list_recovery_plans-instance_method
665
+ def list_recovery_plans: (
666
+ ?max_results: ::Integer,
667
+ ?next_token: ::String
668
+ ) -> _ListRecoveryPlansResponseSuccess
669
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRecoveryPlansResponseSuccess
670
+
509
671
  interface _ListStagingAccountsResponseSuccess
510
672
  include ::Seahorse::Client::_ResponseSuccess[Types::ListStagingAccountsResponse]
511
673
  def accounts: () -> ::Array[Types::Account]
@@ -562,6 +724,17 @@ module Aws
562
724
  ) -> _PutLaunchActionResponseSuccess
563
725
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutLaunchActionResponseSuccess
564
726
 
727
+ interface _ReorderRecoveryPlanStepsResponseSuccess
728
+ include ::Seahorse::Client::_ResponseSuccess[Types::ReorderRecoveryPlanStepsResponse]
729
+ def recovery_plan_steps: () -> ::Array[Types::RecoveryPlanStep]
730
+ end
731
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#reorder_recovery_plan_steps-instance_method
732
+ def reorder_recovery_plan_steps: (
733
+ recovery_plan_arn: ::String,
734
+ ordered_step_arns: Array[::String]
735
+ ) -> _ReorderRecoveryPlanStepsResponseSuccess
736
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ReorderRecoveryPlanStepsResponseSuccess
737
+
565
738
  interface _RetryDataReplicationResponseSuccess
566
739
  include ::Seahorse::Client::_ResponseSuccess[Types::SourceServer]
567
740
  def source_server_id: () -> ::String
@@ -585,6 +758,16 @@ module Aws
585
758
  ) -> _RetryDataReplicationResponseSuccess
586
759
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RetryDataReplicationResponseSuccess
587
760
 
761
+ interface _RetryRecoveryPlanExecutionStepResponseSuccess
762
+ include ::Seahorse::Client::_ResponseSuccess[Types::RetryRecoveryPlanExecutionStepResponse]
763
+ def recovery_plan_execution_step: () -> Types::RecoveryPlanExecutionStep
764
+ end
765
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#retry_recovery_plan_execution_step-instance_method
766
+ def retry_recovery_plan_execution_step: (
767
+ recovery_plan_execution_step_arn: ::String
768
+ ) -> _RetryRecoveryPlanExecutionStepResponseSuccess
769
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RetryRecoveryPlanExecutionStepResponseSuccess
770
+
588
771
  interface _ReverseReplicationResponseSuccess
589
772
  include ::Seahorse::Client::_ResponseSuccess[Types::ReverseReplicationResponse]
590
773
  def reversed_direction_source_server_arn: () -> ::String
@@ -623,6 +806,25 @@ module Aws
623
806
  ) -> _StartRecoveryResponseSuccess
624
807
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartRecoveryResponseSuccess
625
808
 
809
+ interface _StartRecoveryPlanExecutionResponseSuccess
810
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartRecoveryPlanExecutionResponse]
811
+ def recovery_plan_execution: () -> Types::RecoveryPlanExecution
812
+ end
813
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#start_recovery_plan_execution-instance_method
814
+ def start_recovery_plan_execution: (
815
+ recovery_plan_arn: ::String,
816
+ mode: ("DRILL" | "RECOVERY"),
817
+ ?client_token: ::String,
818
+ ?source_servers: Array[
819
+ {
820
+ source_server_id: ::String,
821
+ recovery_snapshot_id: ::String
822
+ }
823
+ ],
824
+ ?tags: Hash[::String, ::String]
825
+ ) -> _StartRecoveryPlanExecutionResponseSuccess
826
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartRecoveryPlanExecutionResponseSuccess
827
+
626
828
  interface _StartReplicationResponseSuccess
627
829
  include ::Seahorse::Client::_ResponseSuccess[Types::StartReplicationResponse]
628
830
  def source_server: () -> Types::SourceServer
@@ -774,6 +976,48 @@ module Aws
774
976
  ) -> _UpdateLaunchConfigurationTemplateResponseSuccess
775
977
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLaunchConfigurationTemplateResponseSuccess
776
978
 
979
+ interface _UpdateRecoveryPlanResponseSuccess
980
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRecoveryPlanResponse]
981
+ def recovery_plan: () -> Types::RecoveryPlan
982
+ end
983
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#update_recovery_plan-instance_method
984
+ def update_recovery_plan: (
985
+ recovery_plan_arn: ::String,
986
+ ?name: ::String,
987
+ ?description: ::String
988
+ ) -> _UpdateRecoveryPlanResponseSuccess
989
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRecoveryPlanResponseSuccess
990
+
991
+ interface _UpdateRecoveryPlanExecutionStepResponseSuccess
992
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRecoveryPlanExecutionStepResponse]
993
+ def recovery_plan_execution_step: () -> Types::RecoveryPlanExecutionStep
994
+ end
995
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#update_recovery_plan_execution_step-instance_method
996
+ def update_recovery_plan_execution_step: (
997
+ recovery_plan_execution_step_arn: ::String,
998
+ ?status: ("NOT_STARTED" | "EXECUTING" | "WAITING" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "SKIPPED"),
999
+ ?servers: Array[
1000
+ {
1001
+ server_arn: ::String,
1002
+ impact_level: ("CRITICAL" | "OPTIONAL")?
1003
+ }
1004
+ ],
1005
+ ?wait_duration_minutes: ::Integer
1006
+ ) -> _UpdateRecoveryPlanExecutionStepResponseSuccess
1007
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRecoveryPlanExecutionStepResponseSuccess
1008
+
1009
+ interface _UpdateRecoveryPlanStepResponseSuccess
1010
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRecoveryPlanStepResponse]
1011
+ def recovery_plan_step: () -> Types::RecoveryPlanStep
1012
+ end
1013
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Drs/Client.html#update_recovery_plan_step-instance_method
1014
+ def update_recovery_plan_step: (
1015
+ recovery_plan_step_arn: ::String,
1016
+ ?step_name: ::String,
1017
+ ?configuration: Params::recovery_plan_step_configuration
1018
+ ) -> _UpdateRecoveryPlanStepResponseSuccess
1019
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRecoveryPlanStepResponseSuccess
1020
+
777
1021
  interface _UpdateReplicationConfigurationResponseSuccess
778
1022
  include ::Seahorse::Client::_ResponseSuccess[Types::ReplicationConfiguration]
779
1023
  def source_server_id: () -> ::String
data/sig/params.rbs ADDED
@@ -0,0 +1,27 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Drs
10
+ module Params
11
+ type recovery_plan_step_configuration = {
12
+ server_step_configuration: {
13
+ servers: Array[
14
+ {
15
+ server_arn: ::String,
16
+ impact_level: ("CRITICAL" | "OPTIONAL")?
17
+ }
18
+ ]
19
+ }?,
20
+ wait_step_configuration: {
21
+ wait_duration_minutes: ::Integer
22
+ }?
23
+ }
24
+
25
+ end
26
+ end
27
+ end