@aws-amplify/core
Version:
Core category of aws-amplify
20 lines (19 loc) • 487 B
TypeScript
import { AtLeastOne } from '../types';
interface LexV1BotConfig {
alias: string;
region: string;
}
interface LexV2BotConfig {
botId: string;
aliasId: string;
localeId: string;
region: string;
}
interface InteractionsLexV1Config {
LexV1: Record<string, LexV1BotConfig>;
}
interface InteractionsLexV2Config {
LexV2: Record<string, LexV2BotConfig>;
}
export type InteractionsConfig = AtLeastOne<InteractionsLexV1Config & InteractionsLexV2Config>;
export {};