aws-sdk-managedblockchainquery 1.9.0 → 1.11.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: 8599fcdede82663aaf94164ef4a14358b4f72b9dd410c6b58894c6143473f660
4
- data.tar.gz: 121a5a7b22d19786edcec239e2778aa6259c65781680f0e7072ff2e781f177b3
3
+ metadata.gz: bcd8920a04100d4007cf77adbc85d7576fdb8a19642c346db9c1242751b7a5ad
4
+ data.tar.gz: 208f9517bc65eb1f5b3fd676229eedf580f36931624089e5e55162fff0ed7e9b
5
5
  SHA512:
6
- metadata.gz: 644b65cb87a7a927c6932d56830cbff61c5d697739c9f83c3f3e3ae65ce987c9c634393213b6ebf2d6c329cec1cf4da79df2075da345682ff1d59dc191c643b5
7
- data.tar.gz: 95ccfcfcd3f987ebb6cd57334cc0fcbf14f14a1f4047042ef3de0181e8315c45b8c7a032a9f95e5325d6f4aed12e26f62e96d75f2935880d849cb17b22dbe970
6
+ metadata.gz: 5e9c77f4ce4ad87d809e79c81804de963f186ed2db2ad88b650080ccf360a72b61066e8922283d0761e47d56349a6392e48df5f0396f8e7da6732247363401b0
7
+ data.tar.gz: 35e10c2b030d5250d2f65c0c9e285e0b945d0e884484b08f26c927e531a791d824f02af71a69312fd4ba3f81a669854832be0654b0e03d6efddc2be12b62ff9e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.11.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.10.0 (2024-03-20)
10
+ ------------------
11
+
12
+ * Feature - AMB Query: update GetTransaction to include transactionId as input
13
+
4
14
  1.9.0 (2024-03-19)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.11.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::ManagedBlockchainQuery
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::ManagedBlockchainQuery
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -337,50 +346,65 @@ module Aws::ManagedBlockchainQuery
337
346
  # @option options [Aws::ManagedBlockchainQuery::EndpointProvider] :endpoint_provider
338
347
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ManagedBlockchainQuery::EndpointParameters`
339
348
  #
340
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
341
- # requests through. Formatted like 'http://proxy.com:123'.
342
- #
343
- # @option options [Float] :http_open_timeout (15) The number of
344
- # seconds to wait when opening a HTTP session before raising a
345
- # `Timeout::Error`.
346
- #
347
- # @option options [Float] :http_read_timeout (60) The default
348
- # number of seconds to wait for response data. This value can
349
- # safely be set per-request on the session.
350
- #
351
- # @option options [Float] :http_idle_timeout (5) The number of
352
- # seconds a connection is allowed to sit idle before it is
353
- # considered stale. Stale connections are closed and removed
354
- # from the pool before making a request.
355
- #
356
- # @option options [Float] :http_continue_timeout (1) The number of
357
- # seconds to wait for a 100-continue response before sending the
358
- # request body. This option has no effect unless the request has
359
- # "Expect" header set to "100-continue". Defaults to `nil` which
360
- # disables this behaviour. This value can safely be set per
361
- # request on the session.
362
- #
363
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
364
- # in seconds.
349
+ # @option options [Float] :http_continue_timeout (1)
350
+ # The number of seconds to wait for a 100-continue response before sending the
351
+ # request body. This option has no effect unless the request has "Expect"
352
+ # header set to "100-continue". Defaults to `nil` which disables this
353
+ # behaviour. This value can safely be set per request on the session.
354
+ #
355
+ # @option options [Float] :http_idle_timeout (5)
356
+ # The number of seconds a connection is allowed to sit idle before it
357
+ # is considered stale. Stale connections are closed and removed from the
358
+ # pool before making a request.
359
+ #
360
+ # @option options [Float] :http_open_timeout (15)
361
+ # The default number of seconds to wait for response data.
362
+ # This value can safely be set per-request on the session.
363
+ #
364
+ # @option options [URI::HTTP,String] :http_proxy
365
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
366
+ #
367
+ # @option options [Float] :http_read_timeout (60)
368
+ # The default number of seconds to wait for response data.
369
+ # This value can safely be set per-request on the session.
370
+ #
371
+ # @option options [Boolean] :http_wire_trace (false)
372
+ # When `true`, HTTP debug output will be sent to the `:logger`.
373
+ #
374
+ # @option options [Proc] :on_chunk_received
375
+ # When a Proc object is provided, it will be used as callback when each chunk
376
+ # of the response body is received. It provides three arguments: the chunk,
377
+ # the number of bytes received, and the total number of
378
+ # bytes in the response (or nil if the server did not send a `content-length`).
379
+ #
380
+ # @option options [Proc] :on_chunk_sent
381
+ # When a Proc object is provided, it will be used as callback when each chunk
382
+ # of the request body is sent. It provides three arguments: the chunk,
383
+ # the number of bytes read from the body, and the total number of
384
+ # bytes in the body.
385
+ #
386
+ # @option options [Boolean] :raise_response_errors (true)
387
+ # When `true`, response errors are raised.
388
+ #
389
+ # @option options [String] :ssl_ca_bundle
390
+ # Full path to the SSL certificate authority bundle file that should be used when
391
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
392
+ # `:ssl_ca_directory` the the system default will be used if available.
393
+ #
394
+ # @option options [String] :ssl_ca_directory
395
+ # Full path of the directory that contains the unbundled SSL certificate
396
+ # authority files for verifying peer certificates. If you do
397
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
398
+ # default will be used if available.
365
399
  #
366
- # @option options [Boolean] :http_wire_trace (false) When `true`,
367
- # HTTP debug output will be sent to the `:logger`.
400
+ # @option options [String] :ssl_ca_store
401
+ # Sets the X509::Store to verify peer certificate.
368
402
  #
369
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
370
- # SSL peer certificates are verified when establishing a
371
- # connection.
403
+ # @option options [Float] :ssl_timeout
404
+ # Sets the SSL timeout in seconds
372
405
  #
373
- # @option options [String] :ssl_ca_bundle Full path to the SSL
374
- # certificate authority bundle file that should be used when
375
- # verifying peer certificates. If you do not pass
376
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
377
- # will be used if available.
378
- #
379
- # @option options [String] :ssl_ca_directory Full path of the
380
- # directory that contains the unbundled SSL certificate
381
- # authority files for verifying peer certificates. If you do
382
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
383
- # system default will be used if available.
406
+ # @option options [Boolean] :ssl_verify_peer (true)
407
+ # When `true`, SSL peer certificates are verified when establishing a connection.
384
408
  #
385
409
  def initialize(*args)
386
410
  super
@@ -581,10 +605,18 @@ module Aws::ManagedBlockchainQuery
581
605
  #
582
606
  # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality
583
607
  #
584
- # @option params [required, String] :transaction_hash
608
+ # @option params [String] :transaction_hash
585
609
  # The hash of a transaction. It is generated when a transaction is
586
610
  # created.
587
611
  #
612
+ # @option params [String] :transaction_id
613
+ # The identifier of a Bitcoin transaction. It is generated when a
614
+ # transaction is created.
615
+ #
616
+ # <note markdown="1"> `transactionId` is only supported on the Bitcoin networks.
617
+ #
618
+ # </note>
619
+ #
588
620
  # @option params [required, String] :network
589
621
  # The blockchain network where the transaction occurred.
590
622
  #
@@ -595,7 +627,8 @@ module Aws::ManagedBlockchainQuery
595
627
  # @example Request syntax with placeholder values
596
628
  #
597
629
  # resp = client.get_transaction({
598
- # transaction_hash: "QueryTransactionHash", # required
630
+ # transaction_hash: "QueryTransactionHash",
631
+ # transaction_id: "QueryTransactionId",
599
632
  # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, ETHEREUM_SEPOLIA_TESTNET, BITCOIN_MAINNET, BITCOIN_TESTNET
600
633
  # })
601
634
  #
@@ -1072,6 +1105,7 @@ module Aws::ManagedBlockchainQuery
1072
1105
  #
1073
1106
  # resp.transactions #=> Array
1074
1107
  # resp.transactions[0].transaction_hash #=> String
1108
+ # resp.transactions[0].transaction_id #=> String
1075
1109
  # resp.transactions[0].network #=> String, one of "ETHEREUM_MAINNET", "ETHEREUM_SEPOLIA_TESTNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET"
1076
1110
  # resp.transactions[0].transaction_timestamp #=> Time
1077
1111
  # resp.transactions[0].confirmation_status #=> String, one of "FINAL", "NONFINAL"
@@ -1099,7 +1133,7 @@ module Aws::ManagedBlockchainQuery
1099
1133
  params: params,
1100
1134
  config: config)
1101
1135
  context[:gem_name] = 'aws-sdk-managedblockchainquery'
1102
- context[:gem_version] = '1.9.0'
1136
+ context[:gem_version] = '1.11.0'
1103
1137
  Seahorse::Client::Request.new(handlers, context)
1104
1138
  end
1105
1139
 
@@ -193,7 +193,8 @@ module Aws::ManagedBlockchainQuery
193
193
  GetTokenBalanceOutput.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: BlockchainInstant, location_name: "lastUpdatedTime"))
194
194
  GetTokenBalanceOutput.struct_class = Types::GetTokenBalanceOutput
195
195
 
196
- GetTransactionInput.add_member(:transaction_hash, Shapes::ShapeRef.new(shape: QueryTransactionHash, required: true, location_name: "transactionHash"))
196
+ GetTransactionInput.add_member(:transaction_hash, Shapes::ShapeRef.new(shape: QueryTransactionHash, location_name: "transactionHash"))
197
+ GetTransactionInput.add_member(:transaction_id, Shapes::ShapeRef.new(shape: QueryTransactionId, location_name: "transactionId"))
197
198
  GetTransactionInput.add_member(:network, Shapes::ShapeRef.new(shape: QueryNetwork, required: true, location_name: "network"))
198
199
  GetTransactionInput.struct_class = Types::GetTransactionInput
199
200
 
@@ -360,6 +361,7 @@ module Aws::ManagedBlockchainQuery
360
361
  TransactionEventList.member = Shapes::ShapeRef.new(shape: TransactionEvent)
361
362
 
362
363
  TransactionOutputItem.add_member(:transaction_hash, Shapes::ShapeRef.new(shape: QueryTransactionHash, required: true, location_name: "transactionHash"))
364
+ TransactionOutputItem.add_member(:transaction_id, Shapes::ShapeRef.new(shape: QueryTransactionId, location_name: "transactionId"))
363
365
  TransactionOutputItem.add_member(:network, Shapes::ShapeRef.new(shape: QueryNetwork, required: true, location_name: "network"))
364
366
  TransactionOutputItem.add_member(:transaction_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "transactionTimestamp"))
365
367
  TransactionOutputItem.add_member(:confirmation_status, Shapes::ShapeRef.new(shape: ConfirmationStatus, location_name: "confirmationStatus"))
@@ -433,6 +433,15 @@ module Aws::ManagedBlockchainQuery
433
433
  # created.
434
434
  # @return [String]
435
435
  #
436
+ # @!attribute [rw] transaction_id
437
+ # The identifier of a Bitcoin transaction. It is generated when a
438
+ # transaction is created.
439
+ #
440
+ # <note markdown="1"> `transactionId` is only supported on the Bitcoin networks.
441
+ #
442
+ # </note>
443
+ # @return [String]
444
+ #
436
445
  # @!attribute [rw] network
437
446
  # The blockchain network where the transaction occurred.
438
447
  # @return [String]
@@ -441,6 +450,7 @@ module Aws::ManagedBlockchainQuery
441
450
  #
442
451
  class GetTransactionInput < Struct.new(
443
452
  :transaction_hash,
453
+ :transaction_id,
444
454
  :network)
445
455
  SENSITIVE = []
446
456
  include Aws::Structure
@@ -1379,6 +1389,11 @@ module Aws::ManagedBlockchainQuery
1379
1389
  # created.
1380
1390
  # @return [String]
1381
1391
  #
1392
+ # @!attribute [rw] transaction_id
1393
+ # The identifier of a Bitcoin transaction. It is generated when a
1394
+ # transaction is created.
1395
+ # @return [String]
1396
+ #
1382
1397
  # @!attribute [rw] network
1383
1398
  # The blockchain network where the transaction occurred.
1384
1399
  # @return [String]
@@ -1396,6 +1411,7 @@ module Aws::ManagedBlockchainQuery
1396
1411
  #
1397
1412
  class TransactionOutputItem < Struct.new(
1398
1413
  :transaction_hash,
1414
+ :transaction_id,
1399
1415
  :network,
1400
1416
  :transaction_timestamp,
1401
1417
  :confirmation_status)
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-managedblockchainquery/customizations'
53
53
  # @!group service
54
54
  module Aws::ManagedBlockchainQuery
55
55
 
56
- GEM_VERSION = '1.9.0'
56
+ GEM_VERSION = '1.11.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -143,7 +143,8 @@ module Aws
143
143
  end
144
144
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchainQuery/Client.html#get_transaction-instance_method
145
145
  def get_transaction: (
146
- transaction_hash: ::String,
146
+ ?transaction_hash: ::String,
147
+ ?transaction_id: ::String,
147
148
  network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
148
149
  ) -> _GetTransactionResponseSuccess
149
150
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTransactionResponseSuccess
data/sig/types.rbs CHANGED
@@ -123,6 +123,7 @@ module Aws::ManagedBlockchainQuery
123
123
 
124
124
  class GetTransactionInput
125
125
  attr_accessor transaction_hash: ::String
126
+ attr_accessor transaction_id: ::String
126
127
  attr_accessor network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
127
128
  SENSITIVE: []
128
129
  end
@@ -337,6 +338,7 @@ module Aws::ManagedBlockchainQuery
337
338
 
338
339
  class TransactionOutputItem
339
340
  attr_accessor transaction_hash: ::String
341
+ attr_accessor transaction_id: ::String
340
342
  attr_accessor network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
341
343
  attr_accessor transaction_timestamp: ::Time
342
344
  attr_accessor confirmation_status: ("FINAL" | "NONFINAL")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-managedblockchainquery
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
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: 2024-03-19 00:00:00.000000000 Z
11
+ date: 2024-04-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.191.0
22
+ version: 3.193.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.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement