@aws-sdk/client-lex-models-v2 3.145.0 → 3.154.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/CHANGELOG.md +27 -0
- package/dist-cjs/commands/CreateIntentCommand.js +3 -3
- package/dist-cjs/commands/CreateSlotCommand.js +3 -3
- package/dist-cjs/commands/DescribeIntentCommand.js +2 -1
- package/dist-cjs/commands/DescribeSlotCommand.js +2 -1
- package/dist-cjs/commands/UpdateIntentCommand.js +3 -3
- package/dist-cjs/commands/UpdateSlotCommand.js +3 -3
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +117 -92
- package/dist-cjs/models/models_1.js +51 -0
- package/dist-cjs/protocols/Aws_restJson1.js +497 -0
- package/dist-es/commands/CreateIntentCommand.js +1 -1
- package/dist-es/commands/CreateSlotCommand.js +1 -1
- package/dist-es/commands/DescribeIntentCommand.js +2 -1
- package/dist-es/commands/DescribeSlotCommand.js +2 -1
- package/dist-es/commands/UpdateIntentCommand.js +1 -1
- package/dist-es/commands/UpdateSlotCommand.js +1 -1
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +41 -22
- package/dist-es/models/models_1.js +13 -0
- package/dist-es/protocols/Aws_restJson1.js +416 -8
- package/dist-types/commands/CreateIntentCommand.d.ts +1 -1
- package/dist-types/commands/CreateSlotCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIntentCommand.d.ts +2 -1
- package/dist-types/commands/DescribeSlotCommand.d.ts +2 -1
- package/dist-types/commands/UpdateIntentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSlotCommand.d.ts +1 -1
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +631 -1004
- package/dist-types/models/models_1.d.ts +912 -0
- package/dist-types/ts3.4/commands/CreateIntentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateSlotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeIntentCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeSlotCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateIntentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSlotCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +261 -408
- package/dist-types/ts3.4/models/models_1.d.ts +381 -0
- package/package.json +4 -4
|
@@ -497,6 +497,91 @@ export interface CloudWatchLogGroupLogDestination {
|
|
|
497
497
|
logPrefix: string | undefined;
|
|
498
498
|
}
|
|
499
499
|
|
|
500
|
+
export interface Condition {
|
|
501
|
+
|
|
502
|
+
expressionString: string | undefined;
|
|
503
|
+
}
|
|
504
|
+
export declare enum DialogActionType {
|
|
505
|
+
CloseIntent = "CloseIntent",
|
|
506
|
+
ConfirmIntent = "ConfirmIntent",
|
|
507
|
+
ElicitIntent = "ElicitIntent",
|
|
508
|
+
ElicitSlot = "ElicitSlot",
|
|
509
|
+
EndConversation = "EndConversation",
|
|
510
|
+
EvaluateConditional = "EvaluateConditional",
|
|
511
|
+
FulfillIntent = "FulfillIntent",
|
|
512
|
+
InvokeDialogCodeHook = "InvokeDialogCodeHook",
|
|
513
|
+
StartIntent = "StartIntent"
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
export interface DialogAction {
|
|
517
|
+
|
|
518
|
+
type: DialogActionType | string | undefined;
|
|
519
|
+
|
|
520
|
+
slotToElicit?: string;
|
|
521
|
+
|
|
522
|
+
suppressNextMessage?: boolean;
|
|
523
|
+
}
|
|
524
|
+
export declare enum SlotShape {
|
|
525
|
+
List = "List",
|
|
526
|
+
Scalar = "Scalar"
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
export interface SlotValue {
|
|
530
|
+
|
|
531
|
+
interpretedValue?: string;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
export interface CustomPayload {
|
|
535
|
+
|
|
536
|
+
value: string | undefined;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
export interface ImageResponseCard {
|
|
540
|
+
|
|
541
|
+
title: string | undefined;
|
|
542
|
+
|
|
543
|
+
subtitle?: string;
|
|
544
|
+
|
|
545
|
+
imageUrl?: string;
|
|
546
|
+
|
|
547
|
+
buttons?: Button[];
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
export interface PlainTextMessage {
|
|
551
|
+
|
|
552
|
+
value: string | undefined;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
export interface SSMLMessage {
|
|
556
|
+
|
|
557
|
+
value: string | undefined;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
export interface Message {
|
|
561
|
+
|
|
562
|
+
plainTextMessage?: PlainTextMessage;
|
|
563
|
+
|
|
564
|
+
customPayload?: CustomPayload;
|
|
565
|
+
|
|
566
|
+
ssmlMessage?: SSMLMessage;
|
|
567
|
+
|
|
568
|
+
imageResponseCard?: ImageResponseCard;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
export interface MessageGroup {
|
|
572
|
+
|
|
573
|
+
message: Message | undefined;
|
|
574
|
+
|
|
575
|
+
variations?: Message[];
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
export interface ResponseSpecification {
|
|
579
|
+
|
|
580
|
+
messageGroups: MessageGroup[] | undefined;
|
|
581
|
+
|
|
582
|
+
allowInterrupt?: boolean;
|
|
583
|
+
}
|
|
584
|
+
|
|
500
585
|
export interface TextLogDestination {
|
|
501
586
|
|
|
502
587
|
cloudWatch: CloudWatchLogGroupLogDestination | undefined;
|
|
@@ -717,50 +802,6 @@ export interface DialogCodeHookSettings {
|
|
|
717
802
|
enabled: boolean | undefined;
|
|
718
803
|
}
|
|
719
804
|
|
|
720
|
-
export interface CustomPayload {
|
|
721
|
-
|
|
722
|
-
value: string | undefined;
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
export interface ImageResponseCard {
|
|
726
|
-
|
|
727
|
-
title: string | undefined;
|
|
728
|
-
|
|
729
|
-
subtitle?: string;
|
|
730
|
-
|
|
731
|
-
imageUrl?: string;
|
|
732
|
-
|
|
733
|
-
buttons?: Button[];
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
export interface PlainTextMessage {
|
|
737
|
-
|
|
738
|
-
value: string | undefined;
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
export interface SSMLMessage {
|
|
742
|
-
|
|
743
|
-
value: string | undefined;
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
export interface Message {
|
|
747
|
-
|
|
748
|
-
plainTextMessage?: PlainTextMessage;
|
|
749
|
-
|
|
750
|
-
customPayload?: CustomPayload;
|
|
751
|
-
|
|
752
|
-
ssmlMessage?: SSMLMessage;
|
|
753
|
-
|
|
754
|
-
imageResponseCard?: ImageResponseCard;
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
export interface MessageGroup {
|
|
758
|
-
|
|
759
|
-
message: Message | undefined;
|
|
760
|
-
|
|
761
|
-
variations?: Message[];
|
|
762
|
-
}
|
|
763
|
-
|
|
764
805
|
export interface FulfillmentStartResponseSpecification {
|
|
765
806
|
|
|
766
807
|
delayInSeconds: number | undefined;
|
|
@@ -790,41 +831,16 @@ export interface FulfillmentUpdatesSpecification {
|
|
|
790
831
|
timeoutInSeconds?: number;
|
|
791
832
|
}
|
|
792
833
|
|
|
793
|
-
export interface ResponseSpecification {
|
|
794
|
-
|
|
795
|
-
messageGroups: MessageGroup[] | undefined;
|
|
796
|
-
|
|
797
|
-
allowInterrupt?: boolean;
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
export interface PostFulfillmentStatusSpecification {
|
|
801
|
-
|
|
802
|
-
successResponse?: ResponseSpecification;
|
|
803
|
-
|
|
804
|
-
failureResponse?: ResponseSpecification;
|
|
805
|
-
|
|
806
|
-
timeoutResponse?: ResponseSpecification;
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
export interface FulfillmentCodeHookSettings {
|
|
810
|
-
|
|
811
|
-
enabled: boolean | undefined;
|
|
812
|
-
|
|
813
|
-
postFulfillmentStatusSpecification?: PostFulfillmentStatusSpecification;
|
|
814
|
-
|
|
815
|
-
fulfillmentUpdatesSpecification?: FulfillmentUpdatesSpecification;
|
|
816
|
-
}
|
|
817
|
-
|
|
818
834
|
export interface InputContext {
|
|
819
835
|
|
|
820
836
|
name: string | undefined;
|
|
821
837
|
}
|
|
822
838
|
|
|
823
|
-
export interface
|
|
839
|
+
export interface ElicitationCodeHookInvocationSetting {
|
|
824
840
|
|
|
825
|
-
|
|
841
|
+
enableCodeHookInvocation: boolean | undefined;
|
|
826
842
|
|
|
827
|
-
|
|
843
|
+
invocationLabel?: string;
|
|
828
844
|
}
|
|
829
845
|
export declare enum MessageSelectionStrategy {
|
|
830
846
|
Ordered = "Ordered",
|
|
@@ -842,15 +858,6 @@ export interface PromptSpecification {
|
|
|
842
858
|
messageSelectionStrategy?: MessageSelectionStrategy | string;
|
|
843
859
|
}
|
|
844
860
|
|
|
845
|
-
export interface IntentConfirmationSetting {
|
|
846
|
-
|
|
847
|
-
promptSpecification: PromptSpecification | undefined;
|
|
848
|
-
|
|
849
|
-
declinationResponse: ResponseSpecification | undefined;
|
|
850
|
-
|
|
851
|
-
active?: boolean;
|
|
852
|
-
}
|
|
853
|
-
|
|
854
861
|
export interface KendraConfiguration {
|
|
855
862
|
|
|
856
863
|
kendraIndex: string | undefined;
|
|
@@ -873,70 +880,6 @@ export interface SampleUtterance {
|
|
|
873
880
|
|
|
874
881
|
utterance: string | undefined;
|
|
875
882
|
}
|
|
876
|
-
export interface CreateIntentRequest {
|
|
877
|
-
|
|
878
|
-
intentName: string | undefined;
|
|
879
|
-
|
|
880
|
-
description?: string;
|
|
881
|
-
|
|
882
|
-
parentIntentSignature?: string;
|
|
883
|
-
|
|
884
|
-
sampleUtterances?: SampleUtterance[];
|
|
885
|
-
|
|
886
|
-
dialogCodeHook?: DialogCodeHookSettings;
|
|
887
|
-
|
|
888
|
-
fulfillmentCodeHook?: FulfillmentCodeHookSettings;
|
|
889
|
-
|
|
890
|
-
intentConfirmationSetting?: IntentConfirmationSetting;
|
|
891
|
-
|
|
892
|
-
intentClosingSetting?: IntentClosingSetting;
|
|
893
|
-
|
|
894
|
-
inputContexts?: InputContext[];
|
|
895
|
-
|
|
896
|
-
outputContexts?: OutputContext[];
|
|
897
|
-
|
|
898
|
-
kendraConfiguration?: KendraConfiguration;
|
|
899
|
-
|
|
900
|
-
botId: string | undefined;
|
|
901
|
-
|
|
902
|
-
botVersion: string | undefined;
|
|
903
|
-
|
|
904
|
-
localeId: string | undefined;
|
|
905
|
-
}
|
|
906
|
-
export interface CreateIntentResponse {
|
|
907
|
-
|
|
908
|
-
intentId?: string;
|
|
909
|
-
|
|
910
|
-
intentName?: string;
|
|
911
|
-
|
|
912
|
-
description?: string;
|
|
913
|
-
|
|
914
|
-
parentIntentSignature?: string;
|
|
915
|
-
|
|
916
|
-
sampleUtterances?: SampleUtterance[];
|
|
917
|
-
|
|
918
|
-
dialogCodeHook?: DialogCodeHookSettings;
|
|
919
|
-
|
|
920
|
-
fulfillmentCodeHook?: FulfillmentCodeHookSettings;
|
|
921
|
-
|
|
922
|
-
intentConfirmationSetting?: IntentConfirmationSetting;
|
|
923
|
-
|
|
924
|
-
intentClosingSetting?: IntentClosingSetting;
|
|
925
|
-
|
|
926
|
-
inputContexts?: InputContext[];
|
|
927
|
-
|
|
928
|
-
outputContexts?: OutputContext[];
|
|
929
|
-
|
|
930
|
-
kendraConfiguration?: KendraConfiguration;
|
|
931
|
-
|
|
932
|
-
botId?: string;
|
|
933
|
-
|
|
934
|
-
botVersion?: string;
|
|
935
|
-
|
|
936
|
-
localeId?: string;
|
|
937
|
-
|
|
938
|
-
creationDateTime?: Date;
|
|
939
|
-
}
|
|
940
883
|
export interface CreateResourcePolicyRequest {
|
|
941
884
|
|
|
942
885
|
resourceArn: string | undefined;
|
|
@@ -1033,67 +976,6 @@ export interface WaitAndContinueSpecification {
|
|
|
1033
976
|
active?: boolean;
|
|
1034
977
|
}
|
|
1035
978
|
|
|
1036
|
-
export interface SlotValueElicitationSetting {
|
|
1037
|
-
|
|
1038
|
-
defaultValueSpecification?: SlotDefaultValueSpecification;
|
|
1039
|
-
|
|
1040
|
-
slotConstraint: SlotConstraint | string | undefined;
|
|
1041
|
-
|
|
1042
|
-
promptSpecification?: PromptSpecification;
|
|
1043
|
-
|
|
1044
|
-
sampleUtterances?: SampleUtterance[];
|
|
1045
|
-
|
|
1046
|
-
waitAndContinueSpecification?: WaitAndContinueSpecification;
|
|
1047
|
-
}
|
|
1048
|
-
export interface CreateSlotRequest {
|
|
1049
|
-
|
|
1050
|
-
slotName: string | undefined;
|
|
1051
|
-
|
|
1052
|
-
description?: string;
|
|
1053
|
-
|
|
1054
|
-
slotTypeId?: string;
|
|
1055
|
-
|
|
1056
|
-
valueElicitationSetting: SlotValueElicitationSetting | undefined;
|
|
1057
|
-
|
|
1058
|
-
obfuscationSetting?: ObfuscationSetting;
|
|
1059
|
-
|
|
1060
|
-
botId: string | undefined;
|
|
1061
|
-
|
|
1062
|
-
botVersion: string | undefined;
|
|
1063
|
-
|
|
1064
|
-
localeId: string | undefined;
|
|
1065
|
-
|
|
1066
|
-
intentId: string | undefined;
|
|
1067
|
-
|
|
1068
|
-
multipleValuesSetting?: MultipleValuesSetting;
|
|
1069
|
-
}
|
|
1070
|
-
export interface CreateSlotResponse {
|
|
1071
|
-
|
|
1072
|
-
slotId?: string;
|
|
1073
|
-
|
|
1074
|
-
slotName?: string;
|
|
1075
|
-
|
|
1076
|
-
description?: string;
|
|
1077
|
-
|
|
1078
|
-
slotTypeId?: string;
|
|
1079
|
-
|
|
1080
|
-
valueElicitationSetting?: SlotValueElicitationSetting;
|
|
1081
|
-
|
|
1082
|
-
obfuscationSetting?: ObfuscationSetting;
|
|
1083
|
-
|
|
1084
|
-
botId?: string;
|
|
1085
|
-
|
|
1086
|
-
botVersion?: string;
|
|
1087
|
-
|
|
1088
|
-
localeId?: string;
|
|
1089
|
-
|
|
1090
|
-
intentId?: string;
|
|
1091
|
-
|
|
1092
|
-
creationDateTime?: Date;
|
|
1093
|
-
|
|
1094
|
-
multipleValuesSetting?: MultipleValuesSetting;
|
|
1095
|
-
}
|
|
1096
|
-
|
|
1097
979
|
export interface GrammarSlotTypeSource {
|
|
1098
980
|
|
|
1099
981
|
s3BucketName: string | undefined;
|
|
@@ -1697,44 +1579,6 @@ export interface SlotPriority {
|
|
|
1697
1579
|
|
|
1698
1580
|
slotId: string | undefined;
|
|
1699
1581
|
}
|
|
1700
|
-
export interface DescribeIntentResponse {
|
|
1701
|
-
|
|
1702
|
-
intentId?: string;
|
|
1703
|
-
|
|
1704
|
-
intentName?: string;
|
|
1705
|
-
|
|
1706
|
-
description?: string;
|
|
1707
|
-
|
|
1708
|
-
parentIntentSignature?: string;
|
|
1709
|
-
|
|
1710
|
-
sampleUtterances?: SampleUtterance[];
|
|
1711
|
-
|
|
1712
|
-
dialogCodeHook?: DialogCodeHookSettings;
|
|
1713
|
-
|
|
1714
|
-
fulfillmentCodeHook?: FulfillmentCodeHookSettings;
|
|
1715
|
-
|
|
1716
|
-
slotPriorities?: SlotPriority[];
|
|
1717
|
-
|
|
1718
|
-
intentConfirmationSetting?: IntentConfirmationSetting;
|
|
1719
|
-
|
|
1720
|
-
intentClosingSetting?: IntentClosingSetting;
|
|
1721
|
-
|
|
1722
|
-
inputContexts?: InputContext[];
|
|
1723
|
-
|
|
1724
|
-
outputContexts?: OutputContext[];
|
|
1725
|
-
|
|
1726
|
-
kendraConfiguration?: KendraConfiguration;
|
|
1727
|
-
|
|
1728
|
-
botId?: string;
|
|
1729
|
-
|
|
1730
|
-
botVersion?: string;
|
|
1731
|
-
|
|
1732
|
-
localeId?: string;
|
|
1733
|
-
|
|
1734
|
-
creationDateTime?: Date;
|
|
1735
|
-
|
|
1736
|
-
lastUpdatedDateTime?: Date;
|
|
1737
|
-
}
|
|
1738
1582
|
export interface DescribeResourcePolicyRequest {
|
|
1739
1583
|
|
|
1740
1584
|
resourceArn: string | undefined;
|
|
@@ -1759,34 +1603,6 @@ export interface DescribeSlotRequest {
|
|
|
1759
1603
|
|
|
1760
1604
|
intentId: string | undefined;
|
|
1761
1605
|
}
|
|
1762
|
-
export interface DescribeSlotResponse {
|
|
1763
|
-
|
|
1764
|
-
slotId?: string;
|
|
1765
|
-
|
|
1766
|
-
slotName?: string;
|
|
1767
|
-
|
|
1768
|
-
description?: string;
|
|
1769
|
-
|
|
1770
|
-
slotTypeId?: string;
|
|
1771
|
-
|
|
1772
|
-
valueElicitationSetting?: SlotValueElicitationSetting;
|
|
1773
|
-
|
|
1774
|
-
obfuscationSetting?: ObfuscationSetting;
|
|
1775
|
-
|
|
1776
|
-
botId?: string;
|
|
1777
|
-
|
|
1778
|
-
botVersion?: string;
|
|
1779
|
-
|
|
1780
|
-
localeId?: string;
|
|
1781
|
-
|
|
1782
|
-
intentId?: string;
|
|
1783
|
-
|
|
1784
|
-
creationDateTime?: Date;
|
|
1785
|
-
|
|
1786
|
-
lastUpdatedDateTime?: Date;
|
|
1787
|
-
|
|
1788
|
-
multipleValuesSetting?: MultipleValuesSetting;
|
|
1789
|
-
}
|
|
1790
1606
|
export interface DescribeSlotTypeRequest {
|
|
1791
1607
|
|
|
1792
1608
|
slotTypeId: string | undefined;
|
|
@@ -2706,67 +2522,55 @@ export interface UpdateExportResponse {
|
|
|
2706
2522
|
|
|
2707
2523
|
lastUpdatedDateTime?: Date;
|
|
2708
2524
|
}
|
|
2709
|
-
export interface
|
|
2710
|
-
|
|
2711
|
-
intentId: string | undefined;
|
|
2712
|
-
|
|
2713
|
-
intentName: string | undefined;
|
|
2525
|
+
export interface UpdateResourcePolicyRequest {
|
|
2714
2526
|
|
|
2715
|
-
|
|
2527
|
+
resourceArn: string | undefined;
|
|
2716
2528
|
|
|
2717
|
-
|
|
2529
|
+
policy: string | undefined;
|
|
2718
2530
|
|
|
2719
|
-
|
|
2531
|
+
expectedRevisionId?: string;
|
|
2532
|
+
}
|
|
2533
|
+
export interface UpdateResourcePolicyResponse {
|
|
2720
2534
|
|
|
2721
|
-
|
|
2535
|
+
resourceArn?: string;
|
|
2722
2536
|
|
|
2723
|
-
|
|
2537
|
+
revisionId?: string;
|
|
2538
|
+
}
|
|
2539
|
+
export interface UpdateSlotTypeRequest {
|
|
2724
2540
|
|
|
2725
|
-
|
|
2541
|
+
slotTypeId: string | undefined;
|
|
2726
2542
|
|
|
2727
|
-
|
|
2543
|
+
slotTypeName: string | undefined;
|
|
2728
2544
|
|
|
2729
|
-
|
|
2545
|
+
description?: string;
|
|
2730
2546
|
|
|
2731
|
-
|
|
2547
|
+
slotTypeValues?: SlotTypeValue[];
|
|
2732
2548
|
|
|
2733
|
-
|
|
2549
|
+
valueSelectionSetting?: SlotValueSelectionSetting;
|
|
2734
2550
|
|
|
2735
|
-
|
|
2551
|
+
parentSlotTypeSignature?: string;
|
|
2736
2552
|
|
|
2737
2553
|
botId: string | undefined;
|
|
2738
2554
|
|
|
2739
2555
|
botVersion: string | undefined;
|
|
2740
2556
|
|
|
2741
2557
|
localeId: string | undefined;
|
|
2558
|
+
|
|
2559
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
2742
2560
|
}
|
|
2743
|
-
export interface
|
|
2561
|
+
export interface UpdateSlotTypeResponse {
|
|
2744
2562
|
|
|
2745
|
-
|
|
2563
|
+
slotTypeId?: string;
|
|
2746
2564
|
|
|
2747
|
-
|
|
2565
|
+
slotTypeName?: string;
|
|
2748
2566
|
|
|
2749
2567
|
description?: string;
|
|
2750
2568
|
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
sampleUtterances?: SampleUtterance[];
|
|
2754
|
-
|
|
2755
|
-
dialogCodeHook?: DialogCodeHookSettings;
|
|
2756
|
-
|
|
2757
|
-
fulfillmentCodeHook?: FulfillmentCodeHookSettings;
|
|
2758
|
-
|
|
2759
|
-
slotPriorities?: SlotPriority[];
|
|
2760
|
-
|
|
2761
|
-
intentConfirmationSetting?: IntentConfirmationSetting;
|
|
2762
|
-
|
|
2763
|
-
intentClosingSetting?: IntentClosingSetting;
|
|
2764
|
-
|
|
2765
|
-
inputContexts?: InputContext[];
|
|
2569
|
+
slotTypeValues?: SlotTypeValue[];
|
|
2766
2570
|
|
|
2767
|
-
|
|
2571
|
+
valueSelectionSetting?: SlotValueSelectionSetting;
|
|
2768
2572
|
|
|
2769
|
-
|
|
2573
|
+
parentSlotTypeSignature?: string;
|
|
2770
2574
|
|
|
2771
2575
|
botId?: string;
|
|
2772
2576
|
|
|
@@ -2777,120 +2581,165 @@ export interface UpdateIntentResponse {
|
|
|
2777
2581
|
creationDateTime?: Date;
|
|
2778
2582
|
|
|
2779
2583
|
lastUpdatedDateTime?: Date;
|
|
2584
|
+
|
|
2585
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
2780
2586
|
}
|
|
2781
|
-
|
|
2587
|
+
|
|
2588
|
+
export interface SlotValueOverride {
|
|
2782
2589
|
|
|
2783
|
-
|
|
2590
|
+
shape?: SlotShape | string;
|
|
2784
2591
|
|
|
2785
|
-
|
|
2592
|
+
value?: SlotValue;
|
|
2786
2593
|
|
|
2787
|
-
|
|
2594
|
+
values?: SlotValueOverride[];
|
|
2788
2595
|
}
|
|
2789
|
-
|
|
2596
|
+
|
|
2597
|
+
export interface IntentOverride {
|
|
2790
2598
|
|
|
2791
|
-
|
|
2599
|
+
name?: string;
|
|
2792
2600
|
|
|
2793
|
-
|
|
2601
|
+
slots?: Record<string, SlotValueOverride>;
|
|
2794
2602
|
}
|
|
2795
|
-
|
|
2603
|
+
|
|
2604
|
+
export interface DialogState {
|
|
2796
2605
|
|
|
2797
|
-
|
|
2606
|
+
dialogAction?: DialogAction;
|
|
2798
2607
|
|
|
2799
|
-
|
|
2608
|
+
intent?: IntentOverride;
|
|
2800
2609
|
|
|
2801
|
-
|
|
2610
|
+
sessionAttributes?: Record<string, string>;
|
|
2611
|
+
}
|
|
2612
|
+
|
|
2613
|
+
export interface ConditionalBranch {
|
|
2802
2614
|
|
|
2803
|
-
|
|
2615
|
+
name: string | undefined;
|
|
2804
2616
|
|
|
2805
|
-
|
|
2617
|
+
condition: Condition | undefined;
|
|
2806
2618
|
|
|
2807
|
-
|
|
2619
|
+
nextStep: DialogState | undefined;
|
|
2808
2620
|
|
|
2809
|
-
|
|
2621
|
+
response?: ResponseSpecification;
|
|
2622
|
+
}
|
|
2623
|
+
|
|
2624
|
+
export interface DefaultConditionalBranch {
|
|
2810
2625
|
|
|
2811
|
-
|
|
2626
|
+
nextStep?: DialogState;
|
|
2812
2627
|
|
|
2813
|
-
|
|
2628
|
+
response?: ResponseSpecification;
|
|
2629
|
+
}
|
|
2630
|
+
|
|
2631
|
+
export interface ConditionalSpecification {
|
|
2814
2632
|
|
|
2815
|
-
|
|
2633
|
+
active: boolean | undefined;
|
|
2634
|
+
|
|
2635
|
+
conditionalBranches: ConditionalBranch[] | undefined;
|
|
2816
2636
|
|
|
2817
|
-
|
|
2637
|
+
defaultBranch: DefaultConditionalBranch | undefined;
|
|
2818
2638
|
}
|
|
2819
|
-
|
|
2639
|
+
|
|
2640
|
+
export interface IntentClosingSetting {
|
|
2820
2641
|
|
|
2821
|
-
|
|
2642
|
+
closingResponse?: ResponseSpecification;
|
|
2822
2643
|
|
|
2823
|
-
|
|
2644
|
+
active?: boolean;
|
|
2824
2645
|
|
|
2825
|
-
|
|
2646
|
+
nextStep?: DialogState;
|
|
2826
2647
|
|
|
2827
|
-
|
|
2648
|
+
conditional?: ConditionalSpecification;
|
|
2649
|
+
}
|
|
2650
|
+
|
|
2651
|
+
export interface PostDialogCodeHookInvocationSpecification {
|
|
2828
2652
|
|
|
2829
|
-
|
|
2653
|
+
successResponse?: ResponseSpecification;
|
|
2830
2654
|
|
|
2831
|
-
|
|
2655
|
+
successNextStep?: DialogState;
|
|
2832
2656
|
|
|
2833
|
-
|
|
2657
|
+
successConditional?: ConditionalSpecification;
|
|
2834
2658
|
|
|
2835
|
-
|
|
2659
|
+
failureResponse?: ResponseSpecification;
|
|
2836
2660
|
|
|
2837
|
-
|
|
2661
|
+
failureNextStep?: DialogState;
|
|
2838
2662
|
|
|
2839
|
-
|
|
2663
|
+
failureConditional?: ConditionalSpecification;
|
|
2840
2664
|
|
|
2841
|
-
|
|
2665
|
+
timeoutResponse?: ResponseSpecification;
|
|
2842
2666
|
|
|
2843
|
-
|
|
2667
|
+
timeoutNextStep?: DialogState;
|
|
2844
2668
|
|
|
2845
|
-
|
|
2669
|
+
timeoutConditional?: ConditionalSpecification;
|
|
2846
2670
|
}
|
|
2847
|
-
|
|
2671
|
+
|
|
2672
|
+
export interface PostFulfillmentStatusSpecification {
|
|
2848
2673
|
|
|
2849
|
-
|
|
2674
|
+
successResponse?: ResponseSpecification;
|
|
2850
2675
|
|
|
2851
|
-
|
|
2676
|
+
failureResponse?: ResponseSpecification;
|
|
2852
2677
|
|
|
2853
|
-
|
|
2678
|
+
timeoutResponse?: ResponseSpecification;
|
|
2854
2679
|
|
|
2855
|
-
|
|
2680
|
+
successNextStep?: DialogState;
|
|
2856
2681
|
|
|
2857
|
-
|
|
2682
|
+
successConditional?: ConditionalSpecification;
|
|
2858
2683
|
|
|
2859
|
-
|
|
2684
|
+
failureNextStep?: DialogState;
|
|
2860
2685
|
|
|
2861
|
-
|
|
2686
|
+
failureConditional?: ConditionalSpecification;
|
|
2862
2687
|
|
|
2863
|
-
|
|
2688
|
+
timeoutNextStep?: DialogState;
|
|
2864
2689
|
|
|
2865
|
-
|
|
2690
|
+
timeoutConditional?: ConditionalSpecification;
|
|
2691
|
+
}
|
|
2692
|
+
|
|
2693
|
+
export interface DialogCodeHookInvocationSetting {
|
|
2866
2694
|
|
|
2867
|
-
|
|
2695
|
+
enableCodeHookInvocation: boolean | undefined;
|
|
2696
|
+
|
|
2697
|
+
active: boolean | undefined;
|
|
2698
|
+
|
|
2699
|
+
invocationLabel?: string;
|
|
2700
|
+
|
|
2701
|
+
postCodeHookSpecification: PostDialogCodeHookInvocationSpecification | undefined;
|
|
2868
2702
|
}
|
|
2869
|
-
|
|
2703
|
+
|
|
2704
|
+
export interface FulfillmentCodeHookSettings {
|
|
2870
2705
|
|
|
2871
|
-
|
|
2706
|
+
enabled: boolean | undefined;
|
|
2872
2707
|
|
|
2873
|
-
|
|
2708
|
+
postFulfillmentStatusSpecification?: PostFulfillmentStatusSpecification;
|
|
2874
2709
|
|
|
2875
|
-
|
|
2710
|
+
fulfillmentUpdatesSpecification?: FulfillmentUpdatesSpecification;
|
|
2876
2711
|
|
|
2877
|
-
|
|
2712
|
+
active?: boolean;
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
export interface InitialResponseSetting {
|
|
2878
2716
|
|
|
2879
|
-
|
|
2717
|
+
initialResponse?: ResponseSpecification;
|
|
2880
2718
|
|
|
2881
|
-
|
|
2719
|
+
nextStep?: DialogState;
|
|
2882
2720
|
|
|
2883
|
-
|
|
2721
|
+
conditional?: ConditionalSpecification;
|
|
2884
2722
|
|
|
2885
|
-
|
|
2723
|
+
codeHook?: DialogCodeHookInvocationSetting;
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2726
|
+
export interface SlotCaptureSetting {
|
|
2886
2727
|
|
|
2887
|
-
|
|
2728
|
+
captureResponse?: ResponseSpecification;
|
|
2888
2729
|
|
|
2889
|
-
|
|
2730
|
+
captureNextStep?: DialogState;
|
|
2890
2731
|
|
|
2891
|
-
|
|
2732
|
+
captureConditional?: ConditionalSpecification;
|
|
2892
2733
|
|
|
2893
|
-
|
|
2734
|
+
failureResponse?: ResponseSpecification;
|
|
2735
|
+
|
|
2736
|
+
failureNextStep?: DialogState;
|
|
2737
|
+
|
|
2738
|
+
failureConditional?: ConditionalSpecification;
|
|
2739
|
+
|
|
2740
|
+
codeHook?: DialogCodeHookInvocationSetting;
|
|
2741
|
+
|
|
2742
|
+
elicitationCodeHook?: ElicitationCodeHookInvocationSetting;
|
|
2894
2743
|
}
|
|
2895
2744
|
|
|
2896
2745
|
export declare const AdvancedRecognitionSettingFilterSensitiveLog: (obj: AdvancedRecognitionSetting) => any;
|
|
@@ -2979,6 +2828,26 @@ export declare const ButtonFilterSensitiveLog: (obj: Button) => any;
|
|
|
2979
2828
|
|
|
2980
2829
|
export declare const CloudWatchLogGroupLogDestinationFilterSensitiveLog: (obj: CloudWatchLogGroupLogDestination) => any;
|
|
2981
2830
|
|
|
2831
|
+
export declare const ConditionFilterSensitiveLog: (obj: Condition) => any;
|
|
2832
|
+
|
|
2833
|
+
export declare const DialogActionFilterSensitiveLog: (obj: DialogAction) => any;
|
|
2834
|
+
|
|
2835
|
+
export declare const SlotValueFilterSensitiveLog: (obj: SlotValue) => any;
|
|
2836
|
+
|
|
2837
|
+
export declare const CustomPayloadFilterSensitiveLog: (obj: CustomPayload) => any;
|
|
2838
|
+
|
|
2839
|
+
export declare const ImageResponseCardFilterSensitiveLog: (obj: ImageResponseCard) => any;
|
|
2840
|
+
|
|
2841
|
+
export declare const PlainTextMessageFilterSensitiveLog: (obj: PlainTextMessage) => any;
|
|
2842
|
+
|
|
2843
|
+
export declare const SSMLMessageFilterSensitiveLog: (obj: SSMLMessage) => any;
|
|
2844
|
+
|
|
2845
|
+
export declare const MessageFilterSensitiveLog: (obj: Message) => any;
|
|
2846
|
+
|
|
2847
|
+
export declare const MessageGroupFilterSensitiveLog: (obj: MessageGroup) => any;
|
|
2848
|
+
|
|
2849
|
+
export declare const ResponseSpecificationFilterSensitiveLog: (obj: ResponseSpecification) => any;
|
|
2850
|
+
|
|
2982
2851
|
export declare const TextLogDestinationFilterSensitiveLog: (obj: TextLogDestination) => any;
|
|
2983
2852
|
|
|
2984
2853
|
export declare const TextLogSettingFilterSensitiveLog: (obj: TextLogSetting) => any;
|
|
@@ -3013,48 +2882,24 @@ export declare const CreateExportResponseFilterSensitiveLog: (obj: CreateExportR
|
|
|
3013
2882
|
|
|
3014
2883
|
export declare const DialogCodeHookSettingsFilterSensitiveLog: (obj: DialogCodeHookSettings) => any;
|
|
3015
2884
|
|
|
3016
|
-
export declare const CustomPayloadFilterSensitiveLog: (obj: CustomPayload) => any;
|
|
3017
|
-
|
|
3018
|
-
export declare const ImageResponseCardFilterSensitiveLog: (obj: ImageResponseCard) => any;
|
|
3019
|
-
|
|
3020
|
-
export declare const PlainTextMessageFilterSensitiveLog: (obj: PlainTextMessage) => any;
|
|
3021
|
-
|
|
3022
|
-
export declare const SSMLMessageFilterSensitiveLog: (obj: SSMLMessage) => any;
|
|
3023
|
-
|
|
3024
|
-
export declare const MessageFilterSensitiveLog: (obj: Message) => any;
|
|
3025
|
-
|
|
3026
|
-
export declare const MessageGroupFilterSensitiveLog: (obj: MessageGroup) => any;
|
|
3027
|
-
|
|
3028
2885
|
export declare const FulfillmentStartResponseSpecificationFilterSensitiveLog: (obj: FulfillmentStartResponseSpecification) => any;
|
|
3029
2886
|
|
|
3030
2887
|
export declare const FulfillmentUpdateResponseSpecificationFilterSensitiveLog: (obj: FulfillmentUpdateResponseSpecification) => any;
|
|
3031
2888
|
|
|
3032
2889
|
export declare const FulfillmentUpdatesSpecificationFilterSensitiveLog: (obj: FulfillmentUpdatesSpecification) => any;
|
|
3033
2890
|
|
|
3034
|
-
export declare const ResponseSpecificationFilterSensitiveLog: (obj: ResponseSpecification) => any;
|
|
3035
|
-
|
|
3036
|
-
export declare const PostFulfillmentStatusSpecificationFilterSensitiveLog: (obj: PostFulfillmentStatusSpecification) => any;
|
|
3037
|
-
|
|
3038
|
-
export declare const FulfillmentCodeHookSettingsFilterSensitiveLog: (obj: FulfillmentCodeHookSettings) => any;
|
|
3039
|
-
|
|
3040
2891
|
export declare const InputContextFilterSensitiveLog: (obj: InputContext) => any;
|
|
3041
2892
|
|
|
3042
|
-
export declare const
|
|
2893
|
+
export declare const ElicitationCodeHookInvocationSettingFilterSensitiveLog: (obj: ElicitationCodeHookInvocationSetting) => any;
|
|
3043
2894
|
|
|
3044
2895
|
export declare const PromptSpecificationFilterSensitiveLog: (obj: PromptSpecification) => any;
|
|
3045
2896
|
|
|
3046
|
-
export declare const IntentConfirmationSettingFilterSensitiveLog: (obj: IntentConfirmationSetting) => any;
|
|
3047
|
-
|
|
3048
2897
|
export declare const KendraConfigurationFilterSensitiveLog: (obj: KendraConfiguration) => any;
|
|
3049
2898
|
|
|
3050
2899
|
export declare const OutputContextFilterSensitiveLog: (obj: OutputContext) => any;
|
|
3051
2900
|
|
|
3052
2901
|
export declare const SampleUtteranceFilterSensitiveLog: (obj: SampleUtterance) => any;
|
|
3053
2902
|
|
|
3054
|
-
export declare const CreateIntentRequestFilterSensitiveLog: (obj: CreateIntentRequest) => any;
|
|
3055
|
-
|
|
3056
|
-
export declare const CreateIntentResponseFilterSensitiveLog: (obj: CreateIntentResponse) => any;
|
|
3057
|
-
|
|
3058
2903
|
export declare const CreateResourcePolicyRequestFilterSensitiveLog: (obj: CreateResourcePolicyRequest) => any;
|
|
3059
2904
|
|
|
3060
2905
|
export declare const CreateResourcePolicyResponseFilterSensitiveLog: (obj: CreateResourcePolicyResponse) => any;
|
|
@@ -3077,12 +2922,6 @@ export declare const StillWaitingResponseSpecificationFilterSensitiveLog: (obj:
|
|
|
3077
2922
|
|
|
3078
2923
|
export declare const WaitAndContinueSpecificationFilterSensitiveLog: (obj: WaitAndContinueSpecification) => any;
|
|
3079
2924
|
|
|
3080
|
-
export declare const SlotValueElicitationSettingFilterSensitiveLog: (obj: SlotValueElicitationSetting) => any;
|
|
3081
|
-
|
|
3082
|
-
export declare const CreateSlotRequestFilterSensitiveLog: (obj: CreateSlotRequest) => any;
|
|
3083
|
-
|
|
3084
|
-
export declare const CreateSlotResponseFilterSensitiveLog: (obj: CreateSlotResponse) => any;
|
|
3085
|
-
|
|
3086
2925
|
export declare const GrammarSlotTypeSourceFilterSensitiveLog: (obj: GrammarSlotTypeSource) => any;
|
|
3087
2926
|
|
|
3088
2927
|
export declare const GrammarSlotTypeSettingFilterSensitiveLog: (obj: GrammarSlotTypeSetting) => any;
|
|
@@ -3205,16 +3044,12 @@ export declare const DescribeIntentRequestFilterSensitiveLog: (obj: DescribeInte
|
|
|
3205
3044
|
|
|
3206
3045
|
export declare const SlotPriorityFilterSensitiveLog: (obj: SlotPriority) => any;
|
|
3207
3046
|
|
|
3208
|
-
export declare const DescribeIntentResponseFilterSensitiveLog: (obj: DescribeIntentResponse) => any;
|
|
3209
|
-
|
|
3210
3047
|
export declare const DescribeResourcePolicyRequestFilterSensitiveLog: (obj: DescribeResourcePolicyRequest) => any;
|
|
3211
3048
|
|
|
3212
3049
|
export declare const DescribeResourcePolicyResponseFilterSensitiveLog: (obj: DescribeResourcePolicyResponse) => any;
|
|
3213
3050
|
|
|
3214
3051
|
export declare const DescribeSlotRequestFilterSensitiveLog: (obj: DescribeSlotRequest) => any;
|
|
3215
3052
|
|
|
3216
|
-
export declare const DescribeSlotResponseFilterSensitiveLog: (obj: DescribeSlotResponse) => any;
|
|
3217
|
-
|
|
3218
3053
|
export declare const DescribeSlotTypeRequestFilterSensitiveLog: (obj: DescribeSlotTypeRequest) => any;
|
|
3219
3054
|
|
|
3220
3055
|
export declare const DescribeSlotTypeResponseFilterSensitiveLog: (obj: DescribeSlotTypeResponse) => any;
|
|
@@ -3355,18 +3190,36 @@ export declare const UpdateExportRequestFilterSensitiveLog: (obj: UpdateExportRe
|
|
|
3355
3190
|
|
|
3356
3191
|
export declare const UpdateExportResponseFilterSensitiveLog: (obj: UpdateExportResponse) => any;
|
|
3357
3192
|
|
|
3358
|
-
export declare const UpdateIntentRequestFilterSensitiveLog: (obj: UpdateIntentRequest) => any;
|
|
3359
|
-
|
|
3360
|
-
export declare const UpdateIntentResponseFilterSensitiveLog: (obj: UpdateIntentResponse) => any;
|
|
3361
|
-
|
|
3362
3193
|
export declare const UpdateResourcePolicyRequestFilterSensitiveLog: (obj: UpdateResourcePolicyRequest) => any;
|
|
3363
3194
|
|
|
3364
3195
|
export declare const UpdateResourcePolicyResponseFilterSensitiveLog: (obj: UpdateResourcePolicyResponse) => any;
|
|
3365
3196
|
|
|
3366
|
-
export declare const UpdateSlotRequestFilterSensitiveLog: (obj: UpdateSlotRequest) => any;
|
|
3367
|
-
|
|
3368
|
-
export declare const UpdateSlotResponseFilterSensitiveLog: (obj: UpdateSlotResponse) => any;
|
|
3369
|
-
|
|
3370
3197
|
export declare const UpdateSlotTypeRequestFilterSensitiveLog: (obj: UpdateSlotTypeRequest) => any;
|
|
3371
3198
|
|
|
3372
3199
|
export declare const UpdateSlotTypeResponseFilterSensitiveLog: (obj: UpdateSlotTypeResponse) => any;
|
|
3200
|
+
|
|
3201
|
+
export declare const SlotValueOverrideFilterSensitiveLog: (obj: SlotValueOverride) => any;
|
|
3202
|
+
|
|
3203
|
+
export declare const IntentOverrideFilterSensitiveLog: (obj: IntentOverride) => any;
|
|
3204
|
+
|
|
3205
|
+
export declare const DialogStateFilterSensitiveLog: (obj: DialogState) => any;
|
|
3206
|
+
|
|
3207
|
+
export declare const ConditionalBranchFilterSensitiveLog: (obj: ConditionalBranch) => any;
|
|
3208
|
+
|
|
3209
|
+
export declare const DefaultConditionalBranchFilterSensitiveLog: (obj: DefaultConditionalBranch) => any;
|
|
3210
|
+
|
|
3211
|
+
export declare const ConditionalSpecificationFilterSensitiveLog: (obj: ConditionalSpecification) => any;
|
|
3212
|
+
|
|
3213
|
+
export declare const IntentClosingSettingFilterSensitiveLog: (obj: IntentClosingSetting) => any;
|
|
3214
|
+
|
|
3215
|
+
export declare const PostDialogCodeHookInvocationSpecificationFilterSensitiveLog: (obj: PostDialogCodeHookInvocationSpecification) => any;
|
|
3216
|
+
|
|
3217
|
+
export declare const PostFulfillmentStatusSpecificationFilterSensitiveLog: (obj: PostFulfillmentStatusSpecification) => any;
|
|
3218
|
+
|
|
3219
|
+
export declare const DialogCodeHookInvocationSettingFilterSensitiveLog: (obj: DialogCodeHookInvocationSetting) => any;
|
|
3220
|
+
|
|
3221
|
+
export declare const FulfillmentCodeHookSettingsFilterSensitiveLog: (obj: FulfillmentCodeHookSettings) => any;
|
|
3222
|
+
|
|
3223
|
+
export declare const InitialResponseSettingFilterSensitiveLog: (obj: InitialResponseSetting) => any;
|
|
3224
|
+
|
|
3225
|
+
export declare const SlotCaptureSettingFilterSensitiveLog: (obj: SlotCaptureSetting) => any;
|