aws-sdk-qldb 1.26.0 → 1.28.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: 498f712e7e4e286ebebea654e41933e3c17b3bd38d79a8b372460244996e5e03
4
- data.tar.gz: 4eb9c1d2bcf617f3184921f996493ff876a5dd7e78c3d87afc925b2458662b1c
3
+ metadata.gz: 716b8b252d3712e62db9449e60267841abd7c0fa9f2099fa6fb46f135795bc64
4
+ data.tar.gz: 7055a7572ecd86e8a2e2851170df9b5f798a786fa93a400035a892a9a76ea223
5
5
  SHA512:
6
- metadata.gz: 44ad1729388ad57a86c5a95ca64c5ca809f40d487c4dbddacd7315b684d06265d43a41b7796e5e999df26d70812b24bd0da923fcb402bf019b2d1c7ee5190d30
7
- data.tar.gz: 633efafb50d2a10e3ac84893eb1b7962d93f57303459cfe3c6db396c4af8603307f647b264d3abab55bc8dfeeaafd83519f6ecf7c40bf737bcd013bc202247aa
6
+ metadata.gz: 6d75732f5b5d4a28f711789f29dc048832678a82cbcb53bb12d4ae905d5b1cddee178c03c77553778528523e64980cf18209a1d65e4bd9df1559d9165273fb2c
7
+ data.tar.gz: 970469b879be4654575805d306424d95a46f7ff321d059cd44e3991a83301e73047ed692a26c461c644ed6565db63e78cae1a875c6a21e510aee55c9aecaa853
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.28.0 (2023-04-27)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for Amazon QLDB
8
+
9
+ 1.27.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.26.0 (2022-10-25)
5
17
  ------------------
6
18
 
@@ -140,4 +152,4 @@ Unreleased Changes
140
152
  1.0.0 (2019-09-09)
141
153
  ------------------
142
154
 
143
- * Feature - Initial release of `aws-sdk-qldb`.
155
+ * Feature - Initial release of `aws-sdk-qldb`.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.26.0
1
+ 1.28.0
@@ -430,7 +430,7 @@ module Aws::QLDB
430
430
  # The permissions mode to assign to the ledger that you want to create.
431
431
  # This parameter can have one of the following values:
432
432
  #
433
- # * `ALLOW_ALL`\: A legacy permissions mode that enables access control
433
+ # * `ALLOW_ALL`: A legacy permissions mode that enables access control
434
434
  # with API-level granularity for ledgers.
435
435
  #
436
436
  # This mode allows users who have the `SendCommand` API permission for
@@ -439,7 +439,7 @@ module Aws::QLDB
439
439
  # or command-level IAM permissions policies that you create for the
440
440
  # ledger.
441
441
  #
442
- # * `STANDARD`\: (*Recommended*) A permissions mode that enables access
442
+ # * `STANDARD`: (*Recommended*) A permissions mode that enables access
443
443
  # control with finer granularity for ledgers, tables, and PartiQL
444
444
  # commands.
445
445
  #
@@ -461,13 +461,13 @@ module Aws::QLDB
461
461
  # [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/getting-started-standard-mode.html
462
462
  #
463
463
  # @option params [Boolean] :deletion_protection
464
- # The flag that prevents a ledger from being deleted by any user. If not
465
- # provided on ledger creation, this feature is enabled (`true`) by
466
- # default.
464
+ # Specifies whether the ledger is protected from being deleted by any
465
+ # user. If not defined during ledger creation, this feature is enabled
466
+ # (`true`) by default.
467
467
  #
468
468
  # If deletion protection is enabled, you must first disable it before
469
469
  # you can delete the ledger. You can disable it by calling the
470
- # `UpdateLedger` operation to set the flag to `false`.
470
+ # `UpdateLedger` operation to set this parameter to `false`.
471
471
  #
472
472
  # @option params [String] :kms_key
473
473
  # The key in Key Management Service (KMS) to use for encryption of data
@@ -476,14 +476,14 @@ module Aws::QLDB
476
476
  #
477
477
  # Use one of the following options to specify this parameter:
478
478
  #
479
- # * `AWS_OWNED_KMS_KEY`\: Use an KMS key that is owned and managed by
479
+ # * `AWS_OWNED_KMS_KEY`: Use an KMS key that is owned and managed by
480
480
  # Amazon Web Services on your behalf.
481
481
  #
482
- # * **Undefined**\: By default, use an Amazon Web Services owned KMS
483
- # key.
482
+ # * **Undefined**: By default, use an Amazon Web Services owned KMS key.
484
483
  #
485
- # * **A valid symmetric customer managed KMS key**\: Use the specified
486
- # KMS key in your account that you create, own, and manage.
484
+ # * **A valid symmetric customer managed KMS key**: Use the specified
485
+ # symmetric encryption KMS key in your account that you create, own,
486
+ # and manage.
487
487
  #
488
488
  # Amazon QLDB does not support asymmetric keys. For more information,
489
489
  # see [Using symmetric and asymmetric keys][2] in the *Key Management
@@ -559,7 +559,7 @@ module Aws::QLDB
559
559
  #
560
560
  # If deletion protection is enabled, you must first disable it before
561
561
  # you can delete the ledger. You can disable it by calling the
562
- # `UpdateLedger` operation to set the flag to `false`.
562
+ # `UpdateLedger` operation to set this parameter to `false`.
563
563
  #
564
564
  # @option params [required, String] :name
565
565
  # The name of the ledger that you want to delete.
@@ -745,13 +745,6 @@ module Aws::QLDB
745
745
  # binary representation of Amazon Ion format, or in *JSON Lines* text
746
746
  # format.
747
747
  #
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
748
  # If the ledger with the given `Name` doesn't exist, then throws
756
749
  # `ResourceNotFoundException`.
757
750
  #
@@ -762,10 +755,6 @@ module Aws::QLDB
762
755
  # ledger. Beyond this limit, journal export requests throw
763
756
  # `LimitExceededException`.
764
757
  #
765
- #
766
- #
767
- # [1]: https://jsonlines.org/
768
- #
769
758
  # @option params [required, String] :name
770
759
  # The name of the ledger.
771
760
  #
@@ -802,8 +791,7 @@ module Aws::QLDB
802
791
  # The Amazon Resource Name (ARN) of the IAM role that grants QLDB
803
792
  # permissions for a journal export job to do the following:
804
793
  #
805
- # * Write objects into your Amazon Simple Storage Service (Amazon S3)
806
- # bucket.
794
+ # * Write objects into your Amazon S3 bucket.
807
795
  #
808
796
  # * (Optional) Use your customer managed key in Key Management Service
809
797
  # (KMS) for server-side encryption of your exported data.
@@ -813,8 +801,22 @@ module Aws::QLDB
813
801
  # resource. This is required for all journal export requests.
814
802
  #
815
803
  # @option params [String] :output_format
816
- # The output format of your exported journal data. If this parameter is
817
- # not specified, the exported data defaults to `ION_TEXT` format.
804
+ # The output format of your exported journal data. A journal export job
805
+ # can write the data objects in either the text or binary representation
806
+ # of [Amazon Ion][1] format, or in [JSON Lines][2] text format.
807
+ #
808
+ # Default: `ION_TEXT`
809
+ #
810
+ # In JSON Lines format, each journal block in an exported data object is
811
+ # a valid JSON object that is delimited by a newline. You can use this
812
+ # format to directly integrate JSON exports with analytics tools such as
813
+ # Amazon Athena and Glue because these services can parse
814
+ # newline-delimited JSON automatically.
815
+ #
816
+ #
817
+ #
818
+ # [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/ion.html
819
+ # [2]: https://jsonlines.org/
818
820
  #
819
821
  # @return [Types::ExportJournalToS3Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
820
822
  #
@@ -1007,9 +1009,7 @@ module Aws::QLDB
1007
1009
  req.send_request(options)
1008
1010
  end
1009
1011
 
1010
- # Returns an array of all Amazon QLDB journal stream descriptors for a
1011
- # given ledger. The output of each stream descriptor includes the same
1012
- # details that are returned by `DescribeJournalKinesisStream`.
1012
+ # Returns all Amazon QLDB journal streams for a given ledger.
1013
1013
  #
1014
1014
  # This action does not return any expired journal streams. For more
1015
1015
  # information, see [Expiration for terminal streams][1] in the *Amazon
@@ -1078,9 +1078,8 @@ module Aws::QLDB
1078
1078
  req.send_request(options)
1079
1079
  end
1080
1080
 
1081
- # Returns an array of journal export job descriptions for all ledgers
1082
- # that are associated with the current Amazon Web Services account and
1083
- # Region.
1081
+ # Returns all journal export jobs for all ledgers that are associated
1082
+ # with the current Amazon Web Services account and Region.
1084
1083
  #
1085
1084
  # This action returns a maximum of `MaxResults` items, and is paginated
1086
1085
  # so that you can retrieve all the items by calling
@@ -1145,8 +1144,7 @@ module Aws::QLDB
1145
1144
  req.send_request(options)
1146
1145
  end
1147
1146
 
1148
- # Returns an array of journal export job descriptions for a specified
1149
- # ledger.
1147
+ # Returns all journal export jobs for a specified ledger.
1150
1148
  #
1151
1149
  # This action returns a maximum of `MaxResults` items, and is paginated
1152
1150
  # so that you can retrieve all the items by calling
@@ -1215,12 +1213,12 @@ module Aws::QLDB
1215
1213
  req.send_request(options)
1216
1214
  end
1217
1215
 
1218
- # Returns an array of ledger summaries that are associated with the
1219
- # current Amazon Web Services account and Region.
1216
+ # Returns all ledgers that are associated with the current Amazon Web
1217
+ # Services account and Region.
1220
1218
  #
1221
- # This action returns a maximum of 100 items and is paginated so that
1222
- # you can retrieve all the items by calling `ListLedgers` multiple
1223
- # times.
1219
+ # This action returns a maximum of `MaxResults` items and is paginated
1220
+ # so that you can retrieve all the items by calling `ListLedgers`
1221
+ # multiple times.
1224
1222
  #
1225
1223
  # @option params [Integer] :max_results
1226
1224
  # The maximum number of results to return in a single `ListLedgers`
@@ -1464,13 +1462,13 @@ module Aws::QLDB
1464
1462
  # The name of the ledger.
1465
1463
  #
1466
1464
  # @option params [Boolean] :deletion_protection
1467
- # The flag that prevents a ledger from being deleted by any user. If not
1468
- # provided on ledger creation, this feature is enabled (`true`) by
1469
- # default.
1465
+ # Specifies whether the ledger is protected from being deleted by any
1466
+ # user. If not defined during ledger creation, this feature is enabled
1467
+ # (`true`) by default.
1470
1468
  #
1471
1469
  # If deletion protection is enabled, you must first disable it before
1472
1470
  # you can delete the ledger. You can disable it by calling the
1473
- # `UpdateLedger` operation to set the flag to `false`.
1471
+ # `UpdateLedger` operation to set this parameter to `false`.
1474
1472
  #
1475
1473
  # @option params [String] :kms_key
1476
1474
  # The key in Key Management Service (KMS) to use for encryption of data
@@ -1479,13 +1477,14 @@ module Aws::QLDB
1479
1477
  #
1480
1478
  # Use one of the following options to specify this parameter:
1481
1479
  #
1482
- # * `AWS_OWNED_KMS_KEY`\: Use an KMS key that is owned and managed by
1480
+ # * `AWS_OWNED_KMS_KEY`: Use an KMS key that is owned and managed by
1483
1481
  # Amazon Web Services on your behalf.
1484
1482
  #
1485
- # * **Undefined**\: Make no changes to the KMS key of the ledger.
1483
+ # * **Undefined**: Make no changes to the KMS key of the ledger.
1486
1484
  #
1487
- # * **A valid symmetric customer managed KMS key**\: Use the specified
1488
- # KMS key in your account that you create, own, and manage.
1485
+ # * **A valid symmetric customer managed KMS key**: Use the specified
1486
+ # symmetric encryption KMS key in your account that you create, own,
1487
+ # and manage.
1489
1488
  #
1490
1489
  # Amazon QLDB does not support asymmetric keys. For more information,
1491
1490
  # see [Using symmetric and asymmetric keys][2] in the *Key Management
@@ -1571,7 +1570,7 @@ module Aws::QLDB
1571
1570
  # The permissions mode to assign to the ledger. This parameter can have
1572
1571
  # one of the following values:
1573
1572
  #
1574
- # * `ALLOW_ALL`\: A legacy permissions mode that enables access control
1573
+ # * `ALLOW_ALL`: A legacy permissions mode that enables access control
1575
1574
  # with API-level granularity for ledgers.
1576
1575
  #
1577
1576
  # This mode allows users who have the `SendCommand` API permission for
@@ -1580,7 +1579,7 @@ module Aws::QLDB
1580
1579
  # or command-level IAM permissions policies that you create for the
1581
1580
  # ledger.
1582
1581
  #
1583
- # * `STANDARD`\: (*Recommended*) A permissions mode that enables access
1582
+ # * `STANDARD`: (*Recommended*) A permissions mode that enables access
1584
1583
  # control with finer granularity for ledgers, tables, and PartiQL
1585
1584
  # commands.
1586
1585
  #
@@ -1642,7 +1641,7 @@ module Aws::QLDB
1642
1641
  params: params,
1643
1642
  config: config)
1644
1643
  context[:gem_name] = 'aws-sdk-qldb'
1645
- context[:gem_version] = '1.26.0'
1644
+ context[:gem_version] = '1.28.0'
1646
1645
  Seahorse::Client::Request.new(handlers, context)
1647
1646
  end
1648
1647
 
@@ -9,103 +9,46 @@
9
9
 
10
10
  module Aws::QLDB
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
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 Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
25
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- 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"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://qldb.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
+ end
48
+ end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
+ raise ArgumentError, 'No endpoint could be resolved'
24
51
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
52
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9l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uZHBv
105
- aW50Ijp7InVybCI6Imh0dHBzOi8vcWxkYi57UmVnaW9ufS57UGFydGl0aW9u
106
- UmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6
107
- e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
108
-
109
- JSON
110
53
  end
111
54
  end
@@ -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
@@ -84,8 +63,8 @@ module Aws::QLDB
84
63
  # The permissions mode to assign to the ledger that you want to
85
64
  # create. This parameter can have one of the following values:
86
65
  #
87
- # * `ALLOW_ALL`\: A legacy permissions mode that enables access
88
- # control with API-level granularity for ledgers.
66
+ # * `ALLOW_ALL`: A legacy permissions mode that enables access control
67
+ # with API-level granularity for ledgers.
89
68
  #
90
69
  # This mode allows users who have the `SendCommand` API permission
91
70
  # for this ledger to run all PartiQL commands (hence, `ALLOW_ALL`)
@@ -93,9 +72,9 @@ module Aws::QLDB
93
72
  # table-level or command-level IAM permissions policies that you
94
73
  # create for the ledger.
95
74
  #
96
- # * `STANDARD`\: (*Recommended*) A permissions mode that enables
97
- # access control with finer granularity for ledgers, tables, and
98
- # PartiQL commands.
75
+ # * `STANDARD`: (*Recommended*) A permissions mode that enables access
76
+ # control with finer granularity for ledgers, tables, and PartiQL
77
+ # commands.
99
78
  #
100
79
  # By default, this mode denies all user requests to run any PartiQL
101
80
  # commands on any tables in this ledger. To allow PartiQL commands
@@ -116,13 +95,13 @@ module Aws::QLDB
116
95
  # @return [String]
117
96
  #
118
97
  # @!attribute [rw] deletion_protection
119
- # The flag that prevents a ledger from being deleted by any user. If
120
- # not provided on ledger creation, this feature is enabled (`true`) by
121
- # 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.
122
101
  #
123
102
  # If deletion protection is enabled, you must first disable it before
124
103
  # you can delete the ledger. You can disable it by calling the
125
- # `UpdateLedger` operation to set the flag to `false`.
104
+ # `UpdateLedger` operation to set this parameter to `false`.
126
105
  # @return [Boolean]
127
106
  #
128
107
  # @!attribute [rw] kms_key
@@ -132,14 +111,15 @@ module Aws::QLDB
132
111
  #
133
112
  # Use one of the following options to specify this parameter:
134
113
  #
135
- # * `AWS_OWNED_KMS_KEY`\: Use an KMS key that is owned and managed by
114
+ # * `AWS_OWNED_KMS_KEY`: Use an KMS key that is owned and managed by
136
115
  # Amazon Web Services on your behalf.
137
116
  #
138
- # * **Undefined**\: By default, use an Amazon Web Services owned KMS
117
+ # * **Undefined**: By default, use an Amazon Web Services owned KMS
139
118
  # key.
140
119
  #
141
- # * **A valid symmetric customer managed KMS key**\: Use the specified
142
- # KMS key in your account that you create, own, and manage.
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.
143
123
  #
144
124
  # Amazon QLDB does not support asymmetric keys. For more
145
125
  # information, see [Using symmetric and asymmetric keys][2] in the
@@ -207,13 +187,13 @@ module Aws::QLDB
207
187
  # @return [String]
208
188
  #
209
189
  # @!attribute [rw] deletion_protection
210
- # The flag that prevents a ledger from being deleted by any user. If
211
- # not provided on ledger creation, this feature is enabled (`true`) by
212
- # 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.
213
193
  #
214
194
  # If deletion protection is enabled, you must first disable it before
215
195
  # you can delete the ledger. You can disable it by calling the
216
- # `UpdateLedger` operation to set the flag to `false`.
196
+ # `UpdateLedger` operation to set this parameter to `false`.
217
197
  # @return [Boolean]
218
198
  #
219
199
  # @!attribute [rw] kms_key_arn
@@ -236,13 +216,6 @@ module Aws::QLDB
236
216
  include Aws::Structure
237
217
  end
238
218
 
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
219
  # @!attribute [rw] name
247
220
  # The name of the ledger that you want to delete.
248
221
  # @return [String]
@@ -255,14 +228,6 @@ module Aws::QLDB
255
228
  include Aws::Structure
256
229
  end
257
230
 
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
231
  # @!attribute [rw] ledger_name
267
232
  # The name of the ledger.
268
233
  # @return [String]
@@ -294,14 +259,6 @@ module Aws::QLDB
294
259
  include Aws::Structure
295
260
  end
296
261
 
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
262
  # @!attribute [rw] name
306
263
  # The name of the ledger.
307
264
  # @return [String]
@@ -333,13 +290,6 @@ module Aws::QLDB
333
290
  include Aws::Structure
334
291
  end
335
292
 
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
293
  # @!attribute [rw] name
344
294
  # The name of the ledger that you want to describe.
345
295
  # @return [String]
@@ -375,13 +325,13 @@ module Aws::QLDB
375
325
  # @return [String]
376
326
  #
377
327
  # @!attribute [rw] deletion_protection
378
- # The flag that prevents a ledger from being deleted by any user. If
379
- # not provided on ledger creation, this feature is enabled (`true`) by
380
- # 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.
381
331
  #
382
332
  # If deletion protection is enabled, you must first disable it before
383
333
  # you can delete the ledger. You can disable it by calling the
384
- # `UpdateLedger` operation to set the flag to `false`.
334
+ # `UpdateLedger` operation to set this parameter to `false`.
385
335
  # @return [Boolean]
386
336
  #
387
337
  # @!attribute [rw] encryption_description
@@ -404,25 +354,6 @@ module Aws::QLDB
404
354
  include Aws::Structure
405
355
  end
406
356
 
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
357
  # @!attribute [rw] name
427
358
  # The name of the ledger.
428
359
  # @return [String]
@@ -463,8 +394,7 @@ module Aws::QLDB
463
394
  # The Amazon Resource Name (ARN) of the IAM role that grants QLDB
464
395
  # permissions for a journal export job to do the following:
465
396
  #
466
- # * Write objects into your Amazon Simple Storage Service (Amazon S3)
467
- # bucket.
397
+ # * Write objects into your Amazon S3 bucket.
468
398
  #
469
399
  # * (Optional) Use your customer managed key in Key Management Service
470
400
  # (KMS) for server-side encryption of your exported data.
@@ -475,8 +405,23 @@ module Aws::QLDB
475
405
  # @return [String]
476
406
  #
477
407
  # @!attribute [rw] output_format
478
- # The output format of your exported journal data. If this parameter
479
- # is not specified, the exported data defaults to `ION_TEXT` format.
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/
480
425
  # @return [String]
481
426
  #
482
427
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/ExportJournalToS3Request AWS API Documentation
@@ -508,19 +453,6 @@ module Aws::QLDB
508
453
  include Aws::Structure
509
454
  end
510
455
 
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
456
  # @!attribute [rw] name
525
457
  # The name of the ledger.
526
458
  # @return [String]
@@ -571,13 +503,6 @@ module Aws::QLDB
571
503
  include Aws::Structure
572
504
  end
573
505
 
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
506
  # @!attribute [rw] name
582
507
  # The name of the ledger.
583
508
  # @return [String]
@@ -610,20 +535,6 @@ module Aws::QLDB
610
535
  include Aws::Structure
611
536
  end
612
537
 
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
538
  # @!attribute [rw] name
628
539
  # The name of the ledger.
629
540
  # @return [String]
@@ -847,14 +758,6 @@ module Aws::QLDB
847
758
  # The configuration settings of the Amazon Kinesis Data Streams
848
759
  # destination for an Amazon QLDB journal stream.
849
760
  #
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
761
  # @!attribute [rw] stream_arn
859
762
  # The Amazon Resource Name (ARN) of the Kinesis Data Streams resource.
860
763
  # @return [String]
@@ -864,11 +767,12 @@ module Aws::QLDB
864
767
  # Data Streams record, increasing the number of records sent per API
865
768
  # call.
866
769
  #
867
- # *This option is enabled by default.* Record aggregation has
868
- # important implications for processing records and requires
869
- # de-aggregation in your stream consumer. To learn more, see [KPL Key
870
- # Concepts][1] and [Consumer De-aggregation][2] in the *Amazon Kinesis
871
- # Data Streams Developer Guide*.
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*.
872
776
  #
873
777
  #
874
778
  #
@@ -908,9 +812,9 @@ module Aws::QLDB
908
812
  # The current state of encryption at rest for the ledger. This can be
909
813
  # one of the following values:
910
814
  #
911
- # * `ENABLED`\: Encryption is fully enabled using the specified key.
815
+ # * `ENABLED`: Encryption is fully enabled using the specified key.
912
816
  #
913
- # * `UPDATING`\: The ledger is actively processing the specified key
817
+ # * `UPDATING`: The ledger is actively processing the specified key
914
818
  # change.
915
819
  #
916
820
  # Key changes in QLDB are asynchronous. The ledger is fully
@@ -918,7 +822,7 @@ module Aws::QLDB
918
822
  # being processed. The amount of time it takes to update a key
919
823
  # varies depending on the ledger size.
920
824
  #
921
- # * `KMS_KEY_INACCESSIBLE`\: The specified customer managed KMS key is
825
+ # * `KMS_KEY_INACCESSIBLE`: The specified customer managed KMS key is
922
826
  # not accessible, and the ledger is impaired. Either the key was
923
827
  # disabled or deleted, or the grants on the key were revoked. When a
924
828
  # ledger is impaired, it is not accessible and does not accept any
@@ -996,15 +900,6 @@ module Aws::QLDB
996
900
  include Aws::Structure
997
901
  end
998
902
 
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
903
  # @!attribute [rw] ledger_name
1009
904
  # The name of the ledger.
1010
905
  # @return [String]
@@ -1033,8 +928,8 @@ module Aws::QLDB
1033
928
  end
1034
929
 
1035
930
  # @!attribute [rw] streams
1036
- # The array of QLDB journal stream descriptors that are associated
1037
- # with the given ledger.
931
+ # The QLDB journal streams that are currently associated with the
932
+ # given ledger.
1038
933
  # @return [Array<Types::JournalKinesisStreamDescription>]
1039
934
  #
1040
935
  # @!attribute [rw] next_token
@@ -1055,15 +950,6 @@ module Aws::QLDB
1055
950
  include Aws::Structure
1056
951
  end
1057
952
 
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
953
  # @!attribute [rw] name
1068
954
  # The name of the ledger.
1069
955
  # @return [String]
@@ -1092,8 +978,8 @@ module Aws::QLDB
1092
978
  end
1093
979
 
1094
980
  # @!attribute [rw] journal_s3_exports
1095
- # The array of journal export job descriptions that are associated
1096
- # with the specified ledger.
981
+ # The journal export jobs that are currently associated with the
982
+ # specified ledger.
1097
983
  # @return [Array<Types::JournalS3ExportDescription>]
1098
984
  #
1099
985
  # @!attribute [rw] next_token
@@ -1114,14 +1000,6 @@ module Aws::QLDB
1114
1000
  include Aws::Structure
1115
1001
  end
1116
1002
 
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
1003
  # @!attribute [rw] max_results
1126
1004
  # The maximum number of results to return in a single
1127
1005
  # `ListJournalS3Exports` request. (The actual number of results
@@ -1145,9 +1023,8 @@ module Aws::QLDB
1145
1023
  end
1146
1024
 
1147
1025
  # @!attribute [rw] journal_s3_exports
1148
- # The array of journal export job descriptions for all ledgers that
1149
- # are associated with the current Amazon Web Services account and
1150
- # Region.
1026
+ # The journal export jobs for all ledgers that are associated with the
1027
+ # current Amazon Web Services account and Region.
1151
1028
  # @return [Array<Types::JournalS3ExportDescription>]
1152
1029
  #
1153
1030
  # @!attribute [rw] next_token
@@ -1168,14 +1045,6 @@ module Aws::QLDB
1168
1045
  include Aws::Structure
1169
1046
  end
1170
1047
 
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
1048
  # @!attribute [rw] max_results
1180
1049
  # The maximum number of results to return in a single `ListLedgers`
1181
1050
  # request. (The actual number of results returned might be fewer.)
@@ -1198,8 +1067,8 @@ module Aws::QLDB
1198
1067
  end
1199
1068
 
1200
1069
  # @!attribute [rw] ledgers
1201
- # The array of ledger summaries that are associated with the current
1202
- # Amazon Web Services account and Region.
1070
+ # The ledgers that are associated with the current Amazon Web Services
1071
+ # account and Region.
1203
1072
  # @return [Array<Types::LedgerSummary>]
1204
1073
  #
1205
1074
  # @!attribute [rw] next_token
@@ -1223,13 +1092,6 @@ module Aws::QLDB
1223
1092
  include Aws::Structure
1224
1093
  end
1225
1094
 
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
1095
  # @!attribute [rw] resource_arn
1234
1096
  # The Amazon Resource Name (ARN) for which to list the tags. For
1235
1097
  # example:
@@ -1353,14 +1215,6 @@ module Aws::QLDB
1353
1215
  # The encryption settings that are used by a journal export job to write
1354
1216
  # data in an Amazon Simple Storage Service (Amazon S3) bucket.
1355
1217
  #
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
1218
  # @!attribute [rw] object_encryption_type
1365
1219
  # The Amazon S3 object encryption type.
1366
1220
  #
@@ -1374,8 +1228,9 @@ module Aws::QLDB
1374
1228
  # @return [String]
1375
1229
  #
1376
1230
  # @!attribute [rw] kms_key_arn
1377
- # The Amazon Resource Name (ARN) of a symmetric key in Key Management
1378
- # Service (KMS). Amazon S3 does not support asymmetric KMS keys.
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.
1379
1234
  #
1380
1235
  # You must provide a `KmsKeyArn` if you specify `SSE_KMS` as the
1381
1236
  # `ObjectEncryptionType`.
@@ -1396,18 +1251,6 @@ module Aws::QLDB
1396
1251
  # The Amazon Simple Storage Service (Amazon S3) bucket location in which
1397
1252
  # a journal export job writes the journal contents.
1398
1253
  #
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
1254
  # @!attribute [rw] bucket
1412
1255
  # The Amazon S3 bucket name in which a journal export job writes the
1413
1256
  # journal contents.
@@ -1457,24 +1300,6 @@ module Aws::QLDB
1457
1300
  include Aws::Structure
1458
1301
  end
1459
1302
 
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
1303
  # @!attribute [rw] ledger_name
1479
1304
  # The name of the ledger.
1480
1305
  # @return [String]
@@ -1566,16 +1391,6 @@ module Aws::QLDB
1566
1391
  include Aws::Structure
1567
1392
  end
1568
1393
 
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
1394
  # @!attribute [rw] resource_arn
1580
1395
  # The Amazon Resource Name (ARN) to which you want to add the tags.
1581
1396
  # For example:
@@ -1603,14 +1418,6 @@ module Aws::QLDB
1603
1418
  #
1604
1419
  class TagResourceResponse < Aws::EmptyStructure; end
1605
1420
 
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
1421
  # @!attribute [rw] resource_arn
1615
1422
  # The Amazon Resource Name (ARN) from which to remove the tags. For
1616
1423
  # example:
@@ -1635,14 +1442,6 @@ module Aws::QLDB
1635
1442
  #
1636
1443
  class UntagResourceResponse < Aws::EmptyStructure; end
1637
1444
 
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
1445
  # @!attribute [rw] name
1647
1446
  # The name of the ledger.
1648
1447
  # @return [String]
@@ -1651,8 +1450,8 @@ module Aws::QLDB
1651
1450
  # The permissions mode to assign to the ledger. This parameter can
1652
1451
  # have one of the following values:
1653
1452
  #
1654
- # * `ALLOW_ALL`\: A legacy permissions mode that enables access
1655
- # control with API-level granularity for ledgers.
1453
+ # * `ALLOW_ALL`: A legacy permissions mode that enables access control
1454
+ # with API-level granularity for ledgers.
1656
1455
  #
1657
1456
  # This mode allows users who have the `SendCommand` API permission
1658
1457
  # for this ledger to run all PartiQL commands (hence, `ALLOW_ALL`)
@@ -1660,9 +1459,9 @@ module Aws::QLDB
1660
1459
  # table-level or command-level IAM permissions policies that you
1661
1460
  # create for the ledger.
1662
1461
  #
1663
- # * `STANDARD`\: (*Recommended*) A permissions mode that enables
1664
- # access control with finer granularity for ledgers, tables, and
1665
- # PartiQL commands.
1462
+ # * `STANDARD`: (*Recommended*) A permissions mode that enables access
1463
+ # control with finer granularity for ledgers, tables, and PartiQL
1464
+ # commands.
1666
1465
  #
1667
1466
  # By default, this mode denies all user requests to run any PartiQL
1668
1467
  # commands on any tables in this ledger. To allow PartiQL commands
@@ -1713,27 +1512,18 @@ module Aws::QLDB
1713
1512
  include Aws::Structure
1714
1513
  end
1715
1514
 
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
1515
  # @!attribute [rw] name
1726
1516
  # The name of the ledger.
1727
1517
  # @return [String]
1728
1518
  #
1729
1519
  # @!attribute [rw] deletion_protection
1730
- # The flag that prevents a ledger from being deleted by any user. If
1731
- # not provided on ledger creation, this feature is enabled (`true`) by
1732
- # 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.
1733
1523
  #
1734
1524
  # If deletion protection is enabled, you must first disable it before
1735
1525
  # you can delete the ledger. You can disable it by calling the
1736
- # `UpdateLedger` operation to set the flag to `false`.
1526
+ # `UpdateLedger` operation to set this parameter to `false`.
1737
1527
  # @return [Boolean]
1738
1528
  #
1739
1529
  # @!attribute [rw] kms_key
@@ -1743,13 +1533,14 @@ module Aws::QLDB
1743
1533
  #
1744
1534
  # Use one of the following options to specify this parameter:
1745
1535
  #
1746
- # * `AWS_OWNED_KMS_KEY`\: Use an KMS key that is owned and managed by
1536
+ # * `AWS_OWNED_KMS_KEY`: Use an KMS key that is owned and managed by
1747
1537
  # Amazon Web Services on your behalf.
1748
1538
  #
1749
- # * **Undefined**\: Make no changes to the KMS key of the ledger.
1539
+ # * **Undefined**: Make no changes to the KMS key of the ledger.
1750
1540
  #
1751
- # * **A valid symmetric customer managed KMS key**\: Use the specified
1752
- # KMS key in your account that you create, own, and manage.
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.
1753
1544
  #
1754
1545
  # Amazon QLDB does not support asymmetric keys. For more
1755
1546
  # information, see [Using symmetric and asymmetric keys][2] in the
@@ -1811,13 +1602,13 @@ module Aws::QLDB
1811
1602
  # @return [Time]
1812
1603
  #
1813
1604
  # @!attribute [rw] deletion_protection
1814
- # The flag that prevents a ledger from being deleted by any user. If
1815
- # not provided on ledger creation, this feature is enabled (`true`) by
1816
- # 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.
1817
1608
  #
1818
1609
  # If deletion protection is enabled, you must first disable it before
1819
1610
  # you can delete the ledger. You can disable it by calling the
1820
- # `UpdateLedger` operation to set the flag to `false`.
1611
+ # `UpdateLedger` operation to set this parameter to `false`.
1821
1612
  # @return [Boolean]
1822
1613
  #
1823
1614
  # @!attribute [rw] encryption_description
@@ -1841,13 +1632,6 @@ module Aws::QLDB
1841
1632
 
1842
1633
  # A structure that can contain a value in multiple encoding formats.
1843
1634
  #
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
1635
  # @!attribute [rw] ion_text
1852
1636
  # An Amazon Ion plaintext value contained in a `ValueHolder`
1853
1637
  # structure.
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.26.0'
55
+ GEM_VERSION = '1.28.0'
56
56
 
57
57
  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.26.0
4
+ version: 1.28.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: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2023-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core