aws-sdk-qldbsession 1.5.1 → 1.10.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: 4de43ed0fa7cd7a33095fe7b3cbcae4306a8b5f59f2de1df0ea02924aad81f55
4
- data.tar.gz: 160dec99182489e972de822c9421738e887fcc90d50416e421f8ac4fb6543513
3
+ metadata.gz: 710fd3318deb87e84c07700d34a68460ee44e6d518d4905e899bd36a97ff2edd
4
+ data.tar.gz: c4e979616b0af416efd0d0e2075adb32208d1a56c9764f718599e7f7c8f9c111
5
5
  SHA512:
6
- metadata.gz: b5909be9378d802d38bee8dd4ded509d376aedb31a970fdf67caacfbd3b472ad20dfff0a0466d031f5ce6e77bf84862bb544a20b118ac9f6c976910e4f437f49
7
- data.tar.gz: fcc108ddb1291b35c37d931aa516a39913a14b9c4ac4939d10fe6bb69193a13b170d386aa84a0acf0448d6c64663312e52bbc7ac4583df1e3e6064417fb3b706
6
+ metadata.gz: d8eb4be2d07794b2ef2ab1cae80b24709ad33a695bf5df6f42aba430ff95e30dcef0273aba8e318dfb40adbff7eb7647c9c465f7f1edd3088550c538bd866e71
7
+ data.tar.gz: dd32c69c68812db8f197e4c02e5f39b5c045a08029f9f9fb95635055140c49188f84aba6e9fd7beb6db087691738e5e5d5f11ce39c991663c4e152fcd8214367
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -5,6 +7,7 @@
5
7
  #
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
10
+
8
11
  require 'aws-sdk-core'
9
12
  require 'aws-sigv4'
10
13
 
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-qldbsession/customizations'
42
45
  #
43
46
  # See {Errors} for more information.
44
47
  #
45
- # @service
48
+ # @!group service
46
49
  module Aws::QLDBSession
47
50
 
48
- GEM_VERSION = '1.5.1'
51
+ GEM_VERSION = '1.10.0'
49
52
 
50
53
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -83,13 +85,28 @@ module Aws::QLDBSession
83
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
84
86
  # credentials.
85
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
86
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
87
103
  # from an EC2 IMDS on an EC2 instance.
88
104
  #
89
- # * `Aws::SharedCredentials` - Used for loading credentials from a
90
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
91
107
  #
92
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
93
110
  #
94
111
  # When `:credentials` are not configured directly, the following
95
112
  # locations will be searched for credentials:
@@ -99,10 +116,10 @@ module Aws::QLDBSession
99
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
100
117
  # * `~/.aws/credentials`
101
118
  # * `~/.aws/config`
102
- # * EC2 IMDS instance profile - When used by default, the timeouts are
103
- # very aggressive. Construct and pass an instance of
104
- # `Aws::InstanceProfileCredentails` to enable retries and extended
105
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
106
123
  #
107
124
  # @option options [required, String] :region
108
125
  # The AWS region to connect to. The configured `:region` is
@@ -322,21 +339,21 @@ module Aws::QLDBSession
322
339
 
323
340
  # Sends a command to an Amazon QLDB ledger.
324
341
  #
325
- # <note markdown="1"> Instead of interacting directly with this API, we recommend that you
326
- # use the Amazon QLDB Driver or the QLDB Shell to execute data
327
- # 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.
328
345
  #
329
- # * If you are working with an AWS SDK, use the QLDB Driver. The driver
330
- # 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*
331
348
  # data plane and manages `SendCommand` API calls for you. For
332
349
  # information and a list of supported programming languages, see
333
350
  # [Getting started with the driver][1] in the *Amazon QLDB Developer
334
351
  # Guide*.
335
352
  #
336
353
  # * If you are working with the AWS Command Line Interface (AWS CLI),
337
- # use the QLDB Shell. The shell is a command line interface that uses
338
- # the QLDB Driver to interact with a ledger. For information, see
339
- # [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].
340
357
  #
341
358
  # </note>
342
359
  #
@@ -421,17 +438,30 @@ module Aws::QLDBSession
421
438
  # @example Response structure
422
439
  #
423
440
  # resp.start_session.session_token #=> String
441
+ # resp.start_session.timing_information.processing_time_milliseconds #=> Integer
424
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
425
445
  # resp.commit_transaction.transaction_id #=> String
426
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
427
451
  # resp.execute_statement.first_page.values #=> Array
428
452
  # resp.execute_statement.first_page.values[0].ion_binary #=> String
429
453
  # resp.execute_statement.first_page.values[0].ion_text #=> String
430
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
431
458
  # resp.fetch_page.page.values #=> Array
432
459
  # resp.fetch_page.page.values[0].ion_binary #=> String
433
460
  # resp.fetch_page.page.values[0].ion_text #=> String
434
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
435
465
  #
436
466
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/SendCommand AWS API Documentation
437
467
  #
@@ -455,7 +485,7 @@ module Aws::QLDBSession
455
485
  params: params,
456
486
  config: config)
457
487
  context[:gem_name] = 'aws-sdk-qldbsession'
458
- context[:gem_version] = '1.5.1'
488
+ context[:gem_version] = '1.10.0'
459
489
  Seahorse::Client::Request.new(handlers, context)
460
490
  end
461
491
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -25,6 +27,7 @@ module Aws::QLDBSession
25
27
  ExecuteStatementResult = Shapes::StructureShape.new(name: 'ExecuteStatementResult')
26
28
  FetchPageRequest = Shapes::StructureShape.new(name: 'FetchPageRequest')
27
29
  FetchPageResult = Shapes::StructureShape.new(name: 'FetchPageResult')
30
+ IOUsage = Shapes::StructureShape.new(name: 'IOUsage')
28
31
  InvalidSessionException = Shapes::StructureShape.new(name: 'InvalidSessionException')
29
32
  IonBinary = Shapes::BlobShape.new(name: 'IonBinary')
30
33
  IonText = Shapes::StringShape.new(name: 'IonText')
@@ -33,7 +36,9 @@ module Aws::QLDBSession
33
36
  OccConflictException = Shapes::StructureShape.new(name: 'OccConflictException')
34
37
  Page = Shapes::StructureShape.new(name: 'Page')
35
38
  PageToken = Shapes::StringShape.new(name: 'PageToken')
39
+ ProcessingTimeMilliseconds = Shapes::IntegerShape.new(name: 'ProcessingTimeMilliseconds')
36
40
  RateExceededException = Shapes::StructureShape.new(name: 'RateExceededException')
41
+ ReadIOs = Shapes::IntegerShape.new(name: 'ReadIOs')
37
42
  SendCommandRequest = Shapes::StructureShape.new(name: 'SendCommandRequest')
38
43
  SendCommandResult = Shapes::StructureShape.new(name: 'SendCommandResult')
39
44
  SessionToken = Shapes::StringShape.new(name: 'SessionToken')
@@ -43,12 +48,15 @@ module Aws::QLDBSession
43
48
  StartTransactionResult = Shapes::StructureShape.new(name: 'StartTransactionResult')
44
49
  Statement = Shapes::StringShape.new(name: 'Statement')
45
50
  StatementParameters = Shapes::ListShape.new(name: 'StatementParameters')
51
+ TimingInformation = Shapes::StructureShape.new(name: 'TimingInformation')
46
52
  TransactionId = Shapes::StringShape.new(name: 'TransactionId')
47
53
  ValueHolder = Shapes::StructureShape.new(name: 'ValueHolder')
48
54
  ValueHolders = Shapes::ListShape.new(name: 'ValueHolders')
55
+ WriteIOs = Shapes::IntegerShape.new(name: 'WriteIOs')
49
56
 
50
57
  AbortTransactionRequest.struct_class = Types::AbortTransactionRequest
51
58
 
59
+ AbortTransactionResult.add_member(:timing_information, Shapes::ShapeRef.new(shape: TimingInformation, location_name: "TimingInformation"))
52
60
  AbortTransactionResult.struct_class = Types::AbortTransactionResult
53
61
 
54
62
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
@@ -61,10 +69,13 @@ module Aws::QLDBSession
61
69
 
62
70
  CommitTransactionResult.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionId, location_name: "TransactionId"))
63
71
  CommitTransactionResult.add_member(:commit_digest, Shapes::ShapeRef.new(shape: CommitDigest, location_name: "CommitDigest"))
72
+ CommitTransactionResult.add_member(:timing_information, Shapes::ShapeRef.new(shape: TimingInformation, location_name: "TimingInformation"))
73
+ CommitTransactionResult.add_member(:consumed_i_os, Shapes::ShapeRef.new(shape: IOUsage, location_name: "ConsumedIOs"))
64
74
  CommitTransactionResult.struct_class = Types::CommitTransactionResult
65
75
 
66
76
  EndSessionRequest.struct_class = Types::EndSessionRequest
67
77
 
78
+ EndSessionResult.add_member(:timing_information, Shapes::ShapeRef.new(shape: TimingInformation, location_name: "TimingInformation"))
68
79
  EndSessionResult.struct_class = Types::EndSessionResult
69
80
 
70
81
  ExecuteStatementRequest.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionId, required: true, location_name: "TransactionId"))
@@ -73,6 +84,8 @@ module Aws::QLDBSession
73
84
  ExecuteStatementRequest.struct_class = Types::ExecuteStatementRequest
74
85
 
75
86
  ExecuteStatementResult.add_member(:first_page, Shapes::ShapeRef.new(shape: Page, location_name: "FirstPage"))
87
+ ExecuteStatementResult.add_member(:timing_information, Shapes::ShapeRef.new(shape: TimingInformation, location_name: "TimingInformation"))
88
+ ExecuteStatementResult.add_member(:consumed_i_os, Shapes::ShapeRef.new(shape: IOUsage, location_name: "ConsumedIOs"))
76
89
  ExecuteStatementResult.struct_class = Types::ExecuteStatementResult
77
90
 
78
91
  FetchPageRequest.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionId, required: true, location_name: "TransactionId"))
@@ -80,8 +93,14 @@ module Aws::QLDBSession
80
93
  FetchPageRequest.struct_class = Types::FetchPageRequest
81
94
 
82
95
  FetchPageResult.add_member(:page, Shapes::ShapeRef.new(shape: Page, location_name: "Page"))
96
+ FetchPageResult.add_member(:timing_information, Shapes::ShapeRef.new(shape: TimingInformation, location_name: "TimingInformation"))
97
+ FetchPageResult.add_member(:consumed_i_os, Shapes::ShapeRef.new(shape: IOUsage, location_name: "ConsumedIOs"))
83
98
  FetchPageResult.struct_class = Types::FetchPageResult
84
99
 
100
+ IOUsage.add_member(:read_i_os, Shapes::ShapeRef.new(shape: ReadIOs, location_name: "ReadIOs"))
101
+ IOUsage.add_member(:write_i_os, Shapes::ShapeRef.new(shape: WriteIOs, location_name: "WriteIOs"))
102
+ IOUsage.struct_class = Types::IOUsage
103
+
85
104
  InvalidSessionException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
86
105
  InvalidSessionException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
87
106
  InvalidSessionException.struct_class = Types::InvalidSessionException
@@ -122,15 +141,20 @@ module Aws::QLDBSession
122
141
  StartSessionRequest.struct_class = Types::StartSessionRequest
123
142
 
124
143
  StartSessionResult.add_member(:session_token, Shapes::ShapeRef.new(shape: SessionToken, location_name: "SessionToken"))
144
+ StartSessionResult.add_member(:timing_information, Shapes::ShapeRef.new(shape: TimingInformation, location_name: "TimingInformation"))
125
145
  StartSessionResult.struct_class = Types::StartSessionResult
126
146
 
127
147
  StartTransactionRequest.struct_class = Types::StartTransactionRequest
128
148
 
129
149
  StartTransactionResult.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionId, location_name: "TransactionId"))
150
+ StartTransactionResult.add_member(:timing_information, Shapes::ShapeRef.new(shape: TimingInformation, location_name: "TimingInformation"))
130
151
  StartTransactionResult.struct_class = Types::StartTransactionResult
131
152
 
132
153
  StatementParameters.member = Shapes::ShapeRef.new(shape: ValueHolder)
133
154
 
155
+ TimingInformation.add_member(:processing_time_milliseconds, Shapes::ShapeRef.new(shape: ProcessingTimeMilliseconds, location_name: "ProcessingTimeMilliseconds"))
156
+ TimingInformation.struct_class = Types::TimingInformation
157
+
134
158
  ValueHolder.add_member(:ion_binary, Shapes::ShapeRef.new(shape: IonBinary, location_name: "IonBinary"))
135
159
  ValueHolder.add_member(:ion_text, Shapes::ShapeRef.new(shape: IonText, location_name: "IonText"))
136
160
  ValueHolder.struct_class = Types::ValueHolder
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -18,9 +20,17 @@ module Aws::QLDBSession
18
20
 
19
21
  # Contains the details of the aborted transaction.
20
22
  #
23
+ # @!attribute [rw] timing_information
24
+ # Contains server-side performance information for the command.
25
+ # @return [Types::TimingInformation]
26
+ #
21
27
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/AbortTransactionResult AWS API Documentation
22
28
  #
23
- class AbortTransactionResult < Aws::EmptyStructure; end
29
+ class AbortTransactionResult < Struct.new(
30
+ :timing_information)
31
+ SENSITIVE = []
32
+ include Aws::Structure
33
+ end
24
34
 
25
35
  # Returned if the request is malformed or contains an error such as an
26
36
  # invalid parameter value or a missing required parameter.
@@ -36,6 +46,7 @@ module Aws::QLDBSession
36
46
  class BadRequestException < Struct.new(
37
47
  :message,
38
48
  :code)
49
+ SENSITIVE = []
39
50
  include Aws::Structure
40
51
  end
41
52
 
@@ -58,6 +69,11 @@ module Aws::QLDBSession
58
69
  # active transaction, the commit digest must be passed. QLDB validates
59
70
  # `CommitDigest` and rejects the commit with an error if the digest
60
71
  # computed on the client does not match the digest computed by QLDB.
72
+ #
73
+ # The purpose of the `CommitDigest` parameter is to ensure that QLDB
74
+ # commits a transaction if and only if the server has processed the
75
+ # exact set of statements sent by the client, in the same order that
76
+ # client sent them, and with no duplicates.
61
77
  # @return [String]
62
78
  #
63
79
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/CommitTransactionRequest AWS API Documentation
@@ -65,6 +81,7 @@ module Aws::QLDBSession
65
81
  class CommitTransactionRequest < Struct.new(
66
82
  :transaction_id,
67
83
  :commit_digest)
84
+ SENSITIVE = []
68
85
  include Aws::Structure
69
86
  end
70
87
 
@@ -78,11 +95,23 @@ module Aws::QLDBSession
78
95
  # The commit digest of the committed transaction.
79
96
  # @return [String]
80
97
  #
98
+ # @!attribute [rw] timing_information
99
+ # Contains server-side performance information for the command.
100
+ # @return [Types::TimingInformation]
101
+ #
102
+ # @!attribute [rw] consumed_i_os
103
+ # Contains metrics about the number of I/O requests that were
104
+ # consumed.
105
+ # @return [Types::IOUsage]
106
+ #
81
107
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/CommitTransactionResult AWS API Documentation
82
108
  #
83
109
  class CommitTransactionResult < Struct.new(
84
110
  :transaction_id,
85
- :commit_digest)
111
+ :commit_digest,
112
+ :timing_information,
113
+ :consumed_i_os)
114
+ SENSITIVE = []
86
115
  include Aws::Structure
87
116
  end
88
117
 
@@ -96,9 +125,17 @@ module Aws::QLDBSession
96
125
 
97
126
  # Contains the details of the ended session.
98
127
  #
128
+ # @!attribute [rw] timing_information
129
+ # Contains server-side performance information for the command.
130
+ # @return [Types::TimingInformation]
131
+ #
99
132
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/EndSessionResult AWS API Documentation
100
133
  #
101
- class EndSessionResult < Aws::EmptyStructure; end
134
+ class EndSessionResult < Struct.new(
135
+ :timing_information)
136
+ SENSITIVE = []
137
+ include Aws::Structure
138
+ end
102
139
 
103
140
  # Specifies a request to execute a statement.
104
141
  #
@@ -135,6 +172,7 @@ module Aws::QLDBSession
135
172
  :transaction_id,
136
173
  :statement,
137
174
  :parameters)
175
+ SENSITIVE = []
138
176
  include Aws::Structure
139
177
  end
140
178
 
@@ -144,10 +182,22 @@ module Aws::QLDBSession
144
182
  # Contains the details of the first fetched page.
145
183
  # @return [Types::Page]
146
184
  #
185
+ # @!attribute [rw] timing_information
186
+ # Contains server-side performance information for the command.
187
+ # @return [Types::TimingInformation]
188
+ #
189
+ # @!attribute [rw] consumed_i_os
190
+ # Contains metrics about the number of I/O requests that were
191
+ # consumed.
192
+ # @return [Types::IOUsage]
193
+ #
147
194
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/ExecuteStatementResult AWS API Documentation
148
195
  #
149
196
  class ExecuteStatementResult < Struct.new(
150
- :first_page)
197
+ :first_page,
198
+ :timing_information,
199
+ :consumed_i_os)
200
+ SENSITIVE = []
151
201
  include Aws::Structure
152
202
  end
153
203
 
@@ -174,6 +224,7 @@ module Aws::QLDBSession
174
224
  class FetchPageRequest < Struct.new(
175
225
  :transaction_id,
176
226
  :next_page_token)
227
+ SENSITIVE = []
177
228
  include Aws::Structure
178
229
  end
179
230
 
@@ -183,10 +234,41 @@ module Aws::QLDBSession
183
234
  # Contains details of the fetched page.
184
235
  # @return [Types::Page]
185
236
  #
237
+ # @!attribute [rw] timing_information
238
+ # Contains server-side performance information for the command.
239
+ # @return [Types::TimingInformation]
240
+ #
241
+ # @!attribute [rw] consumed_i_os
242
+ # Contains metrics about the number of I/O requests that were
243
+ # consumed.
244
+ # @return [Types::IOUsage]
245
+ #
186
246
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/FetchPageResult AWS API Documentation
187
247
  #
188
248
  class FetchPageResult < Struct.new(
189
- :page)
249
+ :page,
250
+ :timing_information,
251
+ :consumed_i_os)
252
+ SENSITIVE = []
253
+ include Aws::Structure
254
+ end
255
+
256
+ # Contains I/O usage metrics for a command that was invoked.
257
+ #
258
+ # @!attribute [rw] read_i_os
259
+ # The number of read I/O requests that the command performed.
260
+ # @return [Integer]
261
+ #
262
+ # @!attribute [rw] write_i_os
263
+ # The number of write I/O requests that the command performed.
264
+ # @return [Integer]
265
+ #
266
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/IOUsage AWS API Documentation
267
+ #
268
+ class IOUsage < Struct.new(
269
+ :read_i_os,
270
+ :write_i_os)
271
+ SENSITIVE = []
190
272
  include Aws::Structure
191
273
  end
192
274
 
@@ -204,6 +286,7 @@ module Aws::QLDBSession
204
286
  class InvalidSessionException < Struct.new(
205
287
  :message,
206
288
  :code)
289
+ SENSITIVE = []
207
290
  include Aws::Structure
208
291
  end
209
292
 
@@ -217,6 +300,7 @@ module Aws::QLDBSession
217
300
  #
218
301
  class LimitExceededException < Struct.new(
219
302
  :message)
303
+ SENSITIVE = []
220
304
  include Aws::Structure
221
305
  end
222
306
 
@@ -231,6 +315,7 @@ module Aws::QLDBSession
231
315
  #
232
316
  class OccConflictException < Struct.new(
233
317
  :message)
318
+ SENSITIVE = []
234
319
  include Aws::Structure
235
320
  end
236
321
 
@@ -249,6 +334,7 @@ module Aws::QLDBSession
249
334
  class Page < Struct.new(
250
335
  :values,
251
336
  :next_page_token)
337
+ SENSITIVE = []
252
338
  include Aws::Structure
253
339
  end
254
340
 
@@ -261,6 +347,7 @@ module Aws::QLDBSession
261
347
  #
262
348
  class RateExceededException < Struct.new(
263
349
  :message)
350
+ SENSITIVE = []
264
351
  include Aws::Structure
265
352
  end
266
353
 
@@ -347,6 +434,7 @@ module Aws::QLDBSession
347
434
  :abort_transaction,
348
435
  :execute_statement,
349
436
  :fetch_page)
437
+ SENSITIVE = []
350
438
  include Aws::Structure
351
439
  end
352
440
 
@@ -390,6 +478,7 @@ module Aws::QLDBSession
390
478
  :abort_transaction,
391
479
  :execute_statement,
392
480
  :fetch_page)
481
+ SENSITIVE = []
393
482
  include Aws::Structure
394
483
  end
395
484
 
@@ -410,6 +499,7 @@ module Aws::QLDBSession
410
499
  #
411
500
  class StartSessionRequest < Struct.new(
412
501
  :ledger_name)
502
+ SENSITIVE = []
413
503
  include Aws::Structure
414
504
  end
415
505
 
@@ -421,10 +511,16 @@ module Aws::QLDBSession
421
511
  # current session.
422
512
  # @return [String]
423
513
  #
514
+ # @!attribute [rw] timing_information
515
+ # Contains server-side performance information for the command.
516
+ # @return [Types::TimingInformation]
517
+ #
424
518
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/StartSessionResult AWS API Documentation
425
519
  #
426
520
  class StartSessionResult < Struct.new(
427
- :session_token)
521
+ :session_token,
522
+ :timing_information)
523
+ SENSITIVE = []
428
524
  include Aws::Structure
429
525
  end
430
526
 
@@ -442,15 +538,37 @@ module Aws::QLDBSession
442
538
  # The transaction ID of the started transaction.
443
539
  # @return [String]
444
540
  #
541
+ # @!attribute [rw] timing_information
542
+ # Contains server-side performance information for the command.
543
+ # @return [Types::TimingInformation]
544
+ #
445
545
  # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/StartTransactionResult AWS API Documentation
446
546
  #
447
547
  class StartTransactionResult < Struct.new(
448
- :transaction_id)
548
+ :transaction_id,
549
+ :timing_information)
550
+ SENSITIVE = []
551
+ include Aws::Structure
552
+ end
553
+
554
+ # Contains server-side performance information for a command. Amazon
555
+ # QLDB captures timing information between the times when it receives
556
+ # the request and when it sends the corresponding response.
557
+ #
558
+ # @!attribute [rw] processing_time_milliseconds
559
+ # The amount of time that was taken for the command to finish
560
+ # processing, measured in milliseconds.
561
+ # @return [Integer]
562
+ #
563
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/TimingInformation AWS API Documentation
564
+ #
565
+ class TimingInformation < Struct.new(
566
+ :processing_time_milliseconds)
567
+ SENSITIVE = []
449
568
  include Aws::Structure
450
569
  end
451
570
 
452
- # A structure that can contain an Amazon Ion value in multiple encoding
453
- # formats.
571
+ # A structure that can contain a value in multiple encoding formats.
454
572
  #
455
573
  # @note When making an API call, you may pass ValueHolder
456
574
  # data as a hash:
@@ -474,6 +592,7 @@ module Aws::QLDBSession
474
592
  class ValueHolder < Struct.new(
475
593
  :ion_binary,
476
594
  :ion_text)
595
+ SENSITIVE = []
477
596
  include Aws::Structure
478
597
  end
479
598
 
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.5.1
4
+ version: 1.10.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-06-11 00:00:00.000000000 Z
11
+ date: 2020-12-21 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.109.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.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement