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(codegen): fix setting of default signing name #6487

Merged
merged 1 commit into from
Sep 18, 2024
Merged

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Sep 17, 2024

Issue

n/a

Description

Remove incorrect fallback attempt to the service arn namespace when setting the default signing name.

Testing

CI

@kuhe kuhe requested a review from a team as a code owner September 17, 2024 17:19
}
settings.setDefaultSigningName(
service.expectTrait(SigV4Trait.class).getName()
);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should be allowed because if there is no sigv4 trait, the method already returned on line 110, and name is required in the trait.

@kuhe kuhe merged commit 108bb99 into aws:main Sep 18, 2024
3 checks passed
@kuhe kuhe deleted the fix/codegen branch September 18, 2024 15:44
RanVaknin pushed a commit to RanVaknin/aws-sdk-js-v3 that referenced this pull request Sep 21, 2024
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