aws-sdk-arczonalshift 1.18.0 → 1.19.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 +124 -20
- data/lib/aws-sdk-arczonalshift/client_api.rb +41 -0
- data/lib/aws-sdk-arczonalshift/endpoints.rb +28 -0
- data/lib/aws-sdk-arczonalshift/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-arczonalshift/types.rb +144 -75
- data/lib/aws-sdk-arczonalshift.rb +1 -1
- data/sig/client.rbs +19 -0
- data/sig/types.rbs +18 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 68b6ed972ec9ee2167d90d46106d744ca0565fbe00b5d7dc5c2c57282203a599
|
|
4
|
+
data.tar.gz: fd50e7809284074ee0083d4fa8f65048a533a4a546aecaf1d3e440a81db24887
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 36a6be214f7af5aacf71f6585520a4ca457b271090ee2ff1c9ec7e55cc944401ad171dfd73e32c853f636bc57783ca53c5d6dfb88608d4ff0ab88948e6f00fc7
|
|
7
|
+
data.tar.gz: 69570ac76b7f414ecec3ce97109ae85d1af0dc5a070edf1e142c51ae918adf250069b9164438e84b2e6228caf149d4f8bcb8ce0cfc8277e14dc19a280b7c853d
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.19.0
|
|
@@ -478,6 +478,11 @@ module Aws::ARCZonalShift
|
|
|
478
478
|
# application health during practice runs and, optionally, a *blocking
|
|
479
479
|
# alarm*, to block practice runs from starting.
|
|
480
480
|
#
|
|
481
|
+
# When a resource has a practice run configuration, Route 53 ARC starts
|
|
482
|
+
# zonal shifts for the resource weekly, to shift traffic for practice
|
|
483
|
+
# runs. Practice runs help you to ensure that shifting away traffic from
|
|
484
|
+
# an Availability Zone during an autoshift is safe for your application.
|
|
485
|
+
#
|
|
481
486
|
# For more information, see [ Considerations when you configure zonal
|
|
482
487
|
# autoshift][1] in the Amazon Route 53 Application Recovery Controller
|
|
483
488
|
# Developer Guide.
|
|
@@ -532,8 +537,8 @@ module Aws::ARCZonalShift
|
|
|
532
537
|
# Availability Zone.
|
|
533
538
|
#
|
|
534
539
|
# @option params [required, String] :resource_identifier
|
|
535
|
-
# The identifier of the resource
|
|
536
|
-
# practice run
|
|
540
|
+
# The identifier of the resource that Amazon Web Services shifts traffic
|
|
541
|
+
# for with a practice run zonal shift. The identifier is the Amazon
|
|
537
542
|
# Resource Name (ARN) for the resource.
|
|
538
543
|
#
|
|
539
544
|
# At this time, supported resources are Network Load Balancers and
|
|
@@ -628,6 +633,41 @@ module Aws::ARCZonalShift
|
|
|
628
633
|
req.send_request(options)
|
|
629
634
|
end
|
|
630
635
|
|
|
636
|
+
# Returns the status of autoshift observer notification. Autoshift
|
|
637
|
+
# observer notification enables you to be notified, through Amazon
|
|
638
|
+
# EventBridge, when there is an autoshift event for zonal autoshift.
|
|
639
|
+
#
|
|
640
|
+
# If the status is `ENABLED`, Route 53 ARC includes all autoshift events
|
|
641
|
+
# when you use the EventBridge pattern `Autoshift In Progress`. When the
|
|
642
|
+
# status is `DISABLED`, Route 53 ARC includes only autoshift events for
|
|
643
|
+
# autoshifts when one or more of your resources is included in the
|
|
644
|
+
# autoshift.
|
|
645
|
+
#
|
|
646
|
+
# For more information, see [ Notifications for practice runs and
|
|
647
|
+
# autoshifts][1] in the Amazon Route 53 Application Recovery Controller
|
|
648
|
+
# Developer Guide.
|
|
649
|
+
#
|
|
650
|
+
#
|
|
651
|
+
#
|
|
652
|
+
# [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html#ZAShiftNotification
|
|
653
|
+
#
|
|
654
|
+
# @return [Types::GetAutoshiftObserverNotificationStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
655
|
+
#
|
|
656
|
+
# * {Types::GetAutoshiftObserverNotificationStatusResponse#status #status} => String
|
|
657
|
+
#
|
|
658
|
+
# @example Response structure
|
|
659
|
+
#
|
|
660
|
+
# resp.status #=> String, one of "ENABLED", "DISABLED"
|
|
661
|
+
#
|
|
662
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/GetAutoshiftObserverNotificationStatus AWS API Documentation
|
|
663
|
+
#
|
|
664
|
+
# @overload get_autoshift_observer_notification_status(params = {})
|
|
665
|
+
# @param [Hash] params ({})
|
|
666
|
+
def get_autoshift_observer_notification_status(params = {}, options = {})
|
|
667
|
+
req = build_request(:get_autoshift_observer_notification_status, params)
|
|
668
|
+
req.send_request(options)
|
|
669
|
+
end
|
|
670
|
+
|
|
631
671
|
# Get information about a resource that's been registered for zonal
|
|
632
672
|
# shifts with Amazon Route 53 Application Recovery Controller in this
|
|
633
673
|
# Amazon Web Services Region. Resources that are registered for zonal
|
|
@@ -639,8 +679,9 @@ module Aws::ARCZonalShift
|
|
|
639
679
|
# with cross-zone load balancing turned off.
|
|
640
680
|
#
|
|
641
681
|
# @option params [required, String] :resource_identifier
|
|
642
|
-
# The identifier for the resource
|
|
643
|
-
# identifier is the Amazon Resource Name (ARN) for the
|
|
682
|
+
# The identifier for the resource that Amazon Web Services shifts
|
|
683
|
+
# traffic for. The identifier is the Amazon Resource Name (ARN) for the
|
|
684
|
+
# resource.
|
|
644
685
|
#
|
|
645
686
|
# At this time, supported resources are Network Load Balancers and
|
|
646
687
|
# Application Load Balancers with cross-zone load balancing turned off.
|
|
@@ -701,7 +742,9 @@ module Aws::ARCZonalShift
|
|
|
701
742
|
req.send_request(options)
|
|
702
743
|
end
|
|
703
744
|
|
|
704
|
-
# Returns
|
|
745
|
+
# Returns a list of autoshifts for an Amazon Web Services Region. By
|
|
746
|
+
# default, the call returns only `ACTIVE` autoshifts. Optionally, you
|
|
747
|
+
# can specify the `status` parameter to return `COMPLETED` autoshifts.
|
|
705
748
|
#
|
|
706
749
|
# @option params [Integer] :max_results
|
|
707
750
|
# The number of objects that you want to return with this call.
|
|
@@ -818,7 +861,7 @@ module Aws::ARCZonalShift
|
|
|
818
861
|
# Lists all active and completed zonal shifts in Amazon Route 53
|
|
819
862
|
# Application Recovery Controller in your Amazon Web Services account in
|
|
820
863
|
# this Amazon Web Services Region. `ListZonalShifts` returns
|
|
821
|
-
# customer-
|
|
864
|
+
# customer-initiated zonal shifts, as well as practice run zonal shifts
|
|
822
865
|
# that Route 53 ARC started on your behalf for zonal autoshift.
|
|
823
866
|
#
|
|
824
867
|
# The `ListZonalShifts` operation does not list autoshifts. For more
|
|
@@ -920,10 +963,10 @@ module Aws::ARCZonalShift
|
|
|
920
963
|
# [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-shift.html
|
|
921
964
|
#
|
|
922
965
|
# @option params [required, String] :away_from
|
|
923
|
-
# The Availability Zone that traffic is moved
|
|
924
|
-
# when you start a zonal shift. Until the zonal
|
|
925
|
-
# cancel it, traffic for the resource is instead
|
|
926
|
-
# Availability Zones in the Amazon Web Services Region.
|
|
966
|
+
# The Availability Zone (for example, `use1-az1`) that traffic is moved
|
|
967
|
+
# away from for a resource when you start a zonal shift. Until the zonal
|
|
968
|
+
# shift expires or you cancel it, traffic for the resource is instead
|
|
969
|
+
# moved to other Availability Zones in the Amazon Web Services Region.
|
|
927
970
|
#
|
|
928
971
|
# @option params [required, String] :comment
|
|
929
972
|
# A comment that you enter about the zonal shift. Only the latest
|
|
@@ -952,8 +995,9 @@ module Aws::ARCZonalShift
|
|
|
952
995
|
# means the zonal shift expires in 120 minutes (2 hours).
|
|
953
996
|
#
|
|
954
997
|
# @option params [required, String] :resource_identifier
|
|
955
|
-
# The identifier for the resource
|
|
956
|
-
# identifier is the Amazon Resource Name (ARN) for the
|
|
998
|
+
# The identifier for the resource that Amazon Web Services shifts
|
|
999
|
+
# traffic for. The identifier is the Amazon Resource Name (ARN) for the
|
|
1000
|
+
# resource.
|
|
957
1001
|
#
|
|
958
1002
|
# At this time, supported resources are Network Load Balancers and
|
|
959
1003
|
# Application Load Balancers with cross-zone load balancing turned off.
|
|
@@ -996,6 +1040,55 @@ module Aws::ARCZonalShift
|
|
|
996
1040
|
req.send_request(options)
|
|
997
1041
|
end
|
|
998
1042
|
|
|
1043
|
+
# Update the status of autoshift observer notification. Autoshift
|
|
1044
|
+
# observer notification enables you to be notified, through Amazon
|
|
1045
|
+
# EventBridge, when there is an autoshift event for zonal autoshift.
|
|
1046
|
+
#
|
|
1047
|
+
# If the status is `ENABLED`, Route 53 ARC includes all autoshift events
|
|
1048
|
+
# when you use the EventBridge pattern `Autoshift In Progress`. When the
|
|
1049
|
+
# status is `DISABLED`, Route 53 ARC includes only autoshift events for
|
|
1050
|
+
# autoshifts when one or more of your resources is included in the
|
|
1051
|
+
# autoshift.
|
|
1052
|
+
#
|
|
1053
|
+
# For more information, see [ Notifications for practice runs and
|
|
1054
|
+
# autoshifts][1] in the Amazon Route 53 Application Recovery Controller
|
|
1055
|
+
# Developer Guide.
|
|
1056
|
+
#
|
|
1057
|
+
#
|
|
1058
|
+
#
|
|
1059
|
+
# [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html#ZAShiftNotification
|
|
1060
|
+
#
|
|
1061
|
+
# @option params [required, String] :status
|
|
1062
|
+
# The status to set for autoshift observer notification. If the status
|
|
1063
|
+
# is `ENABLED`, Route 53 ARC includes all autoshift events when you use
|
|
1064
|
+
# the Amazon EventBridge pattern `Autoshift In Progress`. When the
|
|
1065
|
+
# status is `DISABLED`, Route 53 ARC includes only autoshift events for
|
|
1066
|
+
# autoshifts when one or more of your resources is included in the
|
|
1067
|
+
# autoshift.
|
|
1068
|
+
#
|
|
1069
|
+
# @return [Types::UpdateAutoshiftObserverNotificationStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1070
|
+
#
|
|
1071
|
+
# * {Types::UpdateAutoshiftObserverNotificationStatusResponse#status #status} => String
|
|
1072
|
+
#
|
|
1073
|
+
# @example Request syntax with placeholder values
|
|
1074
|
+
#
|
|
1075
|
+
# resp = client.update_autoshift_observer_notification_status({
|
|
1076
|
+
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
1077
|
+
# })
|
|
1078
|
+
#
|
|
1079
|
+
# @example Response structure
|
|
1080
|
+
#
|
|
1081
|
+
# resp.status #=> String, one of "ENABLED", "DISABLED"
|
|
1082
|
+
#
|
|
1083
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/UpdateAutoshiftObserverNotificationStatus AWS API Documentation
|
|
1084
|
+
#
|
|
1085
|
+
# @overload update_autoshift_observer_notification_status(params = {})
|
|
1086
|
+
# @param [Hash] params ({})
|
|
1087
|
+
def update_autoshift_observer_notification_status(params = {}, options = {})
|
|
1088
|
+
req = build_request(:update_autoshift_observer_notification_status, params)
|
|
1089
|
+
req.send_request(options)
|
|
1090
|
+
end
|
|
1091
|
+
|
|
999
1092
|
# Update a practice run configuration to change one or more of the
|
|
1000
1093
|
# following: add, change, or remove the blocking alarm; change the
|
|
1001
1094
|
# outcome alarm; or add, change, or remove blocking dates or time
|
|
@@ -1095,12 +1188,20 @@ module Aws::ARCZonalShift
|
|
|
1095
1188
|
req.send_request(options)
|
|
1096
1189
|
end
|
|
1097
1190
|
|
|
1098
|
-
#
|
|
1099
|
-
#
|
|
1100
|
-
#
|
|
1101
|
-
#
|
|
1102
|
-
#
|
|
1103
|
-
#
|
|
1191
|
+
# The zonal autoshift configuration for a resource includes the practice
|
|
1192
|
+
# run configuration and the status for running autoshifts, zonal
|
|
1193
|
+
# autoshift status. When a resource has a practice run configuation,
|
|
1194
|
+
# Route 53 ARC starts weekly zonal shifts for the resource, to shift
|
|
1195
|
+
# traffic away from an Availability Zone. Weekly practice runs help you
|
|
1196
|
+
# to make sure that your application can continue to operate normally
|
|
1197
|
+
# with the loss of one Availability Zone.
|
|
1198
|
+
#
|
|
1199
|
+
# You can update the zonal autoshift autoshift status to enable or
|
|
1200
|
+
# disable zonal autoshift. When zonal autoshift is `ENABLED`, you
|
|
1201
|
+
# authorize Amazon Web Services to shift away resource traffic for an
|
|
1202
|
+
# application from an Availability Zone during events, on your behalf,
|
|
1203
|
+
# to help reduce time to recovery. Traffic is also shifted away for the
|
|
1204
|
+
# required weekly practice runs.
|
|
1104
1205
|
#
|
|
1105
1206
|
# @option params [required, String] :resource_identifier
|
|
1106
1207
|
# The identifier for the resource that you want to update the zonal
|
|
@@ -1109,7 +1210,10 @@ module Aws::ARCZonalShift
|
|
|
1109
1210
|
#
|
|
1110
1211
|
# @option params [required, String] :zonal_autoshift_status
|
|
1111
1212
|
# The zonal autoshift status for the resource that you want to update
|
|
1112
|
-
# the zonal autoshift configuration for.
|
|
1213
|
+
# the zonal autoshift configuration for. Choose `ENABLED` to authorize
|
|
1214
|
+
# Amazon Web Services to shift away resource traffic for an application
|
|
1215
|
+
# from an Availability Zone during events, on your behalf, to help
|
|
1216
|
+
# reduce time to recovery.
|
|
1113
1217
|
#
|
|
1114
1218
|
# @return [Types::UpdateZonalAutoshiftConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1115
1219
|
#
|
|
@@ -1221,7 +1325,7 @@ module Aws::ARCZonalShift
|
|
|
1221
1325
|
params: params,
|
|
1222
1326
|
config: config)
|
|
1223
1327
|
context[:gem_name] = 'aws-sdk-arczonalshift'
|
|
1224
|
-
context[:gem_version] = '1.
|
|
1328
|
+
context[:gem_version] = '1.19.0'
|
|
1225
1329
|
Seahorse::Client::Request.new(handlers, context)
|
|
1226
1330
|
end
|
|
1227
1331
|
|
|
@@ -19,6 +19,7 @@ module Aws::ARCZonalShift
|
|
|
19
19
|
AutoshiftAppliedStatus = Shapes::StringShape.new(name: 'AutoshiftAppliedStatus')
|
|
20
20
|
AutoshiftExecutionStatus = Shapes::StringShape.new(name: 'AutoshiftExecutionStatus')
|
|
21
21
|
AutoshiftInResource = Shapes::StructureShape.new(name: 'AutoshiftInResource')
|
|
22
|
+
AutoshiftObserverNotificationStatus = Shapes::StringShape.new(name: 'AutoshiftObserverNotificationStatus')
|
|
22
23
|
AutoshiftSummaries = Shapes::ListShape.new(name: 'AutoshiftSummaries')
|
|
23
24
|
AutoshiftSummary = Shapes::StructureShape.new(name: 'AutoshiftSummary')
|
|
24
25
|
AutoshiftsInResource = Shapes::ListShape.new(name: 'AutoshiftsInResource')
|
|
@@ -40,6 +41,8 @@ module Aws::ARCZonalShift
|
|
|
40
41
|
DeletePracticeRunConfigurationResponse = Shapes::StructureShape.new(name: 'DeletePracticeRunConfigurationResponse')
|
|
41
42
|
ExpiresIn = Shapes::StringShape.new(name: 'ExpiresIn')
|
|
42
43
|
ExpiryTime = Shapes::TimestampShape.new(name: 'ExpiryTime')
|
|
44
|
+
GetAutoshiftObserverNotificationStatusRequest = Shapes::StructureShape.new(name: 'GetAutoshiftObserverNotificationStatusRequest')
|
|
45
|
+
GetAutoshiftObserverNotificationStatusResponse = Shapes::StructureShape.new(name: 'GetAutoshiftObserverNotificationStatusResponse')
|
|
43
46
|
GetManagedResourceRequest = Shapes::StructureShape.new(name: 'GetManagedResourceRequest')
|
|
44
47
|
GetManagedResourceResponse = Shapes::StructureShape.new(name: 'GetManagedResourceResponse')
|
|
45
48
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
@@ -62,6 +65,8 @@ module Aws::ARCZonalShift
|
|
|
62
65
|
StartZonalShiftRequest = Shapes::StructureShape.new(name: 'StartZonalShiftRequest')
|
|
63
66
|
String = Shapes::StringShape.new(name: 'String')
|
|
64
67
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
|
68
|
+
UpdateAutoshiftObserverNotificationStatusRequest = Shapes::StructureShape.new(name: 'UpdateAutoshiftObserverNotificationStatusRequest')
|
|
69
|
+
UpdateAutoshiftObserverNotificationStatusResponse = Shapes::StructureShape.new(name: 'UpdateAutoshiftObserverNotificationStatusResponse')
|
|
65
70
|
UpdatePracticeRunConfigurationRequest = Shapes::StructureShape.new(name: 'UpdatePracticeRunConfigurationRequest')
|
|
66
71
|
UpdatePracticeRunConfigurationResponse = Shapes::StructureShape.new(name: 'UpdatePracticeRunConfigurationResponse')
|
|
67
72
|
UpdateZonalAutoshiftConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateZonalAutoshiftConfigurationRequest')
|
|
@@ -142,6 +147,11 @@ module Aws::ARCZonalShift
|
|
|
142
147
|
DeletePracticeRunConfigurationResponse.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, required: true, location_name: "zonalAutoshiftStatus"))
|
|
143
148
|
DeletePracticeRunConfigurationResponse.struct_class = Types::DeletePracticeRunConfigurationResponse
|
|
144
149
|
|
|
150
|
+
GetAutoshiftObserverNotificationStatusRequest.struct_class = Types::GetAutoshiftObserverNotificationStatusRequest
|
|
151
|
+
|
|
152
|
+
GetAutoshiftObserverNotificationStatusResponse.add_member(:status, Shapes::ShapeRef.new(shape: AutoshiftObserverNotificationStatus, required: true, location_name: "status"))
|
|
153
|
+
GetAutoshiftObserverNotificationStatusResponse.struct_class = Types::GetAutoshiftObserverNotificationStatusResponse
|
|
154
|
+
|
|
145
155
|
GetManagedResourceRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location: "uri", location_name: "resourceIdentifier"))
|
|
146
156
|
GetManagedResourceRequest.struct_class = Types::GetManagedResourceRequest
|
|
147
157
|
|
|
@@ -214,6 +224,12 @@ module Aws::ARCZonalShift
|
|
|
214
224
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
215
225
|
ThrottlingException.struct_class = Types::ThrottlingException
|
|
216
226
|
|
|
227
|
+
UpdateAutoshiftObserverNotificationStatusRequest.add_member(:status, Shapes::ShapeRef.new(shape: AutoshiftObserverNotificationStatus, required: true, location_name: "status"))
|
|
228
|
+
UpdateAutoshiftObserverNotificationStatusRequest.struct_class = Types::UpdateAutoshiftObserverNotificationStatusRequest
|
|
229
|
+
|
|
230
|
+
UpdateAutoshiftObserverNotificationStatusResponse.add_member(:status, Shapes::ShapeRef.new(shape: AutoshiftObserverNotificationStatus, required: true, location_name: "status"))
|
|
231
|
+
UpdateAutoshiftObserverNotificationStatusResponse.struct_class = Types::UpdateAutoshiftObserverNotificationStatusResponse
|
|
232
|
+
|
|
217
233
|
UpdatePracticeRunConfigurationRequest.add_member(:blocked_dates, Shapes::ShapeRef.new(shape: BlockedDates, location_name: "blockedDates"))
|
|
218
234
|
UpdatePracticeRunConfigurationRequest.add_member(:blocked_windows, Shapes::ShapeRef.new(shape: BlockedWindows, location_name: "blockedWindows"))
|
|
219
235
|
UpdatePracticeRunConfigurationRequest.add_member(:blocking_alarms, Shapes::ShapeRef.new(shape: ControlConditions, location_name: "blockingAlarms"))
|
|
@@ -285,9 +301,11 @@ module Aws::ARCZonalShift
|
|
|
285
301
|
|
|
286
302
|
api.metadata = {
|
|
287
303
|
"apiVersion" => "2022-10-30",
|
|
304
|
+
"auth" => ["aws.auth#sigv4"],
|
|
288
305
|
"endpointPrefix" => "arc-zonal-shift",
|
|
289
306
|
"jsonVersion" => "1.1",
|
|
290
307
|
"protocol" => "rest-json",
|
|
308
|
+
"protocols" => ["rest-json"],
|
|
291
309
|
"serviceFullName" => "AWS ARC - Zonal Shift",
|
|
292
310
|
"serviceId" => "ARC Zonal Shift",
|
|
293
311
|
"signatureVersion" => "v4",
|
|
@@ -337,6 +355,17 @@ module Aws::ARCZonalShift
|
|
|
337
355
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
338
356
|
end)
|
|
339
357
|
|
|
358
|
+
api.add_operation(:get_autoshift_observer_notification_status, Seahorse::Model::Operation.new.tap do |o|
|
|
359
|
+
o.name = "GetAutoshiftObserverNotificationStatus"
|
|
360
|
+
o.http_method = "GET"
|
|
361
|
+
o.http_request_uri = "/autoshift-observer-notification"
|
|
362
|
+
o.input = Shapes::ShapeRef.new(shape: GetAutoshiftObserverNotificationStatusRequest)
|
|
363
|
+
o.output = Shapes::ShapeRef.new(shape: GetAutoshiftObserverNotificationStatusResponse)
|
|
364
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
365
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
366
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
367
|
+
end)
|
|
368
|
+
|
|
340
369
|
api.add_operation(:get_managed_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
341
370
|
o.name = "GetManagedResource"
|
|
342
371
|
o.http_method = "GET"
|
|
@@ -418,6 +447,18 @@ module Aws::ARCZonalShift
|
|
|
418
447
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
419
448
|
end)
|
|
420
449
|
|
|
450
|
+
api.add_operation(:update_autoshift_observer_notification_status, Seahorse::Model::Operation.new.tap do |o|
|
|
451
|
+
o.name = "UpdateAutoshiftObserverNotificationStatus"
|
|
452
|
+
o.http_method = "PUT"
|
|
453
|
+
o.http_request_uri = "/autoshift-observer-notification"
|
|
454
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateAutoshiftObserverNotificationStatusRequest)
|
|
455
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateAutoshiftObserverNotificationStatusResponse)
|
|
456
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
457
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
458
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
459
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
460
|
+
end)
|
|
461
|
+
|
|
421
462
|
api.add_operation(:update_practice_run_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
422
463
|
o.name = "UpdatePracticeRunConfiguration"
|
|
423
464
|
o.http_method = "PATCH"
|
|
@@ -54,6 +54,20 @@ module Aws::ARCZonalShift
|
|
|
54
54
|
end
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
+
class GetAutoshiftObserverNotificationStatus
|
|
58
|
+
def self.build(context)
|
|
59
|
+
unless context.config.regional_endpoint
|
|
60
|
+
endpoint = context.config.endpoint.to_s
|
|
61
|
+
end
|
|
62
|
+
Aws::ARCZonalShift::EndpointParameters.new(
|
|
63
|
+
region: context.config.region,
|
|
64
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
|
65
|
+
use_fips: context.config.use_fips_endpoint,
|
|
66
|
+
endpoint: endpoint,
|
|
67
|
+
)
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
|
|
57
71
|
class GetManagedResource
|
|
58
72
|
def self.build(context)
|
|
59
73
|
unless context.config.regional_endpoint
|
|
@@ -124,6 +138,20 @@ module Aws::ARCZonalShift
|
|
|
124
138
|
end
|
|
125
139
|
end
|
|
126
140
|
|
|
141
|
+
class UpdateAutoshiftObserverNotificationStatus
|
|
142
|
+
def self.build(context)
|
|
143
|
+
unless context.config.regional_endpoint
|
|
144
|
+
endpoint = context.config.endpoint.to_s
|
|
145
|
+
end
|
|
146
|
+
Aws::ARCZonalShift::EndpointParameters.new(
|
|
147
|
+
region: context.config.region,
|
|
148
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
|
149
|
+
use_fips: context.config.use_fips_endpoint,
|
|
150
|
+
endpoint: endpoint,
|
|
151
|
+
)
|
|
152
|
+
end
|
|
153
|
+
end
|
|
154
|
+
|
|
127
155
|
class UpdatePracticeRunConfiguration
|
|
128
156
|
def self.build(context)
|
|
129
157
|
unless context.config.regional_endpoint
|
|
@@ -64,6 +64,8 @@ module Aws::ARCZonalShift
|
|
|
64
64
|
Aws::ARCZonalShift::Endpoints::CreatePracticeRunConfiguration.build(context)
|
|
65
65
|
when :delete_practice_run_configuration
|
|
66
66
|
Aws::ARCZonalShift::Endpoints::DeletePracticeRunConfiguration.build(context)
|
|
67
|
+
when :get_autoshift_observer_notification_status
|
|
68
|
+
Aws::ARCZonalShift::Endpoints::GetAutoshiftObserverNotificationStatus.build(context)
|
|
67
69
|
when :get_managed_resource
|
|
68
70
|
Aws::ARCZonalShift::Endpoints::GetManagedResource.build(context)
|
|
69
71
|
when :list_autoshifts
|
|
@@ -74,6 +76,8 @@ module Aws::ARCZonalShift
|
|
|
74
76
|
Aws::ARCZonalShift::Endpoints::ListZonalShifts.build(context)
|
|
75
77
|
when :start_zonal_shift
|
|
76
78
|
Aws::ARCZonalShift::Endpoints::StartZonalShift.build(context)
|
|
79
|
+
when :update_autoshift_observer_notification_status
|
|
80
|
+
Aws::ARCZonalShift::Endpoints::UpdateAutoshiftObserverNotificationStatus.build(context)
|
|
77
81
|
when :update_practice_run_configuration
|
|
78
82
|
Aws::ARCZonalShift::Endpoints::UpdatePracticeRunConfiguration.build(context)
|
|
79
83
|
when :update_zonal_autoshift_configuration
|
|
@@ -36,18 +36,18 @@ module Aws::ARCZonalShift
|
|
|
36
36
|
#
|
|
37
37
|
# @!attribute [rw] applied_status
|
|
38
38
|
# The `appliedStatus` field specifies which application traffic shift
|
|
39
|
-
# is in effect for a resource when there is more than one
|
|
40
|
-
# shift
|
|
39
|
+
# is in effect for a resource when there is more than one active
|
|
40
|
+
# traffic shift. There can be more than one application traffic shift
|
|
41
41
|
# in progress at the same time - that is, practice run zonal shifts,
|
|
42
|
-
# customer-
|
|
43
|
-
# field for
|
|
44
|
-
# `APPLIED` or `NOT_APPLIED`. The zonal
|
|
45
|
-
# currently in effect for the resource has
|
|
46
|
-
# `APPLIED`.
|
|
42
|
+
# customer-initiated zonal shifts, or an autoshift. The
|
|
43
|
+
# `appliedStatus` field for a shift that is in progress for a resource
|
|
44
|
+
# can have one of two values: `APPLIED` or `NOT_APPLIED`. The zonal
|
|
45
|
+
# shift or autoshift that is currently in effect for the resource has
|
|
46
|
+
# an `appliedStatus` set to `APPLIED`.
|
|
47
47
|
#
|
|
48
48
|
# The overall principle for precedence is that zonal shifts that you
|
|
49
49
|
# start as a customer take precedence autoshifts, which take
|
|
50
|
-
# precedence over practice runs. That is, customer-
|
|
50
|
+
# precedence over practice runs. That is, customer-initiated zonal
|
|
51
51
|
# shifts > autoshifts > practice run zonal shifts.
|
|
52
52
|
#
|
|
53
53
|
# For more information, see [How zonal autoshift and practice runs
|
|
@@ -60,13 +60,13 @@ module Aws::ARCZonalShift
|
|
|
60
60
|
# @return [String]
|
|
61
61
|
#
|
|
62
62
|
# @!attribute [rw] away_from
|
|
63
|
-
# The Availability Zone that traffic is
|
|
64
|
-
# resource, when Amazon Web Services starts an
|
|
65
|
-
# autoshift ends, traffic for the resource is
|
|
66
|
-
# other Availability Zones in the Amazon Web
|
|
67
|
-
# autoshift can end for a resource, for example,
|
|
68
|
-
# Services ends the autoshift for the Availability
|
|
69
|
-
# disable zonal autoshift for the resource.
|
|
63
|
+
# The Availability Zone (for example, `use1-az1`) that traffic is
|
|
64
|
+
# shifted away from for a resource, when Amazon Web Services starts an
|
|
65
|
+
# autoshift. Until the autoshift ends, traffic for the resource is
|
|
66
|
+
# instead directed to other Availability Zones in the Amazon Web
|
|
67
|
+
# Services Region. An autoshift can end for a resource, for example,
|
|
68
|
+
# when Amazon Web Services ends the autoshift for the Availability
|
|
69
|
+
# Zone or when you disable zonal autoshift for the resource.
|
|
70
70
|
# @return [String]
|
|
71
71
|
#
|
|
72
72
|
# @!attribute [rw] start_time
|
|
@@ -99,13 +99,13 @@ module Aws::ARCZonalShift
|
|
|
99
99
|
# You can stop an autoshift for a resource by disabling zonal autoshift.
|
|
100
100
|
#
|
|
101
101
|
# @!attribute [rw] away_from
|
|
102
|
-
# The Availability Zone that traffic is
|
|
103
|
-
# resource when Amazon Web Services starts an
|
|
104
|
-
# autoshift ends, traffic for the resource is
|
|
105
|
-
# other Availability Zones in the Amazon Web
|
|
106
|
-
# autoshift can end for a resource, for example,
|
|
107
|
-
# Services ends the autoshift for the Availability
|
|
108
|
-
# disable zonal autoshift for the resource.
|
|
102
|
+
# The Availability Zone (for example, `use1-az1`) that traffic is
|
|
103
|
+
# shifted away from for a resource when Amazon Web Services starts an
|
|
104
|
+
# autoshift. Until the autoshift ends, traffic for the resource is
|
|
105
|
+
# instead directed to other Availability Zones in the Amazon Web
|
|
106
|
+
# Services Region. An autoshift can end for a resource, for example,
|
|
107
|
+
# when Amazon Web Services ends the autoshift for the Availability
|
|
108
|
+
# Zone or when you disable zonal autoshift for the resource.
|
|
109
109
|
# @return [String]
|
|
110
110
|
#
|
|
111
111
|
# @!attribute [rw] end_time
|
|
@@ -173,7 +173,7 @@ module Aws::ARCZonalShift
|
|
|
173
173
|
# to use with the practice run. The alarms that you specify are an
|
|
174
174
|
# *outcome alarm*, to monitor application health during practice runs
|
|
175
175
|
# and, optionally, a *blocking alarm*, to block practice runs from
|
|
176
|
-
# starting.
|
|
176
|
+
# starting or to interrupt a practice run in progress.
|
|
177
177
|
#
|
|
178
178
|
# Control condition alarms do not apply for autoshifts.
|
|
179
179
|
#
|
|
@@ -186,12 +186,13 @@ module Aws::ARCZonalShift
|
|
|
186
186
|
# [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.considerations.html
|
|
187
187
|
#
|
|
188
188
|
# @!attribute [rw] alarm_identifier
|
|
189
|
-
# The Amazon Resource Name (ARN) for
|
|
189
|
+
# The Amazon Resource Name (ARN) for an Amazon CloudWatch alarm that
|
|
190
190
|
# you specify as a control condition for a practice run.
|
|
191
191
|
# @return [String]
|
|
192
192
|
#
|
|
193
193
|
# @!attribute [rw] type
|
|
194
|
-
# The type of alarm specified for a practice run.
|
|
194
|
+
# The type of alarm specified for a practice run. You can only specify
|
|
195
|
+
# Amazon CloudWatch alarms for practice runs, so the only valid value
|
|
195
196
|
# is `CLOUDWATCH`.
|
|
196
197
|
# @return [String]
|
|
197
198
|
#
|
|
@@ -254,9 +255,9 @@ module Aws::ARCZonalShift
|
|
|
254
255
|
# @return [Array<Types::ControlCondition>]
|
|
255
256
|
#
|
|
256
257
|
# @!attribute [rw] resource_identifier
|
|
257
|
-
# The identifier of the resource
|
|
258
|
-
#
|
|
259
|
-
# Resource Name (ARN) for the resource.
|
|
258
|
+
# The identifier of the resource that Amazon Web Services shifts
|
|
259
|
+
# traffic for with a practice run zonal shift. The identifier is the
|
|
260
|
+
# Amazon Resource Name (ARN) for the resource.
|
|
260
261
|
#
|
|
261
262
|
# At this time, supported resources are Network Load Balancers and
|
|
262
263
|
# Application Load Balancers with cross-zone load balancing turned
|
|
@@ -291,12 +292,12 @@ module Aws::ARCZonalShift
|
|
|
291
292
|
# @return [Types::PracticeRunConfiguration]
|
|
292
293
|
#
|
|
293
294
|
# @!attribute [rw] zonal_autoshift_status
|
|
294
|
-
# The status for zonal autoshift for a resource. When you specify
|
|
295
|
-
# autoshift status
|
|
296
|
-
# away from shifts away application resource traffic from an
|
|
297
|
-
# Availability Zone, on your behalf, when
|
|
298
|
-
#
|
|
299
|
-
#
|
|
295
|
+
# The status for zonal autoshift for a resource. When you specify
|
|
296
|
+
# `ENABLED` for the autoshift status, Amazon Web Services shifts
|
|
297
|
+
# traffic away from shifts away application resource traffic from an
|
|
298
|
+
# Availability Zone, on your behalf, when internal telemetry indicates
|
|
299
|
+
# that there is an Availability Zone impairment that could potentially
|
|
300
|
+
# impact customers.
|
|
300
301
|
#
|
|
301
302
|
# When you enable zonal autoshift, you must also configure practice
|
|
302
303
|
# runs for the resource.
|
|
@@ -350,9 +351,33 @@ module Aws::ARCZonalShift
|
|
|
350
351
|
include Aws::Structure
|
|
351
352
|
end
|
|
352
353
|
|
|
354
|
+
# @api private
|
|
355
|
+
#
|
|
356
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/GetAutoshiftObserverNotificationStatusRequest AWS API Documentation
|
|
357
|
+
#
|
|
358
|
+
class GetAutoshiftObserverNotificationStatusRequest < Aws::EmptyStructure; end
|
|
359
|
+
|
|
360
|
+
# @!attribute [rw] status
|
|
361
|
+
# The status of autoshift observer notification. If the status is
|
|
362
|
+
# `ENABLED`, Route 53 ARC includes all autoshift events when you use
|
|
363
|
+
# the Amazon EventBridge pattern `Autoshift In Progress`. When the
|
|
364
|
+
# status is `DISABLED`, Route 53 ARC includes only autoshift events
|
|
365
|
+
# for autoshifts when one or more of your resources is included in the
|
|
366
|
+
# autoshift.
|
|
367
|
+
# @return [String]
|
|
368
|
+
#
|
|
369
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/GetAutoshiftObserverNotificationStatusResponse AWS API Documentation
|
|
370
|
+
#
|
|
371
|
+
class GetAutoshiftObserverNotificationStatusResponse < Struct.new(
|
|
372
|
+
:status)
|
|
373
|
+
SENSITIVE = []
|
|
374
|
+
include Aws::Structure
|
|
375
|
+
end
|
|
376
|
+
|
|
353
377
|
# @!attribute [rw] resource_identifier
|
|
354
|
-
# The identifier for the resource
|
|
355
|
-
# identifier is the Amazon Resource Name (ARN) for
|
|
378
|
+
# The identifier for the resource that Amazon Web Services shifts
|
|
379
|
+
# traffic for. The identifier is the Amazon Resource Name (ARN) for
|
|
380
|
+
# the resource.
|
|
356
381
|
#
|
|
357
382
|
# At this time, supported resources are Network Load Balancers and
|
|
358
383
|
# Application Load Balancers with cross-zone load balancing turned
|
|
@@ -658,7 +683,14 @@ module Aws::ARCZonalShift
|
|
|
658
683
|
|
|
659
684
|
# A practice run configuration for a resource includes the Amazon
|
|
660
685
|
# CloudWatch alarms that you've specified for a practice run, as well
|
|
661
|
-
# as any blocked dates or blocked windows for the practice run.
|
|
686
|
+
# as any blocked dates or blocked windows for the practice run. When a
|
|
687
|
+
# resource has a practice run configuration, Route 53 ARC shifts traffic
|
|
688
|
+
# for the resource weekly for practice runs.
|
|
689
|
+
#
|
|
690
|
+
# Practice runs are required for zonal autoshift. The zonal shifts that
|
|
691
|
+
# Route 53 ARC starts for practice runs help you to ensure that shifting
|
|
692
|
+
# away traffic from an Availability Zone during an autoshift is safe for
|
|
693
|
+
# your application.
|
|
662
694
|
#
|
|
663
695
|
# You can update or delete a practice run configuration. Before you
|
|
664
696
|
# delete a practice run configuration, you must disable zonal autoshift
|
|
@@ -718,10 +750,11 @@ module Aws::ARCZonalShift
|
|
|
718
750
|
end
|
|
719
751
|
|
|
720
752
|
# @!attribute [rw] away_from
|
|
721
|
-
# The Availability Zone that traffic is
|
|
722
|
-
# when you start a zonal shift. Until
|
|
723
|
-
# cancel it, traffic for the resource
|
|
724
|
-
# Availability Zones in the Amazon Web
|
|
753
|
+
# The Availability Zone (for example, `use1-az1`) that traffic is
|
|
754
|
+
# moved away from for a resource when you start a zonal shift. Until
|
|
755
|
+
# the zonal shift expires or you cancel it, traffic for the resource
|
|
756
|
+
# is instead moved to other Availability Zones in the Amazon Web
|
|
757
|
+
# Services Region.
|
|
725
758
|
# @return [String]
|
|
726
759
|
#
|
|
727
760
|
# @!attribute [rw] comment
|
|
@@ -753,8 +786,9 @@ module Aws::ARCZonalShift
|
|
|
753
786
|
# @return [String]
|
|
754
787
|
#
|
|
755
788
|
# @!attribute [rw] resource_identifier
|
|
756
|
-
# The identifier for the resource
|
|
757
|
-
# identifier is the Amazon Resource Name (ARN) for
|
|
789
|
+
# The identifier for the resource that Amazon Web Services shifts
|
|
790
|
+
# traffic for. The identifier is the Amazon Resource Name (ARN) for
|
|
791
|
+
# the resource.
|
|
758
792
|
#
|
|
759
793
|
# At this time, supported resources are Network Load Balancers and
|
|
760
794
|
# Application Load Balancers with cross-zone load balancing turned
|
|
@@ -785,6 +819,35 @@ module Aws::ARCZonalShift
|
|
|
785
819
|
include Aws::Structure
|
|
786
820
|
end
|
|
787
821
|
|
|
822
|
+
# @!attribute [rw] status
|
|
823
|
+
# The status to set for autoshift observer notification. If the status
|
|
824
|
+
# is `ENABLED`, Route 53 ARC includes all autoshift events when you
|
|
825
|
+
# use the Amazon EventBridge pattern `Autoshift In Progress`. When the
|
|
826
|
+
# status is `DISABLED`, Route 53 ARC includes only autoshift events
|
|
827
|
+
# for autoshifts when one or more of your resources is included in the
|
|
828
|
+
# autoshift.
|
|
829
|
+
# @return [String]
|
|
830
|
+
#
|
|
831
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/UpdateAutoshiftObserverNotificationStatusRequest AWS API Documentation
|
|
832
|
+
#
|
|
833
|
+
class UpdateAutoshiftObserverNotificationStatusRequest < Struct.new(
|
|
834
|
+
:status)
|
|
835
|
+
SENSITIVE = []
|
|
836
|
+
include Aws::Structure
|
|
837
|
+
end
|
|
838
|
+
|
|
839
|
+
# @!attribute [rw] status
|
|
840
|
+
# The status for autoshift observer notification.
|
|
841
|
+
# @return [String]
|
|
842
|
+
#
|
|
843
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/UpdateAutoshiftObserverNotificationStatusResponse AWS API Documentation
|
|
844
|
+
#
|
|
845
|
+
class UpdateAutoshiftObserverNotificationStatusResponse < Struct.new(
|
|
846
|
+
:status)
|
|
847
|
+
SENSITIVE = []
|
|
848
|
+
include Aws::Structure
|
|
849
|
+
end
|
|
850
|
+
|
|
788
851
|
# @!attribute [rw] blocked_dates
|
|
789
852
|
# Add, change, or remove blocked dates for a practice run in zonal
|
|
790
853
|
# autoshift.
|
|
@@ -881,7 +944,10 @@ module Aws::ARCZonalShift
|
|
|
881
944
|
#
|
|
882
945
|
# @!attribute [rw] zonal_autoshift_status
|
|
883
946
|
# The zonal autoshift status for the resource that you want to update
|
|
884
|
-
# the zonal autoshift configuration for.
|
|
947
|
+
# the zonal autoshift configuration for. Choose `ENABLED` to authorize
|
|
948
|
+
# Amazon Web Services to shift away resource traffic for an
|
|
949
|
+
# application from an Availability Zone during events, on your behalf,
|
|
950
|
+
# to help reduce time to recovery.
|
|
885
951
|
# @return [String]
|
|
886
952
|
#
|
|
887
953
|
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/UpdateZonalAutoshiftConfigurationRequest AWS API Documentation
|
|
@@ -900,8 +966,7 @@ module Aws::ARCZonalShift
|
|
|
900
966
|
# @return [String]
|
|
901
967
|
#
|
|
902
968
|
# @!attribute [rw] zonal_autoshift_status
|
|
903
|
-
# The zonal autoshift status for the resource
|
|
904
|
-
# zonal autoshift configuration for.
|
|
969
|
+
# The updated zonal autoshift status for the resource.
|
|
905
970
|
# @return [String]
|
|
906
971
|
#
|
|
907
972
|
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/UpdateZonalAutoshiftConfigurationResponse AWS API Documentation
|
|
@@ -975,10 +1040,11 @@ module Aws::ARCZonalShift
|
|
|
975
1040
|
end
|
|
976
1041
|
|
|
977
1042
|
# @!attribute [rw] away_from
|
|
978
|
-
# The Availability Zone that traffic is
|
|
979
|
-
# when you start a zonal shift. Until
|
|
980
|
-
# cancel it, traffic for the resource
|
|
981
|
-
# Availability Zones in the Amazon Web
|
|
1043
|
+
# The Availability Zone (for example, `use1-az1`) that traffic is
|
|
1044
|
+
# moved away from for a resource when you start a zonal shift. Until
|
|
1045
|
+
# the zonal shift expires or you cancel it, traffic for the resource
|
|
1046
|
+
# is instead moved to other Availability Zones in the Amazon Web
|
|
1047
|
+
# Services Region.
|
|
982
1048
|
# @return [String]
|
|
983
1049
|
#
|
|
984
1050
|
# @!attribute [rw] comment
|
|
@@ -988,7 +1054,7 @@ module Aws::ARCZonalShift
|
|
|
988
1054
|
# @return [String]
|
|
989
1055
|
#
|
|
990
1056
|
# @!attribute [rw] expiry_time
|
|
991
|
-
# The expiry time (expiration time) for a customer-
|
|
1057
|
+
# The expiry time (expiration time) for a customer-initiated zonal
|
|
992
1058
|
# shift. A zonal shift is temporary and must be set to expire when you
|
|
993
1059
|
# start the zonal shift. You can initially set a zonal shift to expire
|
|
994
1060
|
# in a maximum of three days (72 hours). However, you can update a
|
|
@@ -1003,8 +1069,9 @@ module Aws::ARCZonalShift
|
|
|
1003
1069
|
# @return [Time]
|
|
1004
1070
|
#
|
|
1005
1071
|
# @!attribute [rw] resource_identifier
|
|
1006
|
-
# The identifier for the resource
|
|
1007
|
-
# identifier is the Amazon Resource Name (ARN) for
|
|
1072
|
+
# The identifier for the resource that Amazon Web Services shifts
|
|
1073
|
+
# traffic for. The identifier is the Amazon Resource Name (ARN) for
|
|
1074
|
+
# the resource.
|
|
1008
1075
|
#
|
|
1009
1076
|
# At this time, supported resources are Network Load Balancers and
|
|
1010
1077
|
# Application Load Balancers with cross-zone load balancing turned
|
|
@@ -1051,18 +1118,18 @@ module Aws::ARCZonalShift
|
|
|
1051
1118
|
#
|
|
1052
1119
|
# @!attribute [rw] applied_status
|
|
1053
1120
|
# The `appliedStatus` field specifies which application traffic shift
|
|
1054
|
-
# is in effect for a resource when there is more than one
|
|
1055
|
-
# shift
|
|
1121
|
+
# is in effect for a resource when there is more than one active
|
|
1122
|
+
# traffic shift. There can be more than one application traffic shift
|
|
1056
1123
|
# in progress at the same time - that is, practice run zonal shifts,
|
|
1057
|
-
# customer-
|
|
1058
|
-
# field for
|
|
1059
|
-
# `APPLIED` or `NOT_APPLIED`. The zonal
|
|
1060
|
-
# currently in effect for the resource has
|
|
1061
|
-
# `APPLIED`.
|
|
1124
|
+
# customer-initiated zonal shifts, or an autoshift. The
|
|
1125
|
+
# `appliedStatus` field for a shift that is in progress for a resource
|
|
1126
|
+
# can have one of two values: `APPLIED` or `NOT_APPLIED`. The zonal
|
|
1127
|
+
# shift or autoshift that is currently in effect for the resource has
|
|
1128
|
+
# an `appliedStatus` set to `APPLIED`.
|
|
1062
1129
|
#
|
|
1063
1130
|
# The overall principle for precedence is that zonal shifts that you
|
|
1064
1131
|
# start as a customer take precedence autoshifts, which take
|
|
1065
|
-
# precedence over practice runs. That is, customer-
|
|
1132
|
+
# precedence over practice runs. That is, customer-initiated zonal
|
|
1066
1133
|
# shifts > autoshifts > practice run zonal shifts.
|
|
1067
1134
|
#
|
|
1068
1135
|
# For more information, see [How zonal autoshift and practice runs
|
|
@@ -1075,20 +1142,21 @@ module Aws::ARCZonalShift
|
|
|
1075
1142
|
# @return [String]
|
|
1076
1143
|
#
|
|
1077
1144
|
# @!attribute [rw] away_from
|
|
1078
|
-
# The Availability Zone that traffic is
|
|
1079
|
-
# when you start a zonal shift. Until
|
|
1080
|
-
# cancel it, traffic for the resource
|
|
1081
|
-
# Availability Zones in the Amazon Web
|
|
1145
|
+
# The Availability Zone (for example, `use1-az1`) that traffic is
|
|
1146
|
+
# moved away from for a resource when you start a zonal shift. Until
|
|
1147
|
+
# the zonal shift expires or you cancel it, traffic for the resource
|
|
1148
|
+
# is instead moved to other Availability Zones in the Amazon Web
|
|
1149
|
+
# Services Region.
|
|
1082
1150
|
# @return [String]
|
|
1083
1151
|
#
|
|
1084
1152
|
# @!attribute [rw] comment
|
|
1085
|
-
# A comment that you enter
|
|
1086
|
-
# comment is retained; no comment history is maintained.
|
|
1087
|
-
# new comment overwrites any existing comment string.
|
|
1153
|
+
# A comment that you enter for a customer-initiated zonal shift. Only
|
|
1154
|
+
# the latest comment is retained; no comment history is maintained.
|
|
1155
|
+
# That is, a new comment overwrites any existing comment string.
|
|
1088
1156
|
# @return [String]
|
|
1089
1157
|
#
|
|
1090
1158
|
# @!attribute [rw] expiry_time
|
|
1091
|
-
# The expiry time (expiration time) for a customer-
|
|
1159
|
+
# The expiry time (expiration time) for a customer-initiated zonal
|
|
1092
1160
|
# shift. A zonal shift is temporary and must be set to expire when you
|
|
1093
1161
|
# start the zonal shift. You can initially set a zonal shift to expire
|
|
1094
1162
|
# in a maximum of three days (72 hours). However, you can update a
|
|
@@ -1169,17 +1237,18 @@ module Aws::ARCZonalShift
|
|
|
1169
1237
|
# and zonal shifts that Route 53 ARC starts on your behalf for practice
|
|
1170
1238
|
# runs with zonal autoshift.
|
|
1171
1239
|
#
|
|
1172
|
-
# Zonal shifts are temporary, including customer-
|
|
1240
|
+
# Zonal shifts are temporary, including customer-initiated zonal shifts
|
|
1173
1241
|
# and the zonal autoshift practice run zonal shifts that Route 53 ARC
|
|
1174
1242
|
# starts weekly, on your behalf. A zonal shift that a customer starts
|
|
1175
1243
|
# can be active for up to three days (72 hours). A practice run zonal
|
|
1176
1244
|
# shift has a 30 minute duration.
|
|
1177
1245
|
#
|
|
1178
1246
|
# @!attribute [rw] away_from
|
|
1179
|
-
# The Availability Zone that traffic is
|
|
1180
|
-
# when you start a zonal shift. Until
|
|
1181
|
-
# cancel it, traffic for the resource
|
|
1182
|
-
# Availability Zones in the Amazon Web
|
|
1247
|
+
# The Availability Zone (for example, `use1-az1`) that traffic is
|
|
1248
|
+
# moved away from for a resource when you start a zonal shift. Until
|
|
1249
|
+
# the zonal shift expires or you cancel it, traffic for the resource
|
|
1250
|
+
# is instead moved to other Availability Zones in the Amazon Web
|
|
1251
|
+
# Services Region.
|
|
1183
1252
|
# @return [String]
|
|
1184
1253
|
#
|
|
1185
1254
|
# @!attribute [rw] comment
|
|
@@ -1189,7 +1258,7 @@ module Aws::ARCZonalShift
|
|
|
1189
1258
|
# @return [String]
|
|
1190
1259
|
#
|
|
1191
1260
|
# @!attribute [rw] expiry_time
|
|
1192
|
-
# The expiry time (expiration time) for a customer-
|
|
1261
|
+
# The expiry time (expiration time) for a customer-initiated zonal
|
|
1193
1262
|
# shift. A zonal shift is temporary and must be set to expire when you
|
|
1194
1263
|
# start the zonal shift. You can initially set a zonal shift to expire
|
|
1195
1264
|
# in a maximum of three days (72 hours). However, you can update a
|
data/sig/client.rbs
CHANGED
|
@@ -128,6 +128,15 @@ module Aws
|
|
|
128
128
|
) -> _DeletePracticeRunConfigurationResponseSuccess
|
|
129
129
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePracticeRunConfigurationResponseSuccess
|
|
130
130
|
|
|
131
|
+
interface _GetAutoshiftObserverNotificationStatusResponseSuccess
|
|
132
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAutoshiftObserverNotificationStatusResponse]
|
|
133
|
+
def status: () -> ("ENABLED" | "DISABLED")
|
|
134
|
+
end
|
|
135
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#get_autoshift_observer_notification_status-instance_method
|
|
136
|
+
def get_autoshift_observer_notification_status: (
|
|
137
|
+
) -> _GetAutoshiftObserverNotificationStatusResponseSuccess
|
|
138
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAutoshiftObserverNotificationStatusResponseSuccess
|
|
139
|
+
|
|
131
140
|
interface _GetManagedResourceResponseSuccess
|
|
132
141
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetManagedResourceResponse]
|
|
133
142
|
def applied_weights: () -> ::Hash[::String, ::Float]
|
|
@@ -202,6 +211,16 @@ module Aws
|
|
|
202
211
|
) -> _StartZonalShiftResponseSuccess
|
|
203
212
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartZonalShiftResponseSuccess
|
|
204
213
|
|
|
214
|
+
interface _UpdateAutoshiftObserverNotificationStatusResponseSuccess
|
|
215
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAutoshiftObserverNotificationStatusResponse]
|
|
216
|
+
def status: () -> ("ENABLED" | "DISABLED")
|
|
217
|
+
end
|
|
218
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#update_autoshift_observer_notification_status-instance_method
|
|
219
|
+
def update_autoshift_observer_notification_status: (
|
|
220
|
+
status: ("ENABLED" | "DISABLED")
|
|
221
|
+
) -> _UpdateAutoshiftObserverNotificationStatusResponseSuccess
|
|
222
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAutoshiftObserverNotificationStatusResponseSuccess
|
|
223
|
+
|
|
205
224
|
interface _UpdatePracticeRunConfigurationResponseSuccess
|
|
206
225
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePracticeRunConfigurationResponse]
|
|
207
226
|
def arn: () -> ::String
|
data/sig/types.rbs
CHANGED
|
@@ -75,6 +75,14 @@ module Aws::ARCZonalShift
|
|
|
75
75
|
SENSITIVE: []
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
+
class GetAutoshiftObserverNotificationStatusRequest < Aws::EmptyStructure
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
class GetAutoshiftObserverNotificationStatusResponse
|
|
82
|
+
attr_accessor status: ("ENABLED" | "DISABLED")
|
|
83
|
+
SENSITIVE: []
|
|
84
|
+
end
|
|
85
|
+
|
|
78
86
|
class GetManagedResourceRequest
|
|
79
87
|
attr_accessor resource_identifier: ::String
|
|
80
88
|
SENSITIVE: []
|
|
@@ -173,6 +181,16 @@ module Aws::ARCZonalShift
|
|
|
173
181
|
SENSITIVE: []
|
|
174
182
|
end
|
|
175
183
|
|
|
184
|
+
class UpdateAutoshiftObserverNotificationStatusRequest
|
|
185
|
+
attr_accessor status: ("ENABLED" | "DISABLED")
|
|
186
|
+
SENSITIVE: []
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
class UpdateAutoshiftObserverNotificationStatusResponse
|
|
190
|
+
attr_accessor status: ("ENABLED" | "DISABLED")
|
|
191
|
+
SENSITIVE: []
|
|
192
|
+
end
|
|
193
|
+
|
|
176
194
|
class UpdatePracticeRunConfigurationRequest
|
|
177
195
|
attr_accessor blocked_dates: ::Array[::String]
|
|
178
196
|
attr_accessor blocked_windows: ::Array[::String]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.19.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-07-
|
|
11
|
+
date: 2024-07-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -36,14 +36,14 @@ dependencies:
|
|
|
36
36
|
requirements:
|
|
37
37
|
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: '1.
|
|
39
|
+
version: '1.5'
|
|
40
40
|
type: :runtime
|
|
41
41
|
prerelease: false
|
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
|
44
44
|
- - "~>"
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: '1.
|
|
46
|
+
version: '1.5'
|
|
47
47
|
description: Official AWS Ruby gem for AWS ARC - Zonal Shift. This gem is part of
|
|
48
48
|
the AWS SDK for Ruby.
|
|
49
49
|
email:
|