aws-sdk-qldbsession 1.11.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf16efe93b9167ddc5230bf15be3c4a9d8b2559d488d03cb46d778a91ec1ab3c
|
4
|
+
data.tar.gz: 057d7923f3cbabd4adcca8cb15a4759e1f1d79ab03b7e9115d0a39de066c9885
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab9a3cb5fef2014f3428385f96eb8376d0edcf1bba40e4c4d702bba2feea59085070ae86a7961db9b07515f9d5790e55bfa2268d99cddae18ec7d61f577e8f90
|
7
|
+
data.tar.gz: 4ea3b38e955f219eaff869b39a201efe976569ca86b7a74b1b9b2207278b2c8b79f7c5738c5a5682003669a3a4c6a61ef9a610da4724eb8df3e3373fbef9d249
|
data/lib/aws-sdk-qldbsession.rb
CHANGED
@@ -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')
|
@@ -63,6 +64,9 @@ module Aws::QLDBSession
|
|
63
64
|
BadRequestException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
|
64
65
|
BadRequestException.struct_class = Types::BadRequestException
|
65
66
|
|
67
|
+
CapacityExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
68
|
+
CapacityExceededException.struct_class = Types::CapacityExceededException
|
69
|
+
|
66
70
|
CommitTransactionRequest.add_member(:transaction_id, Shapes::ShapeRef.new(shape: TransactionId, required: true, location_name: "TransactionId"))
|
67
71
|
CommitTransactionRequest.add_member(:commit_digest, Shapes::ShapeRef.new(shape: CommitDigest, required: true, location_name: "CommitDigest"))
|
68
72
|
CommitTransactionRequest.struct_class = Types::CommitTransactionRequest
|
@@ -192,6 +196,7 @@ module Aws::QLDBSession
|
|
192
196
|
o.errors << Shapes::ShapeRef.new(shape: OccConflictException)
|
193
197
|
o.errors << Shapes::ShapeRef.new(shape: RateExceededException)
|
194
198
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
199
|
+
o.errors << Shapes::ShapeRef.new(shape: CapacityExceededException)
|
195
200
|
end)
|
196
201
|
end
|
197
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
|
@@ -50,6 +50,20 @@ module Aws::QLDBSession
|
|
50
50
|
include Aws::Structure
|
51
51
|
end
|
52
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
|
+
|
53
67
|
# Contains the details of the transaction to commit.
|
54
68
|
#
|
55
69
|
# @note When making an API call, you may pass CommitTransactionRequest
|
@@ -256,11 +270,11 @@ module Aws::QLDBSession
|
|
256
270
|
# Contains I/O usage metrics for a command that was invoked.
|
257
271
|
#
|
258
272
|
# @!attribute [rw] read_i_os
|
259
|
-
# The number of read I/O requests that the command
|
273
|
+
# The number of read I/O requests that the command made.
|
260
274
|
# @return [Integer]
|
261
275
|
#
|
262
276
|
# @!attribute [rw] write_i_os
|
263
|
-
# The number of write I/O requests that the command
|
277
|
+
# The number of write I/O requests that the command made.
|
264
278
|
# @return [Integer]
|
265
279
|
#
|
266
280
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/IOUsage AWS API Documentation
|
@@ -556,8 +570,8 @@ module Aws::QLDBSession
|
|
556
570
|
# the request and when it sends the corresponding response.
|
557
571
|
#
|
558
572
|
# @!attribute [rw] processing_time_milliseconds
|
559
|
-
# The amount of time that
|
560
|
-
#
|
573
|
+
# The amount of time that QLDB spent on processing the command,
|
574
|
+
# measured in milliseconds.
|
561
575
|
# @return [Integer]
|
562
576
|
#
|
563
577
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/TimingInformation AWS API Documentation
|
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.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: 2021-02-
|
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
|