cdk-lambda-subminute 2.0.301 → 2.0.302
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/CHANGELOG.md +30 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +6 -0
- package/node_modules/aws-sdk/apis/cloud9-2017-09-23.examples.json +1 -0
- package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +90 -81
- package/node_modules/aws-sdk/apis/codepipeline-2015-07-09.min.json +16 -0
- package/node_modules/aws-sdk/apis/codestar-connections-2019-12-01.min.json +590 -3
- package/node_modules/aws-sdk/apis/codestar-connections-2019-12-01.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1853 -1396
- package/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json +100 -40
- package/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +91 -78
- package/node_modules/aws-sdk/apis/internetmonitor-2021-06-03.min.json +172 -0
- package/node_modules/aws-sdk/apis/internetmonitor-2021-06-03.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/ivschat-2020-07-14.min.json +16 -4
- package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +379 -301
- package/node_modules/aws-sdk/apis/metadata.json +3 -3
- package/node_modules/aws-sdk/apis/osis-2022-01-01.min.json +66 -12
- package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +233 -217
- package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +250 -91
- package/node_modules/aws-sdk/apis/redshift-2012-12-01.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +39 -38
- package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +126 -126
- package/node_modules/aws-sdk/apis/sso-admin-2020-07-20.min.json +21 -13
- package/node_modules/aws-sdk/apis/sso-oidc-2019-06-10.examples.json +228 -0
- package/node_modules/aws-sdk/apis/sso-oidc-2019-06-10.min.json +94 -8
- package/node_modules/aws-sdk/apis/trustedadvisor-2022-09-15.min.json +794 -0
- package/node_modules/aws-sdk/apis/trustedadvisor-2022-09-15.paginators.json +40 -0
- package/node_modules/aws-sdk/apis/verifiedpermissions-2021-12-01.min.json +269 -199
- package/node_modules/aws-sdk/apis/wisdom-2020-10-19.min.json +790 -27
- package/node_modules/aws-sdk/apis/wisdom-2020-10-19.paginators.json +18 -0
- package/node_modules/aws-sdk/clients/all.d.ts +1 -1
- package/node_modules/aws-sdk/clients/all.js +2 -2
- package/node_modules/aws-sdk/clients/appmesh.d.ts +2 -2
- package/node_modules/aws-sdk/clients/athena.d.ts +27 -19
- package/node_modules/aws-sdk/clients/cloud9.d.ts +1 -1
- package/node_modules/aws-sdk/clients/cloudformation.d.ts +14 -1
- package/node_modules/aws-sdk/clients/codepipeline.d.ts +22 -2
- package/node_modules/aws-sdk/clients/codestarconnections.d.ts +727 -0
- package/node_modules/aws-sdk/clients/connect.d.ts +2 -2
- package/node_modules/aws-sdk/clients/dlm.d.ts +2 -2
- package/node_modules/aws-sdk/clients/ec2.d.ts +563 -22
- package/node_modules/aws-sdk/clients/ecr.d.ts +128 -7
- package/node_modules/aws-sdk/clients/emr.d.ts +80 -43
- package/node_modules/aws-sdk/clients/eventbridge.d.ts +40 -37
- package/node_modules/aws-sdk/clients/internetmonitor.d.ts +157 -4
- package/node_modules/aws-sdk/clients/kinesisvideo.d.ts +8 -8
- package/node_modules/aws-sdk/clients/medialive.d.ts +121 -47
- package/node_modules/aws-sdk/clients/osis.d.ts +55 -0
- package/node_modules/aws-sdk/clients/rds.d.ts +31 -4
- package/node_modules/aws-sdk/clients/redshift.d.ts +207 -0
- package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +5 -0
- package/node_modules/aws-sdk/clients/s3.d.ts +2 -2
- package/node_modules/aws-sdk/clients/ssoadmin.d.ts +18 -6
- package/node_modules/aws-sdk/clients/ssooidc.d.ts +99 -16
- package/node_modules/aws-sdk/clients/sts.d.ts +3 -3
- package/node_modules/aws-sdk/clients/trustedadvisor.d.ts +918 -0
- package/node_modules/aws-sdk/clients/trustedadvisor.js +18 -0
- package/node_modules/aws-sdk/clients/verifiedpermissions.d.ts +67 -1
- package/node_modules/aws-sdk/clients/wisdom.d.ts +849 -25
- 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 +1420 -1420
- package/node_modules/aws-sdk/dist/aws-sdk.js +2651 -1909
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +101 -101
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -2
- 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/apis/macie-2017-12-19.min.json +0 -222
- package/node_modules/aws-sdk/apis/macie-2017-12-19.paginators.json +0 -14
- package/node_modules/aws-sdk/clients/macie.d.ts +0 -284
- package/node_modules/aws-sdk/clients/macie.js +0 -18
- /package/node_modules/aws-sdk/apis/{macie-2017-12-19.examples.json → trustedadvisor-2022-09-15.examples.json} +0 -0
@@ -43,6 +43,14 @@ declare class Wisdom extends Service {
|
|
43
43
|
* Creates a knowledge base. When using this API, you cannot reuse Amazon AppIntegrations DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do, you'll get an InvalidRequestException error. For example, you're programmatically managing your external knowledge base, and you want to add or remove one of the fields that is being ingested from Salesforce. Do the following: Call DeleteKnowledgeBase. Call DeleteDataIntegration. Call CreateDataIntegration to recreate the DataIntegration or a create different one. Call CreateKnowledgeBase.
|
44
44
|
*/
|
45
45
|
createKnowledgeBase(callback?: (err: AWSError, data: Wisdom.Types.CreateKnowledgeBaseResponse) => void): Request<Wisdom.Types.CreateKnowledgeBaseResponse, AWSError>;
|
46
|
+
/**
|
47
|
+
* Creates a Wisdom quick response.
|
48
|
+
*/
|
49
|
+
createQuickResponse(params: Wisdom.Types.CreateQuickResponseRequest, callback?: (err: AWSError, data: Wisdom.Types.CreateQuickResponseResponse) => void): Request<Wisdom.Types.CreateQuickResponseResponse, AWSError>;
|
50
|
+
/**
|
51
|
+
* Creates a Wisdom quick response.
|
52
|
+
*/
|
53
|
+
createQuickResponse(callback?: (err: AWSError, data: Wisdom.Types.CreateQuickResponseResponse) => void): Request<Wisdom.Types.CreateQuickResponseResponse, AWSError>;
|
46
54
|
/**
|
47
55
|
* Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Wisdom session for each contact on which Wisdom is enabled.
|
48
56
|
*/
|
@@ -75,6 +83,14 @@ declare class Wisdom extends Service {
|
|
75
83
|
* Deletes the content.
|
76
84
|
*/
|
77
85
|
deleteContent(callback?: (err: AWSError, data: Wisdom.Types.DeleteContentResponse) => void): Request<Wisdom.Types.DeleteContentResponse, AWSError>;
|
86
|
+
/**
|
87
|
+
* Deletes the quick response import job.
|
88
|
+
*/
|
89
|
+
deleteImportJob(params: Wisdom.Types.DeleteImportJobRequest, callback?: (err: AWSError, data: Wisdom.Types.DeleteImportJobResponse) => void): Request<Wisdom.Types.DeleteImportJobResponse, AWSError>;
|
90
|
+
/**
|
91
|
+
* Deletes the quick response import job.
|
92
|
+
*/
|
93
|
+
deleteImportJob(callback?: (err: AWSError, data: Wisdom.Types.DeleteImportJobResponse) => void): Request<Wisdom.Types.DeleteImportJobResponse, AWSError>;
|
78
94
|
/**
|
79
95
|
* Deletes the knowledge base. When you use this API to delete an external knowledge base such as Salesforce or ServiceNow, you must also delete the Amazon AppIntegrations DataIntegration. This is because you can't reuse the DataIntegration after it's been associated with an external knowledge base. However, you can delete and recreate it. See DeleteDataIntegration and CreateDataIntegration in the Amazon AppIntegrations API Reference.
|
80
96
|
*/
|
@@ -83,6 +99,14 @@ declare class Wisdom extends Service {
|
|
83
99
|
* Deletes the knowledge base. When you use this API to delete an external knowledge base such as Salesforce or ServiceNow, you must also delete the Amazon AppIntegrations DataIntegration. This is because you can't reuse the DataIntegration after it's been associated with an external knowledge base. However, you can delete and recreate it. See DeleteDataIntegration and CreateDataIntegration in the Amazon AppIntegrations API Reference.
|
84
100
|
*/
|
85
101
|
deleteKnowledgeBase(callback?: (err: AWSError, data: Wisdom.Types.DeleteKnowledgeBaseResponse) => void): Request<Wisdom.Types.DeleteKnowledgeBaseResponse, AWSError>;
|
102
|
+
/**
|
103
|
+
* Deletes a quick response.
|
104
|
+
*/
|
105
|
+
deleteQuickResponse(params: Wisdom.Types.DeleteQuickResponseRequest, callback?: (err: AWSError, data: Wisdom.Types.DeleteQuickResponseResponse) => void): Request<Wisdom.Types.DeleteQuickResponseResponse, AWSError>;
|
106
|
+
/**
|
107
|
+
* Deletes a quick response.
|
108
|
+
*/
|
109
|
+
deleteQuickResponse(callback?: (err: AWSError, data: Wisdom.Types.DeleteQuickResponseResponse) => void): Request<Wisdom.Types.DeleteQuickResponseResponse, AWSError>;
|
86
110
|
/**
|
87
111
|
* Retrieves information about an assistant.
|
88
112
|
*/
|
@@ -115,6 +139,14 @@ declare class Wisdom extends Service {
|
|
115
139
|
* Retrieves summary information about the content.
|
116
140
|
*/
|
117
141
|
getContentSummary(callback?: (err: AWSError, data: Wisdom.Types.GetContentSummaryResponse) => void): Request<Wisdom.Types.GetContentSummaryResponse, AWSError>;
|
142
|
+
/**
|
143
|
+
* Retrieves the started import job.
|
144
|
+
*/
|
145
|
+
getImportJob(params: Wisdom.Types.GetImportJobRequest, callback?: (err: AWSError, data: Wisdom.Types.GetImportJobResponse) => void): Request<Wisdom.Types.GetImportJobResponse, AWSError>;
|
146
|
+
/**
|
147
|
+
* Retrieves the started import job.
|
148
|
+
*/
|
149
|
+
getImportJob(callback?: (err: AWSError, data: Wisdom.Types.GetImportJobResponse) => void): Request<Wisdom.Types.GetImportJobResponse, AWSError>;
|
118
150
|
/**
|
119
151
|
* Retrieves information about the knowledge base.
|
120
152
|
*/
|
@@ -123,6 +155,14 @@ declare class Wisdom extends Service {
|
|
123
155
|
* Retrieves information about the knowledge base.
|
124
156
|
*/
|
125
157
|
getKnowledgeBase(callback?: (err: AWSError, data: Wisdom.Types.GetKnowledgeBaseResponse) => void): Request<Wisdom.Types.GetKnowledgeBaseResponse, AWSError>;
|
158
|
+
/**
|
159
|
+
* Retrieves the quick response.
|
160
|
+
*/
|
161
|
+
getQuickResponse(params: Wisdom.Types.GetQuickResponseRequest, callback?: (err: AWSError, data: Wisdom.Types.GetQuickResponseResponse) => void): Request<Wisdom.Types.GetQuickResponseResponse, AWSError>;
|
162
|
+
/**
|
163
|
+
* Retrieves the quick response.
|
164
|
+
*/
|
165
|
+
getQuickResponse(callback?: (err: AWSError, data: Wisdom.Types.GetQuickResponseResponse) => void): Request<Wisdom.Types.GetQuickResponseResponse, AWSError>;
|
126
166
|
/**
|
127
167
|
* Retrieves recommendations for the specified session. To avoid retrieving the same recommendations in subsequent calls, use NotifyRecommendationsReceived. This API supports long-polling behavior with the waitTimeSeconds parameter. Short poll is the default behavior and only returns recommendations already available. To perform a manual query against an assistant, use QueryAssistant.
|
128
168
|
*/
|
@@ -163,6 +203,14 @@ declare class Wisdom extends Service {
|
|
163
203
|
* Lists the content.
|
164
204
|
*/
|
165
205
|
listContents(callback?: (err: AWSError, data: Wisdom.Types.ListContentsResponse) => void): Request<Wisdom.Types.ListContentsResponse, AWSError>;
|
206
|
+
/**
|
207
|
+
* Lists information about import jobs.
|
208
|
+
*/
|
209
|
+
listImportJobs(params: Wisdom.Types.ListImportJobsRequest, callback?: (err: AWSError, data: Wisdom.Types.ListImportJobsResponse) => void): Request<Wisdom.Types.ListImportJobsResponse, AWSError>;
|
210
|
+
/**
|
211
|
+
* Lists information about import jobs.
|
212
|
+
*/
|
213
|
+
listImportJobs(callback?: (err: AWSError, data: Wisdom.Types.ListImportJobsResponse) => void): Request<Wisdom.Types.ListImportJobsResponse, AWSError>;
|
166
214
|
/**
|
167
215
|
* Lists the knowledge bases.
|
168
216
|
*/
|
@@ -171,6 +219,14 @@ declare class Wisdom extends Service {
|
|
171
219
|
* Lists the knowledge bases.
|
172
220
|
*/
|
173
221
|
listKnowledgeBases(callback?: (err: AWSError, data: Wisdom.Types.ListKnowledgeBasesResponse) => void): Request<Wisdom.Types.ListKnowledgeBasesResponse, AWSError>;
|
222
|
+
/**
|
223
|
+
* Lists information about quick response.
|
224
|
+
*/
|
225
|
+
listQuickResponses(params: Wisdom.Types.ListQuickResponsesRequest, callback?: (err: AWSError, data: Wisdom.Types.ListQuickResponsesResponse) => void): Request<Wisdom.Types.ListQuickResponsesResponse, AWSError>;
|
226
|
+
/**
|
227
|
+
* Lists information about quick response.
|
228
|
+
*/
|
229
|
+
listQuickResponses(callback?: (err: AWSError, data: Wisdom.Types.ListQuickResponsesResponse) => void): Request<Wisdom.Types.ListQuickResponsesResponse, AWSError>;
|
174
230
|
/**
|
175
231
|
* Lists the tags for the specified resource.
|
176
232
|
*/
|
@@ -211,6 +267,14 @@ declare class Wisdom extends Service {
|
|
211
267
|
* Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.
|
212
268
|
*/
|
213
269
|
searchContent(callback?: (err: AWSError, data: Wisdom.Types.SearchContentResponse) => void): Request<Wisdom.Types.SearchContentResponse, AWSError>;
|
270
|
+
/**
|
271
|
+
* Searches existing Wisdom quick responses in a Wisdom knowledge base.
|
272
|
+
*/
|
273
|
+
searchQuickResponses(params: Wisdom.Types.SearchQuickResponsesRequest, callback?: (err: AWSError, data: Wisdom.Types.SearchQuickResponsesResponse) => void): Request<Wisdom.Types.SearchQuickResponsesResponse, AWSError>;
|
274
|
+
/**
|
275
|
+
* Searches existing Wisdom quick responses in a Wisdom knowledge base.
|
276
|
+
*/
|
277
|
+
searchQuickResponses(callback?: (err: AWSError, data: Wisdom.Types.SearchQuickResponsesResponse) => void): Request<Wisdom.Types.SearchQuickResponsesResponse, AWSError>;
|
214
278
|
/**
|
215
279
|
* Searches for sessions.
|
216
280
|
*/
|
@@ -227,6 +291,14 @@ declare class Wisdom extends Service {
|
|
227
291
|
* Get a URL to upload content to a knowledge base. To upload content, first make a PUT request to the returned URL with your file, making sure to include the required headers. Then use CreateContent to finalize the content creation process or UpdateContent to modify an existing resource. You can only upload content to a knowledge base of type CUSTOM.
|
228
292
|
*/
|
229
293
|
startContentUpload(callback?: (err: AWSError, data: Wisdom.Types.StartContentUploadResponse) => void): Request<Wisdom.Types.StartContentUploadResponse, AWSError>;
|
294
|
+
/**
|
295
|
+
* Start an asynchronous job to import Wisdom resources from an uploaded source file. Before calling this API, use StartContentUpload to upload an asset that contains the resource data. For importing Wisdom quick responses, you need to upload a csv file including the quick responses. For information about how to format the csv file for importing quick responses, see Import quick responses.
|
296
|
+
*/
|
297
|
+
startImportJob(params: Wisdom.Types.StartImportJobRequest, callback?: (err: AWSError, data: Wisdom.Types.StartImportJobResponse) => void): Request<Wisdom.Types.StartImportJobResponse, AWSError>;
|
298
|
+
/**
|
299
|
+
* Start an asynchronous job to import Wisdom resources from an uploaded source file. Before calling this API, use StartContentUpload to upload an asset that contains the resource data. For importing Wisdom quick responses, you need to upload a csv file including the quick responses. For information about how to format the csv file for importing quick responses, see Import quick responses.
|
300
|
+
*/
|
301
|
+
startImportJob(callback?: (err: AWSError, data: Wisdom.Types.StartImportJobResponse) => void): Request<Wisdom.Types.StartImportJobResponse, AWSError>;
|
230
302
|
/**
|
231
303
|
* Adds the specified tags to the specified resource.
|
232
304
|
*/
|
@@ -259,6 +331,14 @@ declare class Wisdom extends Service {
|
|
259
331
|
* Updates the template URI of a knowledge base. This is only supported for knowledge bases of type EXTERNAL. Include a single variable in ${variable} format; this interpolated by Wisdom using ingested content. For example, if you ingest a Salesforce article, it has an Id value, and you can set the template URI to https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*${Id}*view.
|
260
332
|
*/
|
261
333
|
updateKnowledgeBaseTemplateUri(callback?: (err: AWSError, data: Wisdom.Types.UpdateKnowledgeBaseTemplateUriResponse) => void): Request<Wisdom.Types.UpdateKnowledgeBaseTemplateUriResponse, AWSError>;
|
334
|
+
/**
|
335
|
+
* Updates an existing Wisdom quick response.
|
336
|
+
*/
|
337
|
+
updateQuickResponse(params: Wisdom.Types.UpdateQuickResponseRequest, callback?: (err: AWSError, data: Wisdom.Types.UpdateQuickResponseResponse) => void): Request<Wisdom.Types.UpdateQuickResponseResponse, AWSError>;
|
338
|
+
/**
|
339
|
+
* Updates an existing Wisdom quick response.
|
340
|
+
*/
|
341
|
+
updateQuickResponse(callback?: (err: AWSError, data: Wisdom.Types.UpdateQuickResponseResponse) => void): Request<Wisdom.Types.UpdateQuickResponseResponse, AWSError>;
|
262
342
|
}
|
263
343
|
declare namespace Wisdom {
|
264
344
|
export interface AppIntegrationsConfiguration {
|
@@ -304,7 +384,7 @@ declare namespace Wisdom {
|
|
304
384
|
}
|
305
385
|
export interface AssistantAssociationInputData {
|
306
386
|
/**
|
307
|
-
* The identifier of the knowledge base.
|
387
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it.
|
308
388
|
*/
|
309
389
|
knowledgeBaseId?: Uuid;
|
310
390
|
}
|
@@ -367,7 +447,7 @@ declare namespace Wisdom {
|
|
367
447
|
*/
|
368
448
|
name: Name;
|
369
449
|
/**
|
370
|
-
* The configuration information for the customer managed key used for encryption. This KMS key must have a policy that allows kms:CreateGrant and kms:
|
450
|
+
* The configuration information for the customer managed key used for encryption. This KMS key must have a policy that allows kms:CreateGrant, kms:DescribeKey, and kms:Decrypt/kms:GenerateDataKey permissions to the IAM identity using the key to invoke Wisdom. To use Wisdom with chat, the key policy must also allow kms:Decrypt, kms:GenerateDataKey*, and kms:DescribeKey permissions to the connect.amazonaws.com service principal. For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
|
371
451
|
*/
|
372
452
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
373
453
|
/**
|
@@ -413,7 +493,7 @@ declare namespace Wisdom {
|
|
413
493
|
*/
|
414
494
|
name: Name;
|
415
495
|
/**
|
416
|
-
* The configuration information for the customer managed key used for encryption. This KMS key must have a policy that allows kms:CreateGrant and kms:
|
496
|
+
* The configuration information for the customer managed key used for encryption. This KMS key must have a policy that allows kms:CreateGrant, kms:DescribeKey, and kms:Decrypt/kms:GenerateDataKey permissions to the IAM identity using the key to invoke Wisdom. To use Wisdom with chat, the key policy must also allow kms:Decrypt, kms:GenerateDataKey*, and kms:DescribeKey permissions to the connect.amazonaws.com service principal. For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
|
417
497
|
*/
|
418
498
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
419
499
|
/**
|
@@ -432,7 +512,25 @@ declare namespace Wisdom {
|
|
432
512
|
export type AssistantType = "AGENT"|string;
|
433
513
|
export type AssociationType = "KNOWLEDGE_BASE"|string;
|
434
514
|
export type Boolean = boolean;
|
515
|
+
export type Channel = string;
|
516
|
+
export type Channels = Channel[];
|
435
517
|
export type ClientToken = string;
|
518
|
+
export interface Configuration {
|
519
|
+
/**
|
520
|
+
* The configuration information of the Amazon Connect data source.
|
521
|
+
*/
|
522
|
+
connectConfiguration?: ConnectConfiguration;
|
523
|
+
}
|
524
|
+
export interface ConnectConfiguration {
|
525
|
+
/**
|
526
|
+
* The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
|
527
|
+
*/
|
528
|
+
instanceId?: NonEmptyString;
|
529
|
+
}
|
530
|
+
export type ContactAttributeKey = string;
|
531
|
+
export type ContactAttributeKeys = ContactAttributeKey[];
|
532
|
+
export type ContactAttributeValue = string;
|
533
|
+
export type ContactAttributes = {[key: string]: ContactAttributeValue};
|
436
534
|
export interface ContentData {
|
437
535
|
/**
|
438
536
|
* The Amazon Resource Name (ARN) of the content.
|
@@ -451,7 +549,7 @@ declare namespace Wisdom {
|
|
451
549
|
*/
|
452
550
|
knowledgeBaseArn: Arn;
|
453
551
|
/**
|
454
|
-
* The identifier of the knowledge base.
|
552
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it.
|
455
553
|
*/
|
456
554
|
knowledgeBaseId: Uuid;
|
457
555
|
/**
|
@@ -506,7 +604,7 @@ declare namespace Wisdom {
|
|
506
604
|
*/
|
507
605
|
knowledgeBaseArn?: Arn;
|
508
606
|
/**
|
509
|
-
* The identifier of the knowledge base.
|
607
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it.
|
510
608
|
*/
|
511
609
|
knowledgeBaseId?: Uuid;
|
512
610
|
}
|
@@ -529,7 +627,7 @@ declare namespace Wisdom {
|
|
529
627
|
*/
|
530
628
|
knowledgeBaseArn: Arn;
|
531
629
|
/**
|
532
|
-
* The identifier of the knowledge base.
|
630
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it.
|
533
631
|
*/
|
534
632
|
knowledgeBaseId: Uuid;
|
535
633
|
/**
|
@@ -602,7 +700,7 @@ declare namespace Wisdom {
|
|
602
700
|
*/
|
603
701
|
name: Name;
|
604
702
|
/**
|
605
|
-
* The configuration information for the customer managed key used for encryption. The customer managed key must have a policy that allows kms:CreateGrant
|
703
|
+
* The configuration information for the customer managed key used for encryption. The customer managed key must have a policy that allows kms:CreateGrant, kms:DescribeKey, and kms:Decrypt/kms:GenerateDataKey permissions to the IAM identity using the key to invoke Wisdom. To use Wisdom with chat, the key policy must also allow kms:Decrypt, kms:GenerateDataKey*, and kms:DescribeKey permissions to the connect.amazonaws.com service principal. For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
|
606
704
|
*/
|
607
705
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
608
706
|
/**
|
@@ -626,7 +724,7 @@ declare namespace Wisdom {
|
|
626
724
|
*/
|
627
725
|
clientToken?: NonEmptyString;
|
628
726
|
/**
|
629
|
-
* The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
727
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
630
728
|
*/
|
631
729
|
knowledgeBaseId: UuidOrArn;
|
632
730
|
/**
|
@@ -682,7 +780,7 @@ declare namespace Wisdom {
|
|
682
780
|
*/
|
683
781
|
renderingConfiguration?: RenderingConfiguration;
|
684
782
|
/**
|
685
|
-
* The configuration information for the customer managed key used for encryption. This KMS key must have a policy that allows kms:CreateGrant and kms:
|
783
|
+
* The configuration information for the customer managed key used for encryption. This KMS key must have a policy that allows kms:CreateGrant, kms:DescribeKey, and kms:Decrypt/kms:GenerateDataKey permissions to the IAM identity using the key to invoke Wisdom. For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
|
686
784
|
*/
|
687
785
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
688
786
|
/**
|
@@ -700,6 +798,62 @@ declare namespace Wisdom {
|
|
700
798
|
*/
|
701
799
|
knowledgeBase?: KnowledgeBaseData;
|
702
800
|
}
|
801
|
+
export interface CreateQuickResponseRequest {
|
802
|
+
/**
|
803
|
+
* The Amazon Connect channels this quick response applies to.
|
804
|
+
*/
|
805
|
+
channels?: Channels;
|
806
|
+
/**
|
807
|
+
* A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
|
808
|
+
*/
|
809
|
+
clientToken?: NonEmptyString;
|
810
|
+
/**
|
811
|
+
* The content of the quick response.
|
812
|
+
*/
|
813
|
+
content: QuickResponseDataProvider;
|
814
|
+
/**
|
815
|
+
* The media type of the quick response content. Use application/x.quickresponse;format=plain for a quick response written in plain text. Use application/x.quickresponse;format=markdown for a quick response written in richtext.
|
816
|
+
*/
|
817
|
+
contentType?: QuickResponseType;
|
818
|
+
/**
|
819
|
+
* The description of the quick response.
|
820
|
+
*/
|
821
|
+
description?: QuickResponseDescription;
|
822
|
+
/**
|
823
|
+
* The configuration information of the user groups that the quick response is accessible to.
|
824
|
+
*/
|
825
|
+
groupingConfiguration?: GroupingConfiguration;
|
826
|
+
/**
|
827
|
+
* Whether the quick response is active.
|
828
|
+
*/
|
829
|
+
isActive?: Boolean;
|
830
|
+
/**
|
831
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
832
|
+
*/
|
833
|
+
knowledgeBaseId: UuidOrArn;
|
834
|
+
/**
|
835
|
+
* The language code value for the language in which the quick response is written. The supported language codes include de_DE, en_US, es_ES, fr_FR, id_ID, it_IT, ja_JP, ko_KR, pt_BR, zh_CN, zh_TW
|
836
|
+
*/
|
837
|
+
language?: LanguageCode;
|
838
|
+
/**
|
839
|
+
* The name of the quick response.
|
840
|
+
*/
|
841
|
+
name: QuickResponseName;
|
842
|
+
/**
|
843
|
+
* The shortcut key of the quick response. The value should be unique across the knowledge base.
|
844
|
+
*/
|
845
|
+
shortcutKey?: ShortCutKey;
|
846
|
+
/**
|
847
|
+
* The tags used to organize, track, or control access for this resource.
|
848
|
+
*/
|
849
|
+
tags?: Tags;
|
850
|
+
}
|
851
|
+
export interface CreateQuickResponseResponse {
|
852
|
+
/**
|
853
|
+
* The quick response.
|
854
|
+
*/
|
855
|
+
quickResponse?: QuickResponseData;
|
856
|
+
}
|
703
857
|
export interface CreateSessionRequest {
|
704
858
|
/**
|
705
859
|
* The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
@@ -754,12 +908,24 @@ declare namespace Wisdom {
|
|
754
908
|
*/
|
755
909
|
contentId: UuidOrArn;
|
756
910
|
/**
|
757
|
-
* The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
911
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
758
912
|
*/
|
759
913
|
knowledgeBaseId: UuidOrArn;
|
760
914
|
}
|
761
915
|
export interface DeleteContentResponse {
|
762
916
|
}
|
917
|
+
export interface DeleteImportJobRequest {
|
918
|
+
/**
|
919
|
+
* The identifier of the import job to be deleted.
|
920
|
+
*/
|
921
|
+
importJobId: Uuid;
|
922
|
+
/**
|
923
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it.
|
924
|
+
*/
|
925
|
+
knowledgeBaseId: UuidOrArn;
|
926
|
+
}
|
927
|
+
export interface DeleteImportJobResponse {
|
928
|
+
}
|
763
929
|
export interface DeleteKnowledgeBaseRequest {
|
764
930
|
/**
|
765
931
|
* The knowledge base to delete content from. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
@@ -768,6 +934,18 @@ declare namespace Wisdom {
|
|
768
934
|
}
|
769
935
|
export interface DeleteKnowledgeBaseResponse {
|
770
936
|
}
|
937
|
+
export interface DeleteQuickResponseRequest {
|
938
|
+
/**
|
939
|
+
* The knowledge base from which the quick response is deleted. The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it.
|
940
|
+
*/
|
941
|
+
knowledgeBaseId: UuidOrArn;
|
942
|
+
/**
|
943
|
+
* The identifier of the quick response to delete.
|
944
|
+
*/
|
945
|
+
quickResponseId: UuidOrArn;
|
946
|
+
}
|
947
|
+
export interface DeleteQuickResponseResponse {
|
948
|
+
}
|
771
949
|
export type Description = string;
|
772
950
|
export interface Document {
|
773
951
|
/**
|
@@ -793,6 +971,17 @@ declare namespace Wisdom {
|
|
793
971
|
*/
|
794
972
|
text?: SensitiveString;
|
795
973
|
}
|
974
|
+
export type ExternalSource = "AMAZON_CONNECT"|string;
|
975
|
+
export interface ExternalSourceConfiguration {
|
976
|
+
/**
|
977
|
+
* The configuration information of the external data source.
|
978
|
+
*/
|
979
|
+
configuration: Configuration;
|
980
|
+
/**
|
981
|
+
* The type of the external data source.
|
982
|
+
*/
|
983
|
+
source: ExternalSource;
|
984
|
+
}
|
796
985
|
export interface Filter {
|
797
986
|
/**
|
798
987
|
* The field on which to filter.
|
@@ -845,7 +1034,7 @@ declare namespace Wisdom {
|
|
845
1034
|
*/
|
846
1035
|
contentId: UuidOrArn;
|
847
1036
|
/**
|
848
|
-
* The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
1037
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
849
1038
|
*/
|
850
1039
|
knowledgeBaseId: UuidOrArn;
|
851
1040
|
}
|
@@ -861,7 +1050,7 @@ declare namespace Wisdom {
|
|
861
1050
|
*/
|
862
1051
|
contentId: UuidOrArn;
|
863
1052
|
/**
|
864
|
-
* The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
1053
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
865
1054
|
*/
|
866
1055
|
knowledgeBaseId: UuidOrArn;
|
867
1056
|
}
|
@@ -871,9 +1060,25 @@ declare namespace Wisdom {
|
|
871
1060
|
*/
|
872
1061
|
contentSummary?: ContentSummary;
|
873
1062
|
}
|
1063
|
+
export interface GetImportJobRequest {
|
1064
|
+
/**
|
1065
|
+
* The identifier of the import job to retrieve.
|
1066
|
+
*/
|
1067
|
+
importJobId: Uuid;
|
1068
|
+
/**
|
1069
|
+
* The identifier of the knowledge base that the import job belongs to.
|
1070
|
+
*/
|
1071
|
+
knowledgeBaseId: UuidOrArn;
|
1072
|
+
}
|
1073
|
+
export interface GetImportJobResponse {
|
1074
|
+
/**
|
1075
|
+
* The import job.
|
1076
|
+
*/
|
1077
|
+
importJob?: ImportJobData;
|
1078
|
+
}
|
874
1079
|
export interface GetKnowledgeBaseRequest {
|
875
1080
|
/**
|
876
|
-
* The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
1081
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
877
1082
|
*/
|
878
1083
|
knowledgeBaseId: UuidOrArn;
|
879
1084
|
}
|
@@ -883,6 +1088,22 @@ declare namespace Wisdom {
|
|
883
1088
|
*/
|
884
1089
|
knowledgeBase?: KnowledgeBaseData;
|
885
1090
|
}
|
1091
|
+
export interface GetQuickResponseRequest {
|
1092
|
+
/**
|
1093
|
+
* The identifier of the knowledge base. This should be a QUICK_RESPONSES type knowledge base.
|
1094
|
+
*/
|
1095
|
+
knowledgeBaseId: UuidOrArn;
|
1096
|
+
/**
|
1097
|
+
* The identifier of the quick response.
|
1098
|
+
*/
|
1099
|
+
quickResponseId: UuidOrArn;
|
1100
|
+
}
|
1101
|
+
export interface GetQuickResponseResponse {
|
1102
|
+
/**
|
1103
|
+
* The quick response.
|
1104
|
+
*/
|
1105
|
+
quickResponse?: QuickResponseData;
|
1106
|
+
}
|
886
1107
|
export interface GetRecommendationsRequest {
|
887
1108
|
/**
|
888
1109
|
* The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
@@ -927,6 +1148,19 @@ declare namespace Wisdom {
|
|
927
1148
|
*/
|
928
1149
|
session?: SessionData;
|
929
1150
|
}
|
1151
|
+
export interface GroupingConfiguration {
|
1152
|
+
/**
|
1153
|
+
* The criteria used for grouping Wisdom users. The following is the list of supported criteria values. RoutingProfileArn: Grouping the users by their Amazon Connect routing profile ARN. User should have SearchRoutingProfile and DescribeRoutingProfile permissions when setting criteria to this value.
|
1154
|
+
*/
|
1155
|
+
criteria?: GroupingCriteria;
|
1156
|
+
/**
|
1157
|
+
* The list of values that define different groups of Wisdom users. When setting criteria to RoutingProfileArn, you need to provide a list of ARNs of Amazon Connect routing profiles as values of this parameter.
|
1158
|
+
*/
|
1159
|
+
values?: GroupingValues;
|
1160
|
+
}
|
1161
|
+
export type GroupingCriteria = string;
|
1162
|
+
export type GroupingValue = string;
|
1163
|
+
export type GroupingValues = GroupingValue[];
|
930
1164
|
export type Headers = {[key: string]: NonEmptyString};
|
931
1165
|
export interface Highlight {
|
932
1166
|
/**
|
@@ -940,13 +1174,109 @@ declare namespace Wisdom {
|
|
940
1174
|
}
|
941
1175
|
export type HighlightOffset = number;
|
942
1176
|
export type Highlights = Highlight[];
|
1177
|
+
export interface ImportJobData {
|
1178
|
+
/**
|
1179
|
+
* The timestamp when the import job was created.
|
1180
|
+
*/
|
1181
|
+
createdTime: SyntheticTimestamp_epoch_seconds;
|
1182
|
+
externalSourceConfiguration?: ExternalSourceConfiguration;
|
1183
|
+
/**
|
1184
|
+
* The link to donwload the information of resource data that failed to be imported.
|
1185
|
+
*/
|
1186
|
+
failedRecordReport?: Url;
|
1187
|
+
/**
|
1188
|
+
* The identifier of the import job.
|
1189
|
+
*/
|
1190
|
+
importJobId: Uuid;
|
1191
|
+
/**
|
1192
|
+
* The type of the import job.
|
1193
|
+
*/
|
1194
|
+
importJobType: ImportJobType;
|
1195
|
+
/**
|
1196
|
+
* The Amazon Resource Name (ARN) of the knowledge base.
|
1197
|
+
*/
|
1198
|
+
knowledgeBaseArn: Arn;
|
1199
|
+
/**
|
1200
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it.
|
1201
|
+
*/
|
1202
|
+
knowledgeBaseId: Uuid;
|
1203
|
+
/**
|
1204
|
+
* The timestamp when the import job data was last modified.
|
1205
|
+
*/
|
1206
|
+
lastModifiedTime: SyntheticTimestamp_epoch_seconds;
|
1207
|
+
/**
|
1208
|
+
* The metadata fields of the imported Wisdom resources.
|
1209
|
+
*/
|
1210
|
+
metadata?: ContentMetadata;
|
1211
|
+
/**
|
1212
|
+
* The status of the import job.
|
1213
|
+
*/
|
1214
|
+
status: ImportJobStatus;
|
1215
|
+
/**
|
1216
|
+
* A pointer to the uploaded asset. This value is returned by StartContentUpload.
|
1217
|
+
*/
|
1218
|
+
uploadId: UploadId;
|
1219
|
+
/**
|
1220
|
+
* The download link to the resource file that is uploaded to the import job.
|
1221
|
+
*/
|
1222
|
+
url: Url;
|
1223
|
+
/**
|
1224
|
+
* The expiration time of the URL as an epoch timestamp.
|
1225
|
+
*/
|
1226
|
+
urlExpiry: SyntheticTimestamp_epoch_seconds;
|
1227
|
+
}
|
1228
|
+
export type ImportJobList = ImportJobSummary[];
|
1229
|
+
export type ImportJobStatus = "START_IN_PROGRESS"|"FAILED"|"COMPLETE"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|"DELETED"|string;
|
1230
|
+
export interface ImportJobSummary {
|
1231
|
+
/**
|
1232
|
+
* The timestamp when the import job was created.
|
1233
|
+
*/
|
1234
|
+
createdTime: SyntheticTimestamp_epoch_seconds;
|
1235
|
+
/**
|
1236
|
+
* The configuration information of the external source that the resource data are imported from.
|
1237
|
+
*/
|
1238
|
+
externalSourceConfiguration?: ExternalSourceConfiguration;
|
1239
|
+
/**
|
1240
|
+
* The identifier of the import job.
|
1241
|
+
*/
|
1242
|
+
importJobId: Uuid;
|
1243
|
+
/**
|
1244
|
+
* The type of import job.
|
1245
|
+
*/
|
1246
|
+
importJobType: ImportJobType;
|
1247
|
+
/**
|
1248
|
+
* The Amazon Resource Name (ARN) of the knowledge base.
|
1249
|
+
*/
|
1250
|
+
knowledgeBaseArn: Arn;
|
1251
|
+
/**
|
1252
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it.
|
1253
|
+
*/
|
1254
|
+
knowledgeBaseId: Uuid;
|
1255
|
+
/**
|
1256
|
+
* The timestamp when the import job was last modified.
|
1257
|
+
*/
|
1258
|
+
lastModifiedTime: SyntheticTimestamp_epoch_seconds;
|
1259
|
+
/**
|
1260
|
+
* The metadata fields of the imported Wisdom resources.
|
1261
|
+
*/
|
1262
|
+
metadata?: ContentMetadata;
|
1263
|
+
/**
|
1264
|
+
* The status of the import job.
|
1265
|
+
*/
|
1266
|
+
status: ImportJobStatus;
|
1267
|
+
/**
|
1268
|
+
* A pointer to the uploaded asset. This value is returned by StartContentUpload.
|
1269
|
+
*/
|
1270
|
+
uploadId: UploadId;
|
1271
|
+
}
|
1272
|
+
export type ImportJobType = "QUICK_RESPONSES"|string;
|
943
1273
|
export interface KnowledgeBaseAssociationData {
|
944
1274
|
/**
|
945
1275
|
* The Amazon Resource Name (ARN) of the knowledge base.
|
946
1276
|
*/
|
947
1277
|
knowledgeBaseArn?: Arn;
|
948
1278
|
/**
|
949
|
-
* The identifier of the knowledge base.
|
1279
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it.
|
950
1280
|
*/
|
951
1281
|
knowledgeBaseId?: Uuid;
|
952
1282
|
}
|
@@ -960,7 +1290,7 @@ declare namespace Wisdom {
|
|
960
1290
|
*/
|
961
1291
|
knowledgeBaseArn: Arn;
|
962
1292
|
/**
|
963
|
-
* The identifier of the knowledge base.
|
1293
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it.
|
964
1294
|
*/
|
965
1295
|
knowledgeBaseId: Uuid;
|
966
1296
|
/**
|
@@ -980,7 +1310,7 @@ declare namespace Wisdom {
|
|
980
1310
|
*/
|
981
1311
|
renderingConfiguration?: RenderingConfiguration;
|
982
1312
|
/**
|
983
|
-
* The configuration information for the customer managed key used for encryption. This KMS key must have a policy that allows kms:CreateGrant and kms:
|
1313
|
+
* The configuration information for the customer managed key used for encryption. This KMS key must have a policy that allows kms:CreateGrant, kms:DescribeKey, and kms:Decrypt/kms:GenerateDataKey permissions to the IAM identity using the key to invoke Wisdom. For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
|
984
1314
|
*/
|
985
1315
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
986
1316
|
/**
|
@@ -1008,7 +1338,7 @@ declare namespace Wisdom {
|
|
1008
1338
|
*/
|
1009
1339
|
knowledgeBaseArn: Arn;
|
1010
1340
|
/**
|
1011
|
-
* The identifier of the knowledge base.
|
1341
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it.
|
1012
1342
|
*/
|
1013
1343
|
knowledgeBaseId: Uuid;
|
1014
1344
|
/**
|
@@ -1024,7 +1354,7 @@ declare namespace Wisdom {
|
|
1024
1354
|
*/
|
1025
1355
|
renderingConfiguration?: RenderingConfiguration;
|
1026
1356
|
/**
|
1027
|
-
* The configuration information for the customer managed key used for encryption. This KMS key must have a policy that allows kms:CreateGrant
|
1357
|
+
* The configuration information for the customer managed key used for encryption. This KMS key must have a policy that allows kms:CreateGrant, kms:DescribeKey, kms:Decrypt/kms:GenerateDataKey permissions to the IAM identity using the key to invoke Wisdom. For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
|
1028
1358
|
*/
|
1029
1359
|
serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration;
|
1030
1360
|
/**
|
@@ -1040,7 +1370,8 @@ declare namespace Wisdom {
|
|
1040
1370
|
*/
|
1041
1371
|
tags?: Tags;
|
1042
1372
|
}
|
1043
|
-
export type KnowledgeBaseType = "EXTERNAL"|"CUSTOM"|string;
|
1373
|
+
export type KnowledgeBaseType = "EXTERNAL"|"CUSTOM"|"QUICK_RESPONSES"|string;
|
1374
|
+
export type LanguageCode = string;
|
1044
1375
|
export interface ListAssistantAssociationsRequest {
|
1045
1376
|
/**
|
1046
1377
|
* The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
@@ -1087,7 +1418,7 @@ declare namespace Wisdom {
|
|
1087
1418
|
}
|
1088
1419
|
export interface ListContentsRequest {
|
1089
1420
|
/**
|
1090
|
-
* The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
1421
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
1091
1422
|
*/
|
1092
1423
|
knowledgeBaseId: UuidOrArn;
|
1093
1424
|
/**
|
@@ -1109,6 +1440,30 @@ declare namespace Wisdom {
|
|
1109
1440
|
*/
|
1110
1441
|
nextToken?: NextToken;
|
1111
1442
|
}
|
1443
|
+
export interface ListImportJobsRequest {
|
1444
|
+
/**
|
1445
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
1446
|
+
*/
|
1447
|
+
knowledgeBaseId: UuidOrArn;
|
1448
|
+
/**
|
1449
|
+
* The maximum number of results to return per page.
|
1450
|
+
*/
|
1451
|
+
maxResults?: MaxResults;
|
1452
|
+
/**
|
1453
|
+
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
1454
|
+
*/
|
1455
|
+
nextToken?: NonEmptyString;
|
1456
|
+
}
|
1457
|
+
export interface ListImportJobsResponse {
|
1458
|
+
/**
|
1459
|
+
* Summary information about the import jobs.
|
1460
|
+
*/
|
1461
|
+
importJobSummaries: ImportJobList;
|
1462
|
+
/**
|
1463
|
+
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
1464
|
+
*/
|
1465
|
+
nextToken?: NonEmptyString;
|
1466
|
+
}
|
1112
1467
|
export interface ListKnowledgeBasesRequest {
|
1113
1468
|
/**
|
1114
1469
|
* The maximum number of results to return per page.
|
@@ -1129,6 +1484,30 @@ declare namespace Wisdom {
|
|
1129
1484
|
*/
|
1130
1485
|
nextToken?: NonEmptyString;
|
1131
1486
|
}
|
1487
|
+
export interface ListQuickResponsesRequest {
|
1488
|
+
/**
|
1489
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
1490
|
+
*/
|
1491
|
+
knowledgeBaseId: UuidOrArn;
|
1492
|
+
/**
|
1493
|
+
* The maximum number of results to return per page.
|
1494
|
+
*/
|
1495
|
+
maxResults?: MaxResults;
|
1496
|
+
/**
|
1497
|
+
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
1498
|
+
*/
|
1499
|
+
nextToken?: NonEmptyString;
|
1500
|
+
}
|
1501
|
+
export interface ListQuickResponsesResponse {
|
1502
|
+
/**
|
1503
|
+
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
1504
|
+
*/
|
1505
|
+
nextToken?: NonEmptyString;
|
1506
|
+
/**
|
1507
|
+
* Summary information about the quick responses.
|
1508
|
+
*/
|
1509
|
+
quickResponseSummaries: QuickResponseSummaryList;
|
1510
|
+
}
|
1132
1511
|
export interface ListTagsForResourceRequest {
|
1133
1512
|
/**
|
1134
1513
|
* The Amazon Resource Name (ARN) of the resource.
|
@@ -1182,6 +1561,8 @@ declare namespace Wisdom {
|
|
1182
1561
|
recommendationIds?: RecommendationIdList;
|
1183
1562
|
}
|
1184
1563
|
export type ObjectFieldsList = NonEmptyString[];
|
1564
|
+
export type Order = "ASC"|"DESC"|string;
|
1565
|
+
export type Priority = "HIGH"|"MEDIUM"|"LOW"|string;
|
1185
1566
|
export interface QueryAssistantRequest {
|
1186
1567
|
/**
|
1187
1568
|
* The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
@@ -1218,6 +1599,315 @@ declare namespace Wisdom {
|
|
1218
1599
|
}
|
1219
1600
|
export type QueryResultsList = ResultData[];
|
1220
1601
|
export type QueryText = string;
|
1602
|
+
export type QuickResponseContent = string;
|
1603
|
+
export interface QuickResponseContentProvider {
|
1604
|
+
/**
|
1605
|
+
* The content of the quick response.
|
1606
|
+
*/
|
1607
|
+
content?: QuickResponseContent;
|
1608
|
+
}
|
1609
|
+
export interface QuickResponseContents {
|
1610
|
+
markdown?: QuickResponseContentProvider;
|
1611
|
+
plainText?: QuickResponseContentProvider;
|
1612
|
+
}
|
1613
|
+
export interface QuickResponseData {
|
1614
|
+
/**
|
1615
|
+
* The Amazon Connect contact channels this quick response applies to. The supported contact channel types include Chat.
|
1616
|
+
*/
|
1617
|
+
channels?: Channels;
|
1618
|
+
/**
|
1619
|
+
* The media type of the quick response content. Use application/x.quickresponse;format=plain for quick response written in plain text. Use application/x.quickresponse;format=markdown for quick response written in richtext.
|
1620
|
+
*/
|
1621
|
+
contentType: QuickResponseType;
|
1622
|
+
/**
|
1623
|
+
* The contents of the quick response.
|
1624
|
+
*/
|
1625
|
+
contents?: QuickResponseContents;
|
1626
|
+
/**
|
1627
|
+
* The timestamp when the quick response was created.
|
1628
|
+
*/
|
1629
|
+
createdTime: SyntheticTimestamp_epoch_seconds;
|
1630
|
+
/**
|
1631
|
+
* The description of the quick response.
|
1632
|
+
*/
|
1633
|
+
description?: QuickResponseDescription;
|
1634
|
+
/**
|
1635
|
+
* The configuration information of the user groups that the quick response is accessible to.
|
1636
|
+
*/
|
1637
|
+
groupingConfiguration?: GroupingConfiguration;
|
1638
|
+
/**
|
1639
|
+
* Whether the quick response is active.
|
1640
|
+
*/
|
1641
|
+
isActive?: Boolean;
|
1642
|
+
/**
|
1643
|
+
* The Amazon Resource Name (ARN) of the knowledge base.
|
1644
|
+
*/
|
1645
|
+
knowledgeBaseArn: Arn;
|
1646
|
+
/**
|
1647
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
1648
|
+
*/
|
1649
|
+
knowledgeBaseId: Uuid;
|
1650
|
+
/**
|
1651
|
+
* The language code value for the language in which the quick response is written.
|
1652
|
+
*/
|
1653
|
+
language?: LanguageCode;
|
1654
|
+
/**
|
1655
|
+
* The Amazon Resource Name (ARN) of the user who last updated the quick response data.
|
1656
|
+
*/
|
1657
|
+
lastModifiedBy?: GenericArn;
|
1658
|
+
/**
|
1659
|
+
* The timestamp when the quick response data was last modified.
|
1660
|
+
*/
|
1661
|
+
lastModifiedTime: SyntheticTimestamp_epoch_seconds;
|
1662
|
+
/**
|
1663
|
+
* The name of the quick response.
|
1664
|
+
*/
|
1665
|
+
name: QuickResponseName;
|
1666
|
+
/**
|
1667
|
+
* The Amazon Resource Name (ARN) of the quick response.
|
1668
|
+
*/
|
1669
|
+
quickResponseArn: Arn;
|
1670
|
+
/**
|
1671
|
+
* The identifier of the quick response.
|
1672
|
+
*/
|
1673
|
+
quickResponseId: Uuid;
|
1674
|
+
/**
|
1675
|
+
* The shortcut key of the quick response. The value should be unique across the knowledge base.
|
1676
|
+
*/
|
1677
|
+
shortcutKey?: ShortCutKey;
|
1678
|
+
/**
|
1679
|
+
* The status of the quick response data.
|
1680
|
+
*/
|
1681
|
+
status: QuickResponseStatus;
|
1682
|
+
/**
|
1683
|
+
* The tags used to organize, track, or control access for this resource.
|
1684
|
+
*/
|
1685
|
+
tags?: Tags;
|
1686
|
+
}
|
1687
|
+
export interface QuickResponseDataProvider {
|
1688
|
+
/**
|
1689
|
+
* The content of the quick response.
|
1690
|
+
*/
|
1691
|
+
content?: QuickResponseContent;
|
1692
|
+
}
|
1693
|
+
export type QuickResponseDescription = string;
|
1694
|
+
export interface QuickResponseFilterField {
|
1695
|
+
/**
|
1696
|
+
* Whether to treat null value as a match for the attribute field.
|
1697
|
+
*/
|
1698
|
+
includeNoExistence?: Boolean;
|
1699
|
+
/**
|
1700
|
+
* The name of the attribute field to filter the quick responses by.
|
1701
|
+
*/
|
1702
|
+
name: NonEmptyString;
|
1703
|
+
/**
|
1704
|
+
* The operator to use for filtering.
|
1705
|
+
*/
|
1706
|
+
operator: QuickResponseFilterOperator;
|
1707
|
+
/**
|
1708
|
+
* The values of attribute field to filter the quick response by.
|
1709
|
+
*/
|
1710
|
+
values?: QuickResponseFilterValueList;
|
1711
|
+
}
|
1712
|
+
export type QuickResponseFilterFieldList = QuickResponseFilterField[];
|
1713
|
+
export type QuickResponseFilterOperator = "EQUALS"|"PREFIX"|string;
|
1714
|
+
export type QuickResponseFilterValue = string;
|
1715
|
+
export type QuickResponseFilterValueList = QuickResponseFilterValue[];
|
1716
|
+
export type QuickResponseName = string;
|
1717
|
+
export interface QuickResponseOrderField {
|
1718
|
+
/**
|
1719
|
+
* The name of the attribute to order the quick response query results by.
|
1720
|
+
*/
|
1721
|
+
name: NonEmptyString;
|
1722
|
+
/**
|
1723
|
+
* The order at which the quick responses are sorted by.
|
1724
|
+
*/
|
1725
|
+
order?: Order;
|
1726
|
+
}
|
1727
|
+
export interface QuickResponseQueryField {
|
1728
|
+
/**
|
1729
|
+
* Whether the query expects only exact matches on the attribute field values. The results of the query will only include exact matches if this parameter is set to false.
|
1730
|
+
*/
|
1731
|
+
allowFuzziness?: Boolean;
|
1732
|
+
/**
|
1733
|
+
* The name of the attribute to query the quick responses by.
|
1734
|
+
*/
|
1735
|
+
name: NonEmptyString;
|
1736
|
+
/**
|
1737
|
+
* The operator to use for matching attribute field values in the query.
|
1738
|
+
*/
|
1739
|
+
operator: QuickResponseQueryOperator;
|
1740
|
+
/**
|
1741
|
+
* The importance of the attribute field when calculating query result relevancy scores. The value set for this parameter affects the ordering of search results.
|
1742
|
+
*/
|
1743
|
+
priority?: Priority;
|
1744
|
+
/**
|
1745
|
+
* The values of the attribute to query the quick responses by.
|
1746
|
+
*/
|
1747
|
+
values: QuickResponseQueryValueList;
|
1748
|
+
}
|
1749
|
+
export type QuickResponseQueryFieldList = QuickResponseQueryField[];
|
1750
|
+
export type QuickResponseQueryOperator = "CONTAINS"|"CONTAINS_AND_PREFIX"|string;
|
1751
|
+
export type QuickResponseQueryValue = string;
|
1752
|
+
export type QuickResponseQueryValueList = QuickResponseQueryValue[];
|
1753
|
+
export interface QuickResponseSearchExpression {
|
1754
|
+
/**
|
1755
|
+
* The configuration of filtering rules applied to quick response query results.
|
1756
|
+
*/
|
1757
|
+
filters?: QuickResponseFilterFieldList;
|
1758
|
+
/**
|
1759
|
+
* The quick response attribute fields on which the query results are ordered.
|
1760
|
+
*/
|
1761
|
+
orderOnField?: QuickResponseOrderField;
|
1762
|
+
/**
|
1763
|
+
* The quick response query expressions.
|
1764
|
+
*/
|
1765
|
+
queries?: QuickResponseQueryFieldList;
|
1766
|
+
}
|
1767
|
+
export interface QuickResponseSearchResultData {
|
1768
|
+
/**
|
1769
|
+
* The user defined contact attributes that are resolved when the search result is returned.
|
1770
|
+
*/
|
1771
|
+
attributesInterpolated?: ContactAttributeKeys;
|
1772
|
+
/**
|
1773
|
+
* The user defined contact attributes that are not resolved when the search result is returned.
|
1774
|
+
*/
|
1775
|
+
attributesNotInterpolated?: ContactAttributeKeys;
|
1776
|
+
/**
|
1777
|
+
* The Amazon Connect contact channels this quick response applies to. The supported contact channel types include Chat.
|
1778
|
+
*/
|
1779
|
+
channels?: Channels;
|
1780
|
+
/**
|
1781
|
+
* The media type of the quick response content. Use application/x.quickresponse;format=plain for quick response written in plain text. Use application/x.quickresponse;format=markdown for quick response written in richtext.
|
1782
|
+
*/
|
1783
|
+
contentType: QuickResponseType;
|
1784
|
+
/**
|
1785
|
+
* The contents of the quick response.
|
1786
|
+
*/
|
1787
|
+
contents: QuickResponseContents;
|
1788
|
+
/**
|
1789
|
+
* The timestamp when the quick response was created.
|
1790
|
+
*/
|
1791
|
+
createdTime: SyntheticTimestamp_epoch_seconds;
|
1792
|
+
/**
|
1793
|
+
* The description of the quick response.
|
1794
|
+
*/
|
1795
|
+
description?: QuickResponseDescription;
|
1796
|
+
/**
|
1797
|
+
* The configuration information of the user groups that the quick response is accessible to.
|
1798
|
+
*/
|
1799
|
+
groupingConfiguration?: GroupingConfiguration;
|
1800
|
+
/**
|
1801
|
+
* Whether the quick response is active.
|
1802
|
+
*/
|
1803
|
+
isActive: Boolean;
|
1804
|
+
/**
|
1805
|
+
* The Amazon Resource Name (ARN) of the knowledge base.
|
1806
|
+
*/
|
1807
|
+
knowledgeBaseArn: Arn;
|
1808
|
+
/**
|
1809
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
1810
|
+
*/
|
1811
|
+
knowledgeBaseId: Uuid;
|
1812
|
+
/**
|
1813
|
+
* The language code value for the language in which the quick response is written.
|
1814
|
+
*/
|
1815
|
+
language?: LanguageCode;
|
1816
|
+
/**
|
1817
|
+
* The Amazon Resource Name (ARN) of the user who last updated the quick response search result data.
|
1818
|
+
*/
|
1819
|
+
lastModifiedBy?: GenericArn;
|
1820
|
+
/**
|
1821
|
+
* The timestamp when the quick response search result data was last modified.
|
1822
|
+
*/
|
1823
|
+
lastModifiedTime: SyntheticTimestamp_epoch_seconds;
|
1824
|
+
/**
|
1825
|
+
* The name of the quick response.
|
1826
|
+
*/
|
1827
|
+
name: QuickResponseName;
|
1828
|
+
/**
|
1829
|
+
* The Amazon Resource Name (ARN) of the quick response.
|
1830
|
+
*/
|
1831
|
+
quickResponseArn: Arn;
|
1832
|
+
/**
|
1833
|
+
* The identifier of the quick response.
|
1834
|
+
*/
|
1835
|
+
quickResponseId: Uuid;
|
1836
|
+
/**
|
1837
|
+
* The shortcut key of the quick response. The value should be unique across the knowledge base.
|
1838
|
+
*/
|
1839
|
+
shortcutKey?: ShortCutKey;
|
1840
|
+
/**
|
1841
|
+
* The resource status of the quick response.
|
1842
|
+
*/
|
1843
|
+
status: QuickResponseStatus;
|
1844
|
+
/**
|
1845
|
+
* The tags used to organize, track, or control access for this resource.
|
1846
|
+
*/
|
1847
|
+
tags?: Tags;
|
1848
|
+
}
|
1849
|
+
export type QuickResponseSearchResultsList = QuickResponseSearchResultData[];
|
1850
|
+
export type QuickResponseStatus = "CREATE_IN_PROGRESS"|"CREATE_FAILED"|"CREATED"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|"DELETED"|"UPDATE_IN_PROGRESS"|"UPDATE_FAILED"|string;
|
1851
|
+
export interface QuickResponseSummary {
|
1852
|
+
/**
|
1853
|
+
* The Amazon Connect contact channels this quick response applies to. The supported contact channel types include Chat.
|
1854
|
+
*/
|
1855
|
+
channels?: Channels;
|
1856
|
+
/**
|
1857
|
+
* The media type of the quick response content. Use application/x.quickresponse;format=plain for quick response written in plain text. Use application/x.quickresponse;format=markdown for quick response written in richtext.
|
1858
|
+
*/
|
1859
|
+
contentType: QuickResponseType;
|
1860
|
+
/**
|
1861
|
+
* The timestamp when the quick response was created.
|
1862
|
+
*/
|
1863
|
+
createdTime: SyntheticTimestamp_epoch_seconds;
|
1864
|
+
/**
|
1865
|
+
* The description of the quick response.
|
1866
|
+
*/
|
1867
|
+
description?: QuickResponseDescription;
|
1868
|
+
/**
|
1869
|
+
* Whether the quick response is active.
|
1870
|
+
*/
|
1871
|
+
isActive?: Boolean;
|
1872
|
+
/**
|
1873
|
+
* The Amazon Resource Name (ARN) of the knowledge base.
|
1874
|
+
*/
|
1875
|
+
knowledgeBaseArn: Arn;
|
1876
|
+
/**
|
1877
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it.
|
1878
|
+
*/
|
1879
|
+
knowledgeBaseId: Uuid;
|
1880
|
+
/**
|
1881
|
+
* The Amazon Resource Name (ARN) of the user who last updated the quick response data.
|
1882
|
+
*/
|
1883
|
+
lastModifiedBy?: GenericArn;
|
1884
|
+
/**
|
1885
|
+
* The timestamp when the quick response summary was last modified.
|
1886
|
+
*/
|
1887
|
+
lastModifiedTime: SyntheticTimestamp_epoch_seconds;
|
1888
|
+
/**
|
1889
|
+
* The name of the quick response.
|
1890
|
+
*/
|
1891
|
+
name: QuickResponseName;
|
1892
|
+
/**
|
1893
|
+
* The Amazon Resource Name (ARN) of the quick response.
|
1894
|
+
*/
|
1895
|
+
quickResponseArn: Arn;
|
1896
|
+
/**
|
1897
|
+
* The identifier of the quick response.
|
1898
|
+
*/
|
1899
|
+
quickResponseId: Uuid;
|
1900
|
+
/**
|
1901
|
+
* The resource status of the quick response.
|
1902
|
+
*/
|
1903
|
+
status: QuickResponseStatus;
|
1904
|
+
/**
|
1905
|
+
* The tags used to organize, track, or control access for this resource.
|
1906
|
+
*/
|
1907
|
+
tags?: Tags;
|
1908
|
+
}
|
1909
|
+
export type QuickResponseSummaryList = QuickResponseSummary[];
|
1910
|
+
export type QuickResponseType = string;
|
1221
1911
|
export interface RecommendationData {
|
1222
1912
|
/**
|
1223
1913
|
* The recommended document.
|
@@ -1278,7 +1968,7 @@ declare namespace Wisdom {
|
|
1278
1968
|
export type RelevanceScore = number;
|
1279
1969
|
export interface RemoveKnowledgeBaseTemplateUriRequest {
|
1280
1970
|
/**
|
1281
|
-
* The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
1971
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
1282
1972
|
*/
|
1283
1973
|
knowledgeBaseId: UuidOrArn;
|
1284
1974
|
}
|
@@ -1306,7 +1996,7 @@ declare namespace Wisdom {
|
|
1306
1996
|
}
|
1307
1997
|
export interface SearchContentRequest {
|
1308
1998
|
/**
|
1309
|
-
* The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
1999
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
1310
2000
|
*/
|
1311
2001
|
knowledgeBaseId: UuidOrArn;
|
1312
2002
|
/**
|
@@ -1338,6 +2028,38 @@ declare namespace Wisdom {
|
|
1338
2028
|
*/
|
1339
2029
|
filters: FilterList;
|
1340
2030
|
}
|
2031
|
+
export interface SearchQuickResponsesRequest {
|
2032
|
+
/**
|
2033
|
+
* The user-defined Amazon Connect contact attributes to be resolved when search results are returned.
|
2034
|
+
*/
|
2035
|
+
attributes?: ContactAttributes;
|
2036
|
+
/**
|
2037
|
+
* The identifier of the knowledge base. This should be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
2038
|
+
*/
|
2039
|
+
knowledgeBaseId: UuidOrArn;
|
2040
|
+
/**
|
2041
|
+
* The maximum number of results to return per page.
|
2042
|
+
*/
|
2043
|
+
maxResults?: MaxResults;
|
2044
|
+
/**
|
2045
|
+
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
2046
|
+
*/
|
2047
|
+
nextToken?: NonEmptyString;
|
2048
|
+
/**
|
2049
|
+
* The search expression for querying the quick response.
|
2050
|
+
*/
|
2051
|
+
searchExpression: QuickResponseSearchExpression;
|
2052
|
+
}
|
2053
|
+
export interface SearchQuickResponsesResponse {
|
2054
|
+
/**
|
2055
|
+
* The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
|
2056
|
+
*/
|
2057
|
+
nextToken?: NonEmptyString;
|
2058
|
+
/**
|
2059
|
+
* The results of the quick response search.
|
2060
|
+
*/
|
2061
|
+
results: QuickResponseSearchResultsList;
|
2062
|
+
}
|
1341
2063
|
export interface SearchSessionsRequest {
|
1342
2064
|
/**
|
1343
2065
|
* The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
@@ -1424,6 +2146,7 @@ declare namespace Wisdom {
|
|
1424
2146
|
*/
|
1425
2147
|
sessionId: Uuid;
|
1426
2148
|
}
|
2149
|
+
export type ShortCutKey = string;
|
1427
2150
|
export interface SourceConfiguration {
|
1428
2151
|
/**
|
1429
2152
|
* Configuration information for Amazon AppIntegrations to automatically ingest content.
|
@@ -1436,9 +2159,13 @@ declare namespace Wisdom {
|
|
1436
2159
|
*/
|
1437
2160
|
contentType: ContentType;
|
1438
2161
|
/**
|
1439
|
-
* The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
2162
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
1440
2163
|
*/
|
1441
2164
|
knowledgeBaseId: UuidOrArn;
|
2165
|
+
/**
|
2166
|
+
* The expected expiration time of the generated presigned URL, specified in minutes.
|
2167
|
+
*/
|
2168
|
+
presignedUrlTimeToLive?: TimeToLive;
|
1442
2169
|
}
|
1443
2170
|
export interface StartContentUploadResponse {
|
1444
2171
|
/**
|
@@ -1458,6 +2185,38 @@ declare namespace Wisdom {
|
|
1458
2185
|
*/
|
1459
2186
|
urlExpiry: SyntheticTimestamp_epoch_seconds;
|
1460
2187
|
}
|
2188
|
+
export interface StartImportJobRequest {
|
2189
|
+
/**
|
2190
|
+
* The tags used to organize, track, or control access for this resource.
|
2191
|
+
*/
|
2192
|
+
clientToken?: NonEmptyString;
|
2193
|
+
/**
|
2194
|
+
* The configuration information of the external source that the resource data are imported from.
|
2195
|
+
*/
|
2196
|
+
externalSourceConfiguration?: ExternalSourceConfiguration;
|
2197
|
+
/**
|
2198
|
+
* The type of the import job. For importing quick response resource, set the value to QUICK_RESPONSES.
|
2199
|
+
*/
|
2200
|
+
importJobType: ImportJobType;
|
2201
|
+
/**
|
2202
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN. For importing Wisdom quick responses, this should be a QUICK_RESPONSES type knowledge base.
|
2203
|
+
*/
|
2204
|
+
knowledgeBaseId: UuidOrArn;
|
2205
|
+
/**
|
2206
|
+
* The metadata fields of the imported Wisdom resources.
|
2207
|
+
*/
|
2208
|
+
metadata?: ContentMetadata;
|
2209
|
+
/**
|
2210
|
+
* A pointer to the uploaded asset. This value is returned by StartContentUpload.
|
2211
|
+
*/
|
2212
|
+
uploadId: UploadId;
|
2213
|
+
}
|
2214
|
+
export interface StartImportJobResponse {
|
2215
|
+
/**
|
2216
|
+
* The import job.
|
2217
|
+
*/
|
2218
|
+
importJob?: ImportJobData;
|
2219
|
+
}
|
1461
2220
|
export type String = string;
|
1462
2221
|
export type SyntheticTimestamp_epoch_seconds = Date;
|
1463
2222
|
export type TagKey = string;
|
@@ -1476,6 +2235,7 @@ declare namespace Wisdom {
|
|
1476
2235
|
}
|
1477
2236
|
export type TagValue = string;
|
1478
2237
|
export type Tags = {[key: string]: TagValue};
|
2238
|
+
export type TimeToLive = number;
|
1479
2239
|
export interface UntagResourceRequest {
|
1480
2240
|
/**
|
1481
2241
|
* The Amazon Resource Name (ARN) of the resource.
|
@@ -1494,7 +2254,7 @@ declare namespace Wisdom {
|
|
1494
2254
|
*/
|
1495
2255
|
contentId: UuidOrArn;
|
1496
2256
|
/**
|
1497
|
-
* The identifier of the knowledge base. Can be either the ID or the ARN
|
2257
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN
|
1498
2258
|
*/
|
1499
2259
|
knowledgeBaseId: UuidOrArn;
|
1500
2260
|
/**
|
@@ -1530,7 +2290,7 @@ declare namespace Wisdom {
|
|
1530
2290
|
}
|
1531
2291
|
export interface UpdateKnowledgeBaseTemplateUriRequest {
|
1532
2292
|
/**
|
1533
|
-
* The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
2293
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
1534
2294
|
*/
|
1535
2295
|
knowledgeBaseId: UuidOrArn;
|
1536
2296
|
/**
|
@@ -1544,6 +2304,70 @@ declare namespace Wisdom {
|
|
1544
2304
|
*/
|
1545
2305
|
knowledgeBase?: KnowledgeBaseData;
|
1546
2306
|
}
|
2307
|
+
export interface UpdateQuickResponseRequest {
|
2308
|
+
/**
|
2309
|
+
* The Amazon Connect contact channels this quick response applies to. The supported contact channel types include Chat.
|
2310
|
+
*/
|
2311
|
+
channels?: Channels;
|
2312
|
+
/**
|
2313
|
+
* The updated content of the quick response.
|
2314
|
+
*/
|
2315
|
+
content?: QuickResponseDataProvider;
|
2316
|
+
/**
|
2317
|
+
* The media type of the quick response content. Use application/x.quickresponse;format=plain for quick response written in plain text. Use application/x.quickresponse;format=markdown for quick response written in richtext.
|
2318
|
+
*/
|
2319
|
+
contentType?: QuickResponseType;
|
2320
|
+
/**
|
2321
|
+
* The updated description of the quick response.
|
2322
|
+
*/
|
2323
|
+
description?: QuickResponseDescription;
|
2324
|
+
/**
|
2325
|
+
* The updated grouping configuration of the quick response.
|
2326
|
+
*/
|
2327
|
+
groupingConfiguration?: GroupingConfiguration;
|
2328
|
+
/**
|
2329
|
+
* Whether the quick response is active.
|
2330
|
+
*/
|
2331
|
+
isActive?: Boolean;
|
2332
|
+
/**
|
2333
|
+
* The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.
|
2334
|
+
*/
|
2335
|
+
knowledgeBaseId: UuidOrArn;
|
2336
|
+
/**
|
2337
|
+
* The language code value for the language in which the quick response is written. The supported language codes include de_DE, en_US, es_ES, fr_FR, id_ID, it_IT, ja_JP, ko_KR, pt_BR, zh_CN, zh_TW
|
2338
|
+
*/
|
2339
|
+
language?: LanguageCode;
|
2340
|
+
/**
|
2341
|
+
* The name of the quick response.
|
2342
|
+
*/
|
2343
|
+
name?: QuickResponseName;
|
2344
|
+
/**
|
2345
|
+
* The identifier of the quick response.
|
2346
|
+
*/
|
2347
|
+
quickResponseId: UuidOrArn;
|
2348
|
+
/**
|
2349
|
+
* Whether to remove the description from the quick response.
|
2350
|
+
*/
|
2351
|
+
removeDescription?: Boolean;
|
2352
|
+
/**
|
2353
|
+
* Whether to remove the grouping configuration of the quick response.
|
2354
|
+
*/
|
2355
|
+
removeGroupingConfiguration?: Boolean;
|
2356
|
+
/**
|
2357
|
+
* Whether to remove the shortcut key of the quick response.
|
2358
|
+
*/
|
2359
|
+
removeShortcutKey?: Boolean;
|
2360
|
+
/**
|
2361
|
+
* The shortcut key of the quick response. The value should be unique across the knowledge base.
|
2362
|
+
*/
|
2363
|
+
shortcutKey?: ShortCutKey;
|
2364
|
+
}
|
2365
|
+
export interface UpdateQuickResponseResponse {
|
2366
|
+
/**
|
2367
|
+
* The quick response.
|
2368
|
+
*/
|
2369
|
+
quickResponse?: QuickResponseData;
|
2370
|
+
}
|
1547
2371
|
export type UploadId = string;
|
1548
2372
|
export type Uri = string;
|
1549
2373
|
export type Url = string;
|