aws-sdk-qldbsession 1.8.0 → 1.13.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: 681d2bda4d892267b27210ba502fe1bbb43ab856af8251f69c437b3e0e8e5714
4
- data.tar.gz: c65b2f2c006b2ac83bbc370b169994f46f2d0633f794da0522327d07b54b6ad8
3
+ metadata.gz: 409ae18af91211154fec472c546a5e66ce60143acc3fab7b70365467ca462037
4
+ data.tar.gz: d99660423861a0f53ded8581c8d3d2b9303d3a7baccff04ce49ba4ea34da10c7
5
5
  SHA512:
6
- metadata.gz: 9336ac2fc650cf17e8865bebfd0a7dcfccc1c4b540ddf2416bfeefb07ed824d3860a79330e011c83a31485f3837280e32a3cfe5795c299c5403e30f4ab86ded5
7
- data.tar.gz: 6eb5a12fd4716ad1e9aeb8246d443e3cfa33783431b60d045c87a018fa9d82f6d2a5f1d24a587a2f6529bc1890fb1d1c20ac1a62a285dfcfed6ce642f07babf0
6
+ metadata.gz: 0a3a48192ebd0a562bf448f474fed2a2ea00db4065f14e100ed97768ee129ec1d860658b7bb053675dc6e54f381a5b90740f7448db46c52e56176ac603fd9bbc
7
+ data.tar.gz: ffbc53f1cb1f46a4e715d6ca10b7fe408eddce37a47044df1126d5506c805a55a6c9c8a10b5dec59d3a5e8e2a76ef9f9d14efa209001998a02f14d2ec4c04228
data/CHANGELOG.md ADDED
@@ -0,0 +1,78 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.13.0 (2021-03-10)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.12.0 (2021-02-09)
10
+ ------------------
11
+
12
+ * Feature - This release adds CapacityExceededException to the AWS QLDBSession API.
13
+
14
+ 1.11.0 (2021-02-02)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.10.0 (2020-12-21)
20
+ ------------------
21
+
22
+ * Feature - Adds "TimingInformation" to all SendCommand API results and "IOUsage" to ExecuteStatementResult, FetchPageResult and CommitTransactionResult.
23
+
24
+ 1.9.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.8.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.7.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.6.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.5.1 (2020-06-11)
45
+ ------------------
46
+
47
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
48
+
49
+ 1.5.0 (2020-06-10)
50
+ ------------------
51
+
52
+ * Issue - This version has been yanked. (#2327).
53
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
54
+
55
+ 1.4.0 (2020-05-28)
56
+ ------------------
57
+
58
+ * Feature - Documentation updates for Amazon QLDB Session
59
+
60
+ 1.3.0 (2020-05-07)
61
+ ------------------
62
+
63
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
64
+
65
+ 1.2.0 (2020-03-09)
66
+ ------------------
67
+
68
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
69
+
70
+ 1.1.0 (2019-10-23)
71
+ ------------------
72
+
73
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
74
+
75
+ 1.0.0 (2019-09-09)
76
+ ------------------
77
+
78
+ * Feature - Initial release of `aws-sdk-qldbsession`.
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.13.0
@@ -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/master/CONTRIBUTING.md
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-qldbsession/customizations'
48
48
  # @!group service
49
49
  module Aws::QLDBSession
50
50
 
51
- GEM_VERSION = '1.8.0'
51
+ GEM_VERSION = '1.13.0'
52
52
 
53
53
  end
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -339,21 +339,21 @@ module Aws::QLDBSession
339
339
 
340
340
  # Sends a command to an Amazon QLDB ledger.
341
341
  #
342
- # <note markdown="1"> Instead of interacting directly with this API, we recommend that you
343
- # use the Amazon QLDB Driver or the QLDB Shell to execute data
344
- # transactions on a ledger.
342
+ # <note markdown="1"> Instead of interacting directly with this API, we recommend using the
343
+ # QLDB driver or the QLDB shell to execute data transactions on a
344
+ # ledger.
345
345
  #
346
- # * If you are working with an AWS SDK, use the QLDB Driver. The driver
347
- # provides a high-level abstraction layer above this `qldbsession`
346
+ # * If you are working with an AWS SDK, use the QLDB driver. The driver
347
+ # provides a high-level abstraction layer above this *QLDB Session*
348
348
  # data plane and manages `SendCommand` API calls for you. For
349
349
  # information and a list of supported programming languages, see
350
350
  # [Getting started with the driver][1] in the *Amazon QLDB Developer
351
351
  # Guide*.
352
352
  #
353
353
  # * If you are working with the AWS Command Line Interface (AWS CLI),
354
- # use the QLDB Shell. The shell is a command line interface that uses
355
- # the QLDB Driver to interact with a ledger. For information, see
356
- # [Accessing Amazon QLDB using the QLDB Shell][2].
354
+ # use the QLDB shell. The shell is a command line interface that uses
355
+ # the QLDB driver to interact with a ledger. For information, see
356
+ # [Accessing Amazon QLDB using the QLDB shell][2].
357
357
  #
358
358
  # </note>
359
359
  #
@@ -438,17 +438,30 @@ module Aws::QLDBSession
438
438
  # @example Response structure
439
439
  #
440
440
  # resp.start_session.session_token #=> String
441
+ # resp.start_session.timing_information.processing_time_milliseconds #=> Integer
441
442
  # resp.start_transaction.transaction_id #=> String
443
+ # resp.start_transaction.timing_information.processing_time_milliseconds #=> Integer
444
+ # resp.end_session.timing_information.processing_time_milliseconds #=> Integer
442
445
  # resp.commit_transaction.transaction_id #=> String
443
446
  # resp.commit_transaction.commit_digest #=> String
447
+ # resp.commit_transaction.timing_information.processing_time_milliseconds #=> Integer
448
+ # resp.commit_transaction.consumed_i_os.read_i_os #=> Integer
449
+ # resp.commit_transaction.consumed_i_os.write_i_os #=> Integer
450
+ # resp.abort_transaction.timing_information.processing_time_milliseconds #=> Integer
444
451
  # resp.execute_statement.first_page.values #=> Array
445
452
  # resp.execute_statement.first_page.values[0].ion_binary #=> String
446
453
  # resp.execute_statement.first_page.values[0].ion_text #=> String
447
454
  # resp.execute_statement.first_page.next_page_token #=> String
455
+ # resp.execute_statement.timing_information.processing_time_milliseconds #=> Integer
456
+ # resp.execute_statement.consumed_i_os.read_i_os #=> Integer
457
+ # resp.execute_statement.consumed_i_os.write_i_os #=> Integer
448
458
  # resp.fetch_page.page.values #=> Array
449
459
  # resp.fetch_page.page.values[0].ion_binary #=> String
450
460
  # resp.fetch_page.page.values[0].ion_text #=> String
451
461
  # resp.fetch_page.page.next_page_token #=> String
462
+ # resp.fetch_page.timing_information.processing_time_milliseconds #=> Integer
463
+ # resp.fetch_page.consumed_i_os.read_i_os #=> Integer
464
+ # resp.fetch_page.consumed_i_os.write_i_os #=> Integer
452
465
  #
453
466
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/SendCommand AWS API Documentation
454
467
  #
@@ -472,7 +485,7 @@ module Aws::QLDBSession
472
485
  params: params,
473
486
  config: config)
474
487
  context[:gem_name] = 'aws-sdk-qldbsession'
475
- context[:gem_version] = '1.8.0'
488
+ context[:gem_version] = '1.13.0'
476
489
  Seahorse::Client::Request.new(handlers, context)
477
490
  end
478
491
 
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -16,6 +16,7 @@ module Aws::QLDBSession
16
16
  AbortTransactionRequest = Shapes::StructureShape.new(name: 'AbortTransactionRequest')
17
17
  AbortTransactionResult = Shapes::StructureShape.new(name: 'AbortTransactionResult')
18
18
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
19
+ CapacityExceededException = Shapes::StructureShape.new(name: 'CapacityExceededException')
19
20
  CommitDigest = Shapes::BlobShape.new(name: 'CommitDigest')
20
21
  CommitTransactionRequest = Shapes::StructureShape.new(name: 'CommitTransactionRequest')
21
22
  CommitTransactionResult = Shapes::StructureShape.new(name: 'CommitTransactionResult')
@@ -27,6 +28,7 @@ module Aws::QLDBSession
27
28
  ExecuteStatementResult = Shapes::StructureShape.new(name: 'ExecuteStatementResult')
28
29
  FetchPageRequest = Shapes::StructureShape.new(name: 'FetchPageRequest')
29
30
  FetchPageResult = Shapes::StructureShape.new(name: 'FetchPageResult')
31
+ IOUsage = Shapes::StructureShape.new(name: 'IOUsage')
30
32
  InvalidSessionException = Shapes::StructureShape.new(name: 'InvalidSessionException')
31
33
  IonBinary = Shapes::BlobShape.new(name: 'IonBinary')
32
34
  IonText = Shapes::StringShape.new(name: 'IonText')
@@ -35,7 +37,9 @@ module Aws::QLDBSession
35
37
  OccConflictException = Shapes::StructureShape.new(name: 'OccConflictException')
36
38
  Page = Shapes::StructureShape.new(name: 'Page')
37
39
  PageToken = Shapes::StringShape.new(name: 'PageToken')
40
+ ProcessingTimeMilliseconds = Shapes::IntegerShape.new(name: 'ProcessingTimeMilliseconds')
38
41
  RateExceededException = Shapes::StructureShape.new(name: 'RateExceededException')
42
+ ReadIOs = Shapes::IntegerShape.new(name: 'ReadIOs')
39
43
  SendCommandRequest = Shapes::StructureShape.new(name: 'SendCommandRequest')
40
44
  SendCommandResult = Shapes::StructureShape.new(name: 'SendCommandResult')
41
45
  SessionToken = Shapes::StringShape.new(name: 'SessionToken')
@@ -45,28 +49,37 @@ module Aws::QLDBSession
45
49
  StartTransactionResult = Shapes::StructureShape.new(name: 'StartTransactionResult')
46
50
  Statement = Shapes::StringShape.new(name: 'Statement')
47
51
  StatementParameters = Shapes::ListShape.new(name: 'StatementParameters')
52
+ TimingInformation = Shapes::StructureShape.new(name: 'TimingInformation')
48
53
  TransactionId = Shapes::StringShape.new(name: 'TransactionId')
49
54
  ValueHolder = Shapes::StructureShape.new(name: 'ValueHolder')
50
55
  ValueHolders = Shapes::ListShape.new(name: 'ValueHolders')
56
+ WriteIOs = Shapes::IntegerShape.new(name: 'WriteIOs')
51
57
 
52
58
  AbortTransactionRequest.struct_class = Types::AbortTransactionRequest
53
59
 
60
+ AbortTransactionResult.add_member(:timing_information, Shapes::ShapeRef.new(shape: TimingInformation, location_name: "TimingInformation"))
54
61
  AbortTransactionResult.struct_class = Types::AbortTransactionResult
55
62
 
56
63
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
57
64
  BadRequestException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
58
65
  BadRequestException.struct_class = Types::BadRequestException
59
66
 
67
+ CapacityExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
68
+ CapacityExceededException.struct_class = Types::CapacityExceededException
69
+
60
70
  CommitTransactionRequest.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionId, required: true, location_name: "TransactionId"))
61
71
  CommitTransactionRequest.add_member(:commit_digest, Shapes::ShapeRef.new(shape: CommitDigest, required: true, location_name: "CommitDigest"))
62
72
  CommitTransactionRequest.struct_class = Types::CommitTransactionRequest
63
73
 
64
74
  CommitTransactionResult.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionId, location_name: "TransactionId"))
65
75
  CommitTransactionResult.add_member(:commit_digest, Shapes::ShapeRef.new(shape: CommitDigest, location_name: "CommitDigest"))
76
+ CommitTransactionResult.add_member(:timing_information, Shapes::ShapeRef.new(shape: TimingInformation, location_name: "TimingInformation"))
77
+ CommitTransactionResult.add_member(:consumed_i_os, Shapes::ShapeRef.new(shape: IOUsage, location_name: "ConsumedIOs"))
66
78
  CommitTransactionResult.struct_class = Types::CommitTransactionResult
67
79
 
68
80
  EndSessionRequest.struct_class = Types::EndSessionRequest
69
81
 
82
+ EndSessionResult.add_member(:timing_information, Shapes::ShapeRef.new(shape: TimingInformation, location_name: "TimingInformation"))
70
83
  EndSessionResult.struct_class = Types::EndSessionResult
71
84
 
72
85
  ExecuteStatementRequest.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionId, required: true, location_name: "TransactionId"))
@@ -75,6 +88,8 @@ module Aws::QLDBSession
75
88
  ExecuteStatementRequest.struct_class = Types::ExecuteStatementRequest
76
89
 
77
90
  ExecuteStatementResult.add_member(:first_page, Shapes::ShapeRef.new(shape: Page, location_name: "FirstPage"))
91
+ ExecuteStatementResult.add_member(:timing_information, Shapes::ShapeRef.new(shape: TimingInformation, location_name: "TimingInformation"))
92
+ ExecuteStatementResult.add_member(:consumed_i_os, Shapes::ShapeRef.new(shape: IOUsage, location_name: "ConsumedIOs"))
78
93
  ExecuteStatementResult.struct_class = Types::ExecuteStatementResult
79
94
 
80
95
  FetchPageRequest.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionId, required: true, location_name: "TransactionId"))
@@ -82,8 +97,14 @@ module Aws::QLDBSession
82
97
  FetchPageRequest.struct_class = Types::FetchPageRequest
83
98
 
84
99
  FetchPageResult.add_member(:page, Shapes::ShapeRef.new(shape: Page, location_name: "Page"))
100
+ FetchPageResult.add_member(:timing_information, Shapes::ShapeRef.new(shape: TimingInformation, location_name: "TimingInformation"))
101
+ FetchPageResult.add_member(:consumed_i_os, Shapes::ShapeRef.new(shape: IOUsage, location_name: "ConsumedIOs"))
85
102
  FetchPageResult.struct_class = Types::FetchPageResult
86
103
 
104
+ IOUsage.add_member(:read_i_os, Shapes::ShapeRef.new(shape: ReadIOs, location_name: "ReadIOs"))
105
+ IOUsage.add_member(:write_i_os, Shapes::ShapeRef.new(shape: WriteIOs, location_name: "WriteIOs"))
106
+ IOUsage.struct_class = Types::IOUsage
107
+
87
108
  InvalidSessionException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
88
109
  InvalidSessionException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
89
110
  InvalidSessionException.struct_class = Types::InvalidSessionException
@@ -124,15 +145,20 @@ module Aws::QLDBSession
124
145
  StartSessionRequest.struct_class = Types::StartSessionRequest
125
146
 
126
147
  StartSessionResult.add_member(:session_token, Shapes::ShapeRef.new(shape: SessionToken, location_name: "SessionToken"))
148
+ StartSessionResult.add_member(:timing_information, Shapes::ShapeRef.new(shape: TimingInformation, location_name: "TimingInformation"))
127
149
  StartSessionResult.struct_class = Types::StartSessionResult
128
150
 
129
151
  StartTransactionRequest.struct_class = Types::StartTransactionRequest
130
152
 
131
153
  StartTransactionResult.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionId, location_name: "TransactionId"))
154
+ StartTransactionResult.add_member(:timing_information, Shapes::ShapeRef.new(shape: TimingInformation, location_name: "TimingInformation"))
132
155
  StartTransactionResult.struct_class = Types::StartTransactionResult
133
156
 
134
157
  StatementParameters.member = Shapes::ShapeRef.new(shape: ValueHolder)
135
158
 
159
+ TimingInformation.add_member(:processing_time_milliseconds, Shapes::ShapeRef.new(shape: ProcessingTimeMilliseconds, location_name: "ProcessingTimeMilliseconds"))
160
+ TimingInformation.struct_class = Types::TimingInformation
161
+
136
162
  ValueHolder.add_member(:ion_binary, Shapes::ShapeRef.new(shape: IonBinary, location_name: "IonBinary"))
137
163
  ValueHolder.add_member(:ion_text, Shapes::ShapeRef.new(shape: IonText, location_name: "IonText"))
138
164
  ValueHolder.struct_class = Types::ValueHolder
@@ -170,6 +196,7 @@ module Aws::QLDBSession
170
196
  o.errors << Shapes::ShapeRef.new(shape: OccConflictException)
171
197
  o.errors << Shapes::ShapeRef.new(shape: RateExceededException)
172
198
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
199
+ o.errors << Shapes::ShapeRef.new(shape: CapacityExceededException)
173
200
  end)
174
201
  end
175
202
 
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -28,6 +28,7 @@ module Aws::QLDBSession
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {BadRequestException}
31
+ # * {CapacityExceededException}
31
32
  # * {InvalidSessionException}
32
33
  # * {LimitExceededException}
33
34
  # * {OccConflictException}
@@ -59,6 +60,21 @@ module Aws::QLDBSession
59
60
  end
60
61
  end
61
62
 
63
+ class CapacityExceededException < ServiceError
64
+
65
+ # @param [Seahorse::Client::RequestContext] context
66
+ # @param [String] message
67
+ # @param [Aws::QLDBSession::Types::CapacityExceededException] data
68
+ def initialize(context, message, data = Aws::EmptyStructure.new)
69
+ super(context, message, data)
70
+ end
71
+
72
+ # @return [String]
73
+ def message
74
+ @message || @data[:message]
75
+ end
76
+ end
77
+
62
78
  class InvalidSessionException < ServiceError
63
79
 
64
80
  # @param [Seahorse::Client::RequestContext] context
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -20,9 +20,17 @@ module Aws::QLDBSession
20
20
 
21
21
  # Contains the details of the aborted transaction.
22
22
  #
23
+ # @!attribute [rw] timing_information
24
+ # Contains server-side performance information for the command.
25
+ # @return [Types::TimingInformation]
26
+ #
23
27
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/AbortTransactionResult AWS API Documentation
24
28
  #
25
- class AbortTransactionResult < Aws::EmptyStructure; end
29
+ class AbortTransactionResult < Struct.new(
30
+ :timing_information)
31
+ SENSITIVE = []
32
+ include Aws::Structure
33
+ end
26
34
 
27
35
  # Returned if the request is malformed or contains an error such as an
28
36
  # invalid parameter value or a missing required parameter.
@@ -42,6 +50,20 @@ module Aws::QLDBSession
42
50
  include Aws::Structure
43
51
  end
44
52
 
53
+ # Returned when the request exceeds the processing capacity of the
54
+ # ledger.
55
+ #
56
+ # @!attribute [rw] message
57
+ # @return [String]
58
+ #
59
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/CapacityExceededException AWS API Documentation
60
+ #
61
+ class CapacityExceededException < Struct.new(
62
+ :message)
63
+ SENSITIVE = []
64
+ include Aws::Structure
65
+ end
66
+
45
67
  # Contains the details of the transaction to commit.
46
68
  #
47
69
  # @note When making an API call, you may pass CommitTransactionRequest
@@ -61,6 +83,11 @@ module Aws::QLDBSession
61
83
  # active transaction, the commit digest must be passed. QLDB validates
62
84
  # `CommitDigest` and rejects the commit with an error if the digest
63
85
  # computed on the client does not match the digest computed by QLDB.
86
+ #
87
+ # The purpose of the `CommitDigest` parameter is to ensure that QLDB
88
+ # commits a transaction if and only if the server has processed the
89
+ # exact set of statements sent by the client, in the same order that
90
+ # client sent them, and with no duplicates.
64
91
  # @return [String]
65
92
  #
66
93
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/CommitTransactionRequest AWS API Documentation
@@ -82,11 +109,22 @@ module Aws::QLDBSession
82
109
  # The commit digest of the committed transaction.
83
110
  # @return [String]
84
111
  #
112
+ # @!attribute [rw] timing_information
113
+ # Contains server-side performance information for the command.
114
+ # @return [Types::TimingInformation]
115
+ #
116
+ # @!attribute [rw] consumed_i_os
117
+ # Contains metrics about the number of I/O requests that were
118
+ # consumed.
119
+ # @return [Types::IOUsage]
120
+ #
85
121
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/CommitTransactionResult AWS API Documentation
86
122
  #
87
123
  class CommitTransactionResult < Struct.new(
88
124
  :transaction_id,
89
- :commit_digest)
125
+ :commit_digest,
126
+ :timing_information,
127
+ :consumed_i_os)
90
128
  SENSITIVE = []
91
129
  include Aws::Structure
92
130
  end
@@ -101,9 +139,17 @@ module Aws::QLDBSession
101
139
 
102
140
  # Contains the details of the ended session.
103
141
  #
142
+ # @!attribute [rw] timing_information
143
+ # Contains server-side performance information for the command.
144
+ # @return [Types::TimingInformation]
145
+ #
104
146
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/EndSessionResult AWS API Documentation
105
147
  #
106
- class EndSessionResult < Aws::EmptyStructure; end
148
+ class EndSessionResult < Struct.new(
149
+ :timing_information)
150
+ SENSITIVE = []
151
+ include Aws::Structure
152
+ end
107
153
 
108
154
  # Specifies a request to execute a statement.
109
155
  #
@@ -150,10 +196,21 @@ module Aws::QLDBSession
150
196
  # Contains the details of the first fetched page.
151
197
  # @return [Types::Page]
152
198
  #
199
+ # @!attribute [rw] timing_information
200
+ # Contains server-side performance information for the command.
201
+ # @return [Types::TimingInformation]
202
+ #
203
+ # @!attribute [rw] consumed_i_os
204
+ # Contains metrics about the number of I/O requests that were
205
+ # consumed.
206
+ # @return [Types::IOUsage]
207
+ #
153
208
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/ExecuteStatementResult AWS API Documentation
154
209
  #
155
210
  class ExecuteStatementResult < Struct.new(
156
- :first_page)
211
+ :first_page,
212
+ :timing_information,
213
+ :consumed_i_os)
157
214
  SENSITIVE = []
158
215
  include Aws::Structure
159
216
  end
@@ -191,10 +248,40 @@ module Aws::QLDBSession
191
248
  # Contains details of the fetched page.
192
249
  # @return [Types::Page]
193
250
  #
251
+ # @!attribute [rw] timing_information
252
+ # Contains server-side performance information for the command.
253
+ # @return [Types::TimingInformation]
254
+ #
255
+ # @!attribute [rw] consumed_i_os
256
+ # Contains metrics about the number of I/O requests that were
257
+ # consumed.
258
+ # @return [Types::IOUsage]
259
+ #
194
260
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/FetchPageResult AWS API Documentation
195
261
  #
196
262
  class FetchPageResult < Struct.new(
197
- :page)
263
+ :page,
264
+ :timing_information,
265
+ :consumed_i_os)
266
+ SENSITIVE = []
267
+ include Aws::Structure
268
+ end
269
+
270
+ # Contains I/O usage metrics for a command that was invoked.
271
+ #
272
+ # @!attribute [rw] read_i_os
273
+ # The number of read I/O requests that the command made.
274
+ # @return [Integer]
275
+ #
276
+ # @!attribute [rw] write_i_os
277
+ # The number of write I/O requests that the command made.
278
+ # @return [Integer]
279
+ #
280
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/IOUsage AWS API Documentation
281
+ #
282
+ class IOUsage < Struct.new(
283
+ :read_i_os,
284
+ :write_i_os)
198
285
  SENSITIVE = []
199
286
  include Aws::Structure
200
287
  end
@@ -438,10 +525,15 @@ module Aws::QLDBSession
438
525
  # current session.
439
526
  # @return [String]
440
527
  #
528
+ # @!attribute [rw] timing_information
529
+ # Contains server-side performance information for the command.
530
+ # @return [Types::TimingInformation]
531
+ #
441
532
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/StartSessionResult AWS API Documentation
442
533
  #
443
534
  class StartSessionResult < Struct.new(
444
- :session_token)
535
+ :session_token,
536
+ :timing_information)
445
537
  SENSITIVE = []
446
538
  include Aws::Structure
447
539
  end
@@ -460,16 +552,37 @@ module Aws::QLDBSession
460
552
  # The transaction ID of the started transaction.
461
553
  # @return [String]
462
554
  #
555
+ # @!attribute [rw] timing_information
556
+ # Contains server-side performance information for the command.
557
+ # @return [Types::TimingInformation]
558
+ #
463
559
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/StartTransactionResult AWS API Documentation
464
560
  #
465
561
  class StartTransactionResult < Struct.new(
466
- :transaction_id)
562
+ :transaction_id,
563
+ :timing_information)
564
+ SENSITIVE = []
565
+ include Aws::Structure
566
+ end
567
+
568
+ # Contains server-side performance information for a command. Amazon
569
+ # QLDB captures timing information between the times when it receives
570
+ # the request and when it sends the corresponding response.
571
+ #
572
+ # @!attribute [rw] processing_time_milliseconds
573
+ # The amount of time that QLDB spent on processing the command,
574
+ # measured in milliseconds.
575
+ # @return [Integer]
576
+ #
577
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/TimingInformation AWS API Documentation
578
+ #
579
+ class TimingInformation < Struct.new(
580
+ :processing_time_milliseconds)
467
581
  SENSITIVE = []
468
582
  include Aws::Structure
469
583
  end
470
584
 
471
- # A structure that can contain an Amazon Ion value in multiple encoding
472
- # formats.
585
+ # A structure that can contain a value in multiple encoding formats.
473
586
  #
474
587
  # @note When making an API call, you may pass ValueHolder
475
588
  # data as a hash:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-qldbsession
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.13.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: 2020-09-15 00:00:00.000000000 Z
11
+ date: 2021-03-10 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.99.0
22
+ version: 3.112.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.99.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -47,11 +47,14 @@ dependencies:
47
47
  description: Official AWS Ruby gem for Amazon QLDB Session (QLDB Session). This gem
48
48
  is part of the AWS SDK for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-qldbsession.rb
56
59
  - lib/aws-sdk-qldbsession/client.rb
57
60
  - lib/aws-sdk-qldbsession/client_api.rb