aws-sdk-qldb 1.27.0 → 1.29.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-qldb/client.rb +55 -51
- data/lib/aws-sdk-qldb/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-qldb/types.rb +78 -61
- data/lib/aws-sdk-qldb.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b1ed387ffa82b1389657b717df14d2cdeba7fd53533830cd11d40a09cbf119a
|
4
|
+
data.tar.gz: 04ede971bfeab60a68464197df1d78117dac8c24a63351da548b7cc90345f335
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab92cbd70dc99c97f5cd00fa4ea9cdd7bda32ee15c90db5a4e793499f6b3d07b1444030859cb0fb12482e7e6528bcf74c1efecc53c997c2d45e461071b329861
|
7
|
+
data.tar.gz: f5b43e6bd0cae1b985c7fd471892245ed73854d4a147a0773bbfe1bc4f52dc25eb9d077dbe57bbdb6e8bcdcfd14370140e7c3643d89b9cbb7737c145451ac1f4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.29.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.28.0 (2023-04-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for Amazon QLDB
|
13
|
+
|
4
14
|
1.27.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.29.0
|
data/lib/aws-sdk-qldb/client.rb
CHANGED
@@ -275,6 +275,11 @@ module Aws::QLDB
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -430,7 +435,7 @@ module Aws::QLDB
|
|
430
435
|
# The permissions mode to assign to the ledger that you want to create.
|
431
436
|
# This parameter can have one of the following values:
|
432
437
|
#
|
433
|
-
# * `ALLOW_ALL
|
438
|
+
# * `ALLOW_ALL`: A legacy permissions mode that enables access control
|
434
439
|
# with API-level granularity for ledgers.
|
435
440
|
#
|
436
441
|
# This mode allows users who have the `SendCommand` API permission for
|
@@ -439,7 +444,7 @@ module Aws::QLDB
|
|
439
444
|
# or command-level IAM permissions policies that you create for the
|
440
445
|
# ledger.
|
441
446
|
#
|
442
|
-
# * `STANDARD
|
447
|
+
# * `STANDARD`: (*Recommended*) A permissions mode that enables access
|
443
448
|
# control with finer granularity for ledgers, tables, and PartiQL
|
444
449
|
# commands.
|
445
450
|
#
|
@@ -461,13 +466,13 @@ module Aws::QLDB
|
|
461
466
|
# [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/getting-started-standard-mode.html
|
462
467
|
#
|
463
468
|
# @option params [Boolean] :deletion_protection
|
464
|
-
#
|
465
|
-
#
|
466
|
-
# default.
|
469
|
+
# Specifies whether the ledger is protected from being deleted by any
|
470
|
+
# user. If not defined during ledger creation, this feature is enabled
|
471
|
+
# (`true`) by default.
|
467
472
|
#
|
468
473
|
# If deletion protection is enabled, you must first disable it before
|
469
474
|
# you can delete the ledger. You can disable it by calling the
|
470
|
-
# `UpdateLedger` operation to set
|
475
|
+
# `UpdateLedger` operation to set this parameter to `false`.
|
471
476
|
#
|
472
477
|
# @option params [String] :kms_key
|
473
478
|
# The key in Key Management Service (KMS) to use for encryption of data
|
@@ -476,14 +481,14 @@ module Aws::QLDB
|
|
476
481
|
#
|
477
482
|
# Use one of the following options to specify this parameter:
|
478
483
|
#
|
479
|
-
# * `AWS_OWNED_KMS_KEY
|
484
|
+
# * `AWS_OWNED_KMS_KEY`: Use an KMS key that is owned and managed by
|
480
485
|
# Amazon Web Services on your behalf.
|
481
486
|
#
|
482
|
-
# * **Undefined
|
483
|
-
# key.
|
487
|
+
# * **Undefined**: By default, use an Amazon Web Services owned KMS key.
|
484
488
|
#
|
485
|
-
# * **A valid symmetric customer managed KMS key
|
486
|
-
# KMS key in your account that you create, own,
|
489
|
+
# * **A valid symmetric customer managed KMS key**: Use the specified
|
490
|
+
# symmetric encryption KMS key in your account that you create, own,
|
491
|
+
# and manage.
|
487
492
|
#
|
488
493
|
# Amazon QLDB does not support asymmetric keys. For more information,
|
489
494
|
# see [Using symmetric and asymmetric keys][2] in the *Key Management
|
@@ -559,7 +564,7 @@ module Aws::QLDB
|
|
559
564
|
#
|
560
565
|
# If deletion protection is enabled, you must first disable it before
|
561
566
|
# you can delete the ledger. You can disable it by calling the
|
562
|
-
# `UpdateLedger` operation to set
|
567
|
+
# `UpdateLedger` operation to set this parameter to `false`.
|
563
568
|
#
|
564
569
|
# @option params [required, String] :name
|
565
570
|
# The name of the ledger that you want to delete.
|
@@ -745,13 +750,6 @@ module Aws::QLDB
|
|
745
750
|
# binary representation of Amazon Ion format, or in *JSON Lines* text
|
746
751
|
# format.
|
747
752
|
#
|
748
|
-
# In JSON Lines format, each journal block in the exported data object
|
749
|
-
# is a valid JSON object that is delimited by a newline. You can use
|
750
|
-
# this format to easily integrate JSON exports with analytics tools such
|
751
|
-
# as Glue and Amazon Athena because these services can parse
|
752
|
-
# newline-delimited JSON automatically. For more information about the
|
753
|
-
# format, see [JSON Lines][1].
|
754
|
-
#
|
755
753
|
# If the ledger with the given `Name` doesn't exist, then throws
|
756
754
|
# `ResourceNotFoundException`.
|
757
755
|
#
|
@@ -762,10 +760,6 @@ module Aws::QLDB
|
|
762
760
|
# ledger. Beyond this limit, journal export requests throw
|
763
761
|
# `LimitExceededException`.
|
764
762
|
#
|
765
|
-
#
|
766
|
-
#
|
767
|
-
# [1]: https://jsonlines.org/
|
768
|
-
#
|
769
763
|
# @option params [required, String] :name
|
770
764
|
# The name of the ledger.
|
771
765
|
#
|
@@ -802,8 +796,7 @@ module Aws::QLDB
|
|
802
796
|
# The Amazon Resource Name (ARN) of the IAM role that grants QLDB
|
803
797
|
# permissions for a journal export job to do the following:
|
804
798
|
#
|
805
|
-
# * Write objects into your Amazon
|
806
|
-
# bucket.
|
799
|
+
# * Write objects into your Amazon S3 bucket.
|
807
800
|
#
|
808
801
|
# * (Optional) Use your customer managed key in Key Management Service
|
809
802
|
# (KMS) for server-side encryption of your exported data.
|
@@ -813,8 +806,22 @@ module Aws::QLDB
|
|
813
806
|
# resource. This is required for all journal export requests.
|
814
807
|
#
|
815
808
|
# @option params [String] :output_format
|
816
|
-
# The output format of your exported journal data.
|
817
|
-
#
|
809
|
+
# The output format of your exported journal data. A journal export job
|
810
|
+
# can write the data objects in either the text or binary representation
|
811
|
+
# of [Amazon Ion][1] format, or in [JSON Lines][2] text format.
|
812
|
+
#
|
813
|
+
# Default: `ION_TEXT`
|
814
|
+
#
|
815
|
+
# In JSON Lines format, each journal block in an exported data object is
|
816
|
+
# a valid JSON object that is delimited by a newline. You can use this
|
817
|
+
# format to directly integrate JSON exports with analytics tools such as
|
818
|
+
# Amazon Athena and Glue because these services can parse
|
819
|
+
# newline-delimited JSON automatically.
|
820
|
+
#
|
821
|
+
#
|
822
|
+
#
|
823
|
+
# [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/ion.html
|
824
|
+
# [2]: https://jsonlines.org/
|
818
825
|
#
|
819
826
|
# @return [Types::ExportJournalToS3Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
820
827
|
#
|
@@ -1007,9 +1014,7 @@ module Aws::QLDB
|
|
1007
1014
|
req.send_request(options)
|
1008
1015
|
end
|
1009
1016
|
|
1010
|
-
# Returns
|
1011
|
-
# given ledger. The output of each stream descriptor includes the same
|
1012
|
-
# details that are returned by `DescribeJournalKinesisStream`.
|
1017
|
+
# Returns all Amazon QLDB journal streams for a given ledger.
|
1013
1018
|
#
|
1014
1019
|
# This action does not return any expired journal streams. For more
|
1015
1020
|
# information, see [Expiration for terminal streams][1] in the *Amazon
|
@@ -1078,9 +1083,8 @@ module Aws::QLDB
|
|
1078
1083
|
req.send_request(options)
|
1079
1084
|
end
|
1080
1085
|
|
1081
|
-
# Returns
|
1082
|
-
#
|
1083
|
-
# Region.
|
1086
|
+
# Returns all journal export jobs for all ledgers that are associated
|
1087
|
+
# with the current Amazon Web Services account and Region.
|
1084
1088
|
#
|
1085
1089
|
# This action returns a maximum of `MaxResults` items, and is paginated
|
1086
1090
|
# so that you can retrieve all the items by calling
|
@@ -1145,8 +1149,7 @@ module Aws::QLDB
|
|
1145
1149
|
req.send_request(options)
|
1146
1150
|
end
|
1147
1151
|
|
1148
|
-
# Returns
|
1149
|
-
# ledger.
|
1152
|
+
# Returns all journal export jobs for a specified ledger.
|
1150
1153
|
#
|
1151
1154
|
# This action returns a maximum of `MaxResults` items, and is paginated
|
1152
1155
|
# so that you can retrieve all the items by calling
|
@@ -1215,12 +1218,12 @@ module Aws::QLDB
|
|
1215
1218
|
req.send_request(options)
|
1216
1219
|
end
|
1217
1220
|
|
1218
|
-
# Returns
|
1219
|
-
#
|
1221
|
+
# Returns all ledgers that are associated with the current Amazon Web
|
1222
|
+
# Services account and Region.
|
1220
1223
|
#
|
1221
|
-
# This action returns a maximum of
|
1222
|
-
# you can retrieve all the items by calling `ListLedgers`
|
1223
|
-
# times.
|
1224
|
+
# This action returns a maximum of `MaxResults` items and is paginated
|
1225
|
+
# so that you can retrieve all the items by calling `ListLedgers`
|
1226
|
+
# multiple times.
|
1224
1227
|
#
|
1225
1228
|
# @option params [Integer] :max_results
|
1226
1229
|
# The maximum number of results to return in a single `ListLedgers`
|
@@ -1464,13 +1467,13 @@ module Aws::QLDB
|
|
1464
1467
|
# The name of the ledger.
|
1465
1468
|
#
|
1466
1469
|
# @option params [Boolean] :deletion_protection
|
1467
|
-
#
|
1468
|
-
#
|
1469
|
-
# default.
|
1470
|
+
# Specifies whether the ledger is protected from being deleted by any
|
1471
|
+
# user. If not defined during ledger creation, this feature is enabled
|
1472
|
+
# (`true`) by default.
|
1470
1473
|
#
|
1471
1474
|
# If deletion protection is enabled, you must first disable it before
|
1472
1475
|
# you can delete the ledger. You can disable it by calling the
|
1473
|
-
# `UpdateLedger` operation to set
|
1476
|
+
# `UpdateLedger` operation to set this parameter to `false`.
|
1474
1477
|
#
|
1475
1478
|
# @option params [String] :kms_key
|
1476
1479
|
# The key in Key Management Service (KMS) to use for encryption of data
|
@@ -1479,13 +1482,14 @@ module Aws::QLDB
|
|
1479
1482
|
#
|
1480
1483
|
# Use one of the following options to specify this parameter:
|
1481
1484
|
#
|
1482
|
-
# * `AWS_OWNED_KMS_KEY
|
1485
|
+
# * `AWS_OWNED_KMS_KEY`: Use an KMS key that is owned and managed by
|
1483
1486
|
# Amazon Web Services on your behalf.
|
1484
1487
|
#
|
1485
|
-
# * **Undefined
|
1488
|
+
# * **Undefined**: Make no changes to the KMS key of the ledger.
|
1486
1489
|
#
|
1487
|
-
# * **A valid symmetric customer managed KMS key
|
1488
|
-
# KMS key in your account that you create, own,
|
1490
|
+
# * **A valid symmetric customer managed KMS key**: Use the specified
|
1491
|
+
# symmetric encryption KMS key in your account that you create, own,
|
1492
|
+
# and manage.
|
1489
1493
|
#
|
1490
1494
|
# Amazon QLDB does not support asymmetric keys. For more information,
|
1491
1495
|
# see [Using symmetric and asymmetric keys][2] in the *Key Management
|
@@ -1571,7 +1575,7 @@ module Aws::QLDB
|
|
1571
1575
|
# The permissions mode to assign to the ledger. This parameter can have
|
1572
1576
|
# one of the following values:
|
1573
1577
|
#
|
1574
|
-
# * `ALLOW_ALL
|
1578
|
+
# * `ALLOW_ALL`: A legacy permissions mode that enables access control
|
1575
1579
|
# with API-level granularity for ledgers.
|
1576
1580
|
#
|
1577
1581
|
# This mode allows users who have the `SendCommand` API permission for
|
@@ -1580,7 +1584,7 @@ module Aws::QLDB
|
|
1580
1584
|
# or command-level IAM permissions policies that you create for the
|
1581
1585
|
# ledger.
|
1582
1586
|
#
|
1583
|
-
# * `STANDARD
|
1587
|
+
# * `STANDARD`: (*Recommended*) A permissions mode that enables access
|
1584
1588
|
# control with finer granularity for ledgers, tables, and PartiQL
|
1585
1589
|
# commands.
|
1586
1590
|
#
|
@@ -1642,7 +1646,7 @@ module Aws::QLDB
|
|
1642
1646
|
params: params,
|
1643
1647
|
config: config)
|
1644
1648
|
context[:gem_name] = 'aws-sdk-qldb'
|
1645
|
-
context[:gem_version] = '1.
|
1649
|
+
context[:gem_version] = '1.29.0'
|
1646
1650
|
Seahorse::Client::Request.new(handlers, context)
|
1647
1651
|
end
|
1648
1652
|
|
@@ -14,36 +14,39 @@ module Aws::QLDB
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
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
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
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"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
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"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://qldb-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://qldb-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://qldb.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://qldb.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://qldb.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
data/lib/aws-sdk-qldb/types.rb
CHANGED
@@ -63,8 +63,8 @@ module Aws::QLDB
|
|
63
63
|
# The permissions mode to assign to the ledger that you want to
|
64
64
|
# create. This parameter can have one of the following values:
|
65
65
|
#
|
66
|
-
# * `ALLOW_ALL
|
67
|
-
#
|
66
|
+
# * `ALLOW_ALL`: A legacy permissions mode that enables access control
|
67
|
+
# with API-level granularity for ledgers.
|
68
68
|
#
|
69
69
|
# This mode allows users who have the `SendCommand` API permission
|
70
70
|
# for this ledger to run all PartiQL commands (hence, `ALLOW_ALL`)
|
@@ -72,9 +72,9 @@ module Aws::QLDB
|
|
72
72
|
# table-level or command-level IAM permissions policies that you
|
73
73
|
# create for the ledger.
|
74
74
|
#
|
75
|
-
# * `STANDARD
|
76
|
-
#
|
77
|
-
#
|
75
|
+
# * `STANDARD`: (*Recommended*) A permissions mode that enables access
|
76
|
+
# control with finer granularity for ledgers, tables, and PartiQL
|
77
|
+
# commands.
|
78
78
|
#
|
79
79
|
# By default, this mode denies all user requests to run any PartiQL
|
80
80
|
# commands on any tables in this ledger. To allow PartiQL commands
|
@@ -95,13 +95,13 @@ module Aws::QLDB
|
|
95
95
|
# @return [String]
|
96
96
|
#
|
97
97
|
# @!attribute [rw] deletion_protection
|
98
|
-
#
|
99
|
-
# not
|
100
|
-
# default.
|
98
|
+
# Specifies whether the ledger is protected from being deleted by any
|
99
|
+
# user. If not defined during ledger creation, this feature is enabled
|
100
|
+
# (`true`) by default.
|
101
101
|
#
|
102
102
|
# If deletion protection is enabled, you must first disable it before
|
103
103
|
# you can delete the ledger. You can disable it by calling the
|
104
|
-
# `UpdateLedger` operation to set
|
104
|
+
# `UpdateLedger` operation to set this parameter to `false`.
|
105
105
|
# @return [Boolean]
|
106
106
|
#
|
107
107
|
# @!attribute [rw] kms_key
|
@@ -111,14 +111,15 @@ module Aws::QLDB
|
|
111
111
|
#
|
112
112
|
# Use one of the following options to specify this parameter:
|
113
113
|
#
|
114
|
-
# * `AWS_OWNED_KMS_KEY
|
114
|
+
# * `AWS_OWNED_KMS_KEY`: Use an KMS key that is owned and managed by
|
115
115
|
# Amazon Web Services on your behalf.
|
116
116
|
#
|
117
|
-
# * **Undefined
|
117
|
+
# * **Undefined**: By default, use an Amazon Web Services owned KMS
|
118
118
|
# key.
|
119
119
|
#
|
120
|
-
# * **A valid symmetric customer managed KMS key
|
121
|
-
# KMS key in your account that you create, own,
|
120
|
+
# * **A valid symmetric customer managed KMS key**: Use the specified
|
121
|
+
# symmetric encryption KMS key in your account that you create, own,
|
122
|
+
# and manage.
|
122
123
|
#
|
123
124
|
# Amazon QLDB does not support asymmetric keys. For more
|
124
125
|
# information, see [Using symmetric and asymmetric keys][2] in the
|
@@ -186,13 +187,13 @@ module Aws::QLDB
|
|
186
187
|
# @return [String]
|
187
188
|
#
|
188
189
|
# @!attribute [rw] deletion_protection
|
189
|
-
#
|
190
|
-
# not
|
191
|
-
# default.
|
190
|
+
# Specifies whether the ledger is protected from being deleted by any
|
191
|
+
# user. If not defined during ledger creation, this feature is enabled
|
192
|
+
# (`true`) by default.
|
192
193
|
#
|
193
194
|
# If deletion protection is enabled, you must first disable it before
|
194
195
|
# you can delete the ledger. You can disable it by calling the
|
195
|
-
# `UpdateLedger` operation to set
|
196
|
+
# `UpdateLedger` operation to set this parameter to `false`.
|
196
197
|
# @return [Boolean]
|
197
198
|
#
|
198
199
|
# @!attribute [rw] kms_key_arn
|
@@ -324,13 +325,13 @@ module Aws::QLDB
|
|
324
325
|
# @return [String]
|
325
326
|
#
|
326
327
|
# @!attribute [rw] deletion_protection
|
327
|
-
#
|
328
|
-
# not
|
329
|
-
# default.
|
328
|
+
# Specifies whether the ledger is protected from being deleted by any
|
329
|
+
# user. If not defined during ledger creation, this feature is enabled
|
330
|
+
# (`true`) by default.
|
330
331
|
#
|
331
332
|
# If deletion protection is enabled, you must first disable it before
|
332
333
|
# you can delete the ledger. You can disable it by calling the
|
333
|
-
# `UpdateLedger` operation to set
|
334
|
+
# `UpdateLedger` operation to set this parameter to `false`.
|
334
335
|
# @return [Boolean]
|
335
336
|
#
|
336
337
|
# @!attribute [rw] encryption_description
|
@@ -393,8 +394,7 @@ module Aws::QLDB
|
|
393
394
|
# The Amazon Resource Name (ARN) of the IAM role that grants QLDB
|
394
395
|
# permissions for a journal export job to do the following:
|
395
396
|
#
|
396
|
-
# * Write objects into your Amazon
|
397
|
-
# bucket.
|
397
|
+
# * Write objects into your Amazon S3 bucket.
|
398
398
|
#
|
399
399
|
# * (Optional) Use your customer managed key in Key Management Service
|
400
400
|
# (KMS) for server-side encryption of your exported data.
|
@@ -405,8 +405,23 @@ module Aws::QLDB
|
|
405
405
|
# @return [String]
|
406
406
|
#
|
407
407
|
# @!attribute [rw] output_format
|
408
|
-
# The output format of your exported journal data.
|
409
|
-
#
|
408
|
+
# The output format of your exported journal data. A journal export
|
409
|
+
# job can write the data objects in either the text or binary
|
410
|
+
# representation of [Amazon Ion][1] format, or in [JSON Lines][2] text
|
411
|
+
# format.
|
412
|
+
#
|
413
|
+
# Default: `ION_TEXT`
|
414
|
+
#
|
415
|
+
# In JSON Lines format, each journal block in an exported data object
|
416
|
+
# is a valid JSON object that is delimited by a newline. You can use
|
417
|
+
# this format to directly integrate JSON exports with analytics tools
|
418
|
+
# such as Amazon Athena and Glue because these services can parse
|
419
|
+
# newline-delimited JSON automatically.
|
420
|
+
#
|
421
|
+
#
|
422
|
+
#
|
423
|
+
# [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/ion.html
|
424
|
+
# [2]: https://jsonlines.org/
|
410
425
|
# @return [String]
|
411
426
|
#
|
412
427
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/ExportJournalToS3Request AWS API Documentation
|
@@ -752,11 +767,12 @@ module Aws::QLDB
|
|
752
767
|
# Data Streams record, increasing the number of records sent per API
|
753
768
|
# call.
|
754
769
|
#
|
755
|
-
#
|
756
|
-
#
|
757
|
-
#
|
758
|
-
#
|
759
|
-
#
|
770
|
+
# Default: `True`
|
771
|
+
#
|
772
|
+
# Record aggregation has important implications for processing records
|
773
|
+
# and requires de-aggregation in your stream consumer. To learn more,
|
774
|
+
# see [KPL Key Concepts][1] and [Consumer De-aggregation][2] in the
|
775
|
+
# *Amazon Kinesis Data Streams Developer Guide*.
|
760
776
|
#
|
761
777
|
#
|
762
778
|
#
|
@@ -796,9 +812,9 @@ module Aws::QLDB
|
|
796
812
|
# The current state of encryption at rest for the ledger. This can be
|
797
813
|
# one of the following values:
|
798
814
|
#
|
799
|
-
# * `ENABLED
|
815
|
+
# * `ENABLED`: Encryption is fully enabled using the specified key.
|
800
816
|
#
|
801
|
-
# * `UPDATING
|
817
|
+
# * `UPDATING`: The ledger is actively processing the specified key
|
802
818
|
# change.
|
803
819
|
#
|
804
820
|
# Key changes in QLDB are asynchronous. The ledger is fully
|
@@ -806,7 +822,7 @@ module Aws::QLDB
|
|
806
822
|
# being processed. The amount of time it takes to update a key
|
807
823
|
# varies depending on the ledger size.
|
808
824
|
#
|
809
|
-
# * `KMS_KEY_INACCESSIBLE
|
825
|
+
# * `KMS_KEY_INACCESSIBLE`: The specified customer managed KMS key is
|
810
826
|
# not accessible, and the ledger is impaired. Either the key was
|
811
827
|
# disabled or deleted, or the grants on the key were revoked. When a
|
812
828
|
# ledger is impaired, it is not accessible and does not accept any
|
@@ -912,8 +928,8 @@ module Aws::QLDB
|
|
912
928
|
end
|
913
929
|
|
914
930
|
# @!attribute [rw] streams
|
915
|
-
# The
|
916
|
-
#
|
931
|
+
# The QLDB journal streams that are currently associated with the
|
932
|
+
# given ledger.
|
917
933
|
# @return [Array<Types::JournalKinesisStreamDescription>]
|
918
934
|
#
|
919
935
|
# @!attribute [rw] next_token
|
@@ -962,8 +978,8 @@ module Aws::QLDB
|
|
962
978
|
end
|
963
979
|
|
964
980
|
# @!attribute [rw] journal_s3_exports
|
965
|
-
# The
|
966
|
-
#
|
981
|
+
# The journal export jobs that are currently associated with the
|
982
|
+
# specified ledger.
|
967
983
|
# @return [Array<Types::JournalS3ExportDescription>]
|
968
984
|
#
|
969
985
|
# @!attribute [rw] next_token
|
@@ -1007,9 +1023,8 @@ module Aws::QLDB
|
|
1007
1023
|
end
|
1008
1024
|
|
1009
1025
|
# @!attribute [rw] journal_s3_exports
|
1010
|
-
# The
|
1011
|
-
#
|
1012
|
-
# Region.
|
1026
|
+
# The journal export jobs for all ledgers that are associated with the
|
1027
|
+
# current Amazon Web Services account and Region.
|
1013
1028
|
# @return [Array<Types::JournalS3ExportDescription>]
|
1014
1029
|
#
|
1015
1030
|
# @!attribute [rw] next_token
|
@@ -1052,8 +1067,8 @@ module Aws::QLDB
|
|
1052
1067
|
end
|
1053
1068
|
|
1054
1069
|
# @!attribute [rw] ledgers
|
1055
|
-
# The
|
1056
|
-
#
|
1070
|
+
# The ledgers that are associated with the current Amazon Web Services
|
1071
|
+
# account and Region.
|
1057
1072
|
# @return [Array<Types::LedgerSummary>]
|
1058
1073
|
#
|
1059
1074
|
# @!attribute [rw] next_token
|
@@ -1213,8 +1228,9 @@ module Aws::QLDB
|
|
1213
1228
|
# @return [String]
|
1214
1229
|
#
|
1215
1230
|
# @!attribute [rw] kms_key_arn
|
1216
|
-
# The Amazon Resource Name (ARN) of a symmetric key in Key
|
1217
|
-
# Service (KMS). Amazon S3 does not support asymmetric KMS
|
1231
|
+
# The Amazon Resource Name (ARN) of a symmetric encryption key in Key
|
1232
|
+
# Management Service (KMS). Amazon S3 does not support asymmetric KMS
|
1233
|
+
# keys.
|
1218
1234
|
#
|
1219
1235
|
# You must provide a `KmsKeyArn` if you specify `SSE_KMS` as the
|
1220
1236
|
# `ObjectEncryptionType`.
|
@@ -1434,8 +1450,8 @@ module Aws::QLDB
|
|
1434
1450
|
# The permissions mode to assign to the ledger. This parameter can
|
1435
1451
|
# have one of the following values:
|
1436
1452
|
#
|
1437
|
-
# * `ALLOW_ALL
|
1438
|
-
#
|
1453
|
+
# * `ALLOW_ALL`: A legacy permissions mode that enables access control
|
1454
|
+
# with API-level granularity for ledgers.
|
1439
1455
|
#
|
1440
1456
|
# This mode allows users who have the `SendCommand` API permission
|
1441
1457
|
# for this ledger to run all PartiQL commands (hence, `ALLOW_ALL`)
|
@@ -1443,9 +1459,9 @@ module Aws::QLDB
|
|
1443
1459
|
# table-level or command-level IAM permissions policies that you
|
1444
1460
|
# create for the ledger.
|
1445
1461
|
#
|
1446
|
-
# * `STANDARD
|
1447
|
-
#
|
1448
|
-
#
|
1462
|
+
# * `STANDARD`: (*Recommended*) A permissions mode that enables access
|
1463
|
+
# control with finer granularity for ledgers, tables, and PartiQL
|
1464
|
+
# commands.
|
1449
1465
|
#
|
1450
1466
|
# By default, this mode denies all user requests to run any PartiQL
|
1451
1467
|
# commands on any tables in this ledger. To allow PartiQL commands
|
@@ -1501,13 +1517,13 @@ module Aws::QLDB
|
|
1501
1517
|
# @return [String]
|
1502
1518
|
#
|
1503
1519
|
# @!attribute [rw] deletion_protection
|
1504
|
-
#
|
1505
|
-
# not
|
1506
|
-
# default.
|
1520
|
+
# Specifies whether the ledger is protected from being deleted by any
|
1521
|
+
# user. If not defined during ledger creation, this feature is enabled
|
1522
|
+
# (`true`) by default.
|
1507
1523
|
#
|
1508
1524
|
# If deletion protection is enabled, you must first disable it before
|
1509
1525
|
# you can delete the ledger. You can disable it by calling the
|
1510
|
-
# `UpdateLedger` operation to set
|
1526
|
+
# `UpdateLedger` operation to set this parameter to `false`.
|
1511
1527
|
# @return [Boolean]
|
1512
1528
|
#
|
1513
1529
|
# @!attribute [rw] kms_key
|
@@ -1517,13 +1533,14 @@ module Aws::QLDB
|
|
1517
1533
|
#
|
1518
1534
|
# Use one of the following options to specify this parameter:
|
1519
1535
|
#
|
1520
|
-
# * `AWS_OWNED_KMS_KEY
|
1536
|
+
# * `AWS_OWNED_KMS_KEY`: Use an KMS key that is owned and managed by
|
1521
1537
|
# Amazon Web Services on your behalf.
|
1522
1538
|
#
|
1523
|
-
# * **Undefined
|
1539
|
+
# * **Undefined**: Make no changes to the KMS key of the ledger.
|
1524
1540
|
#
|
1525
|
-
# * **A valid symmetric customer managed KMS key
|
1526
|
-
# KMS key in your account that you create, own,
|
1541
|
+
# * **A valid symmetric customer managed KMS key**: Use the specified
|
1542
|
+
# symmetric encryption KMS key in your account that you create, own,
|
1543
|
+
# and manage.
|
1527
1544
|
#
|
1528
1545
|
# Amazon QLDB does not support asymmetric keys. For more
|
1529
1546
|
# information, see [Using symmetric and asymmetric keys][2] in the
|
@@ -1585,13 +1602,13 @@ module Aws::QLDB
|
|
1585
1602
|
# @return [Time]
|
1586
1603
|
#
|
1587
1604
|
# @!attribute [rw] deletion_protection
|
1588
|
-
#
|
1589
|
-
# not
|
1590
|
-
# default.
|
1605
|
+
# Specifies whether the ledger is protected from being deleted by any
|
1606
|
+
# user. If not defined during ledger creation, this feature is enabled
|
1607
|
+
# (`true`) by default.
|
1591
1608
|
#
|
1592
1609
|
# If deletion protection is enabled, you must first disable it before
|
1593
1610
|
# you can delete the ledger. You can disable it by calling the
|
1594
|
-
# `UpdateLedger` operation to set
|
1611
|
+
# `UpdateLedger` operation to set this parameter to `false`.
|
1595
1612
|
# @return [Boolean]
|
1596
1613
|
#
|
1597
1614
|
# @!attribute [rw] encryption_description
|
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.29.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: 2023-
|
11
|
+
date: 2023-05-31 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.
|
22
|
+
version: 3.174.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.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|