fix: update CognitoUserPoolPreTokenGenerationEventV2 response model by godcrampy · Pull Request #519 · aws/aws-lambda-java-libs

Conversation

@godcrampy

Issue #: #516

Description of changes:

  • Fix incorrect response model for CognitoUserPoolPreTokenGenerationEventV2 to match the exprected contract from the docs
  • Expose the fix as v3.15.0 since it's a breaking change.
  • Update ci scripts for samples to use the events library from current build.

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

darklight3it

maxday

21
distribution: corretto

# Install events module using Java 8

Choose a reason for hiding this comment

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

Have we verified that we need this change? Does CI still pass when we revert this modification?

Choose a reason for hiding this comment

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

No it doesn't pass. The above CI runs are examples of experiments I tried to make it work with Java 21 (didn't work). The issue is that the event package has it's compiler set to Java 8, hence this looks like a forced move.
image

@maxday

LGTM! Thanks! 🎉, I just left a small comment

maxday

ghost