aws-sdk-arcregionswitch 1.5.0 → 1.7.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-arcregionswitch/client.rb +212 -10
- data/lib/aws-sdk-arcregionswitch/client_api.rb +109 -0
- data/lib/aws-sdk-arcregionswitch/endpoint_parameters.rb +4 -4
- data/lib/aws-sdk-arcregionswitch/types.rb +298 -1
- data/lib/aws-sdk-arcregionswitch.rb +1 -1
- data/sig/client.rbs +61 -3
- data/sig/types.rbs +95 -3
- metadata +1 -1
data/sig/types.rbs
CHANGED
|
@@ -103,6 +103,7 @@ module Aws::ARCRegionswitch
|
|
|
103
103
|
attr_accessor recovery_time_objective_minutes: ::Integer
|
|
104
104
|
attr_accessor associated_alarms: ::Hash[::String, Types::AssociatedAlarm]
|
|
105
105
|
attr_accessor triggers: ::Array[Types::Trigger]
|
|
106
|
+
attr_accessor report_configuration: Types::ReportConfiguration
|
|
106
107
|
attr_accessor name: ::String
|
|
107
108
|
attr_accessor regions: ::Array[::String]
|
|
108
109
|
attr_accessor recovery_approach: ("activeActive" | "activePassive")
|
|
@@ -133,6 +134,22 @@ module Aws::ARCRegionswitch
|
|
|
133
134
|
class DeletePlanResponse < Aws::EmptyStructure
|
|
134
135
|
end
|
|
135
136
|
|
|
137
|
+
class DocumentDbConfiguration
|
|
138
|
+
attr_accessor timeout_minutes: ::Integer
|
|
139
|
+
attr_accessor cross_account_role: ::String
|
|
140
|
+
attr_accessor external_id: ::String
|
|
141
|
+
attr_accessor behavior: ("switchoverOnly" | "failover")
|
|
142
|
+
attr_accessor ungraceful: Types::DocumentDbUngraceful
|
|
143
|
+
attr_accessor global_cluster_identifier: ::String
|
|
144
|
+
attr_accessor database_cluster_arns: ::Array[::String]
|
|
145
|
+
SENSITIVE: []
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
class DocumentDbUngraceful
|
|
149
|
+
attr_accessor ungraceful: ("failover")
|
|
150
|
+
SENSITIVE: []
|
|
151
|
+
end
|
|
152
|
+
|
|
136
153
|
class Ec2AsgCapacityIncreaseConfiguration
|
|
137
154
|
attr_accessor timeout_minutes: ::Integer
|
|
138
155
|
attr_accessor asgs: ::Array[Types::Asg]
|
|
@@ -201,6 +218,7 @@ module Aws::ARCRegionswitch
|
|
|
201
218
|
attr_accessor ecs_capacity_increase_config: Types::EcsCapacityIncreaseConfiguration
|
|
202
219
|
attr_accessor eks_resource_scaling_config: Types::EksResourceScalingConfiguration
|
|
203
220
|
attr_accessor route53_health_check_config: Types::Route53HealthCheckConfiguration
|
|
221
|
+
attr_accessor document_db_config: Types::DocumentDbConfiguration
|
|
204
222
|
attr_accessor unknown: untyped
|
|
205
223
|
SENSITIVE: []
|
|
206
224
|
|
|
@@ -224,15 +242,17 @@ module Aws::ARCRegionswitch
|
|
|
224
242
|
end
|
|
225
243
|
class Route53HealthCheckConfig < ExecutionBlockConfiguration
|
|
226
244
|
end
|
|
245
|
+
class DocumentDbConfig < ExecutionBlockConfiguration
|
|
246
|
+
end
|
|
227
247
|
class Unknown < ExecutionBlockConfiguration
|
|
228
248
|
end
|
|
229
249
|
end
|
|
230
250
|
|
|
231
251
|
class ExecutionEvent
|
|
232
252
|
attr_accessor timestamp: ::Time
|
|
233
|
-
attr_accessor type: ("unknown" | "executionPending" | "executionStarted" | "executionSucceeded" | "executionFailed" | "executionPausing" | "executionPaused" | "executionCanceling" | "executionCanceled" | "executionPendingApproval" | "executionBehaviorChangedToUngraceful" | "executionBehaviorChangedToGraceful" | "executionPendingChildPlanManualApproval" | "executionSuccessMonitoringApplicationHealth" | "stepStarted" | "stepUpdate" | "stepSucceeded" | "stepFailed" | "stepSkipped" | "stepPausedByError" | "stepPausedByOperator" | "stepCanceled" | "stepPendingApproval" | "stepExecutionBehaviorChangedToUngraceful" | "stepPendingApplicationHealthMonitor")
|
|
253
|
+
attr_accessor type: ("unknown" | "executionPending" | "executionStarted" | "executionSucceeded" | "executionFailed" | "executionPausing" | "executionPaused" | "executionCanceling" | "executionCanceled" | "executionPendingApproval" | "executionBehaviorChangedToUngraceful" | "executionBehaviorChangedToGraceful" | "executionPendingChildPlanManualApproval" | "executionSuccessMonitoringApplicationHealth" | "stepStarted" | "stepUpdate" | "stepSucceeded" | "stepFailed" | "stepSkipped" | "stepPausedByError" | "stepPausedByOperator" | "stepCanceled" | "stepPendingApproval" | "stepExecutionBehaviorChangedToUngraceful" | "stepPendingApplicationHealthMonitor" | "planEvaluationWarning")
|
|
234
254
|
attr_accessor step_name: ::String
|
|
235
|
-
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck")
|
|
255
|
+
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb")
|
|
236
256
|
attr_accessor resources: ::Array[::String]
|
|
237
257
|
attr_accessor error: ::String
|
|
238
258
|
attr_accessor description: ::String
|
|
@@ -241,6 +261,18 @@ module Aws::ARCRegionswitch
|
|
|
241
261
|
SENSITIVE: []
|
|
242
262
|
end
|
|
243
263
|
|
|
264
|
+
class FailedReportOutput
|
|
265
|
+
attr_accessor error_code: ("insufficientPermissions" | "invalidResource" | "configurationError")
|
|
266
|
+
attr_accessor error_message: ::String
|
|
267
|
+
SENSITIVE: []
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
class GeneratedReport
|
|
271
|
+
attr_accessor report_generation_time: ::Time
|
|
272
|
+
attr_accessor report_output: Types::ReportOutput
|
|
273
|
+
SENSITIVE: []
|
|
274
|
+
end
|
|
275
|
+
|
|
244
276
|
class GetPlanEvaluationStatusRequest
|
|
245
277
|
attr_accessor plan_arn: ::String
|
|
246
278
|
attr_accessor max_results: ::Integer
|
|
@@ -282,6 +314,7 @@ module Aws::ARCRegionswitch
|
|
|
282
314
|
attr_accessor step_states: ::Array[Types::StepState]
|
|
283
315
|
attr_accessor plan: Types::Plan
|
|
284
316
|
attr_accessor actual_recovery_time: ::String
|
|
317
|
+
attr_accessor generated_report_details: ::Array[Types::GeneratedReport]
|
|
285
318
|
attr_accessor next_token: ::String
|
|
286
319
|
SENSITIVE: []
|
|
287
320
|
end
|
|
@@ -415,6 +448,21 @@ module Aws::ARCRegionswitch
|
|
|
415
448
|
SENSITIVE: []
|
|
416
449
|
end
|
|
417
450
|
|
|
451
|
+
class ListRoute53HealthChecksInRegionRequest
|
|
452
|
+
attr_accessor arn: ::String
|
|
453
|
+
attr_accessor hosted_zone_id: ::String
|
|
454
|
+
attr_accessor record_name: ::String
|
|
455
|
+
attr_accessor max_results: ::Integer
|
|
456
|
+
attr_accessor next_token: ::String
|
|
457
|
+
SENSITIVE: []
|
|
458
|
+
end
|
|
459
|
+
|
|
460
|
+
class ListRoute53HealthChecksInRegionResponse
|
|
461
|
+
attr_accessor health_checks: ::Array[Types::Route53HealthCheck]
|
|
462
|
+
attr_accessor next_token: ::String
|
|
463
|
+
SENSITIVE: []
|
|
464
|
+
end
|
|
465
|
+
|
|
418
466
|
class ListRoute53HealthChecksRequest
|
|
419
467
|
attr_accessor arn: ::String
|
|
420
468
|
attr_accessor hosted_zone_id: ::String
|
|
@@ -459,6 +507,7 @@ module Aws::ARCRegionswitch
|
|
|
459
507
|
attr_accessor recovery_time_objective_minutes: ::Integer
|
|
460
508
|
attr_accessor associated_alarms: ::Hash[::String, Types::AssociatedAlarm]
|
|
461
509
|
attr_accessor triggers: ::Array[Types::Trigger]
|
|
510
|
+
attr_accessor report_configuration: Types::ReportConfiguration
|
|
462
511
|
attr_accessor name: ::String
|
|
463
512
|
attr_accessor regions: ::Array[::String]
|
|
464
513
|
attr_accessor recovery_approach: ("activeActive" | "activePassive")
|
|
@@ -476,6 +525,36 @@ module Aws::ARCRegionswitch
|
|
|
476
525
|
SENSITIVE: []
|
|
477
526
|
end
|
|
478
527
|
|
|
528
|
+
class ReportConfiguration
|
|
529
|
+
attr_accessor report_output: ::Array[Types::ReportOutputConfiguration]
|
|
530
|
+
SENSITIVE: []
|
|
531
|
+
end
|
|
532
|
+
|
|
533
|
+
class ReportOutput
|
|
534
|
+
attr_accessor s3_report_output: Types::S3ReportOutput
|
|
535
|
+
attr_accessor failed_report_output: Types::FailedReportOutput
|
|
536
|
+
attr_accessor unknown: untyped
|
|
537
|
+
SENSITIVE: []
|
|
538
|
+
|
|
539
|
+
class S3ReportOutput < ReportOutput
|
|
540
|
+
end
|
|
541
|
+
class FailedReportOutput < ReportOutput
|
|
542
|
+
end
|
|
543
|
+
class Unknown < ReportOutput
|
|
544
|
+
end
|
|
545
|
+
end
|
|
546
|
+
|
|
547
|
+
class ReportOutputConfiguration
|
|
548
|
+
attr_accessor s3_configuration: Types::S3ReportOutputConfiguration
|
|
549
|
+
attr_accessor unknown: untyped
|
|
550
|
+
SENSITIVE: []
|
|
551
|
+
|
|
552
|
+
class S3Configuration < ReportOutputConfiguration
|
|
553
|
+
end
|
|
554
|
+
class Unknown < ReportOutputConfiguration
|
|
555
|
+
end
|
|
556
|
+
end
|
|
557
|
+
|
|
479
558
|
class ResourceNotFoundException
|
|
480
559
|
attr_accessor message: ::String
|
|
481
560
|
SENSITIVE: []
|
|
@@ -496,6 +575,7 @@ module Aws::ARCRegionswitch
|
|
|
496
575
|
attr_accessor hosted_zone_id: ::String
|
|
497
576
|
attr_accessor record_name: ::String
|
|
498
577
|
attr_accessor health_check_id: ::String
|
|
578
|
+
attr_accessor status: ("healthy" | "unhealthy" | "unknown")
|
|
499
579
|
attr_accessor region: ::String
|
|
500
580
|
SENSITIVE: []
|
|
501
581
|
end
|
|
@@ -516,6 +596,17 @@ module Aws::ARCRegionswitch
|
|
|
516
596
|
SENSITIVE: []
|
|
517
597
|
end
|
|
518
598
|
|
|
599
|
+
class S3ReportOutput
|
|
600
|
+
attr_accessor s3_object_key: ::String
|
|
601
|
+
SENSITIVE: []
|
|
602
|
+
end
|
|
603
|
+
|
|
604
|
+
class S3ReportOutputConfiguration
|
|
605
|
+
attr_accessor bucket_path: ::String
|
|
606
|
+
attr_accessor bucket_owner: ::String
|
|
607
|
+
SENSITIVE: []
|
|
608
|
+
end
|
|
609
|
+
|
|
519
610
|
class Service
|
|
520
611
|
attr_accessor cross_account_role: ::String
|
|
521
612
|
attr_accessor external_id: ::String
|
|
@@ -547,7 +638,7 @@ module Aws::ARCRegionswitch
|
|
|
547
638
|
attr_accessor name: ::String
|
|
548
639
|
attr_accessor description: ::String
|
|
549
640
|
attr_accessor execution_block_configuration: Types::ExecutionBlockConfiguration
|
|
550
|
-
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck")
|
|
641
|
+
attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb")
|
|
551
642
|
SENSITIVE: []
|
|
552
643
|
end
|
|
553
644
|
|
|
@@ -624,6 +715,7 @@ module Aws::ARCRegionswitch
|
|
|
624
715
|
attr_accessor recovery_time_objective_minutes: ::Integer
|
|
625
716
|
attr_accessor associated_alarms: ::Hash[::String, Types::AssociatedAlarm]
|
|
626
717
|
attr_accessor triggers: ::Array[Types::Trigger]
|
|
718
|
+
attr_accessor report_configuration: Types::ReportConfiguration
|
|
627
719
|
SENSITIVE: []
|
|
628
720
|
end
|
|
629
721
|
|