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

fix: EC2 empty list serialization #2928

Merged

Conversation

yenfryherrerafeliz
Copy link
Contributor

@yenfryherrerafeliz yenfryherrerafeliz commented May 28, 2024

Issue #, if available:

Description of changes:
Empty list parameters should not be serialized when doing EC2 requests, instead the parameters must be ignored. Otherwise, the service will return an InvalidRequest exception

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@yenfryherrerafeliz yenfryherrerafeliz force-pushed the fix_ec2_empty_list_serialization branch from 094919d to a6ac2e0 Compare May 28, 2024 21:17
@stobrien89
Copy link
Member

Were the smoke and integ tests ran against this change?

tests/Ec2/Ec2ClientTest.php Outdated Show resolved Hide resolved
src/Api/Serializer/Ec2ParamBuilder.php Show resolved Hide resolved
@yenfryherrerafeliz yenfryherrerafeliz force-pushed the fix_ec2_empty_list_serialization branch 2 times, most recently from 036b8ac to 13ec5d0 Compare June 10, 2024 15:22
Empty lists should not be serialized when doing EC2 requests, instead the parameter must be ignored. Otherwise, the service will return an InvalidRequest exception.
@yenfryherrerafeliz yenfryherrerafeliz force-pushed the fix_ec2_empty_list_serialization branch from 13ec5d0 to 74213cc Compare June 11, 2024 16:21
@stobrien89 stobrien89 merged commit 6bfd3a6 into aws:master Jun 11, 2024
18 checks passed
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.

2 participants