aws-sdk-qldb 1.36.0 → 1.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ca16e2e7a0297b0f87292859f53c34b41d474d4eead446b1db1534e6da197b9
4
- data.tar.gz: a42160892e50dcdd7157ee2397645daf8ab42308deeceac07328edec088297ea
3
+ metadata.gz: 7930276ce6eca53007fd2104001f7c52b2acdcb121e2dbe0d56af25a7ca01fc1
4
+ data.tar.gz: d78c7611da70583675372d49d619b3ab778218853580146a6400c51efb059a00
5
5
  SHA512:
6
- metadata.gz: 5365de0c869f6e0dc7bd0698d8588cacd702489e58291b2677695af7e749e67ccd3b6d2585f1a56c74c1cf6e2918295186b4ad4dfb01015a48be23b5b4dc4b14
7
- data.tar.gz: 97350f1aede43447f9f72f2bca2f31b450233fa80df8a9a2c9b6a7255053c4edff6c8cf79d5580ca06346069e202262fc90c1c9925d4e2b0d5cf86590f86dbe6
6
+ metadata.gz: 88c919ef85e66ad57f7790e2997d8f54a57f2801e7100aaa0b5a60a7ccf222263db1a6cce817ef565a3061a6d3b062cf5841992a89723a76ebdc0e33f6bd13fc
7
+ data.tar.gz: e7bfa848433ee67dee870280a39f1a5ec20fa04e970116832807aef69373b692f41b2c8f7caf852d164c11572e66d1e2f32f480a4f3bafb18372c749648af910
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.37.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.36.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.36.0
1
+ 1.37.0
@@ -1661,7 +1661,7 @@ module Aws::QLDB
1661
1661
  params: params,
1662
1662
  config: config)
1663
1663
  context[:gem_name] = 'aws-sdk-qldb'
1664
- context[:gem_version] = '1.36.0'
1664
+ context[:gem_version] = '1.37.0'
1665
1665
  Seahorse::Client::Request.new(handlers, context)
1666
1666
  end
1667
1667
 
@@ -14,6 +14,7 @@ module Aws::QLDB
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::QLDB::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 '\
data/lib/aws-sdk-qldb.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-qldb/customizations'
52
52
  # @!group service
53
53
  module Aws::QLDB
54
54
 
55
- GEM_VERSION = '1.36.0'
55
+ GEM_VERSION = '1.37.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,349 @@
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 QLDB
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/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 _CancelJournalKinesisStreamResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelJournalKinesisStreamResponse]
77
+ def stream_id: () -> ::String
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#cancel_journal_kinesis_stream-instance_method
80
+ def cancel_journal_kinesis_stream: (
81
+ ledger_name: ::String,
82
+ stream_id: ::String
83
+ ) -> _CancelJournalKinesisStreamResponseSuccess
84
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelJournalKinesisStreamResponseSuccess
85
+
86
+ interface _CreateLedgerResponseSuccess
87
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateLedgerResponse]
88
+ def name: () -> ::String
89
+ def arn: () -> ::String
90
+ def state: () -> ("CREATING" | "ACTIVE" | "DELETING" | "DELETED")
91
+ def creation_date_time: () -> ::Time
92
+ def permissions_mode: () -> ("ALLOW_ALL" | "STANDARD")
93
+ def deletion_protection: () -> bool
94
+ def kms_key_arn: () -> ::String
95
+ end
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#create_ledger-instance_method
97
+ def create_ledger: (
98
+ name: ::String,
99
+ ?tags: Hash[::String, ::String],
100
+ permissions_mode: ("ALLOW_ALL" | "STANDARD"),
101
+ ?deletion_protection: bool,
102
+ ?kms_key: ::String
103
+ ) -> _CreateLedgerResponseSuccess
104
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLedgerResponseSuccess
105
+
106
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#delete_ledger-instance_method
107
+ def delete_ledger: (
108
+ name: ::String
109
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
110
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
111
+
112
+ interface _DescribeJournalKinesisStreamResponseSuccess
113
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeJournalKinesisStreamResponse]
114
+ def stream: () -> Types::JournalKinesisStreamDescription
115
+ end
116
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#describe_journal_kinesis_stream-instance_method
117
+ def describe_journal_kinesis_stream: (
118
+ ledger_name: ::String,
119
+ stream_id: ::String
120
+ ) -> _DescribeJournalKinesisStreamResponseSuccess
121
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeJournalKinesisStreamResponseSuccess
122
+
123
+ interface _DescribeJournalS3ExportResponseSuccess
124
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeJournalS3ExportResponse]
125
+ def export_description: () -> Types::JournalS3ExportDescription
126
+ end
127
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#describe_journal_s3_export-instance_method
128
+ def describe_journal_s3_export: (
129
+ name: ::String,
130
+ export_id: ::String
131
+ ) -> _DescribeJournalS3ExportResponseSuccess
132
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeJournalS3ExportResponseSuccess
133
+
134
+ interface _DescribeLedgerResponseSuccess
135
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLedgerResponse]
136
+ def name: () -> ::String
137
+ def arn: () -> ::String
138
+ def state: () -> ("CREATING" | "ACTIVE" | "DELETING" | "DELETED")
139
+ def creation_date_time: () -> ::Time
140
+ def permissions_mode: () -> ("ALLOW_ALL" | "STANDARD")
141
+ def deletion_protection: () -> bool
142
+ def encryption_description: () -> Types::LedgerEncryptionDescription
143
+ end
144
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#describe_ledger-instance_method
145
+ def describe_ledger: (
146
+ name: ::String
147
+ ) -> _DescribeLedgerResponseSuccess
148
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLedgerResponseSuccess
149
+
150
+ interface _ExportJournalToS3ResponseSuccess
151
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExportJournalToS3Response]
152
+ def export_id: () -> ::String
153
+ end
154
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#export_journal_to_s3-instance_method
155
+ def export_journal_to_s3: (
156
+ name: ::String,
157
+ inclusive_start_time: ::Time,
158
+ exclusive_end_time: ::Time,
159
+ s3_export_configuration: {
160
+ bucket: ::String,
161
+ prefix: ::String,
162
+ encryption_configuration: {
163
+ object_encryption_type: ("SSE_KMS" | "SSE_S3" | "NO_ENCRYPTION"),
164
+ kms_key_arn: ::String?
165
+ }
166
+ },
167
+ role_arn: ::String,
168
+ ?output_format: ("ION_BINARY" | "ION_TEXT" | "JSON")
169
+ ) -> _ExportJournalToS3ResponseSuccess
170
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportJournalToS3ResponseSuccess
171
+
172
+ interface _GetBlockResponseSuccess
173
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBlockResponse]
174
+ def block: () -> Types::ValueHolder
175
+ def proof: () -> Types::ValueHolder
176
+ end
177
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#get_block-instance_method
178
+ def get_block: (
179
+ name: ::String,
180
+ block_address: {
181
+ ion_text: ::String?
182
+ },
183
+ ?digest_tip_address: {
184
+ ion_text: ::String?
185
+ }
186
+ ) -> _GetBlockResponseSuccess
187
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBlockResponseSuccess
188
+
189
+ interface _GetDigestResponseSuccess
190
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDigestResponse]
191
+ def digest: () -> ::String
192
+ def digest_tip_address: () -> Types::ValueHolder
193
+ end
194
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#get_digest-instance_method
195
+ def get_digest: (
196
+ name: ::String
197
+ ) -> _GetDigestResponseSuccess
198
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDigestResponseSuccess
199
+
200
+ interface _GetRevisionResponseSuccess
201
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRevisionResponse]
202
+ def proof: () -> Types::ValueHolder
203
+ def revision: () -> Types::ValueHolder
204
+ end
205
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#get_revision-instance_method
206
+ def get_revision: (
207
+ name: ::String,
208
+ block_address: {
209
+ ion_text: ::String?
210
+ },
211
+ document_id: ::String,
212
+ ?digest_tip_address: {
213
+ ion_text: ::String?
214
+ }
215
+ ) -> _GetRevisionResponseSuccess
216
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRevisionResponseSuccess
217
+
218
+ interface _ListJournalKinesisStreamsForLedgerResponseSuccess
219
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListJournalKinesisStreamsForLedgerResponse]
220
+ def streams: () -> ::Array[Types::JournalKinesisStreamDescription]
221
+ def next_token: () -> ::String
222
+ end
223
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#list_journal_kinesis_streams_for_ledger-instance_method
224
+ def list_journal_kinesis_streams_for_ledger: (
225
+ ledger_name: ::String,
226
+ ?max_results: ::Integer,
227
+ ?next_token: ::String
228
+ ) -> _ListJournalKinesisStreamsForLedgerResponseSuccess
229
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListJournalKinesisStreamsForLedgerResponseSuccess
230
+
231
+ interface _ListJournalS3ExportsResponseSuccess
232
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListJournalS3ExportsResponse]
233
+ def journal_s3_exports: () -> ::Array[Types::JournalS3ExportDescription]
234
+ def next_token: () -> ::String
235
+ end
236
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#list_journal_s3_exports-instance_method
237
+ def list_journal_s3_exports: (
238
+ ?max_results: ::Integer,
239
+ ?next_token: ::String
240
+ ) -> _ListJournalS3ExportsResponseSuccess
241
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListJournalS3ExportsResponseSuccess
242
+
243
+ interface _ListJournalS3ExportsForLedgerResponseSuccess
244
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListJournalS3ExportsForLedgerResponse]
245
+ def journal_s3_exports: () -> ::Array[Types::JournalS3ExportDescription]
246
+ def next_token: () -> ::String
247
+ end
248
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#list_journal_s3_exports_for_ledger-instance_method
249
+ def list_journal_s3_exports_for_ledger: (
250
+ name: ::String,
251
+ ?max_results: ::Integer,
252
+ ?next_token: ::String
253
+ ) -> _ListJournalS3ExportsForLedgerResponseSuccess
254
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListJournalS3ExportsForLedgerResponseSuccess
255
+
256
+ interface _ListLedgersResponseSuccess
257
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListLedgersResponse]
258
+ def ledgers: () -> ::Array[Types::LedgerSummary]
259
+ def next_token: () -> ::String
260
+ end
261
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#list_ledgers-instance_method
262
+ def list_ledgers: (
263
+ ?max_results: ::Integer,
264
+ ?next_token: ::String
265
+ ) -> _ListLedgersResponseSuccess
266
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLedgersResponseSuccess
267
+
268
+ interface _ListTagsForResourceResponseSuccess
269
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
270
+ def tags: () -> ::Hash[::String, ::String]
271
+ end
272
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#list_tags_for_resource-instance_method
273
+ def list_tags_for_resource: (
274
+ resource_arn: ::String
275
+ ) -> _ListTagsForResourceResponseSuccess
276
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
277
+
278
+ interface _StreamJournalToKinesisResponseSuccess
279
+ include ::Seahorse::Client::_ResponseSuccess[Types::StreamJournalToKinesisResponse]
280
+ def stream_id: () -> ::String
281
+ end
282
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#stream_journal_to_kinesis-instance_method
283
+ def stream_journal_to_kinesis: (
284
+ ledger_name: ::String,
285
+ role_arn: ::String,
286
+ ?tags: Hash[::String, ::String],
287
+ inclusive_start_time: ::Time,
288
+ ?exclusive_end_time: ::Time,
289
+ kinesis_configuration: {
290
+ stream_arn: ::String,
291
+ aggregation_enabled: bool?
292
+ },
293
+ stream_name: ::String
294
+ ) -> _StreamJournalToKinesisResponseSuccess
295
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StreamJournalToKinesisResponseSuccess
296
+
297
+ interface _TagResourceResponseSuccess
298
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
299
+ end
300
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#tag_resource-instance_method
301
+ def tag_resource: (
302
+ resource_arn: ::String,
303
+ tags: Hash[::String, ::String]
304
+ ) -> _TagResourceResponseSuccess
305
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
306
+
307
+ interface _UntagResourceResponseSuccess
308
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
309
+ end
310
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#untag_resource-instance_method
311
+ def untag_resource: (
312
+ resource_arn: ::String,
313
+ tag_keys: Array[::String]
314
+ ) -> _UntagResourceResponseSuccess
315
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
316
+
317
+ interface _UpdateLedgerResponseSuccess
318
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLedgerResponse]
319
+ def name: () -> ::String
320
+ def arn: () -> ::String
321
+ def state: () -> ("CREATING" | "ACTIVE" | "DELETING" | "DELETED")
322
+ def creation_date_time: () -> ::Time
323
+ def deletion_protection: () -> bool
324
+ def encryption_description: () -> Types::LedgerEncryptionDescription
325
+ end
326
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#update_ledger-instance_method
327
+ def update_ledger: (
328
+ name: ::String,
329
+ ?deletion_protection: bool,
330
+ ?kms_key: ::String
331
+ ) -> _UpdateLedgerResponseSuccess
332
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLedgerResponseSuccess
333
+
334
+ interface _UpdateLedgerPermissionsModeResponseSuccess
335
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLedgerPermissionsModeResponse]
336
+ def name: () -> ::String
337
+ def arn: () -> ::String
338
+ def permissions_mode: () -> ("ALLOW_ALL" | "STANDARD")
339
+ end
340
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Client.html#update_ledger_permissions_mode-instance_method
341
+ def update_ledger_permissions_mode: (
342
+ name: ::String,
343
+ permissions_mode: ("ALLOW_ALL" | "STANDARD")
344
+ ) -> _UpdateLedgerPermissionsModeResponseSuccess
345
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLedgerPermissionsModeResponseSuccess
346
+ end
347
+ end
348
+ end
349
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,44 @@
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 QLDB
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class InvalidParameterException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ def parameter_name: () -> ::String
17
+ end
18
+ class LimitExceededException < ::Aws::Errors::ServiceError
19
+ def message: () -> ::String
20
+ def resource_type: () -> ::String
21
+ end
22
+ class ResourceAlreadyExistsException < ::Aws::Errors::ServiceError
23
+ def message: () -> ::String
24
+ def resource_type: () -> ::String
25
+ def resource_name: () -> ::String
26
+ end
27
+ class ResourceInUseException < ::Aws::Errors::ServiceError
28
+ def message: () -> ::String
29
+ def resource_type: () -> ::String
30
+ def resource_name: () -> ::String
31
+ end
32
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ def resource_type: () -> ::String
35
+ def resource_name: () -> ::String
36
+ end
37
+ class ResourcePreconditionNotMetException < ::Aws::Errors::ServiceError
38
+ def message: () -> ::String
39
+ def resource_type: () -> ::String
40
+ def resource_name: () -> ::String
41
+ end
42
+ end
43
+ end
44
+ 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 QLDB
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QLDB/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,368 @@
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::QLDB
9
+ module Types
10
+
11
+ class CancelJournalKinesisStreamRequest
12
+ attr_accessor ledger_name: ::String
13
+ attr_accessor stream_id: ::String
14
+ SENSITIVE: []
15
+ end
16
+
17
+ class CancelJournalKinesisStreamResponse
18
+ attr_accessor stream_id: ::String
19
+ SENSITIVE: []
20
+ end
21
+
22
+ class CreateLedgerRequest
23
+ attr_accessor name: ::String
24
+ attr_accessor tags: ::Hash[::String, ::String]
25
+ attr_accessor permissions_mode: ("ALLOW_ALL" | "STANDARD")
26
+ attr_accessor deletion_protection: bool
27
+ attr_accessor kms_key: ::String
28
+ SENSITIVE: []
29
+ end
30
+
31
+ class CreateLedgerResponse
32
+ attr_accessor name: ::String
33
+ attr_accessor arn: ::String
34
+ attr_accessor state: ("CREATING" | "ACTIVE" | "DELETING" | "DELETED")
35
+ attr_accessor creation_date_time: ::Time
36
+ attr_accessor permissions_mode: ("ALLOW_ALL" | "STANDARD")
37
+ attr_accessor deletion_protection: bool
38
+ attr_accessor kms_key_arn: ::String
39
+ SENSITIVE: []
40
+ end
41
+
42
+ class DeleteLedgerRequest
43
+ attr_accessor name: ::String
44
+ SENSITIVE: []
45
+ end
46
+
47
+ class DescribeJournalKinesisStreamRequest
48
+ attr_accessor ledger_name: ::String
49
+ attr_accessor stream_id: ::String
50
+ SENSITIVE: []
51
+ end
52
+
53
+ class DescribeJournalKinesisStreamResponse
54
+ attr_accessor stream: Types::JournalKinesisStreamDescription
55
+ SENSITIVE: []
56
+ end
57
+
58
+ class DescribeJournalS3ExportRequest
59
+ attr_accessor name: ::String
60
+ attr_accessor export_id: ::String
61
+ SENSITIVE: []
62
+ end
63
+
64
+ class DescribeJournalS3ExportResponse
65
+ attr_accessor export_description: Types::JournalS3ExportDescription
66
+ SENSITIVE: []
67
+ end
68
+
69
+ class DescribeLedgerRequest
70
+ attr_accessor name: ::String
71
+ SENSITIVE: []
72
+ end
73
+
74
+ class DescribeLedgerResponse
75
+ attr_accessor name: ::String
76
+ attr_accessor arn: ::String
77
+ attr_accessor state: ("CREATING" | "ACTIVE" | "DELETING" | "DELETED")
78
+ attr_accessor creation_date_time: ::Time
79
+ attr_accessor permissions_mode: ("ALLOW_ALL" | "STANDARD")
80
+ attr_accessor deletion_protection: bool
81
+ attr_accessor encryption_description: Types::LedgerEncryptionDescription
82
+ SENSITIVE: []
83
+ end
84
+
85
+ class ExportJournalToS3Request
86
+ attr_accessor name: ::String
87
+ attr_accessor inclusive_start_time: ::Time
88
+ attr_accessor exclusive_end_time: ::Time
89
+ attr_accessor s3_export_configuration: Types::S3ExportConfiguration
90
+ attr_accessor role_arn: ::String
91
+ attr_accessor output_format: ("ION_BINARY" | "ION_TEXT" | "JSON")
92
+ SENSITIVE: []
93
+ end
94
+
95
+ class ExportJournalToS3Response
96
+ attr_accessor export_id: ::String
97
+ SENSITIVE: []
98
+ end
99
+
100
+ class GetBlockRequest
101
+ attr_accessor name: ::String
102
+ attr_accessor block_address: Types::ValueHolder
103
+ attr_accessor digest_tip_address: Types::ValueHolder
104
+ SENSITIVE: [:block_address, :digest_tip_address]
105
+ end
106
+
107
+ class GetBlockResponse
108
+ attr_accessor block: Types::ValueHolder
109
+ attr_accessor proof: Types::ValueHolder
110
+ SENSITIVE: [:block, :proof]
111
+ end
112
+
113
+ class GetDigestRequest
114
+ attr_accessor name: ::String
115
+ SENSITIVE: []
116
+ end
117
+
118
+ class GetDigestResponse
119
+ attr_accessor digest: ::String
120
+ attr_accessor digest_tip_address: Types::ValueHolder
121
+ SENSITIVE: [:digest_tip_address]
122
+ end
123
+
124
+ class GetRevisionRequest
125
+ attr_accessor name: ::String
126
+ attr_accessor block_address: Types::ValueHolder
127
+ attr_accessor document_id: ::String
128
+ attr_accessor digest_tip_address: Types::ValueHolder
129
+ SENSITIVE: [:block_address, :digest_tip_address]
130
+ end
131
+
132
+ class GetRevisionResponse
133
+ attr_accessor proof: Types::ValueHolder
134
+ attr_accessor revision: Types::ValueHolder
135
+ SENSITIVE: [:proof, :revision]
136
+ end
137
+
138
+ class InvalidParameterException
139
+ attr_accessor message: ::String
140
+ attr_accessor parameter_name: ::String
141
+ SENSITIVE: []
142
+ end
143
+
144
+ class JournalKinesisStreamDescription
145
+ attr_accessor ledger_name: ::String
146
+ attr_accessor creation_time: ::Time
147
+ attr_accessor inclusive_start_time: ::Time
148
+ attr_accessor exclusive_end_time: ::Time
149
+ attr_accessor role_arn: ::String
150
+ attr_accessor stream_id: ::String
151
+ attr_accessor arn: ::String
152
+ attr_accessor status: ("ACTIVE" | "COMPLETED" | "CANCELED" | "FAILED" | "IMPAIRED")
153
+ attr_accessor kinesis_configuration: Types::KinesisConfiguration
154
+ attr_accessor error_cause: ("KINESIS_STREAM_NOT_FOUND" | "IAM_PERMISSION_REVOKED")
155
+ attr_accessor stream_name: ::String
156
+ SENSITIVE: []
157
+ end
158
+
159
+ class JournalS3ExportDescription
160
+ attr_accessor ledger_name: ::String
161
+ attr_accessor export_id: ::String
162
+ attr_accessor export_creation_time: ::Time
163
+ attr_accessor status: ("IN_PROGRESS" | "COMPLETED" | "CANCELLED")
164
+ attr_accessor inclusive_start_time: ::Time
165
+ attr_accessor exclusive_end_time: ::Time
166
+ attr_accessor s3_export_configuration: Types::S3ExportConfiguration
167
+ attr_accessor role_arn: ::String
168
+ attr_accessor output_format: ("ION_BINARY" | "ION_TEXT" | "JSON")
169
+ SENSITIVE: []
170
+ end
171
+
172
+ class KinesisConfiguration
173
+ attr_accessor stream_arn: ::String
174
+ attr_accessor aggregation_enabled: bool
175
+ SENSITIVE: []
176
+ end
177
+
178
+ class LedgerEncryptionDescription
179
+ attr_accessor kms_key_arn: ::String
180
+ attr_accessor encryption_status: ("ENABLED" | "UPDATING" | "KMS_KEY_INACCESSIBLE")
181
+ attr_accessor inaccessible_kms_key_date_time: ::Time
182
+ SENSITIVE: []
183
+ end
184
+
185
+ class LedgerSummary
186
+ attr_accessor name: ::String
187
+ attr_accessor state: ("CREATING" | "ACTIVE" | "DELETING" | "DELETED")
188
+ attr_accessor creation_date_time: ::Time
189
+ SENSITIVE: []
190
+ end
191
+
192
+ class LimitExceededException
193
+ attr_accessor message: ::String
194
+ attr_accessor resource_type: ::String
195
+ SENSITIVE: []
196
+ end
197
+
198
+ class ListJournalKinesisStreamsForLedgerRequest
199
+ attr_accessor ledger_name: ::String
200
+ attr_accessor max_results: ::Integer
201
+ attr_accessor next_token: ::String
202
+ SENSITIVE: []
203
+ end
204
+
205
+ class ListJournalKinesisStreamsForLedgerResponse
206
+ attr_accessor streams: ::Array[Types::JournalKinesisStreamDescription]
207
+ attr_accessor next_token: ::String
208
+ SENSITIVE: []
209
+ end
210
+
211
+ class ListJournalS3ExportsForLedgerRequest
212
+ attr_accessor name: ::String
213
+ attr_accessor max_results: ::Integer
214
+ attr_accessor next_token: ::String
215
+ SENSITIVE: []
216
+ end
217
+
218
+ class ListJournalS3ExportsForLedgerResponse
219
+ attr_accessor journal_s3_exports: ::Array[Types::JournalS3ExportDescription]
220
+ attr_accessor next_token: ::String
221
+ SENSITIVE: []
222
+ end
223
+
224
+ class ListJournalS3ExportsRequest
225
+ attr_accessor max_results: ::Integer
226
+ attr_accessor next_token: ::String
227
+ SENSITIVE: []
228
+ end
229
+
230
+ class ListJournalS3ExportsResponse
231
+ attr_accessor journal_s3_exports: ::Array[Types::JournalS3ExportDescription]
232
+ attr_accessor next_token: ::String
233
+ SENSITIVE: []
234
+ end
235
+
236
+ class ListLedgersRequest
237
+ attr_accessor max_results: ::Integer
238
+ attr_accessor next_token: ::String
239
+ SENSITIVE: []
240
+ end
241
+
242
+ class ListLedgersResponse
243
+ attr_accessor ledgers: ::Array[Types::LedgerSummary]
244
+ attr_accessor next_token: ::String
245
+ SENSITIVE: []
246
+ end
247
+
248
+ class ListTagsForResourceRequest
249
+ attr_accessor resource_arn: ::String
250
+ SENSITIVE: []
251
+ end
252
+
253
+ class ListTagsForResourceResponse
254
+ attr_accessor tags: ::Hash[::String, ::String]
255
+ SENSITIVE: []
256
+ end
257
+
258
+ class ResourceAlreadyExistsException
259
+ attr_accessor message: ::String
260
+ attr_accessor resource_type: ::String
261
+ attr_accessor resource_name: ::String
262
+ SENSITIVE: []
263
+ end
264
+
265
+ class ResourceInUseException
266
+ attr_accessor message: ::String
267
+ attr_accessor resource_type: ::String
268
+ attr_accessor resource_name: ::String
269
+ SENSITIVE: []
270
+ end
271
+
272
+ class ResourceNotFoundException
273
+ attr_accessor message: ::String
274
+ attr_accessor resource_type: ::String
275
+ attr_accessor resource_name: ::String
276
+ SENSITIVE: []
277
+ end
278
+
279
+ class ResourcePreconditionNotMetException
280
+ attr_accessor message: ::String
281
+ attr_accessor resource_type: ::String
282
+ attr_accessor resource_name: ::String
283
+ SENSITIVE: []
284
+ end
285
+
286
+ class S3EncryptionConfiguration
287
+ attr_accessor object_encryption_type: ("SSE_KMS" | "SSE_S3" | "NO_ENCRYPTION")
288
+ attr_accessor kms_key_arn: ::String
289
+ SENSITIVE: []
290
+ end
291
+
292
+ class S3ExportConfiguration
293
+ attr_accessor bucket: ::String
294
+ attr_accessor prefix: ::String
295
+ attr_accessor encryption_configuration: Types::S3EncryptionConfiguration
296
+ SENSITIVE: []
297
+ end
298
+
299
+ class StreamJournalToKinesisRequest
300
+ attr_accessor ledger_name: ::String
301
+ attr_accessor role_arn: ::String
302
+ attr_accessor tags: ::Hash[::String, ::String]
303
+ attr_accessor inclusive_start_time: ::Time
304
+ attr_accessor exclusive_end_time: ::Time
305
+ attr_accessor kinesis_configuration: Types::KinesisConfiguration
306
+ attr_accessor stream_name: ::String
307
+ SENSITIVE: []
308
+ end
309
+
310
+ class StreamJournalToKinesisResponse
311
+ attr_accessor stream_id: ::String
312
+ SENSITIVE: []
313
+ end
314
+
315
+ class TagResourceRequest
316
+ attr_accessor resource_arn: ::String
317
+ attr_accessor tags: ::Hash[::String, ::String]
318
+ SENSITIVE: []
319
+ end
320
+
321
+ class TagResourceResponse < Aws::EmptyStructure
322
+ end
323
+
324
+ class UntagResourceRequest
325
+ attr_accessor resource_arn: ::String
326
+ attr_accessor tag_keys: ::Array[::String]
327
+ SENSITIVE: []
328
+ end
329
+
330
+ class UntagResourceResponse < Aws::EmptyStructure
331
+ end
332
+
333
+ class UpdateLedgerPermissionsModeRequest
334
+ attr_accessor name: ::String
335
+ attr_accessor permissions_mode: ("ALLOW_ALL" | "STANDARD")
336
+ SENSITIVE: []
337
+ end
338
+
339
+ class UpdateLedgerPermissionsModeResponse
340
+ attr_accessor name: ::String
341
+ attr_accessor arn: ::String
342
+ attr_accessor permissions_mode: ("ALLOW_ALL" | "STANDARD")
343
+ SENSITIVE: []
344
+ end
345
+
346
+ class UpdateLedgerRequest
347
+ attr_accessor name: ::String
348
+ attr_accessor deletion_protection: bool
349
+ attr_accessor kms_key: ::String
350
+ SENSITIVE: []
351
+ end
352
+
353
+ class UpdateLedgerResponse
354
+ attr_accessor name: ::String
355
+ attr_accessor arn: ::String
356
+ attr_accessor state: ("CREATING" | "ACTIVE" | "DELETING" | "DELETED")
357
+ attr_accessor creation_date_time: ::Time
358
+ attr_accessor deletion_protection: bool
359
+ attr_accessor encryption_description: Types::LedgerEncryptionDescription
360
+ SENSITIVE: []
361
+ end
362
+
363
+ class ValueHolder
364
+ attr_accessor ion_text: ::String
365
+ SENSITIVE: [:ion_text]
366
+ end
367
+ end
368
+ 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 QLDB
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-qldb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.36.0
4
+ version: 1.37.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-28 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-qldb/plugins/endpoints.rb
67
67
  - lib/aws-sdk-qldb/resource.rb
68
68
  - lib/aws-sdk-qldb/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-qldb
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-qldb/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 - QLDB
94
99
  test_files: []