Skip to content

Commit

Permalink
service/pricing: Fix PriceList type to aws.JSONValue (#4486)
Browse files Browse the repository at this point in the history
  • Loading branch information
skmcgrail authored Jul 19, 2022
1 parent d05e5e0 commit c11f6f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG_PENDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
### SDK Enhancements

### SDK Bugs
* `service/pricing`: Fixes a bug that caused `GetProductsOutput.PriceList` to be generated incorrectly. ([#4486](https://github.com/aws/aws-sdk-go/pull/4486))
* The [v1.44.46](https://github.com/aws/aws-sdk-go/releases/tag/v1.44.46) release incorrectly resulted in the `PriceList` field's type changing from `[]aws.JSONValue` to `[]*string`.
* This release reverts this change, with the field now correctly updated to `[]aws.JSONValue`.
* Fixes [#4480](https://github.com/aws/aws-sdk-go/issues/4480)
2 changes: 1 addition & 1 deletion private/model/api/legacy_jsonvalue.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ var legacyJSONValueShapes = map[string]map[string]legacyJSONValues{
},
},
"pricing": map[string]legacyJSONValues{
"PriceList": legacyJSONValues{
"PriceListJsonItems": legacyJSONValues{
Type: "list",
ListMemberRef: true,
},
Expand Down
4 changes: 2 additions & 2 deletions service/pricing/api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c11f6f2

Please sign in to comment.