aws-sdk-arcregionswitch 1.0.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/sig/types.rbs ADDED
@@ -0,0 +1,643 @@
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::ARCRegionswitch
9
+ module Types
10
+
11
+ class AbbreviatedExecution
12
+ attr_accessor plan_arn: ::String
13
+ attr_accessor execution_id: ::String
14
+ attr_accessor version: ::String
15
+ attr_accessor updated_at: ::Time
16
+ attr_accessor comment: ::String
17
+ attr_accessor start_time: ::Time
18
+ attr_accessor end_time: ::Time
19
+ attr_accessor mode: ("graceful" | "ungraceful")
20
+ attr_accessor execution_state: ("inProgress" | "pausedByFailedStep" | "pausedByOperator" | "completed" | "completedWithExceptions" | "canceled" | "planExecutionTimedOut" | "pendingManualApproval" | "failed" | "pending" | "completedMonitoringApplicationHealth")
21
+ attr_accessor execution_action: ("activate" | "deactivate")
22
+ attr_accessor execution_region: ::String
23
+ attr_accessor actual_recovery_time: ::String
24
+ SENSITIVE: []
25
+ end
26
+
27
+ class AbbreviatedPlan
28
+ attr_accessor arn: ::String
29
+ attr_accessor owner: ::String
30
+ attr_accessor name: ::String
31
+ attr_accessor regions: ::Array[::String]
32
+ attr_accessor recovery_approach: ("activeActive" | "activePassive")
33
+ attr_accessor primary_region: ::String
34
+ attr_accessor version: ::String
35
+ attr_accessor updated_at: ::Time
36
+ attr_accessor description: ::String
37
+ attr_accessor execution_role: ::String
38
+ attr_accessor active_plan_execution: ::String
39
+ attr_accessor recovery_time_objective_minutes: ::Integer
40
+ SENSITIVE: []
41
+ end
42
+
43
+ class AccessDeniedException
44
+ attr_accessor message: ::String
45
+ SENSITIVE: []
46
+ end
47
+
48
+ class ApprovePlanExecutionStepRequest
49
+ attr_accessor plan_arn: ::String
50
+ attr_accessor execution_id: ::String
51
+ attr_accessor step_name: ::String
52
+ attr_accessor approval: ("approve" | "decline")
53
+ attr_accessor comment: ::String
54
+ SENSITIVE: []
55
+ end
56
+
57
+ class ApprovePlanExecutionStepResponse < Aws::EmptyStructure
58
+ end
59
+
60
+ class ArcRoutingControlConfiguration
61
+ attr_accessor timeout_minutes: ::Integer
62
+ attr_accessor cross_account_role: ::String
63
+ attr_accessor external_id: ::String
64
+ attr_accessor region_and_routing_controls: ::Hash[::String, ::Array[Types::ArcRoutingControlState]]
65
+ SENSITIVE: []
66
+ end
67
+
68
+ class ArcRoutingControlState
69
+ attr_accessor routing_control_arn: ::String
70
+ attr_accessor state: ("On" | "Off")
71
+ SENSITIVE: []
72
+ end
73
+
74
+ class Asg
75
+ attr_accessor cross_account_role: ::String
76
+ attr_accessor external_id: ::String
77
+ attr_accessor arn: ::String
78
+ SENSITIVE: []
79
+ end
80
+
81
+ class AssociatedAlarm
82
+ attr_accessor cross_account_role: ::String
83
+ attr_accessor external_id: ::String
84
+ attr_accessor resource_identifier: ::String
85
+ attr_accessor alarm_type: ("applicationHealth" | "trigger")
86
+ SENSITIVE: []
87
+ end
88
+
89
+ class CancelPlanExecutionRequest
90
+ attr_accessor plan_arn: ::String
91
+ attr_accessor execution_id: ::String
92
+ attr_accessor comment: ::String
93
+ SENSITIVE: []
94
+ end
95
+
96
+ class CancelPlanExecutionResponse < Aws::EmptyStructure
97
+ end
98
+
99
+ class CreatePlanRequest
100
+ attr_accessor description: ::String
101
+ attr_accessor workflows: ::Array[Types::Workflow]
102
+ attr_accessor execution_role: ::String
103
+ attr_accessor recovery_time_objective_minutes: ::Integer
104
+ attr_accessor associated_alarms: ::Hash[::String, Types::AssociatedAlarm]
105
+ attr_accessor triggers: ::Array[Types::Trigger]
106
+ attr_accessor name: ::String
107
+ attr_accessor regions: ::Array[::String]
108
+ attr_accessor recovery_approach: ("activeActive" | "activePassive")
109
+ attr_accessor primary_region: ::String
110
+ attr_accessor tags: ::Hash[::String, ::String]
111
+ SENSITIVE: []
112
+ end
113
+
114
+ class CreatePlanResponse
115
+ attr_accessor plan: Types::Plan
116
+ SENSITIVE: []
117
+ end
118
+
119
+ class CustomActionLambdaConfiguration
120
+ attr_accessor timeout_minutes: ::Integer
121
+ attr_accessor lambdas: ::Array[Types::Lambdas]
122
+ attr_accessor retry_interval_minutes: ::Float
123
+ attr_accessor region_to_run: ("activatingRegion" | "deactivatingRegion")
124
+ attr_accessor ungraceful: Types::LambdaUngraceful
125
+ SENSITIVE: []
126
+ end
127
+
128
+ class DeletePlanRequest
129
+ attr_accessor arn: ::String
130
+ SENSITIVE: []
131
+ end
132
+
133
+ class DeletePlanResponse < Aws::EmptyStructure
134
+ end
135
+
136
+ class Ec2AsgCapacityIncreaseConfiguration
137
+ attr_accessor timeout_minutes: ::Integer
138
+ attr_accessor asgs: ::Array[Types::Asg]
139
+ attr_accessor ungraceful: Types::Ec2Ungraceful
140
+ attr_accessor target_percent: ::Integer
141
+ attr_accessor capacity_monitoring_approach: ("sampledMaxInLast24Hours" | "autoscalingMaxInLast24Hours")
142
+ SENSITIVE: []
143
+ end
144
+
145
+ class Ec2Ungraceful
146
+ attr_accessor minimum_success_percentage: ::Integer
147
+ SENSITIVE: []
148
+ end
149
+
150
+ class EcsCapacityIncreaseConfiguration
151
+ attr_accessor timeout_minutes: ::Integer
152
+ attr_accessor services: ::Array[Types::Service]
153
+ attr_accessor ungraceful: Types::EcsUngraceful
154
+ attr_accessor target_percent: ::Integer
155
+ attr_accessor capacity_monitoring_approach: ("sampledMaxInLast24Hours" | "containerInsightsMaxInLast24Hours")
156
+ SENSITIVE: []
157
+ end
158
+
159
+ class EcsUngraceful
160
+ attr_accessor minimum_success_percentage: ::Integer
161
+ SENSITIVE: []
162
+ end
163
+
164
+ class EksCluster
165
+ attr_accessor cross_account_role: ::String
166
+ attr_accessor external_id: ::String
167
+ attr_accessor cluster_arn: ::String
168
+ SENSITIVE: []
169
+ end
170
+
171
+ class EksResourceScalingConfiguration
172
+ attr_accessor timeout_minutes: ::Integer
173
+ attr_accessor kubernetes_resource_type: Types::KubernetesResourceType
174
+ attr_accessor scaling_resources: ::Array[::Hash[::String, ::Hash[::String, Types::KubernetesScalingResource]]]
175
+ attr_accessor eks_clusters: ::Array[Types::EksCluster]
176
+ attr_accessor ungraceful: Types::EksResourceScalingUngraceful
177
+ attr_accessor target_percent: ::Integer
178
+ attr_accessor capacity_monitoring_approach: ("sampledMaxInLast24Hours")
179
+ SENSITIVE: []
180
+ end
181
+
182
+ class EksResourceScalingUngraceful
183
+ attr_accessor minimum_success_percentage: ::Integer
184
+ SENSITIVE: []
185
+ end
186
+
187
+ class ExecutionApprovalConfiguration
188
+ attr_accessor timeout_minutes: ::Integer
189
+ attr_accessor approval_role: ::String
190
+ SENSITIVE: []
191
+ end
192
+
193
+ class ExecutionBlockConfiguration
194
+ attr_accessor custom_action_lambda_config: Types::CustomActionLambdaConfiguration
195
+ attr_accessor ec2_asg_capacity_increase_config: Types::Ec2AsgCapacityIncreaseConfiguration
196
+ attr_accessor execution_approval_config: Types::ExecutionApprovalConfiguration
197
+ attr_accessor arc_routing_control_config: Types::ArcRoutingControlConfiguration
198
+ attr_accessor global_aurora_config: Types::GlobalAuroraConfiguration
199
+ attr_accessor parallel_config: Types::ParallelExecutionBlockConfiguration
200
+ attr_accessor region_switch_plan_config: Types::RegionSwitchPlanConfiguration
201
+ attr_accessor ecs_capacity_increase_config: Types::EcsCapacityIncreaseConfiguration
202
+ attr_accessor eks_resource_scaling_config: Types::EksResourceScalingConfiguration
203
+ attr_accessor route53_health_check_config: Types::Route53HealthCheckConfiguration
204
+ attr_accessor unknown: untyped
205
+ SENSITIVE: []
206
+
207
+ class CustomActionLambdaConfig < ExecutionBlockConfiguration
208
+ end
209
+ class Ec2AsgCapacityIncreaseConfig < ExecutionBlockConfiguration
210
+ end
211
+ class ExecutionApprovalConfig < ExecutionBlockConfiguration
212
+ end
213
+ class ArcRoutingControlConfig < ExecutionBlockConfiguration
214
+ end
215
+ class GlobalAuroraConfig < ExecutionBlockConfiguration
216
+ end
217
+ class ParallelConfig < ExecutionBlockConfiguration
218
+ end
219
+ class RegionSwitchPlanConfig < ExecutionBlockConfiguration
220
+ end
221
+ class EcsCapacityIncreaseConfig < ExecutionBlockConfiguration
222
+ end
223
+ class EksResourceScalingConfig < ExecutionBlockConfiguration
224
+ end
225
+ class Route53HealthCheckConfig < ExecutionBlockConfiguration
226
+ end
227
+ class Unknown < ExecutionBlockConfiguration
228
+ end
229
+ end
230
+
231
+ class ExecutionEvent
232
+ 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")
234
+ attr_accessor step_name: ::String
235
+ attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck")
236
+ attr_accessor resources: ::Array[::String]
237
+ attr_accessor error: ::String
238
+ attr_accessor description: ::String
239
+ attr_accessor event_id: ::String
240
+ attr_accessor previous_event_id: ::String
241
+ SENSITIVE: []
242
+ end
243
+
244
+ class GetPlanEvaluationStatusRequest
245
+ attr_accessor plan_arn: ::String
246
+ attr_accessor max_results: ::Integer
247
+ attr_accessor next_token: ::String
248
+ SENSITIVE: []
249
+ end
250
+
251
+ class GetPlanEvaluationStatusResponse
252
+ attr_accessor plan_arn: ::String
253
+ attr_accessor last_evaluation_time: ::Time
254
+ attr_accessor last_evaluated_version: ::String
255
+ attr_accessor region: ::String
256
+ attr_accessor evaluation_state: ("passed" | "actionRequired" | "pendingEvaluation" | "unknown")
257
+ attr_accessor warnings: ::Array[Types::ResourceWarning]
258
+ attr_accessor next_token: ::String
259
+ SENSITIVE: []
260
+ end
261
+
262
+ class GetPlanExecutionRequest
263
+ attr_accessor plan_arn: ::String
264
+ attr_accessor execution_id: ::String
265
+ attr_accessor max_results: ::Integer
266
+ attr_accessor next_token: ::String
267
+ SENSITIVE: []
268
+ end
269
+
270
+ class GetPlanExecutionResponse
271
+ attr_accessor plan_arn: ::String
272
+ attr_accessor execution_id: ::String
273
+ attr_accessor version: ::String
274
+ attr_accessor updated_at: ::Time
275
+ attr_accessor comment: ::String
276
+ attr_accessor start_time: ::Time
277
+ attr_accessor end_time: ::Time
278
+ attr_accessor mode: ("graceful" | "ungraceful")
279
+ attr_accessor execution_state: ("inProgress" | "pausedByFailedStep" | "pausedByOperator" | "completed" | "completedWithExceptions" | "canceled" | "planExecutionTimedOut" | "pendingManualApproval" | "failed" | "pending" | "completedMonitoringApplicationHealth")
280
+ attr_accessor execution_action: ("activate" | "deactivate")
281
+ attr_accessor execution_region: ::String
282
+ attr_accessor step_states: ::Array[Types::StepState]
283
+ attr_accessor plan: Types::Plan
284
+ attr_accessor actual_recovery_time: ::String
285
+ attr_accessor next_token: ::String
286
+ SENSITIVE: []
287
+ end
288
+
289
+ class GetPlanInRegionRequest
290
+ attr_accessor arn: ::String
291
+ SENSITIVE: []
292
+ end
293
+
294
+ class GetPlanInRegionResponse
295
+ attr_accessor plan: Types::Plan
296
+ SENSITIVE: []
297
+ end
298
+
299
+ class GetPlanRequest
300
+ attr_accessor arn: ::String
301
+ SENSITIVE: []
302
+ end
303
+
304
+ class GetPlanResponse
305
+ attr_accessor plan: Types::Plan
306
+ SENSITIVE: []
307
+ end
308
+
309
+ class GlobalAuroraConfiguration
310
+ attr_accessor timeout_minutes: ::Integer
311
+ attr_accessor cross_account_role: ::String
312
+ attr_accessor external_id: ::String
313
+ attr_accessor behavior: ("switchoverOnly" | "failover")
314
+ attr_accessor ungraceful: Types::GlobalAuroraUngraceful
315
+ attr_accessor global_cluster_identifier: ::String
316
+ attr_accessor database_cluster_arns: ::Array[::String]
317
+ SENSITIVE: []
318
+ end
319
+
320
+ class GlobalAuroraUngraceful
321
+ attr_accessor ungraceful: ("failover")
322
+ SENSITIVE: []
323
+ end
324
+
325
+ class IllegalArgumentException
326
+ attr_accessor message: ::String
327
+ SENSITIVE: []
328
+ end
329
+
330
+ class IllegalStateException
331
+ attr_accessor message: ::String
332
+ SENSITIVE: []
333
+ end
334
+
335
+ class InternalServerException
336
+ attr_accessor message: ::String
337
+ SENSITIVE: []
338
+ end
339
+
340
+ class KubernetesResourceType
341
+ attr_accessor api_version: ::String
342
+ attr_accessor kind: ::String
343
+ SENSITIVE: []
344
+ end
345
+
346
+ class KubernetesScalingResource
347
+ attr_accessor namespace: ::String
348
+ attr_accessor name: ::String
349
+ attr_accessor hpa_name: ::String
350
+ SENSITIVE: []
351
+ end
352
+
353
+ class LambdaUngraceful
354
+ attr_accessor behavior: ("skip")
355
+ SENSITIVE: []
356
+ end
357
+
358
+ class Lambdas
359
+ attr_accessor cross_account_role: ::String
360
+ attr_accessor external_id: ::String
361
+ attr_accessor arn: ::String
362
+ SENSITIVE: []
363
+ end
364
+
365
+ class ListPlanExecutionEventsRequest
366
+ attr_accessor plan_arn: ::String
367
+ attr_accessor execution_id: ::String
368
+ attr_accessor max_results: ::Integer
369
+ attr_accessor next_token: ::String
370
+ attr_accessor name: ::String
371
+ SENSITIVE: []
372
+ end
373
+
374
+ class ListPlanExecutionEventsResponse
375
+ attr_accessor items: ::Array[Types::ExecutionEvent]
376
+ attr_accessor next_token: ::String
377
+ SENSITIVE: []
378
+ end
379
+
380
+ class ListPlanExecutionsRequest
381
+ attr_accessor plan_arn: ::String
382
+ attr_accessor max_results: ::Integer
383
+ attr_accessor next_token: ::String
384
+ attr_accessor state: ("inProgress" | "pausedByFailedStep" | "pausedByOperator" | "completed" | "completedWithExceptions" | "canceled" | "planExecutionTimedOut" | "pendingManualApproval" | "failed" | "pending" | "completedMonitoringApplicationHealth")
385
+ SENSITIVE: []
386
+ end
387
+
388
+ class ListPlanExecutionsResponse
389
+ attr_accessor items: ::Array[Types::AbbreviatedExecution]
390
+ attr_accessor next_token: ::String
391
+ SENSITIVE: []
392
+ end
393
+
394
+ class ListPlansInRegionRequest
395
+ attr_accessor max_results: ::Integer
396
+ attr_accessor next_token: ::String
397
+ SENSITIVE: []
398
+ end
399
+
400
+ class ListPlansInRegionResponse
401
+ attr_accessor plans: ::Array[Types::AbbreviatedPlan]
402
+ attr_accessor next_token: ::String
403
+ SENSITIVE: []
404
+ end
405
+
406
+ class ListPlansRequest
407
+ attr_accessor max_results: ::Integer
408
+ attr_accessor next_token: ::String
409
+ SENSITIVE: []
410
+ end
411
+
412
+ class ListPlansResponse
413
+ attr_accessor plans: ::Array[Types::AbbreviatedPlan]
414
+ attr_accessor next_token: ::String
415
+ SENSITIVE: []
416
+ end
417
+
418
+ class ListRoute53HealthChecksRequest
419
+ attr_accessor arn: ::String
420
+ attr_accessor hosted_zone_id: ::String
421
+ attr_accessor record_name: ::String
422
+ attr_accessor max_results: ::Integer
423
+ attr_accessor next_token: ::String
424
+ SENSITIVE: []
425
+ end
426
+
427
+ class ListRoute53HealthChecksResponse
428
+ attr_accessor health_checks: ::Array[Types::Route53HealthCheck]
429
+ attr_accessor next_token: ::String
430
+ SENSITIVE: []
431
+ end
432
+
433
+ class ListTagsForResourceRequest
434
+ attr_accessor arn: ::String
435
+ SENSITIVE: []
436
+ end
437
+
438
+ class ListTagsForResourceResponse
439
+ attr_accessor resource_tags: ::Hash[::String, ::String]
440
+ SENSITIVE: []
441
+ end
442
+
443
+ class MinimalWorkflow
444
+ attr_accessor action: ("activate" | "deactivate")
445
+ attr_accessor name: ::String
446
+ SENSITIVE: []
447
+ end
448
+
449
+ class ParallelExecutionBlockConfiguration
450
+ attr_accessor steps: ::Array[Types::Step]
451
+ SENSITIVE: []
452
+ end
453
+
454
+ class Plan
455
+ attr_accessor arn: ::String
456
+ attr_accessor description: ::String
457
+ attr_accessor workflows: ::Array[Types::Workflow]
458
+ attr_accessor execution_role: ::String
459
+ attr_accessor recovery_time_objective_minutes: ::Integer
460
+ attr_accessor associated_alarms: ::Hash[::String, Types::AssociatedAlarm]
461
+ attr_accessor triggers: ::Array[Types::Trigger]
462
+ attr_accessor name: ::String
463
+ attr_accessor regions: ::Array[::String]
464
+ attr_accessor recovery_approach: ("activeActive" | "activePassive")
465
+ attr_accessor primary_region: ::String
466
+ attr_accessor owner: ::String
467
+ attr_accessor version: ::String
468
+ attr_accessor updated_at: ::Time
469
+ SENSITIVE: []
470
+ end
471
+
472
+ class RegionSwitchPlanConfiguration
473
+ attr_accessor cross_account_role: ::String
474
+ attr_accessor external_id: ::String
475
+ attr_accessor arn: ::String
476
+ SENSITIVE: []
477
+ end
478
+
479
+ class ResourceNotFoundException
480
+ attr_accessor message: ::String
481
+ SENSITIVE: []
482
+ end
483
+
484
+ class ResourceWarning
485
+ attr_accessor workflow: Types::MinimalWorkflow
486
+ attr_accessor version: ::String
487
+ attr_accessor step_name: ::String
488
+ attr_accessor resource_arn: ::String
489
+ attr_accessor warning_status: ("active" | "resolved")
490
+ attr_accessor warning_updated_time: ::Time
491
+ attr_accessor warning_message: ::String
492
+ SENSITIVE: []
493
+ end
494
+
495
+ class Route53HealthCheck
496
+ attr_accessor hosted_zone_id: ::String
497
+ attr_accessor record_name: ::String
498
+ attr_accessor health_check_id: ::String
499
+ attr_accessor region: ::String
500
+ SENSITIVE: []
501
+ end
502
+
503
+ class Route53HealthCheckConfiguration
504
+ attr_accessor timeout_minutes: ::Integer
505
+ attr_accessor cross_account_role: ::String
506
+ attr_accessor external_id: ::String
507
+ attr_accessor hosted_zone_id: ::String
508
+ attr_accessor record_name: ::String
509
+ attr_accessor record_sets: ::Array[Types::Route53ResourceRecordSet]
510
+ SENSITIVE: []
511
+ end
512
+
513
+ class Route53ResourceRecordSet
514
+ attr_accessor record_set_identifier: ::String
515
+ attr_accessor region: ::String
516
+ SENSITIVE: []
517
+ end
518
+
519
+ class Service
520
+ attr_accessor cross_account_role: ::String
521
+ attr_accessor external_id: ::String
522
+ attr_accessor cluster_arn: ::String
523
+ attr_accessor service_arn: ::String
524
+ SENSITIVE: []
525
+ end
526
+
527
+ class StartPlanExecutionRequest
528
+ attr_accessor plan_arn: ::String
529
+ attr_accessor target_region: ::String
530
+ attr_accessor action: ("activate" | "deactivate")
531
+ attr_accessor mode: ("graceful" | "ungraceful")
532
+ attr_accessor comment: ::String
533
+ attr_accessor latest_version: ::String
534
+ SENSITIVE: []
535
+ end
536
+
537
+ class StartPlanExecutionResponse
538
+ attr_accessor execution_id: ::String
539
+ attr_accessor plan: ::String
540
+ attr_accessor plan_version: ::String
541
+ attr_accessor activate_region: ::String
542
+ attr_accessor deactivate_region: ::String
543
+ SENSITIVE: []
544
+ end
545
+
546
+ class Step
547
+ attr_accessor name: ::String
548
+ attr_accessor description: ::String
549
+ attr_accessor execution_block_configuration: Types::ExecutionBlockConfiguration
550
+ attr_accessor execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck")
551
+ SENSITIVE: []
552
+ end
553
+
554
+ class StepState
555
+ attr_accessor name: ::String
556
+ attr_accessor status: ("notStarted" | "running" | "failed" | "completed" | "canceled" | "skipped" | "pendingApproval")
557
+ attr_accessor start_time: ::Time
558
+ attr_accessor end_time: ::Time
559
+ attr_accessor step_mode: ("graceful" | "ungraceful")
560
+ SENSITIVE: []
561
+ end
562
+
563
+ class TagResourceRequest
564
+ attr_accessor arn: ::String
565
+ attr_accessor tags: ::Hash[::String, ::String]
566
+ SENSITIVE: []
567
+ end
568
+
569
+ class TagResourceResponse < Aws::EmptyStructure
570
+ end
571
+
572
+ class Trigger
573
+ attr_accessor description: ::String
574
+ attr_accessor target_region: ::String
575
+ attr_accessor action: ("activate" | "deactivate")
576
+ attr_accessor conditions: ::Array[Types::TriggerCondition]
577
+ attr_accessor min_delay_minutes_between_executions: ::Integer
578
+ SENSITIVE: []
579
+ end
580
+
581
+ class TriggerCondition
582
+ attr_accessor associated_alarm_name: ::String
583
+ attr_accessor condition: ("red" | "green")
584
+ SENSITIVE: []
585
+ end
586
+
587
+ class UntagResourceRequest
588
+ attr_accessor arn: ::String
589
+ attr_accessor resource_tag_keys: ::Array[::String]
590
+ SENSITIVE: []
591
+ end
592
+
593
+ class UntagResourceResponse < Aws::EmptyStructure
594
+ end
595
+
596
+ class UpdatePlanExecutionRequest
597
+ attr_accessor plan_arn: ::String
598
+ attr_accessor execution_id: ::String
599
+ attr_accessor action: ("switchToGraceful" | "switchToUngraceful" | "pause" | "resume")
600
+ attr_accessor comment: ::String
601
+ SENSITIVE: []
602
+ end
603
+
604
+ class UpdatePlanExecutionResponse < Aws::EmptyStructure
605
+ end
606
+
607
+ class UpdatePlanExecutionStepRequest
608
+ attr_accessor plan_arn: ::String
609
+ attr_accessor execution_id: ::String
610
+ attr_accessor comment: ::String
611
+ attr_accessor step_name: ::String
612
+ attr_accessor action_to_take: ("switchToUngraceful" | "skip")
613
+ SENSITIVE: []
614
+ end
615
+
616
+ class UpdatePlanExecutionStepResponse < Aws::EmptyStructure
617
+ end
618
+
619
+ class UpdatePlanRequest
620
+ attr_accessor arn: ::String
621
+ attr_accessor description: ::String
622
+ attr_accessor workflows: ::Array[Types::Workflow]
623
+ attr_accessor execution_role: ::String
624
+ attr_accessor recovery_time_objective_minutes: ::Integer
625
+ attr_accessor associated_alarms: ::Hash[::String, Types::AssociatedAlarm]
626
+ attr_accessor triggers: ::Array[Types::Trigger]
627
+ SENSITIVE: []
628
+ end
629
+
630
+ class UpdatePlanResponse
631
+ attr_accessor plan: Types::Plan
632
+ SENSITIVE: []
633
+ end
634
+
635
+ class Workflow
636
+ attr_accessor steps: ::Array[Types::Step]
637
+ attr_accessor workflow_target_action: ("activate" | "deactivate")
638
+ attr_accessor workflow_target_region: ::String
639
+ attr_accessor workflow_description: ::String
640
+ SENSITIVE: []
641
+ end
642
+ end
643
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,38 @@
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 ARCRegionswitch
10
+ module Waiters
11
+
12
+ class PlanEvaluationStatusPassed
13
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
14
+ | (?Hash[Symbol, untyped]) -> void
15
+
16
+ def wait: (
17
+ plan_arn: ::String,
18
+ ?max_results: ::Integer,
19
+ ?next_token: ::String
20
+ ) -> Client::_GetPlanEvaluationStatusResponseSuccess
21
+ | (Hash[Symbol, untyped]) -> Client::_GetPlanEvaluationStatusResponseSuccess
22
+ end
23
+
24
+ class PlanExecutionCompleted
25
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
26
+ | (?Hash[Symbol, untyped]) -> void
27
+
28
+ def wait: (
29
+ plan_arn: ::String,
30
+ execution_id: ::String,
31
+ ?max_results: ::Integer,
32
+ ?next_token: ::String
33
+ ) -> Client::_GetPlanExecutionResponseSuccess
34
+ | (Hash[Symbol, untyped]) -> Client::_GetPlanExecutionResponseSuccess
35
+ end
36
+ end
37
+ end
38
+ end