Implement support for client side error correction which sets defaults when @required is present for output shape members. This is to enable making these shape members non-nullable such that if a server doesn't actually send a required member in a response we don't explode at deserialization.
NOTE: Nullablity hasn't changed in this PR, that will come when we enable CLIENT_CAREFUL check mode.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue \
n/a
Description of changes
Implement support for client side error correction which sets defaults when
@required
is present for output shape members. This is to enable making these shape members non-nullable such that if a server doesn't actually send a required member in a response we don't explode at deserialization.NOTE: Nullablity hasn't changed in this PR, that will come when we enable
CLIENT_CAREFUL
check mode.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.