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 usernameParameter to CognitoEventUserPoolsCustomMessageRequest #219

Merged
merged 2 commits into from
Aug 19, 2019

Conversation

andrewmostello
Copy link
Contributor

Issue #, if available:
I did not open an issue for this because the fix is quick.

Description of changes:
The CustomMessage_AdminCreateUser trigger returns a user name and verification code, so the request must include both request.usernameParameter and request.codeParameter. Add the usernameParameter field to the CognitoEventUserPoolsCustomMessageRequest struct to meet this requirement.

https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-custom-message.html

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

The CustomMessage_AdminCreateUser trigger returns a user name and verification code, so the request must include both request.usernameParameter and request.codeParameter. Add the usernameParameter field to the CognitoEventUserPoolsCustomMessageRequest struct to meet this requirement.

https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-custom-message.html
@codecov-io
Copy link

codecov-io commented Aug 1, 2019

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #219   +/-   ##
=======================================
  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 19047df...11d323a. Read the comment docs.

@rajeevclumio
Copy link

Can you please merge this?

@bmoffatt
Copy link
Collaborator

bmoffatt commented Aug 19, 2019

Done! Thanks for the contribution!

@bmoffatt bmoffatt merged commit cb30add into aws:master Aug 19, 2019
@andrewmostello
Copy link
Contributor Author

Great - thanks!

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.

4 participants