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

Add event types for Cognito PreAuthentication Lambda trigger #214

Merged
merged 5 commits into from
Aug 20, 2019

Conversation

markneves
Copy link
Contributor

Adds the following Cognito event types:

  • events.CognitoEventUserPoolsPreAuthentication
  • events.CognitoEventUserPoolsPreAuthenticationRequest
  • events.CognitoEventUserPoolsPreAuthenticationResponse

Added tests are based on existing Cognito tests sourced from this repository (specifically: TestCognitoEventUserPoolsPreSignupMarshaling and TestCognitoUserPoolsPreSignupMarshalingMalformedJson).

Parameters conform to AWS documentation for Cognito PreAuthentication: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-authentication.html

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

@codecov-io
Copy link

codecov-io commented Jul 28, 2019

Codecov Report

Merging #214 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #214   +/-   ##
=======================================
  Coverage   75.88%   75.88%           
=======================================
  Files          18       18           
  Lines         647      647           
=======================================
  Hits          491      491           
  Misses        115      115           
  Partials       41       41

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a5ae086...d2e0365. Read the comment docs.

@bmoffatt
Copy link
Collaborator

Thanks!

@bmoffatt bmoffatt merged commit ec56cb7 into aws:master Aug 20, 2019
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.

3 participants