aws-sdk-managedblockchainquery 1.9.0 → 1.10.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: 8599fcdede82663aaf94164ef4a14358b4f72b9dd410c6b58894c6143473f660
4
- data.tar.gz: 121a5a7b22d19786edcec239e2778aa6259c65781680f0e7072ff2e781f177b3
3
+ metadata.gz: 207f26c59985fd8ab9b8a270321ffeb2f068138640994ddf68d52ccb6e1552e7
4
+ data.tar.gz: ec24c2b0871e17b581439e81dcb9a922f362be27ca3b58773324a69e5db3b8af
5
5
  SHA512:
6
- metadata.gz: 644b65cb87a7a927c6932d56830cbff61c5d697739c9f83c3f3e3ae65ce987c9c634393213b6ebf2d6c329cec1cf4da79df2075da345682ff1d59dc191c643b5
7
- data.tar.gz: 95ccfcfcd3f987ebb6cd57334cc0fcbf14f14a1f4047042ef3de0181e8315c45b8c7a032a9f95e5325d6f4aed12e26f62e96d75f2935880d849cb17b22dbe970
6
+ metadata.gz: 4f811b0537dd28283ba346c70a9e31303d992283d8eca7b24d80d3f20e928c06052badbaf4b261e605671b85937ef4abefdb25435b64d3106e7f60f6f2f2820a
7
+ data.tar.gz: a9e93eb76d38e2c793cd25780d01483811543754db7568c98210eedb2452e831ac195ea4060edd23057ae1955a965b243d3a09a477dc5293d0cc38720eac8ba6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.10.0 (2024-03-20)
5
+ ------------------
6
+
7
+ * Feature - AMB Query: update GetTransaction to include transactionId as input
8
+
4
9
  1.9.0 (2024-03-19)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.10.0
@@ -581,10 +581,18 @@ module Aws::ManagedBlockchainQuery
581
581
  #
582
582
  # [1]: https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality
583
583
  #
584
- # @option params [required, String] :transaction_hash
584
+ # @option params [String] :transaction_hash
585
585
  # The hash of a transaction. It is generated when a transaction is
586
586
  # created.
587
587
  #
588
+ # @option params [String] :transaction_id
589
+ # The identifier of a Bitcoin transaction. It is generated when a
590
+ # transaction is created.
591
+ #
592
+ # <note markdown="1"> `transactionId` is only supported on the Bitcoin networks.
593
+ #
594
+ # </note>
595
+ #
588
596
  # @option params [required, String] :network
589
597
  # The blockchain network where the transaction occurred.
590
598
  #
@@ -595,7 +603,8 @@ module Aws::ManagedBlockchainQuery
595
603
  # @example Request syntax with placeholder values
596
604
  #
597
605
  # resp = client.get_transaction({
598
- # transaction_hash: "QueryTransactionHash", # required
606
+ # transaction_hash: "QueryTransactionHash",
607
+ # transaction_id: "QueryTransactionId",
599
608
  # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, ETHEREUM_SEPOLIA_TESTNET, BITCOIN_MAINNET, BITCOIN_TESTNET
600
609
  # })
601
610
  #
@@ -1072,6 +1081,7 @@ module Aws::ManagedBlockchainQuery
1072
1081
  #
1073
1082
  # resp.transactions #=> Array
1074
1083
  # resp.transactions[0].transaction_hash #=> String
1084
+ # resp.transactions[0].transaction_id #=> String
1075
1085
  # resp.transactions[0].network #=> String, one of "ETHEREUM_MAINNET", "ETHEREUM_SEPOLIA_TESTNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET"
1076
1086
  # resp.transactions[0].transaction_timestamp #=> Time
1077
1087
  # resp.transactions[0].confirmation_status #=> String, one of "FINAL", "NONFINAL"
@@ -1099,7 +1109,7 @@ module Aws::ManagedBlockchainQuery
1099
1109
  params: params,
1100
1110
  config: config)
1101
1111
  context[:gem_name] = 'aws-sdk-managedblockchainquery'
1102
- context[:gem_version] = '1.9.0'
1112
+ context[:gem_version] = '1.10.0'
1103
1113
  Seahorse::Client::Request.new(handlers, context)
1104
1114
  end
1105
1115
 
@@ -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.10.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.10.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-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core