|
30 | 30 | {"shape":"InternalServerException"},
|
31 | 31 | {"shape":"ServiceQuotaExceededException"}
|
32 | 32 | ],
|
33 |
| - "documentation":"<p>Gets the token balance for a batch of tokens by using the <code>BatchGetTokenBalance</code> action for every token in the request.</p> <note> <p>Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.</p> </note>" |
| 33 | + "documentation":"<p>Gets the token balance for a batch of tokens by using the <code>BatchGetTokenBalance</code> action for every token in the request.</p> <note> <p>Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.</p> </note>" |
34 | 34 | },
|
35 | 35 | "GetAssetContract":{
|
36 | 36 | "name":"GetAssetContract",
|
|
68 | 68 | {"shape":"InternalServerException"},
|
69 | 69 | {"shape":"ServiceQuotaExceededException"}
|
70 | 70 | ],
|
71 |
| - "documentation":"<p>Gets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the blockchain.</p> <note> <p>Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.</p> </note>" |
| 71 | + "documentation":"<p>Gets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the blockchain.</p> <note> <p>Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.</p> </note>" |
72 | 72 | },
|
73 | 73 | "GetTransaction":{
|
74 | 74 | "name":"GetTransaction",
|
|
87 | 87 | {"shape":"InternalServerException"},
|
88 | 88 | {"shape":"ServiceQuotaExceededException"}
|
89 | 89 | ],
|
90 |
| - "documentation":"<p>Get the details of a transaction.</p>" |
| 90 | + "documentation":"<p>Gets the details of a transaction.</p> <note> <p>This action will return transaction details for all transactions that are <i>confirmed</i> on the blockchain, even if they have not reached <a href=\"https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality\">finality</a>. </p> </note>" |
91 | 91 | },
|
92 | 92 | "ListAssetContracts":{
|
93 | 93 | "name":"ListAssetContracts",
|
|
141 | 141 | {"shape":"InternalServerException"},
|
142 | 142 | {"shape":"ServiceQuotaExceededException"}
|
143 | 143 | ],
|
144 |
| - "documentation":"<p>An array of <code>TransactionEvent</code> objects. Each object contains details about the transaction event.</p>" |
| 144 | + "documentation":"<p>An array of <code>TransactionEvent</code> objects. Each object contains details about the transaction event.</p> <note> <p>This action will return transaction details for all transactions that are <i>confirmed</i> on the blockchain, even if they have not reached <a href=\"https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality\">finality</a>. </p> </note>" |
145 | 145 | },
|
146 | 146 | "ListTransactions":{
|
147 | 147 | "name":"ListTransactions",
|
|
323 | 323 | },
|
324 | 324 | "ConfirmationStatus":{
|
325 | 325 | "type":"string",
|
326 |
| - "enum":["FINAL"] |
| 326 | + "enum":[ |
| 327 | + "FINAL", |
| 328 | + "NONFINAL" |
| 329 | + ] |
| 330 | + }, |
| 331 | + "ConfirmationStatusFilter":{ |
| 332 | + "type":"structure", |
| 333 | + "required":["include"], |
| 334 | + "members":{ |
| 335 | + "include":{ |
| 336 | + "shape":"ConfirmationStatusIncludeList", |
| 337 | + "documentation":"<p>The container to determine whether to list results that have only reached <a href=\"https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality\"> <i>finality</i> </a>. Transactions that have reached finality are always part of the response.</p>" |
| 338 | + } |
| 339 | + }, |
| 340 | + "documentation":"<p>The container for the <code>ConfirmationStatusFilter</code> that filters for the <a href=\"https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality\"> <i>finality</i> </a> of the results.</p>" |
| 341 | + }, |
| 342 | + "ConfirmationStatusIncludeList":{ |
| 343 | + "type":"list", |
| 344 | + "member":{"shape":"ConfirmationStatus"}, |
| 345 | + "min":1 |
327 | 346 | },
|
328 | 347 | "ContractFilter":{
|
329 | 348 | "type":"structure",
|
|
545 | 564 | },
|
546 | 565 | "maxResults":{
|
547 | 566 | "shape":"ListAssetContractsInputMaxResultsInteger",
|
548 |
| - "documentation":"<p>The maximum number of contracts to list.</p>" |
| 567 | + "documentation":"<p>The maximum number of contracts to list.</p> <p>Default:<code>100</code> </p> <note> <p>Even if additional results can be retrieved, the request can return less results than <code>maxResults</code> or an empty array of results.</p> <p>To retrieve the next set of results, make another request with the returned <code>nextToken</code> value. The value of <code>nextToken</code> is <code>null</code> when there are no more results to return</p> </note>" |
549 | 568 | }
|
550 | 569 | }
|
551 | 570 | },
|
|
587 | 606 | },
|
588 | 607 | "maxResults":{
|
589 | 608 | "shape":"ListTokenBalancesInputMaxResultsInteger",
|
590 |
| - "documentation":"<p>The maximum number of token balances to return.</p>" |
| 609 | + "documentation":"<p>The maximum number of token balances to return.</p> <p>Default:<code>100</code> </p> <note> <p>Even if additional results can be retrieved, the request can return less results than <code>maxResults</code> or an empty array of results.</p> <p>To retrieve the next set of results, make another request with the returned <code>nextToken</code> value. The value of <code>nextToken</code> is <code>null</code> when there are no more results to return</p> </note>" |
591 | 610 | }
|
592 | 611 | }
|
593 | 612 | },
|
|
632 | 651 | },
|
633 | 652 | "maxResults":{
|
634 | 653 | "shape":"ListTransactionEventsInputMaxResultsInteger",
|
635 |
| - "documentation":"<p>The maximum number of transaction events to list.</p> <note> <p>Even if additional results can be retrieved, the request can return less results than <code>maxResults</code> or an empty array of results.</p> <p>To retrieve the next set of results, make another request with the returned <code>nextToken</code> value. The value of <code>nextToken</code> is <code>null</code> when there are no more results to return</p> </note>" |
| 654 | + "documentation":"<p>The maximum number of transaction events to list.</p> <p>Default:<code>100</code> </p> <note> <p>Even if additional results can be retrieved, the request can return less results than <code>maxResults</code> or an empty array of results.</p> <p>To retrieve the next set of results, make another request with the returned <code>nextToken</code> value. The value of <code>nextToken</code> is <code>null</code> when there are no more results to return</p> </note>" |
636 | 655 | }
|
637 | 656 | }
|
638 | 657 | },
|
|
675 | 694 | "toBlockchainInstant":{"shape":"BlockchainInstant"},
|
676 | 695 | "sort":{
|
677 | 696 | "shape":"ListTransactionsSort",
|
678 |
| - "documentation":"<p>Sorts items in an ascending order if the first page starts at <code>fromTime</code>. Sorts items in a descending order if the first page starts at <code>toTime</code>.</p>" |
| 697 | + "documentation":"<p>The order by which the results will be sorted. If <code>ASCENNDING</code> is selected, the results will be ordered by <code>fromTime</code>. </p>" |
679 | 698 | },
|
680 | 699 | "nextToken":{
|
681 | 700 | "shape":"NextToken",
|
682 | 701 | "documentation":"<p>The pagination token that indicates the next set of results to retrieve.</p>"
|
683 | 702 | },
|
684 | 703 | "maxResults":{
|
685 | 704 | "shape":"ListTransactionsInputMaxResultsInteger",
|
686 |
| - "documentation":"<p>The maximum number of transactions to list.</p> <note> <p>Even if additional results can be retrieved, the request can return less results than <code>maxResults</code> or an empty array of results.</p> <p>To retrieve the next set of results, make another request with the returned <code>nextToken</code> value. The value of <code>nextToken</code> is <code>null</code> when there are no more results to return</p> </note>" |
| 705 | + "documentation":"<p>The maximum number of transactions to list.</p> <p>Default:<code>100</code> </p> <note> <p>Even if additional results can be retrieved, the request can return less results than <code>maxResults</code> or an empty array of results.</p> <p>To retrieve the next set of results, make another request with the returned <code>nextToken</code> value. The value of <code>nextToken</code> is <code>null</code> when there are no more results to return</p> </note>" |
| 706 | + }, |
| 707 | + "confirmationStatusFilter":{ |
| 708 | + "shape":"ConfirmationStatusFilter", |
| 709 | + "documentation":"<p>This filter is used to include transactions in the response that haven't reached <a href=\"https://docs.aws.amazon.com/managed-blockchain/latest/ambq-dg/key-concepts.html#finality\"> <i>finality</i> </a>. Transactions that have reached finiality are always part of the response.</p>" |
687 | 710 | }
|
688 | 711 | }
|
689 | 712 | },
|
|
797 | 820 | "type":"string",
|
798 | 821 | "pattern":"(0x[A-Fa-f0-9]{64}|[A-Fa-f0-9]{64})"
|
799 | 822 | },
|
800 |
| - "QueryTransactionStatus":{ |
801 |
| - "type":"string", |
802 |
| - "enum":[ |
803 |
| - "FINAL", |
804 |
| - "FAILED" |
805 |
| - ] |
806 |
| - }, |
807 | 823 | "QuotaCode":{"type":"string"},
|
808 | 824 | "ResourceId":{"type":"string"},
|
809 | 825 | "ResourceNotFoundException":{
|
|
990 | 1006 | },
|
991 | 1007 | "tokenId":{
|
992 | 1008 | "shape":"QueryTokenId",
|
993 |
| - "documentation":"<p>The unique identifier of the token.</p> <note> <p>You must specify this container with <code>btc</code> for the native BTC token, and <code>eth</code> for the native ETH token. For all other token types you must specify the <code>tokenId</code> in the 64 character hexadecimal <code>tokenid</code> format.</p> </note>" |
| 1009 | + "documentation":"<p>The unique identifier of the token.</p> <note> <p>For native tokens, use the 3 character abbreviation that best matches your token. For example, btc for Bitcoin, eth for Ether, etc. For all other token types you must specify the <code>tokenId</code> in the 64 character hexadecimal <code>tokenid</code> format.</p> </note>" |
994 | 1010 | }
|
995 | 1011 | },
|
996 |
| - "documentation":"<p>The container for the identifier for the token including the unique token ID and its blockchain network.</p> <note> <p>Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.</p> </note>" |
| 1012 | + "documentation":"<p>The container for the identifier for the token including the unique token ID and its blockchain network.</p> <note> <p>Only the native tokens BTC and ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.</p> </note>" |
997 | 1013 | },
|
998 | 1014 | "Transaction":{
|
999 | 1015 | "type":"structure",
|
|
1034 | 1050 | "shape":"Long",
|
1035 | 1051 | "documentation":"<p>The number of transactions in the block.</p>"
|
1036 | 1052 | },
|
1037 |
| - "status":{ |
1038 |
| - "shape":"QueryTransactionStatus", |
1039 |
| - "documentation":"<p>The status of the transaction.</p> <important> <p>This property is deprecated. You must use the <code>confirmationStatus</code> and the <code>executionStatus</code> properties to determine if the <code>status</code> of the transaction is <code>FINAL</code> or <code>FAILED</code>.</p> <ul> <li> <p>Transactions with a <code>status</code> of <code>FINAL</code> will now have the <code>confirmationStatus</code> set to <code>FINAL</code> and the <code>executionStatus</code> set to <code>SUCCEEDED</code>.</p> </li> <li> <p>Transactions with a <code>status</code> of <code>FAILED</code> will now have the <code>confirmationStatus</code> set to <code>FINAL</code> and the <code>executionStatus</code> set to <code>FAILED</code>.</p> </li> </ul> </important>", |
1040 |
| - "deprecated":true, |
1041 |
| - "deprecatedMessage":"The status field in the GetTransaction response is deprecated and is replaced with the confirmationStatus and executionStatus fields." |
1042 |
| - }, |
1043 | 1053 | "to":{
|
1044 | 1054 | "shape":"ChainAddress",
|
1045 | 1055 | "documentation":"<p>The identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.</p>"
|
|
1171 | 1181 | "transactionTimestamp":{
|
1172 | 1182 | "shape":"Timestamp",
|
1173 | 1183 | "documentation":"<p>The time when the transaction occurred.</p>"
|
| 1184 | + }, |
| 1185 | + "confirmationStatus":{ |
| 1186 | + "shape":"ConfirmationStatus", |
| 1187 | + "documentation":"<p>Specifies whether to list transactions that have not reached Finality.</p>" |
1174 | 1188 | }
|
1175 | 1189 | },
|
1176 | 1190 | "documentation":"<p>The container of the transaction output.</p>"
|
|
0 commit comments