Skip to content

Commit eae8402

Browse files
author
AWS
committed
AWS Marketplace Catalog Service Update: AWS Marketplace Catalog now supports FailureCode for change workflows to help differentiate client errors and server faults.
1 parent 32bbf95 commit eae8402

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Marketplace Catalog Service",
4+
"description": "AWS Marketplace Catalog now supports FailureCode for change workflows to help differentiate client errors and server faults."
5+
}

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

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,10 @@
243243
"EntityIdList":{
244244
"shape":"ResourceIdList",
245245
"documentation":"<p>This object is a list of entity IDs (string) that are a part of a change set. The entity ID list is a maximum of 20 entities. It must contain at least one entity.</p>"
246+
},
247+
"FailureCode":{
248+
"shape":"FailureCode",
249+
"documentation":"<p>Returned if the change set is in <code>FAILED</code> status. Can be either <code>CLIENT_ERROR</code>, which means that there are issues with the request (see the <code>ErrorDetailList</code> of <code>DescribeChangeSet</code>), or <code>SERVER_FAULT</code>, which means that there is a problem in the system, and you should retry your request.</p>"
246250
}
247251
},
248252
"documentation":"<p>A summary of a change set returned in a list of change sets when the <code>ListChangeSets</code> action is called.</p>"
@@ -345,6 +349,10 @@
345349
"shape":"ChangeStatus",
346350
"documentation":"<p>The status of the change request.</p>"
347351
},
352+
"FailureCode":{
353+
"shape":"FailureCode",
354+
"documentation":"<p>Returned if the change set is in <code>FAILED</code> status. Can be either <code>CLIENT_ERROR</code>, which means that there are issues with the request (see the <code>ErrorDetailList</code>), or <code>SERVER_FAULT</code>, which means that there is a problem in the system, and you should retry your request.</p>"
355+
},
348356
"FailureDescription":{
349357
"shape":"StringValue",
350358
"documentation":"<p>Returned if there is a failure on the change set, but that failure is not related to any of the changes in the request.</p>"
@@ -474,6 +482,13 @@
474482
"type":"list",
475483
"member":{"shape":"ErrorDetail"}
476484
},
485+
"FailureCode":{
486+
"type":"string",
487+
"enum":[
488+
"CLIENT_ERROR",
489+
"SERVER_FAULT"
490+
]
491+
},
477492
"Filter":{
478493
"type":"structure",
479494
"members":{
@@ -768,5 +783,5 @@
768783
"min":1
769784
}
770785
},
771-
"documentation":"<p>Catalog API actions allow you to manage your entities through list, describe, and update capabilities. An entity can be a product or an offer on AWS Marketplace.</p> <p>You can automate your entity update process by integrating the AWS Marketplace Catalog API with your AWS Marketplace product build or deployment pipelines. You can also create your own applications on top of the Catalog API to manage your products on AWS Marketplace.</p>"
786+
"documentation":"<p>Catalog API actions allow you to manage your entities through list, describe, and update capabilities. An entity can be a product or an offer on AWS Marketplace. </p> <p>You can automate your entity update process by integrating the AWS Marketplace Catalog API with your AWS Marketplace product build or deployment pipelines. You can also create your own applications on top of the Catalog API to manage your products on AWS Marketplace.</p>"
772787
}

0 commit comments

Comments
 (0)