aws-sdk-qldbsession 1.11.0 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab42dbee7bcd31bb7d53ac74996fcd1a794f71d8377d505570e339949b6b5076
4
- data.tar.gz: 23beb2d43ceff8b77fbce36bf0c073829748c8640e38533527df0c67a6f44e9f
3
+ metadata.gz: cf16efe93b9167ddc5230bf15be3c4a9d8b2559d488d03cb46d778a91ec1ab3c
4
+ data.tar.gz: 057d7923f3cbabd4adcca8cb15a4759e1f1d79ab03b7e9115d0a39de066c9885
5
5
  SHA512:
6
- metadata.gz: 2418b6e2d0e6c2268846ff28028a91ce416d76e65c1d0a88672352c4d83b8c352bd0f9181a92eac9188b7b8045b52b211cf67c831cafb1b9d192498627e2ff53
7
- data.tar.gz: e7d743791bc61770a0f5afde3c24109e90fe976afcf6de59b05933589a853eb8fad7a18b341c486f7d3085572d86a9d158b8579cc16637d6a89ebc3a0cc191b9
6
+ metadata.gz: ab9a3cb5fef2014f3428385f96eb8376d0edcf1bba40e4c4d702bba2feea59085070ae86a7961db9b07515f9d5790e55bfa2268d99cddae18ec7d61f577e8f90
7
+ data.tar.gz: 4ea3b38e955f219eaff869b39a201efe976569ca86b7a74b1b9b2207278b2c8b79f7c5738c5a5682003669a3a4c6a61ef9a610da4724eb8df3e3373fbef9d249
@@ -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.11.0'
51
+ GEM_VERSION = '1.12.0'
52
52
 
53
53
  end
@@ -485,7 +485,7 @@ module Aws::QLDBSession
485
485
  params: params,
486
486
  config: config)
487
487
  context[:gem_name] = 'aws-sdk-qldbsession'
488
- context[:gem_version] = '1.11.0'
488
+ context[:gem_version] = '1.12.0'
489
489
  Seahorse::Client::Request.new(handlers, context)
490
490
  end
491
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')
@@ -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 performed.
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 performed.
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 was taken for the command to finish
560
- # processing, measured in milliseconds.
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.11.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: 2021-02-02 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