cdk-lambda-subminute 2.0.311 → 2.0.313
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.min.json +101 -95
- package/node_modules/aws-sdk/apis/bedrock-2023-04-20.min.json +91 -71
- package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.examples.json +5 -0
- package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.min.json +2322 -0
- package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.paginators.json +52 -0
- package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.examples.json +5 -0
- package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.min.json +697 -0
- package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.paginators.json +9 -0
- package/node_modules/aws-sdk/apis/bedrock-runtime-2023-09-30.min.json +18 -18
- package/node_modules/aws-sdk/apis/bedrock-runtime-2023-09-30.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/cleanrooms-2022-02-17.min.json +1222 -83
- package/node_modules/aws-sdk/apis/cleanrooms-2022-02-17.paginators.json +36 -0
- package/node_modules/aws-sdk/apis/cleanroomsml-2023-09-06.examples.json +5 -0
- package/node_modules/aws-sdk/apis/cleanroomsml-2023-09-06.min.json +1226 -0
- package/node_modules/aws-sdk/apis/cleanroomsml-2023-09-06.paginators.json +34 -0
- package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +1180 -417
- package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +11 -0
- package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +129 -84
- package/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json +481 -132
- package/node_modules/aws-sdk/apis/elasticache-2015-02-02.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/metadata.json +17 -0
- package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +369 -195
- package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.min.json +49 -46
- package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.examples.json +5 -0
- package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.min.json +3025 -0
- package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.paginators.json +76 -0
- package/node_modules/aws-sdk/apis/qconnect-2020-10-19.examples.json +5 -0
- package/node_modules/aws-sdk/apis/qconnect-2020-10-19.min.json +2499 -0
- package/node_modules/aws-sdk/apis/qconnect-2020-10-19.paginators.json +64 -0
- package/node_modules/aws-sdk/apis/runtime.sagemaker-2017-05-13.min.json +8 -0
- package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +128 -128
- package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +649 -186
- package/node_modules/aws-sdk/apis/s3-2006-03-01.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +121 -115
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +1688 -980
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.paginators.json +18 -0
- package/node_modules/aws-sdk/clients/accessanalyzer.d.ts +13 -2
- package/node_modules/aws-sdk/clients/all.d.ts +5 -0
- package/node_modules/aws-sdk/clients/all.js +6 -1
- package/node_modules/aws-sdk/clients/applicationautoscaling.d.ts +31 -31
- package/node_modules/aws-sdk/clients/bedrock.d.ts +53 -17
- package/node_modules/aws-sdk/clients/bedrockagent.d.ts +1258 -0
- package/node_modules/aws-sdk/clients/bedrockagent.js +18 -0
- package/node_modules/aws-sdk/clients/bedrockagentruntime.d.ts +439 -0
- package/node_modules/aws-sdk/clients/bedrockagentruntime.js +18 -0
- package/node_modules/aws-sdk/clients/bedrockruntime.d.ts +13 -13
- package/node_modules/aws-sdk/clients/bedrockruntime.js +1 -0
- package/node_modules/aws-sdk/clients/cleanrooms.d.ts +1292 -177
- package/node_modules/aws-sdk/clients/cleanroomsml.d.ts +1232 -0
- package/node_modules/aws-sdk/clients/cleanroomsml.js +18 -0
- package/node_modules/aws-sdk/clients/connect.d.ts +886 -20
- package/node_modules/aws-sdk/clients/customerprofiles.d.ts +40 -0
- package/node_modules/aws-sdk/clients/elasticache.d.ts +484 -12
- package/node_modules/aws-sdk/clients/opensearch.d.ts +170 -1
- package/node_modules/aws-sdk/clients/opensearchserverless.d.ts +13 -0
- package/node_modules/aws-sdk/clients/qbusiness.d.ts +3231 -0
- package/node_modules/aws-sdk/clients/qbusiness.js +18 -0
- package/node_modules/aws-sdk/clients/qconnect.d.ts +2552 -0
- package/node_modules/aws-sdk/clients/qconnect.js +18 -0
- package/node_modules/aws-sdk/clients/s3.d.ts +795 -666
- package/node_modules/aws-sdk/clients/s3control.d.ts +135 -125
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +950 -44
- package/node_modules/aws-sdk/clients/sagemakerruntime.d.ts +11 -2
- package/node_modules/aws-sdk/clients/sts.d.ts +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +286 -94
- package/node_modules/aws-sdk/dist/aws-sdk.js +2343 -722
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +83 -82
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +10 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +3 -3
- package/node_modules/aws-sdk/CHANGELOG.md +0 -9325
@@ -0,0 +1,3231 @@
|
|
1
|
+
import {Request} from '../lib/request';
|
2
|
+
import {Response} from '../lib/response';
|
3
|
+
import {AWSError} from '../lib/error';
|
4
|
+
import {Service} from '../lib/service';
|
5
|
+
import {ServiceConfigurationOptions} from '../lib/service';
|
6
|
+
import {ConfigBase as Config} from '../lib/config-base';
|
7
|
+
interface Blob {}
|
8
|
+
declare class QBusiness extends Service {
|
9
|
+
/**
|
10
|
+
* Constructs a service object. This object has one method for each API operation.
|
11
|
+
*/
|
12
|
+
constructor(options?: QBusiness.Types.ClientConfiguration)
|
13
|
+
config: Config & QBusiness.Types.ClientConfiguration;
|
14
|
+
/**
|
15
|
+
* Asynchronously deletes one or more documents added using the BatchPutDocument API from an Amazon Q index. You can see the progress of the deletion, and any error messages related to the process, by using CloudWatch.
|
16
|
+
*/
|
17
|
+
batchDeleteDocument(params: QBusiness.Types.BatchDeleteDocumentRequest, callback?: (err: AWSError, data: QBusiness.Types.BatchDeleteDocumentResponse) => void): Request<QBusiness.Types.BatchDeleteDocumentResponse, AWSError>;
|
18
|
+
/**
|
19
|
+
* Asynchronously deletes one or more documents added using the BatchPutDocument API from an Amazon Q index. You can see the progress of the deletion, and any error messages related to the process, by using CloudWatch.
|
20
|
+
*/
|
21
|
+
batchDeleteDocument(callback?: (err: AWSError, data: QBusiness.Types.BatchDeleteDocumentResponse) => void): Request<QBusiness.Types.BatchDeleteDocumentResponse, AWSError>;
|
22
|
+
/**
|
23
|
+
* Adds one or more documents to an Amazon Q index. You use this API to: ingest your structured and unstructured documents and documents stored in an Amazon S3 bucket into an Amazon Q index. add custom attributes to documents in an Amazon Q index. attach an access control list to the documents added to an Amazon Q index. You can see the progress of the deletion, and any error messages related to the process, by using CloudWatch.
|
24
|
+
*/
|
25
|
+
batchPutDocument(params: QBusiness.Types.BatchPutDocumentRequest, callback?: (err: AWSError, data: QBusiness.Types.BatchPutDocumentResponse) => void): Request<QBusiness.Types.BatchPutDocumentResponse, AWSError>;
|
26
|
+
/**
|
27
|
+
* Adds one or more documents to an Amazon Q index. You use this API to: ingest your structured and unstructured documents and documents stored in an Amazon S3 bucket into an Amazon Q index. add custom attributes to documents in an Amazon Q index. attach an access control list to the documents added to an Amazon Q index. You can see the progress of the deletion, and any error messages related to the process, by using CloudWatch.
|
28
|
+
*/
|
29
|
+
batchPutDocument(callback?: (err: AWSError, data: QBusiness.Types.BatchPutDocumentResponse) => void): Request<QBusiness.Types.BatchPutDocumentResponse, AWSError>;
|
30
|
+
/**
|
31
|
+
* Starts or continues a non-streaming Amazon Q conversation.
|
32
|
+
*/
|
33
|
+
chatSync(params: QBusiness.Types.ChatSyncInput, callback?: (err: AWSError, data: QBusiness.Types.ChatSyncOutput) => void): Request<QBusiness.Types.ChatSyncOutput, AWSError>;
|
34
|
+
/**
|
35
|
+
* Starts or continues a non-streaming Amazon Q conversation.
|
36
|
+
*/
|
37
|
+
chatSync(callback?: (err: AWSError, data: QBusiness.Types.ChatSyncOutput) => void): Request<QBusiness.Types.ChatSyncOutput, AWSError>;
|
38
|
+
/**
|
39
|
+
* Creates an Amazon Q application.
|
40
|
+
*/
|
41
|
+
createApplication(params: QBusiness.Types.CreateApplicationRequest, callback?: (err: AWSError, data: QBusiness.Types.CreateApplicationResponse) => void): Request<QBusiness.Types.CreateApplicationResponse, AWSError>;
|
42
|
+
/**
|
43
|
+
* Creates an Amazon Q application.
|
44
|
+
*/
|
45
|
+
createApplication(callback?: (err: AWSError, data: QBusiness.Types.CreateApplicationResponse) => void): Request<QBusiness.Types.CreateApplicationResponse, AWSError>;
|
46
|
+
/**
|
47
|
+
* Creates a data source connector for an Amazon Q application. CreateDataSource is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised.
|
48
|
+
*/
|
49
|
+
createDataSource(params: QBusiness.Types.CreateDataSourceRequest, callback?: (err: AWSError, data: QBusiness.Types.CreateDataSourceResponse) => void): Request<QBusiness.Types.CreateDataSourceResponse, AWSError>;
|
50
|
+
/**
|
51
|
+
* Creates a data source connector for an Amazon Q application. CreateDataSource is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised.
|
52
|
+
*/
|
53
|
+
createDataSource(callback?: (err: AWSError, data: QBusiness.Types.CreateDataSourceResponse) => void): Request<QBusiness.Types.CreateDataSourceResponse, AWSError>;
|
54
|
+
/**
|
55
|
+
* Creates an Amazon Q index. To determine if index creation has completed, check the Status field returned from a call to DescribeIndex. The Status field is set to ACTIVE when the index is ready to use. Once the index is active, you can index your documents using the BatchPutDocument API or the CreateDataSource API.
|
56
|
+
*/
|
57
|
+
createIndex(params: QBusiness.Types.CreateIndexRequest, callback?: (err: AWSError, data: QBusiness.Types.CreateIndexResponse) => void): Request<QBusiness.Types.CreateIndexResponse, AWSError>;
|
58
|
+
/**
|
59
|
+
* Creates an Amazon Q index. To determine if index creation has completed, check the Status field returned from a call to DescribeIndex. The Status field is set to ACTIVE when the index is ready to use. Once the index is active, you can index your documents using the BatchPutDocument API or the CreateDataSource API.
|
60
|
+
*/
|
61
|
+
createIndex(callback?: (err: AWSError, data: QBusiness.Types.CreateIndexResponse) => void): Request<QBusiness.Types.CreateIndexResponse, AWSError>;
|
62
|
+
/**
|
63
|
+
* Creates an Amazon Q plugin.
|
64
|
+
*/
|
65
|
+
createPlugin(params: QBusiness.Types.CreatePluginRequest, callback?: (err: AWSError, data: QBusiness.Types.CreatePluginResponse) => void): Request<QBusiness.Types.CreatePluginResponse, AWSError>;
|
66
|
+
/**
|
67
|
+
* Creates an Amazon Q plugin.
|
68
|
+
*/
|
69
|
+
createPlugin(callback?: (err: AWSError, data: QBusiness.Types.CreatePluginResponse) => void): Request<QBusiness.Types.CreatePluginResponse, AWSError>;
|
70
|
+
/**
|
71
|
+
* Adds a retriever to your Amazon Q application.
|
72
|
+
*/
|
73
|
+
createRetriever(params: QBusiness.Types.CreateRetrieverRequest, callback?: (err: AWSError, data: QBusiness.Types.CreateRetrieverResponse) => void): Request<QBusiness.Types.CreateRetrieverResponse, AWSError>;
|
74
|
+
/**
|
75
|
+
* Adds a retriever to your Amazon Q application.
|
76
|
+
*/
|
77
|
+
createRetriever(callback?: (err: AWSError, data: QBusiness.Types.CreateRetrieverResponse) => void): Request<QBusiness.Types.CreateRetrieverResponse, AWSError>;
|
78
|
+
/**
|
79
|
+
* Creates a universally unique identifier (UUID) mapped to a list of local user ids within an application.
|
80
|
+
*/
|
81
|
+
createUser(params: QBusiness.Types.CreateUserRequest, callback?: (err: AWSError, data: QBusiness.Types.CreateUserResponse) => void): Request<QBusiness.Types.CreateUserResponse, AWSError>;
|
82
|
+
/**
|
83
|
+
* Creates a universally unique identifier (UUID) mapped to a list of local user ids within an application.
|
84
|
+
*/
|
85
|
+
createUser(callback?: (err: AWSError, data: QBusiness.Types.CreateUserResponse) => void): Request<QBusiness.Types.CreateUserResponse, AWSError>;
|
86
|
+
/**
|
87
|
+
* Creates an Amazon Q web experience.
|
88
|
+
*/
|
89
|
+
createWebExperience(params: QBusiness.Types.CreateWebExperienceRequest, callback?: (err: AWSError, data: QBusiness.Types.CreateWebExperienceResponse) => void): Request<QBusiness.Types.CreateWebExperienceResponse, AWSError>;
|
90
|
+
/**
|
91
|
+
* Creates an Amazon Q web experience.
|
92
|
+
*/
|
93
|
+
createWebExperience(callback?: (err: AWSError, data: QBusiness.Types.CreateWebExperienceResponse) => void): Request<QBusiness.Types.CreateWebExperienceResponse, AWSError>;
|
94
|
+
/**
|
95
|
+
* Deletes an Amazon Q application.
|
96
|
+
*/
|
97
|
+
deleteApplication(params: QBusiness.Types.DeleteApplicationRequest, callback?: (err: AWSError, data: QBusiness.Types.DeleteApplicationResponse) => void): Request<QBusiness.Types.DeleteApplicationResponse, AWSError>;
|
98
|
+
/**
|
99
|
+
* Deletes an Amazon Q application.
|
100
|
+
*/
|
101
|
+
deleteApplication(callback?: (err: AWSError, data: QBusiness.Types.DeleteApplicationResponse) => void): Request<QBusiness.Types.DeleteApplicationResponse, AWSError>;
|
102
|
+
/**
|
103
|
+
* Deletes chat controls configured for an existing Amazon Q application.
|
104
|
+
*/
|
105
|
+
deleteChatControlsConfiguration(params: QBusiness.Types.DeleteChatControlsConfigurationRequest, callback?: (err: AWSError, data: QBusiness.Types.DeleteChatControlsConfigurationResponse) => void): Request<QBusiness.Types.DeleteChatControlsConfigurationResponse, AWSError>;
|
106
|
+
/**
|
107
|
+
* Deletes chat controls configured for an existing Amazon Q application.
|
108
|
+
*/
|
109
|
+
deleteChatControlsConfiguration(callback?: (err: AWSError, data: QBusiness.Types.DeleteChatControlsConfigurationResponse) => void): Request<QBusiness.Types.DeleteChatControlsConfigurationResponse, AWSError>;
|
110
|
+
/**
|
111
|
+
* Deletes an Amazon Q web experience conversation.
|
112
|
+
*/
|
113
|
+
deleteConversation(params: QBusiness.Types.DeleteConversationRequest, callback?: (err: AWSError, data: QBusiness.Types.DeleteConversationResponse) => void): Request<QBusiness.Types.DeleteConversationResponse, AWSError>;
|
114
|
+
/**
|
115
|
+
* Deletes an Amazon Q web experience conversation.
|
116
|
+
*/
|
117
|
+
deleteConversation(callback?: (err: AWSError, data: QBusiness.Types.DeleteConversationResponse) => void): Request<QBusiness.Types.DeleteConversationResponse, AWSError>;
|
118
|
+
/**
|
119
|
+
* Deletes an Amazon Q data source connector. While the data source is being deleted, the Status field returned by a call to the DescribeDataSource API is set to DELETING.
|
120
|
+
*/
|
121
|
+
deleteDataSource(params: QBusiness.Types.DeleteDataSourceRequest, callback?: (err: AWSError, data: QBusiness.Types.DeleteDataSourceResponse) => void): Request<QBusiness.Types.DeleteDataSourceResponse, AWSError>;
|
122
|
+
/**
|
123
|
+
* Deletes an Amazon Q data source connector. While the data source is being deleted, the Status field returned by a call to the DescribeDataSource API is set to DELETING.
|
124
|
+
*/
|
125
|
+
deleteDataSource(callback?: (err: AWSError, data: QBusiness.Types.DeleteDataSourceResponse) => void): Request<QBusiness.Types.DeleteDataSourceResponse, AWSError>;
|
126
|
+
/**
|
127
|
+
* Deletes a group so that all users and sub groups that belong to the group can no longer access documents only available to that group. For example, after deleting the group "Summer Interns", all interns who belonged to that group no longer see intern-only documents in their chat results. If you want to delete, update, or replace users or sub groups of a group, you need to use the PutGroup operation. For example, if a user in the group "Engineering" leaves the engineering team and another user takes their place, you provide an updated list of users or sub groups that belong to the "Engineering" group when calling PutGroup.
|
128
|
+
*/
|
129
|
+
deleteGroup(params: QBusiness.Types.DeleteGroupRequest, callback?: (err: AWSError, data: QBusiness.Types.DeleteGroupResponse) => void): Request<QBusiness.Types.DeleteGroupResponse, AWSError>;
|
130
|
+
/**
|
131
|
+
* Deletes a group so that all users and sub groups that belong to the group can no longer access documents only available to that group. For example, after deleting the group "Summer Interns", all interns who belonged to that group no longer see intern-only documents in their chat results. If you want to delete, update, or replace users or sub groups of a group, you need to use the PutGroup operation. For example, if a user in the group "Engineering" leaves the engineering team and another user takes their place, you provide an updated list of users or sub groups that belong to the "Engineering" group when calling PutGroup.
|
132
|
+
*/
|
133
|
+
deleteGroup(callback?: (err: AWSError, data: QBusiness.Types.DeleteGroupResponse) => void): Request<QBusiness.Types.DeleteGroupResponse, AWSError>;
|
134
|
+
/**
|
135
|
+
* Deletes an Amazon Q index.
|
136
|
+
*/
|
137
|
+
deleteIndex(params: QBusiness.Types.DeleteIndexRequest, callback?: (err: AWSError, data: QBusiness.Types.DeleteIndexResponse) => void): Request<QBusiness.Types.DeleteIndexResponse, AWSError>;
|
138
|
+
/**
|
139
|
+
* Deletes an Amazon Q index.
|
140
|
+
*/
|
141
|
+
deleteIndex(callback?: (err: AWSError, data: QBusiness.Types.DeleteIndexResponse) => void): Request<QBusiness.Types.DeleteIndexResponse, AWSError>;
|
142
|
+
/**
|
143
|
+
* Deletes an Amazon Q plugin.
|
144
|
+
*/
|
145
|
+
deletePlugin(params: QBusiness.Types.DeletePluginRequest, callback?: (err: AWSError, data: QBusiness.Types.DeletePluginResponse) => void): Request<QBusiness.Types.DeletePluginResponse, AWSError>;
|
146
|
+
/**
|
147
|
+
* Deletes an Amazon Q plugin.
|
148
|
+
*/
|
149
|
+
deletePlugin(callback?: (err: AWSError, data: QBusiness.Types.DeletePluginResponse) => void): Request<QBusiness.Types.DeletePluginResponse, AWSError>;
|
150
|
+
/**
|
151
|
+
* Deletes the retriever used by an Amazon Q application.
|
152
|
+
*/
|
153
|
+
deleteRetriever(params: QBusiness.Types.DeleteRetrieverRequest, callback?: (err: AWSError, data: QBusiness.Types.DeleteRetrieverResponse) => void): Request<QBusiness.Types.DeleteRetrieverResponse, AWSError>;
|
154
|
+
/**
|
155
|
+
* Deletes the retriever used by an Amazon Q application.
|
156
|
+
*/
|
157
|
+
deleteRetriever(callback?: (err: AWSError, data: QBusiness.Types.DeleteRetrieverResponse) => void): Request<QBusiness.Types.DeleteRetrieverResponse, AWSError>;
|
158
|
+
/**
|
159
|
+
* Deletes a user by email id.
|
160
|
+
*/
|
161
|
+
deleteUser(params: QBusiness.Types.DeleteUserRequest, callback?: (err: AWSError, data: QBusiness.Types.DeleteUserResponse) => void): Request<QBusiness.Types.DeleteUserResponse, AWSError>;
|
162
|
+
/**
|
163
|
+
* Deletes a user by email id.
|
164
|
+
*/
|
165
|
+
deleteUser(callback?: (err: AWSError, data: QBusiness.Types.DeleteUserResponse) => void): Request<QBusiness.Types.DeleteUserResponse, AWSError>;
|
166
|
+
/**
|
167
|
+
* Deletes an Amazon Q web experience.
|
168
|
+
*/
|
169
|
+
deleteWebExperience(params: QBusiness.Types.DeleteWebExperienceRequest, callback?: (err: AWSError, data: QBusiness.Types.DeleteWebExperienceResponse) => void): Request<QBusiness.Types.DeleteWebExperienceResponse, AWSError>;
|
170
|
+
/**
|
171
|
+
* Deletes an Amazon Q web experience.
|
172
|
+
*/
|
173
|
+
deleteWebExperience(callback?: (err: AWSError, data: QBusiness.Types.DeleteWebExperienceResponse) => void): Request<QBusiness.Types.DeleteWebExperienceResponse, AWSError>;
|
174
|
+
/**
|
175
|
+
* Gets information about an existing Amazon Q application.
|
176
|
+
*/
|
177
|
+
getApplication(params: QBusiness.Types.GetApplicationRequest, callback?: (err: AWSError, data: QBusiness.Types.GetApplicationResponse) => void): Request<QBusiness.Types.GetApplicationResponse, AWSError>;
|
178
|
+
/**
|
179
|
+
* Gets information about an existing Amazon Q application.
|
180
|
+
*/
|
181
|
+
getApplication(callback?: (err: AWSError, data: QBusiness.Types.GetApplicationResponse) => void): Request<QBusiness.Types.GetApplicationResponse, AWSError>;
|
182
|
+
/**
|
183
|
+
* Gets information about an chat controls configured for an existing Amazon Q application.
|
184
|
+
*/
|
185
|
+
getChatControlsConfiguration(params: QBusiness.Types.GetChatControlsConfigurationRequest, callback?: (err: AWSError, data: QBusiness.Types.GetChatControlsConfigurationResponse) => void): Request<QBusiness.Types.GetChatControlsConfigurationResponse, AWSError>;
|
186
|
+
/**
|
187
|
+
* Gets information about an chat controls configured for an existing Amazon Q application.
|
188
|
+
*/
|
189
|
+
getChatControlsConfiguration(callback?: (err: AWSError, data: QBusiness.Types.GetChatControlsConfigurationResponse) => void): Request<QBusiness.Types.GetChatControlsConfigurationResponse, AWSError>;
|
190
|
+
/**
|
191
|
+
* Gets information about an existing Amazon Q data source connector.
|
192
|
+
*/
|
193
|
+
getDataSource(params: QBusiness.Types.GetDataSourceRequest, callback?: (err: AWSError, data: QBusiness.Types.GetDataSourceResponse) => void): Request<QBusiness.Types.GetDataSourceResponse, AWSError>;
|
194
|
+
/**
|
195
|
+
* Gets information about an existing Amazon Q data source connector.
|
196
|
+
*/
|
197
|
+
getDataSource(callback?: (err: AWSError, data: QBusiness.Types.GetDataSourceResponse) => void): Request<QBusiness.Types.GetDataSourceResponse, AWSError>;
|
198
|
+
/**
|
199
|
+
* Describes a group by group name.
|
200
|
+
*/
|
201
|
+
getGroup(params: QBusiness.Types.GetGroupRequest, callback?: (err: AWSError, data: QBusiness.Types.GetGroupResponse) => void): Request<QBusiness.Types.GetGroupResponse, AWSError>;
|
202
|
+
/**
|
203
|
+
* Describes a group by group name.
|
204
|
+
*/
|
205
|
+
getGroup(callback?: (err: AWSError, data: QBusiness.Types.GetGroupResponse) => void): Request<QBusiness.Types.GetGroupResponse, AWSError>;
|
206
|
+
/**
|
207
|
+
* Gets information about an existing Amazon Q index.
|
208
|
+
*/
|
209
|
+
getIndex(params: QBusiness.Types.GetIndexRequest, callback?: (err: AWSError, data: QBusiness.Types.GetIndexResponse) => void): Request<QBusiness.Types.GetIndexResponse, AWSError>;
|
210
|
+
/**
|
211
|
+
* Gets information about an existing Amazon Q index.
|
212
|
+
*/
|
213
|
+
getIndex(callback?: (err: AWSError, data: QBusiness.Types.GetIndexResponse) => void): Request<QBusiness.Types.GetIndexResponse, AWSError>;
|
214
|
+
/**
|
215
|
+
* Gets information about an existing Amazon Q plugin.
|
216
|
+
*/
|
217
|
+
getPlugin(params: QBusiness.Types.GetPluginRequest, callback?: (err: AWSError, data: QBusiness.Types.GetPluginResponse) => void): Request<QBusiness.Types.GetPluginResponse, AWSError>;
|
218
|
+
/**
|
219
|
+
* Gets information about an existing Amazon Q plugin.
|
220
|
+
*/
|
221
|
+
getPlugin(callback?: (err: AWSError, data: QBusiness.Types.GetPluginResponse) => void): Request<QBusiness.Types.GetPluginResponse, AWSError>;
|
222
|
+
/**
|
223
|
+
* Gets information about an existing retriever used by an Amazon Q application.
|
224
|
+
*/
|
225
|
+
getRetriever(params: QBusiness.Types.GetRetrieverRequest, callback?: (err: AWSError, data: QBusiness.Types.GetRetrieverResponse) => void): Request<QBusiness.Types.GetRetrieverResponse, AWSError>;
|
226
|
+
/**
|
227
|
+
* Gets information about an existing retriever used by an Amazon Q application.
|
228
|
+
*/
|
229
|
+
getRetriever(callback?: (err: AWSError, data: QBusiness.Types.GetRetrieverResponse) => void): Request<QBusiness.Types.GetRetrieverResponse, AWSError>;
|
230
|
+
/**
|
231
|
+
* Describes the universally unique identifier (UUID) associated with a local user in a data source.
|
232
|
+
*/
|
233
|
+
getUser(params: QBusiness.Types.GetUserRequest, callback?: (err: AWSError, data: QBusiness.Types.GetUserResponse) => void): Request<QBusiness.Types.GetUserResponse, AWSError>;
|
234
|
+
/**
|
235
|
+
* Describes the universally unique identifier (UUID) associated with a local user in a data source.
|
236
|
+
*/
|
237
|
+
getUser(callback?: (err: AWSError, data: QBusiness.Types.GetUserResponse) => void): Request<QBusiness.Types.GetUserResponse, AWSError>;
|
238
|
+
/**
|
239
|
+
* Gets information about an existing Amazon Q web experience.
|
240
|
+
*/
|
241
|
+
getWebExperience(params: QBusiness.Types.GetWebExperienceRequest, callback?: (err: AWSError, data: QBusiness.Types.GetWebExperienceResponse) => void): Request<QBusiness.Types.GetWebExperienceResponse, AWSError>;
|
242
|
+
/**
|
243
|
+
* Gets information about an existing Amazon Q web experience.
|
244
|
+
*/
|
245
|
+
getWebExperience(callback?: (err: AWSError, data: QBusiness.Types.GetWebExperienceResponse) => void): Request<QBusiness.Types.GetWebExperienceResponse, AWSError>;
|
246
|
+
/**
|
247
|
+
* Lists Amazon Q applications.
|
248
|
+
*/
|
249
|
+
listApplications(params: QBusiness.Types.ListApplicationsRequest, callback?: (err: AWSError, data: QBusiness.Types.ListApplicationsResponse) => void): Request<QBusiness.Types.ListApplicationsResponse, AWSError>;
|
250
|
+
/**
|
251
|
+
* Lists Amazon Q applications.
|
252
|
+
*/
|
253
|
+
listApplications(callback?: (err: AWSError, data: QBusiness.Types.ListApplicationsResponse) => void): Request<QBusiness.Types.ListApplicationsResponse, AWSError>;
|
254
|
+
/**
|
255
|
+
* Lists one or more Amazon Q conversations.
|
256
|
+
*/
|
257
|
+
listConversations(params: QBusiness.Types.ListConversationsRequest, callback?: (err: AWSError, data: QBusiness.Types.ListConversationsResponse) => void): Request<QBusiness.Types.ListConversationsResponse, AWSError>;
|
258
|
+
/**
|
259
|
+
* Lists one or more Amazon Q conversations.
|
260
|
+
*/
|
261
|
+
listConversations(callback?: (err: AWSError, data: QBusiness.Types.ListConversationsResponse) => void): Request<QBusiness.Types.ListConversationsResponse, AWSError>;
|
262
|
+
/**
|
263
|
+
* Get information about an Amazon Q data source connector synchronization.
|
264
|
+
*/
|
265
|
+
listDataSourceSyncJobs(params: QBusiness.Types.ListDataSourceSyncJobsRequest, callback?: (err: AWSError, data: QBusiness.Types.ListDataSourceSyncJobsResponse) => void): Request<QBusiness.Types.ListDataSourceSyncJobsResponse, AWSError>;
|
266
|
+
/**
|
267
|
+
* Get information about an Amazon Q data source connector synchronization.
|
268
|
+
*/
|
269
|
+
listDataSourceSyncJobs(callback?: (err: AWSError, data: QBusiness.Types.ListDataSourceSyncJobsResponse) => void): Request<QBusiness.Types.ListDataSourceSyncJobsResponse, AWSError>;
|
270
|
+
/**
|
271
|
+
* Lists the Amazon Q data source connectors that you have created.
|
272
|
+
*/
|
273
|
+
listDataSources(params: QBusiness.Types.ListDataSourcesRequest, callback?: (err: AWSError, data: QBusiness.Types.ListDataSourcesResponse) => void): Request<QBusiness.Types.ListDataSourcesResponse, AWSError>;
|
274
|
+
/**
|
275
|
+
* Lists the Amazon Q data source connectors that you have created.
|
276
|
+
*/
|
277
|
+
listDataSources(callback?: (err: AWSError, data: QBusiness.Types.ListDataSourcesResponse) => void): Request<QBusiness.Types.ListDataSourcesResponse, AWSError>;
|
278
|
+
/**
|
279
|
+
* A list of documents attached to an index.
|
280
|
+
*/
|
281
|
+
listDocuments(params: QBusiness.Types.ListDocumentsRequest, callback?: (err: AWSError, data: QBusiness.Types.ListDocumentsResponse) => void): Request<QBusiness.Types.ListDocumentsResponse, AWSError>;
|
282
|
+
/**
|
283
|
+
* A list of documents attached to an index.
|
284
|
+
*/
|
285
|
+
listDocuments(callback?: (err: AWSError, data: QBusiness.Types.ListDocumentsResponse) => void): Request<QBusiness.Types.ListDocumentsResponse, AWSError>;
|
286
|
+
/**
|
287
|
+
* Provides a list of groups that are mapped to users.
|
288
|
+
*/
|
289
|
+
listGroups(params: QBusiness.Types.ListGroupsRequest, callback?: (err: AWSError, data: QBusiness.Types.ListGroupsResponse) => void): Request<QBusiness.Types.ListGroupsResponse, AWSError>;
|
290
|
+
/**
|
291
|
+
* Provides a list of groups that are mapped to users.
|
292
|
+
*/
|
293
|
+
listGroups(callback?: (err: AWSError, data: QBusiness.Types.ListGroupsResponse) => void): Request<QBusiness.Types.ListGroupsResponse, AWSError>;
|
294
|
+
/**
|
295
|
+
* Lists the Amazon Q indices you have created.
|
296
|
+
*/
|
297
|
+
listIndices(params: QBusiness.Types.ListIndicesRequest, callback?: (err: AWSError, data: QBusiness.Types.ListIndicesResponse) => void): Request<QBusiness.Types.ListIndicesResponse, AWSError>;
|
298
|
+
/**
|
299
|
+
* Lists the Amazon Q indices you have created.
|
300
|
+
*/
|
301
|
+
listIndices(callback?: (err: AWSError, data: QBusiness.Types.ListIndicesResponse) => void): Request<QBusiness.Types.ListIndicesResponse, AWSError>;
|
302
|
+
/**
|
303
|
+
* Gets a list of messages associated with an Amazon Q web experience.
|
304
|
+
*/
|
305
|
+
listMessages(params: QBusiness.Types.ListMessagesRequest, callback?: (err: AWSError, data: QBusiness.Types.ListMessagesResponse) => void): Request<QBusiness.Types.ListMessagesResponse, AWSError>;
|
306
|
+
/**
|
307
|
+
* Gets a list of messages associated with an Amazon Q web experience.
|
308
|
+
*/
|
309
|
+
listMessages(callback?: (err: AWSError, data: QBusiness.Types.ListMessagesResponse) => void): Request<QBusiness.Types.ListMessagesResponse, AWSError>;
|
310
|
+
/**
|
311
|
+
* Lists configured Amazon Q plugins.
|
312
|
+
*/
|
313
|
+
listPlugins(params: QBusiness.Types.ListPluginsRequest, callback?: (err: AWSError, data: QBusiness.Types.ListPluginsResponse) => void): Request<QBusiness.Types.ListPluginsResponse, AWSError>;
|
314
|
+
/**
|
315
|
+
* Lists configured Amazon Q plugins.
|
316
|
+
*/
|
317
|
+
listPlugins(callback?: (err: AWSError, data: QBusiness.Types.ListPluginsResponse) => void): Request<QBusiness.Types.ListPluginsResponse, AWSError>;
|
318
|
+
/**
|
319
|
+
* Lists the retriever used by an Amazon Q application.
|
320
|
+
*/
|
321
|
+
listRetrievers(params: QBusiness.Types.ListRetrieversRequest, callback?: (err: AWSError, data: QBusiness.Types.ListRetrieversResponse) => void): Request<QBusiness.Types.ListRetrieversResponse, AWSError>;
|
322
|
+
/**
|
323
|
+
* Lists the retriever used by an Amazon Q application.
|
324
|
+
*/
|
325
|
+
listRetrievers(callback?: (err: AWSError, data: QBusiness.Types.ListRetrieversResponse) => void): Request<QBusiness.Types.ListRetrieversResponse, AWSError>;
|
326
|
+
/**
|
327
|
+
* Gets a list of tags associated with a specified resource. Amazon Q applications and data sources can have tags associated with them.
|
328
|
+
*/
|
329
|
+
listTagsForResource(params: QBusiness.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: QBusiness.Types.ListTagsForResourceResponse) => void): Request<QBusiness.Types.ListTagsForResourceResponse, AWSError>;
|
330
|
+
/**
|
331
|
+
* Gets a list of tags associated with a specified resource. Amazon Q applications and data sources can have tags associated with them.
|
332
|
+
*/
|
333
|
+
listTagsForResource(callback?: (err: AWSError, data: QBusiness.Types.ListTagsForResourceResponse) => void): Request<QBusiness.Types.ListTagsForResourceResponse, AWSError>;
|
334
|
+
/**
|
335
|
+
* Lists one or more Amazon Q Web Experiences.
|
336
|
+
*/
|
337
|
+
listWebExperiences(params: QBusiness.Types.ListWebExperiencesRequest, callback?: (err: AWSError, data: QBusiness.Types.ListWebExperiencesResponse) => void): Request<QBusiness.Types.ListWebExperiencesResponse, AWSError>;
|
338
|
+
/**
|
339
|
+
* Lists one or more Amazon Q Web Experiences.
|
340
|
+
*/
|
341
|
+
listWebExperiences(callback?: (err: AWSError, data: QBusiness.Types.ListWebExperiencesResponse) => void): Request<QBusiness.Types.ListWebExperiencesResponse, AWSError>;
|
342
|
+
/**
|
343
|
+
* Enables your end user to to provide feedback on their Amazon Q generated chat responses.
|
344
|
+
*/
|
345
|
+
putFeedback(params: QBusiness.Types.PutFeedbackRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
346
|
+
/**
|
347
|
+
* Enables your end user to to provide feedback on their Amazon Q generated chat responses.
|
348
|
+
*/
|
349
|
+
putFeedback(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
350
|
+
/**
|
351
|
+
* Create, or updates, a mapping of users—who have access to a document—to groups. You can also map sub groups to groups. For example, the group "Company Intellectual Property Teams" includes sub groups "Research" and "Engineering". These sub groups include their own list of users or people who work in these teams. Only users who work in research and engineering, and therefore belong in the intellectual property group, can see top-secret company documents in their Amazon Q chat results.
|
352
|
+
*/
|
353
|
+
putGroup(params: QBusiness.Types.PutGroupRequest, callback?: (err: AWSError, data: QBusiness.Types.PutGroupResponse) => void): Request<QBusiness.Types.PutGroupResponse, AWSError>;
|
354
|
+
/**
|
355
|
+
* Create, or updates, a mapping of users—who have access to a document—to groups. You can also map sub groups to groups. For example, the group "Company Intellectual Property Teams" includes sub groups "Research" and "Engineering". These sub groups include their own list of users or people who work in these teams. Only users who work in research and engineering, and therefore belong in the intellectual property group, can see top-secret company documents in their Amazon Q chat results.
|
356
|
+
*/
|
357
|
+
putGroup(callback?: (err: AWSError, data: QBusiness.Types.PutGroupResponse) => void): Request<QBusiness.Types.PutGroupResponse, AWSError>;
|
358
|
+
/**
|
359
|
+
* Starts a data source connector synchronization job. If a synchronization job is already in progress, Amazon Q returns a ConflictException.
|
360
|
+
*/
|
361
|
+
startDataSourceSyncJob(params: QBusiness.Types.StartDataSourceSyncJobRequest, callback?: (err: AWSError, data: QBusiness.Types.StartDataSourceSyncJobResponse) => void): Request<QBusiness.Types.StartDataSourceSyncJobResponse, AWSError>;
|
362
|
+
/**
|
363
|
+
* Starts a data source connector synchronization job. If a synchronization job is already in progress, Amazon Q returns a ConflictException.
|
364
|
+
*/
|
365
|
+
startDataSourceSyncJob(callback?: (err: AWSError, data: QBusiness.Types.StartDataSourceSyncJobResponse) => void): Request<QBusiness.Types.StartDataSourceSyncJobResponse, AWSError>;
|
366
|
+
/**
|
367
|
+
* Stops an Amazon Q data source connector synchronization job already in progress.
|
368
|
+
*/
|
369
|
+
stopDataSourceSyncJob(params: QBusiness.Types.StopDataSourceSyncJobRequest, callback?: (err: AWSError, data: QBusiness.Types.StopDataSourceSyncJobResponse) => void): Request<QBusiness.Types.StopDataSourceSyncJobResponse, AWSError>;
|
370
|
+
/**
|
371
|
+
* Stops an Amazon Q data source connector synchronization job already in progress.
|
372
|
+
*/
|
373
|
+
stopDataSourceSyncJob(callback?: (err: AWSError, data: QBusiness.Types.StopDataSourceSyncJobResponse) => void): Request<QBusiness.Types.StopDataSourceSyncJobResponse, AWSError>;
|
374
|
+
/**
|
375
|
+
* Adds the specified tag to the specified Amazon Q application or data source resource. If the tag already exists, the existing value is replaced with the new value.
|
376
|
+
*/
|
377
|
+
tagResource(params: QBusiness.Types.TagResourceRequest, callback?: (err: AWSError, data: QBusiness.Types.TagResourceResponse) => void): Request<QBusiness.Types.TagResourceResponse, AWSError>;
|
378
|
+
/**
|
379
|
+
* Adds the specified tag to the specified Amazon Q application or data source resource. If the tag already exists, the existing value is replaced with the new value.
|
380
|
+
*/
|
381
|
+
tagResource(callback?: (err: AWSError, data: QBusiness.Types.TagResourceResponse) => void): Request<QBusiness.Types.TagResourceResponse, AWSError>;
|
382
|
+
/**
|
383
|
+
* Removes a tag from an Amazon Q application or a data source.
|
384
|
+
*/
|
385
|
+
untagResource(params: QBusiness.Types.UntagResourceRequest, callback?: (err: AWSError, data: QBusiness.Types.UntagResourceResponse) => void): Request<QBusiness.Types.UntagResourceResponse, AWSError>;
|
386
|
+
/**
|
387
|
+
* Removes a tag from an Amazon Q application or a data source.
|
388
|
+
*/
|
389
|
+
untagResource(callback?: (err: AWSError, data: QBusiness.Types.UntagResourceResponse) => void): Request<QBusiness.Types.UntagResourceResponse, AWSError>;
|
390
|
+
/**
|
391
|
+
* Updates an existing Amazon Q application.
|
392
|
+
*/
|
393
|
+
updateApplication(params: QBusiness.Types.UpdateApplicationRequest, callback?: (err: AWSError, data: QBusiness.Types.UpdateApplicationResponse) => void): Request<QBusiness.Types.UpdateApplicationResponse, AWSError>;
|
394
|
+
/**
|
395
|
+
* Updates an existing Amazon Q application.
|
396
|
+
*/
|
397
|
+
updateApplication(callback?: (err: AWSError, data: QBusiness.Types.UpdateApplicationResponse) => void): Request<QBusiness.Types.UpdateApplicationResponse, AWSError>;
|
398
|
+
/**
|
399
|
+
* Updates an set of chat controls configured for an existing Amazon Q application.
|
400
|
+
*/
|
401
|
+
updateChatControlsConfiguration(params: QBusiness.Types.UpdateChatControlsConfigurationRequest, callback?: (err: AWSError, data: QBusiness.Types.UpdateChatControlsConfigurationResponse) => void): Request<QBusiness.Types.UpdateChatControlsConfigurationResponse, AWSError>;
|
402
|
+
/**
|
403
|
+
* Updates an set of chat controls configured for an existing Amazon Q application.
|
404
|
+
*/
|
405
|
+
updateChatControlsConfiguration(callback?: (err: AWSError, data: QBusiness.Types.UpdateChatControlsConfigurationResponse) => void): Request<QBusiness.Types.UpdateChatControlsConfigurationResponse, AWSError>;
|
406
|
+
/**
|
407
|
+
* Updates an existing Amazon Q data source connector.
|
408
|
+
*/
|
409
|
+
updateDataSource(params: QBusiness.Types.UpdateDataSourceRequest, callback?: (err: AWSError, data: QBusiness.Types.UpdateDataSourceResponse) => void): Request<QBusiness.Types.UpdateDataSourceResponse, AWSError>;
|
410
|
+
/**
|
411
|
+
* Updates an existing Amazon Q data source connector.
|
412
|
+
*/
|
413
|
+
updateDataSource(callback?: (err: AWSError, data: QBusiness.Types.UpdateDataSourceResponse) => void): Request<QBusiness.Types.UpdateDataSourceResponse, AWSError>;
|
414
|
+
/**
|
415
|
+
* Updates an Amazon Q index.
|
416
|
+
*/
|
417
|
+
updateIndex(params: QBusiness.Types.UpdateIndexRequest, callback?: (err: AWSError, data: QBusiness.Types.UpdateIndexResponse) => void): Request<QBusiness.Types.UpdateIndexResponse, AWSError>;
|
418
|
+
/**
|
419
|
+
* Updates an Amazon Q index.
|
420
|
+
*/
|
421
|
+
updateIndex(callback?: (err: AWSError, data: QBusiness.Types.UpdateIndexResponse) => void): Request<QBusiness.Types.UpdateIndexResponse, AWSError>;
|
422
|
+
/**
|
423
|
+
* Updates an Amazon Q plugin.
|
424
|
+
*/
|
425
|
+
updatePlugin(params: QBusiness.Types.UpdatePluginRequest, callback?: (err: AWSError, data: QBusiness.Types.UpdatePluginResponse) => void): Request<QBusiness.Types.UpdatePluginResponse, AWSError>;
|
426
|
+
/**
|
427
|
+
* Updates an Amazon Q plugin.
|
428
|
+
*/
|
429
|
+
updatePlugin(callback?: (err: AWSError, data: QBusiness.Types.UpdatePluginResponse) => void): Request<QBusiness.Types.UpdatePluginResponse, AWSError>;
|
430
|
+
/**
|
431
|
+
* Updates the retriever used for your Amazon Q application.
|
432
|
+
*/
|
433
|
+
updateRetriever(params: QBusiness.Types.UpdateRetrieverRequest, callback?: (err: AWSError, data: QBusiness.Types.UpdateRetrieverResponse) => void): Request<QBusiness.Types.UpdateRetrieverResponse, AWSError>;
|
434
|
+
/**
|
435
|
+
* Updates the retriever used for your Amazon Q application.
|
436
|
+
*/
|
437
|
+
updateRetriever(callback?: (err: AWSError, data: QBusiness.Types.UpdateRetrieverResponse) => void): Request<QBusiness.Types.UpdateRetrieverResponse, AWSError>;
|
438
|
+
/**
|
439
|
+
* Updates a information associated with a user id.
|
440
|
+
*/
|
441
|
+
updateUser(params: QBusiness.Types.UpdateUserRequest, callback?: (err: AWSError, data: QBusiness.Types.UpdateUserResponse) => void): Request<QBusiness.Types.UpdateUserResponse, AWSError>;
|
442
|
+
/**
|
443
|
+
* Updates a information associated with a user id.
|
444
|
+
*/
|
445
|
+
updateUser(callback?: (err: AWSError, data: QBusiness.Types.UpdateUserResponse) => void): Request<QBusiness.Types.UpdateUserResponse, AWSError>;
|
446
|
+
/**
|
447
|
+
* Updates an Amazon Q web experience.
|
448
|
+
*/
|
449
|
+
updateWebExperience(params: QBusiness.Types.UpdateWebExperienceRequest, callback?: (err: AWSError, data: QBusiness.Types.UpdateWebExperienceResponse) => void): Request<QBusiness.Types.UpdateWebExperienceResponse, AWSError>;
|
450
|
+
/**
|
451
|
+
* Updates an Amazon Q web experience.
|
452
|
+
*/
|
453
|
+
updateWebExperience(callback?: (err: AWSError, data: QBusiness.Types.UpdateWebExperienceResponse) => void): Request<QBusiness.Types.UpdateWebExperienceResponse, AWSError>;
|
454
|
+
}
|
455
|
+
declare namespace QBusiness {
|
456
|
+
export interface AccessConfiguration {
|
457
|
+
/**
|
458
|
+
* A list of AccessControlList objects.
|
459
|
+
*/
|
460
|
+
accessControls: AccessControls;
|
461
|
+
/**
|
462
|
+
* Describes the member relation within the AccessControlList object.
|
463
|
+
*/
|
464
|
+
memberRelation?: MemberRelation;
|
465
|
+
}
|
466
|
+
export interface AccessControl {
|
467
|
+
/**
|
468
|
+
* Describes the member relation within a principal list.
|
469
|
+
*/
|
470
|
+
memberRelation?: MemberRelation;
|
471
|
+
/**
|
472
|
+
* Contains a list of principals, where a principal can be either a USER or a GROUP. Each principal can be have the following type of document access: ALLOW or DENY.
|
473
|
+
*/
|
474
|
+
principals: Principals;
|
475
|
+
}
|
476
|
+
export type AccessControls = AccessControl[];
|
477
|
+
export interface ActionExecution {
|
478
|
+
/**
|
479
|
+
* A mapping of field names to the field values in input that an end user provides to Amazon Q requests to perform their plugin action.
|
480
|
+
*/
|
481
|
+
payload: ActionExecutionPayload;
|
482
|
+
/**
|
483
|
+
* A string used to retain information about the hierarchical contexts within an action execution event payload.
|
484
|
+
*/
|
485
|
+
payloadFieldNameSeparator: ActionPayloadFieldNameSeparator;
|
486
|
+
/**
|
487
|
+
* The identifier of the plugin the action is attached to.
|
488
|
+
*/
|
489
|
+
pluginId: PluginId;
|
490
|
+
}
|
491
|
+
export type ActionExecutionPayload = {[key: string]: ActionExecutionPayloadField};
|
492
|
+
export interface ActionExecutionPayloadField {
|
493
|
+
/**
|
494
|
+
* The content of a user input field in an plugin action execution payload.
|
495
|
+
*/
|
496
|
+
value: ActionPayloadFieldValue;
|
497
|
+
}
|
498
|
+
export type ActionPayloadFieldKey = string;
|
499
|
+
export type ActionPayloadFieldNameSeparator = string;
|
500
|
+
export type ActionPayloadFieldType = "STRING"|"NUMBER"|"ARRAY"|"BOOLEAN"|string;
|
501
|
+
export interface ActionPayloadFieldValue {
|
502
|
+
}
|
503
|
+
export interface ActionReview {
|
504
|
+
/**
|
505
|
+
* Field values that an end user needs to provide to Amazon Q for Amazon Q to perform the requested plugin action.
|
506
|
+
*/
|
507
|
+
payload?: ActionReviewPayload;
|
508
|
+
/**
|
509
|
+
* A string used to retain information about the hierarchical contexts within an action review payload.
|
510
|
+
*/
|
511
|
+
payloadFieldNameSeparator?: ActionPayloadFieldNameSeparator;
|
512
|
+
/**
|
513
|
+
* The identifier of the plugin associated with the action review.
|
514
|
+
*/
|
515
|
+
pluginId?: PluginId;
|
516
|
+
/**
|
517
|
+
* The type of plugin.
|
518
|
+
*/
|
519
|
+
pluginType?: PluginType;
|
520
|
+
}
|
521
|
+
export type ActionReviewPayload = {[key: string]: ActionReviewPayloadField};
|
522
|
+
export interface ActionReviewPayloadField {
|
523
|
+
/**
|
524
|
+
* Information about the field values that an end user can use to provide to Amazon Q for Amazon Q to perform the requested plugin action.
|
525
|
+
*/
|
526
|
+
allowedValues?: ActionReviewPayloadFieldAllowedValues;
|
527
|
+
/**
|
528
|
+
* The name of the field.
|
529
|
+
*/
|
530
|
+
displayName?: String;
|
531
|
+
/**
|
532
|
+
* The display order of fields in a payload.
|
533
|
+
*/
|
534
|
+
displayOrder?: Integer;
|
535
|
+
/**
|
536
|
+
* Information about whether the field is required.
|
537
|
+
*/
|
538
|
+
required?: Boolean;
|
539
|
+
/**
|
540
|
+
* The type of field.
|
541
|
+
*/
|
542
|
+
type?: ActionPayloadFieldType;
|
543
|
+
/**
|
544
|
+
* The field value.
|
545
|
+
*/
|
546
|
+
value?: ActionPayloadFieldValue;
|
547
|
+
}
|
548
|
+
export interface ActionReviewPayloadFieldAllowedValue {
|
549
|
+
/**
|
550
|
+
* The name of the field.
|
551
|
+
*/
|
552
|
+
displayValue?: ActionPayloadFieldValue;
|
553
|
+
/**
|
554
|
+
* The field value.
|
555
|
+
*/
|
556
|
+
value?: ActionPayloadFieldValue;
|
557
|
+
}
|
558
|
+
export type ActionReviewPayloadFieldAllowedValues = ActionReviewPayloadFieldAllowedValue[];
|
559
|
+
export type AmazonResourceName = string;
|
560
|
+
export interface Application {
|
561
|
+
/**
|
562
|
+
* The identifier for the Amazon Q application.
|
563
|
+
*/
|
564
|
+
applicationId?: ApplicationId;
|
565
|
+
/**
|
566
|
+
* The Unix timestamp when the Amazon Q application was created.
|
567
|
+
*/
|
568
|
+
createdAt?: Timestamp;
|
569
|
+
/**
|
570
|
+
* The name of the Amazon Q application.
|
571
|
+
*/
|
572
|
+
displayName?: ApplicationName;
|
573
|
+
/**
|
574
|
+
* The status of the Amazon Q application. The application is ready to use when the status is ACTIVE.
|
575
|
+
*/
|
576
|
+
status?: ApplicationStatus;
|
577
|
+
/**
|
578
|
+
* The Unix timestamp when the Amazon Q application was last updated.
|
579
|
+
*/
|
580
|
+
updatedAt?: Timestamp;
|
581
|
+
}
|
582
|
+
export type ApplicationArn = string;
|
583
|
+
export type ApplicationId = string;
|
584
|
+
export type ApplicationName = string;
|
585
|
+
export type ApplicationStatus = "CREATING"|"ACTIVE"|"DELETING"|"FAILED"|"UPDATING"|string;
|
586
|
+
export type Applications = Application[];
|
587
|
+
export interface AppliedAttachmentsConfiguration {
|
588
|
+
/**
|
589
|
+
* Information about whether file upload during chat functionality is activated for your application.
|
590
|
+
*/
|
591
|
+
attachmentsControlMode?: AttachmentsControlMode;
|
592
|
+
}
|
593
|
+
export interface AttachmentInput {
|
594
|
+
/**
|
595
|
+
* The data contained within the uploaded file.
|
596
|
+
*/
|
597
|
+
data: _Blob;
|
598
|
+
/**
|
599
|
+
* The name of the file.
|
600
|
+
*/
|
601
|
+
name: AttachmentName;
|
602
|
+
}
|
603
|
+
export type AttachmentName = string;
|
604
|
+
export interface AttachmentOutput {
|
605
|
+
/**
|
606
|
+
* An error associated with a file uploaded during chat.
|
607
|
+
*/
|
608
|
+
error?: ErrorDetail;
|
609
|
+
/**
|
610
|
+
* The name of a file uploaded during chat.
|
611
|
+
*/
|
612
|
+
name?: AttachmentName;
|
613
|
+
/**
|
614
|
+
* The status of a file uploaded during chat.
|
615
|
+
*/
|
616
|
+
status?: AttachmentStatus;
|
617
|
+
}
|
618
|
+
export type AttachmentStatus = "FAILED"|"SUCCEEDED"|string;
|
619
|
+
export interface AttachmentsConfiguration {
|
620
|
+
/**
|
621
|
+
* Status information about whether file upload functionality is activated or deactivated for your end user.
|
622
|
+
*/
|
623
|
+
attachmentsControlMode: AttachmentsControlMode;
|
624
|
+
}
|
625
|
+
export type AttachmentsControlMode = "ENABLED"|"DISABLED"|string;
|
626
|
+
export type AttachmentsInput = AttachmentInput[];
|
627
|
+
export type AttachmentsOutput = AttachmentOutput[];
|
628
|
+
export interface AttributeFilter {
|
629
|
+
/**
|
630
|
+
* Performs a logical AND operation on all supplied filters.
|
631
|
+
*/
|
632
|
+
andAllFilters?: AttributeFilters;
|
633
|
+
/**
|
634
|
+
* Returns true when a document contains all the specified document attributes or metadata fields.
|
635
|
+
*/
|
636
|
+
containsAll?: DocumentAttribute;
|
637
|
+
/**
|
638
|
+
* Returns true when a document contains any of the specified document attributes or metadata fields.
|
639
|
+
*/
|
640
|
+
containsAny?: DocumentAttribute;
|
641
|
+
/**
|
642
|
+
* Performs an equals operation on two document attributes or metadata fields.
|
643
|
+
*/
|
644
|
+
equalsTo?: DocumentAttribute;
|
645
|
+
/**
|
646
|
+
* Performs a greater than operation on two document attributes or metadata fields. Use with a document attribute of type Date or Long.
|
647
|
+
*/
|
648
|
+
greaterThan?: DocumentAttribute;
|
649
|
+
/**
|
650
|
+
* Performs a greater or equals than operation on two document attributes or metadata fields. Use with a document attribute of type Date or Long.
|
651
|
+
*/
|
652
|
+
greaterThanOrEquals?: DocumentAttribute;
|
653
|
+
/**
|
654
|
+
* Performs a less than operation on two document attributes or metadata fields. Use with a document attribute of type Date or Long.
|
655
|
+
*/
|
656
|
+
lessThan?: DocumentAttribute;
|
657
|
+
/**
|
658
|
+
* Performs a less than or equals operation on two document attributes or metadata fields. Use with a document attribute of type Date or Long.
|
659
|
+
*/
|
660
|
+
lessThanOrEquals?: DocumentAttribute;
|
661
|
+
/**
|
662
|
+
* Performs a logical NOT operation on all supplied filters.
|
663
|
+
*/
|
664
|
+
notFilter?: AttributeFilter;
|
665
|
+
/**
|
666
|
+
* Performs a logical OR operation on all supplied filters.
|
667
|
+
*/
|
668
|
+
orAllFilters?: AttributeFilters;
|
669
|
+
}
|
670
|
+
export type AttributeFilters = AttributeFilter[];
|
671
|
+
export type AttributeType = "STRING"|"STRING_LIST"|"NUMBER"|"DATE"|string;
|
672
|
+
export type AttributeValueOperator = "DELETE"|string;
|
673
|
+
export interface BasicAuthConfiguration {
|
674
|
+
/**
|
675
|
+
* The ARN of an IAM role used by Amazon Q to access the basic authentication credentials stored in a Secrets Manager secret.
|
676
|
+
*/
|
677
|
+
roleArn: RoleArn;
|
678
|
+
/**
|
679
|
+
* The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin configuration..
|
680
|
+
*/
|
681
|
+
secretArn: SecretArn;
|
682
|
+
}
|
683
|
+
export interface BatchDeleteDocumentRequest {
|
684
|
+
/**
|
685
|
+
* The identifier of the Amazon Q application.
|
686
|
+
*/
|
687
|
+
applicationId: ApplicationId;
|
688
|
+
/**
|
689
|
+
* The identifier of the data source sync during which the documents were deleted.
|
690
|
+
*/
|
691
|
+
dataSourceSyncId?: ExecutionId;
|
692
|
+
/**
|
693
|
+
* Documents deleted from the Amazon Q index.
|
694
|
+
*/
|
695
|
+
documents: DeleteDocuments;
|
696
|
+
/**
|
697
|
+
* The identifier of the Amazon Q index that contains the documents to delete.
|
698
|
+
*/
|
699
|
+
indexId: IndexId;
|
700
|
+
}
|
701
|
+
export interface BatchDeleteDocumentResponse {
|
702
|
+
/**
|
703
|
+
* A list of documents that couldn't be removed from the Amazon Q index. Each entry contains an error message that indicates why the document couldn't be removed from the index.
|
704
|
+
*/
|
705
|
+
failedDocuments?: FailedDocuments;
|
706
|
+
}
|
707
|
+
export interface BatchPutDocumentRequest {
|
708
|
+
/**
|
709
|
+
* The identifier of the Amazon Q application.
|
710
|
+
*/
|
711
|
+
applicationId: ApplicationId;
|
712
|
+
/**
|
713
|
+
* The identifier of the data source sync during which the documents were added.
|
714
|
+
*/
|
715
|
+
dataSourceSyncId?: ExecutionId;
|
716
|
+
/**
|
717
|
+
* One or more documents to add to the index.
|
718
|
+
*/
|
719
|
+
documents: Documents;
|
720
|
+
/**
|
721
|
+
* The identifier of the Amazon Q index to add the documents to.
|
722
|
+
*/
|
723
|
+
indexId: IndexId;
|
724
|
+
/**
|
725
|
+
* The Amazon Resource Name (ARN) of an IAM role with permission to access your S3 bucket.
|
726
|
+
*/
|
727
|
+
roleArn?: RoleArn;
|
728
|
+
}
|
729
|
+
export interface BatchPutDocumentResponse {
|
730
|
+
/**
|
731
|
+
* A list of documents that were not added to the Amazon Q index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to the index.
|
732
|
+
*/
|
733
|
+
failedDocuments?: FailedDocuments;
|
734
|
+
}
|
735
|
+
export type _Blob = Buffer|Uint8Array|Blob|string;
|
736
|
+
export type BlockedPhrase = string;
|
737
|
+
export type BlockedPhrases = BlockedPhrase[];
|
738
|
+
export interface BlockedPhrasesConfiguration {
|
739
|
+
/**
|
740
|
+
* A list of phrases blocked from a Amazon Q web experience chat.
|
741
|
+
*/
|
742
|
+
blockedPhrases?: BlockedPhrases;
|
743
|
+
/**
|
744
|
+
* The configured custom message displayed to an end user informing them that they've used a blocked phrase during chat.
|
745
|
+
*/
|
746
|
+
systemMessageOverride?: SystemMessageOverride;
|
747
|
+
}
|
748
|
+
export interface BlockedPhrasesConfigurationUpdate {
|
749
|
+
/**
|
750
|
+
* Creates or updates a blocked phrases configuration in your Amazon Q application.
|
751
|
+
*/
|
752
|
+
blockedPhrasesToCreateOrUpdate?: BlockedPhrases;
|
753
|
+
/**
|
754
|
+
* Deletes a blocked phrases configuration in your Amazon Q application.
|
755
|
+
*/
|
756
|
+
blockedPhrasesToDelete?: BlockedPhrases;
|
757
|
+
/**
|
758
|
+
* The configured custom message displayed to your end user when they use blocked phrase during chat.
|
759
|
+
*/
|
760
|
+
systemMessageOverride?: SystemMessageOverride;
|
761
|
+
}
|
762
|
+
export type Boolean = boolean;
|
763
|
+
export interface ChatSyncInput {
|
764
|
+
/**
|
765
|
+
* A request from an end user to perform an Amazon Q plugin action.
|
766
|
+
*/
|
767
|
+
actionExecution?: ActionExecution;
|
768
|
+
/**
|
769
|
+
* The identifier of the Amazon Q application linked to the Amazon Q conversation.
|
770
|
+
*/
|
771
|
+
applicationId: ApplicationId;
|
772
|
+
/**
|
773
|
+
* A list of files uploaded directly during chat. You can upload a maximum of 5 files of upto 10 MB each.
|
774
|
+
*/
|
775
|
+
attachments?: AttachmentsInput;
|
776
|
+
/**
|
777
|
+
* Enables filtering of Amazon Q web experience responses based on document attributes or metadata fields.
|
778
|
+
*/
|
779
|
+
attributeFilter?: AttributeFilter;
|
780
|
+
/**
|
781
|
+
* A token that you provide to identify a chat request.
|
782
|
+
*/
|
783
|
+
clientToken?: ClientToken;
|
784
|
+
/**
|
785
|
+
* The identifier of the Amazon Q conversation.
|
786
|
+
*/
|
787
|
+
conversationId?: ConversationId;
|
788
|
+
/**
|
789
|
+
* The identifier of the previous end user text input message in a conversation.
|
790
|
+
*/
|
791
|
+
parentMessageId?: MessageId;
|
792
|
+
/**
|
793
|
+
* The groups that a user associated with the chat input belongs to.
|
794
|
+
*/
|
795
|
+
userGroups?: UserGroups;
|
796
|
+
/**
|
797
|
+
* The identifier of the user attached to the chat input.
|
798
|
+
*/
|
799
|
+
userId: UserId;
|
800
|
+
/**
|
801
|
+
* A end user message in a conversation.
|
802
|
+
*/
|
803
|
+
userMessage?: UserMessage;
|
804
|
+
}
|
805
|
+
export interface ChatSyncOutput {
|
806
|
+
/**
|
807
|
+
* A request from Amazon Q to the end user for information Amazon Q needs to successfully complete a requested plugin action.
|
808
|
+
*/
|
809
|
+
actionReview?: ActionReview;
|
810
|
+
/**
|
811
|
+
* The identifier of the Amazon Q conversation.
|
812
|
+
*/
|
813
|
+
conversationId?: ConversationId;
|
814
|
+
/**
|
815
|
+
* A list of files which failed to upload during chat.
|
816
|
+
*/
|
817
|
+
failedAttachments?: AttachmentsOutput;
|
818
|
+
/**
|
819
|
+
* The source documents used to generate the conversation response.
|
820
|
+
*/
|
821
|
+
sourceAttributions?: SourceAttributions;
|
822
|
+
/**
|
823
|
+
* An AI-generated message in a conversation.
|
824
|
+
*/
|
825
|
+
systemMessage?: String;
|
826
|
+
/**
|
827
|
+
* The identifier of an Amazon Q AI generated message within the conversation.
|
828
|
+
*/
|
829
|
+
systemMessageId?: MessageId;
|
830
|
+
/**
|
831
|
+
* The identifier of an Amazon Q end user text input message within the conversation.
|
832
|
+
*/
|
833
|
+
userMessageId?: MessageId;
|
834
|
+
}
|
835
|
+
export type ClientToken = string;
|
836
|
+
export interface ContentBlockerRule {
|
837
|
+
/**
|
838
|
+
* The configured custom message displayed to an end user informing them that they've used a blocked phrase during chat.
|
839
|
+
*/
|
840
|
+
systemMessageOverride?: SystemMessageOverride;
|
841
|
+
}
|
842
|
+
export interface ContentRetrievalRule {
|
843
|
+
/**
|
844
|
+
* Specifies data sources in a Amazon Q application to use for content generation.
|
845
|
+
*/
|
846
|
+
eligibleDataSources?: EligibleDataSources;
|
847
|
+
}
|
848
|
+
export type ContentType = "PDF"|"HTML"|"MS_WORD"|"PLAIN_TEXT"|"PPT"|"RTF"|"XML"|"XSLT"|"MS_EXCEL"|"CSV"|"JSON"|"MD"|string;
|
849
|
+
export interface Conversation {
|
850
|
+
/**
|
851
|
+
* The identifier of the Amazon Q conversation.
|
852
|
+
*/
|
853
|
+
conversationId?: ConversationId;
|
854
|
+
/**
|
855
|
+
* The start time of the conversation.
|
856
|
+
*/
|
857
|
+
startTime?: Timestamp;
|
858
|
+
/**
|
859
|
+
* The title of the conversation.
|
860
|
+
*/
|
861
|
+
title?: ConversationTitle;
|
862
|
+
}
|
863
|
+
export type ConversationId = string;
|
864
|
+
export type ConversationTitle = string;
|
865
|
+
export type Conversations = Conversation[];
|
866
|
+
export interface CreateApplicationRequest {
|
867
|
+
/**
|
868
|
+
* An option to allow end users to upload files directly during chat.
|
869
|
+
*/
|
870
|
+
attachmentsConfiguration?: AttachmentsConfiguration;
|
871
|
+
/**
|
872
|
+
* A token that you provide to identify the request to create your Amazon Q application.
|
873
|
+
*/
|
874
|
+
clientToken?: ClientToken;
|
875
|
+
/**
|
876
|
+
* A description for the Amazon Q application.
|
877
|
+
*/
|
878
|
+
description?: Description;
|
879
|
+
/**
|
880
|
+
* A name for the Amazon Q application.
|
881
|
+
*/
|
882
|
+
displayName: ApplicationName;
|
883
|
+
/**
|
884
|
+
* The identifier of the KMS key that is used to encrypt your data. Amazon Q doesn't support asymmetric keys.
|
885
|
+
*/
|
886
|
+
encryptionConfiguration?: EncryptionConfiguration;
|
887
|
+
/**
|
888
|
+
* The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.
|
889
|
+
*/
|
890
|
+
roleArn: RoleArn;
|
891
|
+
/**
|
892
|
+
* A list of key-value pairs that identify or categorize your Amazon Q application. You can also use tags to help control access to the application. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
|
893
|
+
*/
|
894
|
+
tags?: Tags;
|
895
|
+
}
|
896
|
+
export interface CreateApplicationResponse {
|
897
|
+
/**
|
898
|
+
* The Amazon Resource Name (ARN) of the Amazon Q application.
|
899
|
+
*/
|
900
|
+
applicationArn?: ApplicationArn;
|
901
|
+
/**
|
902
|
+
* The identifier of the Amazon Q application.
|
903
|
+
*/
|
904
|
+
applicationId?: ApplicationId;
|
905
|
+
}
|
906
|
+
export interface CreateDataSourceRequest {
|
907
|
+
/**
|
908
|
+
* The identifier of the Amazon Q application the data source will be attached to.
|
909
|
+
*/
|
910
|
+
applicationId: ApplicationId;
|
911
|
+
/**
|
912
|
+
* A token you provide to identify a request to create a data source connector. Multiple calls to the CreateDataSource API with the same client token will create only one data source connector.
|
913
|
+
*/
|
914
|
+
clientToken?: ClientToken;
|
915
|
+
/**
|
916
|
+
* Configuration information to connect to your data source repository. For configuration templates for your specific data source, see Supported connectors.
|
917
|
+
*/
|
918
|
+
configuration: DataSourceConfiguration;
|
919
|
+
/**
|
920
|
+
* A description for the data source connector.
|
921
|
+
*/
|
922
|
+
description?: Description;
|
923
|
+
/**
|
924
|
+
* A name for the data source connector.
|
925
|
+
*/
|
926
|
+
displayName: DataSourceName;
|
927
|
+
documentEnrichmentConfiguration?: DocumentEnrichmentConfiguration;
|
928
|
+
/**
|
929
|
+
* The identifier of the index that you want to use with the data source connector.
|
930
|
+
*/
|
931
|
+
indexId: IndexId;
|
932
|
+
/**
|
933
|
+
* The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.
|
934
|
+
*/
|
935
|
+
roleArn?: RoleArn;
|
936
|
+
/**
|
937
|
+
* Sets the frequency for Amazon Q to check the documents in your data source repository and update your index. If you don't set a schedule, Amazon Q won't periodically update the index. Specify a cron- format schedule string or an empty string to indicate that the index is updated on demand. You can't specify the Schedule parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.
|
938
|
+
*/
|
939
|
+
syncSchedule?: SyncSchedule;
|
940
|
+
/**
|
941
|
+
* A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
|
942
|
+
*/
|
943
|
+
tags?: Tags;
|
944
|
+
/**
|
945
|
+
* Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data source. For more information, see Using Amazon VPC with Amazon Q connectors.
|
946
|
+
*/
|
947
|
+
vpcConfiguration?: DataSourceVpcConfiguration;
|
948
|
+
}
|
949
|
+
export interface CreateDataSourceResponse {
|
950
|
+
/**
|
951
|
+
* The Amazon Resource Name (ARN) of a data source in an Amazon Q application.
|
952
|
+
*/
|
953
|
+
dataSourceArn?: DataSourceArn;
|
954
|
+
/**
|
955
|
+
* The identifier of the data source connector.
|
956
|
+
*/
|
957
|
+
dataSourceId?: DataSourceId;
|
958
|
+
}
|
959
|
+
export interface CreateIndexRequest {
|
960
|
+
/**
|
961
|
+
* The identifier of the Amazon Q application using the index.
|
962
|
+
*/
|
963
|
+
applicationId: ApplicationId;
|
964
|
+
/**
|
965
|
+
* The capacity units you want to provision for your index. You can add and remove capacity to fit your usage needs.
|
966
|
+
*/
|
967
|
+
capacityConfiguration?: IndexCapacityConfiguration;
|
968
|
+
/**
|
969
|
+
* A token that you provide to identify the request to create an index. Multiple calls to the CreateIndex API with the same client token will create only one index.
|
970
|
+
*/
|
971
|
+
clientToken?: ClientToken;
|
972
|
+
/**
|
973
|
+
* A description for the Amazon Q index.
|
974
|
+
*/
|
975
|
+
description?: Description;
|
976
|
+
/**
|
977
|
+
* A name for the Amazon Q index.
|
978
|
+
*/
|
979
|
+
displayName: IndexName;
|
980
|
+
/**
|
981
|
+
* A list of key-value pairs that identify or categorize the index. You can also use tags to help control access to the index. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
|
982
|
+
*/
|
983
|
+
tags?: Tags;
|
984
|
+
}
|
985
|
+
export interface CreateIndexResponse {
|
986
|
+
/**
|
987
|
+
* The Amazon Resource Name (ARN) of an Amazon Q index.
|
988
|
+
*/
|
989
|
+
indexArn?: IndexArn;
|
990
|
+
/**
|
991
|
+
* The identifier for the Amazon Q index.
|
992
|
+
*/
|
993
|
+
indexId?: IndexId;
|
994
|
+
}
|
995
|
+
export interface CreatePluginRequest {
|
996
|
+
/**
|
997
|
+
* The identifier of the application that will contain the plugin.
|
998
|
+
*/
|
999
|
+
applicationId: ApplicationId;
|
1000
|
+
authConfiguration: PluginAuthConfiguration;
|
1001
|
+
/**
|
1002
|
+
* A token that you provide to identify the request to create your Amazon Q plugin.
|
1003
|
+
*/
|
1004
|
+
clientToken?: ClientToken;
|
1005
|
+
/**
|
1006
|
+
* A the name for your plugin.
|
1007
|
+
*/
|
1008
|
+
displayName: PluginName;
|
1009
|
+
/**
|
1010
|
+
* The source URL used for plugin configuration.
|
1011
|
+
*/
|
1012
|
+
serverUrl: Url;
|
1013
|
+
/**
|
1014
|
+
* A list of key-value pairs that identify or categorize the data source connector. You can also use tags to help control access to the data source connector. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
|
1015
|
+
*/
|
1016
|
+
tags?: Tags;
|
1017
|
+
/**
|
1018
|
+
* The type of plugin you want to create.
|
1019
|
+
*/
|
1020
|
+
type: PluginType;
|
1021
|
+
}
|
1022
|
+
export interface CreatePluginResponse {
|
1023
|
+
/**
|
1024
|
+
* The Amazon Resource Name (ARN) of a plugin.
|
1025
|
+
*/
|
1026
|
+
pluginArn?: PluginArn;
|
1027
|
+
/**
|
1028
|
+
* The identifier of the plugin created.
|
1029
|
+
*/
|
1030
|
+
pluginId?: PluginId;
|
1031
|
+
}
|
1032
|
+
export interface CreateRetrieverRequest {
|
1033
|
+
/**
|
1034
|
+
* The identifier of your Amazon Q application.
|
1035
|
+
*/
|
1036
|
+
applicationId: ApplicationId;
|
1037
|
+
/**
|
1038
|
+
* A token that you provide to identify the request to create your Amazon Q application retriever.
|
1039
|
+
*/
|
1040
|
+
clientToken?: ClientToken;
|
1041
|
+
configuration: RetrieverConfiguration;
|
1042
|
+
/**
|
1043
|
+
* The name of your retriever.
|
1044
|
+
*/
|
1045
|
+
displayName: RetrieverName;
|
1046
|
+
/**
|
1047
|
+
* The ARN of an IAM role used by Amazon Q to access the basic authentication credentials stored in a Secrets Manager secret.
|
1048
|
+
*/
|
1049
|
+
roleArn?: RoleArn;
|
1050
|
+
/**
|
1051
|
+
* A list of key-value pairs that identify or categorize the retriever. You can also use tags to help control access to the retriever. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
|
1052
|
+
*/
|
1053
|
+
tags?: Tags;
|
1054
|
+
/**
|
1055
|
+
* The type of retriever you are using.
|
1056
|
+
*/
|
1057
|
+
type: RetrieverType;
|
1058
|
+
}
|
1059
|
+
export interface CreateRetrieverResponse {
|
1060
|
+
/**
|
1061
|
+
* The Amazon Resource Name (ARN) of an IAM role associated with a retriever.
|
1062
|
+
*/
|
1063
|
+
retrieverArn?: RetrieverArn;
|
1064
|
+
/**
|
1065
|
+
* The identifier of the retriever you are using.
|
1066
|
+
*/
|
1067
|
+
retrieverId?: RetrieverId;
|
1068
|
+
}
|
1069
|
+
export interface CreateUserRequest {
|
1070
|
+
/**
|
1071
|
+
* The identifier of the application for which the user mapping will be created.
|
1072
|
+
*/
|
1073
|
+
applicationId: ApplicationId;
|
1074
|
+
/**
|
1075
|
+
* A token that you provide to identify the request to create your Amazon Q user mapping.
|
1076
|
+
*/
|
1077
|
+
clientToken?: ClientToken;
|
1078
|
+
/**
|
1079
|
+
* The list of user aliases in the mapping.
|
1080
|
+
*/
|
1081
|
+
userAliases?: CreateUserRequestUserAliasesList;
|
1082
|
+
/**
|
1083
|
+
* The user emails attached to a user mapping.
|
1084
|
+
*/
|
1085
|
+
userId: String;
|
1086
|
+
}
|
1087
|
+
export type CreateUserRequestUserAliasesList = UserAlias[];
|
1088
|
+
export interface CreateUserResponse {
|
1089
|
+
}
|
1090
|
+
export interface CreateWebExperienceRequest {
|
1091
|
+
/**
|
1092
|
+
* The identifier of the Amazon Q web experience.
|
1093
|
+
*/
|
1094
|
+
applicationId: ApplicationId;
|
1095
|
+
/**
|
1096
|
+
* A token you provide to identify a request to create an Amazon Q web experience.
|
1097
|
+
*/
|
1098
|
+
clientToken?: ClientToken;
|
1099
|
+
/**
|
1100
|
+
* Determines whether sample prompts are enabled in the web experience for an end user.
|
1101
|
+
*/
|
1102
|
+
samplePromptsControlMode?: WebExperienceSamplePromptsControlMode;
|
1103
|
+
/**
|
1104
|
+
* A subtitle to personalize your Amazon Q web experience.
|
1105
|
+
*/
|
1106
|
+
subtitle?: WebExperienceSubtitle;
|
1107
|
+
/**
|
1108
|
+
* A list of key-value pairs that identify or categorize your Amazon Q web experience. You can also use tags to help control access to the web experience. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
|
1109
|
+
*/
|
1110
|
+
tags?: Tags;
|
1111
|
+
/**
|
1112
|
+
* The title for your Amazon Q web experience.
|
1113
|
+
*/
|
1114
|
+
title?: WebExperienceTitle;
|
1115
|
+
/**
|
1116
|
+
* The customized welcome message for end users of an Amazon Q web experience.
|
1117
|
+
*/
|
1118
|
+
welcomeMessage?: WebExperienceWelcomeMessage;
|
1119
|
+
}
|
1120
|
+
export interface CreateWebExperienceResponse {
|
1121
|
+
/**
|
1122
|
+
* The Amazon Resource Name (ARN) of an Amazon Q web experience.
|
1123
|
+
*/
|
1124
|
+
webExperienceArn?: WebExperienceArn;
|
1125
|
+
/**
|
1126
|
+
* The identifier of the Amazon Q web experience.
|
1127
|
+
*/
|
1128
|
+
webExperienceId?: WebExperienceId;
|
1129
|
+
}
|
1130
|
+
export interface DataSource {
|
1131
|
+
/**
|
1132
|
+
* The Unix timestamp when the Amazon Q data source was created.
|
1133
|
+
*/
|
1134
|
+
createdAt?: Timestamp;
|
1135
|
+
/**
|
1136
|
+
* The identifier of the Amazon Q data source.
|
1137
|
+
*/
|
1138
|
+
dataSourceId?: DataSourceId;
|
1139
|
+
/**
|
1140
|
+
* The name of the Amazon Q data source.
|
1141
|
+
*/
|
1142
|
+
displayName?: DataSourceName;
|
1143
|
+
/**
|
1144
|
+
* The status of the Amazon Q data source.
|
1145
|
+
*/
|
1146
|
+
status?: DataSourceStatus;
|
1147
|
+
/**
|
1148
|
+
* The type of the Amazon Q data source.
|
1149
|
+
*/
|
1150
|
+
type?: String;
|
1151
|
+
/**
|
1152
|
+
* The Unix timestamp when the Amazon Q data source was last updated.
|
1153
|
+
*/
|
1154
|
+
updatedAt?: Timestamp;
|
1155
|
+
}
|
1156
|
+
export type DataSourceArn = string;
|
1157
|
+
export interface DataSourceConfiguration {
|
1158
|
+
}
|
1159
|
+
export type DataSourceId = string;
|
1160
|
+
export type DataSourceIds = DataSourceId[];
|
1161
|
+
export type DataSourceName = string;
|
1162
|
+
export type DataSourceStatus = "PENDING_CREATION"|"CREATING"|"ACTIVE"|"DELETING"|"FAILED"|"UPDATING"|string;
|
1163
|
+
export interface DataSourceSyncJob {
|
1164
|
+
/**
|
1165
|
+
* If the reason that the synchronization failed is due to an error with the underlying data source, this field contains a code that identifies the error.
|
1166
|
+
*/
|
1167
|
+
dataSourceErrorCode?: String;
|
1168
|
+
/**
|
1169
|
+
* The Unix timestamp when the synchronization job completed.
|
1170
|
+
*/
|
1171
|
+
endTime?: Timestamp;
|
1172
|
+
/**
|
1173
|
+
* If the Status field is set to FAILED, the ErrorCode field indicates the reason the synchronization failed.
|
1174
|
+
*/
|
1175
|
+
error?: ErrorDetail;
|
1176
|
+
/**
|
1177
|
+
* The identifier of a data source synchronization job.
|
1178
|
+
*/
|
1179
|
+
executionId?: ExecutionId;
|
1180
|
+
/**
|
1181
|
+
* Maps a batch delete document request to a specific data source sync job. This is optional and should only be supplied when documents are deleted by a data source connector.
|
1182
|
+
*/
|
1183
|
+
metrics?: DataSourceSyncJobMetrics;
|
1184
|
+
/**
|
1185
|
+
* The Unix time stamp when the data source synchronization job started.
|
1186
|
+
*/
|
1187
|
+
startTime?: Timestamp;
|
1188
|
+
/**
|
1189
|
+
* The status of the synchronization job. When the Status field is set to SUCCEEDED, the synchronization job is done. If the status code is FAILED, the ErrorCode and ErrorMessage fields give you the reason for the failure.
|
1190
|
+
*/
|
1191
|
+
status?: DataSourceSyncJobStatus;
|
1192
|
+
}
|
1193
|
+
export interface DataSourceSyncJobMetrics {
|
1194
|
+
/**
|
1195
|
+
* The current count of documents added from the data source during the data source sync.
|
1196
|
+
*/
|
1197
|
+
documentsAdded?: MetricValue;
|
1198
|
+
/**
|
1199
|
+
* The current count of documents deleted from the data source during the data source sync.
|
1200
|
+
*/
|
1201
|
+
documentsDeleted?: MetricValue;
|
1202
|
+
/**
|
1203
|
+
* The current count of documents that failed to sync from the data source during the data source sync.
|
1204
|
+
*/
|
1205
|
+
documentsFailed?: MetricValue;
|
1206
|
+
/**
|
1207
|
+
* The current count of documents modified in the data source during the data source sync.
|
1208
|
+
*/
|
1209
|
+
documentsModified?: MetricValue;
|
1210
|
+
/**
|
1211
|
+
* The current count of documents crawled by the ongoing sync job in the data source.
|
1212
|
+
*/
|
1213
|
+
documentsScanned?: MetricValue;
|
1214
|
+
}
|
1215
|
+
export type DataSourceSyncJobStatus = "FAILED"|"SUCCEEDED"|"SYNCING"|"INCOMPLETE"|"STOPPING"|"ABORTED"|"SYNCING_INDEXING"|string;
|
1216
|
+
export type DataSourceSyncJobs = DataSourceSyncJob[];
|
1217
|
+
export type DataSourceUserId = string;
|
1218
|
+
export interface DataSourceVpcConfiguration {
|
1219
|
+
/**
|
1220
|
+
* A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon Q to connect to the data source.
|
1221
|
+
*/
|
1222
|
+
securityGroupIds: SecurityGroupIds;
|
1223
|
+
/**
|
1224
|
+
* A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect to each other in the VPC, and they should have outgoing access to the Internet through a NAT device.
|
1225
|
+
*/
|
1226
|
+
subnetIds: SubnetIds;
|
1227
|
+
}
|
1228
|
+
export type DataSources = DataSource[];
|
1229
|
+
export interface DeleteApplicationRequest {
|
1230
|
+
/**
|
1231
|
+
* The identifier of the Amazon Q application.
|
1232
|
+
*/
|
1233
|
+
applicationId: ApplicationId;
|
1234
|
+
}
|
1235
|
+
export interface DeleteApplicationResponse {
|
1236
|
+
}
|
1237
|
+
export interface DeleteChatControlsConfigurationRequest {
|
1238
|
+
/**
|
1239
|
+
* The identifier of the application the chat controls have been configured for.
|
1240
|
+
*/
|
1241
|
+
applicationId: ApplicationId;
|
1242
|
+
}
|
1243
|
+
export interface DeleteChatControlsConfigurationResponse {
|
1244
|
+
}
|
1245
|
+
export interface DeleteConversationRequest {
|
1246
|
+
/**
|
1247
|
+
* The identifier of the Amazon Q application associated with the conversation.
|
1248
|
+
*/
|
1249
|
+
applicationId: ApplicationId;
|
1250
|
+
/**
|
1251
|
+
* The identifier of the Amazon Q web experience conversation being deleted.
|
1252
|
+
*/
|
1253
|
+
conversationId: ConversationId;
|
1254
|
+
/**
|
1255
|
+
* The identifier of the user who is deleting the conversation.
|
1256
|
+
*/
|
1257
|
+
userId: UserId;
|
1258
|
+
}
|
1259
|
+
export interface DeleteConversationResponse {
|
1260
|
+
}
|
1261
|
+
export interface DeleteDataSourceRequest {
|
1262
|
+
/**
|
1263
|
+
* The identifier of the Amazon Q application used with the data source connector.
|
1264
|
+
*/
|
1265
|
+
applicationId: ApplicationId;
|
1266
|
+
/**
|
1267
|
+
* The identifier of the data source connector that you want to delete.
|
1268
|
+
*/
|
1269
|
+
dataSourceId: DataSourceId;
|
1270
|
+
/**
|
1271
|
+
* The identifier of the index used with the data source connector.
|
1272
|
+
*/
|
1273
|
+
indexId: IndexId;
|
1274
|
+
}
|
1275
|
+
export interface DeleteDataSourceResponse {
|
1276
|
+
}
|
1277
|
+
export interface DeleteDocument {
|
1278
|
+
/**
|
1279
|
+
* The identifier of the deleted document.
|
1280
|
+
*/
|
1281
|
+
documentId: DocumentId;
|
1282
|
+
}
|
1283
|
+
export type DeleteDocuments = DeleteDocument[];
|
1284
|
+
export interface DeleteGroupRequest {
|
1285
|
+
/**
|
1286
|
+
* The identifier of the application in which the group mapping belongs.
|
1287
|
+
*/
|
1288
|
+
applicationId: ApplicationId;
|
1289
|
+
/**
|
1290
|
+
* The identifier of the data source linked to the group A group can be tied to multiple data sources. You can delete a group from accessing documents in a certain data source. For example, the groups "Research", "Engineering", and "Sales and Marketing" are all tied to the company's documents stored in the data sources Confluence and Salesforce. You want to delete "Research" and "Engineering" groups from Salesforce, so that these groups cannot access customer-related documents stored in Salesforce. Only "Sales and Marketing" should access documents in the Salesforce data source.
|
1291
|
+
*/
|
1292
|
+
dataSourceId?: DataSourceId;
|
1293
|
+
/**
|
1294
|
+
* The name of the group you want to delete.
|
1295
|
+
*/
|
1296
|
+
groupName: GroupName;
|
1297
|
+
/**
|
1298
|
+
* The identifier of the index you want to delete the group from.
|
1299
|
+
*/
|
1300
|
+
indexId: IndexId;
|
1301
|
+
}
|
1302
|
+
export interface DeleteGroupResponse {
|
1303
|
+
}
|
1304
|
+
export interface DeleteIndexRequest {
|
1305
|
+
/**
|
1306
|
+
* The identifier of the Amazon Q application the Amazon Q index is linked to.
|
1307
|
+
*/
|
1308
|
+
applicationId: ApplicationId;
|
1309
|
+
/**
|
1310
|
+
* The identifier of the Amazon Q index.
|
1311
|
+
*/
|
1312
|
+
indexId: IndexId;
|
1313
|
+
}
|
1314
|
+
export interface DeleteIndexResponse {
|
1315
|
+
}
|
1316
|
+
export interface DeletePluginRequest {
|
1317
|
+
/**
|
1318
|
+
* The identifier the application attached to the Amazon Q plugin.
|
1319
|
+
*/
|
1320
|
+
applicationId: ApplicationId;
|
1321
|
+
/**
|
1322
|
+
* The identifier of the plugin being deleted.
|
1323
|
+
*/
|
1324
|
+
pluginId: PluginId;
|
1325
|
+
}
|
1326
|
+
export interface DeletePluginResponse {
|
1327
|
+
}
|
1328
|
+
export interface DeleteRetrieverRequest {
|
1329
|
+
/**
|
1330
|
+
* The identifier of the Amazon Q application using the retriever.
|
1331
|
+
*/
|
1332
|
+
applicationId: ApplicationId;
|
1333
|
+
/**
|
1334
|
+
* The identifier of the retriever being deleted.
|
1335
|
+
*/
|
1336
|
+
retrieverId: RetrieverId;
|
1337
|
+
}
|
1338
|
+
export interface DeleteRetrieverResponse {
|
1339
|
+
}
|
1340
|
+
export interface DeleteUserRequest {
|
1341
|
+
/**
|
1342
|
+
* The identifier of the application from which the user is being deleted.
|
1343
|
+
*/
|
1344
|
+
applicationId: ApplicationId;
|
1345
|
+
/**
|
1346
|
+
* The user email being deleted.
|
1347
|
+
*/
|
1348
|
+
userId: String;
|
1349
|
+
}
|
1350
|
+
export interface DeleteUserResponse {
|
1351
|
+
}
|
1352
|
+
export interface DeleteWebExperienceRequest {
|
1353
|
+
/**
|
1354
|
+
* The identifier of the Amazon Q application linked to the Amazon Q web experience.
|
1355
|
+
*/
|
1356
|
+
applicationId: ApplicationId;
|
1357
|
+
/**
|
1358
|
+
* The identifier of the Amazon Q web experience being deleted.
|
1359
|
+
*/
|
1360
|
+
webExperienceId: WebExperienceId;
|
1361
|
+
}
|
1362
|
+
export interface DeleteWebExperienceResponse {
|
1363
|
+
}
|
1364
|
+
export type Description = string;
|
1365
|
+
export interface Document {
|
1366
|
+
/**
|
1367
|
+
* Configuration information for access permission to a document.
|
1368
|
+
*/
|
1369
|
+
accessConfiguration?: AccessConfiguration;
|
1370
|
+
/**
|
1371
|
+
* Custom attributes to apply to the document for refining Amazon Q web experience responses.
|
1372
|
+
*/
|
1373
|
+
attributes?: DocumentAttributes;
|
1374
|
+
/**
|
1375
|
+
* The contents of the document.
|
1376
|
+
*/
|
1377
|
+
content?: DocumentContent;
|
1378
|
+
/**
|
1379
|
+
* The file type of the document in the Blob field. If you want to index snippets or subsets of HTML documents instead of the entirety of the HTML documents, you add the HTML start and closing tags (<HTML>content</HTML>) around the content.
|
1380
|
+
*/
|
1381
|
+
contentType?: ContentType;
|
1382
|
+
/**
|
1383
|
+
* The configuration information for altering document metadata and content during the document ingestion process.
|
1384
|
+
*/
|
1385
|
+
documentEnrichmentConfiguration?: DocumentEnrichmentConfiguration;
|
1386
|
+
/**
|
1387
|
+
* The identifier of the document.
|
1388
|
+
*/
|
1389
|
+
id: DocumentId;
|
1390
|
+
/**
|
1391
|
+
* The title of the document.
|
1392
|
+
*/
|
1393
|
+
title?: Title;
|
1394
|
+
}
|
1395
|
+
export interface DocumentAttribute {
|
1396
|
+
/**
|
1397
|
+
* The identifier for the attribute.
|
1398
|
+
*/
|
1399
|
+
name: DocumentAttributeKey;
|
1400
|
+
/**
|
1401
|
+
* The value of the attribute.
|
1402
|
+
*/
|
1403
|
+
value: DocumentAttributeValue;
|
1404
|
+
}
|
1405
|
+
export interface DocumentAttributeCondition {
|
1406
|
+
/**
|
1407
|
+
* The identifier of the document attribute used for the condition. For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents. Amazon Q currently doesn't support _document_body as an attribute key used for the condition.
|
1408
|
+
*/
|
1409
|
+
key: DocumentAttributeKey;
|
1410
|
+
/**
|
1411
|
+
* The identifier of the document attribute used for the condition. For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents. Amazon Kendra currently does not support _document_body as an attribute key used for the condition.
|
1412
|
+
*/
|
1413
|
+
operator: DocumentEnrichmentConditionOperator;
|
1414
|
+
value?: DocumentAttributeValue;
|
1415
|
+
}
|
1416
|
+
export interface DocumentAttributeConfiguration {
|
1417
|
+
/**
|
1418
|
+
* The name of the document attribute.
|
1419
|
+
*/
|
1420
|
+
name?: String;
|
1421
|
+
/**
|
1422
|
+
* Information about whether the document attribute can be used by an end user to search for information on their web experience.
|
1423
|
+
*/
|
1424
|
+
search?: Status;
|
1425
|
+
/**
|
1426
|
+
* The type of document attribute.
|
1427
|
+
*/
|
1428
|
+
type?: AttributeType;
|
1429
|
+
}
|
1430
|
+
export type DocumentAttributeConfigurations = DocumentAttributeConfiguration[];
|
1431
|
+
export type DocumentAttributeKey = string;
|
1432
|
+
export type DocumentAttributeStringListValue = String[];
|
1433
|
+
export interface DocumentAttributeTarget {
|
1434
|
+
/**
|
1435
|
+
* TRUE to delete the existing target value for your specified target attribute key. You cannot create a target value and set this to TRUE.
|
1436
|
+
*/
|
1437
|
+
attributeValueOperator?: AttributeValueOperator;
|
1438
|
+
/**
|
1439
|
+
* The identifier of the target document attribute or metadata field. For example, 'Department' could be an identifier for the target attribute or metadata field that includes the department names associated with the documents.
|
1440
|
+
*/
|
1441
|
+
key: DocumentAttributeKey;
|
1442
|
+
value?: DocumentAttributeValue;
|
1443
|
+
}
|
1444
|
+
export interface DocumentAttributeValue {
|
1445
|
+
/**
|
1446
|
+
* A date expressed as an ISO 8601 string. It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.
|
1447
|
+
*/
|
1448
|
+
dateValue?: Timestamp;
|
1449
|
+
/**
|
1450
|
+
* A long integer value.
|
1451
|
+
*/
|
1452
|
+
longValue?: Long;
|
1453
|
+
/**
|
1454
|
+
* A list of strings.
|
1455
|
+
*/
|
1456
|
+
stringListValue?: DocumentAttributeStringListValue;
|
1457
|
+
/**
|
1458
|
+
* A string.
|
1459
|
+
*/
|
1460
|
+
stringValue?: DocumentAttributeValueStringValueString;
|
1461
|
+
}
|
1462
|
+
export type DocumentAttributeValueStringValueString = string;
|
1463
|
+
export type DocumentAttributes = DocumentAttribute[];
|
1464
|
+
export interface DocumentContent {
|
1465
|
+
/**
|
1466
|
+
* The contents of the document. Documents passed to the blob parameter must be base64 encoded. Your code might not need to encode the document file bytes if you're using an Amazon Web Services SDK to call Amazon Q APIs. If you are calling the Amazon Q endpoint directly using REST, you must base64 encode the contents before sending.
|
1467
|
+
*/
|
1468
|
+
blob?: _Blob;
|
1469
|
+
/**
|
1470
|
+
* The path to the document in an Amazon S3 bucket.
|
1471
|
+
*/
|
1472
|
+
s3?: S3;
|
1473
|
+
}
|
1474
|
+
export type DocumentContentOperator = "DELETE"|string;
|
1475
|
+
export type DocumentDetailList = DocumentDetails[];
|
1476
|
+
export interface DocumentDetails {
|
1477
|
+
/**
|
1478
|
+
* The timestamp for when the document was created.
|
1479
|
+
*/
|
1480
|
+
createdAt?: Timestamp;
|
1481
|
+
/**
|
1482
|
+
* The identifier of the document.
|
1483
|
+
*/
|
1484
|
+
documentId?: DocumentId;
|
1485
|
+
/**
|
1486
|
+
* An error message associated with the document.
|
1487
|
+
*/
|
1488
|
+
error?: ErrorDetail;
|
1489
|
+
/**
|
1490
|
+
* The current status of the document.
|
1491
|
+
*/
|
1492
|
+
status?: DocumentStatus;
|
1493
|
+
/**
|
1494
|
+
* The timestamp for when the document was last updated.
|
1495
|
+
*/
|
1496
|
+
updatedAt?: Timestamp;
|
1497
|
+
}
|
1498
|
+
export type DocumentEnrichmentConditionOperator = "GREATER_THAN"|"GREATER_THAN_OR_EQUALS"|"LESS_THAN"|"LESS_THAN_OR_EQUALS"|"EQUALS"|"NOT_EQUALS"|"CONTAINS"|"NOT_CONTAINS"|"EXISTS"|"NOT_EXISTS"|"BEGINS_WITH"|string;
|
1499
|
+
export interface DocumentEnrichmentConfiguration {
|
1500
|
+
/**
|
1501
|
+
* Configuration information to alter document attributes or metadata fields and content when ingesting documents into Amazon Q.
|
1502
|
+
*/
|
1503
|
+
inlineConfigurations?: InlineDocumentEnrichmentConfigurations;
|
1504
|
+
postExtractionHookConfiguration?: HookConfiguration;
|
1505
|
+
preExtractionHookConfiguration?: HookConfiguration;
|
1506
|
+
}
|
1507
|
+
export type DocumentId = string;
|
1508
|
+
export type DocumentStatus = "RECEIVED"|"PROCESSING"|"INDEXED"|"UPDATED"|"FAILED"|"DELETING"|"DELETED"|"DOCUMENT_FAILED_TO_INDEX"|string;
|
1509
|
+
export type Documents = Document[];
|
1510
|
+
export interface EligibleDataSource {
|
1511
|
+
/**
|
1512
|
+
* The identifier of the data source.
|
1513
|
+
*/
|
1514
|
+
dataSourceId?: DataSourceId;
|
1515
|
+
/**
|
1516
|
+
* The identifier of the index the data source is attached to.
|
1517
|
+
*/
|
1518
|
+
indexId?: IndexId;
|
1519
|
+
}
|
1520
|
+
export type EligibleDataSources = EligibleDataSource[];
|
1521
|
+
export interface EncryptionConfiguration {
|
1522
|
+
/**
|
1523
|
+
* The identifier of the KMS key. Amazon Q doesn't support asymmetric keys.
|
1524
|
+
*/
|
1525
|
+
kmsKeyId?: KmsKeyId;
|
1526
|
+
}
|
1527
|
+
export type ErrorCode = "InternalError"|"InvalidRequest"|"ResourceInactive"|"ResourceNotFound"|string;
|
1528
|
+
export interface ErrorDetail {
|
1529
|
+
/**
|
1530
|
+
* The code associated with the data source sync error.
|
1531
|
+
*/
|
1532
|
+
errorCode?: ErrorCode;
|
1533
|
+
/**
|
1534
|
+
* The message explaining the data source sync error.
|
1535
|
+
*/
|
1536
|
+
errorMessage?: ErrorMessage;
|
1537
|
+
}
|
1538
|
+
export type ErrorMessage = string;
|
1539
|
+
export type ExampleChatMessage = string;
|
1540
|
+
export type ExampleChatMessages = ExampleChatMessage[];
|
1541
|
+
export type ExecutionId = string;
|
1542
|
+
export interface FailedDocument {
|
1543
|
+
/**
|
1544
|
+
* The identifier of the Amazon Q data source connector that contains the failed document.
|
1545
|
+
*/
|
1546
|
+
dataSourceId?: DataSourceId;
|
1547
|
+
/**
|
1548
|
+
* An explanation for why the document couldn't be removed from the index.
|
1549
|
+
*/
|
1550
|
+
error?: ErrorDetail;
|
1551
|
+
/**
|
1552
|
+
* The identifier of the document that couldn't be removed from the Amazon Q index.
|
1553
|
+
*/
|
1554
|
+
id?: DocumentId;
|
1555
|
+
}
|
1556
|
+
export type FailedDocuments = FailedDocument[];
|
1557
|
+
export interface GetApplicationRequest {
|
1558
|
+
/**
|
1559
|
+
* The identifier of the Amazon Q application.
|
1560
|
+
*/
|
1561
|
+
applicationId: ApplicationId;
|
1562
|
+
}
|
1563
|
+
export interface GetApplicationResponse {
|
1564
|
+
/**
|
1565
|
+
* The Amazon Resource Name (ARN) of the Amazon Q application.
|
1566
|
+
*/
|
1567
|
+
applicationArn?: ApplicationArn;
|
1568
|
+
/**
|
1569
|
+
* The identifier of the Amazon Q application.
|
1570
|
+
*/
|
1571
|
+
applicationId?: ApplicationId;
|
1572
|
+
/**
|
1573
|
+
* Settings for whether end users can upload files directly during chat.
|
1574
|
+
*/
|
1575
|
+
attachmentsConfiguration?: AppliedAttachmentsConfiguration;
|
1576
|
+
/**
|
1577
|
+
* The Unix timestamp when the Amazon Q application was last updated.
|
1578
|
+
*/
|
1579
|
+
createdAt?: Timestamp;
|
1580
|
+
/**
|
1581
|
+
* A description for the Amazon Q application.
|
1582
|
+
*/
|
1583
|
+
description?: Description;
|
1584
|
+
/**
|
1585
|
+
* The name of the Amazon Q application.
|
1586
|
+
*/
|
1587
|
+
displayName?: ApplicationName;
|
1588
|
+
/**
|
1589
|
+
* The identifier of the Amazon Web Services KMS key that is used to encrypt your data. Amazon Q doesn't support asymmetric keys.
|
1590
|
+
*/
|
1591
|
+
encryptionConfiguration?: EncryptionConfiguration;
|
1592
|
+
/**
|
1593
|
+
* If the Status field is set to ERROR, the ErrorMessage field contains a description of the error that caused the synchronization to fail.
|
1594
|
+
*/
|
1595
|
+
error?: ErrorDetail;
|
1596
|
+
/**
|
1597
|
+
* The Amazon Resource Name (ARN) of the IAM with permissions to access your CloudWatch logs and metrics.
|
1598
|
+
*/
|
1599
|
+
roleArn?: RoleArn;
|
1600
|
+
/**
|
1601
|
+
* The status of the Amazon Q application.
|
1602
|
+
*/
|
1603
|
+
status?: ApplicationStatus;
|
1604
|
+
/**
|
1605
|
+
* The Unix timestamp when the Amazon Q application was last updated.
|
1606
|
+
*/
|
1607
|
+
updatedAt?: Timestamp;
|
1608
|
+
}
|
1609
|
+
export interface GetChatControlsConfigurationRequest {
|
1610
|
+
/**
|
1611
|
+
* The identifier of the application for which the chat controls are configured.
|
1612
|
+
*/
|
1613
|
+
applicationId: ApplicationId;
|
1614
|
+
/**
|
1615
|
+
* The maximum number of configured chat controls to return.
|
1616
|
+
*/
|
1617
|
+
maxResults?: MaxResultsIntegerForGetTopicConfigurations;
|
1618
|
+
/**
|
1619
|
+
* If the maxResults response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q chat controls configured.
|
1620
|
+
*/
|
1621
|
+
nextToken?: NextToken;
|
1622
|
+
}
|
1623
|
+
export interface GetChatControlsConfigurationResponse {
|
1624
|
+
/**
|
1625
|
+
* The phrases blocked from chat by your chat control configuration.
|
1626
|
+
*/
|
1627
|
+
blockedPhrases?: BlockedPhrasesConfiguration;
|
1628
|
+
/**
|
1629
|
+
* If the maxResults response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q chat controls configured.
|
1630
|
+
*/
|
1631
|
+
nextToken?: NextToken;
|
1632
|
+
/**
|
1633
|
+
* The response scope configured for a Amazon Q application. This determines whether your application uses its retrieval augmented generation (RAG) system to generate answers only from your enterprise data, or also uses the large language models (LLM) knowledge to respons to end user questions in chat.
|
1634
|
+
*/
|
1635
|
+
responseScope?: ResponseScope;
|
1636
|
+
/**
|
1637
|
+
* The topic specific controls configured for a Amazon Q application.
|
1638
|
+
*/
|
1639
|
+
topicConfigurations?: TopicConfigurations;
|
1640
|
+
}
|
1641
|
+
export interface GetDataSourceRequest {
|
1642
|
+
/**
|
1643
|
+
* The identifier of the Amazon Q application.
|
1644
|
+
*/
|
1645
|
+
applicationId: ApplicationId;
|
1646
|
+
/**
|
1647
|
+
* The identifier of the data source connector.
|
1648
|
+
*/
|
1649
|
+
dataSourceId: DataSourceId;
|
1650
|
+
/**
|
1651
|
+
* The identfier of the index used with the data source connector.
|
1652
|
+
*/
|
1653
|
+
indexId: IndexId;
|
1654
|
+
}
|
1655
|
+
export interface GetDataSourceResponse {
|
1656
|
+
/**
|
1657
|
+
* The identifier of the Amazon Q application.
|
1658
|
+
*/
|
1659
|
+
applicationId?: ApplicationId;
|
1660
|
+
/**
|
1661
|
+
* The details of how the data source connector is configured.
|
1662
|
+
*/
|
1663
|
+
configuration?: DataSourceConfiguration;
|
1664
|
+
/**
|
1665
|
+
* The Unix timestamp when the data source connector was created.
|
1666
|
+
*/
|
1667
|
+
createdAt?: Timestamp;
|
1668
|
+
/**
|
1669
|
+
* The Amazon Resource Name (ARN) of the data source.
|
1670
|
+
*/
|
1671
|
+
dataSourceArn?: DataSourceArn;
|
1672
|
+
/**
|
1673
|
+
* The identifier of the data source connector.
|
1674
|
+
*/
|
1675
|
+
dataSourceId?: DataSourceId;
|
1676
|
+
/**
|
1677
|
+
* The description for the data source connector.
|
1678
|
+
*/
|
1679
|
+
description?: Description;
|
1680
|
+
/**
|
1681
|
+
* The name for the data source connector.
|
1682
|
+
*/
|
1683
|
+
displayName?: DataSourceName;
|
1684
|
+
documentEnrichmentConfiguration?: DocumentEnrichmentConfiguration;
|
1685
|
+
/**
|
1686
|
+
* When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source connector to fail.
|
1687
|
+
*/
|
1688
|
+
error?: ErrorDetail;
|
1689
|
+
/**
|
1690
|
+
* The identifier of the index linked to the data source connector.
|
1691
|
+
*/
|
1692
|
+
indexId?: IndexId;
|
1693
|
+
/**
|
1694
|
+
* The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.
|
1695
|
+
*/
|
1696
|
+
roleArn?: RoleArn;
|
1697
|
+
/**
|
1698
|
+
* The current status of the data source connector. When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source connector to fail.
|
1699
|
+
*/
|
1700
|
+
status?: DataSourceStatus;
|
1701
|
+
/**
|
1702
|
+
* The schedule for Amazon Q to update the index.
|
1703
|
+
*/
|
1704
|
+
syncSchedule?: SyncSchedule;
|
1705
|
+
/**
|
1706
|
+
* The type of the data source connector. For example, S3.
|
1707
|
+
*/
|
1708
|
+
type?: String;
|
1709
|
+
/**
|
1710
|
+
* The Unix timestamp when the data source connector was last updated.
|
1711
|
+
*/
|
1712
|
+
updatedAt?: Timestamp;
|
1713
|
+
/**
|
1714
|
+
* Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data source.
|
1715
|
+
*/
|
1716
|
+
vpcConfiguration?: DataSourceVpcConfiguration;
|
1717
|
+
}
|
1718
|
+
export interface GetGroupRequest {
|
1719
|
+
/**
|
1720
|
+
* The identifier of the application id the group is attached to.
|
1721
|
+
*/
|
1722
|
+
applicationId: ApplicationId;
|
1723
|
+
/**
|
1724
|
+
* The identifier of the data source the group is attached to.
|
1725
|
+
*/
|
1726
|
+
dataSourceId?: DataSourceId;
|
1727
|
+
/**
|
1728
|
+
* The name of the group.
|
1729
|
+
*/
|
1730
|
+
groupName: GroupName;
|
1731
|
+
/**
|
1732
|
+
* The identifier of the index the group is attached to.
|
1733
|
+
*/
|
1734
|
+
indexId: IndexId;
|
1735
|
+
}
|
1736
|
+
export interface GetGroupResponse {
|
1737
|
+
/**
|
1738
|
+
* The current status of the group.
|
1739
|
+
*/
|
1740
|
+
status?: GroupStatusDetail;
|
1741
|
+
/**
|
1742
|
+
* The status history of the group.
|
1743
|
+
*/
|
1744
|
+
statusHistory?: GroupStatusDetails;
|
1745
|
+
}
|
1746
|
+
export interface GetIndexRequest {
|
1747
|
+
/**
|
1748
|
+
* The identifier of the Amazon Q application connected to the index.
|
1749
|
+
*/
|
1750
|
+
applicationId: ApplicationId;
|
1751
|
+
/**
|
1752
|
+
* The identifier of the Amazon Q index you want information on.
|
1753
|
+
*/
|
1754
|
+
indexId: IndexId;
|
1755
|
+
}
|
1756
|
+
export interface GetIndexResponse {
|
1757
|
+
/**
|
1758
|
+
* The identifier of the Amazon Q application associated with the index.
|
1759
|
+
*/
|
1760
|
+
applicationId?: ApplicationId;
|
1761
|
+
/**
|
1762
|
+
* The storage capacity units chosen for your Amazon Q index.
|
1763
|
+
*/
|
1764
|
+
capacityConfiguration?: IndexCapacityConfiguration;
|
1765
|
+
/**
|
1766
|
+
* The Unix timestamp when the Amazon Q index was created.
|
1767
|
+
*/
|
1768
|
+
createdAt?: Timestamp;
|
1769
|
+
/**
|
1770
|
+
* The description for the Amazon Q index.
|
1771
|
+
*/
|
1772
|
+
description?: Description;
|
1773
|
+
/**
|
1774
|
+
* The name of the Amazon Q index.
|
1775
|
+
*/
|
1776
|
+
displayName?: IndexName;
|
1777
|
+
/**
|
1778
|
+
* Configuration information for document attributes or metadata. Document metadata are fields associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.
|
1779
|
+
*/
|
1780
|
+
documentAttributeConfigurations?: DocumentAttributeConfigurations;
|
1781
|
+
/**
|
1782
|
+
* When the Status field value is FAILED, the ErrorMessage field contains a message that explains why.
|
1783
|
+
*/
|
1784
|
+
error?: ErrorDetail;
|
1785
|
+
/**
|
1786
|
+
* The Amazon Resource Name (ARN) of the Amazon Q index.
|
1787
|
+
*/
|
1788
|
+
indexArn?: IndexArn;
|
1789
|
+
/**
|
1790
|
+
* The identifier of the Amazon Q index.
|
1791
|
+
*/
|
1792
|
+
indexId?: IndexId;
|
1793
|
+
/**
|
1794
|
+
* Provides information about the number of documents indexed.
|
1795
|
+
*/
|
1796
|
+
indexStatistics?: IndexStatistics;
|
1797
|
+
/**
|
1798
|
+
* The current status of the index. When the value is ACTIVE, the index is ready for use. If the Status field value is FAILED, the ErrorMessage field contains a message that explains why.
|
1799
|
+
*/
|
1800
|
+
status?: IndexStatus;
|
1801
|
+
/**
|
1802
|
+
* The Unix timestamp when the Amazon Q index was last updated.
|
1803
|
+
*/
|
1804
|
+
updatedAt?: Timestamp;
|
1805
|
+
}
|
1806
|
+
export interface GetPluginRequest {
|
1807
|
+
/**
|
1808
|
+
* The identifier of the application which contains the plugin.
|
1809
|
+
*/
|
1810
|
+
applicationId: ApplicationId;
|
1811
|
+
/**
|
1812
|
+
* The identifier of the plugin.
|
1813
|
+
*/
|
1814
|
+
pluginId: PluginId;
|
1815
|
+
}
|
1816
|
+
export interface GetPluginResponse {
|
1817
|
+
/**
|
1818
|
+
* The identifier of the application which contains the plugin.
|
1819
|
+
*/
|
1820
|
+
applicationId?: ApplicationId;
|
1821
|
+
authConfiguration?: PluginAuthConfiguration;
|
1822
|
+
/**
|
1823
|
+
* The timestamp for when the plugin was created.
|
1824
|
+
*/
|
1825
|
+
createdAt?: Timestamp;
|
1826
|
+
/**
|
1827
|
+
* The name of the plugin.
|
1828
|
+
*/
|
1829
|
+
displayName?: PluginName;
|
1830
|
+
/**
|
1831
|
+
* The Amazon Resource Name (ARN) of the role with permission to access resources needed to create the plugin.
|
1832
|
+
*/
|
1833
|
+
pluginArn?: PluginArn;
|
1834
|
+
/**
|
1835
|
+
* The identifier of the plugin.
|
1836
|
+
*/
|
1837
|
+
pluginId?: PluginId;
|
1838
|
+
/**
|
1839
|
+
* The source URL used for plugin configuration.
|
1840
|
+
*/
|
1841
|
+
serverUrl?: Url;
|
1842
|
+
/**
|
1843
|
+
* The current state of the plugin.
|
1844
|
+
*/
|
1845
|
+
state?: PluginState;
|
1846
|
+
/**
|
1847
|
+
* The type of the plugin.
|
1848
|
+
*/
|
1849
|
+
type?: PluginType;
|
1850
|
+
/**
|
1851
|
+
* The timestamp for when the plugin was last updated.
|
1852
|
+
*/
|
1853
|
+
updatedAt?: Timestamp;
|
1854
|
+
}
|
1855
|
+
export interface GetRetrieverRequest {
|
1856
|
+
/**
|
1857
|
+
* The identifier of the Amazon Q application using the retriever.
|
1858
|
+
*/
|
1859
|
+
applicationId: ApplicationId;
|
1860
|
+
/**
|
1861
|
+
* The identifier of the retriever.
|
1862
|
+
*/
|
1863
|
+
retrieverId: RetrieverId;
|
1864
|
+
}
|
1865
|
+
export interface GetRetrieverResponse {
|
1866
|
+
/**
|
1867
|
+
* The identifier of the Amazon Q application using the retriever.
|
1868
|
+
*/
|
1869
|
+
applicationId?: ApplicationId;
|
1870
|
+
configuration?: RetrieverConfiguration;
|
1871
|
+
/**
|
1872
|
+
* The Unix timestamp when the retriever was created.
|
1873
|
+
*/
|
1874
|
+
createdAt?: Timestamp;
|
1875
|
+
/**
|
1876
|
+
* The name of the retriever.
|
1877
|
+
*/
|
1878
|
+
displayName?: RetrieverName;
|
1879
|
+
/**
|
1880
|
+
* The Amazon Resource Name (ARN) of the IAM role associated with the retriever.
|
1881
|
+
*/
|
1882
|
+
retrieverArn?: RetrieverArn;
|
1883
|
+
/**
|
1884
|
+
* The identifier of the retriever.
|
1885
|
+
*/
|
1886
|
+
retrieverId?: RetrieverId;
|
1887
|
+
/**
|
1888
|
+
* The Amazon Resource Name (ARN) of the role with the permission to access the retriever and required resources.
|
1889
|
+
*/
|
1890
|
+
roleArn?: RoleArn;
|
1891
|
+
/**
|
1892
|
+
* The status of the retriever.
|
1893
|
+
*/
|
1894
|
+
status?: RetrieverStatus;
|
1895
|
+
/**
|
1896
|
+
* The type of the retriever.
|
1897
|
+
*/
|
1898
|
+
type?: RetrieverType;
|
1899
|
+
/**
|
1900
|
+
* The Unix timestamp when the retriever was last updated.
|
1901
|
+
*/
|
1902
|
+
updatedAt?: Timestamp;
|
1903
|
+
}
|
1904
|
+
export interface GetUserRequest {
|
1905
|
+
/**
|
1906
|
+
* The identifier of the application connected to the user.
|
1907
|
+
*/
|
1908
|
+
applicationId: ApplicationId;
|
1909
|
+
/**
|
1910
|
+
* The user email address attached to the user.
|
1911
|
+
*/
|
1912
|
+
userId: String;
|
1913
|
+
}
|
1914
|
+
export interface GetUserResponse {
|
1915
|
+
/**
|
1916
|
+
* A list of user aliases attached to a user.
|
1917
|
+
*/
|
1918
|
+
userAliases?: UserAliases;
|
1919
|
+
}
|
1920
|
+
export interface GetWebExperienceRequest {
|
1921
|
+
/**
|
1922
|
+
* The identifier of the Amazon Q application linked to the web experience.
|
1923
|
+
*/
|
1924
|
+
applicationId: ApplicationId;
|
1925
|
+
/**
|
1926
|
+
* The identifier of the Amazon Q web experience.
|
1927
|
+
*/
|
1928
|
+
webExperienceId: WebExperienceId;
|
1929
|
+
}
|
1930
|
+
export interface GetWebExperienceResponse {
|
1931
|
+
/**
|
1932
|
+
* The identifier of the Amazon Q application linked to the web experience.
|
1933
|
+
*/
|
1934
|
+
applicationId?: ApplicationId;
|
1935
|
+
/**
|
1936
|
+
* The authentication configuration information for your Amazon Q web experience.
|
1937
|
+
*/
|
1938
|
+
authenticationConfiguration?: WebExperienceAuthConfiguration;
|
1939
|
+
/**
|
1940
|
+
* The Unix timestamp when the retriever was created.
|
1941
|
+
*/
|
1942
|
+
createdAt?: Timestamp;
|
1943
|
+
/**
|
1944
|
+
* The endpoint of your Amazon Q web experience.
|
1945
|
+
*/
|
1946
|
+
defaultEndpoint?: Url;
|
1947
|
+
/**
|
1948
|
+
* When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source connector to fail.
|
1949
|
+
*/
|
1950
|
+
error?: ErrorDetail;
|
1951
|
+
/**
|
1952
|
+
* Determines whether sample prompts are enabled in the web experience for an end user.
|
1953
|
+
*/
|
1954
|
+
samplePromptsControlMode?: WebExperienceSamplePromptsControlMode;
|
1955
|
+
/**
|
1956
|
+
* The current status of the Amazon Q web experience. When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source connector to fail.
|
1957
|
+
*/
|
1958
|
+
status?: WebExperienceStatus;
|
1959
|
+
/**
|
1960
|
+
* The subtitle for your Amazon Q web experience.
|
1961
|
+
*/
|
1962
|
+
subtitle?: WebExperienceSubtitle;
|
1963
|
+
/**
|
1964
|
+
* The title for your Amazon Q web experience.
|
1965
|
+
*/
|
1966
|
+
title?: WebExperienceTitle;
|
1967
|
+
/**
|
1968
|
+
* The Unix timestamp when the data source connector was last updated.
|
1969
|
+
*/
|
1970
|
+
updatedAt?: Timestamp;
|
1971
|
+
/**
|
1972
|
+
* The Amazon Resource Name (ARN) of the role with the permission to access the Amazon Q web experience and required resources.
|
1973
|
+
*/
|
1974
|
+
webExperienceArn?: WebExperienceArn;
|
1975
|
+
/**
|
1976
|
+
* The identifier of the Amazon Q web experience.
|
1977
|
+
*/
|
1978
|
+
webExperienceId?: WebExperienceId;
|
1979
|
+
/**
|
1980
|
+
* The customized welcome message for end users of an Amazon Q web experience.
|
1981
|
+
*/
|
1982
|
+
welcomeMessage?: WebExperienceWelcomeMessage;
|
1983
|
+
}
|
1984
|
+
export interface GroupMembers {
|
1985
|
+
/**
|
1986
|
+
* A list of sub groups that belong to a group. For example, the sub groups "Research", "Engineering", and "Sales and Marketing" all belong to the group "Company".
|
1987
|
+
*/
|
1988
|
+
memberGroups?: MemberGroups;
|
1989
|
+
/**
|
1990
|
+
* A list of users that belong to a group. For example, a list of interns all belong to the "Interns" group.
|
1991
|
+
*/
|
1992
|
+
memberUsers?: MemberUsers;
|
1993
|
+
}
|
1994
|
+
export type GroupName = string;
|
1995
|
+
export type GroupStatus = "FAILED"|"SUCCEEDED"|"PROCESSING"|"DELETING"|"DELETED"|string;
|
1996
|
+
export interface GroupStatusDetail {
|
1997
|
+
/**
|
1998
|
+
* The details of an error associated a group status.
|
1999
|
+
*/
|
2000
|
+
errorDetail?: ErrorDetail;
|
2001
|
+
/**
|
2002
|
+
* The Unix timestamp when the Amazon Q application was last updated.
|
2003
|
+
*/
|
2004
|
+
lastUpdatedAt?: Timestamp;
|
2005
|
+
/**
|
2006
|
+
* The status of a group.
|
2007
|
+
*/
|
2008
|
+
status?: GroupStatus;
|
2009
|
+
}
|
2010
|
+
export type GroupStatusDetails = GroupStatusDetail[];
|
2011
|
+
export interface GroupSummary {
|
2012
|
+
/**
|
2013
|
+
* The name of the group the summary information is for.
|
2014
|
+
*/
|
2015
|
+
groupName?: GroupName;
|
2016
|
+
}
|
2017
|
+
export type GroupSummaryList = GroupSummary[];
|
2018
|
+
export interface HookConfiguration {
|
2019
|
+
/**
|
2020
|
+
* The condition used for when a Lambda function should be invoked. For example, you can specify a condition that if there are empty date-time values, then Amazon Q should invoke a function that inserts the current date-time.
|
2021
|
+
*/
|
2022
|
+
invocationCondition?: DocumentAttributeCondition;
|
2023
|
+
/**
|
2024
|
+
* The Amazon Resource Name (ARN) of a role with permission to run a Lambda function during ingestion. For more information, see IAM roles for Custom Document Enrichment (CDE).
|
2025
|
+
*/
|
2026
|
+
lambdaArn?: LambdaArn;
|
2027
|
+
/**
|
2028
|
+
* The Amazon Resource Name (ARN) of a role with permission to run PreExtractionHookConfiguration and PostExtractionHookConfiguration for altering document metadata and content during the document ingestion process.
|
2029
|
+
*/
|
2030
|
+
roleArn?: RoleArn;
|
2031
|
+
/**
|
2032
|
+
* Stores the original, raw documents or the structured, parsed documents before and after altering them. For more information, see Data contracts for Lambda functions.
|
2033
|
+
*/
|
2034
|
+
s3BucketName?: S3BucketName;
|
2035
|
+
}
|
2036
|
+
export interface Index {
|
2037
|
+
/**
|
2038
|
+
* The Unix timestamp when the index was created.
|
2039
|
+
*/
|
2040
|
+
createdAt?: Timestamp;
|
2041
|
+
/**
|
2042
|
+
* The name of the index.
|
2043
|
+
*/
|
2044
|
+
displayName?: IndexName;
|
2045
|
+
/**
|
2046
|
+
* The identifier for the index.
|
2047
|
+
*/
|
2048
|
+
indexId?: IndexId;
|
2049
|
+
/**
|
2050
|
+
* The current status of the index. When the status is ACTIVE, the index is ready.
|
2051
|
+
*/
|
2052
|
+
status?: IndexStatus;
|
2053
|
+
/**
|
2054
|
+
* The Unix timestamp when the index was last updated.
|
2055
|
+
*/
|
2056
|
+
updatedAt?: Timestamp;
|
2057
|
+
}
|
2058
|
+
export type IndexArn = string;
|
2059
|
+
export interface IndexCapacityConfiguration {
|
2060
|
+
/**
|
2061
|
+
* The number of storage units configured for an Amazon Q index.
|
2062
|
+
*/
|
2063
|
+
units?: IndexCapacityInteger;
|
2064
|
+
}
|
2065
|
+
export type IndexCapacityInteger = number;
|
2066
|
+
export type IndexId = string;
|
2067
|
+
export type IndexName = string;
|
2068
|
+
export interface IndexStatistics {
|
2069
|
+
/**
|
2070
|
+
* The number of documents indexed.
|
2071
|
+
*/
|
2072
|
+
textDocumentStatistics?: TextDocumentStatistics;
|
2073
|
+
}
|
2074
|
+
export type IndexStatus = "CREATING"|"ACTIVE"|"DELETING"|"FAILED"|"UPDATING"|string;
|
2075
|
+
export type IndexedTextBytes = number;
|
2076
|
+
export type IndexedTextDocument = number;
|
2077
|
+
export type Indices = Index[];
|
2078
|
+
export interface InlineDocumentEnrichmentConfiguration {
|
2079
|
+
condition?: DocumentAttributeCondition;
|
2080
|
+
/**
|
2081
|
+
* TRUE to delete content if the condition used for the target attribute is met.
|
2082
|
+
*/
|
2083
|
+
documentContentOperator?: DocumentContentOperator;
|
2084
|
+
target?: DocumentAttributeTarget;
|
2085
|
+
}
|
2086
|
+
export type InlineDocumentEnrichmentConfigurations = InlineDocumentEnrichmentConfiguration[];
|
2087
|
+
export type Integer = number;
|
2088
|
+
export interface KendraIndexConfiguration {
|
2089
|
+
/**
|
2090
|
+
* The identifier of the Amazon Kendra index.
|
2091
|
+
*/
|
2092
|
+
indexId: KendraIndexId;
|
2093
|
+
}
|
2094
|
+
export type KendraIndexId = string;
|
2095
|
+
export type KmsKeyId = string;
|
2096
|
+
export type LambdaArn = string;
|
2097
|
+
export interface ListApplicationsRequest {
|
2098
|
+
/**
|
2099
|
+
* The maximum number of Amazon Q applications to return.
|
2100
|
+
*/
|
2101
|
+
maxResults?: MaxResultsIntegerForListApplications;
|
2102
|
+
/**
|
2103
|
+
* If the maxResults response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q applications.
|
2104
|
+
*/
|
2105
|
+
nextToken?: NextToken;
|
2106
|
+
}
|
2107
|
+
export interface ListApplicationsResponse {
|
2108
|
+
/**
|
2109
|
+
* An array of summary information on the configuration of one or more Amazon Q applications.
|
2110
|
+
*/
|
2111
|
+
applications?: Applications;
|
2112
|
+
/**
|
2113
|
+
* If the response is truncated, Amazon Q returns this token. You can use this token in a subsequent request to retrieve the next set of applications.
|
2114
|
+
*/
|
2115
|
+
nextToken?: NextToken;
|
2116
|
+
}
|
2117
|
+
export interface ListConversationsRequest {
|
2118
|
+
/**
|
2119
|
+
* The identifier of the Amazon Q application.
|
2120
|
+
*/
|
2121
|
+
applicationId: ApplicationId;
|
2122
|
+
/**
|
2123
|
+
* The maximum number of Amazon Q conversations to return.
|
2124
|
+
*/
|
2125
|
+
maxResults?: MaxResultsIntegerForListConversations;
|
2126
|
+
/**
|
2127
|
+
* If the maxResults response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q conversations.
|
2128
|
+
*/
|
2129
|
+
nextToken?: NextToken;
|
2130
|
+
/**
|
2131
|
+
* The identifier of the user involved in the Amazon Q web experience conversation.
|
2132
|
+
*/
|
2133
|
+
userId: UserId;
|
2134
|
+
}
|
2135
|
+
export interface ListConversationsResponse {
|
2136
|
+
/**
|
2137
|
+
* An array of summary information on the configuration of one or more Amazon Q web experiences.
|
2138
|
+
*/
|
2139
|
+
conversations?: Conversations;
|
2140
|
+
/**
|
2141
|
+
* If the response is truncated, Amazon Q returns this token, which you can use in a later request to list the next set of messages.
|
2142
|
+
*/
|
2143
|
+
nextToken?: NextToken;
|
2144
|
+
}
|
2145
|
+
export interface ListDataSourceSyncJobsRequest {
|
2146
|
+
/**
|
2147
|
+
* The identifier of the Amazon Q application connected to the data source.
|
2148
|
+
*/
|
2149
|
+
applicationId: ApplicationId;
|
2150
|
+
/**
|
2151
|
+
* The identifier of the data source connector.
|
2152
|
+
*/
|
2153
|
+
dataSourceId: DataSourceId;
|
2154
|
+
/**
|
2155
|
+
* The end time of the data source connector sync.
|
2156
|
+
*/
|
2157
|
+
endTime?: Timestamp;
|
2158
|
+
/**
|
2159
|
+
* The identifier of the index used with the Amazon Q data source connector.
|
2160
|
+
*/
|
2161
|
+
indexId: IndexId;
|
2162
|
+
/**
|
2163
|
+
* The maximum number of synchronization jobs to return in the response.
|
2164
|
+
*/
|
2165
|
+
maxResults?: MaxResultsIntegerForListDataSourcesSyncJobs;
|
2166
|
+
/**
|
2167
|
+
* If the maxResults response was incpmplete because there is more data to retriever, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of responses.
|
2168
|
+
*/
|
2169
|
+
nextToken?: NextToken;
|
2170
|
+
/**
|
2171
|
+
* The start time of the data source connector sync.
|
2172
|
+
*/
|
2173
|
+
startTime?: Timestamp;
|
2174
|
+
/**
|
2175
|
+
* Only returns synchronization jobs with the Status field equal to the specified status.
|
2176
|
+
*/
|
2177
|
+
statusFilter?: DataSourceSyncJobStatus;
|
2178
|
+
}
|
2179
|
+
export interface ListDataSourceSyncJobsResponse {
|
2180
|
+
/**
|
2181
|
+
* A history of synchronization jobs for the data source connector.
|
2182
|
+
*/
|
2183
|
+
history?: DataSourceSyncJobs;
|
2184
|
+
/**
|
2185
|
+
* If the response is truncated, Amazon Q returns this token. You can use this token in any subsequent request to retrieve the next set of jobs.
|
2186
|
+
*/
|
2187
|
+
nextToken?: NextToken;
|
2188
|
+
}
|
2189
|
+
export interface ListDataSourcesRequest {
|
2190
|
+
/**
|
2191
|
+
* The identifier of the Amazon Q application linked to the data source connectors.
|
2192
|
+
*/
|
2193
|
+
applicationId: ApplicationId;
|
2194
|
+
/**
|
2195
|
+
* The identifier of the index used with one or more data source connectors.
|
2196
|
+
*/
|
2197
|
+
indexId: IndexId;
|
2198
|
+
/**
|
2199
|
+
* The maximum number of data source connectors to return.
|
2200
|
+
*/
|
2201
|
+
maxResults?: MaxResultsIntegerForListDataSources;
|
2202
|
+
/**
|
2203
|
+
* If the maxResults response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q data source connectors.
|
2204
|
+
*/
|
2205
|
+
nextToken?: NextToken;
|
2206
|
+
}
|
2207
|
+
export interface ListDataSourcesResponse {
|
2208
|
+
/**
|
2209
|
+
* An array of summary information for one or more data source connector.
|
2210
|
+
*/
|
2211
|
+
dataSources?: DataSources;
|
2212
|
+
/**
|
2213
|
+
* If the response is truncated, Amazon Q returns this token. You can use this token in a subsequent request to retrieve the next set of data source connectors.
|
2214
|
+
*/
|
2215
|
+
nextToken?: NextToken;
|
2216
|
+
}
|
2217
|
+
export interface ListDocumentsRequest {
|
2218
|
+
/**
|
2219
|
+
* The identifier of the application id the documents are attached to.
|
2220
|
+
*/
|
2221
|
+
applicationId: ApplicationId;
|
2222
|
+
/**
|
2223
|
+
* The identifier of the data sources the documents are attached to.
|
2224
|
+
*/
|
2225
|
+
dataSourceIds?: DataSourceIds;
|
2226
|
+
/**
|
2227
|
+
* The identifier of the index the documents are attached to.
|
2228
|
+
*/
|
2229
|
+
indexId: IndexId;
|
2230
|
+
/**
|
2231
|
+
* The maximum number of documents to return.
|
2232
|
+
*/
|
2233
|
+
maxResults?: MaxResultsIntegerForListDocuments;
|
2234
|
+
/**
|
2235
|
+
* If the maxResults response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of documents.
|
2236
|
+
*/
|
2237
|
+
nextToken?: NextToken;
|
2238
|
+
}
|
2239
|
+
export interface ListDocumentsResponse {
|
2240
|
+
/**
|
2241
|
+
* A list of document details.
|
2242
|
+
*/
|
2243
|
+
documentDetailList?: DocumentDetailList;
|
2244
|
+
/**
|
2245
|
+
* If the maxResults response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of documents.
|
2246
|
+
*/
|
2247
|
+
nextToken?: NextToken;
|
2248
|
+
}
|
2249
|
+
export interface ListGroupsRequest {
|
2250
|
+
/**
|
2251
|
+
* The identifier of the application for getting a list of groups mapped to users.
|
2252
|
+
*/
|
2253
|
+
applicationId: ApplicationId;
|
2254
|
+
/**
|
2255
|
+
* The identifier of the data source for getting a list of groups mapped to users.
|
2256
|
+
*/
|
2257
|
+
dataSourceId?: DataSourceId;
|
2258
|
+
/**
|
2259
|
+
* The identifier of the index for getting a list of groups mapped to users.
|
2260
|
+
*/
|
2261
|
+
indexId: IndexId;
|
2262
|
+
/**
|
2263
|
+
* The maximum number of returned groups that are mapped to users.
|
2264
|
+
*/
|
2265
|
+
maxResults?: MaxResultsIntegerForListGroupsRequest;
|
2266
|
+
/**
|
2267
|
+
* If the previous response was incomplete (because there is more data to retrieve), Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of groups that are mapped to users.
|
2268
|
+
*/
|
2269
|
+
nextToken?: NextToken;
|
2270
|
+
/**
|
2271
|
+
* The timestamp identifier used for the latest PUT or DELETE action for mapping users to their groups.
|
2272
|
+
*/
|
2273
|
+
updatedEarlierThan: Timestamp;
|
2274
|
+
}
|
2275
|
+
export interface ListGroupsResponse {
|
2276
|
+
/**
|
2277
|
+
* Summary information for list of groups that are mapped to users.
|
2278
|
+
*/
|
2279
|
+
items?: GroupSummaryList;
|
2280
|
+
/**
|
2281
|
+
* If the response is truncated, Amazon Q returns this token that you can use in the subsequent request to retrieve the next set of groups that are mapped to users.
|
2282
|
+
*/
|
2283
|
+
nextToken?: NextToken;
|
2284
|
+
}
|
2285
|
+
export interface ListIndicesRequest {
|
2286
|
+
/**
|
2287
|
+
* The identifier of the Amazon Q application connected to the index.
|
2288
|
+
*/
|
2289
|
+
applicationId: ApplicationId;
|
2290
|
+
/**
|
2291
|
+
* The maximum number of indices to return.
|
2292
|
+
*/
|
2293
|
+
maxResults?: MaxResultsIntegerForListIndices;
|
2294
|
+
/**
|
2295
|
+
* If the maxResults response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q indices.
|
2296
|
+
*/
|
2297
|
+
nextToken?: NextToken;
|
2298
|
+
}
|
2299
|
+
export interface ListIndicesResponse {
|
2300
|
+
/**
|
2301
|
+
* An array of information on the items in one or more indexes.
|
2302
|
+
*/
|
2303
|
+
indices?: Indices;
|
2304
|
+
/**
|
2305
|
+
* If the response is truncated, Amazon Q returns this token that you can use in the subsequent request to retrieve the next set of indexes.
|
2306
|
+
*/
|
2307
|
+
nextToken?: NextToken;
|
2308
|
+
}
|
2309
|
+
export interface ListMessagesRequest {
|
2310
|
+
/**
|
2311
|
+
* The identifier for the Amazon Q application.
|
2312
|
+
*/
|
2313
|
+
applicationId: ApplicationId;
|
2314
|
+
/**
|
2315
|
+
* The identifier of the Amazon Q web experience conversation.
|
2316
|
+
*/
|
2317
|
+
conversationId: ConversationId;
|
2318
|
+
/**
|
2319
|
+
* The maximum number of messages to return.
|
2320
|
+
*/
|
2321
|
+
maxResults?: MaxResultsIntegerForListMessages;
|
2322
|
+
/**
|
2323
|
+
* If the number of retrievers returned exceeds maxResults, Amazon Q returns a next token as a pagination token to retrieve the next set of messages.
|
2324
|
+
*/
|
2325
|
+
nextToken?: NextToken;
|
2326
|
+
/**
|
2327
|
+
* The identifier of the user involved in the Amazon Q web experience conversation.
|
2328
|
+
*/
|
2329
|
+
userId: UserId;
|
2330
|
+
}
|
2331
|
+
export interface ListMessagesResponse {
|
2332
|
+
/**
|
2333
|
+
* An array of information on one or more messages.
|
2334
|
+
*/
|
2335
|
+
messages?: Messages;
|
2336
|
+
/**
|
2337
|
+
* If the response is truncated, Amazon Q returns this token, which you can use in a later request to list the next set of messages.
|
2338
|
+
*/
|
2339
|
+
nextToken?: NextToken;
|
2340
|
+
}
|
2341
|
+
export interface ListPluginsRequest {
|
2342
|
+
/**
|
2343
|
+
* The identifier of the application the plugin is attached to.
|
2344
|
+
*/
|
2345
|
+
applicationId: ApplicationId;
|
2346
|
+
/**
|
2347
|
+
* The maximum number of documents to return.
|
2348
|
+
*/
|
2349
|
+
maxResults?: MaxResultsIntegerForListPlugins;
|
2350
|
+
/**
|
2351
|
+
* If the maxResults response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of plugins.
|
2352
|
+
*/
|
2353
|
+
nextToken?: NextToken;
|
2354
|
+
}
|
2355
|
+
export interface ListPluginsResponse {
|
2356
|
+
/**
|
2357
|
+
* If the maxResults response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of plugins.
|
2358
|
+
*/
|
2359
|
+
nextToken?: NextToken;
|
2360
|
+
/**
|
2361
|
+
* Information about a configured plugin.
|
2362
|
+
*/
|
2363
|
+
plugins?: Plugins;
|
2364
|
+
}
|
2365
|
+
export interface ListRetrieversRequest {
|
2366
|
+
/**
|
2367
|
+
* The identifier of the Amazon Q application using the retriever.
|
2368
|
+
*/
|
2369
|
+
applicationId: ApplicationId;
|
2370
|
+
/**
|
2371
|
+
* The maximum number of retrievers returned.
|
2372
|
+
*/
|
2373
|
+
maxResults?: MaxResultsIntegerForListRetrieversRequest;
|
2374
|
+
/**
|
2375
|
+
* If the number of retrievers returned exceeds maxResults, Amazon Q returns a next token as a pagination token to retrieve the next set of retrievers.
|
2376
|
+
*/
|
2377
|
+
nextToken?: NextToken;
|
2378
|
+
}
|
2379
|
+
export interface ListRetrieversResponse {
|
2380
|
+
/**
|
2381
|
+
* If the response is truncated, Amazon Q returns this token, which you can use in a later request to list the next set of retrievers.
|
2382
|
+
*/
|
2383
|
+
nextToken?: NextToken;
|
2384
|
+
/**
|
2385
|
+
* An array of summary information for one or more retrievers.
|
2386
|
+
*/
|
2387
|
+
retrievers?: Retrievers;
|
2388
|
+
}
|
2389
|
+
export interface ListTagsForResourceRequest {
|
2390
|
+
/**
|
2391
|
+
* The Amazon Resource Name (ARN) of the Amazon Q application or data source to get a list of tags for.
|
2392
|
+
*/
|
2393
|
+
resourceARN: AmazonResourceName;
|
2394
|
+
}
|
2395
|
+
export interface ListTagsForResourceResponse {
|
2396
|
+
/**
|
2397
|
+
* A list of tags associated with the Amazon Q application or data source.
|
2398
|
+
*/
|
2399
|
+
tags?: Tags;
|
2400
|
+
}
|
2401
|
+
export interface ListWebExperiencesRequest {
|
2402
|
+
/**
|
2403
|
+
* The identifier of the Amazon Q application linked to the listed web experiences.
|
2404
|
+
*/
|
2405
|
+
applicationId: ApplicationId;
|
2406
|
+
/**
|
2407
|
+
* The maximum number of Amazon Q Web Experiences to return.
|
2408
|
+
*/
|
2409
|
+
maxResults?: MaxResultsIntegerForListWebExperiencesRequest;
|
2410
|
+
/**
|
2411
|
+
* If the maxResults response was incomplete because there is more data to retrieve, Amazon Q returns a pagination token in the response. You can use this pagination token to retrieve the next set of Amazon Q conversations.
|
2412
|
+
*/
|
2413
|
+
nextToken?: NextToken;
|
2414
|
+
}
|
2415
|
+
export interface ListWebExperiencesResponse {
|
2416
|
+
/**
|
2417
|
+
* If the response is truncated, Amazon Q returns this token, which you can use in a later request to list the next set of messages.
|
2418
|
+
*/
|
2419
|
+
nextToken?: NextToken;
|
2420
|
+
/**
|
2421
|
+
* An array of summary information for one or more Amazon Q experiences.
|
2422
|
+
*/
|
2423
|
+
webExperiences?: WebExperiences;
|
2424
|
+
}
|
2425
|
+
export type Long = number;
|
2426
|
+
export type MaxResultsIntegerForGetTopicConfigurations = number;
|
2427
|
+
export type MaxResultsIntegerForListApplications = number;
|
2428
|
+
export type MaxResultsIntegerForListConversations = number;
|
2429
|
+
export type MaxResultsIntegerForListDataSources = number;
|
2430
|
+
export type MaxResultsIntegerForListDataSourcesSyncJobs = number;
|
2431
|
+
export type MaxResultsIntegerForListDocuments = number;
|
2432
|
+
export type MaxResultsIntegerForListGroupsRequest = number;
|
2433
|
+
export type MaxResultsIntegerForListIndices = number;
|
2434
|
+
export type MaxResultsIntegerForListMessages = number;
|
2435
|
+
export type MaxResultsIntegerForListPlugins = number;
|
2436
|
+
export type MaxResultsIntegerForListRetrieversRequest = number;
|
2437
|
+
export type MaxResultsIntegerForListWebExperiencesRequest = number;
|
2438
|
+
export interface MemberGroup {
|
2439
|
+
/**
|
2440
|
+
* The name of the sub group.
|
2441
|
+
*/
|
2442
|
+
groupName: GroupName;
|
2443
|
+
/**
|
2444
|
+
* The type of the sub group.
|
2445
|
+
*/
|
2446
|
+
type?: MembershipType;
|
2447
|
+
}
|
2448
|
+
export type MemberGroups = MemberGroup[];
|
2449
|
+
export type MemberRelation = "AND"|"OR"|string;
|
2450
|
+
export interface MemberUser {
|
2451
|
+
/**
|
2452
|
+
* The type of the user.
|
2453
|
+
*/
|
2454
|
+
type?: MembershipType;
|
2455
|
+
/**
|
2456
|
+
* The identifier of the user you want to map to a group.
|
2457
|
+
*/
|
2458
|
+
userId: DataSourceUserId;
|
2459
|
+
}
|
2460
|
+
export type MemberUsers = MemberUser[];
|
2461
|
+
export type MembershipType = "INDEX"|"DATASOURCE"|string;
|
2462
|
+
export interface Message {
|
2463
|
+
actionExecution?: ActionExecution;
|
2464
|
+
actionReview?: ActionReview;
|
2465
|
+
/**
|
2466
|
+
* A file directly uploaded into an Amazon Q web experience chat.
|
2467
|
+
*/
|
2468
|
+
attachments?: AttachmentsOutput;
|
2469
|
+
/**
|
2470
|
+
* The content of the Amazon Q web experience message.
|
2471
|
+
*/
|
2472
|
+
body?: MessageBody;
|
2473
|
+
/**
|
2474
|
+
* The identifier of the Amazon Q web experience message.
|
2475
|
+
*/
|
2476
|
+
messageId?: String;
|
2477
|
+
/**
|
2478
|
+
* The source documents used to generate Amazon Q web experience message.
|
2479
|
+
*/
|
2480
|
+
sourceAttribution?: SourceAttributions;
|
2481
|
+
/**
|
2482
|
+
* The timestamp of the first Amazon Q web experience message.
|
2483
|
+
*/
|
2484
|
+
time?: Timestamp;
|
2485
|
+
/**
|
2486
|
+
* The type of Amazon Q message, whether HUMAN or AI generated.
|
2487
|
+
*/
|
2488
|
+
type?: MessageType;
|
2489
|
+
}
|
2490
|
+
export type MessageBody = string;
|
2491
|
+
export type MessageId = string;
|
2492
|
+
export type MessageType = "USER"|"SYSTEM"|string;
|
2493
|
+
export type MessageUsefulness = "USEFUL"|"NOT_USEFUL"|string;
|
2494
|
+
export type MessageUsefulnessComment = string;
|
2495
|
+
export interface MessageUsefulnessFeedback {
|
2496
|
+
/**
|
2497
|
+
* A comment given by an end user on the usefulness of an AI-generated chat message.
|
2498
|
+
*/
|
2499
|
+
comment?: MessageUsefulnessComment;
|
2500
|
+
/**
|
2501
|
+
* The reason for a usefulness rating.
|
2502
|
+
*/
|
2503
|
+
reason?: MessageUsefulnessReason;
|
2504
|
+
/**
|
2505
|
+
* The timestamp for when the feedback was submitted.
|
2506
|
+
*/
|
2507
|
+
submittedAt: Timestamp;
|
2508
|
+
/**
|
2509
|
+
* The usefulness value assigned by an end user to a message.
|
2510
|
+
*/
|
2511
|
+
usefulness: MessageUsefulness;
|
2512
|
+
}
|
2513
|
+
export type MessageUsefulnessReason = "NOT_FACTUALLY_CORRECT"|"HARMFUL_OR_UNSAFE"|"INCORRECT_OR_MISSING_SOURCES"|"NOT_HELPFUL"|"FACTUALLY_CORRECT"|"COMPLETE"|"RELEVANT_SOURCES"|"HELPFUL"|string;
|
2514
|
+
export type Messages = Message[];
|
2515
|
+
export type MetricValue = string;
|
2516
|
+
export interface NativeIndexConfiguration {
|
2517
|
+
/**
|
2518
|
+
* The identifier for the Amazon Q index.
|
2519
|
+
*/
|
2520
|
+
indexId: IndexId;
|
2521
|
+
}
|
2522
|
+
export type NextToken = string;
|
2523
|
+
export interface OAuth2ClientCredentialConfiguration {
|
2524
|
+
/**
|
2525
|
+
* The ARN of an IAM role used by Amazon Q to access the OAuth 2.0 authentication credentials stored in a Secrets Manager secret.
|
2526
|
+
*/
|
2527
|
+
roleArn: RoleArn;
|
2528
|
+
/**
|
2529
|
+
* The ARN of the Secrets Manager secret that stores the OAuth 2.0 credentials/token used for plugin configuration.
|
2530
|
+
*/
|
2531
|
+
secretArn: SecretArn;
|
2532
|
+
}
|
2533
|
+
export interface Plugin {
|
2534
|
+
/**
|
2535
|
+
* The timestamp for when the plugin was created.
|
2536
|
+
*/
|
2537
|
+
createdAt?: Timestamp;
|
2538
|
+
/**
|
2539
|
+
* The name of the plugin.
|
2540
|
+
*/
|
2541
|
+
displayName?: PluginName;
|
2542
|
+
/**
|
2543
|
+
* The identifier of the plugin.
|
2544
|
+
*/
|
2545
|
+
pluginId?: PluginId;
|
2546
|
+
/**
|
2547
|
+
* The plugin server URL used for configuration.
|
2548
|
+
*/
|
2549
|
+
serverUrl?: Url;
|
2550
|
+
/**
|
2551
|
+
* The current status of the plugin.
|
2552
|
+
*/
|
2553
|
+
state?: PluginState;
|
2554
|
+
/**
|
2555
|
+
* The type of the plugin.
|
2556
|
+
*/
|
2557
|
+
type?: PluginType;
|
2558
|
+
/**
|
2559
|
+
* The timestamp for when the plugin was last updated.
|
2560
|
+
*/
|
2561
|
+
updatedAt?: Timestamp;
|
2562
|
+
}
|
2563
|
+
export type PluginArn = string;
|
2564
|
+
export interface PluginAuthConfiguration {
|
2565
|
+
/**
|
2566
|
+
* Information about the basic authentication credentials used to configure a plugin.
|
2567
|
+
*/
|
2568
|
+
basicAuthConfiguration?: BasicAuthConfiguration;
|
2569
|
+
/**
|
2570
|
+
* Information about the OAuth 2.0 authentication credential/token used to configure a plugin.
|
2571
|
+
*/
|
2572
|
+
oAuth2ClientCredentialConfiguration?: OAuth2ClientCredentialConfiguration;
|
2573
|
+
}
|
2574
|
+
export type PluginId = string;
|
2575
|
+
export type PluginName = string;
|
2576
|
+
export type PluginState = "ENABLED"|"DISABLED"|string;
|
2577
|
+
export type PluginType = "SERVICE_NOW"|"SALESFORCE"|"JIRA"|"ZENDESK"|string;
|
2578
|
+
export type Plugins = Plugin[];
|
2579
|
+
export interface Principal {
|
2580
|
+
/**
|
2581
|
+
* The group associated with the principal.
|
2582
|
+
*/
|
2583
|
+
group?: PrincipalGroup;
|
2584
|
+
/**
|
2585
|
+
* The user associated with the principal.
|
2586
|
+
*/
|
2587
|
+
user?: PrincipalUser;
|
2588
|
+
}
|
2589
|
+
export interface PrincipalGroup {
|
2590
|
+
/**
|
2591
|
+
* Provides information about whether to allow or deny access to the principal.
|
2592
|
+
*/
|
2593
|
+
access: ReadAccessType;
|
2594
|
+
/**
|
2595
|
+
* The type of group.
|
2596
|
+
*/
|
2597
|
+
membershipType?: MembershipType;
|
2598
|
+
/**
|
2599
|
+
* The name of the group.
|
2600
|
+
*/
|
2601
|
+
name?: GroupName;
|
2602
|
+
}
|
2603
|
+
export interface PrincipalUser {
|
2604
|
+
/**
|
2605
|
+
* Provides information about whether to allow or deny access to the principal.
|
2606
|
+
*/
|
2607
|
+
access: ReadAccessType;
|
2608
|
+
/**
|
2609
|
+
* The identifier of the user.
|
2610
|
+
*/
|
2611
|
+
id?: UserId;
|
2612
|
+
/**
|
2613
|
+
* The type of group.
|
2614
|
+
*/
|
2615
|
+
membershipType?: MembershipType;
|
2616
|
+
}
|
2617
|
+
export type Principals = Principal[];
|
2618
|
+
export interface PutFeedbackRequest {
|
2619
|
+
/**
|
2620
|
+
* The identifier of the application associated with the feedback.
|
2621
|
+
*/
|
2622
|
+
applicationId: ApplicationId;
|
2623
|
+
/**
|
2624
|
+
* The identifier of the conversation the feedback is attached to.
|
2625
|
+
*/
|
2626
|
+
conversationId: ConversationId;
|
2627
|
+
/**
|
2628
|
+
* The timestamp for when the feedback was recorded.
|
2629
|
+
*/
|
2630
|
+
messageCopiedAt?: Timestamp;
|
2631
|
+
/**
|
2632
|
+
* The identifier of the chat message that the feedback was given for.
|
2633
|
+
*/
|
2634
|
+
messageId: SystemMessageId;
|
2635
|
+
/**
|
2636
|
+
* The feedback usefulness value given by the user to the chat message.
|
2637
|
+
*/
|
2638
|
+
messageUsefulness?: MessageUsefulnessFeedback;
|
2639
|
+
/**
|
2640
|
+
* The identifier of the user giving the feedback.
|
2641
|
+
*/
|
2642
|
+
userId: UserId;
|
2643
|
+
}
|
2644
|
+
export interface PutGroupRequest {
|
2645
|
+
/**
|
2646
|
+
* The identifier of the application in which the user and group mapping belongs.
|
2647
|
+
*/
|
2648
|
+
applicationId: ApplicationId;
|
2649
|
+
/**
|
2650
|
+
* The identifier of the data source for which you want to map users to their groups. This is useful if a group is tied to multiple data sources, but you only want the group to access documents of a certain data source. For example, the groups "Research", "Engineering", and "Sales and Marketing" are all tied to the company's documents stored in the data sources Confluence and Salesforce. However, "Sales and Marketing" team only needs access to customer-related documents stored in Salesforce.
|
2651
|
+
*/
|
2652
|
+
dataSourceId?: DataSourceId;
|
2653
|
+
groupMembers: GroupMembers;
|
2654
|
+
/**
|
2655
|
+
* The list that contains your users or sub groups that belong the same group. For example, the group "Company" includes the user "CEO" and the sub groups "Research", "Engineering", and "Sales and Marketing". If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.
|
2656
|
+
*/
|
2657
|
+
groupName: GroupName;
|
2658
|
+
/**
|
2659
|
+
* The identifier of the index in which you want to map users to their groups.
|
2660
|
+
*/
|
2661
|
+
indexId: IndexId;
|
2662
|
+
/**
|
2663
|
+
* The type of the group.
|
2664
|
+
*/
|
2665
|
+
type: MembershipType;
|
2666
|
+
}
|
2667
|
+
export interface PutGroupResponse {
|
2668
|
+
}
|
2669
|
+
export type ReadAccessType = "ALLOW"|"DENY"|string;
|
2670
|
+
export type ResponseScope = "ENTERPRISE_CONTENT_ONLY"|"EXTENDED_KNOWLEDGE_ENABLED"|string;
|
2671
|
+
export interface Retriever {
|
2672
|
+
/**
|
2673
|
+
* The identifier of the Amazon Q application using the retriever.
|
2674
|
+
*/
|
2675
|
+
applicationId?: ApplicationId;
|
2676
|
+
/**
|
2677
|
+
* The name of your retriever.
|
2678
|
+
*/
|
2679
|
+
displayName?: RetrieverName;
|
2680
|
+
/**
|
2681
|
+
* The identifier of the retriever used by your Amazon Q application.
|
2682
|
+
*/
|
2683
|
+
retrieverId?: RetrieverId;
|
2684
|
+
/**
|
2685
|
+
* The status of your retriever.
|
2686
|
+
*/
|
2687
|
+
status?: RetrieverStatus;
|
2688
|
+
/**
|
2689
|
+
* The type of your retriever.
|
2690
|
+
*/
|
2691
|
+
type?: RetrieverType;
|
2692
|
+
}
|
2693
|
+
export type RetrieverArn = string;
|
2694
|
+
export interface RetrieverConfiguration {
|
2695
|
+
/**
|
2696
|
+
* Provides information on how the Amazon Kendra index used as a retriever for your Amazon Q application is configured.
|
2697
|
+
*/
|
2698
|
+
kendraIndexConfiguration?: KendraIndexConfiguration;
|
2699
|
+
/**
|
2700
|
+
* Provides information on how a Amazon Q index used as a retriever for your Amazon Q application is configured.
|
2701
|
+
*/
|
2702
|
+
nativeIndexConfiguration?: NativeIndexConfiguration;
|
2703
|
+
}
|
2704
|
+
export type RetrieverId = string;
|
2705
|
+
export type RetrieverName = string;
|
2706
|
+
export type RetrieverStatus = "CREATING"|"ACTIVE"|"FAILED"|string;
|
2707
|
+
export type RetrieverType = "NATIVE_INDEX"|"KENDRA_INDEX"|string;
|
2708
|
+
export type Retrievers = Retriever[];
|
2709
|
+
export type RoleArn = string;
|
2710
|
+
export interface Rule {
|
2711
|
+
/**
|
2712
|
+
* Users and groups to be excluded from a rule.
|
2713
|
+
*/
|
2714
|
+
excludedUsersAndGroups?: UsersAndGroups;
|
2715
|
+
/**
|
2716
|
+
* Users and groups to be included in a rule.
|
2717
|
+
*/
|
2718
|
+
includedUsersAndGroups?: UsersAndGroups;
|
2719
|
+
/**
|
2720
|
+
* The configuration information for a rule.
|
2721
|
+
*/
|
2722
|
+
ruleConfiguration?: RuleConfiguration;
|
2723
|
+
/**
|
2724
|
+
* The type fo rule.
|
2725
|
+
*/
|
2726
|
+
ruleType: RuleType;
|
2727
|
+
}
|
2728
|
+
export interface RuleConfiguration {
|
2729
|
+
/**
|
2730
|
+
* A rule for configuring how Amazon Q responds when it encounters a a blocked topic.
|
2731
|
+
*/
|
2732
|
+
contentBlockerRule?: ContentBlockerRule;
|
2733
|
+
contentRetrievalRule?: ContentRetrievalRule;
|
2734
|
+
}
|
2735
|
+
export type RuleType = "CONTENT_BLOCKER_RULE"|"CONTENT_RETRIEVAL_RULE"|string;
|
2736
|
+
export type Rules = Rule[];
|
2737
|
+
export interface S3 {
|
2738
|
+
/**
|
2739
|
+
* The name of the S3 bucket that contains the file.
|
2740
|
+
*/
|
2741
|
+
bucket: S3BucketName;
|
2742
|
+
/**
|
2743
|
+
* The name of the file.
|
2744
|
+
*/
|
2745
|
+
key: S3ObjectKey;
|
2746
|
+
}
|
2747
|
+
export type S3BucketName = string;
|
2748
|
+
export type S3ObjectKey = string;
|
2749
|
+
export type SamlAttribute = string;
|
2750
|
+
export interface SamlConfiguration {
|
2751
|
+
/**
|
2752
|
+
* The metadata XML that your IdP generated.
|
2753
|
+
*/
|
2754
|
+
metadataXML: SamlMetadataXML;
|
2755
|
+
/**
|
2756
|
+
* The Amazon Resource Name (ARN) of an IAM role assumed by users when they authenticate into their Amazon Q web experience, containing the relevant Amazon Q permissions for conversing with Amazon Q.
|
2757
|
+
*/
|
2758
|
+
roleArn: RoleArn;
|
2759
|
+
/**
|
2760
|
+
* The group attribute name in your IdP that maps to user groups.
|
2761
|
+
*/
|
2762
|
+
userGroupAttribute?: SamlAttribute;
|
2763
|
+
/**
|
2764
|
+
* The user attribute name in your IdP that maps to the user email.
|
2765
|
+
*/
|
2766
|
+
userIdAttribute: SamlAttribute;
|
2767
|
+
}
|
2768
|
+
export type SamlMetadataXML = string;
|
2769
|
+
export type SecretArn = string;
|
2770
|
+
export type SecurityGroupId = string;
|
2771
|
+
export type SecurityGroupIds = SecurityGroupId[];
|
2772
|
+
export interface SourceAttribution {
|
2773
|
+
/**
|
2774
|
+
* The number attached to a citation in an Amazon Q generated response.
|
2775
|
+
*/
|
2776
|
+
citationNumber?: Integer;
|
2777
|
+
/**
|
2778
|
+
* The content extract from the document on which the generated response is based.
|
2779
|
+
*/
|
2780
|
+
snippet?: String;
|
2781
|
+
/**
|
2782
|
+
* A text extract from a source document that is used for source attribution.
|
2783
|
+
*/
|
2784
|
+
textMessageSegments?: TextSegmentList;
|
2785
|
+
/**
|
2786
|
+
* The title of the document which is the source for the Amazon Q generated response.
|
2787
|
+
*/
|
2788
|
+
title?: String;
|
2789
|
+
/**
|
2790
|
+
* The Unix timestamp when the Amazon Q application was last updated.
|
2791
|
+
*/
|
2792
|
+
updatedAt?: Timestamp;
|
2793
|
+
/**
|
2794
|
+
* The URL of the document which is the source for the Amazon Q generated response.
|
2795
|
+
*/
|
2796
|
+
url?: String;
|
2797
|
+
}
|
2798
|
+
export type SourceAttributions = SourceAttribution[];
|
2799
|
+
export interface StartDataSourceSyncJobRequest {
|
2800
|
+
/**
|
2801
|
+
* The identifier of Amazon Q application the data source is connected to.
|
2802
|
+
*/
|
2803
|
+
applicationId: ApplicationId;
|
2804
|
+
/**
|
2805
|
+
* The identifier of the data source connector.
|
2806
|
+
*/
|
2807
|
+
dataSourceId: DataSourceId;
|
2808
|
+
/**
|
2809
|
+
* The identifier of the index used with the data source connector.
|
2810
|
+
*/
|
2811
|
+
indexId: IndexId;
|
2812
|
+
}
|
2813
|
+
export interface StartDataSourceSyncJobResponse {
|
2814
|
+
/**
|
2815
|
+
* The identifier for a particular synchronization job.
|
2816
|
+
*/
|
2817
|
+
executionId?: ExecutionId;
|
2818
|
+
}
|
2819
|
+
export type Status = "ENABLED"|"DISABLED"|string;
|
2820
|
+
export interface StopDataSourceSyncJobRequest {
|
2821
|
+
/**
|
2822
|
+
* The identifier of the Amazon Q application that the data source is connected to.
|
2823
|
+
*/
|
2824
|
+
applicationId: ApplicationId;
|
2825
|
+
/**
|
2826
|
+
* The identifier of the data source connector.
|
2827
|
+
*/
|
2828
|
+
dataSourceId: DataSourceId;
|
2829
|
+
/**
|
2830
|
+
* The identifier of the index used with the Amazon Q data source connector.
|
2831
|
+
*/
|
2832
|
+
indexId: IndexId;
|
2833
|
+
}
|
2834
|
+
export interface StopDataSourceSyncJobResponse {
|
2835
|
+
}
|
2836
|
+
export type String = string;
|
2837
|
+
export type SubnetId = string;
|
2838
|
+
export type SubnetIds = SubnetId[];
|
2839
|
+
export type SyncSchedule = string;
|
2840
|
+
export type SystemMessageId = string;
|
2841
|
+
export type SystemMessageOverride = string;
|
2842
|
+
export interface Tag {
|
2843
|
+
/**
|
2844
|
+
* The key for the tag. Keys are not case sensitive and must be unique for the Amazon Q application or data source.
|
2845
|
+
*/
|
2846
|
+
key: TagKey;
|
2847
|
+
/**
|
2848
|
+
* The value associated with the tag. The value may be an empty string but it can't be null.
|
2849
|
+
*/
|
2850
|
+
value: TagValue;
|
2851
|
+
}
|
2852
|
+
export type TagKey = string;
|
2853
|
+
export type TagKeys = TagKey[];
|
2854
|
+
export interface TagResourceRequest {
|
2855
|
+
/**
|
2856
|
+
* The Amazon Resource Name (ARN) of the Amazon Q application or data source to tag.
|
2857
|
+
*/
|
2858
|
+
resourceARN: AmazonResourceName;
|
2859
|
+
/**
|
2860
|
+
* A list of tag keys to add to the Amazon Q application or data source. If a tag already exists, the existing value is replaced with the new value.
|
2861
|
+
*/
|
2862
|
+
tags: Tags;
|
2863
|
+
}
|
2864
|
+
export interface TagResourceResponse {
|
2865
|
+
}
|
2866
|
+
export type TagValue = string;
|
2867
|
+
export type Tags = Tag[];
|
2868
|
+
export interface TextDocumentStatistics {
|
2869
|
+
/**
|
2870
|
+
* The total size, in bytes, of the indexed documents.
|
2871
|
+
*/
|
2872
|
+
indexedTextBytes?: IndexedTextBytes;
|
2873
|
+
/**
|
2874
|
+
* The number of text documents indexed.
|
2875
|
+
*/
|
2876
|
+
indexedTextDocumentCount?: IndexedTextDocument;
|
2877
|
+
}
|
2878
|
+
export interface TextSegment {
|
2879
|
+
/**
|
2880
|
+
* The zero-based location in the response string where the source attribution starts.
|
2881
|
+
*/
|
2882
|
+
beginOffset?: Integer;
|
2883
|
+
/**
|
2884
|
+
* The zero-based location in the response string where the source attribution ends.
|
2885
|
+
*/
|
2886
|
+
endOffset?: Integer;
|
2887
|
+
}
|
2888
|
+
export type TextSegmentList = TextSegment[];
|
2889
|
+
export type Timestamp = Date;
|
2890
|
+
export type Title = string;
|
2891
|
+
export interface TopicConfiguration {
|
2892
|
+
/**
|
2893
|
+
* A description for your topic control configuration. Use this outline how the large language model (LLM) should use this topic control configuration.
|
2894
|
+
*/
|
2895
|
+
description?: TopicDescription;
|
2896
|
+
/**
|
2897
|
+
* A list of example phrases that you expect the end user to use in relation to the topic.
|
2898
|
+
*/
|
2899
|
+
exampleChatMessages?: ExampleChatMessages;
|
2900
|
+
/**
|
2901
|
+
* A name for your topic control configuration.
|
2902
|
+
*/
|
2903
|
+
name: TopicConfigurationName;
|
2904
|
+
/**
|
2905
|
+
* Rules defined for a topic configuration.
|
2906
|
+
*/
|
2907
|
+
rules: Rules;
|
2908
|
+
}
|
2909
|
+
export type TopicConfigurationName = string;
|
2910
|
+
export type TopicConfigurations = TopicConfiguration[];
|
2911
|
+
export type TopicDescription = string;
|
2912
|
+
export interface UntagResourceRequest {
|
2913
|
+
/**
|
2914
|
+
* The Amazon Resource Name (ARN) of the Amazon Q application, or data source to remove the tag from.
|
2915
|
+
*/
|
2916
|
+
resourceARN: AmazonResourceName;
|
2917
|
+
/**
|
2918
|
+
* A list of tag keys to remove from the Amazon Q application or data source. If a tag key does not exist on the resource, it is ignored.
|
2919
|
+
*/
|
2920
|
+
tagKeys: TagKeys;
|
2921
|
+
}
|
2922
|
+
export interface UntagResourceResponse {
|
2923
|
+
}
|
2924
|
+
export interface UpdateApplicationRequest {
|
2925
|
+
/**
|
2926
|
+
* The identifier of the Amazon Q application.
|
2927
|
+
*/
|
2928
|
+
applicationId: ApplicationId;
|
2929
|
+
/**
|
2930
|
+
* An option to allow end users to upload files directly during chat.
|
2931
|
+
*/
|
2932
|
+
attachmentsConfiguration?: AttachmentsConfiguration;
|
2933
|
+
/**
|
2934
|
+
* A description for the Amazon Q application.
|
2935
|
+
*/
|
2936
|
+
description?: Description;
|
2937
|
+
/**
|
2938
|
+
* A name for the Amazon Q application.
|
2939
|
+
*/
|
2940
|
+
displayName?: ApplicationName;
|
2941
|
+
/**
|
2942
|
+
* An Amazon Web Services Identity and Access Management (IAM) role that gives Amazon Q permission to access Amazon CloudWatch logs and metrics.
|
2943
|
+
*/
|
2944
|
+
roleArn?: RoleArn;
|
2945
|
+
}
|
2946
|
+
export interface UpdateApplicationResponse {
|
2947
|
+
}
|
2948
|
+
export interface UpdateChatControlsConfigurationRequest {
|
2949
|
+
/**
|
2950
|
+
* The identifier of the application for which the chat controls are configured.
|
2951
|
+
*/
|
2952
|
+
applicationId: ApplicationId;
|
2953
|
+
/**
|
2954
|
+
* The phrases blocked from chat by your chat control configuration.
|
2955
|
+
*/
|
2956
|
+
blockedPhrasesConfigurationUpdate?: BlockedPhrasesConfigurationUpdate;
|
2957
|
+
/**
|
2958
|
+
* A token that you provide to identify the request to update a Amazon Q application chat configuration.
|
2959
|
+
*/
|
2960
|
+
clientToken?: ClientToken;
|
2961
|
+
/**
|
2962
|
+
* The response scope configured for your application. This determines whether your application uses its retrieval augmented generation (RAG) system to generate answers only from your enterprise data, or also uses the large language models (LLM) knowledge to respons to end user questions in chat.
|
2963
|
+
*/
|
2964
|
+
responseScope?: ResponseScope;
|
2965
|
+
/**
|
2966
|
+
* The configured topic specific chat controls you want to update.
|
2967
|
+
*/
|
2968
|
+
topicConfigurationsToCreateOrUpdate?: TopicConfigurations;
|
2969
|
+
/**
|
2970
|
+
* The configured topic specific chat controls you want to delete.
|
2971
|
+
*/
|
2972
|
+
topicConfigurationsToDelete?: TopicConfigurations;
|
2973
|
+
}
|
2974
|
+
export interface UpdateChatControlsConfigurationResponse {
|
2975
|
+
}
|
2976
|
+
export interface UpdateDataSourceRequest {
|
2977
|
+
/**
|
2978
|
+
* The identifier of the Amazon Q application the data source is attached to.
|
2979
|
+
*/
|
2980
|
+
applicationId: ApplicationId;
|
2981
|
+
configuration?: DataSourceConfiguration;
|
2982
|
+
/**
|
2983
|
+
* The identifier of the data source connector.
|
2984
|
+
*/
|
2985
|
+
dataSourceId: DataSourceId;
|
2986
|
+
/**
|
2987
|
+
* The description of the data source connector.
|
2988
|
+
*/
|
2989
|
+
description?: Description;
|
2990
|
+
/**
|
2991
|
+
* A name of the data source connector.
|
2992
|
+
*/
|
2993
|
+
displayName?: DataSourceName;
|
2994
|
+
documentEnrichmentConfiguration?: DocumentEnrichmentConfiguration;
|
2995
|
+
/**
|
2996
|
+
* The identifier of the index attached to the data source connector.
|
2997
|
+
*/
|
2998
|
+
indexId: IndexId;
|
2999
|
+
/**
|
3000
|
+
* The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.
|
3001
|
+
*/
|
3002
|
+
roleArn?: RoleArn;
|
3003
|
+
/**
|
3004
|
+
* The chosen update frequency for your data source.
|
3005
|
+
*/
|
3006
|
+
syncSchedule?: SyncSchedule;
|
3007
|
+
vpcConfiguration?: DataSourceVpcConfiguration;
|
3008
|
+
}
|
3009
|
+
export interface UpdateDataSourceResponse {
|
3010
|
+
}
|
3011
|
+
export interface UpdateIndexRequest {
|
3012
|
+
/**
|
3013
|
+
* The identifier of the Amazon Q application connected to the index.
|
3014
|
+
*/
|
3015
|
+
applicationId: ApplicationId;
|
3016
|
+
/**
|
3017
|
+
* The storage capacity units you want to provision for your Amazon Q index. You can add and remove capacity to fit your usage needs.
|
3018
|
+
*/
|
3019
|
+
capacityConfiguration?: IndexCapacityConfiguration;
|
3020
|
+
/**
|
3021
|
+
* The description of the Amazon Q index.
|
3022
|
+
*/
|
3023
|
+
description?: Description;
|
3024
|
+
/**
|
3025
|
+
* The name of the Amazon Q index.
|
3026
|
+
*/
|
3027
|
+
displayName?: ApplicationName;
|
3028
|
+
/**
|
3029
|
+
* Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.
|
3030
|
+
*/
|
3031
|
+
documentAttributeConfigurations?: DocumentAttributeConfigurations;
|
3032
|
+
/**
|
3033
|
+
* The identifier of the Amazon Q index.
|
3034
|
+
*/
|
3035
|
+
indexId: IndexId;
|
3036
|
+
}
|
3037
|
+
export interface UpdateIndexResponse {
|
3038
|
+
}
|
3039
|
+
export interface UpdatePluginRequest {
|
3040
|
+
/**
|
3041
|
+
* The identifier of the application the plugin is attached to.
|
3042
|
+
*/
|
3043
|
+
applicationId: ApplicationId;
|
3044
|
+
/**
|
3045
|
+
* The authentication configuration the plugin is using.
|
3046
|
+
*/
|
3047
|
+
authConfiguration?: PluginAuthConfiguration;
|
3048
|
+
/**
|
3049
|
+
* The name of the plugin.
|
3050
|
+
*/
|
3051
|
+
displayName?: PluginName;
|
3052
|
+
/**
|
3053
|
+
* The identifier of the plugin.
|
3054
|
+
*/
|
3055
|
+
pluginId: PluginId;
|
3056
|
+
/**
|
3057
|
+
* The source URL used for plugin configuration.
|
3058
|
+
*/
|
3059
|
+
serverUrl?: Url;
|
3060
|
+
/**
|
3061
|
+
* The status of the plugin.
|
3062
|
+
*/
|
3063
|
+
state?: PluginState;
|
3064
|
+
}
|
3065
|
+
export interface UpdatePluginResponse {
|
3066
|
+
}
|
3067
|
+
export interface UpdateRetrieverRequest {
|
3068
|
+
/**
|
3069
|
+
* The identifier of your Amazon Q application.
|
3070
|
+
*/
|
3071
|
+
applicationId: ApplicationId;
|
3072
|
+
configuration?: RetrieverConfiguration;
|
3073
|
+
/**
|
3074
|
+
* The name of your retriever.
|
3075
|
+
*/
|
3076
|
+
displayName?: RetrieverName;
|
3077
|
+
/**
|
3078
|
+
* The identifier of your retriever.
|
3079
|
+
*/
|
3080
|
+
retrieverId: RetrieverId;
|
3081
|
+
/**
|
3082
|
+
* The Amazon Resource Name (ARN) of an IAM role with permission to access the retriever and required resources.
|
3083
|
+
*/
|
3084
|
+
roleArn?: RoleArn;
|
3085
|
+
}
|
3086
|
+
export interface UpdateRetrieverResponse {
|
3087
|
+
}
|
3088
|
+
export interface UpdateUserRequest {
|
3089
|
+
/**
|
3090
|
+
* The identifier of the application the user is attached to.
|
3091
|
+
*/
|
3092
|
+
applicationId: ApplicationId;
|
3093
|
+
/**
|
3094
|
+
* The user aliases attached to the user id that are to be deleted.
|
3095
|
+
*/
|
3096
|
+
userAliasesToDelete?: UserAliases;
|
3097
|
+
/**
|
3098
|
+
* The user aliases attached to the user id that are to be updated.
|
3099
|
+
*/
|
3100
|
+
userAliasesToUpdate?: UserAliases;
|
3101
|
+
/**
|
3102
|
+
* The email id attached to the user.
|
3103
|
+
*/
|
3104
|
+
userId: String;
|
3105
|
+
}
|
3106
|
+
export interface UpdateUserResponse {
|
3107
|
+
/**
|
3108
|
+
* The user aliases that have been to be added to a user id.
|
3109
|
+
*/
|
3110
|
+
userAliasesAdded?: UserAliases;
|
3111
|
+
/**
|
3112
|
+
* The user aliases that have been deleted from a user id.
|
3113
|
+
*/
|
3114
|
+
userAliasesDeleted?: UserAliases;
|
3115
|
+
/**
|
3116
|
+
* The user aliases attached to a user id that have been updated.
|
3117
|
+
*/
|
3118
|
+
userAliasesUpdated?: UserAliases;
|
3119
|
+
}
|
3120
|
+
export interface UpdateWebExperienceRequest {
|
3121
|
+
/**
|
3122
|
+
* The identifier of the Amazon Q application attached to the web experience.
|
3123
|
+
*/
|
3124
|
+
applicationId: ApplicationId;
|
3125
|
+
/**
|
3126
|
+
* The authentication configuration of the Amazon Q web experience.
|
3127
|
+
*/
|
3128
|
+
authenticationConfiguration?: WebExperienceAuthConfiguration;
|
3129
|
+
/**
|
3130
|
+
* Determines whether sample prompts are enabled in the web experience for an end user.
|
3131
|
+
*/
|
3132
|
+
samplePromptsControlMode?: WebExperienceSamplePromptsControlMode;
|
3133
|
+
/**
|
3134
|
+
* The subtitle of the Amazon Q web experience.
|
3135
|
+
*/
|
3136
|
+
subtitle?: WebExperienceSubtitle;
|
3137
|
+
/**
|
3138
|
+
* The title of the Amazon Q web experience.
|
3139
|
+
*/
|
3140
|
+
title?: WebExperienceTitle;
|
3141
|
+
/**
|
3142
|
+
* The identifier of the Amazon Q web experience.
|
3143
|
+
*/
|
3144
|
+
webExperienceId: WebExperienceId;
|
3145
|
+
/**
|
3146
|
+
* A customized welcome message for an end user in an Amazon Q web experience.
|
3147
|
+
*/
|
3148
|
+
welcomeMessage?: WebExperienceWelcomeMessage;
|
3149
|
+
}
|
3150
|
+
export interface UpdateWebExperienceResponse {
|
3151
|
+
}
|
3152
|
+
export type Url = string;
|
3153
|
+
export interface UserAlias {
|
3154
|
+
/**
|
3155
|
+
* The identifier of the data source that the user aliases are associated with.
|
3156
|
+
*/
|
3157
|
+
dataSourceId?: DataSourceId;
|
3158
|
+
/**
|
3159
|
+
* The identifier of the index that the user aliases are associated with.
|
3160
|
+
*/
|
3161
|
+
indexId?: IndexId;
|
3162
|
+
/**
|
3163
|
+
* The identifier of the user id associated with the user aliases.
|
3164
|
+
*/
|
3165
|
+
userId: String;
|
3166
|
+
}
|
3167
|
+
export type UserAliases = UserAlias[];
|
3168
|
+
export type UserGroups = String[];
|
3169
|
+
export type UserId = string;
|
3170
|
+
export type UserIds = String[];
|
3171
|
+
export type UserMessage = string;
|
3172
|
+
export interface UsersAndGroups {
|
3173
|
+
/**
|
3174
|
+
* The user groups associated with a topic control rule.
|
3175
|
+
*/
|
3176
|
+
userGroups?: UserGroups;
|
3177
|
+
/**
|
3178
|
+
* The user ids associated with a topic control rule.
|
3179
|
+
*/
|
3180
|
+
userIds?: UserIds;
|
3181
|
+
}
|
3182
|
+
export interface WebExperience {
|
3183
|
+
/**
|
3184
|
+
* The Unix timestamp when the Amazon Q application was last updated.
|
3185
|
+
*/
|
3186
|
+
createdAt?: Timestamp;
|
3187
|
+
/**
|
3188
|
+
* The endpoint URLs for your Amazon Q web experience. The URLs are unique and fully hosted by Amazon Web Services.
|
3189
|
+
*/
|
3190
|
+
defaultEndpoint?: Url;
|
3191
|
+
/**
|
3192
|
+
* The status of your Amazon Q web experience.
|
3193
|
+
*/
|
3194
|
+
status?: WebExperienceStatus;
|
3195
|
+
/**
|
3196
|
+
* The Unix timestamp when your Amazon Q web experience was updated.
|
3197
|
+
*/
|
3198
|
+
updatedAt?: Timestamp;
|
3199
|
+
/**
|
3200
|
+
* The identifier of your Amazon Q web experience.
|
3201
|
+
*/
|
3202
|
+
webExperienceId?: WebExperienceId;
|
3203
|
+
}
|
3204
|
+
export type WebExperienceArn = string;
|
3205
|
+
export interface WebExperienceAuthConfiguration {
|
3206
|
+
samlConfiguration?: SamlConfiguration;
|
3207
|
+
}
|
3208
|
+
export type WebExperienceId = string;
|
3209
|
+
export type WebExperienceSamplePromptsControlMode = "ENABLED"|"DISABLED"|string;
|
3210
|
+
export type WebExperienceStatus = "CREATING"|"ACTIVE"|"DELETING"|"FAILED"|"PENDING_AUTH_CONFIG"|string;
|
3211
|
+
export type WebExperienceSubtitle = string;
|
3212
|
+
export type WebExperienceTitle = string;
|
3213
|
+
export type WebExperienceWelcomeMessage = string;
|
3214
|
+
export type WebExperiences = WebExperience[];
|
3215
|
+
/**
|
3216
|
+
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
3217
|
+
*/
|
3218
|
+
export type apiVersion = "2023-11-27"|"latest"|string;
|
3219
|
+
export interface ClientApiVersions {
|
3220
|
+
/**
|
3221
|
+
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
3222
|
+
*/
|
3223
|
+
apiVersion?: apiVersion;
|
3224
|
+
}
|
3225
|
+
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
3226
|
+
/**
|
3227
|
+
* Contains interfaces for use with the QBusiness client.
|
3228
|
+
*/
|
3229
|
+
export import Types = QBusiness;
|
3230
|
+
}
|
3231
|
+
export = QBusiness;
|