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 CloudFront listConflictingAliasesMaxItemsInteger is never used warning #3181

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

richardwang1124
Copy link
Contributor

@richardwang1124 richardwang1124 commented Feb 5, 2025

Fixes #3179.

Customization in codegen for CloudFront was automatically setting the shape of MaxItems members to integers. Updated to only set the shape to integers when the shape was originally a string.

Running tests with current code and $VERBOSE=true
Screenshot 2025-02-05 at 12 33 35 PM

After change
Screenshot 2025-02-05 at 1 03 04 PM


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

  1. To make sure we include your contribution in the release notes, please make sure to add description entry for your changes in the "unreleased changes" section of the CHANGELOG.md file (at corresponding gem). For the description entry, please make sure it lives in one line and starts with Feature or Issue in the correct format.

  2. For generated code changes, please checkout below instructions first:
    https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md

Thank you for your contribution!

Copy link
Contributor

@alextwoods alextwoods left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice - This looks good! Just remove the change from runnning the code generator and it should be good to go.

@richardwang1124 richardwang1124 changed the title Fix CloudFront listConflictingAliasesMaxItemsInteger is never used warning Fix CloudFront listConflictingAliasesMaxItemsInteger is never used warning Feb 5, 2025
@richardwang1124 richardwang1124 changed the title Fix CloudFront listConflictingAliasesMaxItemsInteger is never used warning Fix CloudFront listConflictingAliasesMaxItemsInteger is never used warning Feb 5, 2025
@richardwang1124 richardwang1124 merged commit 4bd249e into version-3 Feb 5, 2025
33 checks passed
@richardwang1124 richardwang1124 deleted the fix-cloudfront-lca-max-int branch February 5, 2025 22:03
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.

Fix CloudFront client API unused variable
2 participants