aws-sdk-recyclebin 1.18.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4901503b4f89759b567842583f2e09da83238386cb51a1de1ded562df7504222
4
- data.tar.gz: 48d516022e39c5d3afbe0e7810cbc13354d0b88b378ecfa49e1b6f569788d024
3
+ metadata.gz: bd93df287ff7c990f524172d8c07cd9887b59c31be40ea11039f4f8c3a525f41
4
+ data.tar.gz: 1264b40fb114fb01548192b3f535cb5623e81d8b71a89d04fb210b907b5f5904
5
5
  SHA512:
6
- metadata.gz: 7a49bc96993aca6c8ea3d1a2140eb6060fd578acdcb0b82dab3bd37a305f7bfb3b05efa0d5d09c7c99aa3e33dbc59f0e89d7a210eeffb4858da450e1c577fe30
7
- data.tar.gz: 301588c0cd689abf7967c58904aa076a3caa2a361fa5498fcdc63b8725abebefe97162986727d668fdfb7918192284467e8189d26000a45dafe79f91f9c30699
6
+ metadata.gz: b2c99541cfac0c30cc6ea369272ed43febae96a7169d3880f75a4a19ef68cfe7ba2906cf1165f80194a127cc6019ca37609b17cc2bfc8efdec8ecc10e6c8cc3f
7
+ data.tar.gz: ba88d1bc7135632cb95bef937f55cdf9c973fd615dc143c4e6c24e719ad2725b5f7601588a59516511b6ea71cd18d2fe84dc2aef76c91aeeaac7e418b76cbeca
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.19.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.18.0 (2023-12-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.18.0
1
+ 1.19.0
@@ -957,7 +957,7 @@ module Aws::RecycleBin
957
957
  params: params,
958
958
  config: config)
959
959
  context[:gem_name] = 'aws-sdk-recyclebin'
960
- context[:gem_version] = '1.18.0'
960
+ context[:gem_version] = '1.19.0'
961
961
  Seahorse::Client::Request.new(handlers, context)
962
962
  end
963
963
 
@@ -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.19.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.19.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-01-26 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.191.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.191.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: []