aws-sdk-arczonalshift 1.34.0 → 1.35.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 +365 -186
- data/lib/aws-sdk-arczonalshift/client_api.rb +107 -50
- data/lib/aws-sdk-arczonalshift/types.rb +555 -294
- data/lib/aws-sdk-arczonalshift/waiters.rb +15 -0
- data/lib/aws-sdk-arczonalshift.rb +3 -2
- data/sig/client.rbs +73 -39
- data/sig/types.rbs +73 -39
- metadata +2 -1
@@ -30,6 +30,8 @@ module Aws::ARCZonalShift
|
|
30
30
|
BlockedDates = Shapes::ListShape.new(name: 'BlockedDates')
|
31
31
|
BlockedWindow = Shapes::StringShape.new(name: 'BlockedWindow')
|
32
32
|
BlockedWindows = Shapes::ListShape.new(name: 'BlockedWindows')
|
33
|
+
CancelPracticeRunRequest = Shapes::StructureShape.new(name: 'CancelPracticeRunRequest')
|
34
|
+
CancelPracticeRunResponse = Shapes::StructureShape.new(name: 'CancelPracticeRunResponse')
|
33
35
|
CancelZonalShiftRequest = Shapes::StructureShape.new(name: 'CancelZonalShiftRequest')
|
34
36
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
35
37
|
ConflictExceptionReason = Shapes::StringShape.new(name: 'ConflictExceptionReason')
|
@@ -64,6 +66,8 @@ module Aws::ARCZonalShift
|
|
64
66
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
65
67
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
66
68
|
ShiftType = Shapes::StringShape.new(name: 'ShiftType')
|
69
|
+
StartPracticeRunRequest = Shapes::StructureShape.new(name: 'StartPracticeRunRequest')
|
70
|
+
StartPracticeRunResponse = Shapes::StructureShape.new(name: 'StartPracticeRunResponse')
|
67
71
|
StartTime = Shapes::TimestampShape.new(name: 'StartTime')
|
68
72
|
StartZonalShiftRequest = Shapes::StructureShape.new(name: 'StartZonalShiftRequest')
|
69
73
|
String = Shapes::StringShape.new(name: 'String')
|
@@ -115,6 +119,18 @@ module Aws::ARCZonalShift
|
|
115
119
|
|
116
120
|
BlockedWindows.member = Shapes::ShapeRef.new(shape: BlockedWindow)
|
117
121
|
|
122
|
+
CancelPracticeRunRequest.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: ZonalShiftId, required: true, location: "uri", location_name: "zonalShiftId"))
|
123
|
+
CancelPracticeRunRequest.struct_class = Types::CancelPracticeRunRequest
|
124
|
+
|
125
|
+
CancelPracticeRunResponse.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: ZonalShiftId, required: true, location_name: "zonalShiftId"))
|
126
|
+
CancelPracticeRunResponse.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
|
127
|
+
CancelPracticeRunResponse.add_member(:away_from, Shapes::ShapeRef.new(shape: AvailabilityZone, required: true, location_name: "awayFrom"))
|
128
|
+
CancelPracticeRunResponse.add_member(:expiry_time, Shapes::ShapeRef.new(shape: ExpiryTime, required: true, location_name: "expiryTime"))
|
129
|
+
CancelPracticeRunResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, required: true, location_name: "startTime"))
|
130
|
+
CancelPracticeRunResponse.add_member(:status, Shapes::ShapeRef.new(shape: ZonalShiftStatus, required: true, location_name: "status"))
|
131
|
+
CancelPracticeRunResponse.add_member(:comment, Shapes::ShapeRef.new(shape: ZonalShiftComment, required: true, location_name: "comment"))
|
132
|
+
CancelPracticeRunResponse.struct_class = Types::CancelPracticeRunResponse
|
133
|
+
|
118
134
|
CancelZonalShiftRequest.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: ZonalShiftId, required: true, location: "uri", location_name: "zonalShiftId"))
|
119
135
|
CancelZonalShiftRequest.struct_class = Types::CancelZonalShiftRequest
|
120
136
|
|
@@ -123,23 +139,23 @@ module Aws::ARCZonalShift
|
|
123
139
|
ConflictException.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: String, location_name: "zonalShiftId"))
|
124
140
|
ConflictException.struct_class = Types::ConflictException
|
125
141
|
|
126
|
-
ControlCondition.add_member(:alarm_identifier, Shapes::ShapeRef.new(shape: MetricIdentifier, required: true, location_name: "alarmIdentifier"))
|
127
142
|
ControlCondition.add_member(:type, Shapes::ShapeRef.new(shape: ControlConditionType, required: true, location_name: "type"))
|
143
|
+
ControlCondition.add_member(:alarm_identifier, Shapes::ShapeRef.new(shape: MetricIdentifier, required: true, location_name: "alarmIdentifier"))
|
128
144
|
ControlCondition.struct_class = Types::ControlCondition
|
129
145
|
|
130
146
|
ControlConditions.member = Shapes::ShapeRef.new(shape: ControlCondition)
|
131
147
|
|
132
|
-
CreatePracticeRunConfigurationRequest.add_member(:
|
148
|
+
CreatePracticeRunConfigurationRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
|
133
149
|
CreatePracticeRunConfigurationRequest.add_member(:blocked_windows, Shapes::ShapeRef.new(shape: BlockedWindows, location_name: "blockedWindows"))
|
150
|
+
CreatePracticeRunConfigurationRequest.add_member(:blocked_dates, Shapes::ShapeRef.new(shape: BlockedDates, location_name: "blockedDates"))
|
134
151
|
CreatePracticeRunConfigurationRequest.add_member(:blocking_alarms, Shapes::ShapeRef.new(shape: ControlConditions, location_name: "blockingAlarms"))
|
135
152
|
CreatePracticeRunConfigurationRequest.add_member(:outcome_alarms, Shapes::ShapeRef.new(shape: ControlConditions, required: true, location_name: "outcomeAlarms"))
|
136
|
-
CreatePracticeRunConfigurationRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
|
137
153
|
CreatePracticeRunConfigurationRequest.struct_class = Types::CreatePracticeRunConfigurationRequest
|
138
154
|
|
139
155
|
CreatePracticeRunConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "arn"))
|
140
156
|
CreatePracticeRunConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
141
|
-
CreatePracticeRunConfigurationResponse.add_member(:practice_run_configuration, Shapes::ShapeRef.new(shape: PracticeRunConfiguration, required: true, location_name: "practiceRunConfiguration"))
|
142
157
|
CreatePracticeRunConfigurationResponse.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, required: true, location_name: "zonalAutoshiftStatus"))
|
158
|
+
CreatePracticeRunConfigurationResponse.add_member(:practice_run_configuration, Shapes::ShapeRef.new(shape: PracticeRunConfiguration, required: true, location_name: "practiceRunConfiguration"))
|
143
159
|
CreatePracticeRunConfigurationResponse.struct_class = Types::CreatePracticeRunConfigurationResponse
|
144
160
|
|
145
161
|
DeletePracticeRunConfigurationRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location: "uri", location_name: "resourceIdentifier"))
|
@@ -158,39 +174,39 @@ module Aws::ARCZonalShift
|
|
158
174
|
GetManagedResourceRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location: "uri", location_name: "resourceIdentifier"))
|
159
175
|
GetManagedResourceRequest.struct_class = Types::GetManagedResourceRequest
|
160
176
|
|
161
|
-
GetManagedResourceResponse.add_member(:applied_weights, Shapes::ShapeRef.new(shape: AppliedWeights, required: true, location_name: "appliedWeights"))
|
162
177
|
GetManagedResourceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "arn"))
|
163
|
-
GetManagedResourceResponse.add_member(:autoshifts, Shapes::ShapeRef.new(shape: AutoshiftsInResource, location_name: "autoshifts"))
|
164
178
|
GetManagedResourceResponse.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
179
|
+
GetManagedResourceResponse.add_member(:applied_weights, Shapes::ShapeRef.new(shape: AppliedWeights, required: true, location_name: "appliedWeights"))
|
180
|
+
GetManagedResourceResponse.add_member(:zonal_shifts, Shapes::ShapeRef.new(shape: ZonalShiftsInResource, required: true, location_name: "zonalShifts"))
|
181
|
+
GetManagedResourceResponse.add_member(:autoshifts, Shapes::ShapeRef.new(shape: AutoshiftsInResource, location_name: "autoshifts"))
|
165
182
|
GetManagedResourceResponse.add_member(:practice_run_configuration, Shapes::ShapeRef.new(shape: PracticeRunConfiguration, location_name: "practiceRunConfiguration"))
|
166
183
|
GetManagedResourceResponse.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, location_name: "zonalAutoshiftStatus"))
|
167
|
-
GetManagedResourceResponse.add_member(:zonal_shifts, Shapes::ShapeRef.new(shape: ZonalShiftsInResource, required: true, location_name: "zonalShifts"))
|
168
184
|
GetManagedResourceResponse.struct_class = Types::GetManagedResourceResponse
|
169
185
|
|
170
186
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
171
187
|
InternalServerException.struct_class = Types::InternalServerException
|
172
188
|
|
173
|
-
ListAutoshiftsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
174
189
|
ListAutoshiftsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
175
190
|
ListAutoshiftsRequest.add_member(:status, Shapes::ShapeRef.new(shape: AutoshiftExecutionStatus, location: "querystring", location_name: "status"))
|
191
|
+
ListAutoshiftsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
176
192
|
ListAutoshiftsRequest.struct_class = Types::ListAutoshiftsRequest
|
177
193
|
|
178
194
|
ListAutoshiftsResponse.add_member(:items, Shapes::ShapeRef.new(shape: AutoshiftSummaries, location_name: "items"))
|
179
195
|
ListAutoshiftsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
180
196
|
ListAutoshiftsResponse.struct_class = Types::ListAutoshiftsResponse
|
181
197
|
|
182
|
-
ListManagedResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
183
198
|
ListManagedResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
199
|
+
ListManagedResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
184
200
|
ListManagedResourcesRequest.struct_class = Types::ListManagedResourcesRequest
|
185
201
|
|
186
202
|
ListManagedResourcesResponse.add_member(:items, Shapes::ShapeRef.new(shape: ManagedResourceSummaries, required: true, location_name: "items"))
|
187
203
|
ListManagedResourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
188
204
|
ListManagedResourcesResponse.struct_class = Types::ListManagedResourcesResponse
|
189
205
|
|
190
|
-
ListZonalShiftsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
191
206
|
ListZonalShiftsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
|
192
|
-
ListZonalShiftsRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, location: "querystring", location_name: "resourceIdentifier"))
|
193
207
|
ListZonalShiftsRequest.add_member(:status, Shapes::ShapeRef.new(shape: ZonalShiftStatus, location: "querystring", location_name: "status"))
|
208
|
+
ListZonalShiftsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
209
|
+
ListZonalShiftsRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, location: "querystring", location_name: "resourceIdentifier"))
|
194
210
|
ListZonalShiftsRequest.struct_class = Types::ListZonalShiftsRequest
|
195
211
|
|
196
212
|
ListZonalShiftsResponse.add_member(:items, Shapes::ShapeRef.new(shape: ZonalShiftSummaries, location_name: "items"))
|
@@ -199,29 +215,43 @@ module Aws::ARCZonalShift
|
|
199
215
|
|
200
216
|
ManagedResourceSummaries.member = Shapes::ShapeRef.new(shape: ManagedResourceSummary)
|
201
217
|
|
202
|
-
ManagedResourceSummary.add_member(:applied_weights, Shapes::ShapeRef.new(shape: AppliedWeights, location_name: "appliedWeights"))
|
203
218
|
ManagedResourceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "arn"))
|
204
|
-
ManagedResourceSummary.add_member(:autoshifts, Shapes::ShapeRef.new(shape: AutoshiftsInResource, location_name: "autoshifts"))
|
205
|
-
ManagedResourceSummary.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZones, required: true, location_name: "availabilityZones"))
|
206
219
|
ManagedResourceSummary.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
207
|
-
ManagedResourceSummary.add_member(:
|
208
|
-
ManagedResourceSummary.add_member(:
|
220
|
+
ManagedResourceSummary.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZones, required: true, location_name: "availabilityZones"))
|
221
|
+
ManagedResourceSummary.add_member(:applied_weights, Shapes::ShapeRef.new(shape: AppliedWeights, location_name: "appliedWeights"))
|
209
222
|
ManagedResourceSummary.add_member(:zonal_shifts, Shapes::ShapeRef.new(shape: ZonalShiftsInResource, location_name: "zonalShifts"))
|
223
|
+
ManagedResourceSummary.add_member(:autoshifts, Shapes::ShapeRef.new(shape: AutoshiftsInResource, location_name: "autoshifts"))
|
224
|
+
ManagedResourceSummary.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, location_name: "zonalAutoshiftStatus"))
|
225
|
+
ManagedResourceSummary.add_member(:practice_run_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, location_name: "practiceRunStatus"))
|
210
226
|
ManagedResourceSummary.struct_class = Types::ManagedResourceSummary
|
211
227
|
|
212
|
-
PracticeRunConfiguration.add_member(:blocked_dates, Shapes::ShapeRef.new(shape: BlockedDates, location_name: "blockedDates"))
|
213
|
-
PracticeRunConfiguration.add_member(:blocked_windows, Shapes::ShapeRef.new(shape: BlockedWindows, location_name: "blockedWindows"))
|
214
228
|
PracticeRunConfiguration.add_member(:blocking_alarms, Shapes::ShapeRef.new(shape: ControlConditions, location_name: "blockingAlarms"))
|
215
229
|
PracticeRunConfiguration.add_member(:outcome_alarms, Shapes::ShapeRef.new(shape: ControlConditions, required: true, location_name: "outcomeAlarms"))
|
230
|
+
PracticeRunConfiguration.add_member(:blocked_windows, Shapes::ShapeRef.new(shape: BlockedWindows, location_name: "blockedWindows"))
|
231
|
+
PracticeRunConfiguration.add_member(:blocked_dates, Shapes::ShapeRef.new(shape: BlockedDates, location_name: "blockedDates"))
|
216
232
|
PracticeRunConfiguration.struct_class = Types::PracticeRunConfiguration
|
217
233
|
|
218
234
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
219
235
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
220
236
|
|
237
|
+
StartPracticeRunRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
|
238
|
+
StartPracticeRunRequest.add_member(:away_from, Shapes::ShapeRef.new(shape: AvailabilityZone, required: true, location_name: "awayFrom"))
|
239
|
+
StartPracticeRunRequest.add_member(:comment, Shapes::ShapeRef.new(shape: ZonalShiftComment, required: true, location_name: "comment"))
|
240
|
+
StartPracticeRunRequest.struct_class = Types::StartPracticeRunRequest
|
241
|
+
|
242
|
+
StartPracticeRunResponse.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: ZonalShiftId, required: true, location_name: "zonalShiftId"))
|
243
|
+
StartPracticeRunResponse.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
|
244
|
+
StartPracticeRunResponse.add_member(:away_from, Shapes::ShapeRef.new(shape: AvailabilityZone, required: true, location_name: "awayFrom"))
|
245
|
+
StartPracticeRunResponse.add_member(:expiry_time, Shapes::ShapeRef.new(shape: ExpiryTime, required: true, location_name: "expiryTime"))
|
246
|
+
StartPracticeRunResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, required: true, location_name: "startTime"))
|
247
|
+
StartPracticeRunResponse.add_member(:status, Shapes::ShapeRef.new(shape: ZonalShiftStatus, required: true, location_name: "status"))
|
248
|
+
StartPracticeRunResponse.add_member(:comment, Shapes::ShapeRef.new(shape: ZonalShiftComment, required: true, location_name: "comment"))
|
249
|
+
StartPracticeRunResponse.struct_class = Types::StartPracticeRunResponse
|
250
|
+
|
251
|
+
StartZonalShiftRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
|
221
252
|
StartZonalShiftRequest.add_member(:away_from, Shapes::ShapeRef.new(shape: AvailabilityZone, required: true, location_name: "awayFrom"))
|
222
|
-
StartZonalShiftRequest.add_member(:comment, Shapes::ShapeRef.new(shape: ZonalShiftComment, required: true, location_name: "comment"))
|
223
253
|
StartZonalShiftRequest.add_member(:expires_in, Shapes::ShapeRef.new(shape: ExpiresIn, required: true, location_name: "expiresIn"))
|
224
|
-
StartZonalShiftRequest.add_member(:
|
254
|
+
StartZonalShiftRequest.add_member(:comment, Shapes::ShapeRef.new(shape: ZonalShiftComment, required: true, location_name: "comment"))
|
225
255
|
StartZonalShiftRequest.struct_class = Types::StartZonalShiftRequest
|
226
256
|
|
227
257
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
@@ -233,17 +263,17 @@ module Aws::ARCZonalShift
|
|
233
263
|
UpdateAutoshiftObserverNotificationStatusResponse.add_member(:status, Shapes::ShapeRef.new(shape: AutoshiftObserverNotificationStatus, required: true, location_name: "status"))
|
234
264
|
UpdateAutoshiftObserverNotificationStatusResponse.struct_class = Types::UpdateAutoshiftObserverNotificationStatusResponse
|
235
265
|
|
236
|
-
UpdatePracticeRunConfigurationRequest.add_member(:
|
266
|
+
UpdatePracticeRunConfigurationRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location: "uri", location_name: "resourceIdentifier"))
|
237
267
|
UpdatePracticeRunConfigurationRequest.add_member(:blocked_windows, Shapes::ShapeRef.new(shape: BlockedWindows, location_name: "blockedWindows"))
|
268
|
+
UpdatePracticeRunConfigurationRequest.add_member(:blocked_dates, Shapes::ShapeRef.new(shape: BlockedDates, location_name: "blockedDates"))
|
238
269
|
UpdatePracticeRunConfigurationRequest.add_member(:blocking_alarms, Shapes::ShapeRef.new(shape: ControlConditions, location_name: "blockingAlarms"))
|
239
270
|
UpdatePracticeRunConfigurationRequest.add_member(:outcome_alarms, Shapes::ShapeRef.new(shape: ControlConditions, location_name: "outcomeAlarms"))
|
240
|
-
UpdatePracticeRunConfigurationRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location: "uri", location_name: "resourceIdentifier"))
|
241
271
|
UpdatePracticeRunConfigurationRequest.struct_class = Types::UpdatePracticeRunConfigurationRequest
|
242
272
|
|
243
273
|
UpdatePracticeRunConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "arn"))
|
244
274
|
UpdatePracticeRunConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
|
245
|
-
UpdatePracticeRunConfigurationResponse.add_member(:practice_run_configuration, Shapes::ShapeRef.new(shape: PracticeRunConfiguration, required: true, location_name: "practiceRunConfiguration"))
|
246
275
|
UpdatePracticeRunConfigurationResponse.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, required: true, location_name: "zonalAutoshiftStatus"))
|
276
|
+
UpdatePracticeRunConfigurationResponse.add_member(:practice_run_configuration, Shapes::ShapeRef.new(shape: PracticeRunConfiguration, required: true, location_name: "practiceRunConfiguration"))
|
247
277
|
UpdatePracticeRunConfigurationResponse.struct_class = Types::UpdatePracticeRunConfigurationResponse
|
248
278
|
|
249
279
|
UpdateZonalAutoshiftConfigurationRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location: "uri", location_name: "resourceIdentifier"))
|
@@ -254,46 +284,46 @@ module Aws::ARCZonalShift
|
|
254
284
|
UpdateZonalAutoshiftConfigurationResponse.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, required: true, location_name: "zonalAutoshiftStatus"))
|
255
285
|
UpdateZonalAutoshiftConfigurationResponse.struct_class = Types::UpdateZonalAutoshiftConfigurationResponse
|
256
286
|
|
287
|
+
UpdateZonalShiftRequest.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: ZonalShiftId, required: true, location: "uri", location_name: "zonalShiftId"))
|
257
288
|
UpdateZonalShiftRequest.add_member(:comment, Shapes::ShapeRef.new(shape: ZonalShiftComment, location_name: "comment"))
|
258
289
|
UpdateZonalShiftRequest.add_member(:expires_in, Shapes::ShapeRef.new(shape: ExpiresIn, location_name: "expiresIn"))
|
259
|
-
UpdateZonalShiftRequest.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: ZonalShiftId, required: true, location: "uri", location_name: "zonalShiftId"))
|
260
290
|
UpdateZonalShiftRequest.struct_class = Types::UpdateZonalShiftRequest
|
261
291
|
|
262
292
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
263
293
|
ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason"))
|
264
294
|
ValidationException.struct_class = Types::ValidationException
|
265
295
|
|
296
|
+
ZonalShift.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: ZonalShiftId, required: true, location_name: "zonalShiftId"))
|
297
|
+
ZonalShift.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
|
266
298
|
ZonalShift.add_member(:away_from, Shapes::ShapeRef.new(shape: AvailabilityZone, required: true, location_name: "awayFrom"))
|
267
|
-
ZonalShift.add_member(:comment, Shapes::ShapeRef.new(shape: ZonalShiftComment, required: true, location_name: "comment"))
|
268
299
|
ZonalShift.add_member(:expiry_time, Shapes::ShapeRef.new(shape: ExpiryTime, required: true, location_name: "expiryTime"))
|
269
|
-
ZonalShift.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
|
270
300
|
ZonalShift.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, required: true, location_name: "startTime"))
|
271
301
|
ZonalShift.add_member(:status, Shapes::ShapeRef.new(shape: ZonalShiftStatus, required: true, location_name: "status"))
|
272
|
-
ZonalShift.add_member(:
|
302
|
+
ZonalShift.add_member(:comment, Shapes::ShapeRef.new(shape: ZonalShiftComment, required: true, location_name: "comment"))
|
273
303
|
ZonalShift.struct_class = Types::ZonalShift
|
274
304
|
|
275
305
|
ZonalShiftInResource.add_member(:applied_status, Shapes::ShapeRef.new(shape: AppliedStatus, required: true, location_name: "appliedStatus"))
|
306
|
+
ZonalShiftInResource.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: ZonalShiftId, required: true, location_name: "zonalShiftId"))
|
307
|
+
ZonalShiftInResource.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
|
276
308
|
ZonalShiftInResource.add_member(:away_from, Shapes::ShapeRef.new(shape: AvailabilityZone, required: true, location_name: "awayFrom"))
|
277
|
-
ZonalShiftInResource.add_member(:comment, Shapes::ShapeRef.new(shape: ZonalShiftComment, required: true, location_name: "comment"))
|
278
309
|
ZonalShiftInResource.add_member(:expiry_time, Shapes::ShapeRef.new(shape: ExpiryTime, required: true, location_name: "expiryTime"))
|
279
|
-
ZonalShiftInResource.add_member(:practice_run_outcome, Shapes::ShapeRef.new(shape: PracticeRunOutcome, location_name: "practiceRunOutcome"))
|
280
|
-
ZonalShiftInResource.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
|
281
|
-
ZonalShiftInResource.add_member(:shift_type, Shapes::ShapeRef.new(shape: ShiftType, location_name: "shiftType"))
|
282
310
|
ZonalShiftInResource.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, required: true, location_name: "startTime"))
|
283
|
-
ZonalShiftInResource.add_member(:
|
311
|
+
ZonalShiftInResource.add_member(:comment, Shapes::ShapeRef.new(shape: ZonalShiftComment, required: true, location_name: "comment"))
|
312
|
+
ZonalShiftInResource.add_member(:shift_type, Shapes::ShapeRef.new(shape: ShiftType, location_name: "shiftType"))
|
313
|
+
ZonalShiftInResource.add_member(:practice_run_outcome, Shapes::ShapeRef.new(shape: PracticeRunOutcome, location_name: "practiceRunOutcome"))
|
284
314
|
ZonalShiftInResource.struct_class = Types::ZonalShiftInResource
|
285
315
|
|
286
316
|
ZonalShiftSummaries.member = Shapes::ShapeRef.new(shape: ZonalShiftSummary)
|
287
317
|
|
318
|
+
ZonalShiftSummary.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: ZonalShiftId, required: true, location_name: "zonalShiftId"))
|
319
|
+
ZonalShiftSummary.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
|
288
320
|
ZonalShiftSummary.add_member(:away_from, Shapes::ShapeRef.new(shape: AvailabilityZone, required: true, location_name: "awayFrom"))
|
289
|
-
ZonalShiftSummary.add_member(:comment, Shapes::ShapeRef.new(shape: ZonalShiftComment, required: true, location_name: "comment"))
|
290
321
|
ZonalShiftSummary.add_member(:expiry_time, Shapes::ShapeRef.new(shape: ExpiryTime, required: true, location_name: "expiryTime"))
|
291
|
-
ZonalShiftSummary.add_member(:practice_run_outcome, Shapes::ShapeRef.new(shape: PracticeRunOutcome, location_name: "practiceRunOutcome"))
|
292
|
-
ZonalShiftSummary.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier"))
|
293
|
-
ZonalShiftSummary.add_member(:shift_type, Shapes::ShapeRef.new(shape: ShiftType, location_name: "shiftType"))
|
294
322
|
ZonalShiftSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, required: true, location_name: "startTime"))
|
295
323
|
ZonalShiftSummary.add_member(:status, Shapes::ShapeRef.new(shape: ZonalShiftStatus, required: true, location_name: "status"))
|
296
|
-
ZonalShiftSummary.add_member(:
|
324
|
+
ZonalShiftSummary.add_member(:comment, Shapes::ShapeRef.new(shape: ZonalShiftComment, required: true, location_name: "comment"))
|
325
|
+
ZonalShiftSummary.add_member(:shift_type, Shapes::ShapeRef.new(shape: ShiftType, location_name: "shiftType"))
|
326
|
+
ZonalShiftSummary.add_member(:practice_run_outcome, Shapes::ShapeRef.new(shape: PracticeRunOutcome, location_name: "practiceRunOutcome"))
|
297
327
|
ZonalShiftSummary.struct_class = Types::ZonalShiftSummary
|
298
328
|
|
299
329
|
ZonalShiftsInResource.member = Shapes::ShapeRef.new(shape: ZonalShiftInResource)
|
@@ -308,7 +338,6 @@ module Aws::ARCZonalShift
|
|
308
338
|
"apiVersion" => "2022-10-30",
|
309
339
|
"auth" => ["aws.auth#sigv4"],
|
310
340
|
"endpointPrefix" => "arc-zonal-shift",
|
311
|
-
"jsonVersion" => "1.1",
|
312
341
|
"protocol" => "rest-json",
|
313
342
|
"protocols" => ["rest-json"],
|
314
343
|
"serviceFullName" => "AWS ARC - Zonal Shift",
|
@@ -318,6 +347,20 @@ module Aws::ARCZonalShift
|
|
318
347
|
"uid" => "arc-zonal-shift-2022-10-30",
|
319
348
|
}
|
320
349
|
|
350
|
+
api.add_operation(:cancel_practice_run, Seahorse::Model::Operation.new.tap do |o|
|
351
|
+
o.name = "CancelPracticeRun"
|
352
|
+
o.http_method = "DELETE"
|
353
|
+
o.http_request_uri = "/practiceruns/{zonalShiftId}"
|
354
|
+
o.input = Shapes::ShapeRef.new(shape: CancelPracticeRunRequest)
|
355
|
+
o.output = Shapes::ShapeRef.new(shape: CancelPracticeRunResponse)
|
356
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
357
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
358
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
359
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
360
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
361
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
362
|
+
end)
|
363
|
+
|
321
364
|
api.add_operation(:cancel_zonal_shift, Seahorse::Model::Operation.new.tap do |o|
|
322
365
|
o.name = "CancelZonalShift"
|
323
366
|
o.http_method = "DELETE"
|
@@ -328,8 +371,8 @@ module Aws::ARCZonalShift
|
|
328
371
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
329
372
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
330
373
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
331
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
332
374
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
375
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
333
376
|
end)
|
334
377
|
|
335
378
|
api.add_operation(:create_practice_run_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -342,8 +385,8 @@ module Aws::ARCZonalShift
|
|
342
385
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
343
386
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
344
387
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
345
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
346
388
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
389
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
347
390
|
end)
|
348
391
|
|
349
392
|
api.add_operation(:delete_practice_run_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -356,8 +399,8 @@ module Aws::ARCZonalShift
|
|
356
399
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
357
400
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
358
401
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
359
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
360
402
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
403
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
361
404
|
end)
|
362
405
|
|
363
406
|
api.add_operation(:get_autoshift_observer_notification_status, Seahorse::Model::Operation.new.tap do |o|
|
@@ -380,8 +423,8 @@ module Aws::ARCZonalShift
|
|
380
423
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
381
424
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
382
425
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
383
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
384
426
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
427
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
385
428
|
end)
|
386
429
|
|
387
430
|
api.add_operation(:list_autoshifts, Seahorse::Model::Operation.new.tap do |o|
|
@@ -392,8 +435,8 @@ module Aws::ARCZonalShift
|
|
392
435
|
o.output = Shapes::ShapeRef.new(shape: ListAutoshiftsResponse)
|
393
436
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
394
437
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
395
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
396
438
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
439
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
397
440
|
o[:pager] = Aws::Pager.new(
|
398
441
|
limit_key: "max_results",
|
399
442
|
tokens: {
|
@@ -410,8 +453,8 @@ module Aws::ARCZonalShift
|
|
410
453
|
o.output = Shapes::ShapeRef.new(shape: ListManagedResourcesResponse)
|
411
454
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
412
455
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
413
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
414
456
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
457
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
415
458
|
o[:pager] = Aws::Pager.new(
|
416
459
|
limit_key: "max_results",
|
417
460
|
tokens: {
|
@@ -428,8 +471,8 @@ module Aws::ARCZonalShift
|
|
428
471
|
o.output = Shapes::ShapeRef.new(shape: ListZonalShiftsResponse)
|
429
472
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
430
473
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
431
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
432
474
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
475
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
433
476
|
o[:pager] = Aws::Pager.new(
|
434
477
|
limit_key: "max_results",
|
435
478
|
tokens: {
|
@@ -438,6 +481,20 @@ module Aws::ARCZonalShift
|
|
438
481
|
)
|
439
482
|
end)
|
440
483
|
|
484
|
+
api.add_operation(:start_practice_run, Seahorse::Model::Operation.new.tap do |o|
|
485
|
+
o.name = "StartPracticeRun"
|
486
|
+
o.http_method = "POST"
|
487
|
+
o.http_request_uri = "/practiceruns"
|
488
|
+
o.input = Shapes::ShapeRef.new(shape: StartPracticeRunRequest)
|
489
|
+
o.output = Shapes::ShapeRef.new(shape: StartPracticeRunResponse)
|
490
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
491
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
492
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
493
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
494
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
495
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
496
|
+
end)
|
497
|
+
|
441
498
|
api.add_operation(:start_zonal_shift, Seahorse::Model::Operation.new.tap do |o|
|
442
499
|
o.name = "StartZonalShift"
|
443
500
|
o.http_method = "POST"
|
@@ -448,8 +505,8 @@ module Aws::ARCZonalShift
|
|
448
505
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
449
506
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
450
507
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
451
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
452
508
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
509
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
453
510
|
end)
|
454
511
|
|
455
512
|
api.add_operation(:update_autoshift_observer_notification_status, Seahorse::Model::Operation.new.tap do |o|
|
@@ -460,8 +517,8 @@ module Aws::ARCZonalShift
|
|
460
517
|
o.output = Shapes::ShapeRef.new(shape: UpdateAutoshiftObserverNotificationStatusResponse)
|
461
518
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
462
519
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
463
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
464
520
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
521
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
465
522
|
end)
|
466
523
|
|
467
524
|
api.add_operation(:update_practice_run_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -474,8 +531,8 @@ module Aws::ARCZonalShift
|
|
474
531
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
475
532
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
476
533
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
477
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
478
534
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
535
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
479
536
|
end)
|
480
537
|
|
481
538
|
api.add_operation(:update_zonal_autoshift_configuration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -488,8 +545,8 @@ module Aws::ARCZonalShift
|
|
488
545
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
489
546
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
490
547
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
491
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
492
548
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
493
550
|
end)
|
494
551
|
|
495
552
|
api.add_operation(:update_zonal_shift, Seahorse::Model::Operation.new.tap do |o|
|
@@ -502,8 +559,8 @@ module Aws::ARCZonalShift
|
|
502
559
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
503
560
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
504
561
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
505
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
506
562
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
563
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
507
564
|
end)
|
508
565
|
end
|
509
566
|
|