Skip to content

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

@sbarbat

Description

@sbarbat
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions