@aws-sdk/client-wisdom 3.450.0 → 3.454.0
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/README.md +80 -0
- package/dist-cjs/Wisdom.js +20 -0
- package/dist-cjs/commands/CreateQuickResponseCommand.js +52 -0
- package/dist-cjs/commands/DeleteImportJobCommand.js +51 -0
- package/dist-cjs/commands/DeleteQuickResponseCommand.js +51 -0
- package/dist-cjs/commands/GetImportJobCommand.js +52 -0
- package/dist-cjs/commands/GetQuickResponseCommand.js +52 -0
- package/dist-cjs/commands/ListImportJobsCommand.js +51 -0
- package/dist-cjs/commands/ListQuickResponsesCommand.js +52 -0
- package/dist-cjs/commands/SearchQuickResponsesCommand.js +52 -0
- package/dist-cjs/commands/StartImportJobCommand.js +52 -0
- package/dist-cjs/commands/UpdateQuickResponseCommand.js +52 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/models/models_0.js +200 -1
- package/dist-cjs/pagination/ListImportJobsPaginator.js +29 -0
- package/dist-cjs/pagination/ListQuickResponsesPaginator.js +29 -0
- package/dist-cjs/pagination/SearchQuickResponsesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +816 -18
- package/dist-es/Wisdom.js +20 -0
- package/dist-es/commands/CreateQuickResponseCommand.js +48 -0
- package/dist-es/commands/DeleteImportJobCommand.js +47 -0
- package/dist-es/commands/DeleteQuickResponseCommand.js +47 -0
- package/dist-es/commands/GetImportJobCommand.js +48 -0
- package/dist-es/commands/GetQuickResponseCommand.js +48 -0
- package/dist-es/commands/ListImportJobsCommand.js +47 -0
- package/dist-es/commands/ListQuickResponsesCommand.js +48 -0
- package/dist-es/commands/SearchQuickResponsesCommand.js +48 -0
- package/dist-es/commands/StartImportJobCommand.js +48 -0
- package/dist-es/commands/UpdateQuickResponseCommand.js +48 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +179 -0
- package/dist-es/pagination/ListImportJobsPaginator.js +25 -0
- package/dist-es/pagination/ListQuickResponsesPaginator.js +25 -0
- package/dist-es/pagination/SearchQuickResponsesPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +794 -16
- package/dist-types/Wisdom.d.ts +70 -0
- package/dist-types/WisdomClient.d.ts +12 -2
- package/dist-types/commands/CreateQuickResponseCommand.d.ts +149 -0
- package/dist-types/commands/DeleteImportJobCommand.d.ts +87 -0
- package/dist-types/commands/DeleteQuickResponseCommand.d.ts +81 -0
- package/dist-types/commands/GetImportJobCommand.d.ts +106 -0
- package/dist-types/commands/GetQuickResponseCommand.d.ts +118 -0
- package/dist-types/commands/ListImportJobsCommand.d.ts +104 -0
- package/dist-types/commands/ListQuickResponsesCommand.d.ts +106 -0
- package/dist-types/commands/QueryAssistantCommand.d.ts +5 -0
- package/dist-types/commands/SearchQuickResponsesCommand.d.ts +163 -0
- package/dist-types/commands/StartContentUploadCommand.d.ts +1 -0
- package/dist-types/commands/StartImportJobCommand.d.ts +135 -0
- package/dist-types/commands/UpdateQuickResponseCommand.d.ts +149 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +1631 -167
- package/dist-types/pagination/ListImportJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListQuickResponsesPaginator.d.ts +7 -0
- package/dist-types/pagination/SearchQuickResponsesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/Wisdom.d.ts +170 -0
- package/dist-types/ts3.4/WisdomClient.d.ts +62 -2
- package/dist-types/ts3.4/commands/CreateQuickResponseCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteImportJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteQuickResponseCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetImportJobCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetQuickResponseCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListImportJobsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListQuickResponsesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SearchQuickResponsesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartImportJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateQuickResponseCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +397 -0
- package/dist-types/ts3.4/pagination/ListImportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListQuickResponsesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchQuickResponsesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +35 -35
|
@@ -325,6 +325,14 @@ export interface QueryAssistantResponse {
|
|
|
325
325
|
results: ResultData[] | undefined;
|
|
326
326
|
nextToken?: string;
|
|
327
327
|
}
|
|
328
|
+
export declare class RequestTimeoutException extends __BaseException {
|
|
329
|
+
readonly name: "RequestTimeoutException";
|
|
330
|
+
readonly $fault: "client";
|
|
331
|
+
$retryable: {};
|
|
332
|
+
constructor(
|
|
333
|
+
opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>
|
|
334
|
+
);
|
|
335
|
+
}
|
|
328
336
|
export declare const FilterField: {
|
|
329
337
|
readonly NAME: "NAME";
|
|
330
338
|
};
|
|
@@ -386,6 +394,27 @@ export interface GetSessionRequest {
|
|
|
386
394
|
export interface GetSessionResponse {
|
|
387
395
|
session?: SessionData;
|
|
388
396
|
}
|
|
397
|
+
export interface ConnectConfiguration {
|
|
398
|
+
instanceId?: string;
|
|
399
|
+
}
|
|
400
|
+
export type Configuration =
|
|
401
|
+
| Configuration.ConnectConfigurationMember
|
|
402
|
+
| Configuration.$UnknownMember;
|
|
403
|
+
export declare namespace Configuration {
|
|
404
|
+
interface ConnectConfigurationMember {
|
|
405
|
+
connectConfiguration: ConnectConfiguration;
|
|
406
|
+
$unknown?: never;
|
|
407
|
+
}
|
|
408
|
+
interface $UnknownMember {
|
|
409
|
+
connectConfiguration?: never;
|
|
410
|
+
$unknown: [string, any];
|
|
411
|
+
}
|
|
412
|
+
interface Visitor<T> {
|
|
413
|
+
connectConfiguration: (value: ConnectConfiguration) => T;
|
|
414
|
+
_: (name: string, value: any) => T;
|
|
415
|
+
}
|
|
416
|
+
const visit: <T>(value: Configuration, visitor: Visitor<T>) => T;
|
|
417
|
+
}
|
|
389
418
|
export interface CreateContentRequest {
|
|
390
419
|
knowledgeBaseId: string | undefined;
|
|
391
420
|
name: string | undefined;
|
|
@@ -489,6 +518,7 @@ export interface UpdateContentResponse {
|
|
|
489
518
|
export declare const KnowledgeBaseType: {
|
|
490
519
|
readonly CUSTOM: "CUSTOM";
|
|
491
520
|
readonly EXTERNAL: "EXTERNAL";
|
|
521
|
+
readonly QUICK_RESPONSES: "QUICK_RESPONSES";
|
|
492
522
|
};
|
|
493
523
|
export type KnowledgeBaseType =
|
|
494
524
|
(typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
|
|
@@ -549,16 +579,195 @@ export interface KnowledgeBaseData {
|
|
|
549
579
|
export interface CreateKnowledgeBaseResponse {
|
|
550
580
|
knowledgeBase?: KnowledgeBaseData;
|
|
551
581
|
}
|
|
582
|
+
export type QuickResponseDataProvider =
|
|
583
|
+
| QuickResponseDataProvider.ContentMember
|
|
584
|
+
| QuickResponseDataProvider.$UnknownMember;
|
|
585
|
+
export declare namespace QuickResponseDataProvider {
|
|
586
|
+
interface ContentMember {
|
|
587
|
+
content: string;
|
|
588
|
+
$unknown?: never;
|
|
589
|
+
}
|
|
590
|
+
interface $UnknownMember {
|
|
591
|
+
content?: never;
|
|
592
|
+
$unknown: [string, any];
|
|
593
|
+
}
|
|
594
|
+
interface Visitor<T> {
|
|
595
|
+
content: (value: string) => T;
|
|
596
|
+
_: (name: string, value: any) => T;
|
|
597
|
+
}
|
|
598
|
+
const visit: <T>(value: QuickResponseDataProvider, visitor: Visitor<T>) => T;
|
|
599
|
+
}
|
|
600
|
+
export interface GroupingConfiguration {
|
|
601
|
+
criteria?: string;
|
|
602
|
+
values?: string[];
|
|
603
|
+
}
|
|
604
|
+
export interface CreateQuickResponseRequest {
|
|
605
|
+
knowledgeBaseId: string | undefined;
|
|
606
|
+
name: string | undefined;
|
|
607
|
+
content: QuickResponseDataProvider | undefined;
|
|
608
|
+
contentType?: string;
|
|
609
|
+
groupingConfiguration?: GroupingConfiguration;
|
|
610
|
+
description?: string;
|
|
611
|
+
shortcutKey?: string;
|
|
612
|
+
isActive?: boolean;
|
|
613
|
+
channels?: string[];
|
|
614
|
+
language?: string;
|
|
615
|
+
clientToken?: string;
|
|
616
|
+
tags?: Record<string, string>;
|
|
617
|
+
}
|
|
618
|
+
export type QuickResponseContentProvider =
|
|
619
|
+
| QuickResponseContentProvider.ContentMember
|
|
620
|
+
| QuickResponseContentProvider.$UnknownMember;
|
|
621
|
+
export declare namespace QuickResponseContentProvider {
|
|
622
|
+
interface ContentMember {
|
|
623
|
+
content: string;
|
|
624
|
+
$unknown?: never;
|
|
625
|
+
}
|
|
626
|
+
interface $UnknownMember {
|
|
627
|
+
content?: never;
|
|
628
|
+
$unknown: [string, any];
|
|
629
|
+
}
|
|
630
|
+
interface Visitor<T> {
|
|
631
|
+
content: (value: string) => T;
|
|
632
|
+
_: (name: string, value: any) => T;
|
|
633
|
+
}
|
|
634
|
+
const visit: <T>(
|
|
635
|
+
value: QuickResponseContentProvider,
|
|
636
|
+
visitor: Visitor<T>
|
|
637
|
+
) => T;
|
|
638
|
+
}
|
|
639
|
+
export interface QuickResponseContents {
|
|
640
|
+
plainText?: QuickResponseContentProvider;
|
|
641
|
+
markdown?: QuickResponseContentProvider;
|
|
642
|
+
}
|
|
643
|
+
export declare const QuickResponseStatus: {
|
|
644
|
+
readonly CREATED: "CREATED";
|
|
645
|
+
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
646
|
+
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
647
|
+
readonly DELETED: "DELETED";
|
|
648
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
649
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
650
|
+
readonly UPDATE_FAILED: "UPDATE_FAILED";
|
|
651
|
+
readonly UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS";
|
|
652
|
+
};
|
|
653
|
+
export type QuickResponseStatus =
|
|
654
|
+
(typeof QuickResponseStatus)[keyof typeof QuickResponseStatus];
|
|
655
|
+
export interface QuickResponseData {
|
|
656
|
+
quickResponseArn: string | undefined;
|
|
657
|
+
quickResponseId: string | undefined;
|
|
658
|
+
knowledgeBaseArn: string | undefined;
|
|
659
|
+
knowledgeBaseId: string | undefined;
|
|
660
|
+
name: string | undefined;
|
|
661
|
+
contentType: string | undefined;
|
|
662
|
+
status: QuickResponseStatus | undefined;
|
|
663
|
+
createdTime: Date | undefined;
|
|
664
|
+
lastModifiedTime: Date | undefined;
|
|
665
|
+
contents?: QuickResponseContents;
|
|
666
|
+
description?: string;
|
|
667
|
+
groupingConfiguration?: GroupingConfiguration;
|
|
668
|
+
shortcutKey?: string;
|
|
669
|
+
lastModifiedBy?: string;
|
|
670
|
+
isActive?: boolean;
|
|
671
|
+
channels?: string[];
|
|
672
|
+
language?: string;
|
|
673
|
+
tags?: Record<string, string>;
|
|
674
|
+
}
|
|
675
|
+
export interface CreateQuickResponseResponse {
|
|
676
|
+
quickResponse?: QuickResponseData;
|
|
677
|
+
}
|
|
678
|
+
export interface DeleteImportJobRequest {
|
|
679
|
+
knowledgeBaseId: string | undefined;
|
|
680
|
+
importJobId: string | undefined;
|
|
681
|
+
}
|
|
682
|
+
export interface DeleteImportJobResponse {}
|
|
552
683
|
export interface DeleteKnowledgeBaseRequest {
|
|
553
684
|
knowledgeBaseId: string | undefined;
|
|
554
685
|
}
|
|
555
686
|
export interface DeleteKnowledgeBaseResponse {}
|
|
687
|
+
export interface DeleteQuickResponseRequest {
|
|
688
|
+
knowledgeBaseId: string | undefined;
|
|
689
|
+
quickResponseId: string | undefined;
|
|
690
|
+
}
|
|
691
|
+
export interface DeleteQuickResponseResponse {}
|
|
692
|
+
export declare const ExternalSource: {
|
|
693
|
+
readonly AMAZON_CONNECT: "AMAZON_CONNECT";
|
|
694
|
+
};
|
|
695
|
+
export type ExternalSource =
|
|
696
|
+
(typeof ExternalSource)[keyof typeof ExternalSource];
|
|
697
|
+
export interface ExternalSourceConfiguration {
|
|
698
|
+
source: ExternalSource | undefined;
|
|
699
|
+
configuration: Configuration | undefined;
|
|
700
|
+
}
|
|
701
|
+
export interface GetImportJobRequest {
|
|
702
|
+
importJobId: string | undefined;
|
|
703
|
+
knowledgeBaseId: string | undefined;
|
|
704
|
+
}
|
|
705
|
+
export declare const ImportJobType: {
|
|
706
|
+
readonly QUICK_RESPONSES: "QUICK_RESPONSES";
|
|
707
|
+
};
|
|
708
|
+
export type ImportJobType = (typeof ImportJobType)[keyof typeof ImportJobType];
|
|
709
|
+
export declare const ImportJobStatus: {
|
|
710
|
+
readonly COMPLETE: "COMPLETE";
|
|
711
|
+
readonly DELETED: "DELETED";
|
|
712
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
713
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
714
|
+
readonly FAILED: "FAILED";
|
|
715
|
+
readonly START_IN_PROGRESS: "START_IN_PROGRESS";
|
|
716
|
+
};
|
|
717
|
+
export type ImportJobStatus =
|
|
718
|
+
(typeof ImportJobStatus)[keyof typeof ImportJobStatus];
|
|
719
|
+
export interface ImportJobData {
|
|
720
|
+
importJobId: string | undefined;
|
|
721
|
+
knowledgeBaseId: string | undefined;
|
|
722
|
+
uploadId: string | undefined;
|
|
723
|
+
knowledgeBaseArn: string | undefined;
|
|
724
|
+
importJobType: ImportJobType | undefined;
|
|
725
|
+
status: ImportJobStatus | undefined;
|
|
726
|
+
url: string | undefined;
|
|
727
|
+
failedRecordReport?: string;
|
|
728
|
+
urlExpiry: Date | undefined;
|
|
729
|
+
createdTime: Date | undefined;
|
|
730
|
+
lastModifiedTime: Date | undefined;
|
|
731
|
+
metadata?: Record<string, string>;
|
|
732
|
+
externalSourceConfiguration?: ExternalSourceConfiguration;
|
|
733
|
+
}
|
|
734
|
+
export interface GetImportJobResponse {
|
|
735
|
+
importJob?: ImportJobData;
|
|
736
|
+
}
|
|
556
737
|
export interface GetKnowledgeBaseRequest {
|
|
557
738
|
knowledgeBaseId: string | undefined;
|
|
558
739
|
}
|
|
559
740
|
export interface GetKnowledgeBaseResponse {
|
|
560
741
|
knowledgeBase?: KnowledgeBaseData;
|
|
561
742
|
}
|
|
743
|
+
export interface GetQuickResponseRequest {
|
|
744
|
+
quickResponseId: string | undefined;
|
|
745
|
+
knowledgeBaseId: string | undefined;
|
|
746
|
+
}
|
|
747
|
+
export interface GetQuickResponseResponse {
|
|
748
|
+
quickResponse?: QuickResponseData;
|
|
749
|
+
}
|
|
750
|
+
export interface ImportJobSummary {
|
|
751
|
+
importJobId: string | undefined;
|
|
752
|
+
knowledgeBaseId: string | undefined;
|
|
753
|
+
uploadId: string | undefined;
|
|
754
|
+
knowledgeBaseArn: string | undefined;
|
|
755
|
+
importJobType: ImportJobType | undefined;
|
|
756
|
+
status: ImportJobStatus | undefined;
|
|
757
|
+
createdTime: Date | undefined;
|
|
758
|
+
lastModifiedTime: Date | undefined;
|
|
759
|
+
metadata?: Record<string, string>;
|
|
760
|
+
externalSourceConfiguration?: ExternalSourceConfiguration;
|
|
761
|
+
}
|
|
762
|
+
export interface ListImportJobsRequest {
|
|
763
|
+
nextToken?: string;
|
|
764
|
+
maxResults?: number;
|
|
765
|
+
knowledgeBaseId: string | undefined;
|
|
766
|
+
}
|
|
767
|
+
export interface ListImportJobsResponse {
|
|
768
|
+
importJobSummaries: ImportJobSummary[] | undefined;
|
|
769
|
+
nextToken?: string;
|
|
770
|
+
}
|
|
562
771
|
export interface ListKnowledgeBasesRequest {
|
|
563
772
|
nextToken?: string;
|
|
564
773
|
maxResults?: number;
|
|
@@ -579,6 +788,50 @@ export interface ListKnowledgeBasesResponse {
|
|
|
579
788
|
knowledgeBaseSummaries: KnowledgeBaseSummary[] | undefined;
|
|
580
789
|
nextToken?: string;
|
|
581
790
|
}
|
|
791
|
+
export interface ListQuickResponsesRequest {
|
|
792
|
+
nextToken?: string;
|
|
793
|
+
maxResults?: number;
|
|
794
|
+
knowledgeBaseId: string | undefined;
|
|
795
|
+
}
|
|
796
|
+
export interface QuickResponseSummary {
|
|
797
|
+
quickResponseArn: string | undefined;
|
|
798
|
+
quickResponseId: string | undefined;
|
|
799
|
+
knowledgeBaseArn: string | undefined;
|
|
800
|
+
knowledgeBaseId: string | undefined;
|
|
801
|
+
name: string | undefined;
|
|
802
|
+
contentType: string | undefined;
|
|
803
|
+
status: QuickResponseStatus | undefined;
|
|
804
|
+
createdTime: Date | undefined;
|
|
805
|
+
lastModifiedTime: Date | undefined;
|
|
806
|
+
description?: string;
|
|
807
|
+
lastModifiedBy?: string;
|
|
808
|
+
isActive?: boolean;
|
|
809
|
+
channels?: string[];
|
|
810
|
+
tags?: Record<string, string>;
|
|
811
|
+
}
|
|
812
|
+
export interface ListQuickResponsesResponse {
|
|
813
|
+
quickResponseSummaries: QuickResponseSummary[] | undefined;
|
|
814
|
+
nextToken?: string;
|
|
815
|
+
}
|
|
816
|
+
export interface UpdateQuickResponseRequest {
|
|
817
|
+
knowledgeBaseId: string | undefined;
|
|
818
|
+
quickResponseId: string | undefined;
|
|
819
|
+
name?: string;
|
|
820
|
+
content?: QuickResponseDataProvider;
|
|
821
|
+
contentType?: string;
|
|
822
|
+
groupingConfiguration?: GroupingConfiguration;
|
|
823
|
+
removeGroupingConfiguration?: boolean;
|
|
824
|
+
description?: string;
|
|
825
|
+
removeDescription?: boolean;
|
|
826
|
+
shortcutKey?: string;
|
|
827
|
+
removeShortcutKey?: boolean;
|
|
828
|
+
isActive?: boolean;
|
|
829
|
+
channels?: string[];
|
|
830
|
+
language?: string;
|
|
831
|
+
}
|
|
832
|
+
export interface UpdateQuickResponseResponse {
|
|
833
|
+
quickResponse?: QuickResponseData;
|
|
834
|
+
}
|
|
582
835
|
export interface RemoveKnowledgeBaseTemplateUriRequest {
|
|
583
836
|
knowledgeBaseId: string | undefined;
|
|
584
837
|
}
|
|
@@ -593,9 +846,88 @@ export interface SearchContentResponse {
|
|
|
593
846
|
contentSummaries: ContentSummary[] | undefined;
|
|
594
847
|
nextToken?: string;
|
|
595
848
|
}
|
|
849
|
+
export declare const QuickResponseFilterOperator: {
|
|
850
|
+
readonly EQUALS: "EQUALS";
|
|
851
|
+
readonly PREFIX: "PREFIX";
|
|
852
|
+
};
|
|
853
|
+
export type QuickResponseFilterOperator =
|
|
854
|
+
(typeof QuickResponseFilterOperator)[keyof typeof QuickResponseFilterOperator];
|
|
855
|
+
export interface QuickResponseFilterField {
|
|
856
|
+
name: string | undefined;
|
|
857
|
+
values?: string[];
|
|
858
|
+
operator: QuickResponseFilterOperator | undefined;
|
|
859
|
+
includeNoExistence?: boolean;
|
|
860
|
+
}
|
|
861
|
+
export declare const Order: {
|
|
862
|
+
readonly ASC: "ASC";
|
|
863
|
+
readonly DESC: "DESC";
|
|
864
|
+
};
|
|
865
|
+
export type Order = (typeof Order)[keyof typeof Order];
|
|
866
|
+
export interface QuickResponseOrderField {
|
|
867
|
+
name: string | undefined;
|
|
868
|
+
order?: Order;
|
|
869
|
+
}
|
|
870
|
+
export declare const QuickResponseQueryOperator: {
|
|
871
|
+
readonly CONTAINS: "CONTAINS";
|
|
872
|
+
readonly CONTAINS_AND_PREFIX: "CONTAINS_AND_PREFIX";
|
|
873
|
+
};
|
|
874
|
+
export type QuickResponseQueryOperator =
|
|
875
|
+
(typeof QuickResponseQueryOperator)[keyof typeof QuickResponseQueryOperator];
|
|
876
|
+
export declare const Priority: {
|
|
877
|
+
readonly HIGH: "HIGH";
|
|
878
|
+
readonly LOW: "LOW";
|
|
879
|
+
readonly MEDIUM: "MEDIUM";
|
|
880
|
+
};
|
|
881
|
+
export type Priority = (typeof Priority)[keyof typeof Priority];
|
|
882
|
+
export interface QuickResponseQueryField {
|
|
883
|
+
name: string | undefined;
|
|
884
|
+
values: string[] | undefined;
|
|
885
|
+
operator: QuickResponseQueryOperator | undefined;
|
|
886
|
+
allowFuzziness?: boolean;
|
|
887
|
+
priority?: Priority;
|
|
888
|
+
}
|
|
889
|
+
export interface QuickResponseSearchExpression {
|
|
890
|
+
queries?: QuickResponseQueryField[];
|
|
891
|
+
filters?: QuickResponseFilterField[];
|
|
892
|
+
orderOnField?: QuickResponseOrderField;
|
|
893
|
+
}
|
|
894
|
+
export interface SearchQuickResponsesRequest {
|
|
895
|
+
knowledgeBaseId: string | undefined;
|
|
896
|
+
searchExpression: QuickResponseSearchExpression | undefined;
|
|
897
|
+
nextToken?: string;
|
|
898
|
+
maxResults?: number;
|
|
899
|
+
attributes?: Record<string, string>;
|
|
900
|
+
}
|
|
901
|
+
export interface QuickResponseSearchResultData {
|
|
902
|
+
quickResponseArn: string | undefined;
|
|
903
|
+
quickResponseId: string | undefined;
|
|
904
|
+
knowledgeBaseArn: string | undefined;
|
|
905
|
+
knowledgeBaseId: string | undefined;
|
|
906
|
+
name: string | undefined;
|
|
907
|
+
contentType: string | undefined;
|
|
908
|
+
status: QuickResponseStatus | undefined;
|
|
909
|
+
contents: QuickResponseContents | undefined;
|
|
910
|
+
createdTime: Date | undefined;
|
|
911
|
+
lastModifiedTime: Date | undefined;
|
|
912
|
+
isActive: boolean | undefined;
|
|
913
|
+
description?: string;
|
|
914
|
+
groupingConfiguration?: GroupingConfiguration;
|
|
915
|
+
shortcutKey?: string;
|
|
916
|
+
lastModifiedBy?: string;
|
|
917
|
+
channels?: string[];
|
|
918
|
+
language?: string;
|
|
919
|
+
attributesNotInterpolated?: string[];
|
|
920
|
+
attributesInterpolated?: string[];
|
|
921
|
+
tags?: Record<string, string>;
|
|
922
|
+
}
|
|
923
|
+
export interface SearchQuickResponsesResponse {
|
|
924
|
+
results: QuickResponseSearchResultData[] | undefined;
|
|
925
|
+
nextToken?: string;
|
|
926
|
+
}
|
|
596
927
|
export interface StartContentUploadRequest {
|
|
597
928
|
knowledgeBaseId: string | undefined;
|
|
598
929
|
contentType: string | undefined;
|
|
930
|
+
presignedUrlTimeToLive?: number;
|
|
599
931
|
}
|
|
600
932
|
export interface StartContentUploadResponse {
|
|
601
933
|
uploadId: string | undefined;
|
|
@@ -603,6 +935,17 @@ export interface StartContentUploadResponse {
|
|
|
603
935
|
urlExpiry: Date | undefined;
|
|
604
936
|
headersToInclude: Record<string, string> | undefined;
|
|
605
937
|
}
|
|
938
|
+
export interface StartImportJobRequest {
|
|
939
|
+
knowledgeBaseId: string | undefined;
|
|
940
|
+
importJobType: ImportJobType | undefined;
|
|
941
|
+
uploadId: string | undefined;
|
|
942
|
+
clientToken?: string;
|
|
943
|
+
metadata?: Record<string, string>;
|
|
944
|
+
externalSourceConfiguration?: ExternalSourceConfiguration;
|
|
945
|
+
}
|
|
946
|
+
export interface StartImportJobResponse {
|
|
947
|
+
importJob?: ImportJobData;
|
|
948
|
+
}
|
|
606
949
|
export interface UpdateKnowledgeBaseTemplateUriRequest {
|
|
607
950
|
knowledgeBaseId: string | undefined;
|
|
608
951
|
templateUri: string | undefined;
|
|
@@ -668,6 +1011,60 @@ export declare const GetContentResponseFilterSensitiveLog: (
|
|
|
668
1011
|
export declare const UpdateContentResponseFilterSensitiveLog: (
|
|
669
1012
|
obj: UpdateContentResponse
|
|
670
1013
|
) => any;
|
|
1014
|
+
export declare const QuickResponseDataProviderFilterSensitiveLog: (
|
|
1015
|
+
obj: QuickResponseDataProvider
|
|
1016
|
+
) => any;
|
|
1017
|
+
export declare const GroupingConfigurationFilterSensitiveLog: (
|
|
1018
|
+
obj: GroupingConfiguration
|
|
1019
|
+
) => any;
|
|
1020
|
+
export declare const CreateQuickResponseRequestFilterSensitiveLog: (
|
|
1021
|
+
obj: CreateQuickResponseRequest
|
|
1022
|
+
) => any;
|
|
1023
|
+
export declare const QuickResponseContentProviderFilterSensitiveLog: (
|
|
1024
|
+
obj: QuickResponseContentProvider
|
|
1025
|
+
) => any;
|
|
1026
|
+
export declare const QuickResponseContentsFilterSensitiveLog: (
|
|
1027
|
+
obj: QuickResponseContents
|
|
1028
|
+
) => any;
|
|
1029
|
+
export declare const QuickResponseDataFilterSensitiveLog: (
|
|
1030
|
+
obj: QuickResponseData
|
|
1031
|
+
) => any;
|
|
1032
|
+
export declare const CreateQuickResponseResponseFilterSensitiveLog: (
|
|
1033
|
+
obj: CreateQuickResponseResponse
|
|
1034
|
+
) => any;
|
|
1035
|
+
export declare const ImportJobDataFilterSensitiveLog: (
|
|
1036
|
+
obj: ImportJobData
|
|
1037
|
+
) => any;
|
|
1038
|
+
export declare const GetImportJobResponseFilterSensitiveLog: (
|
|
1039
|
+
obj: GetImportJobResponse
|
|
1040
|
+
) => any;
|
|
1041
|
+
export declare const GetQuickResponseResponseFilterSensitiveLog: (
|
|
1042
|
+
obj: GetQuickResponseResponse
|
|
1043
|
+
) => any;
|
|
1044
|
+
export declare const QuickResponseSummaryFilterSensitiveLog: (
|
|
1045
|
+
obj: QuickResponseSummary
|
|
1046
|
+
) => any;
|
|
1047
|
+
export declare const ListQuickResponsesResponseFilterSensitiveLog: (
|
|
1048
|
+
obj: ListQuickResponsesResponse
|
|
1049
|
+
) => any;
|
|
1050
|
+
export declare const UpdateQuickResponseRequestFilterSensitiveLog: (
|
|
1051
|
+
obj: UpdateQuickResponseRequest
|
|
1052
|
+
) => any;
|
|
1053
|
+
export declare const UpdateQuickResponseResponseFilterSensitiveLog: (
|
|
1054
|
+
obj: UpdateQuickResponseResponse
|
|
1055
|
+
) => any;
|
|
1056
|
+
export declare const SearchQuickResponsesRequestFilterSensitiveLog: (
|
|
1057
|
+
obj: SearchQuickResponsesRequest
|
|
1058
|
+
) => any;
|
|
1059
|
+
export declare const QuickResponseSearchResultDataFilterSensitiveLog: (
|
|
1060
|
+
obj: QuickResponseSearchResultData
|
|
1061
|
+
) => any;
|
|
1062
|
+
export declare const SearchQuickResponsesResponseFilterSensitiveLog: (
|
|
1063
|
+
obj: SearchQuickResponsesResponse
|
|
1064
|
+
) => any;
|
|
671
1065
|
export declare const StartContentUploadResponseFilterSensitiveLog: (
|
|
672
1066
|
obj: StartContentUploadResponse
|
|
673
1067
|
) => any;
|
|
1068
|
+
export declare const StartImportJobResponseFilterSensitiveLog: (
|
|
1069
|
+
obj: StartImportJobResponse
|
|
1070
|
+
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListImportJobsCommandInput,
|
|
4
|
+
ListImportJobsCommandOutput,
|
|
5
|
+
} from "../commands/ListImportJobsCommand";
|
|
6
|
+
import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListImportJobs(
|
|
8
|
+
config: WisdomPaginationConfiguration,
|
|
9
|
+
input: ListImportJobsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListImportJobsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListQuickResponsesCommandInput,
|
|
4
|
+
ListQuickResponsesCommandOutput,
|
|
5
|
+
} from "../commands/ListQuickResponsesCommand";
|
|
6
|
+
import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListQuickResponses(
|
|
8
|
+
config: WisdomPaginationConfiguration,
|
|
9
|
+
input: ListQuickResponsesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListQuickResponsesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
SearchQuickResponsesCommandInput,
|
|
4
|
+
SearchQuickResponsesCommandOutput,
|
|
5
|
+
} from "../commands/SearchQuickResponsesCommand";
|
|
6
|
+
import { WisdomPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateSearchQuickResponses(
|
|
8
|
+
config: WisdomPaginationConfiguration,
|
|
9
|
+
input: SearchQuickResponsesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<SearchQuickResponsesCommandOutput>;
|
|
@@ -2,7 +2,10 @@ export * from "./Interfaces";
|
|
|
2
2
|
export * from "./ListAssistantAssociationsPaginator";
|
|
3
3
|
export * from "./ListAssistantsPaginator";
|
|
4
4
|
export * from "./ListContentsPaginator";
|
|
5
|
+
export * from "./ListImportJobsPaginator";
|
|
5
6
|
export * from "./ListKnowledgeBasesPaginator";
|
|
7
|
+
export * from "./ListQuickResponsesPaginator";
|
|
6
8
|
export * from "./QueryAssistantPaginator";
|
|
7
9
|
export * from "./SearchContentPaginator";
|
|
10
|
+
export * from "./SearchQuickResponsesPaginator";
|
|
8
11
|
export * from "./SearchSessionsPaginator";
|