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 Cognito User Pool Trigger throws Unexpected key 'UsernameConfiguration' found in params #234

Open
sbarbat opened this issue May 14, 2022 · 0 comments

Comments

@sbarbat
Copy link

sbarbat commented May 14, 2022

  • Expected behaviour: Adds the Cognito pool trigger

  • What actually happens:

UnexpectedParameter: Unexpected key 'UsernameConfiguration' found in params
    at ParamValidator.fail (/opt/homebrew/lib/node_modules/claudia/node_modules/aws-sdk/lib/param_validator.js:50:37)
    at ParamValidator.validateStructure (/opt/homebrew/lib/node_modules/claudia/node_modules/aws-sdk/lib/param_validator.js:78:14)
    at ParamValidator.validateMember (/opt/homebrew/lib/node_modules/claudia/node_modules/aws-sdk/lib/param_validator.js:89:21)
    at ParamValidator.validate (/opt/homebrew/lib/node_modules/claudia/node_modules/aws-sdk/lib/param_validator.js:34:10)
    at Request.VALIDATE_PARAMETERS (/opt/homebrew/lib/node_modules/claudia/node_modules/aws-sdk/lib/event_listeners.js:132:42)
    at Request.callListeners (/opt/homebrew/lib/node_modules/claudia/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
    at callNextListener (/opt/homebrew/lib/node_modules/claudia/node_modules/aws-sdk/lib/sequential_executor.js:96:12)
    at /opt/homebrew/lib/node_modules/claudia/node_modules/aws-sdk/lib/event_listeners.js:86:9
    at finish (/opt/homebrew/lib/node_modules/claudia/node_modules/aws-sdk/lib/config.js:396:7)
    at /opt/homebrew/lib/node_modules/claudia/node_modules/aws-sdk/lib/config.js:414:9 {
  code: 'UnexpectedParameter',
  time: 2022-05-14T12:23:29.175Z
  • Steps to install the project: Claudia v5.14.1

  • Steps to reproduce the problem:
    Run claudia add-cognito-user-pool-trigger --user-pool-id us-east-1_LEaWwQ6yY --events PreSignUp

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

No branches or pull requests

1 participant