-
Notifications
You must be signed in to change notification settings - Fork 866
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply AWS_JSON status code mapping to CBOR (#5670)
* Apply AWS_JSON status code mapping to CBOR Note: Kinesis is the only one we currently customize to CBOR. * Fix expected code in test * Add additional testing - Codegen tests - Added tests for CBOR protocol exceptions * Fix depdnency issue
- Loading branch information
Showing
17 changed files
with
4,463 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"type": "bugfix", | ||
"category": "Amazon Kinesis", | ||
"contributor": "", | ||
"description": "Fix an issue where errors that should be `400` are incorrectly classified as `500`." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
...c/test/resources/software/amazon/awssdk/codegen/poet/client/c2j/cbor/customization.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"authPolicyActions" : { | ||
"skip" : true | ||
}, | ||
"presignersFqcn": "software.amazon.awssdk.services.acm.presign.AcmClientPresigners", | ||
"serviceSpecificHttpConfig": "software.amazon.MyServiceHttpConfig", | ||
"serviceConfig": { | ||
"className": "ServiceConfiguration", | ||
"hasDualstackProperty": true, | ||
"hasFipsProperty": true | ||
}, | ||
"customRetryPolicy": "software.amazon.MyServiceRetryPolicy", | ||
"customRetryStrategy": "software.amazon.MyServiceRetryStrategy", | ||
"verifiedSimpleMethods" : ["paginatedOperationWithResultKey"], | ||
"excludedSimpleMethods" : [ | ||
"eventStreamOperation" | ||
], | ||
"utilitiesMethod": { | ||
"returnType": "software.amazon.awssdk.services.json.JsonUtilities", | ||
"createMethodParams": ["param1", "param2", "param3"] | ||
}, | ||
"useLegacyEventGenerationScheme": { | ||
"EventStream": ["EventOne", "event-two", "eventThree"] | ||
}, | ||
"customServiceMetadata": { | ||
"protocol": "cbor" | ||
} | ||
} |
Oops, something went wrong.