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
data/sig/client.rbs
ADDED
@@ -0,0 +1,263 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module ARCZonalShift
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _CancelZonalShiftResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ZonalShift]
|
77
|
+
def away_from: () -> ::String
|
78
|
+
def comment: () -> ::String
|
79
|
+
def expiry_time: () -> ::Time
|
80
|
+
def resource_identifier: () -> ::String
|
81
|
+
def start_time: () -> ::Time
|
82
|
+
def status: () -> ("ACTIVE" | "EXPIRED" | "CANCELED")
|
83
|
+
def zonal_shift_id: () -> ::String
|
84
|
+
end
|
85
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#cancel_zonal_shift-instance_method
|
86
|
+
def cancel_zonal_shift: (
|
87
|
+
zonal_shift_id: ::String
|
88
|
+
) -> _CancelZonalShiftResponseSuccess
|
89
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelZonalShiftResponseSuccess
|
90
|
+
|
91
|
+
interface _CreatePracticeRunConfigurationResponseSuccess
|
92
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePracticeRunConfigurationResponse]
|
93
|
+
def arn: () -> ::String
|
94
|
+
def name: () -> ::String
|
95
|
+
def practice_run_configuration: () -> Types::PracticeRunConfiguration
|
96
|
+
def zonal_autoshift_status: () -> ("ENABLED" | "DISABLED")
|
97
|
+
end
|
98
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#create_practice_run_configuration-instance_method
|
99
|
+
def create_practice_run_configuration: (
|
100
|
+
?blocked_dates: Array[::String],
|
101
|
+
?blocked_windows: Array[::String],
|
102
|
+
?blocking_alarms: Array[
|
103
|
+
{
|
104
|
+
alarm_identifier: ::String,
|
105
|
+
type: ("CLOUDWATCH")
|
106
|
+
},
|
107
|
+
],
|
108
|
+
outcome_alarms: Array[
|
109
|
+
{
|
110
|
+
alarm_identifier: ::String,
|
111
|
+
type: ("CLOUDWATCH")
|
112
|
+
},
|
113
|
+
],
|
114
|
+
resource_identifier: ::String
|
115
|
+
) -> _CreatePracticeRunConfigurationResponseSuccess
|
116
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePracticeRunConfigurationResponseSuccess
|
117
|
+
|
118
|
+
interface _DeletePracticeRunConfigurationResponseSuccess
|
119
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeletePracticeRunConfigurationResponse]
|
120
|
+
def arn: () -> ::String
|
121
|
+
def name: () -> ::String
|
122
|
+
def zonal_autoshift_status: () -> ("ENABLED" | "DISABLED")
|
123
|
+
end
|
124
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#delete_practice_run_configuration-instance_method
|
125
|
+
def delete_practice_run_configuration: (
|
126
|
+
resource_identifier: ::String
|
127
|
+
) -> _DeletePracticeRunConfigurationResponseSuccess
|
128
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePracticeRunConfigurationResponseSuccess
|
129
|
+
|
130
|
+
interface _GetManagedResourceResponseSuccess
|
131
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetManagedResourceResponse]
|
132
|
+
def applied_weights: () -> ::Hash[::String, ::Float]
|
133
|
+
def arn: () -> ::String
|
134
|
+
def autoshifts: () -> ::Array[Types::AutoshiftInResource]
|
135
|
+
def name: () -> ::String
|
136
|
+
def practice_run_configuration: () -> Types::PracticeRunConfiguration
|
137
|
+
def zonal_autoshift_status: () -> ("ENABLED" | "DISABLED")
|
138
|
+
def zonal_shifts: () -> ::Array[Types::ZonalShiftInResource]
|
139
|
+
end
|
140
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#get_managed_resource-instance_method
|
141
|
+
def get_managed_resource: (
|
142
|
+
resource_identifier: ::String
|
143
|
+
) -> _GetManagedResourceResponseSuccess
|
144
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetManagedResourceResponseSuccess
|
145
|
+
|
146
|
+
interface _ListAutoshiftsResponseSuccess
|
147
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAutoshiftsResponse]
|
148
|
+
def items: () -> ::Array[Types::AutoshiftSummary]
|
149
|
+
def next_token: () -> ::String
|
150
|
+
end
|
151
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#list_autoshifts-instance_method
|
152
|
+
def list_autoshifts: (
|
153
|
+
?max_results: ::Integer,
|
154
|
+
?next_token: ::String,
|
155
|
+
?status: ("ACTIVE" | "COMPLETED")
|
156
|
+
) -> _ListAutoshiftsResponseSuccess
|
157
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAutoshiftsResponseSuccess
|
158
|
+
|
159
|
+
interface _ListManagedResourcesResponseSuccess
|
160
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListManagedResourcesResponse]
|
161
|
+
def items: () -> ::Array[Types::ManagedResourceSummary]
|
162
|
+
def next_token: () -> ::String
|
163
|
+
end
|
164
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#list_managed_resources-instance_method
|
165
|
+
def list_managed_resources: (
|
166
|
+
?max_results: ::Integer,
|
167
|
+
?next_token: ::String
|
168
|
+
) -> _ListManagedResourcesResponseSuccess
|
169
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListManagedResourcesResponseSuccess
|
170
|
+
|
171
|
+
interface _ListZonalShiftsResponseSuccess
|
172
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListZonalShiftsResponse]
|
173
|
+
def items: () -> ::Array[Types::ZonalShiftSummary]
|
174
|
+
def next_token: () -> ::String
|
175
|
+
end
|
176
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#list_zonal_shifts-instance_method
|
177
|
+
def list_zonal_shifts: (
|
178
|
+
?max_results: ::Integer,
|
179
|
+
?next_token: ::String,
|
180
|
+
?resource_identifier: ::String,
|
181
|
+
?status: ("ACTIVE" | "EXPIRED" | "CANCELED")
|
182
|
+
) -> _ListZonalShiftsResponseSuccess
|
183
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListZonalShiftsResponseSuccess
|
184
|
+
|
185
|
+
interface _StartZonalShiftResponseSuccess
|
186
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ZonalShift]
|
187
|
+
def away_from: () -> ::String
|
188
|
+
def comment: () -> ::String
|
189
|
+
def expiry_time: () -> ::Time
|
190
|
+
def resource_identifier: () -> ::String
|
191
|
+
def start_time: () -> ::Time
|
192
|
+
def status: () -> ("ACTIVE" | "EXPIRED" | "CANCELED")
|
193
|
+
def zonal_shift_id: () -> ::String
|
194
|
+
end
|
195
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#start_zonal_shift-instance_method
|
196
|
+
def start_zonal_shift: (
|
197
|
+
away_from: ::String,
|
198
|
+
comment: ::String,
|
199
|
+
expires_in: ::String,
|
200
|
+
resource_identifier: ::String
|
201
|
+
) -> _StartZonalShiftResponseSuccess
|
202
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartZonalShiftResponseSuccess
|
203
|
+
|
204
|
+
interface _UpdatePracticeRunConfigurationResponseSuccess
|
205
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePracticeRunConfigurationResponse]
|
206
|
+
def arn: () -> ::String
|
207
|
+
def name: () -> ::String
|
208
|
+
def practice_run_configuration: () -> Types::PracticeRunConfiguration
|
209
|
+
def zonal_autoshift_status: () -> ("ENABLED" | "DISABLED")
|
210
|
+
end
|
211
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#update_practice_run_configuration-instance_method
|
212
|
+
def update_practice_run_configuration: (
|
213
|
+
?blocked_dates: Array[::String],
|
214
|
+
?blocked_windows: Array[::String],
|
215
|
+
?blocking_alarms: Array[
|
216
|
+
{
|
217
|
+
alarm_identifier: ::String,
|
218
|
+
type: ("CLOUDWATCH")
|
219
|
+
},
|
220
|
+
],
|
221
|
+
?outcome_alarms: Array[
|
222
|
+
{
|
223
|
+
alarm_identifier: ::String,
|
224
|
+
type: ("CLOUDWATCH")
|
225
|
+
},
|
226
|
+
],
|
227
|
+
resource_identifier: ::String
|
228
|
+
) -> _UpdatePracticeRunConfigurationResponseSuccess
|
229
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePracticeRunConfigurationResponseSuccess
|
230
|
+
|
231
|
+
interface _UpdateZonalAutoshiftConfigurationResponseSuccess
|
232
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateZonalAutoshiftConfigurationResponse]
|
233
|
+
def resource_identifier: () -> ::String
|
234
|
+
def zonal_autoshift_status: () -> ("ENABLED" | "DISABLED")
|
235
|
+
end
|
236
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#update_zonal_autoshift_configuration-instance_method
|
237
|
+
def update_zonal_autoshift_configuration: (
|
238
|
+
resource_identifier: ::String,
|
239
|
+
zonal_autoshift_status: ("ENABLED" | "DISABLED")
|
240
|
+
) -> _UpdateZonalAutoshiftConfigurationResponseSuccess
|
241
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateZonalAutoshiftConfigurationResponseSuccess
|
242
|
+
|
243
|
+
interface _UpdateZonalShiftResponseSuccess
|
244
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ZonalShift]
|
245
|
+
def away_from: () -> ::String
|
246
|
+
def comment: () -> ::String
|
247
|
+
def expiry_time: () -> ::Time
|
248
|
+
def resource_identifier: () -> ::String
|
249
|
+
def start_time: () -> ::Time
|
250
|
+
def status: () -> ("ACTIVE" | "EXPIRED" | "CANCELED")
|
251
|
+
def zonal_shift_id: () -> ::String
|
252
|
+
end
|
253
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Client.html#update_zonal_shift-instance_method
|
254
|
+
def update_zonal_shift: (
|
255
|
+
?comment: ::String,
|
256
|
+
?expires_in: ::String,
|
257
|
+
zonal_shift_id: ::String
|
258
|
+
) -> _UpdateZonalShiftResponseSuccess
|
259
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateZonalShiftResponseSuccess
|
260
|
+
end
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module ARCZonalShift
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
def reason: () -> ::String
|
20
|
+
def zonal_shift_id: () -> ::String
|
21
|
+
end
|
22
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
23
|
+
def message: () -> ::String
|
24
|
+
end
|
25
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
26
|
+
def message: () -> ::String
|
27
|
+
end
|
28
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
29
|
+
def message: () -> ::String
|
30
|
+
end
|
31
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
32
|
+
def message: () -> ::String
|
33
|
+
def reason: () -> ::String
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module ARCZonalShift
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ARCZonalShift/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,253 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::ARCZonalShift
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
16
|
+
class AutoshiftInResource
|
17
|
+
attr_accessor applied_status: ("APPLIED" | "NOT_APPLIED")
|
18
|
+
attr_accessor away_from: ::String
|
19
|
+
attr_accessor start_time: ::Time
|
20
|
+
SENSITIVE: []
|
21
|
+
end
|
22
|
+
|
23
|
+
class AutoshiftSummary
|
24
|
+
attr_accessor away_from: ::String
|
25
|
+
attr_accessor end_time: ::Time
|
26
|
+
attr_accessor start_time: ::Time
|
27
|
+
attr_accessor status: ("ACTIVE" | "COMPLETED")
|
28
|
+
SENSITIVE: []
|
29
|
+
end
|
30
|
+
|
31
|
+
class CancelZonalShiftRequest
|
32
|
+
attr_accessor zonal_shift_id: ::String
|
33
|
+
SENSITIVE: []
|
34
|
+
end
|
35
|
+
|
36
|
+
class ConflictException
|
37
|
+
attr_accessor message: ::String
|
38
|
+
attr_accessor reason: ("ZonalShiftAlreadyExists" | "ZonalShiftStatusNotActive" | "SimultaneousZonalShiftsConflict" | "PracticeConfigurationAlreadyExists" | "AutoShiftEnabled" | "PracticeConfigurationDoesNotExist")
|
39
|
+
attr_accessor zonal_shift_id: ::String
|
40
|
+
SENSITIVE: []
|
41
|
+
end
|
42
|
+
|
43
|
+
class ControlCondition
|
44
|
+
attr_accessor alarm_identifier: ::String
|
45
|
+
attr_accessor type: ("CLOUDWATCH")
|
46
|
+
SENSITIVE: []
|
47
|
+
end
|
48
|
+
|
49
|
+
class CreatePracticeRunConfigurationRequest
|
50
|
+
attr_accessor blocked_dates: ::Array[::String]
|
51
|
+
attr_accessor blocked_windows: ::Array[::String]
|
52
|
+
attr_accessor blocking_alarms: ::Array[Types::ControlCondition]
|
53
|
+
attr_accessor outcome_alarms: ::Array[Types::ControlCondition]
|
54
|
+
attr_accessor resource_identifier: ::String
|
55
|
+
SENSITIVE: []
|
56
|
+
end
|
57
|
+
|
58
|
+
class CreatePracticeRunConfigurationResponse
|
59
|
+
attr_accessor arn: ::String
|
60
|
+
attr_accessor name: ::String
|
61
|
+
attr_accessor practice_run_configuration: Types::PracticeRunConfiguration
|
62
|
+
attr_accessor zonal_autoshift_status: ("ENABLED" | "DISABLED")
|
63
|
+
SENSITIVE: []
|
64
|
+
end
|
65
|
+
|
66
|
+
class DeletePracticeRunConfigurationRequest
|
67
|
+
attr_accessor resource_identifier: ::String
|
68
|
+
SENSITIVE: []
|
69
|
+
end
|
70
|
+
|
71
|
+
class DeletePracticeRunConfigurationResponse
|
72
|
+
attr_accessor arn: ::String
|
73
|
+
attr_accessor name: ::String
|
74
|
+
attr_accessor zonal_autoshift_status: ("ENABLED" | "DISABLED")
|
75
|
+
SENSITIVE: []
|
76
|
+
end
|
77
|
+
|
78
|
+
class GetManagedResourceRequest
|
79
|
+
attr_accessor resource_identifier: ::String
|
80
|
+
SENSITIVE: []
|
81
|
+
end
|
82
|
+
|
83
|
+
class GetManagedResourceResponse
|
84
|
+
attr_accessor applied_weights: ::Hash[::String, ::Float]
|
85
|
+
attr_accessor arn: ::String
|
86
|
+
attr_accessor autoshifts: ::Array[Types::AutoshiftInResource]
|
87
|
+
attr_accessor name: ::String
|
88
|
+
attr_accessor practice_run_configuration: Types::PracticeRunConfiguration
|
89
|
+
attr_accessor zonal_autoshift_status: ("ENABLED" | "DISABLED")
|
90
|
+
attr_accessor zonal_shifts: ::Array[Types::ZonalShiftInResource]
|
91
|
+
SENSITIVE: []
|
92
|
+
end
|
93
|
+
|
94
|
+
class InternalServerException
|
95
|
+
attr_accessor message: ::String
|
96
|
+
SENSITIVE: []
|
97
|
+
end
|
98
|
+
|
99
|
+
class ListAutoshiftsRequest
|
100
|
+
attr_accessor max_results: ::Integer
|
101
|
+
attr_accessor next_token: ::String
|
102
|
+
attr_accessor status: ("ACTIVE" | "COMPLETED")
|
103
|
+
SENSITIVE: []
|
104
|
+
end
|
105
|
+
|
106
|
+
class ListAutoshiftsResponse
|
107
|
+
attr_accessor items: ::Array[Types::AutoshiftSummary]
|
108
|
+
attr_accessor next_token: ::String
|
109
|
+
SENSITIVE: []
|
110
|
+
end
|
111
|
+
|
112
|
+
class ListManagedResourcesRequest
|
113
|
+
attr_accessor max_results: ::Integer
|
114
|
+
attr_accessor next_token: ::String
|
115
|
+
SENSITIVE: []
|
116
|
+
end
|
117
|
+
|
118
|
+
class ListManagedResourcesResponse
|
119
|
+
attr_accessor items: ::Array[Types::ManagedResourceSummary]
|
120
|
+
attr_accessor next_token: ::String
|
121
|
+
SENSITIVE: []
|
122
|
+
end
|
123
|
+
|
124
|
+
class ListZonalShiftsRequest
|
125
|
+
attr_accessor max_results: ::Integer
|
126
|
+
attr_accessor next_token: ::String
|
127
|
+
attr_accessor resource_identifier: ::String
|
128
|
+
attr_accessor status: ("ACTIVE" | "EXPIRED" | "CANCELED")
|
129
|
+
SENSITIVE: []
|
130
|
+
end
|
131
|
+
|
132
|
+
class ListZonalShiftsResponse
|
133
|
+
attr_accessor items: ::Array[Types::ZonalShiftSummary]
|
134
|
+
attr_accessor next_token: ::String
|
135
|
+
SENSITIVE: []
|
136
|
+
end
|
137
|
+
|
138
|
+
class ManagedResourceSummary
|
139
|
+
attr_accessor applied_weights: ::Hash[::String, ::Float]
|
140
|
+
attr_accessor arn: ::String
|
141
|
+
attr_accessor autoshifts: ::Array[Types::AutoshiftInResource]
|
142
|
+
attr_accessor availability_zones: ::Array[::String]
|
143
|
+
attr_accessor name: ::String
|
144
|
+
attr_accessor practice_run_status: ("ENABLED" | "DISABLED")
|
145
|
+
attr_accessor zonal_autoshift_status: ("ENABLED" | "DISABLED")
|
146
|
+
attr_accessor zonal_shifts: ::Array[Types::ZonalShiftInResource]
|
147
|
+
SENSITIVE: []
|
148
|
+
end
|
149
|
+
|
150
|
+
class PracticeRunConfiguration
|
151
|
+
attr_accessor blocked_dates: ::Array[::String]
|
152
|
+
attr_accessor blocked_windows: ::Array[::String]
|
153
|
+
attr_accessor blocking_alarms: ::Array[Types::ControlCondition]
|
154
|
+
attr_accessor outcome_alarms: ::Array[Types::ControlCondition]
|
155
|
+
SENSITIVE: []
|
156
|
+
end
|
157
|
+
|
158
|
+
class ResourceNotFoundException
|
159
|
+
attr_accessor message: ::String
|
160
|
+
SENSITIVE: []
|
161
|
+
end
|
162
|
+
|
163
|
+
class StartZonalShiftRequest
|
164
|
+
attr_accessor away_from: ::String
|
165
|
+
attr_accessor comment: ::String
|
166
|
+
attr_accessor expires_in: ::String
|
167
|
+
attr_accessor resource_identifier: ::String
|
168
|
+
SENSITIVE: []
|
169
|
+
end
|
170
|
+
|
171
|
+
class ThrottlingException
|
172
|
+
attr_accessor message: ::String
|
173
|
+
SENSITIVE: []
|
174
|
+
end
|
175
|
+
|
176
|
+
class UpdatePracticeRunConfigurationRequest
|
177
|
+
attr_accessor blocked_dates: ::Array[::String]
|
178
|
+
attr_accessor blocked_windows: ::Array[::String]
|
179
|
+
attr_accessor blocking_alarms: ::Array[Types::ControlCondition]
|
180
|
+
attr_accessor outcome_alarms: ::Array[Types::ControlCondition]
|
181
|
+
attr_accessor resource_identifier: ::String
|
182
|
+
SENSITIVE: []
|
183
|
+
end
|
184
|
+
|
185
|
+
class UpdatePracticeRunConfigurationResponse
|
186
|
+
attr_accessor arn: ::String
|
187
|
+
attr_accessor name: ::String
|
188
|
+
attr_accessor practice_run_configuration: Types::PracticeRunConfiguration
|
189
|
+
attr_accessor zonal_autoshift_status: ("ENABLED" | "DISABLED")
|
190
|
+
SENSITIVE: []
|
191
|
+
end
|
192
|
+
|
193
|
+
class UpdateZonalAutoshiftConfigurationRequest
|
194
|
+
attr_accessor resource_identifier: ::String
|
195
|
+
attr_accessor zonal_autoshift_status: ("ENABLED" | "DISABLED")
|
196
|
+
SENSITIVE: []
|
197
|
+
end
|
198
|
+
|
199
|
+
class UpdateZonalAutoshiftConfigurationResponse
|
200
|
+
attr_accessor resource_identifier: ::String
|
201
|
+
attr_accessor zonal_autoshift_status: ("ENABLED" | "DISABLED")
|
202
|
+
SENSITIVE: []
|
203
|
+
end
|
204
|
+
|
205
|
+
class UpdateZonalShiftRequest
|
206
|
+
attr_accessor comment: ::String
|
207
|
+
attr_accessor expires_in: ::String
|
208
|
+
attr_accessor zonal_shift_id: ::String
|
209
|
+
SENSITIVE: []
|
210
|
+
end
|
211
|
+
|
212
|
+
class ValidationException
|
213
|
+
attr_accessor message: ::String
|
214
|
+
attr_accessor reason: ("InvalidExpiresIn" | "InvalidStatus" | "MissingValue" | "InvalidToken" | "InvalidResourceIdentifier" | "InvalidAz" | "UnsupportedAz" | "InvalidAlarmCondition" | "InvalidConditionType" | "InvalidPracticeBlocker")
|
215
|
+
SENSITIVE: []
|
216
|
+
end
|
217
|
+
|
218
|
+
class ZonalShift
|
219
|
+
attr_accessor away_from: ::String
|
220
|
+
attr_accessor comment: ::String
|
221
|
+
attr_accessor expiry_time: ::Time
|
222
|
+
attr_accessor resource_identifier: ::String
|
223
|
+
attr_accessor start_time: ::Time
|
224
|
+
attr_accessor status: ("ACTIVE" | "EXPIRED" | "CANCELED")
|
225
|
+
attr_accessor zonal_shift_id: ::String
|
226
|
+
SENSITIVE: []
|
227
|
+
end
|
228
|
+
|
229
|
+
class ZonalShiftInResource
|
230
|
+
attr_accessor applied_status: ("APPLIED" | "NOT_APPLIED")
|
231
|
+
attr_accessor away_from: ::String
|
232
|
+
attr_accessor comment: ::String
|
233
|
+
attr_accessor expiry_time: ::Time
|
234
|
+
attr_accessor practice_run_outcome: ("FAILED" | "INTERRUPTED" | "PENDING" | "SUCCEEDED")
|
235
|
+
attr_accessor resource_identifier: ::String
|
236
|
+
attr_accessor start_time: ::Time
|
237
|
+
attr_accessor zonal_shift_id: ::String
|
238
|
+
SENSITIVE: []
|
239
|
+
end
|
240
|
+
|
241
|
+
class ZonalShiftSummary
|
242
|
+
attr_accessor away_from: ::String
|
243
|
+
attr_accessor comment: ::String
|
244
|
+
attr_accessor expiry_time: ::Time
|
245
|
+
attr_accessor practice_run_outcome: ("FAILED" | "INTERRUPTED" | "PENDING" | "SUCCEEDED")
|
246
|
+
attr_accessor resource_identifier: ::String
|
247
|
+
attr_accessor start_time: ::Time
|
248
|
+
attr_accessor status: ("ACTIVE" | "EXPIRED" | "CANCELED")
|
249
|
+
attr_accessor zonal_shift_id: ::String
|
250
|
+
SENSITIVE: []
|
251
|
+
end
|
252
|
+
end
|
253
|
+
end
|
data/sig/waiters.rbs
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module ARCZonalShift
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|