CmdID / aws / aws lex-models
aws lex-models put-intent
Creates an intent or replaces an existing intent. AWS CLI reference
16 options Its page in the AWS CLI reference
Options
--checksumIdentifies a specific revision of the $LATEST version.--conclusion-statementThe statement that you want Amazon Lex to convey to the user after the intent is successfully fulfilled by the Lambda function.--confirmation-promptPrompts the user to confirm the intent.--create-versionWhen set to true a new numbered version of the intent is created.--descriptionA description of the intent.--dialog-code-hookSpecifies a Lambda function to invoke for each user input.--follow-up-promptAmazon Lex uses this prompt to solicit additional activity after fulfilling an intent.--fulfillment-activityRequired.--input-contextsAn array of InputContext objects that lists the contexts that must be active for Amazon Lex to choose the intent in a conversation with the user.--kendra-configurationConfiguration information required to use the AMAZON.KendraSearchIntent intent to connect to an Amazon Kendra index.--nameThe name of the intent.--output-contextsAn array of OutputContext objects that lists the contexts that the intent activates when the intent is fulfilled.--parent-intent-signatureA unique identifier for the built-in intent to base this intent on.--rejection-statementWhen the user answers "no" to the question defined in confirmationPrompt, Amazon Lex responds with this statement to acknowledge that the intent was canceled.--sample-utterancesAn array of utterances (strings) that a user might say to signal the intent.--slotsAn array of intent slots.