@aws-sdk/client-lex-models-v2 3.321.1 → 3.326.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/dist-types/commands/BatchCreateCustomVocabularyItemCommand.d.ts +23 -0
- package/dist-types/commands/BatchDeleteCustomVocabularyItemCommand.d.ts +23 -0
- package/dist-types/commands/BatchUpdateCustomVocabularyItemCommand.d.ts +23 -0
- package/dist-types/commands/BuildBotLocaleCommand.d.ts +10 -0
- package/dist-types/commands/CreateBotAliasCommand.d.ts +54 -0
- package/dist-types/commands/CreateBotCommand.d.ts +31 -0
- package/dist-types/commands/CreateBotLocaleCommand.d.ts +17 -0
- package/dist-types/commands/CreateBotVersionCommand.d.ts +15 -0
- package/dist-types/commands/CreateExportCommand.d.ts +25 -0
- package/dist-types/commands/CreateIntentCommand.d.ts +435 -0
- package/dist-types/commands/CreateResourcePolicyCommand.d.ts +7 -0
- package/dist-types/commands/CreateResourcePolicyStatementCommand.d.ts +7 -0
- package/dist-types/commands/CreateSlotCommand.d.ts +405 -0
- package/dist-types/commands/CreateSlotTypeCommand.d.ts +51 -0
- package/dist-types/commands/CreateUploadUrlCommand.d.ts +7 -0
- package/dist-types/commands/DeleteBotAliasCommand.d.ts +8 -0
- package/dist-types/commands/DeleteBotCommand.d.ts +7 -0
- package/dist-types/commands/DeleteBotLocaleCommand.d.ts +9 -0
- package/dist-types/commands/DeleteBotVersionCommand.d.ts +8 -0
- package/dist-types/commands/DeleteCustomVocabularyCommand.d.ts +9 -0
- package/dist-types/commands/DeleteExportCommand.d.ts +7 -0
- package/dist-types/commands/DeleteImportCommand.d.ts +7 -0
- package/dist-types/commands/DeleteIntentCommand.d.ts +4 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +7 -0
- package/dist-types/commands/DeleteResourcePolicyStatementCommand.d.ts +7 -0
- package/dist-types/commands/DeleteSlotCommand.d.ts +4 -0
- package/dist-types/commands/DeleteSlotTypeCommand.d.ts +4 -0
- package/dist-types/commands/DeleteUtterancesCommand.d.ts +4 -0
- package/dist-types/commands/DescribeBotAliasCommand.d.ts +65 -0
- package/dist-types/commands/DescribeBotCommand.d.ts +29 -0
- package/dist-types/commands/DescribeBotLocaleCommand.d.ts +33 -0
- package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +52 -0
- package/dist-types/commands/DescribeBotVersionCommand.d.ts +35 -0
- package/dist-types/commands/DescribeCustomVocabularyMetadataCommand.d.ts +11 -0
- package/dist-types/commands/DescribeExportCommand.d.ts +30 -0
- package/dist-types/commands/DescribeImportCommand.d.ts +46 -0
- package/dist-types/commands/DescribeIntentCommand.d.ts +442 -0
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +8 -0
- package/dist-types/commands/DescribeSlotCommand.d.ts +406 -0
- package/dist-types/commands/DescribeSlotTypeCommand.d.ts +52 -0
- package/dist-types/commands/ListAggregatedUtterancesCommand.d.ts +29 -0
- package/dist-types/commands/ListBotAliasesCommand.d.ts +18 -0
- package/dist-types/commands/ListBotLocalesCommand.d.ts +18 -0
- package/dist-types/commands/ListBotRecommendationsCommand.d.ts +17 -0
- package/dist-types/commands/ListBotVersionsCommand.d.ts +16 -0
- package/dist-types/commands/ListBotsCommand.d.ts +17 -0
- package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +13 -0
- package/dist-types/commands/ListBuiltInSlotTypesCommand.d.ts +13 -0
- package/dist-types/commands/ListCustomVocabularyItemsCommand.d.ts +17 -0
- package/dist-types/commands/ListExportsCommand.d.ts +34 -0
- package/dist-types/commands/ListImportsCommand.d.ts +21 -0
- package/dist-types/commands/ListIntentsCommand.d.ts +30 -0
- package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +17 -0
- package/dist-types/commands/ListSlotTypesCommand.d.ts +19 -0
- package/dist-types/commands/ListSlotsCommand.d.ts +100 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
- package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +16 -0
- package/dist-types/commands/StartBotRecommendationCommand.d.ts +36 -0
- package/dist-types/commands/StartImportCommand.d.ts +40 -0
- package/dist-types/commands/StopBotRecommendationCommand.d.ts +10 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateBotAliasCommand.d.ts +52 -0
- package/dist-types/commands/UpdateBotCommand.d.ts +26 -0
- package/dist-types/commands/UpdateBotLocaleCommand.d.ts +24 -0
- package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +37 -0
- package/dist-types/commands/UpdateExportCommand.d.ts +26 -0
- package/dist-types/commands/UpdateIntentCommand.d.ts +442 -0
- package/dist-types/commands/UpdateResourcePolicyCommand.d.ts +7 -0
- package/dist-types/commands/UpdateSlotCommand.d.ts +406 -0
- package/dist-types/commands/UpdateSlotTypeCommand.d.ts +52 -0
- package/package.json +16 -16
|
@@ -465,6 +465,446 @@ export interface UpdateIntentCommandOutput extends UpdateIntentResponse, __Metad
|
|
|
465
465
|
* };
|
|
466
466
|
* const command = new UpdateIntentCommand(input);
|
|
467
467
|
* const response = await client.send(command);
|
|
468
|
+
* // { // UpdateIntentResponse
|
|
469
|
+
* // intentId: "STRING_VALUE",
|
|
470
|
+
* // intentName: "STRING_VALUE",
|
|
471
|
+
* // description: "STRING_VALUE",
|
|
472
|
+
* // parentIntentSignature: "STRING_VALUE",
|
|
473
|
+
* // sampleUtterances: [ // SampleUtterancesList
|
|
474
|
+
* // { // SampleUtterance
|
|
475
|
+
* // utterance: "STRING_VALUE", // required
|
|
476
|
+
* // },
|
|
477
|
+
* // ],
|
|
478
|
+
* // dialogCodeHook: { // DialogCodeHookSettings
|
|
479
|
+
* // enabled: true || false, // required
|
|
480
|
+
* // },
|
|
481
|
+
* // fulfillmentCodeHook: { // FulfillmentCodeHookSettings
|
|
482
|
+
* // enabled: true || false, // required
|
|
483
|
+
* // postFulfillmentStatusSpecification: { // PostFulfillmentStatusSpecification
|
|
484
|
+
* // successResponse: { // ResponseSpecification
|
|
485
|
+
* // messageGroups: [ // MessageGroupsList // required
|
|
486
|
+
* // { // MessageGroup
|
|
487
|
+
* // message: { // Message
|
|
488
|
+
* // plainTextMessage: { // PlainTextMessage
|
|
489
|
+
* // value: "STRING_VALUE", // required
|
|
490
|
+
* // },
|
|
491
|
+
* // customPayload: { // CustomPayload
|
|
492
|
+
* // value: "STRING_VALUE", // required
|
|
493
|
+
* // },
|
|
494
|
+
* // ssmlMessage: { // SSMLMessage
|
|
495
|
+
* // value: "STRING_VALUE", // required
|
|
496
|
+
* // },
|
|
497
|
+
* // imageResponseCard: { // ImageResponseCard
|
|
498
|
+
* // title: "STRING_VALUE", // required
|
|
499
|
+
* // subtitle: "STRING_VALUE",
|
|
500
|
+
* // imageUrl: "STRING_VALUE",
|
|
501
|
+
* // buttons: [ // ButtonsList
|
|
502
|
+
* // { // Button
|
|
503
|
+
* // text: "STRING_VALUE", // required
|
|
504
|
+
* // value: "STRING_VALUE", // required
|
|
505
|
+
* // },
|
|
506
|
+
* // ],
|
|
507
|
+
* // },
|
|
508
|
+
* // },
|
|
509
|
+
* // variations: [ // MessageVariationsList
|
|
510
|
+
* // {
|
|
511
|
+
* // plainTextMessage: {
|
|
512
|
+
* // value: "STRING_VALUE", // required
|
|
513
|
+
* // },
|
|
514
|
+
* // customPayload: {
|
|
515
|
+
* // value: "STRING_VALUE", // required
|
|
516
|
+
* // },
|
|
517
|
+
* // ssmlMessage: {
|
|
518
|
+
* // value: "STRING_VALUE", // required
|
|
519
|
+
* // },
|
|
520
|
+
* // imageResponseCard: {
|
|
521
|
+
* // title: "STRING_VALUE", // required
|
|
522
|
+
* // subtitle: "STRING_VALUE",
|
|
523
|
+
* // imageUrl: "STRING_VALUE",
|
|
524
|
+
* // buttons: [
|
|
525
|
+
* // {
|
|
526
|
+
* // text: "STRING_VALUE", // required
|
|
527
|
+
* // value: "STRING_VALUE", // required
|
|
528
|
+
* // },
|
|
529
|
+
* // ],
|
|
530
|
+
* // },
|
|
531
|
+
* // },
|
|
532
|
+
* // ],
|
|
533
|
+
* // },
|
|
534
|
+
* // ],
|
|
535
|
+
* // allowInterrupt: true || false,
|
|
536
|
+
* // },
|
|
537
|
+
* // failureResponse: {
|
|
538
|
+
* // messageGroups: [ // required
|
|
539
|
+
* // {
|
|
540
|
+
* // message: {
|
|
541
|
+
* // plainTextMessage: {
|
|
542
|
+
* // value: "STRING_VALUE", // required
|
|
543
|
+
* // },
|
|
544
|
+
* // customPayload: {
|
|
545
|
+
* // value: "STRING_VALUE", // required
|
|
546
|
+
* // },
|
|
547
|
+
* // ssmlMessage: {
|
|
548
|
+
* // value: "STRING_VALUE", // required
|
|
549
|
+
* // },
|
|
550
|
+
* // imageResponseCard: {
|
|
551
|
+
* // title: "STRING_VALUE", // required
|
|
552
|
+
* // subtitle: "STRING_VALUE",
|
|
553
|
+
* // imageUrl: "STRING_VALUE",
|
|
554
|
+
* // buttons: [
|
|
555
|
+
* // {
|
|
556
|
+
* // text: "STRING_VALUE", // required
|
|
557
|
+
* // value: "STRING_VALUE", // required
|
|
558
|
+
* // },
|
|
559
|
+
* // ],
|
|
560
|
+
* // },
|
|
561
|
+
* // },
|
|
562
|
+
* // variations: [
|
|
563
|
+
* // {
|
|
564
|
+
* // plainTextMessage: {
|
|
565
|
+
* // value: "STRING_VALUE", // required
|
|
566
|
+
* // },
|
|
567
|
+
* // customPayload: {
|
|
568
|
+
* // value: "STRING_VALUE", // required
|
|
569
|
+
* // },
|
|
570
|
+
* // ssmlMessage: {
|
|
571
|
+
* // value: "STRING_VALUE", // required
|
|
572
|
+
* // },
|
|
573
|
+
* // imageResponseCard: {
|
|
574
|
+
* // title: "STRING_VALUE", // required
|
|
575
|
+
* // subtitle: "STRING_VALUE",
|
|
576
|
+
* // imageUrl: "STRING_VALUE",
|
|
577
|
+
* // buttons: [
|
|
578
|
+
* // {
|
|
579
|
+
* // text: "STRING_VALUE", // required
|
|
580
|
+
* // value: "STRING_VALUE", // required
|
|
581
|
+
* // },
|
|
582
|
+
* // ],
|
|
583
|
+
* // },
|
|
584
|
+
* // },
|
|
585
|
+
* // ],
|
|
586
|
+
* // },
|
|
587
|
+
* // ],
|
|
588
|
+
* // allowInterrupt: true || false,
|
|
589
|
+
* // },
|
|
590
|
+
* // timeoutResponse: {
|
|
591
|
+
* // messageGroups: [ // required
|
|
592
|
+
* // {
|
|
593
|
+
* // message: {
|
|
594
|
+
* // plainTextMessage: {
|
|
595
|
+
* // value: "STRING_VALUE", // required
|
|
596
|
+
* // },
|
|
597
|
+
* // customPayload: {
|
|
598
|
+
* // value: "STRING_VALUE", // required
|
|
599
|
+
* // },
|
|
600
|
+
* // ssmlMessage: {
|
|
601
|
+
* // value: "STRING_VALUE", // required
|
|
602
|
+
* // },
|
|
603
|
+
* // imageResponseCard: {
|
|
604
|
+
* // title: "STRING_VALUE", // required
|
|
605
|
+
* // subtitle: "STRING_VALUE",
|
|
606
|
+
* // imageUrl: "STRING_VALUE",
|
|
607
|
+
* // buttons: [
|
|
608
|
+
* // {
|
|
609
|
+
* // text: "STRING_VALUE", // required
|
|
610
|
+
* // value: "STRING_VALUE", // required
|
|
611
|
+
* // },
|
|
612
|
+
* // ],
|
|
613
|
+
* // },
|
|
614
|
+
* // },
|
|
615
|
+
* // variations: [
|
|
616
|
+
* // "<Message>",
|
|
617
|
+
* // ],
|
|
618
|
+
* // },
|
|
619
|
+
* // ],
|
|
620
|
+
* // allowInterrupt: true || false,
|
|
621
|
+
* // },
|
|
622
|
+
* // successNextStep: { // DialogState
|
|
623
|
+
* // dialogAction: { // DialogAction
|
|
624
|
+
* // type: "ElicitIntent" || "StartIntent" || "ElicitSlot" || "EvaluateConditional" || "InvokeDialogCodeHook" || "ConfirmIntent" || "FulfillIntent" || "CloseIntent" || "EndConversation", // required
|
|
625
|
+
* // slotToElicit: "STRING_VALUE",
|
|
626
|
+
* // suppressNextMessage: true || false,
|
|
627
|
+
* // },
|
|
628
|
+
* // intent: { // IntentOverride
|
|
629
|
+
* // name: "STRING_VALUE",
|
|
630
|
+
* // slots: { // SlotValueOverrideMap
|
|
631
|
+
* // "<keys>": { // SlotValueOverride
|
|
632
|
+
* // shape: "Scalar" || "List",
|
|
633
|
+
* // value: { // SlotValue
|
|
634
|
+
* // interpretedValue: "STRING_VALUE",
|
|
635
|
+
* // },
|
|
636
|
+
* // values: [ // SlotValues
|
|
637
|
+
* // {
|
|
638
|
+
* // shape: "Scalar" || "List",
|
|
639
|
+
* // value: {
|
|
640
|
+
* // interpretedValue: "STRING_VALUE",
|
|
641
|
+
* // },
|
|
642
|
+
* // values: [
|
|
643
|
+
* // "<SlotValueOverride>",
|
|
644
|
+
* // ],
|
|
645
|
+
* // },
|
|
646
|
+
* // ],
|
|
647
|
+
* // },
|
|
648
|
+
* // },
|
|
649
|
+
* // },
|
|
650
|
+
* // sessionAttributes: { // StringMap
|
|
651
|
+
* // "<keys>": "STRING_VALUE",
|
|
652
|
+
* // },
|
|
653
|
+
* // },
|
|
654
|
+
* // successConditional: { // ConditionalSpecification
|
|
655
|
+
* // active: true || false, // required
|
|
656
|
+
* // conditionalBranches: [ // ConditionalBranches // required
|
|
657
|
+
* // { // ConditionalBranch
|
|
658
|
+
* // name: "STRING_VALUE", // required
|
|
659
|
+
* // condition: { // Condition
|
|
660
|
+
* // expressionString: "STRING_VALUE", // required
|
|
661
|
+
* // },
|
|
662
|
+
* // nextStep: {
|
|
663
|
+
* // dialogAction: {
|
|
664
|
+
* // type: "ElicitIntent" || "StartIntent" || "ElicitSlot" || "EvaluateConditional" || "InvokeDialogCodeHook" || "ConfirmIntent" || "FulfillIntent" || "CloseIntent" || "EndConversation", // required
|
|
665
|
+
* // slotToElicit: "STRING_VALUE",
|
|
666
|
+
* // suppressNextMessage: true || false,
|
|
667
|
+
* // },
|
|
668
|
+
* // intent: {
|
|
669
|
+
* // name: "STRING_VALUE",
|
|
670
|
+
* // slots: {
|
|
671
|
+
* // "<keys>": "<SlotValueOverride>",
|
|
672
|
+
* // },
|
|
673
|
+
* // },
|
|
674
|
+
* // sessionAttributes: {
|
|
675
|
+
* // "<keys>": "STRING_VALUE",
|
|
676
|
+
* // },
|
|
677
|
+
* // },
|
|
678
|
+
* // response: {
|
|
679
|
+
* // messageGroups: [ // required
|
|
680
|
+
* // {
|
|
681
|
+
* // message: "<Message>", // required
|
|
682
|
+
* // variations: [
|
|
683
|
+
* // "<Message>",
|
|
684
|
+
* // ],
|
|
685
|
+
* // },
|
|
686
|
+
* // ],
|
|
687
|
+
* // allowInterrupt: true || false,
|
|
688
|
+
* // },
|
|
689
|
+
* // },
|
|
690
|
+
* // ],
|
|
691
|
+
* // defaultBranch: { // DefaultConditionalBranch
|
|
692
|
+
* // nextStep: "<DialogState>",
|
|
693
|
+
* // response: "<ResponseSpecification>",
|
|
694
|
+
* // },
|
|
695
|
+
* // },
|
|
696
|
+
* // failureNextStep: "<DialogState>",
|
|
697
|
+
* // failureConditional: {
|
|
698
|
+
* // active: true || false, // required
|
|
699
|
+
* // conditionalBranches: [ // required
|
|
700
|
+
* // {
|
|
701
|
+
* // name: "STRING_VALUE", // required
|
|
702
|
+
* // condition: {
|
|
703
|
+
* // expressionString: "STRING_VALUE", // required
|
|
704
|
+
* // },
|
|
705
|
+
* // nextStep: "<DialogState>", // required
|
|
706
|
+
* // response: "<ResponseSpecification>",
|
|
707
|
+
* // },
|
|
708
|
+
* // ],
|
|
709
|
+
* // defaultBranch: {
|
|
710
|
+
* // nextStep: "<DialogState>",
|
|
711
|
+
* // response: "<ResponseSpecification>",
|
|
712
|
+
* // },
|
|
713
|
+
* // },
|
|
714
|
+
* // timeoutNextStep: "<DialogState>",
|
|
715
|
+
* // timeoutConditional: {
|
|
716
|
+
* // active: true || false, // required
|
|
717
|
+
* // conditionalBranches: [ // required
|
|
718
|
+
* // {
|
|
719
|
+
* // name: "STRING_VALUE", // required
|
|
720
|
+
* // condition: {
|
|
721
|
+
* // expressionString: "STRING_VALUE", // required
|
|
722
|
+
* // },
|
|
723
|
+
* // nextStep: "<DialogState>", // required
|
|
724
|
+
* // response: "<ResponseSpecification>",
|
|
725
|
+
* // },
|
|
726
|
+
* // ],
|
|
727
|
+
* // defaultBranch: {
|
|
728
|
+
* // nextStep: "<DialogState>",
|
|
729
|
+
* // response: "<ResponseSpecification>",
|
|
730
|
+
* // },
|
|
731
|
+
* // },
|
|
732
|
+
* // },
|
|
733
|
+
* // fulfillmentUpdatesSpecification: { // FulfillmentUpdatesSpecification
|
|
734
|
+
* // active: true || false, // required
|
|
735
|
+
* // startResponse: { // FulfillmentStartResponseSpecification
|
|
736
|
+
* // delayInSeconds: Number("int"), // required
|
|
737
|
+
* // messageGroups: [ // required
|
|
738
|
+
* // {
|
|
739
|
+
* // message: "<Message>", // required
|
|
740
|
+
* // variations: [
|
|
741
|
+
* // "<Message>",
|
|
742
|
+
* // ],
|
|
743
|
+
* // },
|
|
744
|
+
* // ],
|
|
745
|
+
* // allowInterrupt: true || false,
|
|
746
|
+
* // },
|
|
747
|
+
* // updateResponse: { // FulfillmentUpdateResponseSpecification
|
|
748
|
+
* // frequencyInSeconds: Number("int"), // required
|
|
749
|
+
* // messageGroups: "<MessageGroupsList>", // required
|
|
750
|
+
* // allowInterrupt: true || false,
|
|
751
|
+
* // },
|
|
752
|
+
* // timeoutInSeconds: Number("int"),
|
|
753
|
+
* // },
|
|
754
|
+
* // active: true || false,
|
|
755
|
+
* // },
|
|
756
|
+
* // slotPriorities: [ // SlotPrioritiesList
|
|
757
|
+
* // { // SlotPriority
|
|
758
|
+
* // priority: Number("int"), // required
|
|
759
|
+
* // slotId: "STRING_VALUE", // required
|
|
760
|
+
* // },
|
|
761
|
+
* // ],
|
|
762
|
+
* // intentConfirmationSetting: { // IntentConfirmationSetting
|
|
763
|
+
* // promptSpecification: { // PromptSpecification
|
|
764
|
+
* // messageGroups: "<MessageGroupsList>", // required
|
|
765
|
+
* // maxRetries: Number("int"), // required
|
|
766
|
+
* // allowInterrupt: true || false,
|
|
767
|
+
* // messageSelectionStrategy: "Random" || "Ordered",
|
|
768
|
+
* // promptAttemptsSpecification: { // PromptAttemptsSpecificationMap
|
|
769
|
+
* // "<keys>": { // PromptAttemptSpecification
|
|
770
|
+
* // allowInterrupt: true || false,
|
|
771
|
+
* // allowedInputTypes: { // AllowedInputTypes
|
|
772
|
+
* // allowAudioInput: true || false, // required
|
|
773
|
+
* // allowDTMFInput: true || false, // required
|
|
774
|
+
* // },
|
|
775
|
+
* // audioAndDTMFInputSpecification: { // AudioAndDTMFInputSpecification
|
|
776
|
+
* // startTimeoutMs: Number("int"), // required
|
|
777
|
+
* // audioSpecification: { // AudioSpecification
|
|
778
|
+
* // maxLengthMs: Number("int"), // required
|
|
779
|
+
* // endTimeoutMs: Number("int"), // required
|
|
780
|
+
* // },
|
|
781
|
+
* // dtmfSpecification: { // DTMFSpecification
|
|
782
|
+
* // maxLength: Number("int"), // required
|
|
783
|
+
* // endTimeoutMs: Number("int"), // required
|
|
784
|
+
* // deletionCharacter: "STRING_VALUE", // required
|
|
785
|
+
* // endCharacter: "STRING_VALUE", // required
|
|
786
|
+
* // },
|
|
787
|
+
* // },
|
|
788
|
+
* // textInputSpecification: { // TextInputSpecification
|
|
789
|
+
* // startTimeoutMs: Number("int"), // required
|
|
790
|
+
* // },
|
|
791
|
+
* // },
|
|
792
|
+
* // },
|
|
793
|
+
* // },
|
|
794
|
+
* // declinationResponse: "<ResponseSpecification>",
|
|
795
|
+
* // active: true || false,
|
|
796
|
+
* // confirmationResponse: "<ResponseSpecification>",
|
|
797
|
+
* // confirmationNextStep: "<DialogState>",
|
|
798
|
+
* // confirmationConditional: {
|
|
799
|
+
* // active: true || false, // required
|
|
800
|
+
* // conditionalBranches: [ // required
|
|
801
|
+
* // {
|
|
802
|
+
* // name: "STRING_VALUE", // required
|
|
803
|
+
* // condition: {
|
|
804
|
+
* // expressionString: "STRING_VALUE", // required
|
|
805
|
+
* // },
|
|
806
|
+
* // nextStep: "<DialogState>", // required
|
|
807
|
+
* // response: "<ResponseSpecification>",
|
|
808
|
+
* // },
|
|
809
|
+
* // ],
|
|
810
|
+
* // defaultBranch: {
|
|
811
|
+
* // nextStep: "<DialogState>",
|
|
812
|
+
* // response: "<ResponseSpecification>",
|
|
813
|
+
* // },
|
|
814
|
+
* // },
|
|
815
|
+
* // declinationNextStep: "<DialogState>",
|
|
816
|
+
* // declinationConditional: {
|
|
817
|
+
* // active: true || false, // required
|
|
818
|
+
* // conditionalBranches: [ // required
|
|
819
|
+
* // {
|
|
820
|
+
* // name: "STRING_VALUE", // required
|
|
821
|
+
* // condition: {
|
|
822
|
+
* // expressionString: "STRING_VALUE", // required
|
|
823
|
+
* // },
|
|
824
|
+
* // nextStep: "<DialogState>", // required
|
|
825
|
+
* // response: "<ResponseSpecification>",
|
|
826
|
+
* // },
|
|
827
|
+
* // ],
|
|
828
|
+
* // defaultBranch: {
|
|
829
|
+
* // nextStep: "<DialogState>",
|
|
830
|
+
* // response: "<ResponseSpecification>",
|
|
831
|
+
* // },
|
|
832
|
+
* // },
|
|
833
|
+
* // failureResponse: "<ResponseSpecification>",
|
|
834
|
+
* // failureNextStep: "<DialogState>",
|
|
835
|
+
* // failureConditional: "<ConditionalSpecification>",
|
|
836
|
+
* // codeHook: { // DialogCodeHookInvocationSetting
|
|
837
|
+
* // enableCodeHookInvocation: true || false, // required
|
|
838
|
+
* // active: true || false, // required
|
|
839
|
+
* // invocationLabel: "STRING_VALUE",
|
|
840
|
+
* // postCodeHookSpecification: { // PostDialogCodeHookInvocationSpecification
|
|
841
|
+
* // successResponse: "<ResponseSpecification>",
|
|
842
|
+
* // successNextStep: "<DialogState>",
|
|
843
|
+
* // successConditional: "<ConditionalSpecification>",
|
|
844
|
+
* // failureResponse: "<ResponseSpecification>",
|
|
845
|
+
* // failureNextStep: "<DialogState>",
|
|
846
|
+
* // failureConditional: "<ConditionalSpecification>",
|
|
847
|
+
* // timeoutResponse: "<ResponseSpecification>",
|
|
848
|
+
* // timeoutNextStep: "<DialogState>",
|
|
849
|
+
* // timeoutConditional: "<ConditionalSpecification>",
|
|
850
|
+
* // },
|
|
851
|
+
* // },
|
|
852
|
+
* // elicitationCodeHook: { // ElicitationCodeHookInvocationSetting
|
|
853
|
+
* // enableCodeHookInvocation: true || false, // required
|
|
854
|
+
* // invocationLabel: "STRING_VALUE",
|
|
855
|
+
* // },
|
|
856
|
+
* // },
|
|
857
|
+
* // intentClosingSetting: { // IntentClosingSetting
|
|
858
|
+
* // closingResponse: "<ResponseSpecification>",
|
|
859
|
+
* // active: true || false,
|
|
860
|
+
* // nextStep: "<DialogState>",
|
|
861
|
+
* // conditional: "<ConditionalSpecification>",
|
|
862
|
+
* // },
|
|
863
|
+
* // inputContexts: [ // InputContextsList
|
|
864
|
+
* // { // InputContext
|
|
865
|
+
* // name: "STRING_VALUE", // required
|
|
866
|
+
* // },
|
|
867
|
+
* // ],
|
|
868
|
+
* // outputContexts: [ // OutputContextsList
|
|
869
|
+
* // { // OutputContext
|
|
870
|
+
* // name: "STRING_VALUE", // required
|
|
871
|
+
* // timeToLiveInSeconds: Number("int"), // required
|
|
872
|
+
* // turnsToLive: Number("int"), // required
|
|
873
|
+
* // },
|
|
874
|
+
* // ],
|
|
875
|
+
* // kendraConfiguration: { // KendraConfiguration
|
|
876
|
+
* // kendraIndex: "STRING_VALUE", // required
|
|
877
|
+
* // queryFilterStringEnabled: true || false,
|
|
878
|
+
* // queryFilterString: "STRING_VALUE",
|
|
879
|
+
* // },
|
|
880
|
+
* // botId: "STRING_VALUE",
|
|
881
|
+
* // botVersion: "STRING_VALUE",
|
|
882
|
+
* // localeId: "STRING_VALUE",
|
|
883
|
+
* // creationDateTime: new Date("TIMESTAMP"),
|
|
884
|
+
* // lastUpdatedDateTime: new Date("TIMESTAMP"),
|
|
885
|
+
* // initialResponseSetting: { // InitialResponseSetting
|
|
886
|
+
* // initialResponse: "<ResponseSpecification>",
|
|
887
|
+
* // nextStep: "<DialogState>",
|
|
888
|
+
* // conditional: "<ConditionalSpecification>",
|
|
889
|
+
* // codeHook: {
|
|
890
|
+
* // enableCodeHookInvocation: true || false, // required
|
|
891
|
+
* // active: true || false, // required
|
|
892
|
+
* // invocationLabel: "STRING_VALUE",
|
|
893
|
+
* // postCodeHookSpecification: {
|
|
894
|
+
* // successResponse: "<ResponseSpecification>",
|
|
895
|
+
* // successNextStep: "<DialogState>",
|
|
896
|
+
* // successConditional: "<ConditionalSpecification>",
|
|
897
|
+
* // failureResponse: "<ResponseSpecification>",
|
|
898
|
+
* // failureNextStep: "<DialogState>",
|
|
899
|
+
* // failureConditional: "<ConditionalSpecification>",
|
|
900
|
+
* // timeoutResponse: "<ResponseSpecification>",
|
|
901
|
+
* // timeoutNextStep: "<DialogState>",
|
|
902
|
+
* // timeoutConditional: "<ConditionalSpecification>",
|
|
903
|
+
* // },
|
|
904
|
+
* // },
|
|
905
|
+
* // },
|
|
906
|
+
* // };
|
|
907
|
+
*
|
|
468
908
|
* ```
|
|
469
909
|
*
|
|
470
910
|
* @param UpdateIntentCommandInput - {@link UpdateIntentCommandInput}
|
|
@@ -498,6 +938,8 @@ export interface UpdateIntentCommandOutput extends UpdateIntentResponse, __Metad
|
|
|
498
938
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
499
939
|
* parameters and try your request again.</p>
|
|
500
940
|
*
|
|
941
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
942
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
501
943
|
*
|
|
502
944
|
*/
|
|
503
945
|
export declare class UpdateIntentCommand extends $Command<UpdateIntentCommandInput, UpdateIntentCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -35,6 +35,11 @@ export interface UpdateResourcePolicyCommandOutput extends UpdateResourcePolicyR
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new UpdateResourcePolicyCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // UpdateResourcePolicyResponse
|
|
39
|
+
* // resourceArn: "STRING_VALUE",
|
|
40
|
+
* // revisionId: "STRING_VALUE",
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
38
43
|
* ```
|
|
39
44
|
*
|
|
40
45
|
* @param UpdateResourcePolicyCommandInput - {@link UpdateResourcePolicyCommandInput}
|
|
@@ -67,6 +72,8 @@ export interface UpdateResourcePolicyCommandOutput extends UpdateResourcePolicyR
|
|
|
67
72
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
68
73
|
* parameters and try your request again.</p>
|
|
69
74
|
*
|
|
75
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
70
77
|
*
|
|
71
78
|
*/
|
|
72
79
|
export declare class UpdateResourcePolicyCommand extends $Command<UpdateResourcePolicyCommandInput, UpdateResourcePolicyCommandOutput, LexModelsV2ClientResolvedConfig> {
|