Skip to content

Commit 85e1132

Browse files
author
AWS
committed
Amazon Managed Blockchain Query Update: AMB Query: update GetTransaction to include transactionId as input
1 parent 8642c23 commit 85e1132

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Managed Blockchain Query",
4+
"contributor": "",
5+
"description": "AMB Query: update GetTransaction to include transactionId as input"
6+
}

services/managedblockchainquery/src/main/resources/codegen-resources/service-2.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -539,15 +539,16 @@
539539
},
540540
"GetTransactionInput":{
541541
"type":"structure",
542-
"required":[
543-
"transactionHash",
544-
"network"
545-
],
542+
"required":["network"],
546543
"members":{
547544
"transactionHash":{
548545
"shape":"QueryTransactionHash",
549546
"documentation":"<p>The hash of a transaction. It is generated when a transaction is created.</p>"
550547
},
548+
"transactionId":{
549+
"shape":"QueryTransactionId",
550+
"documentation":"<p>The identifier of a Bitcoin transaction. It is generated when a transaction is created.</p> <note> <p> <code>transactionId</code> is only supported on the Bitcoin networks.</p> </note>"
551+
},
551552
"network":{
552553
"shape":"QueryNetwork",
553554
"documentation":"<p>The blockchain network where the transaction occurred.</p>"
@@ -1323,6 +1324,10 @@
13231324
"shape":"QueryTransactionHash",
13241325
"documentation":"<p>The hash of a transaction. It is generated when a transaction is created.</p>"
13251326
},
1327+
"transactionId":{
1328+
"shape":"QueryTransactionId",
1329+
"documentation":"<p>The identifier of a Bitcoin transaction. It is generated when a transaction is created.</p>"
1330+
},
13261331
"network":{
13271332
"shape":"QueryNetwork",
13281333
"documentation":"<p>The blockchain network where the transaction occurred.</p>"

0 commit comments

Comments
 (0)