aws-sdk-qldb 1.26.0 → 1.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-qldb/client.rb +1 -1
- data/lib/aws-sdk-qldb/endpoint_provider.rb +35 -95
- data/lib/aws-sdk-qldb/types.rb +0 -233
- data/lib/aws-sdk-qldb.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 806e1753ba4f85a010986de1bb7d00737a41c02880e11e35c58bb1511f289361
|
4
|
+
data.tar.gz: 3442d0122819543b94325ce83d6c12314cc31d8c756491709f643621ec42265c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1811a6020f8caabac6af743d2b46bb821803f88111550382a1da343521b00710398a6b7e007225048450b4b67f31ab1dd33df2f3dcc216251072722d9b31ec71
|
7
|
+
data.tar.gz: dda6421fb94aac48eaf06906563d5781f4322ed9202e9c023d1a7981ba872032600fbc5bbd1240a4d3d61d1b8335a240e4847697815eb175364a3c8109770549
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.27.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
4
11
|
1.26.0 (2022-10-25)
|
5
12
|
------------------
|
6
13
|
|
@@ -140,4 +147,4 @@ Unreleased Changes
|
|
140
147
|
1.0.0 (2019-09-09)
|
141
148
|
------------------
|
142
149
|
|
143
|
-
* Feature - Initial release of `aws-sdk-qldb`.
|
150
|
+
* Feature - Initial release of `aws-sdk-qldb`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.27.0
|
data/lib/aws-sdk-qldb/client.rb
CHANGED
@@ -9,103 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::QLDB
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://qldb-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://qldb-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://qldb.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://qldb.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dW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m4iOiJnZXRBdHRyIiwiYXJn
|
97
|
-
diI6W3sicmVmIjoiUGFydGl0aW9uUmVzdWx0In0sInN1cHBvcnRzRHVhbFN0
|
98
|
-
YWNrIl19XX1dLCJ0eXBlIjoidHJlZSIsInJ1bGVzIjpbeyJjb25kaXRpb25z
|
99
|
-
IjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9xbGRiLntSZWdpb259
|
100
|
-
LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3Bl
|
101
|
-
cnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0s
|
102
|
-
eyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxl
|
103
|
-
ZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3Rh
|
104
|
-
Y2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBv
|
105
|
-
aW50Ijp7InVybCI6Imh0dHBzOi8vcWxkYi57UmVnaW9ufS57UGFydGl0aW9u
|
106
|
-
UmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6
|
107
|
-
e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
|
108
|
-
|
109
|
-
JSON
|
110
50
|
end
|
111
51
|
end
|
data/lib/aws-sdk-qldb/types.rb
CHANGED
@@ -10,14 +10,6 @@
|
|
10
10
|
module Aws::QLDB
|
11
11
|
module Types
|
12
12
|
|
13
|
-
# @note When making an API call, you may pass CancelJournalKinesisStreamRequest
|
14
|
-
# data as a hash:
|
15
|
-
#
|
16
|
-
# {
|
17
|
-
# ledger_name: "LedgerName", # required
|
18
|
-
# stream_id: "UniqueId", # required
|
19
|
-
# }
|
20
|
-
#
|
21
13
|
# @!attribute [rw] ledger_name
|
22
14
|
# The name of the ledger.
|
23
15
|
# @return [String]
|
@@ -48,19 +40,6 @@ module Aws::QLDB
|
|
48
40
|
include Aws::Structure
|
49
41
|
end
|
50
42
|
|
51
|
-
# @note When making an API call, you may pass CreateLedgerRequest
|
52
|
-
# data as a hash:
|
53
|
-
#
|
54
|
-
# {
|
55
|
-
# name: "LedgerName", # required
|
56
|
-
# tags: {
|
57
|
-
# "TagKey" => "TagValue",
|
58
|
-
# },
|
59
|
-
# permissions_mode: "ALLOW_ALL", # required, accepts ALLOW_ALL, STANDARD
|
60
|
-
# deletion_protection: false,
|
61
|
-
# kms_key: "KmsKey",
|
62
|
-
# }
|
63
|
-
#
|
64
43
|
# @!attribute [rw] name
|
65
44
|
# The name of the ledger that you want to create. The name must be
|
66
45
|
# unique among all of the ledgers in your Amazon Web Services account
|
@@ -236,13 +215,6 @@ module Aws::QLDB
|
|
236
215
|
include Aws::Structure
|
237
216
|
end
|
238
217
|
|
239
|
-
# @note When making an API call, you may pass DeleteLedgerRequest
|
240
|
-
# data as a hash:
|
241
|
-
#
|
242
|
-
# {
|
243
|
-
# name: "LedgerName", # required
|
244
|
-
# }
|
245
|
-
#
|
246
218
|
# @!attribute [rw] name
|
247
219
|
# The name of the ledger that you want to delete.
|
248
220
|
# @return [String]
|
@@ -255,14 +227,6 @@ module Aws::QLDB
|
|
255
227
|
include Aws::Structure
|
256
228
|
end
|
257
229
|
|
258
|
-
# @note When making an API call, you may pass DescribeJournalKinesisStreamRequest
|
259
|
-
# data as a hash:
|
260
|
-
#
|
261
|
-
# {
|
262
|
-
# ledger_name: "LedgerName", # required
|
263
|
-
# stream_id: "UniqueId", # required
|
264
|
-
# }
|
265
|
-
#
|
266
230
|
# @!attribute [rw] ledger_name
|
267
231
|
# The name of the ledger.
|
268
232
|
# @return [String]
|
@@ -294,14 +258,6 @@ module Aws::QLDB
|
|
294
258
|
include Aws::Structure
|
295
259
|
end
|
296
260
|
|
297
|
-
# @note When making an API call, you may pass DescribeJournalS3ExportRequest
|
298
|
-
# data as a hash:
|
299
|
-
#
|
300
|
-
# {
|
301
|
-
# name: "LedgerName", # required
|
302
|
-
# export_id: "UniqueId", # required
|
303
|
-
# }
|
304
|
-
#
|
305
261
|
# @!attribute [rw] name
|
306
262
|
# The name of the ledger.
|
307
263
|
# @return [String]
|
@@ -333,13 +289,6 @@ module Aws::QLDB
|
|
333
289
|
include Aws::Structure
|
334
290
|
end
|
335
291
|
|
336
|
-
# @note When making an API call, you may pass DescribeLedgerRequest
|
337
|
-
# data as a hash:
|
338
|
-
#
|
339
|
-
# {
|
340
|
-
# name: "LedgerName", # required
|
341
|
-
# }
|
342
|
-
#
|
343
292
|
# @!attribute [rw] name
|
344
293
|
# The name of the ledger that you want to describe.
|
345
294
|
# @return [String]
|
@@ -404,25 +353,6 @@ module Aws::QLDB
|
|
404
353
|
include Aws::Structure
|
405
354
|
end
|
406
355
|
|
407
|
-
# @note When making an API call, you may pass ExportJournalToS3Request
|
408
|
-
# data as a hash:
|
409
|
-
#
|
410
|
-
# {
|
411
|
-
# name: "LedgerName", # required
|
412
|
-
# inclusive_start_time: Time.now, # required
|
413
|
-
# exclusive_end_time: Time.now, # required
|
414
|
-
# s3_export_configuration: { # required
|
415
|
-
# bucket: "S3Bucket", # required
|
416
|
-
# prefix: "S3Prefix", # required
|
417
|
-
# encryption_configuration: { # required
|
418
|
-
# object_encryption_type: "SSE_KMS", # required, accepts SSE_KMS, SSE_S3, NO_ENCRYPTION
|
419
|
-
# kms_key_arn: "Arn",
|
420
|
-
# },
|
421
|
-
# },
|
422
|
-
# role_arn: "Arn", # required
|
423
|
-
# output_format: "ION_BINARY", # accepts ION_BINARY, ION_TEXT, JSON
|
424
|
-
# }
|
425
|
-
#
|
426
356
|
# @!attribute [rw] name
|
427
357
|
# The name of the ledger.
|
428
358
|
# @return [String]
|
@@ -508,19 +438,6 @@ module Aws::QLDB
|
|
508
438
|
include Aws::Structure
|
509
439
|
end
|
510
440
|
|
511
|
-
# @note When making an API call, you may pass GetBlockRequest
|
512
|
-
# data as a hash:
|
513
|
-
#
|
514
|
-
# {
|
515
|
-
# name: "LedgerName", # required
|
516
|
-
# block_address: { # required
|
517
|
-
# ion_text: "IonText",
|
518
|
-
# },
|
519
|
-
# digest_tip_address: {
|
520
|
-
# ion_text: "IonText",
|
521
|
-
# },
|
522
|
-
# }
|
523
|
-
#
|
524
441
|
# @!attribute [rw] name
|
525
442
|
# The name of the ledger.
|
526
443
|
# @return [String]
|
@@ -571,13 +488,6 @@ module Aws::QLDB
|
|
571
488
|
include Aws::Structure
|
572
489
|
end
|
573
490
|
|
574
|
-
# @note When making an API call, you may pass GetDigestRequest
|
575
|
-
# data as a hash:
|
576
|
-
#
|
577
|
-
# {
|
578
|
-
# name: "LedgerName", # required
|
579
|
-
# }
|
580
|
-
#
|
581
491
|
# @!attribute [rw] name
|
582
492
|
# The name of the ledger.
|
583
493
|
# @return [String]
|
@@ -610,20 +520,6 @@ module Aws::QLDB
|
|
610
520
|
include Aws::Structure
|
611
521
|
end
|
612
522
|
|
613
|
-
# @note When making an API call, you may pass GetRevisionRequest
|
614
|
-
# data as a hash:
|
615
|
-
#
|
616
|
-
# {
|
617
|
-
# name: "LedgerName", # required
|
618
|
-
# block_address: { # required
|
619
|
-
# ion_text: "IonText",
|
620
|
-
# },
|
621
|
-
# document_id: "UniqueId", # required
|
622
|
-
# digest_tip_address: {
|
623
|
-
# ion_text: "IonText",
|
624
|
-
# },
|
625
|
-
# }
|
626
|
-
#
|
627
523
|
# @!attribute [rw] name
|
628
524
|
# The name of the ledger.
|
629
525
|
# @return [String]
|
@@ -847,14 +743,6 @@ module Aws::QLDB
|
|
847
743
|
# The configuration settings of the Amazon Kinesis Data Streams
|
848
744
|
# destination for an Amazon QLDB journal stream.
|
849
745
|
#
|
850
|
-
# @note When making an API call, you may pass KinesisConfiguration
|
851
|
-
# data as a hash:
|
852
|
-
#
|
853
|
-
# {
|
854
|
-
# stream_arn: "Arn", # required
|
855
|
-
# aggregation_enabled: false,
|
856
|
-
# }
|
857
|
-
#
|
858
746
|
# @!attribute [rw] stream_arn
|
859
747
|
# The Amazon Resource Name (ARN) of the Kinesis Data Streams resource.
|
860
748
|
# @return [String]
|
@@ -996,15 +884,6 @@ module Aws::QLDB
|
|
996
884
|
include Aws::Structure
|
997
885
|
end
|
998
886
|
|
999
|
-
# @note When making an API call, you may pass ListJournalKinesisStreamsForLedgerRequest
|
1000
|
-
# data as a hash:
|
1001
|
-
#
|
1002
|
-
# {
|
1003
|
-
# ledger_name: "LedgerName", # required
|
1004
|
-
# max_results: 1,
|
1005
|
-
# next_token: "NextToken",
|
1006
|
-
# }
|
1007
|
-
#
|
1008
887
|
# @!attribute [rw] ledger_name
|
1009
888
|
# The name of the ledger.
|
1010
889
|
# @return [String]
|
@@ -1055,15 +934,6 @@ module Aws::QLDB
|
|
1055
934
|
include Aws::Structure
|
1056
935
|
end
|
1057
936
|
|
1058
|
-
# @note When making an API call, you may pass ListJournalS3ExportsForLedgerRequest
|
1059
|
-
# data as a hash:
|
1060
|
-
#
|
1061
|
-
# {
|
1062
|
-
# name: "LedgerName", # required
|
1063
|
-
# max_results: 1,
|
1064
|
-
# next_token: "NextToken",
|
1065
|
-
# }
|
1066
|
-
#
|
1067
937
|
# @!attribute [rw] name
|
1068
938
|
# The name of the ledger.
|
1069
939
|
# @return [String]
|
@@ -1114,14 +984,6 @@ module Aws::QLDB
|
|
1114
984
|
include Aws::Structure
|
1115
985
|
end
|
1116
986
|
|
1117
|
-
# @note When making an API call, you may pass ListJournalS3ExportsRequest
|
1118
|
-
# data as a hash:
|
1119
|
-
#
|
1120
|
-
# {
|
1121
|
-
# max_results: 1,
|
1122
|
-
# next_token: "NextToken",
|
1123
|
-
# }
|
1124
|
-
#
|
1125
987
|
# @!attribute [rw] max_results
|
1126
988
|
# The maximum number of results to return in a single
|
1127
989
|
# `ListJournalS3Exports` request. (The actual number of results
|
@@ -1168,14 +1030,6 @@ module Aws::QLDB
|
|
1168
1030
|
include Aws::Structure
|
1169
1031
|
end
|
1170
1032
|
|
1171
|
-
# @note When making an API call, you may pass ListLedgersRequest
|
1172
|
-
# data as a hash:
|
1173
|
-
#
|
1174
|
-
# {
|
1175
|
-
# max_results: 1,
|
1176
|
-
# next_token: "NextToken",
|
1177
|
-
# }
|
1178
|
-
#
|
1179
1033
|
# @!attribute [rw] max_results
|
1180
1034
|
# The maximum number of results to return in a single `ListLedgers`
|
1181
1035
|
# request. (The actual number of results returned might be fewer.)
|
@@ -1223,13 +1077,6 @@ module Aws::QLDB
|
|
1223
1077
|
include Aws::Structure
|
1224
1078
|
end
|
1225
1079
|
|
1226
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1227
|
-
# data as a hash:
|
1228
|
-
#
|
1229
|
-
# {
|
1230
|
-
# resource_arn: "Arn", # required
|
1231
|
-
# }
|
1232
|
-
#
|
1233
1080
|
# @!attribute [rw] resource_arn
|
1234
1081
|
# The Amazon Resource Name (ARN) for which to list the tags. For
|
1235
1082
|
# example:
|
@@ -1353,14 +1200,6 @@ module Aws::QLDB
|
|
1353
1200
|
# The encryption settings that are used by a journal export job to write
|
1354
1201
|
# data in an Amazon Simple Storage Service (Amazon S3) bucket.
|
1355
1202
|
#
|
1356
|
-
# @note When making an API call, you may pass S3EncryptionConfiguration
|
1357
|
-
# data as a hash:
|
1358
|
-
#
|
1359
|
-
# {
|
1360
|
-
# object_encryption_type: "SSE_KMS", # required, accepts SSE_KMS, SSE_S3, NO_ENCRYPTION
|
1361
|
-
# kms_key_arn: "Arn",
|
1362
|
-
# }
|
1363
|
-
#
|
1364
1203
|
# @!attribute [rw] object_encryption_type
|
1365
1204
|
# The Amazon S3 object encryption type.
|
1366
1205
|
#
|
@@ -1396,18 +1235,6 @@ module Aws::QLDB
|
|
1396
1235
|
# The Amazon Simple Storage Service (Amazon S3) bucket location in which
|
1397
1236
|
# a journal export job writes the journal contents.
|
1398
1237
|
#
|
1399
|
-
# @note When making an API call, you may pass S3ExportConfiguration
|
1400
|
-
# data as a hash:
|
1401
|
-
#
|
1402
|
-
# {
|
1403
|
-
# bucket: "S3Bucket", # required
|
1404
|
-
# prefix: "S3Prefix", # required
|
1405
|
-
# encryption_configuration: { # required
|
1406
|
-
# object_encryption_type: "SSE_KMS", # required, accepts SSE_KMS, SSE_S3, NO_ENCRYPTION
|
1407
|
-
# kms_key_arn: "Arn",
|
1408
|
-
# },
|
1409
|
-
# }
|
1410
|
-
#
|
1411
1238
|
# @!attribute [rw] bucket
|
1412
1239
|
# The Amazon S3 bucket name in which a journal export job writes the
|
1413
1240
|
# journal contents.
|
@@ -1457,24 +1284,6 @@ module Aws::QLDB
|
|
1457
1284
|
include Aws::Structure
|
1458
1285
|
end
|
1459
1286
|
|
1460
|
-
# @note When making an API call, you may pass StreamJournalToKinesisRequest
|
1461
|
-
# data as a hash:
|
1462
|
-
#
|
1463
|
-
# {
|
1464
|
-
# ledger_name: "LedgerName", # required
|
1465
|
-
# role_arn: "Arn", # required
|
1466
|
-
# tags: {
|
1467
|
-
# "TagKey" => "TagValue",
|
1468
|
-
# },
|
1469
|
-
# inclusive_start_time: Time.now, # required
|
1470
|
-
# exclusive_end_time: Time.now,
|
1471
|
-
# kinesis_configuration: { # required
|
1472
|
-
# stream_arn: "Arn", # required
|
1473
|
-
# aggregation_enabled: false,
|
1474
|
-
# },
|
1475
|
-
# stream_name: "StreamName", # required
|
1476
|
-
# }
|
1477
|
-
#
|
1478
1287
|
# @!attribute [rw] ledger_name
|
1479
1288
|
# The name of the ledger.
|
1480
1289
|
# @return [String]
|
@@ -1566,16 +1375,6 @@ module Aws::QLDB
|
|
1566
1375
|
include Aws::Structure
|
1567
1376
|
end
|
1568
1377
|
|
1569
|
-
# @note When making an API call, you may pass TagResourceRequest
|
1570
|
-
# data as a hash:
|
1571
|
-
#
|
1572
|
-
# {
|
1573
|
-
# resource_arn: "Arn", # required
|
1574
|
-
# tags: { # required
|
1575
|
-
# "TagKey" => "TagValue",
|
1576
|
-
# },
|
1577
|
-
# }
|
1578
|
-
#
|
1579
1378
|
# @!attribute [rw] resource_arn
|
1580
1379
|
# The Amazon Resource Name (ARN) to which you want to add the tags.
|
1581
1380
|
# For example:
|
@@ -1603,14 +1402,6 @@ module Aws::QLDB
|
|
1603
1402
|
#
|
1604
1403
|
class TagResourceResponse < Aws::EmptyStructure; end
|
1605
1404
|
|
1606
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
1607
|
-
# data as a hash:
|
1608
|
-
#
|
1609
|
-
# {
|
1610
|
-
# resource_arn: "Arn", # required
|
1611
|
-
# tag_keys: ["TagKey"], # required
|
1612
|
-
# }
|
1613
|
-
#
|
1614
1405
|
# @!attribute [rw] resource_arn
|
1615
1406
|
# The Amazon Resource Name (ARN) from which to remove the tags. For
|
1616
1407
|
# example:
|
@@ -1635,14 +1426,6 @@ module Aws::QLDB
|
|
1635
1426
|
#
|
1636
1427
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
1637
1428
|
|
1638
|
-
# @note When making an API call, you may pass UpdateLedgerPermissionsModeRequest
|
1639
|
-
# data as a hash:
|
1640
|
-
#
|
1641
|
-
# {
|
1642
|
-
# name: "LedgerName", # required
|
1643
|
-
# permissions_mode: "ALLOW_ALL", # required, accepts ALLOW_ALL, STANDARD
|
1644
|
-
# }
|
1645
|
-
#
|
1646
1429
|
# @!attribute [rw] name
|
1647
1430
|
# The name of the ledger.
|
1648
1431
|
# @return [String]
|
@@ -1713,15 +1496,6 @@ module Aws::QLDB
|
|
1713
1496
|
include Aws::Structure
|
1714
1497
|
end
|
1715
1498
|
|
1716
|
-
# @note When making an API call, you may pass UpdateLedgerRequest
|
1717
|
-
# data as a hash:
|
1718
|
-
#
|
1719
|
-
# {
|
1720
|
-
# name: "LedgerName", # required
|
1721
|
-
# deletion_protection: false,
|
1722
|
-
# kms_key: "KmsKey",
|
1723
|
-
# }
|
1724
|
-
#
|
1725
1499
|
# @!attribute [rw] name
|
1726
1500
|
# The name of the ledger.
|
1727
1501
|
# @return [String]
|
@@ -1841,13 +1615,6 @@ module Aws::QLDB
|
|
1841
1615
|
|
1842
1616
|
# A structure that can contain a value in multiple encoding formats.
|
1843
1617
|
#
|
1844
|
-
# @note When making an API call, you may pass ValueHolder
|
1845
|
-
# data as a hash:
|
1846
|
-
#
|
1847
|
-
# {
|
1848
|
-
# ion_text: "IonText",
|
1849
|
-
# }
|
1850
|
-
#
|
1851
1618
|
# @!attribute [rw] ion_text
|
1852
1619
|
# An Amazon Ion plaintext value contained in a `ValueHolder`
|
1853
1620
|
# structure.
|
data/lib/aws-sdk-qldb.rb
CHANGED
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.
|
4
|
+
version: 1.27.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|