aws-sdk-arczonalshift 1.11.0 → 1.13.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c9cd36f48a1de32de00bdc151264f918c934f353aab359149d163adb9f69d36d
4
- data.tar.gz: 1b6a955b6a32764849561d3e165a6151d95d87757ddcdb88a8cc1d4f46554359
3
+ metadata.gz: 539658ca1b2b64f5fa1bd6db39ada03471d6398817feaf86cb54b2a641233e81
4
+ data.tar.gz: 7513baa602b07cebf9097f437a38636b4f18d44fccf2bf365730c9e64601a157
5
5
  SHA512:
6
- metadata.gz: c9694f178e20e0dd279006d4f295fab8226922bf931c3c3baf6fecd769349f4a5ac8d923ba01f224bcb24850baee978eec133b9b08b3c57dff252d879aa1f36e
7
- data.tar.gz: 02cf80294eb73695ea39ebf84f354fb76d619bba0e6e4cd9107b0ed69a079e840b4e1aab8233881de226ef9b65d3a0937e4e85840db45d2ec640962fa0b25431
6
+ metadata.gz: ed347cbb1990a383635d7746cd63ae463bfaf16700c9123e67fb57557bbd3ea12340d1bfcd0f0352c2d2bb59214f10a7a94dc729fcaad64a371054d0c68388d9
7
+ data.tar.gz: 1c878337671ce83f008364f34812d3205bd419147b3ce35b5363da227b66a7522e95d0cb1bd98a26ec30d5e2cccc6ddf1e5a92e6df0a5d5fc46ee860e57c9e9a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.12.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.11.0 (2023-11-30)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.13.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::ARCZonalShift
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::ARCZonalShift
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -337,50 +346,65 @@ module Aws::ARCZonalShift
337
346
  # @option options [Aws::ARCZonalShift::EndpointProvider] :endpoint_provider
338
347
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ARCZonalShift::EndpointParameters`
339
348
  #
340
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
341
- # requests through. Formatted like 'http://proxy.com:123'.
342
- #
343
- # @option options [Float] :http_open_timeout (15) The number of
344
- # seconds to wait when opening a HTTP session before raising a
345
- # `Timeout::Error`.
346
- #
347
- # @option options [Float] :http_read_timeout (60) The default
348
- # number of seconds to wait for response data. This value can
349
- # safely be set per-request on the session.
350
- #
351
- # @option options [Float] :http_idle_timeout (5) The number of
352
- # seconds a connection is allowed to sit idle before it is
353
- # considered stale. Stale connections are closed and removed
354
- # from the pool before making a request.
355
- #
356
- # @option options [Float] :http_continue_timeout (1) The number of
357
- # seconds to wait for a 100-continue response before sending the
358
- # request body. This option has no effect unless the request has
359
- # "Expect" header set to "100-continue". Defaults to `nil` which
360
- # disables this behaviour. This value can safely be set per
361
- # request on the session.
362
- #
363
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
364
- # in seconds.
349
+ # @option options [Float] :http_continue_timeout (1)
350
+ # The number of seconds to wait for a 100-continue response before sending the
351
+ # request body. This option has no effect unless the request has "Expect"
352
+ # header set to "100-continue". Defaults to `nil` which disables this
353
+ # behaviour. This value can safely be set per request on the session.
354
+ #
355
+ # @option options [Float] :http_idle_timeout (5)
356
+ # The number of seconds a connection is allowed to sit idle before it
357
+ # is considered stale. Stale connections are closed and removed from the
358
+ # pool before making a request.
359
+ #
360
+ # @option options [Float] :http_open_timeout (15)
361
+ # The default number of seconds to wait for response data.
362
+ # This value can safely be set per-request on the session.
363
+ #
364
+ # @option options [URI::HTTP,String] :http_proxy
365
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
366
+ #
367
+ # @option options [Float] :http_read_timeout (60)
368
+ # The default number of seconds to wait for response data.
369
+ # This value can safely be set per-request on the session.
370
+ #
371
+ # @option options [Boolean] :http_wire_trace (false)
372
+ # When `true`, HTTP debug output will be sent to the `:logger`.
373
+ #
374
+ # @option options [Proc] :on_chunk_received
375
+ # When a Proc object is provided, it will be used as callback when each chunk
376
+ # of the response body is received. It provides three arguments: the chunk,
377
+ # the number of bytes received, and the total number of
378
+ # bytes in the response (or nil if the server did not send a `content-length`).
379
+ #
380
+ # @option options [Proc] :on_chunk_sent
381
+ # When a Proc object is provided, it will be used as callback when each chunk
382
+ # of the request body is sent. It provides three arguments: the chunk,
383
+ # the number of bytes read from the body, and the total number of
384
+ # bytes in the body.
385
+ #
386
+ # @option options [Boolean] :raise_response_errors (true)
387
+ # When `true`, response errors are raised.
388
+ #
389
+ # @option options [String] :ssl_ca_bundle
390
+ # Full path to the SSL certificate authority bundle file that should be used when
391
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
392
+ # `:ssl_ca_directory` the the system default will be used if available.
393
+ #
394
+ # @option options [String] :ssl_ca_directory
395
+ # Full path of the directory that contains the unbundled SSL certificate
396
+ # authority files for verifying peer certificates. If you do
397
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
398
+ # default will be used if available.
365
399
  #
366
- # @option options [Boolean] :http_wire_trace (false) When `true`,
367
- # HTTP debug output will be sent to the `:logger`.
400
+ # @option options [String] :ssl_ca_store
401
+ # Sets the X509::Store to verify peer certificate.
368
402
  #
369
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
370
- # SSL peer certificates are verified when establishing a
371
- # connection.
403
+ # @option options [Float] :ssl_timeout
404
+ # Sets the SSL timeout in seconds
372
405
  #
373
- # @option options [String] :ssl_ca_bundle Full path to the SSL
374
- # certificate authority bundle file that should be used when
375
- # verifying peer certificates. If you do not pass
376
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
377
- # will be used if available.
378
- #
379
- # @option options [String] :ssl_ca_directory Full path of the
380
- # directory that contains the unbundled SSL certificate
381
- # authority files for verifying peer certificates. If you do
382
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
383
- # system default will be used if available.
406
+ # @option options [Boolean] :ssl_verify_peer (true)
407
+ # When `true`, SSL peer certificates are verified when establishing a connection.
384
408
  #
385
409
  def initialize(*args)
386
410
  super
@@ -1184,7 +1208,7 @@ module Aws::ARCZonalShift
1184
1208
  params: params,
1185
1209
  config: config)
1186
1210
  context[:gem_name] = 'aws-sdk-arczonalshift'
1187
- context[:gem_version] = '1.11.0'
1211
+ context[:gem_version] = '1.13.0'
1188
1212
  Seahorse::Client::Request.new(handlers, context)
1189
1213
  end
1190
1214
 
@@ -14,6 +14,7 @@ module Aws::ARCZonalShift
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::ARCZonalShift::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-arczonalshift/customizations'
52
52
  # @!group service
53
53
  module Aws::ARCZonalShift
54
54
 
55
- GEM_VERSION = '1.11.0'
55
+ GEM_VERSION = '1.13.0'
56
56
 
57
57
  end
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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-arczonalshift
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-30 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.188.0
22
+ version: 3.193.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.188.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-arczonalshift/plugins/endpoints.rb
67
67
  - lib/aws-sdk-arczonalshift/resource.rb
68
68
  - lib/aws-sdk-arczonalshift/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-arczonalshift
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-arczonalshift/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - AWS ARC - Zonal Shift
94
99
  test_files: []