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

feat(experimentalIdentityAndAuth): codegen @endpointRuleSet HttpAuthSchemeProviders #5231

Closed

Conversation

syall
Copy link
Contributor

@syall syall commented Sep 19, 2023

Issue

Issue number, if available, prefixed with "#"

N/A.

Description

What does this implement/fix? Explain your changes.

Dependent on: smithy-lang/smithy-typescript#956, smithy-lang/smithy-typescript#957

Note: everything is gated by the experimentalIdentityAndAuth flag, and will not actually be released until manually enabled

This PR introduces codegen for @endpointRuleSet HttpAuthSchemeProviders for S3 and EventBridge only.

This PR also introduces adding the @endpointRuleSet trait to the generic client test.

Testing

How was this change tested?

Note: everything is gated by the experimentalIdentityAndAuth flag

S3

Branch for testing: https://github.com/syall/aws-sdk-js-v3/commits/s3-testing

  • Codegen diff with ONLY experimentalIdentityAndAuth (no @endpointRuleSet HttpAuthSchemeProvider): syall@7c9f189
  • Codegen diff between experimentalIdentityAndAuth and @endpointRuleSet HttpAuthSchemeProvider changes: syall@5cffb01

EventBridge

Branch for testing: https://github.com/syall/aws-sdk-js-v3/commits/eventBridge-testing

  • Codegen diff with ONLY experimentalIdentityAndAuth (no @endpointRuleSet HttpAuthSchemeProvider): syall@69775fe
  • Codegen diff between experimentalIdentityAndAuth and @endpointRuleSet HttpAuthSchemeProvider changes: syall@68066bd

Additional context

Add any other context about the PR here.

N/A.

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

@syall syall changed the title feat(experimentalIdentityAndAuth): codegen @endpointRuleSet HttpAuthSchemProviders feat(experimentalIdentityAndAuth): codegen @endpointRuleSet HttpAuthSchemeProviders Sep 19, 2023
@syall syall force-pushed the add-endpointRuleSet-httpAuthSchemeProvider branch 9 times, most recently from 11c7b0a to 1a93d42 Compare September 21, 2023 16:35
@syall syall marked this pull request as ready for review September 21, 2023 17:05
@syall syall requested a review from a team as a code owner September 21, 2023 17:05
…thSchemeProvider`s

For S3 and EventBridge, use `HttpAuthSchemeProvider`s based on
`@smithy.rules#endpointRuleSet`, and also add in a partial
`@aws.auth#sigv4a` `HttpAuthScheme` registration.
@syall syall force-pushed the add-endpointRuleSet-httpAuthSchemeProvider branch from 1a93d42 to 129fa2e Compare September 25, 2023 00:20
@syall syall closed this Dec 14, 2023
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant