import * as core from "@terrascript/core"; export interface DsBotArgs { /** * (Required) The name of the bot. The name is case sensitive. */ name: string | core.StringOut; /** * (Optional) The version or alias of the bot. */ version?: string | core.StringOut; } export class DsBot extends core.Data { /** * The ARN of the bot. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * Checksum of the bot used to identify a specific revision of the bot's `$LATEST` version. */ @core.attr(String, { computed: true }) public checksum!: string | core.StringOut; /** * Specifies if this Amazon Lex Bot is related to a website, program, or other application that is dire * cted or targeted, in whole or in part, to children under age 13 and subject to COPPA. */ @core.attr(Boolean, { computed: true }) public childDirected!: boolean | core.BooleanOut; /** * The date that the bot was created. */ @core.attr(String, { computed: true }) public createdDate!: string | core.StringOut; /** * A description of the bot. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; /** * When set to true user utterances are sent to Amazon Comprehend for sentiment analysis. */ @core.attr(Boolean, { computed: true }) public detectSentiment!: boolean | core.BooleanOut; /** * Set to true if natural language understanding improvements are enabled. */ @core.attr(Boolean, { computed: true }) public enableModelImprovements!: boolean | core.BooleanOut; /** * If the `status` is `FAILED`, the reason why the bot failed to build. */ @core.attr(String, { computed: true }) public failureReason!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. */ @core.attr(Number, { computed: true }) public idleSessionTtlInSeconds!: number | core.NumberOut; /** * The date that the bot was updated. */ @core.attr(String, { computed: true }) public lastUpdatedDate!: string | core.StringOut; /** * Specifies the target locale for the bot. Any intent used in the bot must be compatible with the loca * le of the bot. */ @core.attr(String, { computed: true }) public locale!: string | core.StringOut; /** * (Required) The name of the bot. The name is case sensitive. */ @core.attr(String) public name!: string | core.StringOut; /** * The threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or * both when returning alternative intents in a PostContent or PostText response. AMAZON.FallbackIntent * and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. */ @core.attr(Number, { computed: true }) public nluIntentConfidenceThreshold!: number | core.NumberOut; /** * The status of the bot. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * (Optional) The version or alias of the bot. */ @core.attr(String) public version?: string | core.StringOut; /** * The Amazon Polly voice ID that the Amazon Lex Bot uses for voice interactions with the user. */ @core.attr(String, { computed: true }) public voiceId!: string | core.StringOut; constructor(name: string, args?: DsBotArgs) { super(name, "aws_lex_bot", args); } public override getNamespace(): string { return "aws_lex"; } }