Amplify CLI plugin for managing interactions resources (e.g., Amazon Lex chatbots) within an AWS Amplify project. Version 4.3.2 is the latest stable release. This plugin provides CLI commands to add, update, push, and remove interactions resources. It is part of the Amplify CLI ecosystem and relies on the Amplify core infrastructure. Key differentiators: tightly integrated with Amplify CLI workflow, supports Lex bots, and automatically generates CloudFormation templates. Release cadence follows Amplify CLI releases, approximately monthly.
npm install amplify-category-interactionsVerified import paths — ran on the pinned version, not inferred.
Shows how to add and push a Lex bot resource using the interactions plugin API.
Upgrade to Node.js 14 or later.
Update any custom Lex client code to use @aws-sdk/client-lex-runtime-service.
Use `--intent '{"name":"IntentName","slots":{}}'` instead.Run `npm install -g @aws-amplify/amplify-category-interactions` after installing `@aws-amplify/cli`.
Use `amplify interactions status` to list existing resources before adding.
Use `amplify interactions update` to modify existing resources.
Run `npm install -g @aws-amplify/amplify-category-interactions`.
Use `amplify interactions add` only for Amazon Lex resources.
Use `amplify interactions update` to modify existing resource or remove first.
Use a numeric alias version (e.g., '1') or create an alias in the Lex console.