aws-sdk-managedblockchainquery 1.2.0 → 1.3.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: 7ce14982bc6fcdfc1ee6dc35ed5be59495f82ba30c70b1e9de642e6ae4604b8d
4
- data.tar.gz: 7eda799777beb7ffe0089687d672045c96a056e3a3e63beba3dbee024db35251
3
+ metadata.gz: 52db5e0db3b57794c0fe21434a01858fbb435e12111119ebefab38f540729327
4
+ data.tar.gz: 3a9ff41d8f1be32816836d3f7749972192695d580a89c2a4f006813abfc7ef8b
5
5
  SHA512:
6
- metadata.gz: d58faf6a35ea0c4fd6a774cb7cf071641024f2e3259d1d213600401c08fcd1a5f9d0a9a4cc24ad33f6bc78f820965623d8b11a64bf6399d675cb8195504b0deb
7
- data.tar.gz: 1108e36a1d64d85fb40318f11c6cb0fc5b68e14972bef129c8d6c0ecc8314ef69fdbba62f4c23e08aa9037156dbfefffc2ae3c075cec017f53bfd23b15ceda79
6
+ metadata.gz: fb4c9e3a81ab47d6ca39430ffedc080645483f98887efa2d394b14e4bf94e60d80f13006d88621b8111d09fdd8a1748c95dd46a2e57cb1acf92d72b1cda1a126
7
+ data.tar.gz: 156d34c4c432661225cf444073ad6f1fae394a7593351832e152f5cb73fed079a7f948a2998162e85945ad8db3e99073d18965d8165547afdc77f6213090a2dd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.3.0 (2023-10-19)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for Ethereum Sepolia network
8
+
4
9
  1.2.0 (2023-10-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.3.0
@@ -411,7 +411,7 @@ module Aws::ManagedBlockchainQuery
411
411
  # get_token_balance_inputs: [
412
412
  # {
413
413
  # token_identifier: { # required
414
- # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET
414
+ # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET, ETHEREUM_SEPOLIA_TESTNET
415
415
  # contract_address: "ChainAddress",
416
416
  # token_id: "QueryTokenId",
417
417
  # },
@@ -429,14 +429,14 @@ module Aws::ManagedBlockchainQuery
429
429
  #
430
430
  # resp.token_balances #=> Array
431
431
  # resp.token_balances[0].owner_identifier.address #=> String
432
- # resp.token_balances[0].token_identifier.network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET"
432
+ # resp.token_balances[0].token_identifier.network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET", "ETHEREUM_SEPOLIA_TESTNET"
433
433
  # resp.token_balances[0].token_identifier.contract_address #=> String
434
434
  # resp.token_balances[0].token_identifier.token_id #=> String
435
435
  # resp.token_balances[0].balance #=> String
436
436
  # resp.token_balances[0].at_blockchain_instant.time #=> Time
437
437
  # resp.token_balances[0].last_updated_time.time #=> Time
438
438
  # resp.errors #=> Array
439
- # resp.errors[0].token_identifier.network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET"
439
+ # resp.errors[0].token_identifier.network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET", "ETHEREUM_SEPOLIA_TESTNET"
440
440
  # resp.errors[0].token_identifier.contract_address #=> String
441
441
  # resp.errors[0].token_identifier.token_id #=> String
442
442
  # resp.errors[0].owner_identifier.address #=> String
@@ -479,14 +479,14 @@ module Aws::ManagedBlockchainQuery
479
479
  #
480
480
  # resp = client.get_asset_contract({
481
481
  # contract_identifier: { # required
482
- # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET
482
+ # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET, ETHEREUM_SEPOLIA_TESTNET
483
483
  # contract_address: "ChainAddress", # required
484
484
  # },
485
485
  # })
486
486
  #
487
487
  # @example Response structure
488
488
  #
489
- # resp.contract_identifier.network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET"
489
+ # resp.contract_identifier.network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET", "ETHEREUM_SEPOLIA_TESTNET"
490
490
  # resp.contract_identifier.contract_address #=> String
491
491
  # resp.token_standard #=> String, one of "ERC20", "ERC721", "ERC1155"
492
492
  # resp.deployer_address #=> String
@@ -538,7 +538,7 @@ module Aws::ManagedBlockchainQuery
538
538
  #
539
539
  # resp = client.get_token_balance({
540
540
  # token_identifier: { # required
541
- # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET
541
+ # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET, ETHEREUM_SEPOLIA_TESTNET
542
542
  # contract_address: "ChainAddress",
543
543
  # token_id: "QueryTokenId",
544
544
  # },
@@ -553,7 +553,7 @@ module Aws::ManagedBlockchainQuery
553
553
  # @example Response structure
554
554
  #
555
555
  # resp.owner_identifier.address #=> String
556
- # resp.token_identifier.network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET"
556
+ # resp.token_identifier.network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET", "ETHEREUM_SEPOLIA_TESTNET"
557
557
  # resp.token_identifier.contract_address #=> String
558
558
  # resp.token_identifier.token_id #=> String
559
559
  # resp.balance #=> String
@@ -586,12 +586,12 @@ module Aws::ManagedBlockchainQuery
586
586
  #
587
587
  # resp = client.get_transaction({
588
588
  # transaction_hash: "QueryTransactionHash", # required
589
- # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET
589
+ # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET, ETHEREUM_SEPOLIA_TESTNET
590
590
  # })
591
591
  #
592
592
  # @example Response structure
593
593
  #
594
- # resp.transaction.network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET"
594
+ # resp.transaction.network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET", "ETHEREUM_SEPOLIA_TESTNET"
595
595
  # resp.transaction.block_hash #=> String
596
596
  # resp.transaction.transaction_hash #=> String
597
597
  # resp.transaction.block_number #=> String
@@ -646,7 +646,7 @@ module Aws::ManagedBlockchainQuery
646
646
  #
647
647
  # resp = client.list_asset_contracts({
648
648
  # contract_filter: { # required
649
- # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET
649
+ # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET, ETHEREUM_SEPOLIA_TESTNET
650
650
  # token_standard: "ERC20", # required, accepts ERC20, ERC721, ERC1155
651
651
  # deployer_address: "ChainAddress", # required
652
652
  # },
@@ -657,7 +657,7 @@ module Aws::ManagedBlockchainQuery
657
657
  # @example Response structure
658
658
  #
659
659
  # resp.contracts #=> Array
660
- # resp.contracts[0].contract_identifier.network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET"
660
+ # resp.contracts[0].contract_identifier.network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET", "ETHEREUM_SEPOLIA_TESTNET"
661
661
  # resp.contracts[0].contract_identifier.contract_address #=> String
662
662
  # resp.contracts[0].token_standard #=> String, one of "ERC20", "ERC721", "ERC1155"
663
663
  # resp.contracts[0].deployer_address #=> String
@@ -722,7 +722,7 @@ module Aws::ManagedBlockchainQuery
722
722
  # address: "ChainAddress", # required
723
723
  # },
724
724
  # token_filter: { # required
725
- # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET
725
+ # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET, ETHEREUM_SEPOLIA_TESTNET
726
726
  # contract_address: "ChainAddress",
727
727
  # token_id: "QueryTokenId",
728
728
  # },
@@ -734,7 +734,7 @@ module Aws::ManagedBlockchainQuery
734
734
  #
735
735
  # resp.token_balances #=> Array
736
736
  # resp.token_balances[0].owner_identifier.address #=> String
737
- # resp.token_balances[0].token_identifier.network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET"
737
+ # resp.token_balances[0].token_identifier.network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET", "ETHEREUM_SEPOLIA_TESTNET"
738
738
  # resp.token_balances[0].token_identifier.contract_address #=> String
739
739
  # resp.token_balances[0].token_identifier.token_id #=> String
740
740
  # resp.token_balances[0].balance #=> String
@@ -788,7 +788,7 @@ module Aws::ManagedBlockchainQuery
788
788
  #
789
789
  # resp = client.list_transaction_events({
790
790
  # transaction_hash: "QueryTransactionHash", # required
791
- # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET
791
+ # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET, ETHEREUM_SEPOLIA_TESTNET
792
792
  # next_token: "NextToken",
793
793
  # max_results: 1,
794
794
  # })
@@ -796,7 +796,7 @@ module Aws::ManagedBlockchainQuery
796
796
  # @example Response structure
797
797
  #
798
798
  # resp.events #=> Array
799
- # resp.events[0].network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET"
799
+ # resp.events[0].network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET", "ETHEREUM_SEPOLIA_TESTNET"
800
800
  # resp.events[0].transaction_hash #=> String
801
801
  # resp.events[0].event_type #=> String, one of "ERC20_TRANSFER", "ERC20_MINT", "ERC20_BURN", "ERC20_DEPOSIT", "ERC20_WITHDRAWAL", "ERC721_TRANSFER", "ERC1155_TRANSFER", "BITCOIN_VIN", "BITCOIN_VOUT", "INTERNAL_ETH_TRANSFER", "ETH_TRANSFER"
802
802
  # resp.events[0].from #=> String
@@ -865,7 +865,7 @@ module Aws::ManagedBlockchainQuery
865
865
  #
866
866
  # resp = client.list_transactions({
867
867
  # address: "ChainAddress", # required
868
- # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET
868
+ # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET, ETHEREUM_SEPOLIA_TESTNET
869
869
  # from_blockchain_instant: {
870
870
  # time: Time.now,
871
871
  # },
@@ -884,7 +884,7 @@ module Aws::ManagedBlockchainQuery
884
884
  #
885
885
  # resp.transactions #=> Array
886
886
  # resp.transactions[0].transaction_hash #=> String
887
- # resp.transactions[0].network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET"
887
+ # resp.transactions[0].network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET", "ETHEREUM_SEPOLIA_TESTNET"
888
888
  # resp.transactions[0].transaction_timestamp #=> Time
889
889
  # resp.next_token #=> String
890
890
  #
@@ -910,7 +910,7 @@ module Aws::ManagedBlockchainQuery
910
910
  params: params,
911
911
  config: config)
912
912
  context[:gem_name] = 'aws-sdk-managedblockchainquery'
913
- context[:gem_version] = '1.2.0'
913
+ context[:gem_version] = '1.3.0'
914
914
  Seahorse::Client::Request.new(handlers, context)
915
915
  end
916
916
 
@@ -32,7 +32,7 @@ module Aws::ManagedBlockchainQuery
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://managedblockchain-query-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -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.2.0'
56
+ GEM_VERSION = '1.3.0'
57
57
 
58
58
  end
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.2.0
4
+ version: 1.3.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: 2023-10-16 00:00:00.000000000 Z
11
+ date: 2023-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core