-
Notifications
You must be signed in to change notification settings - Fork 890
Update non-streaming error unmarshalling to use new mapping function #5991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Update non-streaming error unmarshalling to use new mapping function #5991
Conversation
Changes look good, but looks like existing Kinesis unit tests are failing, can we fix those? |
...ware/amazon/awssdk/codegen/poet/client/test-aws-query-compatible-json-sync-client-class.java
Outdated
Show resolved
Hide resolved
|
||
import static org.junit.Assert.assertEquals; | ||
|
||
public class KinesisExceptionTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use mock tests intead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, updated the tests accordingly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that it's mock tests, can we move to test
module instead of it
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, moved it to the test module.
@@ -202,4 +202,4 @@ public AwsQueryProtocolFactory build() { | |||
return new AwsQueryProtocolFactory(this); | |||
} | |||
} | |||
} | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: can we avoid updating files that don't have meaningful change?
1ba606b
to
e687576
Compare
…ng integration test failures
…e new mapping function
e687576
to
6079584
Compare
…TP connectors user-experience: 1) Customers can self-serve concurrent connections setting for their connectors, and 2) Customers can discover the public host key of remote servers using their SFTP connectors.
…puHours field in each TableOptimizerRun, providing clients visibility to the DPU-hours used for billing in managed Apache Iceberg table compaction optimization.
…'s Severity, CreateTime, and Identifier for a control's Implementation. The ListControls API now surfaces a control's Behavior, Severity, CreateTime, and Identifier for a control's Implementation.
|
Update non-streaming error unmarshalling to use new mapping function.
Motivation and Context
This change updates the non-streaming error unmarshalling to use the same mapping function that was previously implemented for streaming operations. This change deprecates BaseAwsJsonProtocolFactory#createErrorResponseHandler(JsonOperationMetadata). We have switched all usages in generated code to the replacement, createErrorResponseHandler(JsonOperationMetadata,Function).
Modifications
registerModeledException
calls frominitProtocolFactory
Testing
Screenshots (if appropriate)
Types of changes
Checklist
mvn install
succeedsscripts/new-change
script and following the instructions. Commit the new file created by the script in.changes/next-release
with your changes.License