aws-sdk-arczonalshift 1.18.0 → 1.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-arczonalshift/client.rb +142 -21
- 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 +20 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +18 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6995c43e699050563f5a342f07d86a4b36d02327ffee61e9698d01ffe1d05e0
|
4
|
+
data.tar.gz: 63e04159a1484fec492c5d71c7266d6e35d074bee6ee1d0d719e5d489684f1ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d630ce5e08cf7471b14d0733f6e4e96bee1f3b34ab14e463f0ef1c133d9c952777908aef26d0b07ce384800427a58a0c873928e26387c61ebba36cf24a69d68e
|
7
|
+
data.tar.gz: 5645e1735fc67bfee1983b7c2d35946e3ddeeead85271c74de30a9395bb52ac69d95b552a9cdf2304a4e5945d9f031bb8d2be7b710776ffec3667c2784c82ccf
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.20.0 (2024-09-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.19.0 (2024-07-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds the option to subscribe to get notifications when a zonal autoshift occurs in a region.
|
13
|
+
|
4
14
|
1.18.0 (2024-07-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.20.0
|
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
37
38
|
|
@@ -83,6 +84,7 @@ module Aws::ARCZonalShift
|
|
83
84
|
add_plugin(Aws::Plugins::RequestCompression)
|
84
85
|
add_plugin(Aws::Plugins::DefaultsMode)
|
85
86
|
add_plugin(Aws::Plugins::RecursionDetection)
|
87
|
+
add_plugin(Aws::Plugins::Telemetry)
|
86
88
|
add_plugin(Aws::Plugins::Sign)
|
87
89
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
88
90
|
add_plugin(Aws::ARCZonalShift::Plugins::Endpoints)
|
@@ -330,6 +332,16 @@ module Aws::ARCZonalShift
|
|
330
332
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
331
333
|
# requests are made, and retries are disabled.
|
332
334
|
#
|
335
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
336
|
+
# Allows you to provide a telemetry provider, which is used to
|
337
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
338
|
+
# will not record or emit any telemetry data. The SDK supports the
|
339
|
+
# following telemetry providers:
|
340
|
+
#
|
341
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
342
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
343
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
344
|
+
#
|
333
345
|
# @option options [Aws::TokenProvider] :token_provider
|
334
346
|
# A Bearer Token Provider. This can be an instance of any one of the
|
335
347
|
# following classes:
|
@@ -478,6 +490,11 @@ module Aws::ARCZonalShift
|
|
478
490
|
# application health during practice runs and, optionally, a *blocking
|
479
491
|
# alarm*, to block practice runs from starting.
|
480
492
|
#
|
493
|
+
# When a resource has a practice run configuration, Route 53 ARC starts
|
494
|
+
# zonal shifts for the resource weekly, to shift traffic for practice
|
495
|
+
# runs. Practice runs help you to ensure that shifting away traffic from
|
496
|
+
# an Availability Zone during an autoshift is safe for your application.
|
497
|
+
#
|
481
498
|
# For more information, see [ Considerations when you configure zonal
|
482
499
|
# autoshift][1] in the Amazon Route 53 Application Recovery Controller
|
483
500
|
# Developer Guide.
|
@@ -532,8 +549,8 @@ module Aws::ARCZonalShift
|
|
532
549
|
# Availability Zone.
|
533
550
|
#
|
534
551
|
# @option params [required, String] :resource_identifier
|
535
|
-
# The identifier of the resource
|
536
|
-
# practice run
|
552
|
+
# The identifier of the resource that Amazon Web Services shifts traffic
|
553
|
+
# for with a practice run zonal shift. The identifier is the Amazon
|
537
554
|
# Resource Name (ARN) for the resource.
|
538
555
|
#
|
539
556
|
# At this time, supported resources are Network Load Balancers and
|
@@ -628,6 +645,41 @@ module Aws::ARCZonalShift
|
|
628
645
|
req.send_request(options)
|
629
646
|
end
|
630
647
|
|
648
|
+
# Returns the status of autoshift observer notification. Autoshift
|
649
|
+
# observer notification enables you to be notified, through Amazon
|
650
|
+
# EventBridge, when there is an autoshift event for zonal autoshift.
|
651
|
+
#
|
652
|
+
# If the status is `ENABLED`, Route 53 ARC includes all autoshift events
|
653
|
+
# when you use the EventBridge pattern `Autoshift In Progress`. When the
|
654
|
+
# status is `DISABLED`, Route 53 ARC includes only autoshift events for
|
655
|
+
# autoshifts when one or more of your resources is included in the
|
656
|
+
# autoshift.
|
657
|
+
#
|
658
|
+
# For more information, see [ Notifications for practice runs and
|
659
|
+
# autoshifts][1] in the Amazon Route 53 Application Recovery Controller
|
660
|
+
# Developer Guide.
|
661
|
+
#
|
662
|
+
#
|
663
|
+
#
|
664
|
+
# [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html#ZAShiftNotification
|
665
|
+
#
|
666
|
+
# @return [Types::GetAutoshiftObserverNotificationStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
667
|
+
#
|
668
|
+
# * {Types::GetAutoshiftObserverNotificationStatusResponse#status #status} => String
|
669
|
+
#
|
670
|
+
# @example Response structure
|
671
|
+
#
|
672
|
+
# resp.status #=> String, one of "ENABLED", "DISABLED"
|
673
|
+
#
|
674
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/GetAutoshiftObserverNotificationStatus AWS API Documentation
|
675
|
+
#
|
676
|
+
# @overload get_autoshift_observer_notification_status(params = {})
|
677
|
+
# @param [Hash] params ({})
|
678
|
+
def get_autoshift_observer_notification_status(params = {}, options = {})
|
679
|
+
req = build_request(:get_autoshift_observer_notification_status, params)
|
680
|
+
req.send_request(options)
|
681
|
+
end
|
682
|
+
|
631
683
|
# Get information about a resource that's been registered for zonal
|
632
684
|
# shifts with Amazon Route 53 Application Recovery Controller in this
|
633
685
|
# Amazon Web Services Region. Resources that are registered for zonal
|
@@ -639,8 +691,9 @@ module Aws::ARCZonalShift
|
|
639
691
|
# with cross-zone load balancing turned off.
|
640
692
|
#
|
641
693
|
# @option params [required, String] :resource_identifier
|
642
|
-
# The identifier for the resource
|
643
|
-
# identifier is the Amazon Resource Name (ARN) for the
|
694
|
+
# The identifier for the resource that Amazon Web Services shifts
|
695
|
+
# traffic for. The identifier is the Amazon Resource Name (ARN) for the
|
696
|
+
# resource.
|
644
697
|
#
|
645
698
|
# At this time, supported resources are Network Load Balancers and
|
646
699
|
# Application Load Balancers with cross-zone load balancing turned off.
|
@@ -701,7 +754,9 @@ module Aws::ARCZonalShift
|
|
701
754
|
req.send_request(options)
|
702
755
|
end
|
703
756
|
|
704
|
-
# Returns
|
757
|
+
# Returns a list of autoshifts for an Amazon Web Services Region. By
|
758
|
+
# default, the call returns only `ACTIVE` autoshifts. Optionally, you
|
759
|
+
# can specify the `status` parameter to return `COMPLETED` autoshifts.
|
705
760
|
#
|
706
761
|
# @option params [Integer] :max_results
|
707
762
|
# The number of objects that you want to return with this call.
|
@@ -818,7 +873,7 @@ module Aws::ARCZonalShift
|
|
818
873
|
# Lists all active and completed zonal shifts in Amazon Route 53
|
819
874
|
# Application Recovery Controller in your Amazon Web Services account in
|
820
875
|
# this Amazon Web Services Region. `ListZonalShifts` returns
|
821
|
-
# customer-
|
876
|
+
# customer-initiated zonal shifts, as well as practice run zonal shifts
|
822
877
|
# that Route 53 ARC started on your behalf for zonal autoshift.
|
823
878
|
#
|
824
879
|
# The `ListZonalShifts` operation does not list autoshifts. For more
|
@@ -920,10 +975,10 @@ module Aws::ARCZonalShift
|
|
920
975
|
# [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-shift.html
|
921
976
|
#
|
922
977
|
# @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.
|
978
|
+
# The Availability Zone (for example, `use1-az1`) that traffic is moved
|
979
|
+
# away from for a resource when you start a zonal shift. Until the zonal
|
980
|
+
# shift expires or you cancel it, traffic for the resource is instead
|
981
|
+
# moved to other Availability Zones in the Amazon Web Services Region.
|
927
982
|
#
|
928
983
|
# @option params [required, String] :comment
|
929
984
|
# A comment that you enter about the zonal shift. Only the latest
|
@@ -952,8 +1007,9 @@ module Aws::ARCZonalShift
|
|
952
1007
|
# means the zonal shift expires in 120 minutes (2 hours).
|
953
1008
|
#
|
954
1009
|
# @option params [required, String] :resource_identifier
|
955
|
-
# The identifier for the resource
|
956
|
-
# identifier is the Amazon Resource Name (ARN) for the
|
1010
|
+
# The identifier for the resource that Amazon Web Services shifts
|
1011
|
+
# traffic for. The identifier is the Amazon Resource Name (ARN) for the
|
1012
|
+
# resource.
|
957
1013
|
#
|
958
1014
|
# At this time, supported resources are Network Load Balancers and
|
959
1015
|
# Application Load Balancers with cross-zone load balancing turned off.
|
@@ -996,6 +1052,55 @@ module Aws::ARCZonalShift
|
|
996
1052
|
req.send_request(options)
|
997
1053
|
end
|
998
1054
|
|
1055
|
+
# Update the status of autoshift observer notification. Autoshift
|
1056
|
+
# observer notification enables you to be notified, through Amazon
|
1057
|
+
# EventBridge, when there is an autoshift event for zonal autoshift.
|
1058
|
+
#
|
1059
|
+
# If the status is `ENABLED`, Route 53 ARC includes all autoshift events
|
1060
|
+
# when you use the EventBridge pattern `Autoshift In Progress`. When the
|
1061
|
+
# status is `DISABLED`, Route 53 ARC includes only autoshift events for
|
1062
|
+
# autoshifts when one or more of your resources is included in the
|
1063
|
+
# autoshift.
|
1064
|
+
#
|
1065
|
+
# For more information, see [ Notifications for practice runs and
|
1066
|
+
# autoshifts][1] in the Amazon Route 53 Application Recovery Controller
|
1067
|
+
# Developer Guide.
|
1068
|
+
#
|
1069
|
+
#
|
1070
|
+
#
|
1071
|
+
# [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html#ZAShiftNotification
|
1072
|
+
#
|
1073
|
+
# @option params [required, String] :status
|
1074
|
+
# The status to set for autoshift observer notification. If the status
|
1075
|
+
# is `ENABLED`, Route 53 ARC includes all autoshift events when you use
|
1076
|
+
# the Amazon EventBridge pattern `Autoshift In Progress`. When the
|
1077
|
+
# status is `DISABLED`, Route 53 ARC includes only autoshift events for
|
1078
|
+
# autoshifts when one or more of your resources is included in the
|
1079
|
+
# autoshift.
|
1080
|
+
#
|
1081
|
+
# @return [Types::UpdateAutoshiftObserverNotificationStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1082
|
+
#
|
1083
|
+
# * {Types::UpdateAutoshiftObserverNotificationStatusResponse#status #status} => String
|
1084
|
+
#
|
1085
|
+
# @example Request syntax with placeholder values
|
1086
|
+
#
|
1087
|
+
# resp = client.update_autoshift_observer_notification_status({
|
1088
|
+
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
1089
|
+
# })
|
1090
|
+
#
|
1091
|
+
# @example Response structure
|
1092
|
+
#
|
1093
|
+
# resp.status #=> String, one of "ENABLED", "DISABLED"
|
1094
|
+
#
|
1095
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/UpdateAutoshiftObserverNotificationStatus AWS API Documentation
|
1096
|
+
#
|
1097
|
+
# @overload update_autoshift_observer_notification_status(params = {})
|
1098
|
+
# @param [Hash] params ({})
|
1099
|
+
def update_autoshift_observer_notification_status(params = {}, options = {})
|
1100
|
+
req = build_request(:update_autoshift_observer_notification_status, params)
|
1101
|
+
req.send_request(options)
|
1102
|
+
end
|
1103
|
+
|
999
1104
|
# Update a practice run configuration to change one or more of the
|
1000
1105
|
# following: add, change, or remove the blocking alarm; change the
|
1001
1106
|
# outcome alarm; or add, change, or remove blocking dates or time
|
@@ -1095,12 +1200,20 @@ module Aws::ARCZonalShift
|
|
1095
1200
|
req.send_request(options)
|
1096
1201
|
end
|
1097
1202
|
|
1098
|
-
#
|
1099
|
-
#
|
1100
|
-
#
|
1101
|
-
#
|
1102
|
-
#
|
1103
|
-
#
|
1203
|
+
# The zonal autoshift configuration for a resource includes the practice
|
1204
|
+
# run configuration and the status for running autoshifts, zonal
|
1205
|
+
# autoshift status. When a resource has a practice run configuation,
|
1206
|
+
# Route 53 ARC starts weekly zonal shifts for the resource, to shift
|
1207
|
+
# traffic away from an Availability Zone. Weekly practice runs help you
|
1208
|
+
# to make sure that your application can continue to operate normally
|
1209
|
+
# with the loss of one Availability Zone.
|
1210
|
+
#
|
1211
|
+
# You can update the zonal autoshift autoshift status to enable or
|
1212
|
+
# disable zonal autoshift. When zonal autoshift is `ENABLED`, you
|
1213
|
+
# authorize Amazon Web Services to shift away resource traffic for an
|
1214
|
+
# application from an Availability Zone during events, on your behalf,
|
1215
|
+
# to help reduce time to recovery. Traffic is also shifted away for the
|
1216
|
+
# required weekly practice runs.
|
1104
1217
|
#
|
1105
1218
|
# @option params [required, String] :resource_identifier
|
1106
1219
|
# The identifier for the resource that you want to update the zonal
|
@@ -1109,7 +1222,10 @@ module Aws::ARCZonalShift
|
|
1109
1222
|
#
|
1110
1223
|
# @option params [required, String] :zonal_autoshift_status
|
1111
1224
|
# The zonal autoshift status for the resource that you want to update
|
1112
|
-
# the zonal autoshift configuration for.
|
1225
|
+
# the zonal autoshift configuration for. Choose `ENABLED` to authorize
|
1226
|
+
# Amazon Web Services to shift away resource traffic for an application
|
1227
|
+
# from an Availability Zone during events, on your behalf, to help
|
1228
|
+
# reduce time to recovery.
|
1113
1229
|
#
|
1114
1230
|
# @return [Types::UpdateZonalAutoshiftConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1115
1231
|
#
|
@@ -1214,14 +1330,19 @@ module Aws::ARCZonalShift
|
|
1214
1330
|
# @api private
|
1215
1331
|
def build_request(operation_name, params = {})
|
1216
1332
|
handlers = @handlers.for(operation_name)
|
1333
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
1334
|
+
Aws::Telemetry.module_to_tracer_name('Aws::ARCZonalShift')
|
1335
|
+
)
|
1217
1336
|
context = Seahorse::Client::RequestContext.new(
|
1218
1337
|
operation_name: operation_name,
|
1219
1338
|
operation: config.api.operation(operation_name),
|
1220
1339
|
client: self,
|
1221
1340
|
params: params,
|
1222
|
-
config: config
|
1341
|
+
config: config,
|
1342
|
+
tracer: tracer
|
1343
|
+
)
|
1223
1344
|
context[:gem_name] = 'aws-sdk-arczonalshift'
|
1224
|
-
context[:gem_version] = '1.
|
1345
|
+
context[:gem_version] = '1.20.0'
|
1225
1346
|
Seahorse::Client::Request.new(handlers, context)
|
1226
1347
|
end
|
1227
1348
|
|
@@ -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
@@ -50,6 +50,7 @@ module Aws
|
|
50
50
|
?session_token: String,
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?stub_responses: untyped,
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
53
54
|
?token_provider: untyped,
|
54
55
|
?use_dualstack_endpoint: bool,
|
55
56
|
?use_fips_endpoint: bool,
|
@@ -128,6 +129,15 @@ module Aws
|
|
128
129
|
) -> _DeletePracticeRunConfigurationResponseSuccess
|
129
130
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePracticeRunConfigurationResponseSuccess
|
130
131
|
|
132
|
+
interface _GetAutoshiftObserverNotificationStatusResponseSuccess
|
133
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAutoshiftObserverNotificationStatusResponse]
|
134
|
+
def status: () -> ("ENABLED" | "DISABLED")
|
135
|
+
end
|
136
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#get_autoshift_observer_notification_status-instance_method
|
137
|
+
def get_autoshift_observer_notification_status: (
|
138
|
+
) -> _GetAutoshiftObserverNotificationStatusResponseSuccess
|
139
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAutoshiftObserverNotificationStatusResponseSuccess
|
140
|
+
|
131
141
|
interface _GetManagedResourceResponseSuccess
|
132
142
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetManagedResourceResponse]
|
133
143
|
def applied_weights: () -> ::Hash[::String, ::Float]
|
@@ -202,6 +212,16 @@ module Aws
|
|
202
212
|
) -> _StartZonalShiftResponseSuccess
|
203
213
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartZonalShiftResponseSuccess
|
204
214
|
|
215
|
+
interface _UpdateAutoshiftObserverNotificationStatusResponseSuccess
|
216
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAutoshiftObserverNotificationStatusResponse]
|
217
|
+
def status: () -> ("ENABLED" | "DISABLED")
|
218
|
+
end
|
219
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#update_autoshift_observer_notification_status-instance_method
|
220
|
+
def update_autoshift_observer_notification_status: (
|
221
|
+
status: ("ENABLED" | "DISABLED")
|
222
|
+
) -> _UpdateAutoshiftObserverNotificationStatusResponseSuccess
|
223
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAutoshiftObserverNotificationStatusResponseSuccess
|
224
|
+
|
205
225
|
interface _UpdatePracticeRunConfigurationResponseSuccess
|
206
226
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePracticeRunConfigurationResponse]
|
207
227
|
def arn: () -> ::String
|
data/sig/resource.rbs
CHANGED
@@ -50,6 +50,7 @@ module Aws
|
|
50
50
|
?session_token: String,
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?stub_responses: untyped,
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
53
54
|
?token_provider: untyped,
|
54
55
|
?use_dualstack_endpoint: bool,
|
55
56
|
?use_fips_endpoint: bool,
|
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.20.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-
|
11
|
+
date: 2024-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.203.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,21 +29,21 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.203.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
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:
|