import * as core from "@terrascript/core";

export interface DsBotArgs {
  name: string | core.StringOut;

  version?: string | core.StringOut;
}

export class DsBot extends core.Data<DsBotArgs> {
  @core.attr(String, { computed: true })
  public arn!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public checksum!: string | core.StringOut;

  @core.attr(Boolean, { computed: true })
  public childDirected!: boolean | core.BooleanOut;

  @core.attr(String, { computed: true })
  public createdDate!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public description!: string | core.StringOut;

  @core.attr(Boolean, { computed: true })
  public detectSentiment!: boolean | core.BooleanOut;

  @core.attr(Boolean, { computed: true })
  public enableModelImprovements!: boolean | core.BooleanOut;

  @core.attr(String, { computed: true })
  public failureReason!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  @core.attr(Number, { computed: true })
  public idleSessionTtlInSeconds!: number | core.NumberOut;

  @core.attr(String, { computed: true })
  public lastUpdatedDate!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public locale!: string | core.StringOut;

  @core.attr(String)
  public name!: string | core.StringOut;

  @core.attr(Number, { computed: true })
  public nluIntentConfidenceThreshold!: number | core.NumberOut;

  @core.attr(String, { computed: true })
  public status!: string | core.StringOut;

  @core.attr(String)
  public version?: string | core.StringOut;

  @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";
  }
}
