aws-sdk-qldbsession 1.2.0 → 1.7.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
- SHA1:
3
- metadata.gz: 9d85ed0aec9fab2f5258bde4085613110ef16167
4
- data.tar.gz: bc38510393573ebc61a935a0d0a66f1f80556500
2
+ SHA256:
3
+ metadata.gz: 2ba8dcb8b9c8521d4dd63fb2e74019d41abcefcb0c7725da41b576c5d611668e
4
+ data.tar.gz: c47785ea9ef356c16662a482717541a1a017e4804ee9f0fb4c01cd214d447051
5
5
  SHA512:
6
- metadata.gz: 8a852895fa3a55758f3ea430c3fe891d5948194ef7c8e3eb93dbf84ec0fb62d63159c82708354473f376748152b26779d5dd41d5aadc0f5a7ddb4f43d03fc5c3
7
- data.tar.gz: 2d4df652ac148dfdb127eee1b81129cfc576923c4856d85ede134158f96e3f95f66edbc751e4a421f44f5e5fabc363f9762c46e49918f9601372af822d14bfbc
6
+ metadata.gz: 8c37473009d4f6f5eede04c96ef5da0d8d500517f3ada363fcb085e6da3f6abc1a1409e2cec8ead1060ba788d5bc338662b9738bf8ad443253493e59b2b6e3fc
7
+ data.tar.gz: 26faec5f9589f6d4b41f21c1ce46928e73c4238db408e891b10d6bddc6ebaca7ea09be5a819cdea8f1bb600fec3b58048bef87579c72bdab3bcb6b0d5581fc45
@@ -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:
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-qldbsession/customizations'
42
44
  #
43
45
  # See {Errors} for more information.
44
46
  #
45
- # @service
47
+ # @!group service
46
48
  module Aws::QLDBSession
47
49
 
48
- GEM_VERSION = '1.2.0'
50
+ GEM_VERSION = '1.7.0'
49
51
 
50
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,6 +26,7 @@ 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
 
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:qldbsession)
32
35
  module Aws::QLDBSession
33
36
  # An API client for QLDBSession. To construct a client, you need to configure a `:region` and `:credentials`.
34
37
  #
35
- # client = Aws::QLDBSession::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
38
+ # client = Aws::QLDBSession::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
40
43
  #
41
44
  # For details on configuring region and credentials see
42
45
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -69,6 +72,7 @@ module Aws::QLDBSession
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
78
 
@@ -81,13 +85,28 @@ module Aws::QLDBSession
81
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
82
86
  # credentials.
83
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
+ #
84
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
85
103
  # from an EC2 IMDS on an EC2 instance.
86
104
  #
87
- # * `Aws::SharedCredentials` - Used for loading credentials from a
88
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
89
107
  #
90
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
91
110
  #
92
111
  # When `:credentials` are not configured directly, the following
93
112
  # locations will be searched for credentials:
@@ -97,15 +116,15 @@ module Aws::QLDBSession
97
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
98
117
  # * `~/.aws/credentials`
99
118
  # * `~/.aws/config`
100
- # * EC2 IMDS instance profile - When used by default, the timeouts are
101
- # very aggressive. Construct and pass an instance of
102
- # `Aws::InstanceProfileCredentails` to enable retries and extended
103
- # 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.
104
123
  #
105
124
  # @option options [required, String] :region
106
125
  # The AWS region to connect to. The configured `:region` is
107
126
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
127
+ # a default `:region` is searched for in the following locations:
109
128
  #
110
129
  # * `Aws.config[:region]`
111
130
  # * `ENV['AWS_REGION']`
@@ -161,7 +180,7 @@ module Aws::QLDBSession
161
180
  # @option options [String] :endpoint
162
181
  # The client endpoint is normally constructed from the `:region`
163
182
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
184
  #
166
185
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
186
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +195,7 @@ module Aws::QLDBSession
176
195
  # requests fetching endpoints information. Defaults to 60 sec.
177
196
  #
178
197
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
198
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
199
  #
181
200
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
201
  # The log formatter.
@@ -229,15 +248,19 @@ module Aws::QLDBSession
229
248
  #
230
249
  # @option options [String] :retry_mode ("legacy")
231
250
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
251
+ #
252
+ # * `legacy` - The pre-existing retry behavior. This is default value if
253
+ # no retry mode is provided.
254
+ #
255
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
256
+ # This includes support for retry quotas, which limit the number of
257
+ # unsuccessful retries a client can make.
258
+ #
259
+ # * `adaptive` - An experimental retry mode that includes all the
260
+ # functionality of `standard` mode along with automatic client side
261
+ # throttling. This is a provisional mode that may change behavior
262
+ # in the future.
263
+ #
241
264
  #
242
265
  # @option options [String] :secret_access_key
243
266
  #
@@ -275,8 +298,7 @@ module Aws::QLDBSession
275
298
  #
276
299
  # @option options [Integer] :http_read_timeout (60) The default
277
300
  # number of seconds to wait for response data. This value can
278
- # safely be set
279
- # per-request on the session yielded by {#session_for}.
301
+ # safely be set per-request on the session.
280
302
  #
281
303
  # @option options [Float] :http_idle_timeout (5) The number of
282
304
  # seconds a connection is allowed to sit idle before it is
@@ -288,7 +310,7 @@ module Aws::QLDBSession
288
310
  # request body. This option has no effect unless the request has
289
311
  # "Expect" header set to "100-continue". Defaults to `nil` which
290
312
  # disables this behaviour. This value can safely be set per
291
- # request on the session yielded by {#session_for}.
313
+ # request on the session.
292
314
  #
293
315
  # @option options [Boolean] :http_wire_trace (false) When `true`,
294
316
  # HTTP debug output will be sent to the `:logger`.
@@ -317,6 +339,29 @@ module Aws::QLDBSession
317
339
 
318
340
  # Sends a command to an Amazon QLDB ledger.
319
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.
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`
348
+ # data plane and manages `SendCommand` API calls for you. For
349
+ # information and a list of supported programming languages, see
350
+ # [Getting started with the driver][1] in the *Amazon QLDB Developer
351
+ # Guide*.
352
+ #
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].
357
+ #
358
+ # </note>
359
+ #
360
+ #
361
+ #
362
+ # [1]: https://docs.aws.amazon.com/qldb/latest/developerguide/getting-started-driver.html
363
+ # [2]: https://docs.aws.amazon.com/qldb/latest/developerguide/data-shell.html
364
+ #
320
365
  # @option params [String] :session_token
321
366
  # Specifies the session token for the current command. A session token
322
367
  # is constant throughout the life of the session.
@@ -427,7 +472,7 @@ module Aws::QLDBSession
427
472
  params: params,
428
473
  config: config)
429
474
  context[:gem_name] = 'aws-sdk-qldbsession'
430
- context[:gem_version] = '1.2.0'
475
+ context[:gem_version] = '1.7.0'
431
476
  Seahorse::Client::Request.new(handlers, context)
432
477
  end
433
478
 
@@ -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:
@@ -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:
@@ -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,13 +8,7 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::QLDBSession
9
- # This class provides a resource oriented interface for QLDBSession.
10
- # To create a resource object:
11
- # resource = Aws::QLDBSession::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::QLDBSession::Client.new(region: 'us-west-2')
15
- # resource = Aws::QLDBSession::Resource.new(client: client)
11
+
16
12
  class Resource
17
13
 
18
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 id of the transaction to commit.
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 id of the committed 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 id of the request.
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 id of the page to be fetched.
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-out or
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 Optimistic Concurrency Control.
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 a new session.
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 id of the started 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 contains values in multiple encoding formats.
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.2.0
4
+ version: 1.7.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-03-09 00:00:00.000000000 Z
11
+ date: 2020-08-25 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.71.0
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.71.0
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.5.2.3
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