aws-sdk-arczonalshift 1.10.0 → 1.12.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 +444 -34
- data/lib/aws-sdk-arczonalshift/client_api.rb +193 -0
- data/lib/aws-sdk-arczonalshift/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-arczonalshift/endpoints.rb +70 -0
- data/lib/aws-sdk-arczonalshift/plugins/endpoints.rb +11 -0
- data/lib/aws-sdk-arczonalshift/types.rb +738 -77
- data/lib/aws-sdk-arczonalshift.rb +1 -1
- data/sig/client.rbs +263 -0
- data/sig/errors.rbs +37 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +253 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
@@ -16,16 +16,35 @@ module Aws::ARCZonalShift
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
17
|
AppliedStatus = Shapes::StringShape.new(name: 'AppliedStatus')
|
18
18
|
AppliedWeights = Shapes::MapShape.new(name: 'AppliedWeights')
|
19
|
+
AutoshiftAppliedStatus = Shapes::StringShape.new(name: 'AutoshiftAppliedStatus')
|
20
|
+
AutoshiftExecutionStatus = Shapes::StringShape.new(name: 'AutoshiftExecutionStatus')
|
21
|
+
AutoshiftInResource = Shapes::StructureShape.new(name: 'AutoshiftInResource')
|
22
|
+
AutoshiftSummaries = Shapes::ListShape.new(name: 'AutoshiftSummaries')
|
23
|
+
AutoshiftSummary = Shapes::StructureShape.new(name: 'AutoshiftSummary')
|
24
|
+
AutoshiftsInResource = Shapes::ListShape.new(name: 'AutoshiftsInResource')
|
19
25
|
AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone')
|
20
26
|
AvailabilityZones = Shapes::ListShape.new(name: 'AvailabilityZones')
|
27
|
+
BlockedDate = Shapes::StringShape.new(name: 'BlockedDate')
|
28
|
+
BlockedDates = Shapes::ListShape.new(name: 'BlockedDates')
|
29
|
+
BlockedWindow = Shapes::StringShape.new(name: 'BlockedWindow')
|
30
|
+
BlockedWindows = Shapes::ListShape.new(name: 'BlockedWindows')
|
21
31
|
CancelZonalShiftRequest = Shapes::StructureShape.new(name: 'CancelZonalShiftRequest')
|
22
32
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
23
33
|
ConflictExceptionReason = Shapes::StringShape.new(name: 'ConflictExceptionReason')
|
34
|
+
ControlCondition = Shapes::StructureShape.new(name: 'ControlCondition')
|
35
|
+
ControlConditionType = Shapes::StringShape.new(name: 'ControlConditionType')
|
36
|
+
ControlConditions = Shapes::ListShape.new(name: 'ControlConditions')
|
37
|
+
CreatePracticeRunConfigurationRequest = Shapes::StructureShape.new(name: 'CreatePracticeRunConfigurationRequest')
|
38
|
+
CreatePracticeRunConfigurationResponse = Shapes::StructureShape.new(name: 'CreatePracticeRunConfigurationResponse')
|
39
|
+
DeletePracticeRunConfigurationRequest = Shapes::StructureShape.new(name: 'DeletePracticeRunConfigurationRequest')
|
40
|
+
DeletePracticeRunConfigurationResponse = Shapes::StructureShape.new(name: 'DeletePracticeRunConfigurationResponse')
|
24
41
|
ExpiresIn = Shapes::StringShape.new(name: 'ExpiresIn')
|
25
42
|
ExpiryTime = Shapes::TimestampShape.new(name: 'ExpiryTime')
|
26
43
|
GetManagedResourceRequest = Shapes::StructureShape.new(name: 'GetManagedResourceRequest')
|
27
44
|
GetManagedResourceResponse = Shapes::StructureShape.new(name: 'GetManagedResourceResponse')
|
28
45
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
46
|
+
ListAutoshiftsRequest = Shapes::StructureShape.new(name: 'ListAutoshiftsRequest')
|
47
|
+
ListAutoshiftsResponse = Shapes::StructureShape.new(name: 'ListAutoshiftsResponse')
|
29
48
|
ListManagedResourcesRequest = Shapes::StructureShape.new(name: 'ListManagedResourcesRequest')
|
30
49
|
ListManagedResourcesResponse = Shapes::StructureShape.new(name: 'ListManagedResourcesResponse')
|
31
50
|
ListZonalShiftsRequest = Shapes::StructureShape.new(name: 'ListZonalShiftsRequest')
|
@@ -33,6 +52,8 @@ module Aws::ARCZonalShift
|
|
33
52
|
ManagedResourceSummaries = Shapes::ListShape.new(name: 'ManagedResourceSummaries')
|
34
53
|
ManagedResourceSummary = Shapes::StructureShape.new(name: 'ManagedResourceSummary')
|
35
54
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
55
|
+
PracticeRunConfiguration = Shapes::StructureShape.new(name: 'PracticeRunConfiguration')
|
56
|
+
PracticeRunOutcome = Shapes::StringShape.new(name: 'PracticeRunOutcome')
|
36
57
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
37
58
|
ResourceIdentifier = Shapes::StringShape.new(name: 'ResourceIdentifier')
|
38
59
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
@@ -41,10 +62,15 @@ module Aws::ARCZonalShift
|
|
41
62
|
StartZonalShiftRequest = Shapes::StructureShape.new(name: 'StartZonalShiftRequest')
|
42
63
|
String = Shapes::StringShape.new(name: 'String')
|
43
64
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
65
|
+
UpdatePracticeRunConfigurationRequest = Shapes::StructureShape.new(name: 'UpdatePracticeRunConfigurationRequest')
|
66
|
+
UpdatePracticeRunConfigurationResponse = Shapes::StructureShape.new(name: 'UpdatePracticeRunConfigurationResponse')
|
67
|
+
UpdateZonalAutoshiftConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateZonalAutoshiftConfigurationRequest')
|
68
|
+
UpdateZonalAutoshiftConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateZonalAutoshiftConfigurationResponse')
|
44
69
|
UpdateZonalShiftRequest = Shapes::StructureShape.new(name: 'UpdateZonalShiftRequest')
|
45
70
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
46
71
|
ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
|
47
72
|
Weight = Shapes::FloatShape.new(name: 'Weight')
|
73
|
+
ZonalAutoshiftStatus = Shapes::StringShape.new(name: 'ZonalAutoshiftStatus')
|
48
74
|
ZonalShift = Shapes::StructureShape.new(name: 'ZonalShift')
|
49
75
|
ZonalShiftComment = Shapes::StringShape.new(name: 'ZonalShiftComment')
|
50
76
|
ZonalShiftId = Shapes::StringShape.new(name: 'ZonalShiftId')
|
@@ -60,8 +86,27 @@ module Aws::ARCZonalShift
|
|
60
86
|
AppliedWeights.key = Shapes::ShapeRef.new(shape: AvailabilityZone)
|
61
87
|
AppliedWeights.value = Shapes::ShapeRef.new(shape: Weight)
|
62
88
|
|
89
|
+
AutoshiftInResource.add_member(:applied_status, Shapes::ShapeRef.new(shape: AutoshiftAppliedStatus, required: true, location_name: "appliedStatus"))
|
90
|
+
AutoshiftInResource.add_member(:away_from, Shapes::ShapeRef.new(shape: AvailabilityZone, required: true, location_name: "awayFrom"))
|
91
|
+
AutoshiftInResource.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, required: true, location_name: "startTime"))
|
92
|
+
AutoshiftInResource.struct_class = Types::AutoshiftInResource
|
93
|
+
|
94
|
+
AutoshiftSummaries.member = Shapes::ShapeRef.new(shape: AutoshiftSummary)
|
95
|
+
|
96
|
+
AutoshiftSummary.add_member(:away_from, Shapes::ShapeRef.new(shape: AvailabilityZone, required: true, location_name: "awayFrom"))
|
97
|
+
AutoshiftSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: ExpiryTime, required: true, location_name: "endTime"))
|
98
|
+
AutoshiftSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, required: true, location_name: "startTime"))
|
99
|
+
AutoshiftSummary.add_member(:status, Shapes::ShapeRef.new(shape: AutoshiftExecutionStatus, required: true, location_name: "status"))
|
100
|
+
AutoshiftSummary.struct_class = Types::AutoshiftSummary
|
101
|
+
|
102
|
+
AutoshiftsInResource.member = Shapes::ShapeRef.new(shape: AutoshiftInResource)
|
103
|
+
|
63
104
|
AvailabilityZones.member = Shapes::ShapeRef.new(shape: AvailabilityZone)
|
64
105
|
|
106
|
+
BlockedDates.member = Shapes::ShapeRef.new(shape: BlockedDate)
|
107
|
+
|
108
|
+
BlockedWindows.member = Shapes::ShapeRef.new(shape: BlockedWindow)
|
109
|
+
|
65
110
|
CancelZonalShiftRequest.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: ZonalShiftId, required: true, location: "uri", location_name: "zonalShiftId"))
|
66
111
|
CancelZonalShiftRequest.struct_class = Types::CancelZonalShiftRequest
|
67
112
|
|
@@ -70,18 +115,57 @@ module Aws::ARCZonalShift
|
|
70
115
|
ConflictException.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: String, location_name: "zonalShiftId"))
|
71
116
|
ConflictException.struct_class = Types::ConflictException
|
72
117
|
|
118
|
+
ControlCondition.add_member(:alarm_identifier, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "alarmIdentifier"))
|
119
|
+
ControlCondition.add_member(:type, Shapes::ShapeRef.new(shape: ControlConditionType, required: true, location_name: "type"))
|
120
|
+
ControlCondition.struct_class = Types::ControlCondition
|
121
|
+
|
122
|
+
ControlConditions.member = Shapes::ShapeRef.new(shape: ControlCondition)
|
123
|
+
|
124
|
+
CreatePracticeRunConfigurationRequest.add_member(:blocked_dates, Shapes::ShapeRef.new(shape: BlockedDates, location_name: "blockedDates"))
|
125
|
+
CreatePracticeRunConfigurationRequest.add_member(:blocked_windows, Shapes::ShapeRef.new(shape: BlockedWindows, location_name: "blockedWindows"))
|
126
|
+
CreatePracticeRunConfigurationRequest.add_member(:blocking_alarms, Shapes::ShapeRef.new(shape: ControlConditions, location_name: "blockingAlarms"))
|
127
|
+
CreatePracticeRunConfigurationRequest.add_member(:outcome_alarms, Shapes::ShapeRef.new(shape: ControlConditions, required: true, location_name: "outcomeAlarms"))
|
128
|
+
CreatePracticeRunConfigurationRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
|
129
|
+
CreatePracticeRunConfigurationRequest.struct_class = Types::CreatePracticeRunConfigurationRequest
|
130
|
+
|
131
|
+
CreatePracticeRunConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "arn"))
|
132
|
+
CreatePracticeRunConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
133
|
+
CreatePracticeRunConfigurationResponse.add_member(:practice_run_configuration, Shapes::ShapeRef.new(shape: PracticeRunConfiguration, required: true, location_name: "practiceRunConfiguration"))
|
134
|
+
CreatePracticeRunConfigurationResponse.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, required: true, location_name: "zonalAutoshiftStatus"))
|
135
|
+
CreatePracticeRunConfigurationResponse.struct_class = Types::CreatePracticeRunConfigurationResponse
|
136
|
+
|
137
|
+
DeletePracticeRunConfigurationRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location: "uri", location_name: "resourceIdentifier"))
|
138
|
+
DeletePracticeRunConfigurationRequest.struct_class = Types::DeletePracticeRunConfigurationRequest
|
139
|
+
|
140
|
+
DeletePracticeRunConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "arn"))
|
141
|
+
DeletePracticeRunConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
142
|
+
DeletePracticeRunConfigurationResponse.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, required: true, location_name: "zonalAutoshiftStatus"))
|
143
|
+
DeletePracticeRunConfigurationResponse.struct_class = Types::DeletePracticeRunConfigurationResponse
|
144
|
+
|
73
145
|
GetManagedResourceRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location: "uri", location_name: "resourceIdentifier"))
|
74
146
|
GetManagedResourceRequest.struct_class = Types::GetManagedResourceRequest
|
75
147
|
|
76
148
|
GetManagedResourceResponse.add_member(:applied_weights, Shapes::ShapeRef.new(shape: AppliedWeights, required: true, location_name: "appliedWeights"))
|
77
149
|
GetManagedResourceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "arn"))
|
150
|
+
GetManagedResourceResponse.add_member(:autoshifts, Shapes::ShapeRef.new(shape: AutoshiftsInResource, location_name: "autoshifts"))
|
78
151
|
GetManagedResourceResponse.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
152
|
+
GetManagedResourceResponse.add_member(:practice_run_configuration, Shapes::ShapeRef.new(shape: PracticeRunConfiguration, location_name: "practiceRunConfiguration"))
|
153
|
+
GetManagedResourceResponse.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, location_name: "zonalAutoshiftStatus"))
|
79
154
|
GetManagedResourceResponse.add_member(:zonal_shifts, Shapes::ShapeRef.new(shape: ZonalShiftsInResource, required: true, location_name: "zonalShifts"))
|
80
155
|
GetManagedResourceResponse.struct_class = Types::GetManagedResourceResponse
|
81
156
|
|
82
157
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
83
158
|
InternalServerException.struct_class = Types::InternalServerException
|
84
159
|
|
160
|
+
ListAutoshiftsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
161
|
+
ListAutoshiftsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
162
|
+
ListAutoshiftsRequest.add_member(:status, Shapes::ShapeRef.new(shape: AutoshiftExecutionStatus, location: "querystring", location_name: "status"))
|
163
|
+
ListAutoshiftsRequest.struct_class = Types::ListAutoshiftsRequest
|
164
|
+
|
165
|
+
ListAutoshiftsResponse.add_member(:items, Shapes::ShapeRef.new(shape: AutoshiftSummaries, location_name: "items"))
|
166
|
+
ListAutoshiftsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
167
|
+
ListAutoshiftsResponse.struct_class = Types::ListAutoshiftsResponse
|
168
|
+
|
85
169
|
ListManagedResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
86
170
|
ListManagedResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
87
171
|
ListManagedResourcesRequest.struct_class = Types::ListManagedResourcesRequest
|
@@ -92,6 +176,7 @@ module Aws::ARCZonalShift
|
|
92
176
|
|
93
177
|
ListZonalShiftsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
94
178
|
ListZonalShiftsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
179
|
+
ListZonalShiftsRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, location: "querystring", location_name: "resourceIdentifier"))
|
95
180
|
ListZonalShiftsRequest.add_member(:status, Shapes::ShapeRef.new(shape: ZonalShiftStatus, location: "querystring", location_name: "status"))
|
96
181
|
ListZonalShiftsRequest.struct_class = Types::ListZonalShiftsRequest
|
97
182
|
|
@@ -101,11 +186,22 @@ module Aws::ARCZonalShift
|
|
101
186
|
|
102
187
|
ManagedResourceSummaries.member = Shapes::ShapeRef.new(shape: ManagedResourceSummary)
|
103
188
|
|
189
|
+
ManagedResourceSummary.add_member(:applied_weights, Shapes::ShapeRef.new(shape: AppliedWeights, location_name: "appliedWeights"))
|
104
190
|
ManagedResourceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "arn"))
|
191
|
+
ManagedResourceSummary.add_member(:autoshifts, Shapes::ShapeRef.new(shape: AutoshiftsInResource, location_name: "autoshifts"))
|
105
192
|
ManagedResourceSummary.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZones, required: true, location_name: "availabilityZones"))
|
106
193
|
ManagedResourceSummary.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
194
|
+
ManagedResourceSummary.add_member(:practice_run_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, location_name: "practiceRunStatus"))
|
195
|
+
ManagedResourceSummary.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, location_name: "zonalAutoshiftStatus"))
|
196
|
+
ManagedResourceSummary.add_member(:zonal_shifts, Shapes::ShapeRef.new(shape: ZonalShiftsInResource, location_name: "zonalShifts"))
|
107
197
|
ManagedResourceSummary.struct_class = Types::ManagedResourceSummary
|
108
198
|
|
199
|
+
PracticeRunConfiguration.add_member(:blocked_dates, Shapes::ShapeRef.new(shape: BlockedDates, location_name: "blockedDates"))
|
200
|
+
PracticeRunConfiguration.add_member(:blocked_windows, Shapes::ShapeRef.new(shape: BlockedWindows, location_name: "blockedWindows"))
|
201
|
+
PracticeRunConfiguration.add_member(:blocking_alarms, Shapes::ShapeRef.new(shape: ControlConditions, location_name: "blockingAlarms"))
|
202
|
+
PracticeRunConfiguration.add_member(:outcome_alarms, Shapes::ShapeRef.new(shape: ControlConditions, required: true, location_name: "outcomeAlarms"))
|
203
|
+
PracticeRunConfiguration.struct_class = Types::PracticeRunConfiguration
|
204
|
+
|
109
205
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
110
206
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
111
207
|
|
@@ -118,6 +214,27 @@ module Aws::ARCZonalShift
|
|
118
214
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
119
215
|
ThrottlingException.struct_class = Types::ThrottlingException
|
120
216
|
|
217
|
+
UpdatePracticeRunConfigurationRequest.add_member(:blocked_dates, Shapes::ShapeRef.new(shape: BlockedDates, location_name: "blockedDates"))
|
218
|
+
UpdatePracticeRunConfigurationRequest.add_member(:blocked_windows, Shapes::ShapeRef.new(shape: BlockedWindows, location_name: "blockedWindows"))
|
219
|
+
UpdatePracticeRunConfigurationRequest.add_member(:blocking_alarms, Shapes::ShapeRef.new(shape: ControlConditions, location_name: "blockingAlarms"))
|
220
|
+
UpdatePracticeRunConfigurationRequest.add_member(:outcome_alarms, Shapes::ShapeRef.new(shape: ControlConditions, location_name: "outcomeAlarms"))
|
221
|
+
UpdatePracticeRunConfigurationRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location: "uri", location_name: "resourceIdentifier"))
|
222
|
+
UpdatePracticeRunConfigurationRequest.struct_class = Types::UpdatePracticeRunConfigurationRequest
|
223
|
+
|
224
|
+
UpdatePracticeRunConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "arn"))
|
225
|
+
UpdatePracticeRunConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
226
|
+
UpdatePracticeRunConfigurationResponse.add_member(:practice_run_configuration, Shapes::ShapeRef.new(shape: PracticeRunConfiguration, required: true, location_name: "practiceRunConfiguration"))
|
227
|
+
UpdatePracticeRunConfigurationResponse.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, required: true, location_name: "zonalAutoshiftStatus"))
|
228
|
+
UpdatePracticeRunConfigurationResponse.struct_class = Types::UpdatePracticeRunConfigurationResponse
|
229
|
+
|
230
|
+
UpdateZonalAutoshiftConfigurationRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location: "uri", location_name: "resourceIdentifier"))
|
231
|
+
UpdateZonalAutoshiftConfigurationRequest.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, required: true, location_name: "zonalAutoshiftStatus"))
|
232
|
+
UpdateZonalAutoshiftConfigurationRequest.struct_class = Types::UpdateZonalAutoshiftConfigurationRequest
|
233
|
+
|
234
|
+
UpdateZonalAutoshiftConfigurationResponse.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
|
235
|
+
UpdateZonalAutoshiftConfigurationResponse.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, required: true, location_name: "zonalAutoshiftStatus"))
|
236
|
+
UpdateZonalAutoshiftConfigurationResponse.struct_class = Types::UpdateZonalAutoshiftConfigurationResponse
|
237
|
+
|
121
238
|
UpdateZonalShiftRequest.add_member(:comment, Shapes::ShapeRef.new(shape: ZonalShiftComment, location_name: "comment"))
|
122
239
|
UpdateZonalShiftRequest.add_member(:expires_in, Shapes::ShapeRef.new(shape: ExpiresIn, location_name: "expiresIn"))
|
123
240
|
UpdateZonalShiftRequest.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: ZonalShiftId, required: true, location: "uri", location_name: "zonalShiftId"))
|
@@ -140,6 +257,7 @@ module Aws::ARCZonalShift
|
|
140
257
|
ZonalShiftInResource.add_member(:away_from, Shapes::ShapeRef.new(shape: AvailabilityZone, required: true, location_name: "awayFrom"))
|
141
258
|
ZonalShiftInResource.add_member(:comment, Shapes::ShapeRef.new(shape: ZonalShiftComment, required: true, location_name: "comment"))
|
142
259
|
ZonalShiftInResource.add_member(:expiry_time, Shapes::ShapeRef.new(shape: ExpiryTime, required: true, location_name: "expiryTime"))
|
260
|
+
ZonalShiftInResource.add_member(:practice_run_outcome, Shapes::ShapeRef.new(shape: PracticeRunOutcome, location_name: "practiceRunOutcome"))
|
143
261
|
ZonalShiftInResource.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
|
144
262
|
ZonalShiftInResource.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, required: true, location_name: "startTime"))
|
145
263
|
ZonalShiftInResource.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: ZonalShiftId, required: true, location_name: "zonalShiftId"))
|
@@ -150,6 +268,7 @@ module Aws::ARCZonalShift
|
|
150
268
|
ZonalShiftSummary.add_member(:away_from, Shapes::ShapeRef.new(shape: AvailabilityZone, required: true, location_name: "awayFrom"))
|
151
269
|
ZonalShiftSummary.add_member(:comment, Shapes::ShapeRef.new(shape: ZonalShiftComment, required: true, location_name: "comment"))
|
152
270
|
ZonalShiftSummary.add_member(:expiry_time, Shapes::ShapeRef.new(shape: ExpiryTime, required: true, location_name: "expiryTime"))
|
271
|
+
ZonalShiftSummary.add_member(:practice_run_outcome, Shapes::ShapeRef.new(shape: PracticeRunOutcome, location_name: "practiceRunOutcome"))
|
153
272
|
ZonalShiftSummary.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
|
154
273
|
ZonalShiftSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, required: true, location_name: "startTime"))
|
155
274
|
ZonalShiftSummary.add_member(:status, Shapes::ShapeRef.new(shape: ZonalShiftStatus, required: true, location_name: "status"))
|
@@ -190,6 +309,34 @@ module Aws::ARCZonalShift
|
|
190
309
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
191
310
|
end)
|
192
311
|
|
312
|
+
api.add_operation(:create_practice_run_configuration, Seahorse::Model::Operation.new.tap do |o|
|
313
|
+
o.name = "CreatePracticeRunConfiguration"
|
314
|
+
o.http_method = "POST"
|
315
|
+
o.http_request_uri = "/configuration"
|
316
|
+
o.input = Shapes::ShapeRef.new(shape: CreatePracticeRunConfigurationRequest)
|
317
|
+
o.output = Shapes::ShapeRef.new(shape: CreatePracticeRunConfigurationResponse)
|
318
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
319
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
320
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
321
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
322
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
323
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
324
|
+
end)
|
325
|
+
|
326
|
+
api.add_operation(:delete_practice_run_configuration, Seahorse::Model::Operation.new.tap do |o|
|
327
|
+
o.name = "DeletePracticeRunConfiguration"
|
328
|
+
o.http_method = "DELETE"
|
329
|
+
o.http_request_uri = "/configuration/{resourceIdentifier}"
|
330
|
+
o.input = Shapes::ShapeRef.new(shape: DeletePracticeRunConfigurationRequest)
|
331
|
+
o.output = Shapes::ShapeRef.new(shape: DeletePracticeRunConfigurationResponse)
|
332
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
333
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
334
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
335
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
336
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
337
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
338
|
+
end)
|
339
|
+
|
193
340
|
api.add_operation(:get_managed_resource, Seahorse::Model::Operation.new.tap do |o|
|
194
341
|
o.name = "GetManagedResource"
|
195
342
|
o.http_method = "GET"
|
@@ -203,6 +350,24 @@ module Aws::ARCZonalShift
|
|
203
350
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
204
351
|
end)
|
205
352
|
|
353
|
+
api.add_operation(:list_autoshifts, Seahorse::Model::Operation.new.tap do |o|
|
354
|
+
o.name = "ListAutoshifts"
|
355
|
+
o.http_method = "GET"
|
356
|
+
o.http_request_uri = "/autoshifts"
|
357
|
+
o.input = Shapes::ShapeRef.new(shape: ListAutoshiftsRequest)
|
358
|
+
o.output = Shapes::ShapeRef.new(shape: ListAutoshiftsResponse)
|
359
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
360
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
361
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
362
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
363
|
+
o[:pager] = Aws::Pager.new(
|
364
|
+
limit_key: "max_results",
|
365
|
+
tokens: {
|
366
|
+
"next_token" => "next_token"
|
367
|
+
}
|
368
|
+
)
|
369
|
+
end)
|
370
|
+
|
206
371
|
api.add_operation(:list_managed_resources, Seahorse::Model::Operation.new.tap do |o|
|
207
372
|
o.name = "ListManagedResources"
|
208
373
|
o.http_method = "GET"
|
@@ -253,6 +418,34 @@ module Aws::ARCZonalShift
|
|
253
418
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
254
419
|
end)
|
255
420
|
|
421
|
+
api.add_operation(:update_practice_run_configuration, Seahorse::Model::Operation.new.tap do |o|
|
422
|
+
o.name = "UpdatePracticeRunConfiguration"
|
423
|
+
o.http_method = "PATCH"
|
424
|
+
o.http_request_uri = "/configuration/{resourceIdentifier}"
|
425
|
+
o.input = Shapes::ShapeRef.new(shape: UpdatePracticeRunConfigurationRequest)
|
426
|
+
o.output = Shapes::ShapeRef.new(shape: UpdatePracticeRunConfigurationResponse)
|
427
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
431
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
432
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
433
|
+
end)
|
434
|
+
|
435
|
+
api.add_operation(:update_zonal_autoshift_configuration, Seahorse::Model::Operation.new.tap do |o|
|
436
|
+
o.name = "UpdateZonalAutoshiftConfiguration"
|
437
|
+
o.http_method = "PUT"
|
438
|
+
o.http_request_uri = "/managedresources/{resourceIdentifier}"
|
439
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateZonalAutoshiftConfigurationRequest)
|
440
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateZonalAutoshiftConfigurationResponse)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
442
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
443
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
444
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
445
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
446
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
447
|
+
end)
|
448
|
+
|
256
449
|
api.add_operation(:update_zonal_shift, Seahorse::Model::Operation.new.tap do |o|
|
257
450
|
o.name = "UpdateZonalShift"
|
258
451
|
o.http_method = "PATCH"
|
@@ -32,7 +32,7 @@ module Aws::ARCZonalShift
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://arc-zonal-shift-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -26,6 +26,34 @@ module Aws::ARCZonalShift
|
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
+
class CreatePracticeRunConfiguration
|
30
|
+
def self.build(context)
|
31
|
+
unless context.config.regional_endpoint
|
32
|
+
endpoint = context.config.endpoint.to_s
|
33
|
+
end
|
34
|
+
Aws::ARCZonalShift::EndpointParameters.new(
|
35
|
+
region: context.config.region,
|
36
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
37
|
+
use_fips: context.config.use_fips_endpoint,
|
38
|
+
endpoint: endpoint,
|
39
|
+
)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
class DeletePracticeRunConfiguration
|
44
|
+
def self.build(context)
|
45
|
+
unless context.config.regional_endpoint
|
46
|
+
endpoint = context.config.endpoint.to_s
|
47
|
+
end
|
48
|
+
Aws::ARCZonalShift::EndpointParameters.new(
|
49
|
+
region: context.config.region,
|
50
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
51
|
+
use_fips: context.config.use_fips_endpoint,
|
52
|
+
endpoint: endpoint,
|
53
|
+
)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
29
57
|
class GetManagedResource
|
30
58
|
def self.build(context)
|
31
59
|
unless context.config.regional_endpoint
|
@@ -40,6 +68,20 @@ module Aws::ARCZonalShift
|
|
40
68
|
end
|
41
69
|
end
|
42
70
|
|
71
|
+
class ListAutoshifts
|
72
|
+
def self.build(context)
|
73
|
+
unless context.config.regional_endpoint
|
74
|
+
endpoint = context.config.endpoint.to_s
|
75
|
+
end
|
76
|
+
Aws::ARCZonalShift::EndpointParameters.new(
|
77
|
+
region: context.config.region,
|
78
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
79
|
+
use_fips: context.config.use_fips_endpoint,
|
80
|
+
endpoint: endpoint,
|
81
|
+
)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
43
85
|
class ListManagedResources
|
44
86
|
def self.build(context)
|
45
87
|
unless context.config.regional_endpoint
|
@@ -82,6 +124,34 @@ module Aws::ARCZonalShift
|
|
82
124
|
end
|
83
125
|
end
|
84
126
|
|
127
|
+
class UpdatePracticeRunConfiguration
|
128
|
+
def self.build(context)
|
129
|
+
unless context.config.regional_endpoint
|
130
|
+
endpoint = context.config.endpoint.to_s
|
131
|
+
end
|
132
|
+
Aws::ARCZonalShift::EndpointParameters.new(
|
133
|
+
region: context.config.region,
|
134
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
135
|
+
use_fips: context.config.use_fips_endpoint,
|
136
|
+
endpoint: endpoint,
|
137
|
+
)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
class UpdateZonalAutoshiftConfiguration
|
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
|
+
|
85
155
|
class UpdateZonalShift
|
86
156
|
def self.build(context)
|
87
157
|
unless context.config.regional_endpoint
|
@@ -14,6 +14,7 @@ module Aws::ARCZonalShift
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::ARCZonalShift::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
@@ -59,14 +60,24 @@ module Aws::ARCZonalShift
|
|
59
60
|
case context.operation_name
|
60
61
|
when :cancel_zonal_shift
|
61
62
|
Aws::ARCZonalShift::Endpoints::CancelZonalShift.build(context)
|
63
|
+
when :create_practice_run_configuration
|
64
|
+
Aws::ARCZonalShift::Endpoints::CreatePracticeRunConfiguration.build(context)
|
65
|
+
when :delete_practice_run_configuration
|
66
|
+
Aws::ARCZonalShift::Endpoints::DeletePracticeRunConfiguration.build(context)
|
62
67
|
when :get_managed_resource
|
63
68
|
Aws::ARCZonalShift::Endpoints::GetManagedResource.build(context)
|
69
|
+
when :list_autoshifts
|
70
|
+
Aws::ARCZonalShift::Endpoints::ListAutoshifts.build(context)
|
64
71
|
when :list_managed_resources
|
65
72
|
Aws::ARCZonalShift::Endpoints::ListManagedResources.build(context)
|
66
73
|
when :list_zonal_shifts
|
67
74
|
Aws::ARCZonalShift::Endpoints::ListZonalShifts.build(context)
|
68
75
|
when :start_zonal_shift
|
69
76
|
Aws::ARCZonalShift::Endpoints::StartZonalShift.build(context)
|
77
|
+
when :update_practice_run_configuration
|
78
|
+
Aws::ARCZonalShift::Endpoints::UpdatePracticeRunConfiguration.build(context)
|
79
|
+
when :update_zonal_autoshift_configuration
|
80
|
+
Aws::ARCZonalShift::Endpoints::UpdateZonalAutoshiftConfiguration.build(context)
|
70
81
|
when :update_zonal_shift
|
71
82
|
Aws::ARCZonalShift::Endpoints::UpdateZonalShift.build(context)
|
72
83
|
end
|