Skip to content

Commit fb4f94e

Browse files
author
AWS
committed
AWS Price List Service Update: Add ResourceNotFoundException to ListPriceLists and GetPriceListFileUrl APIs
1 parent 161e0f7 commit fb4f94e

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
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": "AWS Price List Service",
4+
"contributor": "",
5+
"description": "Add ResourceNotFoundException to ListPriceLists and GetPriceListFileUrl APIs"
6+
}

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@
6363
{"shape":"NotFoundException"},
6464
{"shape":"AccessDeniedException"},
6565
{"shape":"InternalErrorException"},
66-
{"shape":"ThrottlingException"}
66+
{"shape":"ThrottlingException"},
67+
{"shape":"ResourceNotFoundException"}
6768
],
6869
"documentation":"<p> <i> <b>This feature is in preview release and is subject to change. Your use of Amazon Web Services Price List API is subject to the Beta Service Participation terms of the <a href=\"https://aws.amazon.com/service-terms/\">Amazon Web Services Service Terms</a> (Section 1.10).</b> </i> </p> <p>This returns the URL that you can retrieve your Price List file from. This URL is based on the <code>PriceListArn</code> and <code>FileFormat</code> that you retrieve from the <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html\">ListPriceLists</a> response. </p>"
6970
},
@@ -100,6 +101,7 @@
100101
{"shape":"AccessDeniedException"},
101102
{"shape":"InternalErrorException"},
102103
{"shape":"ThrottlingException"},
104+
{"shape":"ResourceNotFoundException"},
103105
{"shape":"ExpiredNextTokenException"}
104106
],
105107
"documentation":"<p> <i> <b>This feature is in preview release and is subject to change. Your use of Amazon Web Services Price List API is subject to the Beta Service Participation terms of the <a href=\"https://aws.amazon.com/service-terms/\">Amazon Web Services Service Terms</a> (Section 1.10).</b> </i> </p> <p>This returns a list of Price List references that the requester if authorized to view, given a <code>ServiceCode</code>, <code>CurrencyCode</code>, and an <code>EffectiveDate</code>. Use without a <code>RegionCode</code> filter to list Price List references from all available Amazon Web Services Regions. Use with a <code>RegionCode</code> filter to get the Price List reference that's specific to a specific Amazon Web Services Region. You can use the <code>PriceListArn</code> from the response to get your preferred Price List files through the <a href=\"https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_GetPriceListFileUrl.html\">GetPriceListFileUrl</a> API.</p>"
@@ -467,6 +469,14 @@
467469
"max":255,
468470
"min":1
469471
},
472+
"ResourceNotFoundException":{
473+
"type":"structure",
474+
"members":{
475+
"Message":{"shape":"errorMessage"}
476+
},
477+
"documentation":"<p>The requested resource can't be found.</p>",
478+
"exception":true
479+
},
470480
"Service":{
471481
"type":"structure",
472482
"required":["ServiceCode"],

0 commit comments

Comments
 (0)