import * as core from "@terrascript/core"; export interface EndpointsArgs extends core.SchemaArgs { endpoint: string | core.StringOut; endpointType: string | core.StringOut; } export class Endpoints extends core.Schema { @core.attr(String, { computed: true }) public endpoint!: string | core.StringOut; @core.attr(String, { computed: true }) public endpointType!: string | core.StringOut; } export interface ContentSourceConfigurationArgs extends core.SchemaArgs { dataSourceIds: core.Array | core.ArrayOut; directPutContent: boolean | core.BooleanOut; faqIds: core.Array | core.ArrayOut; } export class ContentSourceConfiguration extends core.Schema { @core.attr(String, { computed: true, kind: "array" }) public dataSourceIds!: core.Array | core.ArrayOut; @core.attr(Boolean, { computed: true }) public directPutContent!: boolean | core.BooleanOut; @core.attr(String, { computed: true, kind: "array" }) public faqIds!: core.Array | core.ArrayOut; } export interface UserIdentityConfigurationArgs extends core.SchemaArgs { identityAttributeName: string | core.StringOut; } export class UserIdentityConfiguration extends core.Schema { @core.attr(String, { computed: true }) public identityAttributeName!: string | core.StringOut; } export interface ConfigurationArgs extends core.SchemaArgs { contentSourceConfiguration: | core.Array | core.ArrayOut; userIdentityConfiguration: | core.Array | core.ArrayOut; } export class Configuration extends core.Schema { @core.attr(ContentSourceConfiguration, { computed: true, kind: "array" }) public contentSourceConfiguration!: | core.Array | core.ArrayOut; @core.attr(UserIdentityConfiguration, { computed: true, kind: "array" }) public userIdentityConfiguration!: | core.Array | core.ArrayOut; } export interface DsExperienceArgs { /** * (Required) The identifier of the Experience. */ experienceId: string | core.StringOut; /** * (Required) The identifier of the index that contains the Experience. */ indexId: string | core.StringOut; } export class DsExperience extends core.Data { /** * The Amazon Resource Name (ARN) of the Experience. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * A block that specifies the configuration information for your Amazon Kendra Experience. This include * s `content_source_configuration`, which specifies the data source IDs and/or FAQ IDs, and `user_iden * tity_configuration`, which specifies the user or group information to grant access to your Amazon Ke * ndra Experience. Documented below. */ @core.attr(Configuration, { computed: true, kind: "array" }) public configuration!: | core.Array | core.ArrayOut; /** * The Unix datetime that the Experience was created. */ @core.attr(String, { computed: true }) public createdAt!: string | core.StringOut; /** * The description of the Experience. */ @core.attr(String, { computed: true }) public description!: string | core.StringOut; /** * Shows the endpoint URLs for your Amazon Kendra Experiences. The URLs are unique and fully hosted by * AWS. Documented below. */ @core.attr(Endpoints, { computed: true, kind: "array" }) public endpoints!: core.Array | core.ArrayOut; /** * The reason your Amazon Kendra Experience could not properly process. */ @core.attr(String, { computed: true }) public errorMessage!: string | core.StringOut; /** * (Required) The identifier of the Experience. */ @core.attr(String) public experienceId!: string | core.StringOut; /** * The unique identifiers of the Experience 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 Experience. */ @core.attr(String) public indexId!: string | core.StringOut; /** * The name of the Experience. */ @core.attr(String, { computed: true }) public name!: string | core.StringOut; /** * Shows the Amazon Resource Name (ARN) of a role with permission to access `Query` API, `QuerySuggesti * ons` API, `SubmitFeedback` API, and AWS SSO that stores your user and group information. */ @core.attr(String, { computed: true }) public roleArn!: string | core.StringOut; /** * The current processing status of your Amazon Kendra Experience. When the status is `ACTIVE`, your Am * azon Kendra Experience is ready to use. When the status is `FAILED`, the `error_message` field conta * ins the reason that this failed. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; /** * The date and time that the Experience was last updated. */ @core.attr(String, { computed: true }) public updatedAt!: string | core.StringOut; constructor(name: string, args?: DsExperienceArgs) { super(name, "aws_kendra_experience", args); } public override getNamespace(): string { return "aws_kendra"; } }