Skip to content
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

codegen: Updates SDK's generated serde for unmodeled operation input/output #1050

Merged
merged 4 commits into from
Jan 16, 2021

Conversation

jasdel
Copy link
Contributor

@jasdel jasdel commented Jan 15, 2021

Updates the SDK's generate serializers and deserializers for operations without modeled input and output types. This fixes #1047 where the SDK was attempting to deserialize a response from a service for an operation that had no modeled output. The SDK should of ignored the response instead of trying to deserialize it.

This update will not attempt to serialize inputs for operations without modeled inputs, and will discard responses from services of operations with unmodeled outputs.

Related to aws/smithy-go#261
Fixes #1047

Updates the AwsQuery and JSONPRC protocols to skip serializing inputs
with no methods.

Related to aws/smithy-go#261
@jasdel jasdel merged commit 61895a9 into aws:main Jan 16, 2021
@jasdel jasdel deleted the fixup/DeserUnmodeledOutput branch January 16, 2021 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sqs.Client.TagQueue returns an error but still succeessfully tags a resource
3 participants