aws-sdk-managedblockchainquery 1.7.0 → 1.9.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-managedblockchainquery/client.rb +208 -21
- data/lib/aws-sdk-managedblockchainquery/client_api.rb +77 -3
- data/lib/aws-sdk-managedblockchainquery/endpoints.rb +14 -0
- data/lib/aws-sdk-managedblockchainquery/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-managedblockchainquery/types.rb +325 -55
- data/lib/aws-sdk-managedblockchainquery.rb +1 -1
- data/sig/client.rbs +40 -2
- data/sig/types.rbs +55 -2
- metadata +2 -2
data/sig/client.rbs
CHANGED
@@ -165,6 +165,40 @@ module Aws
|
|
165
165
|
) -> _ListAssetContractsResponseSuccess
|
166
166
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssetContractsResponseSuccess
|
167
167
|
|
168
|
+
interface _ListFilteredTransactionEventsResponseSuccess
|
169
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListFilteredTransactionEventsOutput]
|
170
|
+
def events: () -> ::Array[Types::TransactionEvent]
|
171
|
+
def next_token: () -> ::String
|
172
|
+
end
|
173
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchainQuery/Client.html#list_filtered_transaction_events-instance_method
|
174
|
+
def list_filtered_transaction_events: (
|
175
|
+
network: ::String,
|
176
|
+
address_identifier_filter: {
|
177
|
+
transaction_event_to_address: Array[::String]
|
178
|
+
},
|
179
|
+
?time_filter: {
|
180
|
+
from: {
|
181
|
+
time: ::Time?
|
182
|
+
}?,
|
183
|
+
to: {
|
184
|
+
time: ::Time?
|
185
|
+
}?
|
186
|
+
},
|
187
|
+
?vout_filter: {
|
188
|
+
vout_spent: bool
|
189
|
+
},
|
190
|
+
?confirmation_status_filter: {
|
191
|
+
include: Array[("FINAL" | "NONFINAL")]
|
192
|
+
},
|
193
|
+
?sort: {
|
194
|
+
sort_by: ("blockchainInstant")?,
|
195
|
+
sort_order: ("ASCENDING" | "DESCENDING")?
|
196
|
+
},
|
197
|
+
?next_token: ::String,
|
198
|
+
?max_results: ::Integer
|
199
|
+
) -> _ListFilteredTransactionEventsResponseSuccess
|
200
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFilteredTransactionEventsResponseSuccess
|
201
|
+
|
168
202
|
interface _ListTokenBalancesResponseSuccess
|
169
203
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTokenBalancesOutput]
|
170
204
|
def token_balances: () -> ::Array[Types::TokenBalance]
|
@@ -192,7 +226,8 @@ module Aws
|
|
192
226
|
end
|
193
227
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ManagedBlockchainQuery/Client.html#list_transaction_events-instance_method
|
194
228
|
def list_transaction_events: (
|
195
|
-
transaction_hash: ::String,
|
229
|
+
?transaction_hash: ::String,
|
230
|
+
?transaction_id: ::String,
|
196
231
|
network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET"),
|
197
232
|
?next_token: ::String,
|
198
233
|
?max_results: ::Integer
|
@@ -219,7 +254,10 @@ module Aws
|
|
219
254
|
sort_order: ("ASCENDING" | "DESCENDING")?
|
220
255
|
},
|
221
256
|
?next_token: ::String,
|
222
|
-
?max_results: ::Integer
|
257
|
+
?max_results: ::Integer,
|
258
|
+
?confirmation_status_filter: {
|
259
|
+
include: Array[("FINAL" | "NONFINAL")]
|
260
|
+
}
|
223
261
|
) -> _ListTransactionsResponseSuccess
|
224
262
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTransactionsResponseSuccess
|
225
263
|
end
|
data/sig/types.rbs
CHANGED
@@ -13,6 +13,11 @@ module Aws::ManagedBlockchainQuery
|
|
13
13
|
SENSITIVE: []
|
14
14
|
end
|
15
15
|
|
16
|
+
class AddressIdentifierFilter
|
17
|
+
attr_accessor transaction_event_to_address: ::Array[::String]
|
18
|
+
SENSITIVE: []
|
19
|
+
end
|
20
|
+
|
16
21
|
class AssetContract
|
17
22
|
attr_accessor contract_identifier: Types::ContractIdentifier
|
18
23
|
attr_accessor token_standard: ("ERC20" | "ERC721" | "ERC1155")
|
@@ -62,6 +67,11 @@ module Aws::ManagedBlockchainQuery
|
|
62
67
|
SENSITIVE: []
|
63
68
|
end
|
64
69
|
|
70
|
+
class ConfirmationStatusFilter
|
71
|
+
attr_accessor include: ::Array[("FINAL" | "NONFINAL")]
|
72
|
+
SENSITIVE: []
|
73
|
+
end
|
74
|
+
|
65
75
|
class ContractFilter
|
66
76
|
attr_accessor network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
|
67
77
|
attr_accessor token_standard: ("ERC20" | "ERC721" | "ERC1155")
|
@@ -141,6 +151,30 @@ module Aws::ManagedBlockchainQuery
|
|
141
151
|
SENSITIVE: []
|
142
152
|
end
|
143
153
|
|
154
|
+
class ListFilteredTransactionEventsInput
|
155
|
+
attr_accessor network: ::String
|
156
|
+
attr_accessor address_identifier_filter: Types::AddressIdentifierFilter
|
157
|
+
attr_accessor time_filter: Types::TimeFilter
|
158
|
+
attr_accessor vout_filter: Types::VoutFilter
|
159
|
+
attr_accessor confirmation_status_filter: Types::ConfirmationStatusFilter
|
160
|
+
attr_accessor sort: Types::ListFilteredTransactionEventsSort
|
161
|
+
attr_accessor next_token: ::String
|
162
|
+
attr_accessor max_results: ::Integer
|
163
|
+
SENSITIVE: []
|
164
|
+
end
|
165
|
+
|
166
|
+
class ListFilteredTransactionEventsOutput
|
167
|
+
attr_accessor events: ::Array[Types::TransactionEvent]
|
168
|
+
attr_accessor next_token: ::String
|
169
|
+
SENSITIVE: []
|
170
|
+
end
|
171
|
+
|
172
|
+
class ListFilteredTransactionEventsSort
|
173
|
+
attr_accessor sort_by: ("blockchainInstant")
|
174
|
+
attr_accessor sort_order: ("ASCENDING" | "DESCENDING")
|
175
|
+
SENSITIVE: []
|
176
|
+
end
|
177
|
+
|
144
178
|
class ListTokenBalancesInput
|
145
179
|
attr_accessor owner_filter: Types::OwnerFilter
|
146
180
|
attr_accessor token_filter: Types::TokenFilter
|
@@ -157,6 +191,7 @@ module Aws::ManagedBlockchainQuery
|
|
157
191
|
|
158
192
|
class ListTransactionEventsInput
|
159
193
|
attr_accessor transaction_hash: ::String
|
194
|
+
attr_accessor transaction_id: ::String
|
160
195
|
attr_accessor network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
|
161
196
|
attr_accessor next_token: ::String
|
162
197
|
attr_accessor max_results: ::Integer
|
@@ -177,6 +212,7 @@ module Aws::ManagedBlockchainQuery
|
|
177
212
|
attr_accessor sort: Types::ListTransactionsSort
|
178
213
|
attr_accessor next_token: ::String
|
179
214
|
attr_accessor max_results: ::Integer
|
215
|
+
attr_accessor confirmation_status_filter: Types::ConfirmationStatusFilter
|
180
216
|
SENSITIVE: []
|
181
217
|
end
|
182
218
|
|
@@ -226,6 +262,12 @@ module Aws::ManagedBlockchainQuery
|
|
226
262
|
SENSITIVE: []
|
227
263
|
end
|
228
264
|
|
265
|
+
class TimeFilter
|
266
|
+
attr_accessor from: Types::BlockchainInstant
|
267
|
+
attr_accessor to: Types::BlockchainInstant
|
268
|
+
SENSITIVE: []
|
269
|
+
end
|
270
|
+
|
229
271
|
class TokenBalance
|
230
272
|
attr_accessor owner_identifier: Types::OwnerIdentifier
|
231
273
|
attr_accessor token_identifier: Types::TokenIdentifier
|
@@ -257,7 +299,6 @@ module Aws::ManagedBlockchainQuery
|
|
257
299
|
attr_accessor transaction_timestamp: ::Time
|
258
300
|
attr_accessor transaction_index: ::Integer
|
259
301
|
attr_accessor number_of_transactions: ::Integer
|
260
|
-
attr_accessor status: ("FINAL" | "FAILED")
|
261
302
|
attr_accessor to: ::String
|
262
303
|
attr_accessor from: ::String
|
263
304
|
attr_accessor contract_address: ::String
|
@@ -269,7 +310,7 @@ module Aws::ManagedBlockchainQuery
|
|
269
310
|
attr_accessor signature_s: ::String
|
270
311
|
attr_accessor transaction_fee: ::String
|
271
312
|
attr_accessor transaction_id: ::String
|
272
|
-
attr_accessor confirmation_status: ("FINAL")
|
313
|
+
attr_accessor confirmation_status: ("FINAL" | "NONFINAL")
|
273
314
|
attr_accessor execution_status: ("FAILED" | "SUCCEEDED")
|
274
315
|
SENSITIVE: []
|
275
316
|
end
|
@@ -285,6 +326,12 @@ module Aws::ManagedBlockchainQuery
|
|
285
326
|
attr_accessor token_id: ::String
|
286
327
|
attr_accessor transaction_id: ::String
|
287
328
|
attr_accessor vout_index: ::Integer
|
329
|
+
attr_accessor vout_spent: bool
|
330
|
+
attr_accessor spent_vout_transaction_id: ::String
|
331
|
+
attr_accessor spent_vout_transaction_hash: ::String
|
332
|
+
attr_accessor spent_vout_index: ::Integer
|
333
|
+
attr_accessor blockchain_instant: Types::BlockchainInstant
|
334
|
+
attr_accessor confirmation_status: ("FINAL" | "NONFINAL")
|
288
335
|
SENSITIVE: []
|
289
336
|
end
|
290
337
|
|
@@ -292,6 +339,7 @@ module Aws::ManagedBlockchainQuery
|
|
292
339
|
attr_accessor transaction_hash: ::String
|
293
340
|
attr_accessor network: ("ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA_TESTNET" | "BITCOIN_MAINNET" | "BITCOIN_TESTNET")
|
294
341
|
attr_accessor transaction_timestamp: ::Time
|
342
|
+
attr_accessor confirmation_status: ("FINAL" | "NONFINAL")
|
295
343
|
SENSITIVE: []
|
296
344
|
end
|
297
345
|
|
@@ -307,5 +355,10 @@ module Aws::ManagedBlockchainQuery
|
|
307
355
|
attr_accessor message: ::String
|
308
356
|
SENSITIVE: []
|
309
357
|
end
|
358
|
+
|
359
|
+
class VoutFilter
|
360
|
+
attr_accessor vout_spent: bool
|
361
|
+
SENSITIVE: []
|
362
|
+
end
|
310
363
|
end
|
311
364
|
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.
|
4
|
+
version: 1.9.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-
|
11
|
+
date: 2024-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|