aws-sdk-qldbsession 1.6.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-qldbsession.rb +3 -2
- data/lib/aws-sdk-qldbsession/client.rb +44 -16
- data/lib/aws-sdk-qldbsession/client_api.rb +22 -0
- data/lib/aws-sdk-qldbsession/types.rb +108 -9
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab42dbee7bcd31bb7d53ac74996fcd1a794f71d8377d505570e339949b6b5076
|
4
|
+
data.tar.gz: 23beb2d43ceff8b77fbce36bf0c073829748c8640e38533527df0c67a6f44e9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2418b6e2d0e6c2268846ff28028a91ce416d76e65c1d0a88672352c4d83b8c352bd0f9181a92eac9188b7b8045b52b211cf67c831cafb1b9d192498627e2ff53
|
7
|
+
data.tar.gz: e7d743791bc61770a0f5afde3c24109e90fe976afcf6de59b05933589a853eb8fad7a18b341c486f7d3085572d86a9d158b8579cc16637d6a89ebc3a0cc191b9
|
data/lib/aws-sdk-qldbsession.rb
CHANGED
@@ -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
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-qldbsession/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::QLDBSession
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.11.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::QLDBSession
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
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
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::QLDBSession
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# 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.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -324,21 +339,21 @@ module Aws::QLDBSession
|
|
324
339
|
|
325
340
|
# Sends a command to an Amazon QLDB ledger.
|
326
341
|
#
|
327
|
-
# <note markdown="1"> Instead of interacting directly with this API, we recommend
|
328
|
-
#
|
329
|
-
#
|
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.
|
330
345
|
#
|
331
|
-
# * If you are working with an AWS SDK, use the QLDB
|
332
|
-
# provides a high-level abstraction layer above this
|
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*
|
333
348
|
# data plane and manages `SendCommand` API calls for you. For
|
334
349
|
# information and a list of supported programming languages, see
|
335
350
|
# [Getting started with the driver][1] in the *Amazon QLDB Developer
|
336
351
|
# Guide*.
|
337
352
|
#
|
338
353
|
# * If you are working with the AWS Command Line Interface (AWS CLI),
|
339
|
-
# use the QLDB
|
340
|
-
# the QLDB
|
341
|
-
# [Accessing Amazon QLDB using the QLDB
|
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].
|
342
357
|
#
|
343
358
|
# </note>
|
344
359
|
#
|
@@ -423,17 +438,30 @@ module Aws::QLDBSession
|
|
423
438
|
# @example Response structure
|
424
439
|
#
|
425
440
|
# resp.start_session.session_token #=> String
|
441
|
+
# resp.start_session.timing_information.processing_time_milliseconds #=> Integer
|
426
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
|
427
445
|
# resp.commit_transaction.transaction_id #=> String
|
428
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
|
429
451
|
# resp.execute_statement.first_page.values #=> Array
|
430
452
|
# resp.execute_statement.first_page.values[0].ion_binary #=> String
|
431
453
|
# resp.execute_statement.first_page.values[0].ion_text #=> String
|
432
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
|
433
458
|
# resp.fetch_page.page.values #=> Array
|
434
459
|
# resp.fetch_page.page.values[0].ion_binary #=> String
|
435
460
|
# resp.fetch_page.page.values[0].ion_text #=> String
|
436
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
|
437
465
|
#
|
438
466
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/SendCommand AWS API Documentation
|
439
467
|
#
|
@@ -457,7 +485,7 @@ module Aws::QLDBSession
|
|
457
485
|
params: params,
|
458
486
|
config: config)
|
459
487
|
context[:gem_name] = 'aws-sdk-qldbsession'
|
460
|
-
context[:gem_version] = '1.
|
488
|
+
context[:gem_version] = '1.11.0'
|
461
489
|
Seahorse::Client::Request.new(handlers, context)
|
462
490
|
end
|
463
491
|
|
@@ -27,6 +27,7 @@ module Aws::QLDBSession
|
|
27
27
|
ExecuteStatementResult = Shapes::StructureShape.new(name: 'ExecuteStatementResult')
|
28
28
|
FetchPageRequest = Shapes::StructureShape.new(name: 'FetchPageRequest')
|
29
29
|
FetchPageResult = Shapes::StructureShape.new(name: 'FetchPageResult')
|
30
|
+
IOUsage = Shapes::StructureShape.new(name: 'IOUsage')
|
30
31
|
InvalidSessionException = Shapes::StructureShape.new(name: 'InvalidSessionException')
|
31
32
|
IonBinary = Shapes::BlobShape.new(name: 'IonBinary')
|
32
33
|
IonText = Shapes::StringShape.new(name: 'IonText')
|
@@ -35,7 +36,9 @@ module Aws::QLDBSession
|
|
35
36
|
OccConflictException = Shapes::StructureShape.new(name: 'OccConflictException')
|
36
37
|
Page = Shapes::StructureShape.new(name: 'Page')
|
37
38
|
PageToken = Shapes::StringShape.new(name: 'PageToken')
|
39
|
+
ProcessingTimeMilliseconds = Shapes::IntegerShape.new(name: 'ProcessingTimeMilliseconds')
|
38
40
|
RateExceededException = Shapes::StructureShape.new(name: 'RateExceededException')
|
41
|
+
ReadIOs = Shapes::IntegerShape.new(name: 'ReadIOs')
|
39
42
|
SendCommandRequest = Shapes::StructureShape.new(name: 'SendCommandRequest')
|
40
43
|
SendCommandResult = Shapes::StructureShape.new(name: 'SendCommandResult')
|
41
44
|
SessionToken = Shapes::StringShape.new(name: 'SessionToken')
|
@@ -45,12 +48,15 @@ module Aws::QLDBSession
|
|
45
48
|
StartTransactionResult = Shapes::StructureShape.new(name: 'StartTransactionResult')
|
46
49
|
Statement = Shapes::StringShape.new(name: 'Statement')
|
47
50
|
StatementParameters = Shapes::ListShape.new(name: 'StatementParameters')
|
51
|
+
TimingInformation = Shapes::StructureShape.new(name: 'TimingInformation')
|
48
52
|
TransactionId = Shapes::StringShape.new(name: 'TransactionId')
|
49
53
|
ValueHolder = Shapes::StructureShape.new(name: 'ValueHolder')
|
50
54
|
ValueHolders = Shapes::ListShape.new(name: 'ValueHolders')
|
55
|
+
WriteIOs = Shapes::IntegerShape.new(name: 'WriteIOs')
|
51
56
|
|
52
57
|
AbortTransactionRequest.struct_class = Types::AbortTransactionRequest
|
53
58
|
|
59
|
+
AbortTransactionResult.add_member(:timing_information, Shapes::ShapeRef.new(shape: TimingInformation, location_name: "TimingInformation"))
|
54
60
|
AbortTransactionResult.struct_class = Types::AbortTransactionResult
|
55
61
|
|
56
62
|
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
@@ -63,10 +69,13 @@ module Aws::QLDBSession
|
|
63
69
|
|
64
70
|
CommitTransactionResult.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionId, location_name: "TransactionId"))
|
65
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"))
|
66
74
|
CommitTransactionResult.struct_class = Types::CommitTransactionResult
|
67
75
|
|
68
76
|
EndSessionRequest.struct_class = Types::EndSessionRequest
|
69
77
|
|
78
|
+
EndSessionResult.add_member(:timing_information, Shapes::ShapeRef.new(shape: TimingInformation, location_name: "TimingInformation"))
|
70
79
|
EndSessionResult.struct_class = Types::EndSessionResult
|
71
80
|
|
72
81
|
ExecuteStatementRequest.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionId, required: true, location_name: "TransactionId"))
|
@@ -75,6 +84,8 @@ module Aws::QLDBSession
|
|
75
84
|
ExecuteStatementRequest.struct_class = Types::ExecuteStatementRequest
|
76
85
|
|
77
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"))
|
78
89
|
ExecuteStatementResult.struct_class = Types::ExecuteStatementResult
|
79
90
|
|
80
91
|
FetchPageRequest.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionId, required: true, location_name: "TransactionId"))
|
@@ -82,8 +93,14 @@ module Aws::QLDBSession
|
|
82
93
|
FetchPageRequest.struct_class = Types::FetchPageRequest
|
83
94
|
|
84
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"))
|
85
98
|
FetchPageResult.struct_class = Types::FetchPageResult
|
86
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
|
+
|
87
104
|
InvalidSessionException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
88
105
|
InvalidSessionException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
89
106
|
InvalidSessionException.struct_class = Types::InvalidSessionException
|
@@ -124,15 +141,20 @@ module Aws::QLDBSession
|
|
124
141
|
StartSessionRequest.struct_class = Types::StartSessionRequest
|
125
142
|
|
126
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"))
|
127
145
|
StartSessionResult.struct_class = Types::StartSessionResult
|
128
146
|
|
129
147
|
StartTransactionRequest.struct_class = Types::StartTransactionRequest
|
130
148
|
|
131
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"))
|
132
151
|
StartTransactionResult.struct_class = Types::StartTransactionResult
|
133
152
|
|
134
153
|
StatementParameters.member = Shapes::ShapeRef.new(shape: ValueHolder)
|
135
154
|
|
155
|
+
TimingInformation.add_member(:processing_time_milliseconds, Shapes::ShapeRef.new(shape: ProcessingTimeMilliseconds, location_name: "ProcessingTimeMilliseconds"))
|
156
|
+
TimingInformation.struct_class = Types::TimingInformation
|
157
|
+
|
136
158
|
ValueHolder.add_member(:ion_binary, Shapes::ShapeRef.new(shape: IonBinary, location_name: "IonBinary"))
|
137
159
|
ValueHolder.add_member(:ion_text, Shapes::ShapeRef.new(shape: IonText, location_name: "IonText"))
|
138
160
|
ValueHolder.struct_class = Types::ValueHolder
|
@@ -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 <
|
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.
|
@@ -61,6 +69,11 @@ module Aws::QLDBSession
|
|
61
69
|
# active transaction, the commit digest must be passed. QLDB validates
|
62
70
|
# `CommitDigest` and rejects the commit with an error if the digest
|
63
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.
|
64
77
|
# @return [String]
|
65
78
|
#
|
66
79
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/CommitTransactionRequest AWS API Documentation
|
@@ -82,11 +95,22 @@ module Aws::QLDBSession
|
|
82
95
|
# The commit digest of the committed transaction.
|
83
96
|
# @return [String]
|
84
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
|
+
#
|
85
107
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/CommitTransactionResult AWS API Documentation
|
86
108
|
#
|
87
109
|
class CommitTransactionResult < Struct.new(
|
88
110
|
:transaction_id,
|
89
|
-
:commit_digest
|
111
|
+
:commit_digest,
|
112
|
+
:timing_information,
|
113
|
+
:consumed_i_os)
|
90
114
|
SENSITIVE = []
|
91
115
|
include Aws::Structure
|
92
116
|
end
|
@@ -101,9 +125,17 @@ module Aws::QLDBSession
|
|
101
125
|
|
102
126
|
# Contains the details of the ended session.
|
103
127
|
#
|
128
|
+
# @!attribute [rw] timing_information
|
129
|
+
# Contains server-side performance information for the command.
|
130
|
+
# @return [Types::TimingInformation]
|
131
|
+
#
|
104
132
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/EndSessionResult AWS API Documentation
|
105
133
|
#
|
106
|
-
class EndSessionResult <
|
134
|
+
class EndSessionResult < Struct.new(
|
135
|
+
:timing_information)
|
136
|
+
SENSITIVE = []
|
137
|
+
include Aws::Structure
|
138
|
+
end
|
107
139
|
|
108
140
|
# Specifies a request to execute a statement.
|
109
141
|
#
|
@@ -150,10 +182,21 @@ module Aws::QLDBSession
|
|
150
182
|
# Contains the details of the first fetched page.
|
151
183
|
# @return [Types::Page]
|
152
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
|
+
#
|
153
194
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/ExecuteStatementResult AWS API Documentation
|
154
195
|
#
|
155
196
|
class ExecuteStatementResult < Struct.new(
|
156
|
-
:first_page
|
197
|
+
:first_page,
|
198
|
+
:timing_information,
|
199
|
+
:consumed_i_os)
|
157
200
|
SENSITIVE = []
|
158
201
|
include Aws::Structure
|
159
202
|
end
|
@@ -191,10 +234,40 @@ module Aws::QLDBSession
|
|
191
234
|
# Contains details of the fetched page.
|
192
235
|
# @return [Types::Page]
|
193
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
|
+
#
|
194
246
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/FetchPageResult AWS API Documentation
|
195
247
|
#
|
196
248
|
class FetchPageResult < Struct.new(
|
197
|
-
: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)
|
198
271
|
SENSITIVE = []
|
199
272
|
include Aws::Structure
|
200
273
|
end
|
@@ -438,10 +511,15 @@ module Aws::QLDBSession
|
|
438
511
|
# current session.
|
439
512
|
# @return [String]
|
440
513
|
#
|
514
|
+
# @!attribute [rw] timing_information
|
515
|
+
# Contains server-side performance information for the command.
|
516
|
+
# @return [Types::TimingInformation]
|
517
|
+
#
|
441
518
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/StartSessionResult AWS API Documentation
|
442
519
|
#
|
443
520
|
class StartSessionResult < Struct.new(
|
444
|
-
:session_token
|
521
|
+
:session_token,
|
522
|
+
:timing_information)
|
445
523
|
SENSITIVE = []
|
446
524
|
include Aws::Structure
|
447
525
|
end
|
@@ -460,16 +538,37 @@ module Aws::QLDBSession
|
|
460
538
|
# The transaction ID of the started transaction.
|
461
539
|
# @return [String]
|
462
540
|
#
|
541
|
+
# @!attribute [rw] timing_information
|
542
|
+
# Contains server-side performance information for the command.
|
543
|
+
# @return [Types::TimingInformation]
|
544
|
+
#
|
463
545
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/StartTransactionResult AWS API Documentation
|
464
546
|
#
|
465
547
|
class StartTransactionResult < Struct.new(
|
466
|
-
: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)
|
467
567
|
SENSITIVE = []
|
468
568
|
include Aws::Structure
|
469
569
|
end
|
470
570
|
|
471
|
-
# A structure that can contain
|
472
|
-
# formats.
|
571
|
+
# A structure that can contain a value in multiple encoding formats.
|
473
572
|
#
|
474
573
|
# @note When making an API call, you may pass ValueHolder
|
475
574
|
# 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.
|
4
|
+
version: 1.11.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:
|
11
|
+
date: 2021-02-02 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.
|
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.
|
32
|
+
version: 3.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|