claudia icon indicating copy to clipboard operation
claudia copied to clipboard

Add Cognito User Pool Trigger throws `Unexpected key 'UsernameConfiguration' found in params`

Open sbarbat opened this issue 2 years ago • 0 comments

  • 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

sbarbat avatar May 14 '22 12:05 sbarbat