aws-sdk-qldbsession 1.7.0 → 1.12.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: 2ba8dcb8b9c8521d4dd63fb2e74019d41abcefcb0c7725da41b576c5d611668e
4
- data.tar.gz: c47785ea9ef356c16662a482717541a1a017e4804ee9f0fb4c01cd214d447051
3
+ metadata.gz: cf16efe93b9167ddc5230bf15be3c4a9d8b2559d488d03cb46d778a91ec1ab3c
4
+ data.tar.gz: 057d7923f3cbabd4adcca8cb15a4759e1f1d79ab03b7e9115d0a39de066c9885
5
5
  SHA512:
6
- metadata.gz: 8c37473009d4f6f5eede04c96ef5da0d8d500517f3ada363fcb085e6da3f6abc1a1409e2cec8ead1060ba788d5bc338662b9738bf8ad443253493e59b2b6e3fc
7
- data.tar.gz: 26faec5f9589f6d4b41f21c1ce46928e73c4238db408e891b10d6bddc6ebaca7ea09be5a819cdea8f1bb600fec3b58048bef87579c72bdab3bcb6b0d5581fc45
6
+ metadata.gz: ab9a3cb5fef2014f3428385f96eb8376d0edcf1bba40e4c4d702bba2feea59085070ae86a7961db9b07515f9d5790e55bfa2268d99cddae18ec7d61f577e8f90
7
+ data.tar.gz: 4ea3b38e955f219eaff869b39a201efe976569ca86b7a74b1b9b2207278b2c8b79f7c5738c5a5682003669a3a4c6a61ef9a610da4724eb8df3e3373fbef9d249
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-qldbsession/customizations'
47
48
  # @!group service
48
49
  module Aws::QLDBSession
49
50
 
50
- GEM_VERSION = '1.7.0'
51
+ GEM_VERSION = '1.12.0'
51
52
 
52
53
  end
@@ -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.7.0'
488
+ context[:gem_version] = '1.12.0'
476
489
  Seahorse::Client::Request.new(handlers, context)
477
490
  end
478
491
 
@@ -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
 
@@ -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
@@ -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.7.0
4
+ version: 1.12.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-08-25 00:00:00.000000000 Z
11
+ date: 2021-02-09 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