Skip to content

Commit 6abd949

Browse files
author
AWS
committed
AWS Service Catalog Update: Enhance DescribeProvisionedProduct API to allow useProvisionedProduct Name as Input, so customer can provide ProvisionedProduct Name instead of ProvisionedProduct Id to describe a ProvisionedProduct.
1 parent 364075e commit 6abd949

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
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 Service Catalog",
4+
"description": "Enhance DescribeProvisionedProduct API to allow useProvisionedProduct Name as Input, so customer can provide ProvisionedProduct Name instead of ProvisionedProduct Id to describe a ProvisionedProduct."
5+
}

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,8 @@
493493
"input":{"shape":"DescribeProvisionedProductInput"},
494494
"output":{"shape":"DescribeProvisionedProductOutput"},
495495
"errors":[
496-
{"shape":"ResourceNotFoundException"}
496+
{"shape":"ResourceNotFoundException"},
497+
{"shape":"InvalidParametersException"}
497498
],
498499
"documentation":"<p>Gets information about the specified provisioned product.</p>"
499500
},
@@ -2457,17 +2458,21 @@
24572458
},
24582459
"DescribeProvisionedProductInput":{
24592460
"type":"structure",
2460-
"required":["Id"],
24612461
"members":{
24622462
"AcceptLanguage":{
24632463
"shape":"AcceptLanguage",
24642464
"documentation":"<p>The language code.</p> <ul> <li> <p> <code>en</code> - English (default)</p> </li> <li> <p> <code>jp</code> - Japanese</p> </li> <li> <p> <code>zh</code> - Chinese</p> </li> </ul>"
24652465
},
24662466
"Id":{
24672467
"shape":"Id",
2468-
"documentation":"<p>The provisioned product identifier.</p>"
2468+
"documentation":"<p>The provisioned product identifier. You must provide the name or ID, but not both.</p> <p>If you do not provide a name or ID, or you provide both name and ID, an <code>InvalidParametersException</code> will occur.</p>"
2469+
},
2470+
"Name":{
2471+
"shape":"ProvisionedProductName",
2472+
"documentation":"<p>The name of the provisioned product. You must provide the name or ID, but not both.</p> <p>If you do not provide a name or ID, or you provide both name and ID, an <code>InvalidParametersException</code> will occur.</p>"
24692473
}
2470-
}
2474+
},
2475+
"documentation":"DescribeProvisionedProductAPI input structure. AcceptLanguage - [Optional] The language code for localization. Id - [Optional] The provisioned product identifier. Name - [Optional] Another provisioned product identifier. Customers must provide either Id or Name."
24712476
},
24722477
"DescribeProvisionedProductOutput":{
24732478
"type":"structure",

0 commit comments

Comments
 (0)