aws-sdk-qldbsession 1.1.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-qldbsession.rb +9 -4
- data/lib/aws-sdk-qldbsession/client.rb +95 -14
- data/lib/aws-sdk-qldbsession/client_api.rb +2 -0
- data/lib/aws-sdk-qldbsession/errors.rb +29 -5
- data/lib/aws-sdk-qldbsession/resource.rb +3 -0
- data/lib/aws-sdk-qldbsession/types.rb +31 -9
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 108720b5828cfd3f27f3cdc56064662f48420de4b0db2f44b43546085ab7f114
|
4
|
+
data.tar.gz: 7d5ae5d641c87a98e17bc9ff0278fe478f4b6f81f92128a0785be859e46b8104
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: caf52c4ba0b1ffcaf51e04b9d3602e98281667dcafbd82eef167cea97ec8f20703d46e63e140272c686cfceab4c3222b2ede9268a9b75014a0b60005a85a4d92
|
7
|
+
data.tar.gz: 450417b94c6d6b62b0a2f5423ebaf1968f31046fcd2133921fc8303e14710e23ec1b2bb4e0ce1ed3c30f941c76fc207efdd2cab7021ca25a7c02c8b2bb17c58e
|
data/lib/aws-sdk-qldbsession.rb
CHANGED
@@ -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:
|
@@ -24,17 +26,20 @@ require_relative 'aws-sdk-qldbsession/customizations'
|
|
24
26
|
# methods each accept a hash of request parameters and return a response
|
25
27
|
# structure.
|
26
28
|
#
|
29
|
+
# qldb_session = Aws::QLDBSession::Client.new
|
30
|
+
# resp = qldb_session.send_command(params)
|
31
|
+
#
|
27
32
|
# See {Client} for more information.
|
28
33
|
#
|
29
34
|
# # Errors
|
30
35
|
#
|
31
|
-
# Errors returned from Amazon QLDB Session
|
32
|
-
# extend {Errors::ServiceError}.
|
36
|
+
# Errors returned from Amazon QLDB Session are defined in the
|
37
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
38
|
#
|
34
39
|
# begin
|
35
40
|
# # do stuff
|
36
41
|
# rescue Aws::QLDBSession::Errors::ServiceError
|
37
|
-
# # rescues all
|
42
|
+
# # rescues all Amazon QLDB Session API errors
|
38
43
|
# end
|
39
44
|
#
|
40
45
|
# See {Errors} for more information.
|
@@ -42,6 +47,6 @@ require_relative 'aws-sdk-qldbsession/customizations'
|
|
42
47
|
# @service
|
43
48
|
module Aws::QLDBSession
|
44
49
|
|
45
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.6.0'
|
46
51
|
|
47
52
|
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:
|
@@ -24,12 +26,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
30
33
|
Aws::Plugins::GlobalConfiguration.add_identifier(:qldbsession)
|
31
34
|
|
32
35
|
module Aws::QLDBSession
|
36
|
+
# An API client for QLDBSession. To construct a client, you need to configure a `:region` and `:credentials`.
|
37
|
+
#
|
38
|
+
# client = Aws::QLDBSession::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
43
|
+
#
|
44
|
+
# For details on configuring region and credentials see
|
45
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
46
|
+
#
|
47
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
48
|
class Client < Seahorse::Client::Base
|
34
49
|
|
35
50
|
include Aws::ClientStubs
|
@@ -57,6 +72,7 @@ module Aws::QLDBSession
|
|
57
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
60
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
61
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
62
78
|
|
@@ -93,7 +109,7 @@ module Aws::QLDBSession
|
|
93
109
|
# @option options [required, String] :region
|
94
110
|
# The AWS region to connect to. The configured `:region` is
|
95
111
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
97
113
|
#
|
98
114
|
# * `Aws.config[:region]`
|
99
115
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +124,12 @@ module Aws::QLDBSession
|
|
108
124
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
125
|
# the background every 60 secs (default). Defaults to `false`.
|
110
126
|
#
|
127
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
128
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
129
|
+
# until there is sufficent client side capacity to retry the request.
|
130
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
131
|
+
# not retry instead of sleeping.
|
132
|
+
#
|
111
133
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
134
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
135
|
# this client.
|
@@ -132,6 +154,10 @@ module Aws::QLDBSession
|
|
132
154
|
# When `true`, an attempt is made to coerce request parameters into
|
133
155
|
# the required types.
|
134
156
|
#
|
157
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
158
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
159
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
160
|
+
#
|
135
161
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
162
|
# Set to true to disable SDK automatically adding host prefix
|
137
163
|
# to default service endpoint when available.
|
@@ -139,7 +165,7 @@ module Aws::QLDBSession
|
|
139
165
|
# @option options [String] :endpoint
|
140
166
|
# The client endpoint is normally constructed from the `:region`
|
141
167
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
143
169
|
#
|
144
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +180,7 @@ module Aws::QLDBSession
|
|
154
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
181
|
#
|
156
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
184
|
#
|
159
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
186
|
# The log formatter.
|
@@ -166,15 +192,29 @@ module Aws::QLDBSession
|
|
166
192
|
# The Logger instance to send log messages to. If this option
|
167
193
|
# is not set, logging will be disabled.
|
168
194
|
#
|
195
|
+
# @option options [Integer] :max_attempts (3)
|
196
|
+
# An integer representing the maximum number attempts that will be made for
|
197
|
+
# a single request, including the initial attempt. For example,
|
198
|
+
# setting this value to 5 will result in a request being retried up to
|
199
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
200
|
+
#
|
169
201
|
# @option options [String] :profile ("default")
|
170
202
|
# Used when loading credentials from the shared credentials file
|
171
203
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
204
|
#
|
205
|
+
# @option options [Proc] :retry_backoff
|
206
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
207
|
+
# This option is only used in the `legacy` retry mode.
|
208
|
+
#
|
173
209
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
210
|
+
# The base delay in seconds used by the default backoff function. This option
|
211
|
+
# is only used in the `legacy` retry mode.
|
175
212
|
#
|
176
213
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
214
|
+
# A delay randomiser function used by the default backoff function.
|
215
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
216
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
217
|
+
# in the `legacy` retry mode.
|
178
218
|
#
|
179
219
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
220
|
#
|
@@ -182,11 +222,30 @@ module Aws::QLDBSession
|
|
182
222
|
# The maximum number of times to retry failed requests. Only
|
183
223
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
224
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
225
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
226
|
+
# endpoint discovery, and errors from expired credentials.
|
227
|
+
# This option is only used in the `legacy` retry mode.
|
187
228
|
#
|
188
229
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
230
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
231
|
+
# used by the default backoff function. This option is only used in the
|
232
|
+
# `legacy` retry mode.
|
233
|
+
#
|
234
|
+
# @option options [String] :retry_mode ("legacy")
|
235
|
+
# Specifies which retry algorithm to use. Values are:
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
190
249
|
#
|
191
250
|
# @option options [String] :secret_access_key
|
192
251
|
#
|
@@ -219,16 +278,15 @@ module Aws::QLDBSession
|
|
219
278
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
279
|
#
|
221
280
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
281
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
282
|
# `Timeout::Error`.
|
224
283
|
#
|
225
284
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
285
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
286
|
+
# safely be set per-request on the session.
|
229
287
|
#
|
230
288
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
289
|
+
# seconds a connection is allowed to sit idle before it is
|
232
290
|
# considered stale. Stale connections are closed and removed
|
233
291
|
# from the pool before making a request.
|
234
292
|
#
|
@@ -237,7 +295,7 @@ module Aws::QLDBSession
|
|
237
295
|
# request body. This option has no effect unless the request has
|
238
296
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
297
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
298
|
+
# request on the session.
|
241
299
|
#
|
242
300
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
301
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -266,6 +324,29 @@ module Aws::QLDBSession
|
|
266
324
|
|
267
325
|
# Sends a command to an Amazon QLDB ledger.
|
268
326
|
#
|
327
|
+
# <note markdown="1"> Instead of interacting directly with this API, we recommend that you
|
328
|
+
# use the Amazon QLDB Driver or the QLDB Shell to execute data
|
329
|
+
# transactions on a ledger.
|
330
|
+
#
|
331
|
+
# * If you are working with an AWS SDK, use the QLDB Driver. The driver
|
332
|
+
# provides a high-level abstraction layer above this `qldbsession`
|
333
|
+
# data plane and manages `SendCommand` API calls for you. For
|
334
|
+
# information and a list of supported programming languages, see
|
335
|
+
# [Getting started with the driver][1] in the *Amazon QLDB Developer
|
336
|
+
# Guide*.
|
337
|
+
#
|
338
|
+
# * If you are working with the AWS Command Line Interface (AWS CLI),
|
339
|
+
# use the QLDB Shell. The shell is a command line interface that uses
|
340
|
+
# the QLDB Driver to interact with a ledger. For information, see
|
341
|
+
# [Accessing Amazon QLDB using the QLDB Shell][2].
|
342
|
+
#
|
343
|
+
# </note>
|
344
|
+
#
|
345
|
+
#
|
346
|
+
#
|
347
|
+
# [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/getting-started-driver.html
|
348
|
+
# [2]: https://docs.aws.amazon.com/qldb/latest/developerguide/data-shell.html
|
349
|
+
#
|
269
350
|
# @option params [String] :session_token
|
270
351
|
# Specifies the session token for the current command. A session token
|
271
352
|
# is constant throughout the life of the session.
|
@@ -376,7 +457,7 @@ module Aws::QLDBSession
|
|
376
457
|
params: params,
|
377
458
|
config: config)
|
378
459
|
context[:gem_name] = 'aws-sdk-qldbsession'
|
379
|
-
context[:gem_version] = '1.
|
460
|
+
context[:gem_version] = '1.6.0'
|
380
461
|
Seahorse::Client::Request.new(handlers, context)
|
381
462
|
end
|
382
463
|
|
@@ -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:
|
@@ -6,6 +8,33 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::QLDBSession
|
11
|
+
|
12
|
+
# When QLDBSession returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::QLDBSession::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all QLDBSession errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::QLDBSession::Errors::ServiceError
|
20
|
+
# # rescues all QLDBSession API errors
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
#
|
24
|
+
# ## Request Context
|
25
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
26
|
+
# information about the request that generated the error.
|
27
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
28
|
+
#
|
29
|
+
# ## Error Classes
|
30
|
+
# * {BadRequestException}
|
31
|
+
# * {InvalidSessionException}
|
32
|
+
# * {LimitExceededException}
|
33
|
+
# * {OccConflictException}
|
34
|
+
# * {RateExceededException}
|
35
|
+
#
|
36
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
37
|
+
# if they are not defined above.
|
9
38
|
module Errors
|
10
39
|
|
11
40
|
extend Aws::Errors::DynamicErrors
|
@@ -28,7 +57,6 @@ module Aws::QLDBSession
|
|
28
57
|
def code
|
29
58
|
@code || @data[:code]
|
30
59
|
end
|
31
|
-
|
32
60
|
end
|
33
61
|
|
34
62
|
class InvalidSessionException < ServiceError
|
@@ -49,7 +77,6 @@ module Aws::QLDBSession
|
|
49
77
|
def code
|
50
78
|
@code || @data[:code]
|
51
79
|
end
|
52
|
-
|
53
80
|
end
|
54
81
|
|
55
82
|
class LimitExceededException < ServiceError
|
@@ -65,7 +92,6 @@ module Aws::QLDBSession
|
|
65
92
|
def message
|
66
93
|
@message || @data[:message]
|
67
94
|
end
|
68
|
-
|
69
95
|
end
|
70
96
|
|
71
97
|
class OccConflictException < ServiceError
|
@@ -81,7 +107,6 @@ module Aws::QLDBSession
|
|
81
107
|
def message
|
82
108
|
@message || @data[:message]
|
83
109
|
end
|
84
|
-
|
85
110
|
end
|
86
111
|
|
87
112
|
class RateExceededException < ServiceError
|
@@ -97,7 +122,6 @@ module Aws::QLDBSession
|
|
97
122
|
def message
|
98
123
|
@message || @data[:message]
|
99
124
|
end
|
100
|
-
|
101
125
|
end
|
102
126
|
|
103
127
|
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:
|
@@ -6,6 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::QLDBSession
|
11
|
+
|
9
12
|
class Resource
|
10
13
|
|
11
14
|
# @param options ({})
|
@@ -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:
|
@@ -36,6 +38,7 @@ module Aws::QLDBSession
|
|
36
38
|
class BadRequestException < Struct.new(
|
37
39
|
:message,
|
38
40
|
:code)
|
41
|
+
SENSITIVE = []
|
39
42
|
include Aws::Structure
|
40
43
|
end
|
41
44
|
|
@@ -50,7 +53,7 @@ module Aws::QLDBSession
|
|
50
53
|
# }
|
51
54
|
#
|
52
55
|
# @!attribute [rw] transaction_id
|
53
|
-
# Specifies the transaction
|
56
|
+
# Specifies the transaction ID of the transaction to commit.
|
54
57
|
# @return [String]
|
55
58
|
#
|
56
59
|
# @!attribute [rw] commit_digest
|
@@ -65,13 +68,14 @@ module Aws::QLDBSession
|
|
65
68
|
class CommitTransactionRequest < Struct.new(
|
66
69
|
:transaction_id,
|
67
70
|
:commit_digest)
|
71
|
+
SENSITIVE = []
|
68
72
|
include Aws::Structure
|
69
73
|
end
|
70
74
|
|
71
75
|
# Contains the details of the committed transaction.
|
72
76
|
#
|
73
77
|
# @!attribute [rw] transaction_id
|
74
|
-
# The transaction
|
78
|
+
# The transaction ID of the committed transaction.
|
75
79
|
# @return [String]
|
76
80
|
#
|
77
81
|
# @!attribute [rw] commit_digest
|
@@ -83,6 +87,7 @@ module Aws::QLDBSession
|
|
83
87
|
class CommitTransactionResult < Struct.new(
|
84
88
|
:transaction_id,
|
85
89
|
:commit_digest)
|
90
|
+
SENSITIVE = []
|
86
91
|
include Aws::Structure
|
87
92
|
end
|
88
93
|
|
@@ -117,7 +122,7 @@ module Aws::QLDBSession
|
|
117
122
|
# }
|
118
123
|
#
|
119
124
|
# @!attribute [rw] transaction_id
|
120
|
-
# Specifies the transaction
|
125
|
+
# Specifies the transaction ID of the request.
|
121
126
|
# @return [String]
|
122
127
|
#
|
123
128
|
# @!attribute [rw] statement
|
@@ -135,6 +140,7 @@ module Aws::QLDBSession
|
|
135
140
|
:transaction_id,
|
136
141
|
:statement,
|
137
142
|
:parameters)
|
143
|
+
SENSITIVE = []
|
138
144
|
include Aws::Structure
|
139
145
|
end
|
140
146
|
|
@@ -148,6 +154,7 @@ module Aws::QLDBSession
|
|
148
154
|
#
|
149
155
|
class ExecuteStatementResult < Struct.new(
|
150
156
|
:first_page)
|
157
|
+
SENSITIVE = []
|
151
158
|
include Aws::Structure
|
152
159
|
end
|
153
160
|
|
@@ -162,7 +169,7 @@ module Aws::QLDBSession
|
|
162
169
|
# }
|
163
170
|
#
|
164
171
|
# @!attribute [rw] transaction_id
|
165
|
-
# Specifies the transaction
|
172
|
+
# Specifies the transaction ID of the page to be fetched.
|
166
173
|
# @return [String]
|
167
174
|
#
|
168
175
|
# @!attribute [rw] next_page_token
|
@@ -174,6 +181,7 @@ module Aws::QLDBSession
|
|
174
181
|
class FetchPageRequest < Struct.new(
|
175
182
|
:transaction_id,
|
176
183
|
:next_page_token)
|
184
|
+
SENSITIVE = []
|
177
185
|
include Aws::Structure
|
178
186
|
end
|
179
187
|
|
@@ -187,10 +195,11 @@ module Aws::QLDBSession
|
|
187
195
|
#
|
188
196
|
class FetchPageResult < Struct.new(
|
189
197
|
:page)
|
198
|
+
SENSITIVE = []
|
190
199
|
include Aws::Structure
|
191
200
|
end
|
192
201
|
|
193
|
-
# Returned if the session doesn't exist anymore because it timed
|
202
|
+
# Returned if the session doesn't exist anymore because it timed out or
|
194
203
|
# expired.
|
195
204
|
#
|
196
205
|
# @!attribute [rw] message
|
@@ -204,6 +213,7 @@ module Aws::QLDBSession
|
|
204
213
|
class InvalidSessionException < Struct.new(
|
205
214
|
:message,
|
206
215
|
:code)
|
216
|
+
SENSITIVE = []
|
207
217
|
include Aws::Structure
|
208
218
|
end
|
209
219
|
|
@@ -217,11 +227,13 @@ module Aws::QLDBSession
|
|
217
227
|
#
|
218
228
|
class LimitExceededException < Struct.new(
|
219
229
|
:message)
|
230
|
+
SENSITIVE = []
|
220
231
|
include Aws::Structure
|
221
232
|
end
|
222
233
|
|
223
234
|
# Returned when a transaction cannot be written to the journal due to a
|
224
|
-
# failure in the verification phase of
|
235
|
+
# failure in the verification phase of *optimistic concurrency control*
|
236
|
+
# (OCC).
|
225
237
|
#
|
226
238
|
# @!attribute [rw] message
|
227
239
|
# @return [String]
|
@@ -230,6 +242,7 @@ module Aws::QLDBSession
|
|
230
242
|
#
|
231
243
|
class OccConflictException < Struct.new(
|
232
244
|
:message)
|
245
|
+
SENSITIVE = []
|
233
246
|
include Aws::Structure
|
234
247
|
end
|
235
248
|
|
@@ -248,6 +261,7 @@ module Aws::QLDBSession
|
|
248
261
|
class Page < Struct.new(
|
249
262
|
:values,
|
250
263
|
:next_page_token)
|
264
|
+
SENSITIVE = []
|
251
265
|
include Aws::Structure
|
252
266
|
end
|
253
267
|
|
@@ -260,6 +274,7 @@ module Aws::QLDBSession
|
|
260
274
|
#
|
261
275
|
class RateExceededException < Struct.new(
|
262
276
|
:message)
|
277
|
+
SENSITIVE = []
|
263
278
|
include Aws::Structure
|
264
279
|
end
|
265
280
|
|
@@ -346,6 +361,7 @@ module Aws::QLDBSession
|
|
346
361
|
:abort_transaction,
|
347
362
|
:execute_statement,
|
348
363
|
:fetch_page)
|
364
|
+
SENSITIVE = []
|
349
365
|
include Aws::Structure
|
350
366
|
end
|
351
367
|
|
@@ -389,10 +405,11 @@ module Aws::QLDBSession
|
|
389
405
|
:abort_transaction,
|
390
406
|
:execute_statement,
|
391
407
|
:fetch_page)
|
408
|
+
SENSITIVE = []
|
392
409
|
include Aws::Structure
|
393
410
|
end
|
394
411
|
|
395
|
-
# Specifies a request to start a
|
412
|
+
# Specifies a request to start a new session.
|
396
413
|
#
|
397
414
|
# @note When making an API call, you may pass StartSessionRequest
|
398
415
|
# data as a hash:
|
@@ -409,6 +426,7 @@ module Aws::QLDBSession
|
|
409
426
|
#
|
410
427
|
class StartSessionRequest < Struct.new(
|
411
428
|
:ledger_name)
|
429
|
+
SENSITIVE = []
|
412
430
|
include Aws::Structure
|
413
431
|
end
|
414
432
|
|
@@ -424,6 +442,7 @@ module Aws::QLDBSession
|
|
424
442
|
#
|
425
443
|
class StartSessionResult < Struct.new(
|
426
444
|
:session_token)
|
445
|
+
SENSITIVE = []
|
427
446
|
include Aws::Structure
|
428
447
|
end
|
429
448
|
|
@@ -438,17 +457,19 @@ module Aws::QLDBSession
|
|
438
457
|
# Contains the details of the started transaction.
|
439
458
|
#
|
440
459
|
# @!attribute [rw] transaction_id
|
441
|
-
# The transaction
|
460
|
+
# The transaction ID of the started transaction.
|
442
461
|
# @return [String]
|
443
462
|
#
|
444
463
|
# @see http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/StartTransactionResult AWS API Documentation
|
445
464
|
#
|
446
465
|
class StartTransactionResult < Struct.new(
|
447
466
|
:transaction_id)
|
467
|
+
SENSITIVE = []
|
448
468
|
include Aws::Structure
|
449
469
|
end
|
450
470
|
|
451
|
-
# A structure that can
|
471
|
+
# A structure that can contain an Amazon Ion value in multiple encoding
|
472
|
+
# formats.
|
452
473
|
#
|
453
474
|
# @note When making an API call, you may pass ValueHolder
|
454
475
|
# data as a hash:
|
@@ -472,6 +493,7 @@ module Aws::QLDBSession
|
|
472
493
|
class ValueHolder < Struct.new(
|
473
494
|
:ion_binary,
|
474
495
|
:ion_text)
|
496
|
+
SENSITIVE = []
|
475
497
|
include Aws::Structure
|
476
498
|
end
|
477
499
|
|
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.6.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: 2020-06-23 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.99.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.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - QLDB Session
|