aws-sdk-managedblockchainquery 1.5.0 → 1.7.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: bc6f21242d6a1ace83e5893aaf67b3d6e8a5625ae9004e805cd65ef183e92f7f
4
- data.tar.gz: b4f9cb65aba318722ae54a3b74095e492f427d3f05d2336a04758d9f601a2cd9
3
+ metadata.gz: b08f0fd763a92a3bd6a3ccd5f21dd637af30c3bb4ed993d5bed0c024315057fe
4
+ data.tar.gz: a504acf2a5c9287b2d81983b3d6972bd4af1f2fe818bca25a13856a16b853708
5
5
  SHA512:
6
- metadata.gz: 20401c785149c617574fac4fee98b3c27043ea7a43ba29c7bb303a5f9f2163e03baeb8f9634f53f3d7a1f82c3b3860392f5356de4eae42b1ca628423e1e37631
7
- data.tar.gz: 1a62eed13ec9ad4bce2d700257d76f4dd63a00c42fe617ab225a99b4aba5153a722961a46dbb9138b350058b9a82fe2284991eaadb67461fb16e24a8d3e03152
6
+ metadata.gz: 6de82438302622af1038ed6e5fa9e95eb40d937c37b729e74e5d10bf6707b93099b94a1edd0ddb930261d4c56922195001fcff3e724d43fff461296e3650d9cd
7
+ data.tar.gz: 13ef720a4a4a8e813f08968b48102c9a0b0714a7d7638cfd8e9bba1750c2edb83addd076029b366961d0066ec2a4f4a1d343ae8fe84e7d1e614aa3b0e45c9e1f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.7.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.6.0 (2023-12-20)
10
+ ------------------
11
+
12
+ * Feature - Adding Confirmation Status and Execution Status to GetTransaction Response.
13
+
4
14
  1.5.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.0
1
+ 1.7.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, ETHEREUM_SEPOLIA_TESTNET
414
+ # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, ETHEREUM_SEPOLIA_TESTNET, BITCOIN_MAINNET, BITCOIN_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", "ETHEREUM_SEPOLIA_TESTNET"
432
+ # resp.token_balances[0].token_identifier.network #=> String, one of "ETHEREUM_MAINNET", "ETHEREUM_SEPOLIA_TESTNET", "BITCOIN_MAINNET", "BITCOIN_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", "ETHEREUM_SEPOLIA_TESTNET"
439
+ # resp.errors[0].token_identifier.network #=> String, one of "ETHEREUM_MAINNET", "ETHEREUM_SEPOLIA_TESTNET", "BITCOIN_MAINNET", "BITCOIN_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, ETHEREUM_SEPOLIA_TESTNET
482
+ # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, ETHEREUM_SEPOLIA_TESTNET, BITCOIN_MAINNET, BITCOIN_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", "ETHEREUM_SEPOLIA_TESTNET"
489
+ # resp.contract_identifier.network #=> String, one of "ETHEREUM_MAINNET", "ETHEREUM_SEPOLIA_TESTNET", "BITCOIN_MAINNET", "BITCOIN_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, ETHEREUM_SEPOLIA_TESTNET
541
+ # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, ETHEREUM_SEPOLIA_TESTNET, BITCOIN_MAINNET, BITCOIN_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", "ETHEREUM_SEPOLIA_TESTNET"
556
+ # resp.token_identifier.network #=> String, one of "ETHEREUM_MAINNET", "ETHEREUM_SEPOLIA_TESTNET", "BITCOIN_MAINNET", "BITCOIN_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, ETHEREUM_SEPOLIA_TESTNET
589
+ # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, ETHEREUM_SEPOLIA_TESTNET, BITCOIN_MAINNET, BITCOIN_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", "ETHEREUM_SEPOLIA_TESTNET"
594
+ # resp.transaction.network #=> String, one of "ETHEREUM_MAINNET", "ETHEREUM_SEPOLIA_TESTNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET"
595
595
  # resp.transaction.block_hash #=> String
596
596
  # resp.transaction.transaction_hash #=> String
597
597
  # resp.transaction.block_number #=> String
@@ -610,6 +610,8 @@ module Aws::ManagedBlockchainQuery
610
610
  # resp.transaction.signature_s #=> String
611
611
  # resp.transaction.transaction_fee #=> String
612
612
  # resp.transaction.transaction_id #=> String
613
+ # resp.transaction.confirmation_status #=> String, one of "FINAL"
614
+ # resp.transaction.execution_status #=> String, one of "FAILED", "SUCCEEDED"
613
615
  #
614
616
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/GetTransaction AWS API Documentation
615
617
  #
@@ -646,7 +648,7 @@ module Aws::ManagedBlockchainQuery
646
648
  #
647
649
  # resp = client.list_asset_contracts({
648
650
  # contract_filter: { # required
649
- # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET, ETHEREUM_SEPOLIA_TESTNET
651
+ # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, ETHEREUM_SEPOLIA_TESTNET, BITCOIN_MAINNET, BITCOIN_TESTNET
650
652
  # token_standard: "ERC20", # required, accepts ERC20, ERC721, ERC1155
651
653
  # deployer_address: "ChainAddress", # required
652
654
  # },
@@ -657,7 +659,7 @@ module Aws::ManagedBlockchainQuery
657
659
  # @example Response structure
658
660
  #
659
661
  # resp.contracts #=> Array
660
- # resp.contracts[0].contract_identifier.network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET", "ETHEREUM_SEPOLIA_TESTNET"
662
+ # resp.contracts[0].contract_identifier.network #=> String, one of "ETHEREUM_MAINNET", "ETHEREUM_SEPOLIA_TESTNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET"
661
663
  # resp.contracts[0].contract_identifier.contract_address #=> String
662
664
  # resp.contracts[0].token_standard #=> String, one of "ERC20", "ERC721", "ERC1155"
663
665
  # resp.contracts[0].deployer_address #=> String
@@ -722,7 +724,7 @@ module Aws::ManagedBlockchainQuery
722
724
  # address: "ChainAddress", # required
723
725
  # },
724
726
  # token_filter: { # required
725
- # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET, ETHEREUM_SEPOLIA_TESTNET
727
+ # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, ETHEREUM_SEPOLIA_TESTNET, BITCOIN_MAINNET, BITCOIN_TESTNET
726
728
  # contract_address: "ChainAddress",
727
729
  # token_id: "QueryTokenId",
728
730
  # },
@@ -734,7 +736,7 @@ module Aws::ManagedBlockchainQuery
734
736
  #
735
737
  # resp.token_balances #=> Array
736
738
  # 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", "ETHEREUM_SEPOLIA_TESTNET"
739
+ # resp.token_balances[0].token_identifier.network #=> String, one of "ETHEREUM_MAINNET", "ETHEREUM_SEPOLIA_TESTNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET"
738
740
  # resp.token_balances[0].token_identifier.contract_address #=> String
739
741
  # resp.token_balances[0].token_identifier.token_id #=> String
740
742
  # resp.token_balances[0].balance #=> String
@@ -788,7 +790,7 @@ module Aws::ManagedBlockchainQuery
788
790
  #
789
791
  # resp = client.list_transaction_events({
790
792
  # transaction_hash: "QueryTransactionHash", # required
791
- # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET, ETHEREUM_SEPOLIA_TESTNET
793
+ # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, ETHEREUM_SEPOLIA_TESTNET, BITCOIN_MAINNET, BITCOIN_TESTNET
792
794
  # next_token: "NextToken",
793
795
  # max_results: 1,
794
796
  # })
@@ -796,7 +798,7 @@ module Aws::ManagedBlockchainQuery
796
798
  # @example Response structure
797
799
  #
798
800
  # resp.events #=> Array
799
- # resp.events[0].network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET", "ETHEREUM_SEPOLIA_TESTNET"
801
+ # resp.events[0].network #=> String, one of "ETHEREUM_MAINNET", "ETHEREUM_SEPOLIA_TESTNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET"
800
802
  # resp.events[0].transaction_hash #=> String
801
803
  # 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
804
  # resp.events[0].from #=> String
@@ -865,7 +867,7 @@ module Aws::ManagedBlockchainQuery
865
867
  #
866
868
  # resp = client.list_transactions({
867
869
  # address: "ChainAddress", # required
868
- # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, BITCOIN_MAINNET, BITCOIN_TESTNET, ETHEREUM_SEPOLIA_TESTNET
870
+ # network: "ETHEREUM_MAINNET", # required, accepts ETHEREUM_MAINNET, ETHEREUM_SEPOLIA_TESTNET, BITCOIN_MAINNET, BITCOIN_TESTNET
869
871
  # from_blockchain_instant: {
870
872
  # time: Time.now,
871
873
  # },
@@ -884,7 +886,7 @@ module Aws::ManagedBlockchainQuery
884
886
  #
885
887
  # resp.transactions #=> Array
886
888
  # resp.transactions[0].transaction_hash #=> String
887
- # resp.transactions[0].network #=> String, one of "ETHEREUM_MAINNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET", "ETHEREUM_SEPOLIA_TESTNET"
889
+ # resp.transactions[0].network #=> String, one of "ETHEREUM_MAINNET", "ETHEREUM_SEPOLIA_TESTNET", "BITCOIN_MAINNET", "BITCOIN_TESTNET"
888
890
  # resp.transactions[0].transaction_timestamp #=> Time
889
891
  # resp.next_token #=> String
890
892
  #
@@ -910,7 +912,7 @@ module Aws::ManagedBlockchainQuery
910
912
  params: params,
911
913
  config: config)
912
914
  context[:gem_name] = 'aws-sdk-managedblockchainquery'
913
- context[:gem_version] = '1.5.0'
915
+ context[:gem_version] = '1.7.0'
914
916
  Seahorse::Client::Request.new(handlers, context)
915
917
  end
916
918
 
@@ -26,11 +26,13 @@ module Aws::ManagedBlockchainQuery
26
26
  BlockHash = Shapes::StringShape.new(name: 'BlockHash')
27
27
  BlockchainInstant = Shapes::StructureShape.new(name: 'BlockchainInstant')
28
28
  ChainAddress = Shapes::StringShape.new(name: 'ChainAddress')
29
+ ConfirmationStatus = Shapes::StringShape.new(name: 'ConfirmationStatus')
29
30
  ContractFilter = Shapes::StructureShape.new(name: 'ContractFilter')
30
31
  ContractIdentifier = Shapes::StructureShape.new(name: 'ContractIdentifier')
31
32
  ContractMetadata = Shapes::StructureShape.new(name: 'ContractMetadata')
32
33
  ErrorType = Shapes::StringShape.new(name: 'ErrorType')
33
34
  ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
35
+ ExecutionStatus = Shapes::StringShape.new(name: 'ExecutionStatus')
34
36
  GetAssetContractInput = Shapes::StructureShape.new(name: 'GetAssetContractInput')
35
37
  GetAssetContractOutput = Shapes::StructureShape.new(name: 'GetAssetContractOutput')
36
38
  GetTokenBalanceInput = Shapes::StructureShape.new(name: 'GetTokenBalanceInput')
@@ -276,7 +278,7 @@ module Aws::ManagedBlockchainQuery
276
278
  Transaction.add_member(:transaction_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "transactionTimestamp"))
277
279
  Transaction.add_member(:transaction_index, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "transactionIndex"))
278
280
  Transaction.add_member(:number_of_transactions, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "numberOfTransactions"))
279
- Transaction.add_member(:status, Shapes::ShapeRef.new(shape: QueryTransactionStatus, required: true, location_name: "status"))
281
+ Transaction.add_member(:status, Shapes::ShapeRef.new(shape: QueryTransactionStatus, deprecated: true, location_name: "status", metadata: {"deprecatedMessage"=>"The status field in the GetTransaction response is deprecated and is replaced with the confirmationStatus and executionStatus fields."}))
280
282
  Transaction.add_member(:to, Shapes::ShapeRef.new(shape: ChainAddress, required: true, location_name: "to"))
281
283
  Transaction.add_member(:from, Shapes::ShapeRef.new(shape: ChainAddress, location_name: "from"))
282
284
  Transaction.add_member(:contract_address, Shapes::ShapeRef.new(shape: ChainAddress, location_name: "contractAddress"))
@@ -288,6 +290,8 @@ module Aws::ManagedBlockchainQuery
288
290
  Transaction.add_member(:signature_s, Shapes::ShapeRef.new(shape: String, location_name: "signatureS"))
289
291
  Transaction.add_member(:transaction_fee, Shapes::ShapeRef.new(shape: String, location_name: "transactionFee"))
290
292
  Transaction.add_member(:transaction_id, Shapes::ShapeRef.new(shape: String, location_name: "transactionId"))
293
+ Transaction.add_member(:confirmation_status, Shapes::ShapeRef.new(shape: ConfirmationStatus, location_name: "confirmationStatus"))
294
+ Transaction.add_member(:execution_status, Shapes::ShapeRef.new(shape: ExecutionStatus, location_name: "executionStatus"))
291
295
  Transaction.struct_class = Types::Transaction
292
296
 
293
297
  TransactionEvent.add_member(:network, Shapes::ShapeRef.new(shape: QueryNetwork, required: true, location_name: "network"))
@@ -14,6 +14,7 @@ module Aws::ManagedBlockchainQuery
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::ManagedBlockchainQuery::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -963,6 +963,18 @@ module Aws::ManagedBlockchainQuery
963
963
  #
964
964
  # @!attribute [rw] status
965
965
  # The status of the transaction.
966
+ #
967
+ # This property is deprecated. You must use the `confirmationStatus`
968
+ # and the `executionStatus` properties to determine if the `status` of
969
+ # the transaction is `FINAL` or `FAILED`.
970
+ #
971
+ # * Transactions with a `status` of `FINAL` will now have the
972
+ # `confirmationStatus` set to `FINAL` and the `executionStatus` set
973
+ # to `SUCCEEDED`.
974
+ #
975
+ # * Transactions with a `status` of `FAILED` will now have the
976
+ # `confirmationStatus` set to `FINAL` and the `executionStatus` set
977
+ # to `FAILED`.
966
978
  # @return [String]
967
979
  #
968
980
  # @!attribute [rw] to
@@ -1012,6 +1024,14 @@ module Aws::ManagedBlockchainQuery
1012
1024
  # transaction is verified and added to the blockchain.
1013
1025
  # @return [String]
1014
1026
  #
1027
+ # @!attribute [rw] confirmation_status
1028
+ # Specifies whether the transaction has reached Finality.
1029
+ # @return [String]
1030
+ #
1031
+ # @!attribute [rw] execution_status
1032
+ # Identifies whether the transaction has succeeded or failed.
1033
+ # @return [String]
1034
+ #
1015
1035
  # @see http://docs.aws.amazon.com/goto/WebAPI/managedblockchain-query-2023-05-04/Transaction AWS API Documentation
1016
1036
  #
1017
1037
  class Transaction < Struct.new(
@@ -1033,7 +1053,9 @@ module Aws::ManagedBlockchainQuery
1033
1053
  :signature_r,
1034
1054
  :signature_s,
1035
1055
  :transaction_fee,
1036
- :transaction_id)
1056
+ :transaction_id,
1057
+ :confirmation_status,
1058
+ :execution_status)
1037
1059
  SENSITIVE = []
1038
1060
  include Aws::Structure
1039
1061
  end
@@ -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.5.0'
56
+ GEM_VERSION = '1.7.0'
57
57
 
58
58
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,228 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ManagedBlockchainQuery
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchainQuery/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _BatchGetTokenBalanceResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetTokenBalanceOutput]
77
+ def token_balances: () -> ::Array[Types::BatchGetTokenBalanceOutputItem]
78
+ def errors: () -> ::Array[Types::BatchGetTokenBalanceErrorItem]
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchainQuery/Client.html#batch_get_token_balance-instance_method
81
+ def batch_get_token_balance: (
82
+ ?get_token_balance_inputs: Array[
83
+ {
84
+ token_identifier: {
85
+ network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET"),
86
+ contract_address: ::String?,
87
+ token_id: ::String?
88
+ },
89
+ owner_identifier: {
90
+ address: ::String
91
+ },
92
+ at_blockchain_instant: {
93
+ time: ::Time?
94
+ }?
95
+ },
96
+ ]
97
+ ) -> _BatchGetTokenBalanceResponseSuccess
98
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetTokenBalanceResponseSuccess
99
+
100
+ interface _GetAssetContractResponseSuccess
101
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAssetContractOutput]
102
+ def contract_identifier: () -> Types::ContractIdentifier
103
+ def token_standard: () -> ("ERC20" | "ERC721" | "ERC1155")
104
+ def deployer_address: () -> ::String
105
+ def metadata: () -> Types::ContractMetadata
106
+ end
107
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchainQuery/Client.html#get_asset_contract-instance_method
108
+ def get_asset_contract: (
109
+ contract_identifier: {
110
+ network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET"),
111
+ contract_address: ::String
112
+ }
113
+ ) -> _GetAssetContractResponseSuccess
114
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAssetContractResponseSuccess
115
+
116
+ interface _GetTokenBalanceResponseSuccess
117
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTokenBalanceOutput]
118
+ def owner_identifier: () -> Types::OwnerIdentifier
119
+ def token_identifier: () -> Types::TokenIdentifier
120
+ def balance: () -> ::String
121
+ def at_blockchain_instant: () -> Types::BlockchainInstant
122
+ def last_updated_time: () -> Types::BlockchainInstant
123
+ end
124
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchainQuery/Client.html#get_token_balance-instance_method
125
+ def get_token_balance: (
126
+ token_identifier: {
127
+ network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET"),
128
+ contract_address: ::String?,
129
+ token_id: ::String?
130
+ },
131
+ owner_identifier: {
132
+ address: ::String
133
+ },
134
+ ?at_blockchain_instant: {
135
+ time: ::Time?
136
+ }
137
+ ) -> _GetTokenBalanceResponseSuccess
138
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTokenBalanceResponseSuccess
139
+
140
+ interface _GetTransactionResponseSuccess
141
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTransactionOutput]
142
+ def transaction: () -> Types::Transaction
143
+ end
144
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchainQuery/Client.html#get_transaction-instance_method
145
+ def get_transaction: (
146
+ transaction_hash: ::String,
147
+ network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
148
+ ) -> _GetTransactionResponseSuccess
149
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTransactionResponseSuccess
150
+
151
+ interface _ListAssetContractsResponseSuccess
152
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAssetContractsOutput]
153
+ def contracts: () -> ::Array[Types::AssetContract]
154
+ def next_token: () -> ::String
155
+ end
156
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchainQuery/Client.html#list_asset_contracts-instance_method
157
+ def list_asset_contracts: (
158
+ contract_filter: {
159
+ network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET"),
160
+ token_standard: ("ERC20" | "ERC721" | "ERC1155"),
161
+ deployer_address: ::String
162
+ },
163
+ ?next_token: ::String,
164
+ ?max_results: ::Integer
165
+ ) -> _ListAssetContractsResponseSuccess
166
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssetContractsResponseSuccess
167
+
168
+ interface _ListTokenBalancesResponseSuccess
169
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTokenBalancesOutput]
170
+ def token_balances: () -> ::Array[Types::TokenBalance]
171
+ def next_token: () -> ::String
172
+ end
173
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchainQuery/Client.html#list_token_balances-instance_method
174
+ def list_token_balances: (
175
+ ?owner_filter: {
176
+ address: ::String
177
+ },
178
+ token_filter: {
179
+ network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET"),
180
+ contract_address: ::String?,
181
+ token_id: ::String?
182
+ },
183
+ ?next_token: ::String,
184
+ ?max_results: ::Integer
185
+ ) -> _ListTokenBalancesResponseSuccess
186
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTokenBalancesResponseSuccess
187
+
188
+ interface _ListTransactionEventsResponseSuccess
189
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTransactionEventsOutput]
190
+ def events: () -> ::Array[Types::TransactionEvent]
191
+ def next_token: () -> ::String
192
+ end
193
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchainQuery/Client.html#list_transaction_events-instance_method
194
+ def list_transaction_events: (
195
+ transaction_hash: ::String,
196
+ network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET"),
197
+ ?next_token: ::String,
198
+ ?max_results: ::Integer
199
+ ) -> _ListTransactionEventsResponseSuccess
200
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTransactionEventsResponseSuccess
201
+
202
+ interface _ListTransactionsResponseSuccess
203
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTransactionsOutput]
204
+ def transactions: () -> ::Array[Types::TransactionOutputItem]
205
+ def next_token: () -> ::String
206
+ end
207
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchainQuery/Client.html#list_transactions-instance_method
208
+ def list_transactions: (
209
+ address: ::String,
210
+ network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET"),
211
+ ?from_blockchain_instant: {
212
+ time: ::Time?
213
+ },
214
+ ?to_blockchain_instant: {
215
+ time: ::Time?
216
+ },
217
+ ?sort: {
218
+ sort_by: ("TRANSACTION_TIMESTAMP")?,
219
+ sort_order: ("ASCENDING" | "DESCENDING")?
220
+ },
221
+ ?next_token: ::String,
222
+ ?max_results: ::Integer
223
+ ) -> _ListTransactionsResponseSuccess
224
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTransactionsResponseSuccess
225
+ end
226
+ end
227
+ end
228
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,46 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ManagedBlockchainQuery
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class InternalServerException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ def retry_after_seconds: () -> ::String
20
+ end
21
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
22
+ def message: () -> ::String
23
+ def resource_id: () -> ::String
24
+ def resource_type: () -> ::String
25
+ end
26
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ def resource_id: () -> ::String
29
+ def resource_type: () -> ::String
30
+ def service_code: () -> ::String
31
+ def quota_code: () -> ::String
32
+ end
33
+ class ThrottlingException < ::Aws::Errors::ServiceError
34
+ def message: () -> ::String
35
+ def service_code: () -> ::String
36
+ def quota_code: () -> ::String
37
+ def retry_after_seconds: () -> ::String
38
+ end
39
+ class ValidationException < ::Aws::Errors::ServiceError
40
+ def message: () -> ::String
41
+ def reason: () -> ::String
42
+ def field_list: () -> ::String
43
+ end
44
+ end
45
+ end
46
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ManagedBlockchainQuery
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchainQuery/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchainQuery/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,311 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::ManagedBlockchainQuery
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class AssetContract
17
+ attr_accessor contract_identifier: Types::ContractIdentifier
18
+ attr_accessor token_standard: ("ERC20" | "ERC721" | "ERC1155")
19
+ attr_accessor deployer_address: ::String
20
+ SENSITIVE: []
21
+ end
22
+
23
+ class BatchGetTokenBalanceErrorItem
24
+ attr_accessor token_identifier: Types::TokenIdentifier
25
+ attr_accessor owner_identifier: Types::OwnerIdentifier
26
+ attr_accessor at_blockchain_instant: Types::BlockchainInstant
27
+ attr_accessor error_code: ::String
28
+ attr_accessor error_message: ::String
29
+ attr_accessor error_type: ("VALIDATION_EXCEPTION" | "RESOURCE_NOT_FOUND_EXCEPTION")
30
+ SENSITIVE: []
31
+ end
32
+
33
+ class BatchGetTokenBalanceInput
34
+ attr_accessor get_token_balance_inputs: ::Array[Types::BatchGetTokenBalanceInputItem]
35
+ SENSITIVE: []
36
+ end
37
+
38
+ class BatchGetTokenBalanceInputItem
39
+ attr_accessor token_identifier: Types::TokenIdentifier
40
+ attr_accessor owner_identifier: Types::OwnerIdentifier
41
+ attr_accessor at_blockchain_instant: Types::BlockchainInstant
42
+ SENSITIVE: []
43
+ end
44
+
45
+ class BatchGetTokenBalanceOutput
46
+ attr_accessor token_balances: ::Array[Types::BatchGetTokenBalanceOutputItem]
47
+ attr_accessor errors: ::Array[Types::BatchGetTokenBalanceErrorItem]
48
+ SENSITIVE: []
49
+ end
50
+
51
+ class BatchGetTokenBalanceOutputItem
52
+ attr_accessor owner_identifier: Types::OwnerIdentifier
53
+ attr_accessor token_identifier: Types::TokenIdentifier
54
+ attr_accessor balance: ::String
55
+ attr_accessor at_blockchain_instant: Types::BlockchainInstant
56
+ attr_accessor last_updated_time: Types::BlockchainInstant
57
+ SENSITIVE: []
58
+ end
59
+
60
+ class BlockchainInstant
61
+ attr_accessor time: ::Time
62
+ SENSITIVE: []
63
+ end
64
+
65
+ class ContractFilter
66
+ attr_accessor network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
67
+ attr_accessor token_standard: ("ERC20" | "ERC721" | "ERC1155")
68
+ attr_accessor deployer_address: ::String
69
+ SENSITIVE: []
70
+ end
71
+
72
+ class ContractIdentifier
73
+ attr_accessor network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
74
+ attr_accessor contract_address: ::String
75
+ SENSITIVE: []
76
+ end
77
+
78
+ class ContractMetadata
79
+ attr_accessor name: ::String
80
+ attr_accessor symbol: ::String
81
+ attr_accessor decimals: ::Integer
82
+ SENSITIVE: []
83
+ end
84
+
85
+ class GetAssetContractInput
86
+ attr_accessor contract_identifier: Types::ContractIdentifier
87
+ SENSITIVE: []
88
+ end
89
+
90
+ class GetAssetContractOutput
91
+ attr_accessor contract_identifier: Types::ContractIdentifier
92
+ attr_accessor token_standard: ("ERC20" | "ERC721" | "ERC1155")
93
+ attr_accessor deployer_address: ::String
94
+ attr_accessor metadata: Types::ContractMetadata
95
+ SENSITIVE: []
96
+ end
97
+
98
+ class GetTokenBalanceInput
99
+ attr_accessor token_identifier: Types::TokenIdentifier
100
+ attr_accessor owner_identifier: Types::OwnerIdentifier
101
+ attr_accessor at_blockchain_instant: Types::BlockchainInstant
102
+ SENSITIVE: []
103
+ end
104
+
105
+ class GetTokenBalanceOutput
106
+ attr_accessor owner_identifier: Types::OwnerIdentifier
107
+ attr_accessor token_identifier: Types::TokenIdentifier
108
+ attr_accessor balance: ::String
109
+ attr_accessor at_blockchain_instant: Types::BlockchainInstant
110
+ attr_accessor last_updated_time: Types::BlockchainInstant
111
+ SENSITIVE: []
112
+ end
113
+
114
+ class GetTransactionInput
115
+ attr_accessor transaction_hash: ::String
116
+ attr_accessor network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
117
+ SENSITIVE: []
118
+ end
119
+
120
+ class GetTransactionOutput
121
+ attr_accessor transaction: Types::Transaction
122
+ SENSITIVE: []
123
+ end
124
+
125
+ class InternalServerException
126
+ attr_accessor message: ::String
127
+ attr_accessor retry_after_seconds: ::Integer
128
+ SENSITIVE: []
129
+ end
130
+
131
+ class ListAssetContractsInput
132
+ attr_accessor contract_filter: Types::ContractFilter
133
+ attr_accessor next_token: ::String
134
+ attr_accessor max_results: ::Integer
135
+ SENSITIVE: []
136
+ end
137
+
138
+ class ListAssetContractsOutput
139
+ attr_accessor contracts: ::Array[Types::AssetContract]
140
+ attr_accessor next_token: ::String
141
+ SENSITIVE: []
142
+ end
143
+
144
+ class ListTokenBalancesInput
145
+ attr_accessor owner_filter: Types::OwnerFilter
146
+ attr_accessor token_filter: Types::TokenFilter
147
+ attr_accessor next_token: ::String
148
+ attr_accessor max_results: ::Integer
149
+ SENSITIVE: []
150
+ end
151
+
152
+ class ListTokenBalancesOutput
153
+ attr_accessor token_balances: ::Array[Types::TokenBalance]
154
+ attr_accessor next_token: ::String
155
+ SENSITIVE: []
156
+ end
157
+
158
+ class ListTransactionEventsInput
159
+ attr_accessor transaction_hash: ::String
160
+ attr_accessor network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
161
+ attr_accessor next_token: ::String
162
+ attr_accessor max_results: ::Integer
163
+ SENSITIVE: []
164
+ end
165
+
166
+ class ListTransactionEventsOutput
167
+ attr_accessor events: ::Array[Types::TransactionEvent]
168
+ attr_accessor next_token: ::String
169
+ SENSITIVE: []
170
+ end
171
+
172
+ class ListTransactionsInput
173
+ attr_accessor address: ::String
174
+ attr_accessor network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
175
+ attr_accessor from_blockchain_instant: Types::BlockchainInstant
176
+ attr_accessor to_blockchain_instant: Types::BlockchainInstant
177
+ attr_accessor sort: Types::ListTransactionsSort
178
+ attr_accessor next_token: ::String
179
+ attr_accessor max_results: ::Integer
180
+ SENSITIVE: []
181
+ end
182
+
183
+ class ListTransactionsOutput
184
+ attr_accessor transactions: ::Array[Types::TransactionOutputItem]
185
+ attr_accessor next_token: ::String
186
+ SENSITIVE: []
187
+ end
188
+
189
+ class ListTransactionsSort
190
+ attr_accessor sort_by: ("TRANSACTION_TIMESTAMP")
191
+ attr_accessor sort_order: ("ASCENDING" | "DESCENDING")
192
+ SENSITIVE: []
193
+ end
194
+
195
+ class OwnerFilter
196
+ attr_accessor address: ::String
197
+ SENSITIVE: []
198
+ end
199
+
200
+ class OwnerIdentifier
201
+ attr_accessor address: ::String
202
+ SENSITIVE: []
203
+ end
204
+
205
+ class ResourceNotFoundException
206
+ attr_accessor message: ::String
207
+ attr_accessor resource_id: ::String
208
+ attr_accessor resource_type: ("collection")
209
+ SENSITIVE: []
210
+ end
211
+
212
+ class ServiceQuotaExceededException
213
+ attr_accessor message: ::String
214
+ attr_accessor resource_id: ::String
215
+ attr_accessor resource_type: ("collection")
216
+ attr_accessor service_code: ::String
217
+ attr_accessor quota_code: ::String
218
+ SENSITIVE: []
219
+ end
220
+
221
+ class ThrottlingException
222
+ attr_accessor message: ::String
223
+ attr_accessor service_code: ::String
224
+ attr_accessor quota_code: ::String
225
+ attr_accessor retry_after_seconds: ::Integer
226
+ SENSITIVE: []
227
+ end
228
+
229
+ class TokenBalance
230
+ attr_accessor owner_identifier: Types::OwnerIdentifier
231
+ attr_accessor token_identifier: Types::TokenIdentifier
232
+ attr_accessor balance: ::String
233
+ attr_accessor at_blockchain_instant: Types::BlockchainInstant
234
+ attr_accessor last_updated_time: Types::BlockchainInstant
235
+ SENSITIVE: []
236
+ end
237
+
238
+ class TokenFilter
239
+ attr_accessor network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
240
+ attr_accessor contract_address: ::String
241
+ attr_accessor token_id: ::String
242
+ SENSITIVE: []
243
+ end
244
+
245
+ class TokenIdentifier
246
+ attr_accessor network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
247
+ attr_accessor contract_address: ::String
248
+ attr_accessor token_id: ::String
249
+ SENSITIVE: []
250
+ end
251
+
252
+ class Transaction
253
+ attr_accessor network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
254
+ attr_accessor block_hash: ::String
255
+ attr_accessor transaction_hash: ::String
256
+ attr_accessor block_number: ::String
257
+ attr_accessor transaction_timestamp: ::Time
258
+ attr_accessor transaction_index: ::Integer
259
+ attr_accessor number_of_transactions: ::Integer
260
+ attr_accessor status: ("FINAL" | "FAILED")
261
+ attr_accessor to: ::String
262
+ attr_accessor from: ::String
263
+ attr_accessor contract_address: ::String
264
+ attr_accessor gas_used: ::String
265
+ attr_accessor cumulative_gas_used: ::String
266
+ attr_accessor effective_gas_price: ::String
267
+ attr_accessor signature_v: ::Integer
268
+ attr_accessor signature_r: ::String
269
+ attr_accessor signature_s: ::String
270
+ attr_accessor transaction_fee: ::String
271
+ attr_accessor transaction_id: ::String
272
+ attr_accessor confirmation_status: ("FINAL")
273
+ attr_accessor execution_status: ("FAILED" | "SUCCEEDED")
274
+ SENSITIVE: []
275
+ end
276
+
277
+ class TransactionEvent
278
+ attr_accessor network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
279
+ attr_accessor transaction_hash: ::String
280
+ attr_accessor event_type: ("ERC20_TRANSFER" | "ERC20_MINT" | "ERC20_BURN" | "ERC20_DEPOSIT" | "ERC20_WITHDRAWAL" | "ERC721_TRANSFER" | "ERC1155_TRANSFER" | "BITCOIN_VIN" | "BITCOIN_VOUT" | "INTERNAL_ETH_TRANSFER" | "ETH_TRANSFER")
281
+ attr_accessor from: ::String
282
+ attr_accessor to: ::String
283
+ attr_accessor value: ::String
284
+ attr_accessor contract_address: ::String
285
+ attr_accessor token_id: ::String
286
+ attr_accessor transaction_id: ::String
287
+ attr_accessor vout_index: ::Integer
288
+ SENSITIVE: []
289
+ end
290
+
291
+ class TransactionOutputItem
292
+ attr_accessor transaction_hash: ::String
293
+ attr_accessor network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
294
+ attr_accessor transaction_timestamp: ::Time
295
+ SENSITIVE: []
296
+ end
297
+
298
+ class ValidationException
299
+ attr_accessor message: ::String
300
+ attr_accessor reason: ("unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other")
301
+ attr_accessor field_list: ::Array[Types::ValidationExceptionField]
302
+ SENSITIVE: []
303
+ end
304
+
305
+ class ValidationExceptionField
306
+ attr_accessor name: ::String
307
+ attr_accessor message: ::String
308
+ SENSITIVE: []
309
+ end
310
+ end
311
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ManagedBlockchainQuery
10
+ module Waiters
11
+ end
12
+ end
13
+ 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.5.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-01-26 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.188.0
22
+ version: 3.191.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.188.0
32
+ version: 3.191.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -67,13 +67,18 @@ files:
67
67
  - lib/aws-sdk-managedblockchainquery/resource.rb
68
68
  - lib/aws-sdk-managedblockchainquery/types.rb
69
69
  - lib/aws-sdk-managedblockchainquery/waiters.rb
70
+ - sig/client.rbs
71
+ - sig/errors.rbs
72
+ - sig/resource.rbs
73
+ - sig/types.rbs
74
+ - sig/waiters.rbs
70
75
  homepage: https://github.com/aws/aws-sdk-ruby
71
76
  licenses:
72
77
  - Apache-2.0
73
78
  metadata:
74
79
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-managedblockchainquery
75
80
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-managedblockchainquery/CHANGELOG.md
76
- post_install_message:
81
+ post_install_message:
77
82
  rdoc_options: []
78
83
  require_paths:
79
84
  - lib
@@ -88,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
93
  - !ruby/object:Gem::Version
89
94
  version: '0'
90
95
  requirements: []
91
- rubygems_version: 3.1.6
92
- signing_key:
96
+ rubygems_version: 3.4.10
97
+ signing_key:
93
98
  specification_version: 4
94
99
  summary: AWS SDK for Ruby - Amazon Managed Blockchain Query
95
100
  test_files: []