aws-sdk-arczonalshift 1.38.0 → 1.39.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-arczonalshift/client.rb +73 -28
- data/lib/aws-sdk-arczonalshift/client_api.rb +19 -9
- data/lib/aws-sdk-arczonalshift/types.rb +85 -26
- data/lib/aws-sdk-arczonalshift.rb +1 -1
- data/sig/client.rbs +2 -0
- data/sig/types.rbs +5 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ba1f8dfc148e581debed8d0c8584c24caa89b62c974cb4cc6dde30e5c0e8042
|
4
|
+
data.tar.gz: b180593db34ddeeba2c7ee1f086d1e3a91262d238e7079b71362e5f196e7f59a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9ebb6a4eba5c59435cc9634a448a57d1c4ed88c10da3e525a61ca00c5d8cd0ba28f26ded80cebad9223fd863e83c36344d8424989b578cf47187733620a31e5
|
7
|
+
data.tar.gz: a9ffb823452475ef385f339bcfbd29992579216d9fcc8dc367c7d28c52b60726d7377b9dc231b9b74a45a2efe7a9bcc77a217a3490b648a281be36ad4f6b2fe6
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.39.0
|
@@ -618,9 +618,12 @@ module Aws::ARCZonalShift
|
|
618
618
|
# blocked windows with spaces.
|
619
619
|
#
|
620
620
|
# For example, say you run business report summaries three days a week.
|
621
|
-
# For this scenario, you
|
622
|
-
# times as blocked windows, for example: `
|
623
|
-
#
|
621
|
+
# For this scenario, you could set the following recurring days and
|
622
|
+
# times as blocked windows, for example: `Mon:00:00-Mon:10:00
|
623
|
+
# Wed-20:30-Wed:21:30 Fri-20:30-Fri:21:30`.
|
624
|
+
#
|
625
|
+
# The `blockedWindows` have to start and end on the same day. Windows
|
626
|
+
# that span multiple days aren't supported.
|
624
627
|
#
|
625
628
|
# @option params [Array<String>] :blocked_dates
|
626
629
|
# Optionally, you can block ARC from starting practice runs for a
|
@@ -635,22 +638,38 @@ module Aws::ARCZonalShift
|
|
635
638
|
# at that time, you could set a blocked date for `2024-05-01`.
|
636
639
|
#
|
637
640
|
# @option params [Array<Types::ControlCondition>] :blocking_alarms
|
638
|
-
#
|
639
|
-
# practice runs
|
640
|
-
#
|
641
|
-
#
|
641
|
+
# *Blocking alarms* for practice runs are optional alarms that you can
|
642
|
+
# specify that block practice runs when one or more of the alarms is in
|
643
|
+
# an `ALARM` state.
|
644
|
+
#
|
645
|
+
# @option params [Array<String>] :allowed_windows
|
646
|
+
# Optionally, you can allow ARC to start practice runs for specific
|
647
|
+
# windows of days and times.
|
648
|
+
#
|
649
|
+
# The format for allowed windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind,
|
650
|
+
# when you specify dates, that dates and times for practice runs are in
|
651
|
+
# UTC. Also, be aware of potential time adjustments that might be
|
652
|
+
# required for daylight saving time differences. Separate multiple
|
653
|
+
# allowed windows with spaces.
|
654
|
+
#
|
655
|
+
# For example, say you want to allow practice runs only on Wednesdays
|
656
|
+
# and Fridays from noon to 5 p.m. For this scenario, you could set the
|
657
|
+
# following recurring days and times as allowed windows, for example:
|
658
|
+
# `Wed-12:00-Wed:17:00 Fri-12:00-Fri:17:00`.
|
659
|
+
#
|
660
|
+
# The `allowedWindows` have to start and end on the same day. Windows
|
661
|
+
# that span multiple days aren't supported.
|
642
662
|
#
|
643
663
|
# @option params [required, Array<Types::ControlCondition>] :outcome_alarms
|
644
|
-
#
|
645
|
-
#
|
646
|
-
#
|
664
|
+
# *Outcome alarms* for practice runs are alarms that you specify that
|
665
|
+
# end a practice run when one or more of the alarms is in an `ALARM`
|
666
|
+
# state.
|
647
667
|
#
|
648
|
-
# Configure
|
649
|
-
# traffic is shifted away from an Availability Zone
|
650
|
-
# run. You should configure
|
651
|
-
#
|
652
|
-
# the
|
653
|
-
# Availability Zone.
|
668
|
+
# Configure one or more of these alarms to monitor the health of your
|
669
|
+
# application when traffic is shifted away from an Availability Zone
|
670
|
+
# during each practice run. You should configure these alarms to go into
|
671
|
+
# an `ALARM` state if you want to stop a zonal shift, to let traffic for
|
672
|
+
# the resource return to the original Availability Zone.
|
654
673
|
#
|
655
674
|
# @return [Types::CreatePracticeRunConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
656
675
|
#
|
@@ -671,6 +690,7 @@ module Aws::ARCZonalShift
|
|
671
690
|
# alarm_identifier: "MetricIdentifier", # required
|
672
691
|
# },
|
673
692
|
# ],
|
693
|
+
# allowed_windows: ["AllowedWindow"],
|
674
694
|
# outcome_alarms: [ # required
|
675
695
|
# {
|
676
696
|
# type: "CLOUDWATCH", # required, accepts CLOUDWATCH
|
@@ -692,6 +712,8 @@ module Aws::ARCZonalShift
|
|
692
712
|
# resp.practice_run_configuration.outcome_alarms[0].alarm_identifier #=> String
|
693
713
|
# resp.practice_run_configuration.blocked_windows #=> Array
|
694
714
|
# resp.practice_run_configuration.blocked_windows[0] #=> String
|
715
|
+
# resp.practice_run_configuration.allowed_windows #=> Array
|
716
|
+
# resp.practice_run_configuration.allowed_windows[0] #=> String
|
695
717
|
# resp.practice_run_configuration.blocked_dates #=> Array
|
696
718
|
# resp.practice_run_configuration.blocked_dates[0] #=> String
|
697
719
|
#
|
@@ -838,6 +860,8 @@ module Aws::ARCZonalShift
|
|
838
860
|
# resp.practice_run_configuration.outcome_alarms[0].alarm_identifier #=> String
|
839
861
|
# resp.practice_run_configuration.blocked_windows #=> Array
|
840
862
|
# resp.practice_run_configuration.blocked_windows[0] #=> String
|
863
|
+
# resp.practice_run_configuration.allowed_windows #=> Array
|
864
|
+
# resp.practice_run_configuration.allowed_windows[0] #=> String
|
841
865
|
# resp.practice_run_configuration.blocked_dates #=> Array
|
842
866
|
# resp.practice_run_configuration.blocked_dates[0] #=> String
|
843
867
|
# resp.zonal_autoshift_status #=> String, one of "ENABLED", "DISABLED"
|
@@ -1335,11 +1359,29 @@ module Aws::ARCZonalShift
|
|
1335
1359
|
# at that time, you could set a blocked date for `2024-05-01`.
|
1336
1360
|
#
|
1337
1361
|
# @option params [Array<Types::ControlCondition>] :blocking_alarms
|
1338
|
-
# Add, change, or remove the Amazon CloudWatch
|
1339
|
-
# specify as the blocking
|
1362
|
+
# Add, change, or remove the Amazon CloudWatch alarms that you
|
1363
|
+
# optionally specify as the blocking alarms for practice runs.
|
1364
|
+
#
|
1365
|
+
# @option params [Array<String>] :allowed_windows
|
1366
|
+
# Add, change, or remove windows of days and times for when you can,
|
1367
|
+
# optionally, allow ARC to start a practice run for a resource.
|
1368
|
+
#
|
1369
|
+
# The format for allowed windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind,
|
1370
|
+
# when you specify dates, that dates and times for practice runs are in
|
1371
|
+
# UTC. Also, be aware of potential time adjustments that might be
|
1372
|
+
# required for daylight saving time differences. Separate multiple
|
1373
|
+
# allowed windows with spaces.
|
1374
|
+
#
|
1375
|
+
# For example, say you want to allow practice runs only on Wednesdays
|
1376
|
+
# and Fridays from noon to 5 p.m. For this scenario, you could set the
|
1377
|
+
# following recurring days and times as allowed windows, for example:
|
1378
|
+
# `Wed-12:00-Wed:17:00 Fri-12:00-Fri:17:00`.
|
1379
|
+
#
|
1380
|
+
# The `allowedWindows` have to start and end on the same day. Windows
|
1381
|
+
# that span multiple days aren't supported.
|
1340
1382
|
#
|
1341
1383
|
# @option params [Array<Types::ControlCondition>] :outcome_alarms
|
1342
|
-
# Specify
|
1384
|
+
# Specify one or more Amazon CloudWatch alarms as the outcome alarms for
|
1343
1385
|
# practice runs.
|
1344
1386
|
#
|
1345
1387
|
# @return [Types::UpdatePracticeRunConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1361,6 +1403,7 @@ module Aws::ARCZonalShift
|
|
1361
1403
|
# alarm_identifier: "MetricIdentifier", # required
|
1362
1404
|
# },
|
1363
1405
|
# ],
|
1406
|
+
# allowed_windows: ["AllowedWindow"],
|
1364
1407
|
# outcome_alarms: [
|
1365
1408
|
# {
|
1366
1409
|
# type: "CLOUDWATCH", # required, accepts CLOUDWATCH
|
@@ -1382,6 +1425,8 @@ module Aws::ARCZonalShift
|
|
1382
1425
|
# resp.practice_run_configuration.outcome_alarms[0].alarm_identifier #=> String
|
1383
1426
|
# resp.practice_run_configuration.blocked_windows #=> Array
|
1384
1427
|
# resp.practice_run_configuration.blocked_windows[0] #=> String
|
1428
|
+
# resp.practice_run_configuration.allowed_windows #=> Array
|
1429
|
+
# resp.practice_run_configuration.allowed_windows[0] #=> String
|
1385
1430
|
# resp.practice_run_configuration.blocked_dates #=> Array
|
1386
1431
|
# resp.practice_run_configuration.blocked_dates[0] #=> String
|
1387
1432
|
#
|
@@ -1396,18 +1441,18 @@ module Aws::ARCZonalShift
|
|
1396
1441
|
|
1397
1442
|
# The zonal autoshift configuration for a resource includes the practice
|
1398
1443
|
# run configuration and the status for running autoshifts, zonal
|
1399
|
-
# autoshift status. When a resource has a practice run
|
1400
|
-
# starts weekly zonal shifts for the resource, to shift traffic away
|
1444
|
+
# autoshift status. When a resource has a practice run configuration,
|
1445
|
+
# ARC starts weekly zonal shifts for the resource, to shift traffic away
|
1401
1446
|
# from an Availability Zone. Weekly practice runs help you to make sure
|
1402
1447
|
# that your application can continue to operate normally with the loss
|
1403
1448
|
# of one Availability Zone.
|
1404
1449
|
#
|
1405
|
-
# You can update the zonal autoshift
|
1406
|
-
#
|
1407
|
-
#
|
1408
|
-
#
|
1409
|
-
# to
|
1410
|
-
#
|
1450
|
+
# You can update the zonal autoshift status to enable or disable zonal
|
1451
|
+
# autoshift. When zonal autoshift is `ENABLED`, you authorize Amazon Web
|
1452
|
+
# Services to shift away resource traffic for an application from an
|
1453
|
+
# Availability Zone during events, on your behalf, to help reduce time
|
1454
|
+
# to recovery. Traffic is also shifted away for the required weekly
|
1455
|
+
# practice runs.
|
1411
1456
|
#
|
1412
1457
|
# @option params [required, String] :resource_identifier
|
1413
1458
|
# The identifier for the resource that you want to update the zonal
|
@@ -1536,7 +1581,7 @@ module Aws::ARCZonalShift
|
|
1536
1581
|
tracer: tracer
|
1537
1582
|
)
|
1538
1583
|
context[:gem_name] = 'aws-sdk-arczonalshift'
|
1539
|
-
context[:gem_version] = '1.
|
1584
|
+
context[:gem_version] = '1.39.0'
|
1540
1585
|
Seahorse::Client::Request.new(handlers, context)
|
1541
1586
|
end
|
1542
1587
|
|
@@ -15,6 +15,8 @@ module Aws::ARCZonalShift
|
|
15
15
|
include Seahorse::Model
|
16
16
|
|
17
17
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
|
+
AllowedWindow = Shapes::StringShape.new(name: 'AllowedWindow')
|
19
|
+
AllowedWindows = Shapes::ListShape.new(name: 'AllowedWindows')
|
18
20
|
AppliedStatus = Shapes::StringShape.new(name: 'AppliedStatus')
|
19
21
|
AppliedWeights = Shapes::MapShape.new(name: 'AppliedWeights')
|
20
22
|
AutoshiftAppliedStatus = Shapes::StringShape.new(name: 'AutoshiftAppliedStatus')
|
@@ -30,6 +32,7 @@ module Aws::ARCZonalShift
|
|
30
32
|
BlockedDates = Shapes::ListShape.new(name: 'BlockedDates')
|
31
33
|
BlockedWindow = Shapes::StringShape.new(name: 'BlockedWindow')
|
32
34
|
BlockedWindows = Shapes::ListShape.new(name: 'BlockedWindows')
|
35
|
+
BlockingAlarms = Shapes::ListShape.new(name: 'BlockingAlarms')
|
33
36
|
CancelPracticeRunRequest = Shapes::StructureShape.new(name: 'CancelPracticeRunRequest')
|
34
37
|
CancelPracticeRunResponse = Shapes::StructureShape.new(name: 'CancelPracticeRunResponse')
|
35
38
|
CancelZonalShiftRequest = Shapes::StructureShape.new(name: 'CancelZonalShiftRequest')
|
@@ -37,7 +40,6 @@ module Aws::ARCZonalShift
|
|
37
40
|
ConflictExceptionReason = Shapes::StringShape.new(name: 'ConflictExceptionReason')
|
38
41
|
ControlCondition = Shapes::StructureShape.new(name: 'ControlCondition')
|
39
42
|
ControlConditionType = Shapes::StringShape.new(name: 'ControlConditionType')
|
40
|
-
ControlConditions = Shapes::ListShape.new(name: 'ControlConditions')
|
41
43
|
CreatePracticeRunConfigurationRequest = Shapes::StructureShape.new(name: 'CreatePracticeRunConfigurationRequest')
|
42
44
|
CreatePracticeRunConfigurationResponse = Shapes::StructureShape.new(name: 'CreatePracticeRunConfigurationResponse')
|
43
45
|
DeletePracticeRunConfigurationRequest = Shapes::StructureShape.new(name: 'DeletePracticeRunConfigurationRequest')
|
@@ -59,6 +61,7 @@ module Aws::ARCZonalShift
|
|
59
61
|
ManagedResourceSummary = Shapes::StructureShape.new(name: 'ManagedResourceSummary')
|
60
62
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
61
63
|
MetricIdentifier = Shapes::StringShape.new(name: 'MetricIdentifier')
|
64
|
+
OutcomeAlarms = Shapes::ListShape.new(name: 'OutcomeAlarms')
|
62
65
|
PracticeRunConfiguration = Shapes::StructureShape.new(name: 'PracticeRunConfiguration')
|
63
66
|
PracticeRunOutcome = Shapes::StringShape.new(name: 'PracticeRunOutcome')
|
64
67
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
@@ -95,6 +98,8 @@ module Aws::ARCZonalShift
|
|
95
98
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
96
99
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
97
100
|
|
101
|
+
AllowedWindows.member = Shapes::ShapeRef.new(shape: AllowedWindow)
|
102
|
+
|
98
103
|
AppliedWeights.key = Shapes::ShapeRef.new(shape: AvailabilityZone)
|
99
104
|
AppliedWeights.value = Shapes::ShapeRef.new(shape: Weight)
|
100
105
|
|
@@ -119,6 +124,8 @@ module Aws::ARCZonalShift
|
|
119
124
|
|
120
125
|
BlockedWindows.member = Shapes::ShapeRef.new(shape: BlockedWindow)
|
121
126
|
|
127
|
+
BlockingAlarms.member = Shapes::ShapeRef.new(shape: ControlCondition)
|
128
|
+
|
122
129
|
CancelPracticeRunRequest.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: ZonalShiftId, required: true, location: "uri", location_name: "zonalShiftId"))
|
123
130
|
CancelPracticeRunRequest.struct_class = Types::CancelPracticeRunRequest
|
124
131
|
|
@@ -143,13 +150,12 @@ module Aws::ARCZonalShift
|
|
143
150
|
ControlCondition.add_member(:alarm_identifier, Shapes::ShapeRef.new(shape: MetricIdentifier, required: true, location_name: "alarmIdentifier"))
|
144
151
|
ControlCondition.struct_class = Types::ControlCondition
|
145
152
|
|
146
|
-
ControlConditions.member = Shapes::ShapeRef.new(shape: ControlCondition)
|
147
|
-
|
148
153
|
CreatePracticeRunConfigurationRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
|
149
154
|
CreatePracticeRunConfigurationRequest.add_member(:blocked_windows, Shapes::ShapeRef.new(shape: BlockedWindows, location_name: "blockedWindows"))
|
150
155
|
CreatePracticeRunConfigurationRequest.add_member(:blocked_dates, Shapes::ShapeRef.new(shape: BlockedDates, location_name: "blockedDates"))
|
151
|
-
CreatePracticeRunConfigurationRequest.add_member(:blocking_alarms, Shapes::ShapeRef.new(shape:
|
152
|
-
CreatePracticeRunConfigurationRequest.add_member(:
|
156
|
+
CreatePracticeRunConfigurationRequest.add_member(:blocking_alarms, Shapes::ShapeRef.new(shape: BlockingAlarms, location_name: "blockingAlarms"))
|
157
|
+
CreatePracticeRunConfigurationRequest.add_member(:allowed_windows, Shapes::ShapeRef.new(shape: AllowedWindows, location_name: "allowedWindows"))
|
158
|
+
CreatePracticeRunConfigurationRequest.add_member(:outcome_alarms, Shapes::ShapeRef.new(shape: OutcomeAlarms, required: true, location_name: "outcomeAlarms"))
|
153
159
|
CreatePracticeRunConfigurationRequest.struct_class = Types::CreatePracticeRunConfigurationRequest
|
154
160
|
|
155
161
|
CreatePracticeRunConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "arn"))
|
@@ -225,9 +231,12 @@ module Aws::ARCZonalShift
|
|
225
231
|
ManagedResourceSummary.add_member(:practice_run_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, location_name: "practiceRunStatus"))
|
226
232
|
ManagedResourceSummary.struct_class = Types::ManagedResourceSummary
|
227
233
|
|
228
|
-
|
229
|
-
|
234
|
+
OutcomeAlarms.member = Shapes::ShapeRef.new(shape: ControlCondition)
|
235
|
+
|
236
|
+
PracticeRunConfiguration.add_member(:blocking_alarms, Shapes::ShapeRef.new(shape: BlockingAlarms, location_name: "blockingAlarms"))
|
237
|
+
PracticeRunConfiguration.add_member(:outcome_alarms, Shapes::ShapeRef.new(shape: OutcomeAlarms, required: true, location_name: "outcomeAlarms"))
|
230
238
|
PracticeRunConfiguration.add_member(:blocked_windows, Shapes::ShapeRef.new(shape: BlockedWindows, location_name: "blockedWindows"))
|
239
|
+
PracticeRunConfiguration.add_member(:allowed_windows, Shapes::ShapeRef.new(shape: AllowedWindows, location_name: "allowedWindows"))
|
231
240
|
PracticeRunConfiguration.add_member(:blocked_dates, Shapes::ShapeRef.new(shape: BlockedDates, location_name: "blockedDates"))
|
232
241
|
PracticeRunConfiguration.struct_class = Types::PracticeRunConfiguration
|
233
242
|
|
@@ -266,8 +275,9 @@ module Aws::ARCZonalShift
|
|
266
275
|
UpdatePracticeRunConfigurationRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location: "uri", location_name: "resourceIdentifier"))
|
267
276
|
UpdatePracticeRunConfigurationRequest.add_member(:blocked_windows, Shapes::ShapeRef.new(shape: BlockedWindows, location_name: "blockedWindows"))
|
268
277
|
UpdatePracticeRunConfigurationRequest.add_member(:blocked_dates, Shapes::ShapeRef.new(shape: BlockedDates, location_name: "blockedDates"))
|
269
|
-
UpdatePracticeRunConfigurationRequest.add_member(:blocking_alarms, Shapes::ShapeRef.new(shape:
|
270
|
-
UpdatePracticeRunConfigurationRequest.add_member(:
|
278
|
+
UpdatePracticeRunConfigurationRequest.add_member(:blocking_alarms, Shapes::ShapeRef.new(shape: BlockingAlarms, location_name: "blockingAlarms"))
|
279
|
+
UpdatePracticeRunConfigurationRequest.add_member(:allowed_windows, Shapes::ShapeRef.new(shape: AllowedWindows, location_name: "allowedWindows"))
|
280
|
+
UpdatePracticeRunConfigurationRequest.add_member(:outcome_alarms, Shapes::ShapeRef.new(shape: OutcomeAlarms, location_name: "outcomeAlarms"))
|
271
281
|
UpdatePracticeRunConfigurationRequest.struct_class = Types::UpdatePracticeRunConfigurationRequest
|
272
282
|
|
273
283
|
UpdatePracticeRunConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "arn"))
|
@@ -316,9 +316,12 @@ module Aws::ARCZonalShift
|
|
316
316
|
# blocked windows with spaces.
|
317
317
|
#
|
318
318
|
# For example, say you run business report summaries three days a
|
319
|
-
# week. For this scenario, you
|
320
|
-
# and times as blocked windows, for example: `
|
321
|
-
#
|
319
|
+
# week. For this scenario, you could set the following recurring days
|
320
|
+
# and times as blocked windows, for example: `Mon:00:00-Mon:10:00
|
321
|
+
# Wed-20:30-Wed:21:30 Fri-20:30-Fri:21:30`.
|
322
|
+
#
|
323
|
+
# The `blockedWindows` have to start and end on the same day. Windows
|
324
|
+
# that span multiple days aren't supported.
|
322
325
|
# @return [Array<String>]
|
323
326
|
#
|
324
327
|
# @!attribute [rw] blocked_dates
|
@@ -335,23 +338,40 @@ module Aws::ARCZonalShift
|
|
335
338
|
# @return [Array<String>]
|
336
339
|
#
|
337
340
|
# @!attribute [rw] blocking_alarms
|
338
|
-
#
|
339
|
-
# practice runs
|
340
|
-
#
|
341
|
-
# alarm is in an `ALARM` state.
|
341
|
+
# *Blocking alarms* for practice runs are optional alarms that you can
|
342
|
+
# specify that block practice runs when one or more of the alarms is
|
343
|
+
# in an `ALARM` state.
|
342
344
|
# @return [Array<Types::ControlCondition>]
|
343
345
|
#
|
346
|
+
# @!attribute [rw] allowed_windows
|
347
|
+
# Optionally, you can allow ARC to start practice runs for specific
|
348
|
+
# windows of days and times.
|
349
|
+
#
|
350
|
+
# The format for allowed windows is: DAY:HH:SS-DAY:HH:SS. Keep in
|
351
|
+
# mind, when you specify dates, that dates and times for practice runs
|
352
|
+
# are in UTC. Also, be aware of potential time adjustments that might
|
353
|
+
# be required for daylight saving time differences. Separate multiple
|
354
|
+
# allowed windows with spaces.
|
355
|
+
#
|
356
|
+
# For example, say you want to allow practice runs only on Wednesdays
|
357
|
+
# and Fridays from noon to 5 p.m. For this scenario, you could set the
|
358
|
+
# following recurring days and times as allowed windows, for example:
|
359
|
+
# `Wed-12:00-Wed:17:00 Fri-12:00-Fri:17:00`.
|
360
|
+
#
|
361
|
+
# The `allowedWindows` have to start and end on the same day. Windows
|
362
|
+
# that span multiple days aren't supported.
|
363
|
+
# @return [Array<String>]
|
364
|
+
#
|
344
365
|
# @!attribute [rw] outcome_alarms
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
# Configure
|
350
|
-
# traffic is shifted away from an Availability Zone
|
351
|
-
# practice run. You should configure
|
352
|
-
# state if
|
353
|
-
#
|
354
|
-
# to the Availability Zone.
|
366
|
+
# *Outcome alarms* for practice runs are alarms that you specify that
|
367
|
+
# end a practice run when one or more of the alarms is in an `ALARM`
|
368
|
+
# state.
|
369
|
+
#
|
370
|
+
# Configure one or more of these alarms to monitor the health of your
|
371
|
+
# application when traffic is shifted away from an Availability Zone
|
372
|
+
# during each practice run. You should configure these alarms to go
|
373
|
+
# into an `ALARM` state if you want to stop a zonal shift, to let
|
374
|
+
# traffic for the resource return to the original Availability Zone.
|
355
375
|
# @return [Array<Types::ControlCondition>]
|
356
376
|
#
|
357
377
|
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/CreatePracticeRunConfigurationRequest AWS API Documentation
|
@@ -361,6 +381,7 @@ module Aws::ARCZonalShift
|
|
361
381
|
:blocked_windows,
|
362
382
|
:blocked_dates,
|
363
383
|
:blocking_alarms,
|
384
|
+
:allowed_windows,
|
364
385
|
:outcome_alarms)
|
365
386
|
SENSITIVE = []
|
366
387
|
include Aws::Structure
|
@@ -801,14 +822,15 @@ module Aws::ARCZonalShift
|
|
801
822
|
# autoshift is enabled.
|
802
823
|
#
|
803
824
|
# @!attribute [rw] blocking_alarms
|
804
|
-
#
|
805
|
-
#
|
806
|
-
# `ALARM` state.
|
825
|
+
# *Blocking alarms* for practice runs are optional alarms that you can
|
826
|
+
# specify that block practice runs when one or more of the alarms is
|
827
|
+
# in an `ALARM` state.
|
807
828
|
# @return [Array<Types::ControlCondition>]
|
808
829
|
#
|
809
830
|
# @!attribute [rw] outcome_alarms
|
810
|
-
#
|
811
|
-
#
|
831
|
+
# *Outcome alarms* for practice runs are alarms that you specify that
|
832
|
+
# end a practice run when one or more of the alarms is in an `ALARM`
|
833
|
+
# state.
|
812
834
|
# @return [Array<Types::ControlCondition>]
|
813
835
|
#
|
814
836
|
# @!attribute [rw] blocked_windows
|
@@ -818,6 +840,22 @@ module Aws::ARCZonalShift
|
|
818
840
|
# Specify the blocked windows in UTC, using the format
|
819
841
|
# `DAY:HH:MM-DAY:HH:MM`, separated by spaces. For example,
|
820
842
|
# `MON:18:30-MON:19:30 TUE:18:30-TUE:19:30`.
|
843
|
+
#
|
844
|
+
# The `blockedWindows` have to start and end on the same day. Windows
|
845
|
+
# that span multiple days aren't supported.
|
846
|
+
# @return [Array<String>]
|
847
|
+
#
|
848
|
+
# @!attribute [rw] allowed_windows
|
849
|
+
# An array of one or more windows of days and times that you can allow
|
850
|
+
# ARC to start practice runs for a resource.
|
851
|
+
#
|
852
|
+
# For example, say you want to allow practice runs only on Wednesdays
|
853
|
+
# and Fridays from noon to 5 p.m. For this scenario, you could set the
|
854
|
+
# following recurring days and times as allowed windows, for example:
|
855
|
+
# `Wed-12:00-Wed:17:00 Fri-12:00-Fri:17:00`.
|
856
|
+
#
|
857
|
+
# The `allowedWindows` have to start and end on the same day. Windows
|
858
|
+
# that span multiple days aren't supported.
|
821
859
|
# @return [Array<String>]
|
822
860
|
#
|
823
861
|
# @!attribute [rw] blocked_dates
|
@@ -834,6 +872,7 @@ module Aws::ARCZonalShift
|
|
834
872
|
:blocking_alarms,
|
835
873
|
:outcome_alarms,
|
836
874
|
:blocked_windows,
|
875
|
+
:allowed_windows,
|
837
876
|
:blocked_dates)
|
838
877
|
SENSITIVE = []
|
839
878
|
include Aws::Structure
|
@@ -1092,13 +1131,32 @@ module Aws::ARCZonalShift
|
|
1092
1131
|
# @return [Array<String>]
|
1093
1132
|
#
|
1094
1133
|
# @!attribute [rw] blocking_alarms
|
1095
|
-
# Add, change, or remove the Amazon CloudWatch
|
1096
|
-
# optionally specify as the blocking
|
1134
|
+
# Add, change, or remove the Amazon CloudWatch alarms that you
|
1135
|
+
# optionally specify as the blocking alarms for practice runs.
|
1097
1136
|
# @return [Array<Types::ControlCondition>]
|
1098
1137
|
#
|
1138
|
+
# @!attribute [rw] allowed_windows
|
1139
|
+
# Add, change, or remove windows of days and times for when you can,
|
1140
|
+
# optionally, allow ARC to start a practice run for a resource.
|
1141
|
+
#
|
1142
|
+
# The format for allowed windows is: DAY:HH:SS-DAY:HH:SS. Keep in
|
1143
|
+
# mind, when you specify dates, that dates and times for practice runs
|
1144
|
+
# are in UTC. Also, be aware of potential time adjustments that might
|
1145
|
+
# be required for daylight saving time differences. Separate multiple
|
1146
|
+
# allowed windows with spaces.
|
1147
|
+
#
|
1148
|
+
# For example, say you want to allow practice runs only on Wednesdays
|
1149
|
+
# and Fridays from noon to 5 p.m. For this scenario, you could set the
|
1150
|
+
# following recurring days and times as allowed windows, for example:
|
1151
|
+
# `Wed-12:00-Wed:17:00 Fri-12:00-Fri:17:00`.
|
1152
|
+
#
|
1153
|
+
# The `allowedWindows` have to start and end on the same day. Windows
|
1154
|
+
# that span multiple days aren't supported.
|
1155
|
+
# @return [Array<String>]
|
1156
|
+
#
|
1099
1157
|
# @!attribute [rw] outcome_alarms
|
1100
|
-
# Specify
|
1101
|
-
# practice runs.
|
1158
|
+
# Specify one or more Amazon CloudWatch alarms as the outcome alarms
|
1159
|
+
# for practice runs.
|
1102
1160
|
# @return [Array<Types::ControlCondition>]
|
1103
1161
|
#
|
1104
1162
|
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/UpdatePracticeRunConfigurationRequest AWS API Documentation
|
@@ -1108,6 +1166,7 @@ module Aws::ARCZonalShift
|
|
1108
1166
|
:blocked_windows,
|
1109
1167
|
:blocked_dates,
|
1110
1168
|
:blocking_alarms,
|
1169
|
+
:allowed_windows,
|
1111
1170
|
:outcome_alarms)
|
1112
1171
|
SENSITIVE = []
|
1113
1172
|
include Aws::Structure
|
data/sig/client.rbs
CHANGED
@@ -128,6 +128,7 @@ module Aws
|
|
128
128
|
alarm_identifier: ::String
|
129
129
|
},
|
130
130
|
],
|
131
|
+
?allowed_windows: Array[::String],
|
131
132
|
outcome_alarms: Array[
|
132
133
|
{
|
133
134
|
type: ("CLOUDWATCH"),
|
@@ -278,6 +279,7 @@ module Aws
|
|
278
279
|
alarm_identifier: ::String
|
279
280
|
},
|
280
281
|
],
|
282
|
+
?allowed_windows: Array[::String],
|
281
283
|
?outcome_alarms: Array[
|
282
284
|
{
|
283
285
|
type: ("CLOUDWATCH"),
|
data/sig/types.rbs
CHANGED
@@ -51,7 +51,7 @@ module Aws::ARCZonalShift
|
|
51
51
|
|
52
52
|
class ConflictException
|
53
53
|
attr_accessor message: ::String
|
54
|
-
attr_accessor reason: ("ZonalShiftAlreadyExists" | "ZonalShiftStatusNotActive" | "SimultaneousZonalShiftsConflict" | "PracticeConfigurationAlreadyExists" | "AutoShiftEnabled" | "PracticeConfigurationDoesNotExist" | "ZonalAutoshiftActive" | "PracticeOutcomeAlarmsRed" | "PracticeBlockingAlarmsRed" | "PracticeInBlockedDates" | "PracticeInBlockedWindows")
|
54
|
+
attr_accessor reason: ("ZonalShiftAlreadyExists" | "ZonalShiftStatusNotActive" | "SimultaneousZonalShiftsConflict" | "PracticeConfigurationAlreadyExists" | "AutoShiftEnabled" | "PracticeConfigurationDoesNotExist" | "ZonalAutoshiftActive" | "PracticeOutcomeAlarmsRed" | "PracticeBlockingAlarmsRed" | "PracticeInBlockedDates" | "PracticeInBlockedWindows" | "PracticeOutsideAllowedWindows")
|
55
55
|
attr_accessor zonal_shift_id: ::String
|
56
56
|
SENSITIVE: []
|
57
57
|
end
|
@@ -67,6 +67,7 @@ module Aws::ARCZonalShift
|
|
67
67
|
attr_accessor blocked_windows: ::Array[::String]
|
68
68
|
attr_accessor blocked_dates: ::Array[::String]
|
69
69
|
attr_accessor blocking_alarms: ::Array[Types::ControlCondition]
|
70
|
+
attr_accessor allowed_windows: ::Array[::String]
|
70
71
|
attr_accessor outcome_alarms: ::Array[Types::ControlCondition]
|
71
72
|
SENSITIVE: []
|
72
73
|
end
|
@@ -175,6 +176,7 @@ module Aws::ARCZonalShift
|
|
175
176
|
attr_accessor blocking_alarms: ::Array[Types::ControlCondition]
|
176
177
|
attr_accessor outcome_alarms: ::Array[Types::ControlCondition]
|
177
178
|
attr_accessor blocked_windows: ::Array[::String]
|
179
|
+
attr_accessor allowed_windows: ::Array[::String]
|
178
180
|
attr_accessor blocked_dates: ::Array[::String]
|
179
181
|
SENSITIVE: []
|
180
182
|
end
|
@@ -230,6 +232,7 @@ module Aws::ARCZonalShift
|
|
230
232
|
attr_accessor blocked_windows: ::Array[::String]
|
231
233
|
attr_accessor blocked_dates: ::Array[::String]
|
232
234
|
attr_accessor blocking_alarms: ::Array[Types::ControlCondition]
|
235
|
+
attr_accessor allowed_windows: ::Array[::String]
|
233
236
|
attr_accessor outcome_alarms: ::Array[Types::ControlCondition]
|
234
237
|
SENSITIVE: []
|
235
238
|
end
|
@@ -263,7 +266,7 @@ module Aws::ARCZonalShift
|
|
263
266
|
|
264
267
|
class ValidationException
|
265
268
|
attr_accessor message: ::String
|
266
|
-
attr_accessor reason: ("InvalidExpiresIn" | "InvalidStatus" | "MissingValue" | "InvalidToken" | "InvalidResourceIdentifier" | "InvalidAz" | "UnsupportedAz" | "InvalidAlarmCondition" | "InvalidConditionType" | "InvalidPracticeBlocker" | "FISExperimentUpdateNotAllowed" | "AutoshiftUpdateNotAllowed" | "UnsupportedPracticeCancelShiftType")
|
269
|
+
attr_accessor reason: ("InvalidExpiresIn" | "InvalidStatus" | "MissingValue" | "InvalidToken" | "InvalidResourceIdentifier" | "InvalidAz" | "UnsupportedAz" | "InvalidAlarmCondition" | "InvalidConditionType" | "InvalidPracticeBlocker" | "FISExperimentUpdateNotAllowed" | "AutoshiftUpdateNotAllowed" | "UnsupportedPracticeCancelShiftType" | "InvalidPracticeAllowedWindow" | "InvalidPracticeWindows")
|
267
270
|
SENSITIVE: []
|
268
271
|
end
|
269
272
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-arczonalshift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.39.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.231.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.231.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|