aws-sdk-qldb 1.10.0 → 1.15.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 +88 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-qldb.rb +2 -2
- data/lib/aws-sdk-qldb/client.rb +168 -43
- data/lib/aws-sdk-qldb/client_api.rb +24 -1
- data/lib/aws-sdk-qldb/errors.rb +1 -1
- data/lib/aws-sdk-qldb/resource.rb +1 -1
- data/lib/aws-sdk-qldb/types.rb +183 -65
- metadata +11 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f160f78ebc39ab07b285e0b80e52bed4ac6bf17c9510d7040191cc084c1651ce
|
4
|
+
data.tar.gz: 6daaf1d0e593052301bf0cb66936a35a6536c7fd802c04b28de6b8a25162077c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd3e4c31677c7c8d42e8e49cd11361f2cab0f506054c4b9fef19f29bfdef23f252593a754df1094bf445bd0c96b93f5c3eea5fcf20b535c6b0c16e882d5e8ded
|
7
|
+
data.tar.gz: ea2176d8645cecca765f0857710dbb53ebcf8c12fb11cb76b6e9226848a947ce3a9ebb01c44005044f2d11787b5e74c519287bfb7614a1b379ec7026bca3bb6a
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.15.0 (2021-06-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for Amazon QLDB
|
8
|
+
|
9
|
+
1.14.0 (2021-05-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Support STANDARD permissions mode in CreateLedger and DescribeLedger. Add UpdateLedgerPermissionsMode to update permissions mode on existing ledgers.
|
13
|
+
|
14
|
+
1.13.0 (2021-03-10)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.12.0 (2021-02-02)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.11.0 (2020-09-30)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.10.0 (2020-09-15)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.9.0 (2020-08-25)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.8.0 (2020-06-23)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.7.0 (2020-06-16)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Documentation updates for Amazon QLDB
|
48
|
+
|
49
|
+
1.6.1 (2020-06-11)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
53
|
+
|
54
|
+
1.6.0 (2020-06-10)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Issue - This version has been yanked. (#2327).
|
58
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
59
|
+
|
60
|
+
1.5.0 (2020-05-28)
|
61
|
+
------------------
|
62
|
+
|
63
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
64
|
+
|
65
|
+
1.4.0 (2020-05-18)
|
66
|
+
------------------
|
67
|
+
|
68
|
+
* Feature - Amazon QLDB now supports Amazon Kinesis data streams. You can now emit QLDB journal data, via the new QLDB Streams feature, directly to Amazon Kinesis supporting event processing and analytics among related use cases.
|
69
|
+
|
70
|
+
1.3.0 (2020-05-07)
|
71
|
+
------------------
|
72
|
+
|
73
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
74
|
+
|
75
|
+
1.2.0 (2020-03-09)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
79
|
+
|
80
|
+
1.1.0 (2019-10-23)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
84
|
+
|
85
|
+
1.0.0 (2019-09-09)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Initial release of `aws-sdk-qldb`.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.15.0
|
data/lib/aws-sdk-qldb.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-qldb/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::QLDB
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.15.0'
|
52
52
|
|
53
53
|
end
|
data/lib/aws-sdk-qldb/client.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -338,7 +338,8 @@ module Aws::QLDB
|
|
338
338
|
# The name of the ledger.
|
339
339
|
#
|
340
340
|
# @option params [required, String] :stream_id
|
341
|
-
# The
|
341
|
+
# The UUID (represented in Base62-encoded text) of the QLDB journal
|
342
|
+
# stream to be canceled.
|
342
343
|
#
|
343
344
|
# @return [Types::CancelJournalKinesisStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
344
345
|
#
|
@@ -364,7 +365,7 @@ module Aws::QLDB
|
|
364
365
|
req.send_request(options)
|
365
366
|
end
|
366
367
|
|
367
|
-
# Creates a new ledger in your AWS account.
|
368
|
+
# Creates a new ledger in your AWS account in the current Region.
|
368
369
|
#
|
369
370
|
# @option params [required, String] :name
|
370
371
|
# The name of the ledger that you want to create. The name must be
|
@@ -384,6 +385,37 @@ module Aws::QLDB
|
|
384
385
|
#
|
385
386
|
# @option params [required, String] :permissions_mode
|
386
387
|
# The permissions mode to assign to the ledger that you want to create.
|
388
|
+
# This parameter can have one of the following values:
|
389
|
+
#
|
390
|
+
# * `ALLOW_ALL`\: A legacy permissions mode that enables access control
|
391
|
+
# with API-level granularity for ledgers.
|
392
|
+
#
|
393
|
+
# This mode allows users who have the `SendCommand` API permission for
|
394
|
+
# this ledger to run all PartiQL commands (hence, `ALLOW_ALL`) on any
|
395
|
+
# tables in the specified ledger. This mode disregards any table-level
|
396
|
+
# or command-level IAM permissions policies that you create for the
|
397
|
+
# ledger.
|
398
|
+
#
|
399
|
+
# * `STANDARD`\: (*Recommended*) A permissions mode that enables access
|
400
|
+
# control with finer granularity for ledgers, tables, and PartiQL
|
401
|
+
# commands.
|
402
|
+
#
|
403
|
+
# By default, this mode denies all user requests to run any PartiQL
|
404
|
+
# commands on any tables in this ledger. To allow PartiQL commands to
|
405
|
+
# run, you must create IAM permissions policies for specific table
|
406
|
+
# resources and PartiQL actions, in addition to the `SendCommand` API
|
407
|
+
# permission for the ledger. For information, see [Getting started
|
408
|
+
# with the standard permissions mode][1] in the *Amazon QLDB Developer
|
409
|
+
# Guide*.
|
410
|
+
#
|
411
|
+
# <note markdown="1"> We strongly recommend using the `STANDARD` permissions mode to
|
412
|
+
# maximize the security of your ledger data.
|
413
|
+
#
|
414
|
+
# </note>
|
415
|
+
#
|
416
|
+
#
|
417
|
+
#
|
418
|
+
# [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/getting-started-standard-mode.html
|
387
419
|
#
|
388
420
|
# @option params [Boolean] :deletion_protection
|
389
421
|
# The flag that prevents a ledger from being deleted by any user. If not
|
@@ -391,10 +423,8 @@ module Aws::QLDB
|
|
391
423
|
# default.
|
392
424
|
#
|
393
425
|
# If deletion protection is enabled, you must first disable it before
|
394
|
-
# you can delete the ledger
|
395
|
-
#
|
396
|
-
# operation to set the flag to `false`. The QLDB console disables
|
397
|
-
# deletion protection for you when you use it to delete a ledger.
|
426
|
+
# you can delete the ledger. You can disable it by calling the
|
427
|
+
# `UpdateLedger` operation to set the flag to `false`.
|
398
428
|
#
|
399
429
|
# @return [Types::CreateLedgerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
400
430
|
#
|
@@ -402,6 +432,7 @@ module Aws::QLDB
|
|
402
432
|
# * {Types::CreateLedgerResponse#arn #arn} => String
|
403
433
|
# * {Types::CreateLedgerResponse#state #state} => String
|
404
434
|
# * {Types::CreateLedgerResponse#creation_date_time #creation_date_time} => Time
|
435
|
+
# * {Types::CreateLedgerResponse#permissions_mode #permissions_mode} => String
|
405
436
|
# * {Types::CreateLedgerResponse#deletion_protection #deletion_protection} => Boolean
|
406
437
|
#
|
407
438
|
# @example Request syntax with placeholder values
|
@@ -411,7 +442,7 @@ module Aws::QLDB
|
|
411
442
|
# tags: {
|
412
443
|
# "TagKey" => "TagValue",
|
413
444
|
# },
|
414
|
-
# permissions_mode: "ALLOW_ALL", # required, accepts ALLOW_ALL
|
445
|
+
# permissions_mode: "ALLOW_ALL", # required, accepts ALLOW_ALL, STANDARD
|
415
446
|
# deletion_protection: false,
|
416
447
|
# })
|
417
448
|
#
|
@@ -421,6 +452,7 @@ module Aws::QLDB
|
|
421
452
|
# resp.arn #=> String
|
422
453
|
# resp.state #=> String, one of "CREATING", "ACTIVE", "DELETING", "DELETED"
|
423
454
|
# resp.creation_date_time #=> Time
|
455
|
+
# resp.permissions_mode #=> String, one of "ALLOW_ALL", "STANDARD"
|
424
456
|
# resp.deletion_protection #=> Boolean
|
425
457
|
#
|
426
458
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/CreateLedger AWS API Documentation
|
@@ -435,10 +467,8 @@ module Aws::QLDB
|
|
435
467
|
# Deletes a ledger and all of its contents. This action is irreversible.
|
436
468
|
#
|
437
469
|
# If deletion protection is enabled, you must first disable it before
|
438
|
-
# you can delete the ledger
|
439
|
-
#
|
440
|
-
# operation to set the flag to `false`. The QLDB console disables
|
441
|
-
# deletion protection for you when you use it to delete a ledger.
|
470
|
+
# you can delete the ledger. You can disable it by calling the
|
471
|
+
# `UpdateLedger` operation to set the flag to `false`.
|
442
472
|
#
|
443
473
|
# @option params [required, String] :name
|
444
474
|
# The name of the ledger that you want to delete.
|
@@ -462,14 +492,23 @@ module Aws::QLDB
|
|
462
492
|
|
463
493
|
# Returns detailed information about a given Amazon QLDB journal stream.
|
464
494
|
# The output includes the Amazon Resource Name (ARN), stream name,
|
465
|
-
# current status, creation time, and the parameters of
|
495
|
+
# current status, creation time, and the parameters of the original
|
466
496
|
# stream creation request.
|
467
497
|
#
|
498
|
+
# This action does not return any expired journal streams. For more
|
499
|
+
# information, see [Expiration for terminal streams][1] in the *Amazon
|
500
|
+
# QLDB Developer Guide*.
|
501
|
+
#
|
502
|
+
#
|
503
|
+
#
|
504
|
+
# [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/streams.create.html#streams.create.states.expiration
|
505
|
+
#
|
468
506
|
# @option params [required, String] :ledger_name
|
469
507
|
# The name of the ledger.
|
470
508
|
#
|
471
509
|
# @option params [required, String] :stream_id
|
472
|
-
# The
|
510
|
+
# The UUID (represented in Base62-encoded text) of the QLDB journal
|
511
|
+
# stream to describe.
|
473
512
|
#
|
474
513
|
# @return [Types::DescribeJournalKinesisStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
475
514
|
#
|
@@ -507,11 +546,11 @@ module Aws::QLDB
|
|
507
546
|
end
|
508
547
|
|
509
548
|
# Returns information about a journal export job, including the ledger
|
510
|
-
# name, export ID,
|
511
|
-
#
|
549
|
+
# name, export ID, creation time, current status, and the parameters of
|
550
|
+
# the original export creation request.
|
512
551
|
#
|
513
552
|
# This action does not return any expired export jobs. For more
|
514
|
-
# information, see [Export
|
553
|
+
# information, see [Export job expiration][1] in the *Amazon QLDB
|
515
554
|
# Developer Guide*.
|
516
555
|
#
|
517
556
|
# If the export job with the given `ExportId` doesn't exist, then
|
@@ -528,7 +567,8 @@ module Aws::QLDB
|
|
528
567
|
# The name of the ledger.
|
529
568
|
#
|
530
569
|
# @option params [required, String] :export_id
|
531
|
-
# The
|
570
|
+
# The UUID (represented in Base62-encoded text) of the journal export
|
571
|
+
# job to describe.
|
532
572
|
#
|
533
573
|
# @return [Types::DescribeJournalS3ExportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
534
574
|
#
|
@@ -576,6 +616,7 @@ module Aws::QLDB
|
|
576
616
|
# * {Types::DescribeLedgerResponse#arn #arn} => String
|
577
617
|
# * {Types::DescribeLedgerResponse#state #state} => String
|
578
618
|
# * {Types::DescribeLedgerResponse#creation_date_time #creation_date_time} => Time
|
619
|
+
# * {Types::DescribeLedgerResponse#permissions_mode #permissions_mode} => String
|
579
620
|
# * {Types::DescribeLedgerResponse#deletion_protection #deletion_protection} => Boolean
|
580
621
|
#
|
581
622
|
# @example Request syntax with placeholder values
|
@@ -590,6 +631,7 @@ module Aws::QLDB
|
|
590
631
|
# resp.arn #=> String
|
591
632
|
# resp.state #=> String, one of "CREATING", "ACTIVE", "DELETING", "DELETED"
|
592
633
|
# resp.creation_date_time #=> Time
|
634
|
+
# resp.permissions_mode #=> String, one of "ALLOW_ALL", "STANDARD"
|
593
635
|
# resp.deletion_protection #=> Boolean
|
594
636
|
#
|
595
637
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/DescribeLedger AWS API Documentation
|
@@ -619,12 +661,12 @@ module Aws::QLDB
|
|
619
661
|
# The name of the ledger.
|
620
662
|
#
|
621
663
|
# @option params [required, Time,DateTime,Date,Integer,String] :inclusive_start_time
|
622
|
-
# The inclusive start date and time for the range of journal contents
|
623
|
-
#
|
664
|
+
# The inclusive start date and time for the range of journal contents to
|
665
|
+
# export.
|
624
666
|
#
|
625
667
|
# The `InclusiveStartTime` must be in `ISO 8601` date and time format
|
626
668
|
# and in Universal Coordinated Time (UTC). For example:
|
627
|
-
# `2019-06-13T21:36:34Z
|
669
|
+
# `2019-06-13T21:36:34Z`.
|
628
670
|
#
|
629
671
|
# The `InclusiveStartTime` must be before `ExclusiveEndTime`.
|
630
672
|
#
|
@@ -633,12 +675,12 @@ module Aws::QLDB
|
|
633
675
|
# `CreationDateTime`.
|
634
676
|
#
|
635
677
|
# @option params [required, Time,DateTime,Date,Integer,String] :exclusive_end_time
|
636
|
-
# The exclusive end date and time for the range of journal contents
|
637
|
-
#
|
678
|
+
# The exclusive end date and time for the range of journal contents to
|
679
|
+
# export.
|
638
680
|
#
|
639
681
|
# The `ExclusiveEndTime` must be in `ISO 8601` date and time format and
|
640
682
|
# in Universal Coordinated Time (UTC). For example:
|
641
|
-
# `2019-06-13T21:36:34Z
|
683
|
+
# `2019-06-13T21:36:34Z`.
|
642
684
|
#
|
643
685
|
# The `ExclusiveEndTime` must be less than or equal to the current UTC
|
644
686
|
# date and time.
|
@@ -718,14 +760,14 @@ module Aws::QLDB
|
|
718
760
|
# The location of the block that you want to request. An address is an
|
719
761
|
# Amazon Ion structure that has two fields: `strandId` and `sequenceNo`.
|
720
762
|
#
|
721
|
-
# For example: `\{strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14\}
|
763
|
+
# For example: `\{strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14\}`.
|
722
764
|
#
|
723
765
|
# @option params [Types::ValueHolder] :digest_tip_address
|
724
766
|
# The latest block location covered by the digest for which to request a
|
725
767
|
# proof. An address is an Amazon Ion structure that has two fields:
|
726
768
|
# `strandId` and `sequenceNo`.
|
727
769
|
#
|
728
|
-
# For example: `\{strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49\}
|
770
|
+
# For example: `\{strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49\}`.
|
729
771
|
#
|
730
772
|
# @return [Types::GetBlockResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
731
773
|
#
|
@@ -802,17 +844,18 @@ module Aws::QLDB
|
|
802
844
|
# is an Amazon Ion structure that has two fields: `strandId` and
|
803
845
|
# `sequenceNo`.
|
804
846
|
#
|
805
|
-
# For example: `\{strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14\}
|
847
|
+
# For example: `\{strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14\}`.
|
806
848
|
#
|
807
849
|
# @option params [required, String] :document_id
|
808
|
-
# The
|
850
|
+
# The UUID (represented in Base62-encoded text) of the document to be
|
851
|
+
# verified.
|
809
852
|
#
|
810
853
|
# @option params [Types::ValueHolder] :digest_tip_address
|
811
854
|
# The latest block location covered by the digest for which to request a
|
812
855
|
# proof. An address is an Amazon Ion structure that has two fields:
|
813
856
|
# `strandId` and `sequenceNo`.
|
814
857
|
#
|
815
|
-
# For example: `\{strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49\}
|
858
|
+
# For example: `\{strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49\}`.
|
816
859
|
#
|
817
860
|
# @return [Types::GetRevisionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
818
861
|
#
|
@@ -850,10 +893,18 @@ module Aws::QLDB
|
|
850
893
|
# given ledger. The output of each stream descriptor includes the same
|
851
894
|
# details that are returned by `DescribeJournalKinesisStream`.
|
852
895
|
#
|
896
|
+
# This action does not return any expired journal streams. For more
|
897
|
+
# information, see [Expiration for terminal streams][1] in the *Amazon
|
898
|
+
# QLDB Developer Guide*.
|
899
|
+
#
|
853
900
|
# This action returns a maximum of `MaxResults` items. It is paginated
|
854
901
|
# so that you can retrieve all the items by calling
|
855
902
|
# `ListJournalKinesisStreamsForLedger` multiple times.
|
856
903
|
#
|
904
|
+
#
|
905
|
+
#
|
906
|
+
# [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/streams.create.html#streams.create.states.expiration
|
907
|
+
#
|
857
908
|
# @option params [required, String] :ledger_name
|
858
909
|
# The name of the ledger.
|
859
910
|
#
|
@@ -917,7 +968,7 @@ module Aws::QLDB
|
|
917
968
|
# `ListJournalS3Exports` multiple times.
|
918
969
|
#
|
919
970
|
# This action does not return any expired export jobs. For more
|
920
|
-
# information, see [Export
|
971
|
+
# information, see [Export job expiration][1] in the *Amazon QLDB
|
921
972
|
# Developer Guide*.
|
922
973
|
#
|
923
974
|
#
|
@@ -982,7 +1033,7 @@ module Aws::QLDB
|
|
982
1033
|
# `ListJournalS3ExportsForLedger` multiple times.
|
983
1034
|
#
|
984
1035
|
# This action does not return any expired export jobs. For more
|
985
|
-
# information, see [Export
|
1036
|
+
# information, see [Export job expiration][1] in the *Amazon QLDB
|
986
1037
|
# Developer Guide*.
|
987
1038
|
#
|
988
1039
|
#
|
@@ -1094,8 +1145,8 @@ module Aws::QLDB
|
|
1094
1145
|
# Returns all tags for a specified Amazon QLDB resource.
|
1095
1146
|
#
|
1096
1147
|
# @option params [required, String] :resource_arn
|
1097
|
-
# The Amazon Resource Name (ARN) for which
|
1098
|
-
#
|
1148
|
+
# The Amazon Resource Name (ARN) for which to list the tags. For
|
1149
|
+
# example:
|
1099
1150
|
#
|
1100
1151
|
# `arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger`
|
1101
1152
|
#
|
@@ -1145,7 +1196,7 @@ module Aws::QLDB
|
|
1145
1196
|
# The inclusive start date and time from which to start streaming
|
1146
1197
|
# journal data. This parameter must be in `ISO 8601` date and time
|
1147
1198
|
# format and in Universal Coordinated Time (UTC). For example:
|
1148
|
-
# `2019-06-13T21:36:34Z
|
1199
|
+
# `2019-06-13T21:36:34Z`.
|
1149
1200
|
#
|
1150
1201
|
# The `InclusiveStartTime` cannot be in the future and must be before
|
1151
1202
|
# `ExclusiveEndTime`.
|
@@ -1161,7 +1212,7 @@ module Aws::QLDB
|
|
1161
1212
|
#
|
1162
1213
|
# The `ExclusiveEndTime` must be in `ISO 8601` date and time format and
|
1163
1214
|
# in Universal Coordinated Time (UTC). For example:
|
1164
|
-
# `2019-06-13T21:36:34Z
|
1215
|
+
# `2019-06-13T21:36:34Z`.
|
1165
1216
|
#
|
1166
1217
|
# @option params [required, Types::KinesisConfiguration] :kinesis_configuration
|
1167
1218
|
# The configuration settings of the Kinesis Data Streams destination for
|
@@ -1256,13 +1307,13 @@ module Aws::QLDB
|
|
1256
1307
|
# can specify up to 50 tag keys to remove.
|
1257
1308
|
#
|
1258
1309
|
# @option params [required, String] :resource_arn
|
1259
|
-
# The Amazon Resource Name (ARN) from which
|
1260
|
-
#
|
1310
|
+
# The Amazon Resource Name (ARN) from which to remove the tags. For
|
1311
|
+
# example:
|
1261
1312
|
#
|
1262
1313
|
# `arn:aws:qldb:us-east-1:123456789012:ledger/exampleLedger`
|
1263
1314
|
#
|
1264
1315
|
# @option params [required, Array<String>] :tag_keys
|
1265
|
-
# The list of tag keys
|
1316
|
+
# The list of tag keys to remove.
|
1266
1317
|
#
|
1267
1318
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1268
1319
|
#
|
@@ -1293,10 +1344,8 @@ module Aws::QLDB
|
|
1293
1344
|
# default.
|
1294
1345
|
#
|
1295
1346
|
# If deletion protection is enabled, you must first disable it before
|
1296
|
-
# you can delete the ledger
|
1297
|
-
#
|
1298
|
-
# operation to set the flag to `false`. The QLDB console disables
|
1299
|
-
# deletion protection for you when you use it to delete a ledger.
|
1347
|
+
# you can delete the ledger. You can disable it by calling the
|
1348
|
+
# `UpdateLedger` operation to set the flag to `false`.
|
1300
1349
|
#
|
1301
1350
|
# @return [Types::UpdateLedgerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1302
1351
|
#
|
@@ -1330,6 +1379,82 @@ module Aws::QLDB
|
|
1330
1379
|
req.send_request(options)
|
1331
1380
|
end
|
1332
1381
|
|
1382
|
+
# Updates the permissions mode of a ledger.
|
1383
|
+
#
|
1384
|
+
# Before you switch to the `STANDARD` permissions mode, you must first
|
1385
|
+
# create all required IAM policies and table tags to avoid disruption to
|
1386
|
+
# your users. To learn more, see [Migrating to the standard permissions
|
1387
|
+
# mode][1] in the *Amazon QLDB Developer Guide*.
|
1388
|
+
#
|
1389
|
+
#
|
1390
|
+
#
|
1391
|
+
# [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/ledger-management.basics.html#ledger-mgmt.basics.update-permissions.migrating
|
1392
|
+
#
|
1393
|
+
# @option params [required, String] :name
|
1394
|
+
# The name of the ledger.
|
1395
|
+
#
|
1396
|
+
# @option params [required, String] :permissions_mode
|
1397
|
+
# The permissions mode to assign to the ledger. This parameter can have
|
1398
|
+
# one of the following values:
|
1399
|
+
#
|
1400
|
+
# * `ALLOW_ALL`\: A legacy permissions mode that enables access control
|
1401
|
+
# with API-level granularity for ledgers.
|
1402
|
+
#
|
1403
|
+
# This mode allows users who have the `SendCommand` API permission for
|
1404
|
+
# this ledger to run all PartiQL commands (hence, `ALLOW_ALL`) on any
|
1405
|
+
# tables in the specified ledger. This mode disregards any table-level
|
1406
|
+
# or command-level IAM permissions policies that you create for the
|
1407
|
+
# ledger.
|
1408
|
+
#
|
1409
|
+
# * `STANDARD`\: (*Recommended*) A permissions mode that enables access
|
1410
|
+
# control with finer granularity for ledgers, tables, and PartiQL
|
1411
|
+
# commands.
|
1412
|
+
#
|
1413
|
+
# By default, this mode denies all user requests to run any PartiQL
|
1414
|
+
# commands on any tables in this ledger. To allow PartiQL commands to
|
1415
|
+
# run, you must create IAM permissions policies for specific table
|
1416
|
+
# resources and PartiQL actions, in addition to the `SendCommand` API
|
1417
|
+
# permission for the ledger. For information, see [Getting started
|
1418
|
+
# with the standard permissions mode][1] in the *Amazon QLDB Developer
|
1419
|
+
# Guide*.
|
1420
|
+
#
|
1421
|
+
# <note markdown="1"> We strongly recommend using the `STANDARD` permissions mode to
|
1422
|
+
# maximize the security of your ledger data.
|
1423
|
+
#
|
1424
|
+
# </note>
|
1425
|
+
#
|
1426
|
+
#
|
1427
|
+
#
|
1428
|
+
# [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/getting-started-standard-mode.html
|
1429
|
+
#
|
1430
|
+
# @return [Types::UpdateLedgerPermissionsModeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1431
|
+
#
|
1432
|
+
# * {Types::UpdateLedgerPermissionsModeResponse#name #name} => String
|
1433
|
+
# * {Types::UpdateLedgerPermissionsModeResponse#arn #arn} => String
|
1434
|
+
# * {Types::UpdateLedgerPermissionsModeResponse#permissions_mode #permissions_mode} => String
|
1435
|
+
#
|
1436
|
+
# @example Request syntax with placeholder values
|
1437
|
+
#
|
1438
|
+
# resp = client.update_ledger_permissions_mode({
|
1439
|
+
# name: "LedgerName", # required
|
1440
|
+
# permissions_mode: "ALLOW_ALL", # required, accepts ALLOW_ALL, STANDARD
|
1441
|
+
# })
|
1442
|
+
#
|
1443
|
+
# @example Response structure
|
1444
|
+
#
|
1445
|
+
# resp.name #=> String
|
1446
|
+
# resp.arn #=> String
|
1447
|
+
# resp.permissions_mode #=> String, one of "ALLOW_ALL", "STANDARD"
|
1448
|
+
#
|
1449
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/UpdateLedgerPermissionsMode AWS API Documentation
|
1450
|
+
#
|
1451
|
+
# @overload update_ledger_permissions_mode(params = {})
|
1452
|
+
# @param [Hash] params ({})
|
1453
|
+
def update_ledger_permissions_mode(params = {}, options = {})
|
1454
|
+
req = build_request(:update_ledger_permissions_mode, params)
|
1455
|
+
req.send_request(options)
|
1456
|
+
end
|
1457
|
+
|
1333
1458
|
# @!endgroup
|
1334
1459
|
|
1335
1460
|
# @param params ({})
|
@@ -1343,7 +1468,7 @@ module Aws::QLDB
|
|
1343
1468
|
params: params,
|
1344
1469
|
config: config)
|
1345
1470
|
context[:gem_name] = 'aws-sdk-qldb'
|
1346
|
-
context[:gem_version] = '1.
|
1471
|
+
context[:gem_version] = '1.15.0'
|
1347
1472
|
Seahorse::Client::Request.new(handlers, context)
|
1348
1473
|
end
|
1349
1474
|
|