aws-sdk-recyclebin 1.18.0 → 1.20.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: 4901503b4f89759b567842583f2e09da83238386cb51a1de1ded562df7504222
4
- data.tar.gz: 48d516022e39c5d3afbe0e7810cbc13354d0b88b378ecfa49e1b6f569788d024
3
+ metadata.gz: d4388c33a7964906c234cad62a5f5d8064b2bc06deaceaabc01ff59db3744f78
4
+ data.tar.gz: e4981f9a9bb8d8612f3e3537a3dfda70fbcf3f6caee038ace82bf6b08448f6cf
5
5
  SHA512:
6
- metadata.gz: 7a49bc96993aca6c8ea3d1a2140eb6060fd578acdcb0b82dab3bd37a305f7bfb3b05efa0d5d09c7c99aa3e33dbc59f0e89d7a210eeffb4858da450e1c577fe30
7
- data.tar.gz: 301588c0cd689abf7967c58904aa076a3caa2a361fa5498fcdc63b8725abebefe97162986727d668fdfb7918192284467e8189d26000a45dafe79f91f9c30699
6
+ metadata.gz: a53224a5162889499fb4e91e5278728966839a14dab23676d00ef1f0103f23937c08a8baa3d73e0cc287fdce6150e20d7e8536cb782b3406ea71320197d8fa84
7
+ data.tar.gz: 15a99988fc90f4b1ec5c5b4e41bc3bf30bd3cff8e506e2159a58e58d4a7db99fd9629949e480d6e972ec35ca19320ffc794812a94407ac061da928a463f1c99a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.20.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.19.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.18.0 (2023-12-01)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.18.0
1
+ 1.20.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::RecycleBin
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::RecycleBin
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::RecycleBin
337
346
  # @option options [Aws::RecycleBin::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::RecycleBin::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
@@ -957,7 +981,7 @@ module Aws::RecycleBin
957
981
  params: params,
958
982
  config: config)
959
983
  context[:gem_name] = 'aws-sdk-recyclebin'
960
- context[:gem_version] = '1.18.0'
984
+ context[:gem_version] = '1.20.0'
961
985
  Seahorse::Client::Request.new(handlers, context)
962
986
  end
963
987
 
@@ -14,6 +14,7 @@ module Aws::RecycleBin
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::RecycleBin::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-recyclebin/customizations'
52
52
  # @!group service
53
53
  module Aws::RecycleBin
54
54
 
55
- GEM_VERSION = '1.18.0'
55
+ GEM_VERSION = '1.20.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,275 @@
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 RecycleBin
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/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 _CreateRuleResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRuleResponse]
77
+ def identifier: () -> ::String
78
+ def retention_period: () -> Types::RetentionPeriod
79
+ def description: () -> ::String
80
+ def tags: () -> ::Array[Types::Tag]
81
+ def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE")
82
+ def resource_tags: () -> ::Array[Types::ResourceTag]
83
+ def status: () -> ("pending" | "available")
84
+ def lock_configuration: () -> Types::LockConfiguration
85
+ def lock_state: () -> ("locked" | "pending_unlock" | "unlocked")
86
+ def rule_arn: () -> ::String
87
+ end
88
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#create_rule-instance_method
89
+ def create_rule: (
90
+ retention_period: {
91
+ retention_period_value: ::Integer,
92
+ retention_period_unit: ("DAYS")
93
+ },
94
+ ?description: ::String,
95
+ ?tags: Array[
96
+ {
97
+ key: ::String,
98
+ value: ::String
99
+ },
100
+ ],
101
+ resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE"),
102
+ ?resource_tags: Array[
103
+ {
104
+ resource_tag_key: ::String,
105
+ resource_tag_value: ::String?
106
+ },
107
+ ],
108
+ ?lock_configuration: {
109
+ unlock_delay: {
110
+ unlock_delay_value: ::Integer,
111
+ unlock_delay_unit: ("DAYS")
112
+ }
113
+ }
114
+ ) -> _CreateRuleResponseSuccess
115
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRuleResponseSuccess
116
+
117
+ interface _DeleteRuleResponseSuccess
118
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRuleResponse]
119
+ end
120
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#delete_rule-instance_method
121
+ def delete_rule: (
122
+ identifier: ::String
123
+ ) -> _DeleteRuleResponseSuccess
124
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRuleResponseSuccess
125
+
126
+ interface _GetRuleResponseSuccess
127
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRuleResponse]
128
+ def identifier: () -> ::String
129
+ def description: () -> ::String
130
+ def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE")
131
+ def retention_period: () -> Types::RetentionPeriod
132
+ def resource_tags: () -> ::Array[Types::ResourceTag]
133
+ def status: () -> ("pending" | "available")
134
+ def lock_configuration: () -> Types::LockConfiguration
135
+ def lock_state: () -> ("locked" | "pending_unlock" | "unlocked")
136
+ def lock_end_time: () -> ::Time
137
+ def rule_arn: () -> ::String
138
+ end
139
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#get_rule-instance_method
140
+ def get_rule: (
141
+ identifier: ::String
142
+ ) -> _GetRuleResponseSuccess
143
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRuleResponseSuccess
144
+
145
+ interface _ListRulesResponseSuccess
146
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRulesResponse]
147
+ def rules: () -> ::Array[Types::RuleSummary]
148
+ def next_token: () -> ::String
149
+ end
150
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#list_rules-instance_method
151
+ def list_rules: (
152
+ ?max_results: ::Integer,
153
+ ?next_token: ::String,
154
+ resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE"),
155
+ ?resource_tags: Array[
156
+ {
157
+ resource_tag_key: ::String,
158
+ resource_tag_value: ::String?
159
+ },
160
+ ],
161
+ ?lock_state: ("locked" | "pending_unlock" | "unlocked")
162
+ ) -> _ListRulesResponseSuccess
163
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRulesResponseSuccess
164
+
165
+ interface _ListTagsForResourceResponseSuccess
166
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
167
+ def tags: () -> ::Array[Types::Tag]
168
+ end
169
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#list_tags_for_resource-instance_method
170
+ def list_tags_for_resource: (
171
+ resource_arn: ::String
172
+ ) -> _ListTagsForResourceResponseSuccess
173
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
174
+
175
+ interface _LockRuleResponseSuccess
176
+ include ::Seahorse::Client::_ResponseSuccess[Types::LockRuleResponse]
177
+ def identifier: () -> ::String
178
+ def description: () -> ::String
179
+ def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE")
180
+ def retention_period: () -> Types::RetentionPeriod
181
+ def resource_tags: () -> ::Array[Types::ResourceTag]
182
+ def status: () -> ("pending" | "available")
183
+ def lock_configuration: () -> Types::LockConfiguration
184
+ def lock_state: () -> ("locked" | "pending_unlock" | "unlocked")
185
+ def rule_arn: () -> ::String
186
+ end
187
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#lock_rule-instance_method
188
+ def lock_rule: (
189
+ identifier: ::String,
190
+ lock_configuration: {
191
+ unlock_delay: {
192
+ unlock_delay_value: ::Integer,
193
+ unlock_delay_unit: ("DAYS")
194
+ }
195
+ }
196
+ ) -> _LockRuleResponseSuccess
197
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _LockRuleResponseSuccess
198
+
199
+ interface _TagResourceResponseSuccess
200
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
201
+ end
202
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#tag_resource-instance_method
203
+ def tag_resource: (
204
+ resource_arn: ::String,
205
+ tags: Array[
206
+ {
207
+ key: ::String,
208
+ value: ::String
209
+ },
210
+ ]
211
+ ) -> _TagResourceResponseSuccess
212
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
213
+
214
+ interface _UnlockRuleResponseSuccess
215
+ include ::Seahorse::Client::_ResponseSuccess[Types::UnlockRuleResponse]
216
+ def identifier: () -> ::String
217
+ def description: () -> ::String
218
+ def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE")
219
+ def retention_period: () -> Types::RetentionPeriod
220
+ def resource_tags: () -> ::Array[Types::ResourceTag]
221
+ def status: () -> ("pending" | "available")
222
+ def lock_configuration: () -> Types::LockConfiguration
223
+ def lock_state: () -> ("locked" | "pending_unlock" | "unlocked")
224
+ def lock_end_time: () -> ::Time
225
+ def rule_arn: () -> ::String
226
+ end
227
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#unlock_rule-instance_method
228
+ def unlock_rule: (
229
+ identifier: ::String
230
+ ) -> _UnlockRuleResponseSuccess
231
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UnlockRuleResponseSuccess
232
+
233
+ interface _UntagResourceResponseSuccess
234
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
235
+ end
236
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#untag_resource-instance_method
237
+ def untag_resource: (
238
+ resource_arn: ::String,
239
+ tag_keys: Array[::String]
240
+ ) -> _UntagResourceResponseSuccess
241
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
242
+
243
+ interface _UpdateRuleResponseSuccess
244
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRuleResponse]
245
+ def identifier: () -> ::String
246
+ def retention_period: () -> Types::RetentionPeriod
247
+ def description: () -> ::String
248
+ def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE")
249
+ def resource_tags: () -> ::Array[Types::ResourceTag]
250
+ def status: () -> ("pending" | "available")
251
+ def lock_state: () -> ("locked" | "pending_unlock" | "unlocked")
252
+ def lock_end_time: () -> ::Time
253
+ def rule_arn: () -> ::String
254
+ end
255
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#update_rule-instance_method
256
+ def update_rule: (
257
+ identifier: ::String,
258
+ ?retention_period: {
259
+ retention_period_value: ::Integer,
260
+ retention_period_unit: ("DAYS")
261
+ },
262
+ ?description: ::String,
263
+ ?resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE"),
264
+ ?resource_tags: Array[
265
+ {
266
+ resource_tag_key: ::String,
267
+ resource_tag_value: ::String?
268
+ },
269
+ ]
270
+ ) -> _UpdateRuleResponseSuccess
271
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRuleResponseSuccess
272
+ end
273
+ end
274
+ end
275
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,35 @@
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 RecycleBin
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class ConflictException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ def reason: () -> ::String
17
+ end
18
+ class InternalServerException < ::Aws::Errors::ServiceError
19
+ def message: () -> ::String
20
+ end
21
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
22
+ def message: () -> ::String
23
+ def reason: () -> ::String
24
+ end
25
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
26
+ def message: () -> ::String
27
+ def reason: () -> ::String
28
+ end
29
+ class ValidationException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ def reason: () -> ::String
32
+ end
33
+ end
34
+ end
35
+ 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 RecycleBin
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/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,232 @@
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::RecycleBin
9
+ module Types
10
+
11
+ class ConflictException
12
+ attr_accessor message: ::String
13
+ attr_accessor reason: ("INVALID_RULE_STATE")
14
+ SENSITIVE: []
15
+ end
16
+
17
+ class CreateRuleRequest
18
+ attr_accessor retention_period: Types::RetentionPeriod
19
+ attr_accessor description: ::String
20
+ attr_accessor tags: ::Array[Types::Tag]
21
+ attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
22
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
23
+ attr_accessor lock_configuration: Types::LockConfiguration
24
+ SENSITIVE: []
25
+ end
26
+
27
+ class CreateRuleResponse
28
+ attr_accessor identifier: ::String
29
+ attr_accessor retention_period: Types::RetentionPeriod
30
+ attr_accessor description: ::String
31
+ attr_accessor tags: ::Array[Types::Tag]
32
+ attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
33
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
34
+ attr_accessor status: ("pending" | "available")
35
+ attr_accessor lock_configuration: Types::LockConfiguration
36
+ attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
37
+ attr_accessor rule_arn: ::String
38
+ SENSITIVE: []
39
+ end
40
+
41
+ class DeleteRuleRequest
42
+ attr_accessor identifier: ::String
43
+ SENSITIVE: []
44
+ end
45
+
46
+ class DeleteRuleResponse < Aws::EmptyStructure
47
+ end
48
+
49
+ class GetRuleRequest
50
+ attr_accessor identifier: ::String
51
+ SENSITIVE: []
52
+ end
53
+
54
+ class GetRuleResponse
55
+ attr_accessor identifier: ::String
56
+ attr_accessor description: ::String
57
+ attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
58
+ attr_accessor retention_period: Types::RetentionPeriod
59
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
60
+ attr_accessor status: ("pending" | "available")
61
+ attr_accessor lock_configuration: Types::LockConfiguration
62
+ attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
63
+ attr_accessor lock_end_time: ::Time
64
+ attr_accessor rule_arn: ::String
65
+ SENSITIVE: []
66
+ end
67
+
68
+ class InternalServerException
69
+ attr_accessor message: ::String
70
+ SENSITIVE: []
71
+ end
72
+
73
+ class ListRulesRequest
74
+ attr_accessor max_results: ::Integer
75
+ attr_accessor next_token: ::String
76
+ attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
77
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
78
+ attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
79
+ SENSITIVE: []
80
+ end
81
+
82
+ class ListRulesResponse
83
+ attr_accessor rules: ::Array[Types::RuleSummary]
84
+ attr_accessor next_token: ::String
85
+ SENSITIVE: []
86
+ end
87
+
88
+ class ListTagsForResourceRequest
89
+ attr_accessor resource_arn: ::String
90
+ SENSITIVE: []
91
+ end
92
+
93
+ class ListTagsForResourceResponse
94
+ attr_accessor tags: ::Array[Types::Tag]
95
+ SENSITIVE: []
96
+ end
97
+
98
+ class LockConfiguration
99
+ attr_accessor unlock_delay: Types::UnlockDelay
100
+ SENSITIVE: []
101
+ end
102
+
103
+ class LockRuleRequest
104
+ attr_accessor identifier: ::String
105
+ attr_accessor lock_configuration: Types::LockConfiguration
106
+ SENSITIVE: []
107
+ end
108
+
109
+ class LockRuleResponse
110
+ attr_accessor identifier: ::String
111
+ attr_accessor description: ::String
112
+ attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
113
+ attr_accessor retention_period: Types::RetentionPeriod
114
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
115
+ attr_accessor status: ("pending" | "available")
116
+ attr_accessor lock_configuration: Types::LockConfiguration
117
+ attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
118
+ attr_accessor rule_arn: ::String
119
+ SENSITIVE: []
120
+ end
121
+
122
+ class ResourceNotFoundException
123
+ attr_accessor message: ::String
124
+ attr_accessor reason: ("RULE_NOT_FOUND")
125
+ SENSITIVE: []
126
+ end
127
+
128
+ class ResourceTag
129
+ attr_accessor resource_tag_key: ::String
130
+ attr_accessor resource_tag_value: ::String
131
+ SENSITIVE: []
132
+ end
133
+
134
+ class RetentionPeriod
135
+ attr_accessor retention_period_value: ::Integer
136
+ attr_accessor retention_period_unit: ("DAYS")
137
+ SENSITIVE: []
138
+ end
139
+
140
+ class RuleSummary
141
+ attr_accessor identifier: ::String
142
+ attr_accessor description: ::String
143
+ attr_accessor retention_period: Types::RetentionPeriod
144
+ attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
145
+ attr_accessor rule_arn: ::String
146
+ SENSITIVE: []
147
+ end
148
+
149
+ class ServiceQuotaExceededException
150
+ attr_accessor message: ::String
151
+ attr_accessor reason: ("SERVICE_QUOTA_EXCEEDED")
152
+ SENSITIVE: []
153
+ end
154
+
155
+ class Tag
156
+ attr_accessor key: ::String
157
+ attr_accessor value: ::String
158
+ SENSITIVE: []
159
+ end
160
+
161
+ class TagResourceRequest
162
+ attr_accessor resource_arn: ::String
163
+ attr_accessor tags: ::Array[Types::Tag]
164
+ SENSITIVE: []
165
+ end
166
+
167
+ class TagResourceResponse < Aws::EmptyStructure
168
+ end
169
+
170
+ class UnlockDelay
171
+ attr_accessor unlock_delay_value: ::Integer
172
+ attr_accessor unlock_delay_unit: ("DAYS")
173
+ SENSITIVE: []
174
+ end
175
+
176
+ class UnlockRuleRequest
177
+ attr_accessor identifier: ::String
178
+ SENSITIVE: []
179
+ end
180
+
181
+ class UnlockRuleResponse
182
+ attr_accessor identifier: ::String
183
+ attr_accessor description: ::String
184
+ attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
185
+ attr_accessor retention_period: Types::RetentionPeriod
186
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
187
+ attr_accessor status: ("pending" | "available")
188
+ attr_accessor lock_configuration: Types::LockConfiguration
189
+ attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
190
+ attr_accessor lock_end_time: ::Time
191
+ attr_accessor rule_arn: ::String
192
+ SENSITIVE: []
193
+ end
194
+
195
+ class UntagResourceRequest
196
+ attr_accessor resource_arn: ::String
197
+ attr_accessor tag_keys: ::Array[::String]
198
+ SENSITIVE: []
199
+ end
200
+
201
+ class UntagResourceResponse < Aws::EmptyStructure
202
+ end
203
+
204
+ class UpdateRuleRequest
205
+ attr_accessor identifier: ::String
206
+ attr_accessor retention_period: Types::RetentionPeriod
207
+ attr_accessor description: ::String
208
+ attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
209
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
210
+ SENSITIVE: []
211
+ end
212
+
213
+ class UpdateRuleResponse
214
+ attr_accessor identifier: ::String
215
+ attr_accessor retention_period: Types::RetentionPeriod
216
+ attr_accessor description: ::String
217
+ attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
218
+ attr_accessor resource_tags: ::Array[Types::ResourceTag]
219
+ attr_accessor status: ("pending" | "available")
220
+ attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
221
+ attr_accessor lock_end_time: ::Time
222
+ attr_accessor rule_arn: ::String
223
+ SENSITIVE: []
224
+ end
225
+
226
+ class ValidationException
227
+ attr_accessor message: ::String
228
+ attr_accessor reason: ("INVALID_PAGE_TOKEN" | "INVALID_PARAMETER_VALUE")
229
+ SENSITIVE: []
230
+ end
231
+ end
232
+ 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 RecycleBin
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-recyclebin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.20.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-12-01 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-recyclebin/plugins/endpoints.rb
67
67
  - lib/aws-sdk-recyclebin/resource.rb
68
68
  - lib/aws-sdk-recyclebin/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-recyclebin
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-recyclebin/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 - Amazon Recycle Bin
94
99
  test_files: []