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.
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'aws-sdk-core/waiters'
11
+
12
+ module Aws::ARCZonalShift
13
+ module Waiters
14
+ end
15
+ end
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:arczonalshift)
23
23
  # structure.
24
24
  #
25
25
  # arc_zonal_shift = Aws::ARCZonalShift::Client.new
26
- # resp = arc_zonal_shift.cancel_zonal_shift(params)
26
+ # resp = arc_zonal_shift.cancel_practice_run(params)
27
27
  #
28
28
  # See {Client} for more information.
29
29
  #
@@ -49,12 +49,13 @@ module Aws::ARCZonalShift
49
49
  end
50
50
  autoload :Client, 'aws-sdk-arczonalshift/client'
51
51
  autoload :Errors, 'aws-sdk-arczonalshift/errors'
52
+ autoload :Waiters, 'aws-sdk-arczonalshift/waiters'
52
53
  autoload :Resource, 'aws-sdk-arczonalshift/resource'
53
54
  autoload :EndpointParameters, 'aws-sdk-arczonalshift/endpoint_parameters'
54
55
  autoload :EndpointProvider, 'aws-sdk-arczonalshift/endpoint_provider'
55
56
  autoload :Endpoints, 'aws-sdk-arczonalshift/endpoints'
56
57
 
57
- GEM_VERSION = '1.34.0'
58
+ GEM_VERSION = '1.35.0'
58
59
 
59
60
  end
60
61
 
data/sig/client.rbs CHANGED
@@ -77,15 +77,31 @@ module Aws
77
77
  | (?Hash[Symbol, untyped]) -> instance
78
78
 
79
79
 
80
+ interface _CancelPracticeRunResponseSuccess
81
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelPracticeRunResponse]
82
+ def zonal_shift_id: () -> ::String
83
+ def resource_identifier: () -> ::String
84
+ def away_from: () -> ::String
85
+ def expiry_time: () -> ::Time
86
+ def start_time: () -> ::Time
87
+ def status: () -> ("ACTIVE" | "EXPIRED" | "CANCELED")
88
+ def comment: () -> ::String
89
+ end
90
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#cancel_practice_run-instance_method
91
+ def cancel_practice_run: (
92
+ zonal_shift_id: ::String
93
+ ) -> _CancelPracticeRunResponseSuccess
94
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelPracticeRunResponseSuccess
95
+
80
96
  interface _CancelZonalShiftResponseSuccess
81
97
  include ::Seahorse::Client::_ResponseSuccess[Types::ZonalShift]
98
+ def zonal_shift_id: () -> ::String
99
+ def resource_identifier: () -> ::String
82
100
  def away_from: () -> ::String
83
- def comment: () -> ::String
84
101
  def expiry_time: () -> ::Time
85
- def resource_identifier: () -> ::String
86
102
  def start_time: () -> ::Time
87
103
  def status: () -> ("ACTIVE" | "EXPIRED" | "CANCELED")
88
- def zonal_shift_id: () -> ::String
104
+ def comment: () -> ::String
89
105
  end
90
106
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#cancel_zonal_shift-instance_method
91
107
  def cancel_zonal_shift: (
@@ -97,26 +113,26 @@ module Aws
97
113
  include ::Seahorse::Client::_ResponseSuccess[Types::CreatePracticeRunConfigurationResponse]
98
114
  def arn: () -> ::String
99
115
  def name: () -> ::String
100
- def practice_run_configuration: () -> Types::PracticeRunConfiguration
101
116
  def zonal_autoshift_status: () -> ("ENABLED" | "DISABLED")
117
+ def practice_run_configuration: () -> Types::PracticeRunConfiguration
102
118
  end
103
119
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#create_practice_run_configuration-instance_method
104
120
  def create_practice_run_configuration: (
105
- ?blocked_dates: Array[::String],
121
+ resource_identifier: ::String,
106
122
  ?blocked_windows: Array[::String],
123
+ ?blocked_dates: Array[::String],
107
124
  ?blocking_alarms: Array[
108
125
  {
109
- alarm_identifier: ::String,
110
- type: ("CLOUDWATCH")
126
+ type: ("CLOUDWATCH"),
127
+ alarm_identifier: ::String
111
128
  },
112
129
  ],
113
130
  outcome_alarms: Array[
114
131
  {
115
- alarm_identifier: ::String,
116
- type: ("CLOUDWATCH")
132
+ type: ("CLOUDWATCH"),
133
+ alarm_identifier: ::String
117
134
  },
118
- ],
119
- resource_identifier: ::String
135
+ ]
120
136
  ) -> _CreatePracticeRunConfigurationResponseSuccess
121
137
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePracticeRunConfigurationResponseSuccess
122
138
 
@@ -143,13 +159,13 @@ module Aws
143
159
 
144
160
  interface _GetManagedResourceResponseSuccess
145
161
  include ::Seahorse::Client::_ResponseSuccess[Types::GetManagedResourceResponse]
146
- def applied_weights: () -> ::Hash[::String, ::Float]
147
162
  def arn: () -> ::String
148
- def autoshifts: () -> ::Array[Types::AutoshiftInResource]
149
163
  def name: () -> ::String
164
+ def applied_weights: () -> ::Hash[::String, ::Float]
165
+ def zonal_shifts: () -> ::Array[Types::ZonalShiftInResource]
166
+ def autoshifts: () -> ::Array[Types::AutoshiftInResource]
150
167
  def practice_run_configuration: () -> Types::PracticeRunConfiguration
151
168
  def zonal_autoshift_status: () -> ("ENABLED" | "DISABLED")
152
- def zonal_shifts: () -> ::Array[Types::ZonalShiftInResource]
153
169
  end
154
170
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#get_managed_resource-instance_method
155
171
  def get_managed_resource: (
@@ -164,9 +180,9 @@ module Aws
164
180
  end
165
181
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#list_autoshifts-instance_method
166
182
  def list_autoshifts: (
167
- ?max_results: ::Integer,
168
183
  ?next_token: ::String,
169
- ?status: ("ACTIVE" | "COMPLETED")
184
+ ?status: ("ACTIVE" | "COMPLETED"),
185
+ ?max_results: ::Integer
170
186
  ) -> _ListAutoshiftsResponseSuccess
171
187
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAutoshiftsResponseSuccess
172
188
 
@@ -177,8 +193,8 @@ module Aws
177
193
  end
178
194
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#list_managed_resources-instance_method
179
195
  def list_managed_resources: (
180
- ?max_results: ::Integer,
181
- ?next_token: ::String
196
+ ?next_token: ::String,
197
+ ?max_results: ::Integer
182
198
  ) -> _ListManagedResourcesResponseSuccess
183
199
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListManagedResourcesResponseSuccess
184
200
 
@@ -189,29 +205,47 @@ module Aws
189
205
  end
190
206
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#list_zonal_shifts-instance_method
191
207
  def list_zonal_shifts: (
192
- ?max_results: ::Integer,
193
208
  ?next_token: ::String,
194
- ?resource_identifier: ::String,
195
- ?status: ("ACTIVE" | "EXPIRED" | "CANCELED")
209
+ ?status: ("ACTIVE" | "EXPIRED" | "CANCELED"),
210
+ ?max_results: ::Integer,
211
+ ?resource_identifier: ::String
196
212
  ) -> _ListZonalShiftsResponseSuccess
197
213
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListZonalShiftsResponseSuccess
198
214
 
215
+ interface _StartPracticeRunResponseSuccess
216
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartPracticeRunResponse]
217
+ def zonal_shift_id: () -> ::String
218
+ def resource_identifier: () -> ::String
219
+ def away_from: () -> ::String
220
+ def expiry_time: () -> ::Time
221
+ def start_time: () -> ::Time
222
+ def status: () -> ("ACTIVE" | "EXPIRED" | "CANCELED")
223
+ def comment: () -> ::String
224
+ end
225
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#start_practice_run-instance_method
226
+ def start_practice_run: (
227
+ resource_identifier: ::String,
228
+ away_from: ::String,
229
+ comment: ::String
230
+ ) -> _StartPracticeRunResponseSuccess
231
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartPracticeRunResponseSuccess
232
+
199
233
  interface _StartZonalShiftResponseSuccess
200
234
  include ::Seahorse::Client::_ResponseSuccess[Types::ZonalShift]
235
+ def zonal_shift_id: () -> ::String
236
+ def resource_identifier: () -> ::String
201
237
  def away_from: () -> ::String
202
- def comment: () -> ::String
203
238
  def expiry_time: () -> ::Time
204
- def resource_identifier: () -> ::String
205
239
  def start_time: () -> ::Time
206
240
  def status: () -> ("ACTIVE" | "EXPIRED" | "CANCELED")
207
- def zonal_shift_id: () -> ::String
241
+ def comment: () -> ::String
208
242
  end
209
243
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#start_zonal_shift-instance_method
210
244
  def start_zonal_shift: (
245
+ resource_identifier: ::String,
211
246
  away_from: ::String,
212
- comment: ::String,
213
247
  expires_in: ::String,
214
- resource_identifier: ::String
248
+ comment: ::String
215
249
  ) -> _StartZonalShiftResponseSuccess
216
250
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartZonalShiftResponseSuccess
217
251
 
@@ -229,26 +263,26 @@ module Aws
229
263
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePracticeRunConfigurationResponse]
230
264
  def arn: () -> ::String
231
265
  def name: () -> ::String
232
- def practice_run_configuration: () -> Types::PracticeRunConfiguration
233
266
  def zonal_autoshift_status: () -> ("ENABLED" | "DISABLED")
267
+ def practice_run_configuration: () -> Types::PracticeRunConfiguration
234
268
  end
235
269
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#update_practice_run_configuration-instance_method
236
270
  def update_practice_run_configuration: (
237
- ?blocked_dates: Array[::String],
271
+ resource_identifier: ::String,
238
272
  ?blocked_windows: Array[::String],
273
+ ?blocked_dates: Array[::String],
239
274
  ?blocking_alarms: Array[
240
275
  {
241
- alarm_identifier: ::String,
242
- type: ("CLOUDWATCH")
276
+ type: ("CLOUDWATCH"),
277
+ alarm_identifier: ::String
243
278
  },
244
279
  ],
245
280
  ?outcome_alarms: Array[
246
281
  {
247
- alarm_identifier: ::String,
248
- type: ("CLOUDWATCH")
282
+ type: ("CLOUDWATCH"),
283
+ alarm_identifier: ::String
249
284
  },
250
- ],
251
- resource_identifier: ::String
285
+ ]
252
286
  ) -> _UpdatePracticeRunConfigurationResponseSuccess
253
287
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePracticeRunConfigurationResponseSuccess
254
288
 
@@ -266,19 +300,19 @@ module Aws
266
300
 
267
301
  interface _UpdateZonalShiftResponseSuccess
268
302
  include ::Seahorse::Client::_ResponseSuccess[Types::ZonalShift]
303
+ def zonal_shift_id: () -> ::String
304
+ def resource_identifier: () -> ::String
269
305
  def away_from: () -> ::String
270
- def comment: () -> ::String
271
306
  def expiry_time: () -> ::Time
272
- def resource_identifier: () -> ::String
273
307
  def start_time: () -> ::Time
274
308
  def status: () -> ("ACTIVE" | "EXPIRED" | "CANCELED")
275
- def zonal_shift_id: () -> ::String
309
+ def comment: () -> ::String
276
310
  end
277
311
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#update_zonal_shift-instance_method
278
312
  def update_zonal_shift: (
313
+ zonal_shift_id: ::String,
279
314
  ?comment: ::String,
280
- ?expires_in: ::String,
281
- zonal_shift_id: ::String
315
+ ?expires_in: ::String
282
316
  ) -> _UpdateZonalShiftResponseSuccess
283
317
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateZonalShiftResponseSuccess
284
318
  end
data/sig/types.rbs CHANGED
@@ -28,6 +28,22 @@ module Aws::ARCZonalShift
28
28
  SENSITIVE: []
29
29
  end
30
30
 
31
+ class CancelPracticeRunRequest
32
+ attr_accessor zonal_shift_id: ::String
33
+ SENSITIVE: []
34
+ end
35
+
36
+ class CancelPracticeRunResponse
37
+ attr_accessor zonal_shift_id: ::String
38
+ attr_accessor resource_identifier: ::String
39
+ attr_accessor away_from: ::String
40
+ attr_accessor expiry_time: ::Time
41
+ attr_accessor start_time: ::Time
42
+ attr_accessor status: ("ACTIVE" | "EXPIRED" | "CANCELED")
43
+ attr_accessor comment: ::String
44
+ SENSITIVE: []
45
+ end
46
+
31
47
  class CancelZonalShiftRequest
32
48
  attr_accessor zonal_shift_id: ::String
33
49
  SENSITIVE: []
@@ -35,31 +51,31 @@ module Aws::ARCZonalShift
35
51
 
36
52
  class ConflictException
37
53
  attr_accessor message: ::String
38
- attr_accessor reason: ("ZonalShiftAlreadyExists" | "ZonalShiftStatusNotActive" | "SimultaneousZonalShiftsConflict" | "PracticeConfigurationAlreadyExists" | "AutoShiftEnabled" | "PracticeConfigurationDoesNotExist" | "ZonalAutoshiftActive")
54
+ attr_accessor reason: ("ZonalShiftAlreadyExists" | "ZonalShiftStatusNotActive" | "SimultaneousZonalShiftsConflict" | "PracticeConfigurationAlreadyExists" | "AutoShiftEnabled" | "PracticeConfigurationDoesNotExist" | "ZonalAutoshiftActive" | "PracticeOutcomeAlarmsRed" | "PracticeBlockingAlarmsRed" | "PracticeInBlockedDates" | "PracticeInBlockedWindows")
39
55
  attr_accessor zonal_shift_id: ::String
40
56
  SENSITIVE: []
41
57
  end
42
58
 
43
59
  class ControlCondition
44
- attr_accessor alarm_identifier: ::String
45
60
  attr_accessor type: ("CLOUDWATCH")
61
+ attr_accessor alarm_identifier: ::String
46
62
  SENSITIVE: []
47
63
  end
48
64
 
49
65
  class CreatePracticeRunConfigurationRequest
50
- attr_accessor blocked_dates: ::Array[::String]
66
+ attr_accessor resource_identifier: ::String
51
67
  attr_accessor blocked_windows: ::Array[::String]
68
+ attr_accessor blocked_dates: ::Array[::String]
52
69
  attr_accessor blocking_alarms: ::Array[Types::ControlCondition]
53
70
  attr_accessor outcome_alarms: ::Array[Types::ControlCondition]
54
- attr_accessor resource_identifier: ::String
55
71
  SENSITIVE: []
56
72
  end
57
73
 
58
74
  class CreatePracticeRunConfigurationResponse
59
75
  attr_accessor arn: ::String
60
76
  attr_accessor name: ::String
61
- attr_accessor practice_run_configuration: Types::PracticeRunConfiguration
62
77
  attr_accessor zonal_autoshift_status: ("ENABLED" | "DISABLED")
78
+ attr_accessor practice_run_configuration: Types::PracticeRunConfiguration
63
79
  SENSITIVE: []
64
80
  end
65
81
 
@@ -89,13 +105,13 @@ module Aws::ARCZonalShift
89
105
  end
90
106
 
91
107
  class GetManagedResourceResponse
92
- attr_accessor applied_weights: ::Hash[::String, ::Float]
93
108
  attr_accessor arn: ::String
94
- attr_accessor autoshifts: ::Array[Types::AutoshiftInResource]
95
109
  attr_accessor name: ::String
110
+ attr_accessor applied_weights: ::Hash[::String, ::Float]
111
+ attr_accessor zonal_shifts: ::Array[Types::ZonalShiftInResource]
112
+ attr_accessor autoshifts: ::Array[Types::AutoshiftInResource]
96
113
  attr_accessor practice_run_configuration: Types::PracticeRunConfiguration
97
114
  attr_accessor zonal_autoshift_status: ("ENABLED" | "DISABLED")
98
- attr_accessor zonal_shifts: ::Array[Types::ZonalShiftInResource]
99
115
  SENSITIVE: []
100
116
  end
101
117
 
@@ -105,9 +121,9 @@ module Aws::ARCZonalShift
105
121
  end
106
122
 
107
123
  class ListAutoshiftsRequest
108
- attr_accessor max_results: ::Integer
109
124
  attr_accessor next_token: ::String
110
125
  attr_accessor status: ("ACTIVE" | "COMPLETED")
126
+ attr_accessor max_results: ::Integer
111
127
  SENSITIVE: []
112
128
  end
113
129
 
@@ -118,8 +134,8 @@ module Aws::ARCZonalShift
118
134
  end
119
135
 
120
136
  class ListManagedResourcesRequest
121
- attr_accessor max_results: ::Integer
122
137
  attr_accessor next_token: ::String
138
+ attr_accessor max_results: ::Integer
123
139
  SENSITIVE: []
124
140
  end
125
141
 
@@ -130,10 +146,10 @@ module Aws::ARCZonalShift
130
146
  end
131
147
 
132
148
  class ListZonalShiftsRequest
133
- attr_accessor max_results: ::Integer
134
149
  attr_accessor next_token: ::String
135
- attr_accessor resource_identifier: ::String
136
150
  attr_accessor status: ("ACTIVE" | "EXPIRED" | "CANCELED")
151
+ attr_accessor max_results: ::Integer
152
+ attr_accessor resource_identifier: ::String
137
153
  SENSITIVE: []
138
154
  end
139
155
 
@@ -144,22 +160,22 @@ module Aws::ARCZonalShift
144
160
  end
145
161
 
146
162
  class ManagedResourceSummary
147
- attr_accessor applied_weights: ::Hash[::String, ::Float]
148
163
  attr_accessor arn: ::String
149
- attr_accessor autoshifts: ::Array[Types::AutoshiftInResource]
150
- attr_accessor availability_zones: ::Array[::String]
151
164
  attr_accessor name: ::String
152
- attr_accessor practice_run_status: ("ENABLED" | "DISABLED")
153
- attr_accessor zonal_autoshift_status: ("ENABLED" | "DISABLED")
165
+ attr_accessor availability_zones: ::Array[::String]
166
+ attr_accessor applied_weights: ::Hash[::String, ::Float]
154
167
  attr_accessor zonal_shifts: ::Array[Types::ZonalShiftInResource]
168
+ attr_accessor autoshifts: ::Array[Types::AutoshiftInResource]
169
+ attr_accessor zonal_autoshift_status: ("ENABLED" | "DISABLED")
170
+ attr_accessor practice_run_status: ("ENABLED" | "DISABLED")
155
171
  SENSITIVE: []
156
172
  end
157
173
 
158
174
  class PracticeRunConfiguration
159
- attr_accessor blocked_dates: ::Array[::String]
160
- attr_accessor blocked_windows: ::Array[::String]
161
175
  attr_accessor blocking_alarms: ::Array[Types::ControlCondition]
162
176
  attr_accessor outcome_alarms: ::Array[Types::ControlCondition]
177
+ attr_accessor blocked_windows: ::Array[::String]
178
+ attr_accessor blocked_dates: ::Array[::String]
163
179
  SENSITIVE: []
164
180
  end
165
181
 
@@ -168,11 +184,29 @@ module Aws::ARCZonalShift
168
184
  SENSITIVE: []
169
185
  end
170
186
 
171
- class StartZonalShiftRequest
187
+ class StartPracticeRunRequest
188
+ attr_accessor resource_identifier: ::String
172
189
  attr_accessor away_from: ::String
173
190
  attr_accessor comment: ::String
174
- attr_accessor expires_in: ::String
191
+ SENSITIVE: []
192
+ end
193
+
194
+ class StartPracticeRunResponse
195
+ attr_accessor zonal_shift_id: ::String
175
196
  attr_accessor resource_identifier: ::String
197
+ attr_accessor away_from: ::String
198
+ attr_accessor expiry_time: ::Time
199
+ attr_accessor start_time: ::Time
200
+ attr_accessor status: ("ACTIVE" | "EXPIRED" | "CANCELED")
201
+ attr_accessor comment: ::String
202
+ SENSITIVE: []
203
+ end
204
+
205
+ class StartZonalShiftRequest
206
+ attr_accessor resource_identifier: ::String
207
+ attr_accessor away_from: ::String
208
+ attr_accessor expires_in: ::String
209
+ attr_accessor comment: ::String
176
210
  SENSITIVE: []
177
211
  end
178
212
 
@@ -192,19 +226,19 @@ module Aws::ARCZonalShift
192
226
  end
193
227
 
194
228
  class UpdatePracticeRunConfigurationRequest
195
- attr_accessor blocked_dates: ::Array[::String]
229
+ attr_accessor resource_identifier: ::String
196
230
  attr_accessor blocked_windows: ::Array[::String]
231
+ attr_accessor blocked_dates: ::Array[::String]
197
232
  attr_accessor blocking_alarms: ::Array[Types::ControlCondition]
198
233
  attr_accessor outcome_alarms: ::Array[Types::ControlCondition]
199
- attr_accessor resource_identifier: ::String
200
234
  SENSITIVE: []
201
235
  end
202
236
 
203
237
  class UpdatePracticeRunConfigurationResponse
204
238
  attr_accessor arn: ::String
205
239
  attr_accessor name: ::String
206
- attr_accessor practice_run_configuration: Types::PracticeRunConfiguration
207
240
  attr_accessor zonal_autoshift_status: ("ENABLED" | "DISABLED")
241
+ attr_accessor practice_run_configuration: Types::PracticeRunConfiguration
208
242
  SENSITIVE: []
209
243
  end
210
244
 
@@ -221,52 +255,52 @@ module Aws::ARCZonalShift
221
255
  end
222
256
 
223
257
  class UpdateZonalShiftRequest
258
+ attr_accessor zonal_shift_id: ::String
224
259
  attr_accessor comment: ::String
225
260
  attr_accessor expires_in: ::String
226
- attr_accessor zonal_shift_id: ::String
227
261
  SENSITIVE: []
228
262
  end
229
263
 
230
264
  class ValidationException
231
265
  attr_accessor message: ::String
232
- attr_accessor reason: ("InvalidExpiresIn" | "InvalidStatus" | "MissingValue" | "InvalidToken" | "InvalidResourceIdentifier" | "InvalidAz" | "UnsupportedAz" | "InvalidAlarmCondition" | "InvalidConditionType" | "InvalidPracticeBlocker" | "FISExperimentUpdateNotAllowed" | "AutoshiftUpdateNotAllowed")
266
+ attr_accessor reason: ("InvalidExpiresIn" | "InvalidStatus" | "MissingValue" | "InvalidToken" | "InvalidResourceIdentifier" | "InvalidAz" | "UnsupportedAz" | "InvalidAlarmCondition" | "InvalidConditionType" | "InvalidPracticeBlocker" | "FISExperimentUpdateNotAllowed" | "AutoshiftUpdateNotAllowed" | "UnsupportedPracticeCancelShiftType")
233
267
  SENSITIVE: []
234
268
  end
235
269
 
236
270
  class ZonalShift
271
+ attr_accessor zonal_shift_id: ::String
272
+ attr_accessor resource_identifier: ::String
237
273
  attr_accessor away_from: ::String
238
- attr_accessor comment: ::String
239
274
  attr_accessor expiry_time: ::Time
240
- attr_accessor resource_identifier: ::String
241
275
  attr_accessor start_time: ::Time
242
276
  attr_accessor status: ("ACTIVE" | "EXPIRED" | "CANCELED")
243
- attr_accessor zonal_shift_id: ::String
277
+ attr_accessor comment: ::String
244
278
  SENSITIVE: []
245
279
  end
246
280
 
247
281
  class ZonalShiftInResource
248
282
  attr_accessor applied_status: ("APPLIED" | "NOT_APPLIED")
283
+ attr_accessor zonal_shift_id: ::String
284
+ attr_accessor resource_identifier: ::String
249
285
  attr_accessor away_from: ::String
250
- attr_accessor comment: ::String
251
286
  attr_accessor expiry_time: ::Time
252
- attr_accessor practice_run_outcome: ("FAILED" | "INTERRUPTED" | "PENDING" | "SUCCEEDED")
253
- attr_accessor resource_identifier: ::String
254
- attr_accessor shift_type: ("ZONAL_SHIFT" | "PRACTICE_RUN" | "FIS_EXPERIMENT" | "ZONAL_AUTOSHIFT")
255
287
  attr_accessor start_time: ::Time
256
- attr_accessor zonal_shift_id: ::String
288
+ attr_accessor comment: ::String
289
+ attr_accessor shift_type: ("ZONAL_SHIFT" | "PRACTICE_RUN" | "FIS_EXPERIMENT" | "ZONAL_AUTOSHIFT")
290
+ attr_accessor practice_run_outcome: ("FAILED" | "INTERRUPTED" | "PENDING" | "SUCCEEDED" | "CAPACITY_CHECK_FAILED")
257
291
  SENSITIVE: []
258
292
  end
259
293
 
260
294
  class ZonalShiftSummary
295
+ attr_accessor zonal_shift_id: ::String
296
+ attr_accessor resource_identifier: ::String
261
297
  attr_accessor away_from: ::String
262
- attr_accessor comment: ::String
263
298
  attr_accessor expiry_time: ::Time
264
- attr_accessor practice_run_outcome: ("FAILED" | "INTERRUPTED" | "PENDING" | "SUCCEEDED")
265
- attr_accessor resource_identifier: ::String
266
- attr_accessor shift_type: ("ZONAL_SHIFT" | "PRACTICE_RUN" | "FIS_EXPERIMENT" | "ZONAL_AUTOSHIFT")
267
299
  attr_accessor start_time: ::Time
268
300
  attr_accessor status: ("ACTIVE" | "EXPIRED" | "CANCELED")
269
- attr_accessor zonal_shift_id: ::String
301
+ attr_accessor comment: ::String
302
+ attr_accessor shift_type: ("ZONAL_SHIFT" | "PRACTICE_RUN" | "FIS_EXPERIMENT" | "ZONAL_AUTOSHIFT")
303
+ attr_accessor practice_run_outcome: ("FAILED" | "INTERRUPTED" | "PENDING" | "SUCCEEDED" | "CAPACITY_CHECK_FAILED")
270
304
  SENSITIVE: []
271
305
  end
272
306
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-arczonalshift
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.34.0
4
+ version: 1.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -65,6 +65,7 @@ files:
65
65
  - lib/aws-sdk-arczonalshift/plugins/endpoints.rb
66
66
  - lib/aws-sdk-arczonalshift/resource.rb
67
67
  - lib/aws-sdk-arczonalshift/types.rb
68
+ - lib/aws-sdk-arczonalshift/waiters.rb
68
69
  - sig/client.rbs
69
70
  - sig/errors.rbs
70
71
  - sig/resource.rbs