Skip to content

Commit 8c5e287

Browse files
author
awstools
committed
feat(client-pricing): Documentation update for GetProducts Response.
1 parent 3e7e5cb commit 8c5e287

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

clients/client-pricing/src/protocols/Aws_json1_1.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ const deserializeAws_json1_1GetProductsResponse = (output: any, context: __Serde
428428
NextToken: __expectString(output.NextToken),
429429
PriceList:
430430
output.PriceList !== undefined && output.PriceList !== null
431-
? deserializeAws_json1_1PriceList(output.PriceList, context)
431+
? deserializeAws_json1_1PriceListJsonItems(output.PriceList, context)
432432
: undefined,
433433
} as any;
434434
};
@@ -463,7 +463,10 @@ const deserializeAws_json1_1NotFoundException = (output: any, context: __SerdeCo
463463
} as any;
464464
};
465465

466-
const deserializeAws_json1_1PriceList = (output: any, context: __SerdeContext): (__LazyJsonString | string)[] => {
466+
const deserializeAws_json1_1PriceListJsonItems = (
467+
output: any,
468+
context: __SerdeContext
469+
): (__LazyJsonString | string)[] => {
467470
const retVal = (output || [])
468471
.filter((e: any) => e != null)
469472
.map((entry: any) => {

codegen/sdk-codegen/aws-models/pricing.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@
404404
}
405405
},
406406
"PriceList": {
407-
"target": "com.amazonaws.pricing#PriceList",
407+
"target": "com.amazonaws.pricing#PriceListJsonItems",
408408
"traits": {
409409
"smithy.api#documentation": "<p>The list of products that match your filters. The list contains both the product metadata and \n the price information.</p>"
410410
}
@@ -469,10 +469,10 @@
469469
"smithy.api#httpError": 400
470470
}
471471
},
472-
"com.amazonaws.pricing#PriceList": {
472+
"com.amazonaws.pricing#PriceListJsonItems": {
473473
"type": "list",
474474
"member": {
475-
"target": "com.amazonaws.pricing#SynthesizedJsonPriceListItemJSON"
475+
"target": "com.amazonaws.pricing#SynthesizedJsonPriceListJsonItem"
476476
}
477477
},
478478
"com.amazonaws.pricing#Service": {
@@ -505,7 +505,7 @@
505505
"com.amazonaws.pricing#String": {
506506
"type": "string"
507507
},
508-
"com.amazonaws.pricing#SynthesizedJsonPriceListItemJSON": {
508+
"com.amazonaws.pricing#SynthesizedJsonPriceListJsonItem": {
509509
"type": "string",
510510
"traits": {
511511
"smithy.api#mediaType": "application/json"

0 commit comments

Comments
 (0)