aws-sdk-managedblockchainquery 1.6.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: 20d53fcdc723e9fa03df0eed5607e1ec076022cf186fb81df6a06abaf4b7983f
4
- data.tar.gz: 1010a08100229329b9ad6229ad52685e01720dd449352dc526e0d96e6f824b8e
3
+ metadata.gz: b08f0fd763a92a3bd6a3ccd5f21dd637af30c3bb4ed993d5bed0c024315057fe
4
+ data.tar.gz: a504acf2a5c9287b2d81983b3d6972bd4af1f2fe818bca25a13856a16b853708
5
5
  SHA512:
6
- metadata.gz: 6afd01487af3858f5d957c95217d168bb2d9a916054f9ce27053e9bbb94312340022694233cf526dd16ef584ab62e363e55e547cc309941fc274e7ab69083991
7
- data.tar.gz: a19d481e2089cb84e864dfeee991724c2c1bb138736f992dfa6c68da71486c0fe6dfc4d785e4283b7884f6b3de16283bbff820846bba074e82e8c04c7bd9c02b
6
+ metadata.gz: 6de82438302622af1038ed6e5fa9e95eb40d937c37b729e74e5d10bf6707b93099b94a1edd0ddb930261d4c56922195001fcff3e724d43fff461296e3650d9cd
7
+ data.tar.gz: 13ef720a4a4a8e813f08968b48102c9a0b0714a7d7638cfd8e9bba1750c2edb83addd076029b366961d0066ec2a4f4a1d343ae8fe84e7d1e614aa3b0e45c9e1f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.6.0 (2023-12-20)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 1.7.0
@@ -912,7 +912,7 @@ module Aws::ManagedBlockchainQuery
912
912
  params: params,
913
913
  config: config)
914
914
  context[:gem_name] = 'aws-sdk-managedblockchainquery'
915
- context[:gem_version] = '1.6.0'
915
+ context[:gem_version] = '1.7.0'
916
916
  Seahorse::Client::Request.new(handlers, context)
917
917
  end
918
918
 
@@ -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 '\
@@ -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.6.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.6.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-12-20 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: []