aws-sdk-arczonalshift 1.33.0 → 1.37.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-arczonalshift/client.rb +383 -194
- 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 +74 -39
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +73 -39
- metadata +5 -4
@@ -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.
|
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.
|
58
|
+
GEM_VERSION = '1.37.0'
|
58
59
|
|
59
60
|
end
|
60
61
|
|
data/sig/client.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
@@ -77,15 +78,31 @@ module Aws
|
|
77
78
|
| (?Hash[Symbol, untyped]) -> instance
|
78
79
|
|
79
80
|
|
81
|
+
interface _CancelPracticeRunResponseSuccess
|
82
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CancelPracticeRunResponse]
|
83
|
+
def zonal_shift_id: () -> ::String
|
84
|
+
def resource_identifier: () -> ::String
|
85
|
+
def away_from: () -> ::String
|
86
|
+
def expiry_time: () -> ::Time
|
87
|
+
def start_time: () -> ::Time
|
88
|
+
def status: () -> ("ACTIVE" | "EXPIRED" | "CANCELED")
|
89
|
+
def comment: () -> ::String
|
90
|
+
end
|
91
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#cancel_practice_run-instance_method
|
92
|
+
def cancel_practice_run: (
|
93
|
+
zonal_shift_id: ::String
|
94
|
+
) -> _CancelPracticeRunResponseSuccess
|
95
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelPracticeRunResponseSuccess
|
96
|
+
|
80
97
|
interface _CancelZonalShiftResponseSuccess
|
81
98
|
include ::Seahorse::Client::_ResponseSuccess[Types::ZonalShift]
|
99
|
+
def zonal_shift_id: () -> ::String
|
100
|
+
def resource_identifier: () -> ::String
|
82
101
|
def away_from: () -> ::String
|
83
|
-
def comment: () -> ::String
|
84
102
|
def expiry_time: () -> ::Time
|
85
|
-
def resource_identifier: () -> ::String
|
86
103
|
def start_time: () -> ::Time
|
87
104
|
def status: () -> ("ACTIVE" | "EXPIRED" | "CANCELED")
|
88
|
-
def
|
105
|
+
def comment: () -> ::String
|
89
106
|
end
|
90
107
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#cancel_zonal_shift-instance_method
|
91
108
|
def cancel_zonal_shift: (
|
@@ -97,26 +114,26 @@ module Aws
|
|
97
114
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePracticeRunConfigurationResponse]
|
98
115
|
def arn: () -> ::String
|
99
116
|
def name: () -> ::String
|
100
|
-
def practice_run_configuration: () -> Types::PracticeRunConfiguration
|
101
117
|
def zonal_autoshift_status: () -> ("ENABLED" | "DISABLED")
|
118
|
+
def practice_run_configuration: () -> Types::PracticeRunConfiguration
|
102
119
|
end
|
103
120
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#create_practice_run_configuration-instance_method
|
104
121
|
def create_practice_run_configuration: (
|
105
|
-
|
122
|
+
resource_identifier: ::String,
|
106
123
|
?blocked_windows: Array[::String],
|
124
|
+
?blocked_dates: Array[::String],
|
107
125
|
?blocking_alarms: Array[
|
108
126
|
{
|
109
|
-
|
110
|
-
|
127
|
+
type: ("CLOUDWATCH"),
|
128
|
+
alarm_identifier: ::String
|
111
129
|
},
|
112
130
|
],
|
113
131
|
outcome_alarms: Array[
|
114
132
|
{
|
115
|
-
|
116
|
-
|
133
|
+
type: ("CLOUDWATCH"),
|
134
|
+
alarm_identifier: ::String
|
117
135
|
},
|
118
|
-
]
|
119
|
-
resource_identifier: ::String
|
136
|
+
]
|
120
137
|
) -> _CreatePracticeRunConfigurationResponseSuccess
|
121
138
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePracticeRunConfigurationResponseSuccess
|
122
139
|
|
@@ -143,13 +160,13 @@ module Aws
|
|
143
160
|
|
144
161
|
interface _GetManagedResourceResponseSuccess
|
145
162
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetManagedResourceResponse]
|
146
|
-
def applied_weights: () -> ::Hash[::String, ::Float]
|
147
163
|
def arn: () -> ::String
|
148
|
-
def autoshifts: () -> ::Array[Types::AutoshiftInResource]
|
149
164
|
def name: () -> ::String
|
165
|
+
def applied_weights: () -> ::Hash[::String, ::Float]
|
166
|
+
def zonal_shifts: () -> ::Array[Types::ZonalShiftInResource]
|
167
|
+
def autoshifts: () -> ::Array[Types::AutoshiftInResource]
|
150
168
|
def practice_run_configuration: () -> Types::PracticeRunConfiguration
|
151
169
|
def zonal_autoshift_status: () -> ("ENABLED" | "DISABLED")
|
152
|
-
def zonal_shifts: () -> ::Array[Types::ZonalShiftInResource]
|
153
170
|
end
|
154
171
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#get_managed_resource-instance_method
|
155
172
|
def get_managed_resource: (
|
@@ -164,9 +181,9 @@ module Aws
|
|
164
181
|
end
|
165
182
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#list_autoshifts-instance_method
|
166
183
|
def list_autoshifts: (
|
167
|
-
?max_results: ::Integer,
|
168
184
|
?next_token: ::String,
|
169
|
-
?status: ("ACTIVE" | "COMPLETED")
|
185
|
+
?status: ("ACTIVE" | "COMPLETED"),
|
186
|
+
?max_results: ::Integer
|
170
187
|
) -> _ListAutoshiftsResponseSuccess
|
171
188
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAutoshiftsResponseSuccess
|
172
189
|
|
@@ -177,8 +194,8 @@ module Aws
|
|
177
194
|
end
|
178
195
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#list_managed_resources-instance_method
|
179
196
|
def list_managed_resources: (
|
180
|
-
?
|
181
|
-
?
|
197
|
+
?next_token: ::String,
|
198
|
+
?max_results: ::Integer
|
182
199
|
) -> _ListManagedResourcesResponseSuccess
|
183
200
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListManagedResourcesResponseSuccess
|
184
201
|
|
@@ -189,29 +206,47 @@ module Aws
|
|
189
206
|
end
|
190
207
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#list_zonal_shifts-instance_method
|
191
208
|
def list_zonal_shifts: (
|
192
|
-
?max_results: ::Integer,
|
193
209
|
?next_token: ::String,
|
194
|
-
?
|
195
|
-
?
|
210
|
+
?status: ("ACTIVE" | "EXPIRED" | "CANCELED"),
|
211
|
+
?max_results: ::Integer,
|
212
|
+
?resource_identifier: ::String
|
196
213
|
) -> _ListZonalShiftsResponseSuccess
|
197
214
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListZonalShiftsResponseSuccess
|
198
215
|
|
216
|
+
interface _StartPracticeRunResponseSuccess
|
217
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartPracticeRunResponse]
|
218
|
+
def zonal_shift_id: () -> ::String
|
219
|
+
def resource_identifier: () -> ::String
|
220
|
+
def away_from: () -> ::String
|
221
|
+
def expiry_time: () -> ::Time
|
222
|
+
def start_time: () -> ::Time
|
223
|
+
def status: () -> ("ACTIVE" | "EXPIRED" | "CANCELED")
|
224
|
+
def comment: () -> ::String
|
225
|
+
end
|
226
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#start_practice_run-instance_method
|
227
|
+
def start_practice_run: (
|
228
|
+
resource_identifier: ::String,
|
229
|
+
away_from: ::String,
|
230
|
+
comment: ::String
|
231
|
+
) -> _StartPracticeRunResponseSuccess
|
232
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartPracticeRunResponseSuccess
|
233
|
+
|
199
234
|
interface _StartZonalShiftResponseSuccess
|
200
235
|
include ::Seahorse::Client::_ResponseSuccess[Types::ZonalShift]
|
236
|
+
def zonal_shift_id: () -> ::String
|
237
|
+
def resource_identifier: () -> ::String
|
201
238
|
def away_from: () -> ::String
|
202
|
-
def comment: () -> ::String
|
203
239
|
def expiry_time: () -> ::Time
|
204
|
-
def resource_identifier: () -> ::String
|
205
240
|
def start_time: () -> ::Time
|
206
241
|
def status: () -> ("ACTIVE" | "EXPIRED" | "CANCELED")
|
207
|
-
def
|
242
|
+
def comment: () -> ::String
|
208
243
|
end
|
209
244
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#start_zonal_shift-instance_method
|
210
245
|
def start_zonal_shift: (
|
246
|
+
resource_identifier: ::String,
|
211
247
|
away_from: ::String,
|
212
|
-
comment: ::String,
|
213
248
|
expires_in: ::String,
|
214
|
-
|
249
|
+
comment: ::String
|
215
250
|
) -> _StartZonalShiftResponseSuccess
|
216
251
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartZonalShiftResponseSuccess
|
217
252
|
|
@@ -229,26 +264,26 @@ module Aws
|
|
229
264
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePracticeRunConfigurationResponse]
|
230
265
|
def arn: () -> ::String
|
231
266
|
def name: () -> ::String
|
232
|
-
def practice_run_configuration: () -> Types::PracticeRunConfiguration
|
233
267
|
def zonal_autoshift_status: () -> ("ENABLED" | "DISABLED")
|
268
|
+
def practice_run_configuration: () -> Types::PracticeRunConfiguration
|
234
269
|
end
|
235
270
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#update_practice_run_configuration-instance_method
|
236
271
|
def update_practice_run_configuration: (
|
237
|
-
|
272
|
+
resource_identifier: ::String,
|
238
273
|
?blocked_windows: Array[::String],
|
274
|
+
?blocked_dates: Array[::String],
|
239
275
|
?blocking_alarms: Array[
|
240
276
|
{
|
241
|
-
|
242
|
-
|
277
|
+
type: ("CLOUDWATCH"),
|
278
|
+
alarm_identifier: ::String
|
243
279
|
},
|
244
280
|
],
|
245
281
|
?outcome_alarms: Array[
|
246
282
|
{
|
247
|
-
|
248
|
-
|
283
|
+
type: ("CLOUDWATCH"),
|
284
|
+
alarm_identifier: ::String
|
249
285
|
},
|
250
|
-
]
|
251
|
-
resource_identifier: ::String
|
286
|
+
]
|
252
287
|
) -> _UpdatePracticeRunConfigurationResponseSuccess
|
253
288
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePracticeRunConfigurationResponseSuccess
|
254
289
|
|
@@ -266,19 +301,19 @@ module Aws
|
|
266
301
|
|
267
302
|
interface _UpdateZonalShiftResponseSuccess
|
268
303
|
include ::Seahorse::Client::_ResponseSuccess[Types::ZonalShift]
|
304
|
+
def zonal_shift_id: () -> ::String
|
305
|
+
def resource_identifier: () -> ::String
|
269
306
|
def away_from: () -> ::String
|
270
|
-
def comment: () -> ::String
|
271
307
|
def expiry_time: () -> ::Time
|
272
|
-
def resource_identifier: () -> ::String
|
273
308
|
def start_time: () -> ::Time
|
274
309
|
def status: () -> ("ACTIVE" | "EXPIRED" | "CANCELED")
|
275
|
-
def
|
310
|
+
def comment: () -> ::String
|
276
311
|
end
|
277
312
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#update_zonal_shift-instance_method
|
278
313
|
def update_zonal_shift: (
|
314
|
+
zonal_shift_id: ::String,
|
279
315
|
?comment: ::String,
|
280
|
-
?expires_in: ::String
|
281
|
-
zonal_shift_id: ::String
|
316
|
+
?expires_in: ::String
|
282
317
|
) -> _UpdateZonalShiftResponseSuccess
|
283
318
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateZonalShiftResponseSuccess
|
284
319
|
end
|
data/sig/resource.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
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
|
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
|
153
|
-
attr_accessor
|
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
|
187
|
+
class StartPracticeRunRequest
|
188
|
+
attr_accessor resource_identifier: ::String
|
172
189
|
attr_accessor away_from: ::String
|
173
190
|
attr_accessor comment: ::String
|
174
|
-
|
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
|
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
|
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
|
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
|
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.
|
4
|
+
version: 1.37.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.228.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.228.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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
|
@@ -83,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
83
84
|
requirements:
|
84
85
|
- - ">="
|
85
86
|
- !ruby/object:Gem::Version
|
86
|
-
version: '2.
|
87
|
+
version: '2.7'
|
87
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
89
|
requirements:
|
89
90
|
- - ">="
|