import * as core from "@terrascript/core"; export interface SourceS3PathArgs extends core.SchemaArgs { bucket: string | core.StringOut; key: string | core.StringOut; } export class SourceS3Path extends core.Schema { @core.attr(String, { computed: true }) public bucket!: string | core.StringOut; @core.attr(String, { computed: true }) public key!: string | core.StringOut; } export interface DsQuerySuggestionsBlockListArgs { /** * (Required) The identifier of the index that contains the block list. */ indexId: string | core.StringOut; /** * (Required) The identifier of the block list. */ querySuggestionsBlockListId: string | core.StringOut; /** * Metadata that helps organize the block list you create. */ tags?: core.Map | core.MapOut; } export class DsQuerySuggestionsBlockList extends core.Data { /** * The Amazon Resource Name (ARN) of the block list. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The date-time a block list was created. */ @core.attr(String, { computed: true }) public createdAt!: string | core.StringOut; /** * The description for the block list. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; /** * The error message containing details if there are issues processing the block list. */ @core.attr(String, { computed: true }) public errorMessage!: string | core.StringOut; /** * The current size of the block list text file in S3. */ @core.attr(Number, { computed: true }) public fileSizeBytes!: number | core.NumberOut; /** * The unique identifiers of the block list and index separated by a slash (`/`). */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The identifier of the index that contains the block list. */ @core.attr(String) public indexId!: string | core.StringOut; /** * The current number of valid, non-empty words or phrases in the block list text file. */ @core.attr(Number, { computed: true }) public itemCount!: number | core.NumberOut; /** * The name of the block list. */ @core.attr(String, { computed: true }) public name!: string | core.StringOut; /** * (Required) The identifier of the block list. */ @core.attr(String) public querySuggestionsBlockListId!: string | core.StringOut; /** * The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the b * lock list. For more information, see [IAM Roles for Amazon Kendra](https://docs.aws.amazon.com/kendr * a/latest/dg/iam-roles.html). */ @core.attr(String, { computed: true }) public roleArn!: string | core.StringOut; /** * The S3 location of the block list input data. Detailed below. */ @core.attr(SourceS3Path, { computed: true, kind: "array" }) public sourceS3Path!: core.Array | core.ArrayOut; /** * The current status of the block list. When the value is `ACTIVE`, the block list is ready for use. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * Metadata that helps organize the block list you create. */ @core.attr(String, { computed: true, kind: "map" }) public tags?: core.Map | core.MapOut; /** * The date and time that the block list was last updated. */ @core.attr(String, { computed: true }) public updatedAt!: string | core.StringOut; constructor(name: string, args?: DsQuerySuggestionsBlockListArgs) { super(name, "aws_kendra_query_suggestions_block_list", args); } public override getNamespace(): string { return "aws_kendra"; } }