@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
|
@@ -432,6 +432,409 @@ export interface CreateSlotCommandOutput extends CreateSlotResponse, __MetadataB
|
|
|
432
432
|
* };
|
|
433
433
|
* const command = new CreateSlotCommand(input);
|
|
434
434
|
* const response = await client.send(command);
|
|
435
|
+
* // { // CreateSlotResponse
|
|
436
|
+
* // slotId: "STRING_VALUE",
|
|
437
|
+
* // slotName: "STRING_VALUE",
|
|
438
|
+
* // description: "STRING_VALUE",
|
|
439
|
+
* // slotTypeId: "STRING_VALUE",
|
|
440
|
+
* // valueElicitationSetting: { // SlotValueElicitationSetting
|
|
441
|
+
* // defaultValueSpecification: { // SlotDefaultValueSpecification
|
|
442
|
+
* // defaultValueList: [ // SlotDefaultValueList // required
|
|
443
|
+
* // { // SlotDefaultValue
|
|
444
|
+
* // defaultValue: "STRING_VALUE", // required
|
|
445
|
+
* // },
|
|
446
|
+
* // ],
|
|
447
|
+
* // },
|
|
448
|
+
* // slotConstraint: "Required" || "Optional", // required
|
|
449
|
+
* // promptSpecification: { // PromptSpecification
|
|
450
|
+
* // messageGroups: [ // MessageGroupsList // required
|
|
451
|
+
* // { // MessageGroup
|
|
452
|
+
* // message: { // Message
|
|
453
|
+
* // plainTextMessage: { // PlainTextMessage
|
|
454
|
+
* // value: "STRING_VALUE", // required
|
|
455
|
+
* // },
|
|
456
|
+
* // customPayload: { // CustomPayload
|
|
457
|
+
* // value: "STRING_VALUE", // required
|
|
458
|
+
* // },
|
|
459
|
+
* // ssmlMessage: { // SSMLMessage
|
|
460
|
+
* // value: "STRING_VALUE", // required
|
|
461
|
+
* // },
|
|
462
|
+
* // imageResponseCard: { // ImageResponseCard
|
|
463
|
+
* // title: "STRING_VALUE", // required
|
|
464
|
+
* // subtitle: "STRING_VALUE",
|
|
465
|
+
* // imageUrl: "STRING_VALUE",
|
|
466
|
+
* // buttons: [ // ButtonsList
|
|
467
|
+
* // { // Button
|
|
468
|
+
* // text: "STRING_VALUE", // required
|
|
469
|
+
* // value: "STRING_VALUE", // required
|
|
470
|
+
* // },
|
|
471
|
+
* // ],
|
|
472
|
+
* // },
|
|
473
|
+
* // },
|
|
474
|
+
* // variations: [ // MessageVariationsList
|
|
475
|
+
* // {
|
|
476
|
+
* // plainTextMessage: {
|
|
477
|
+
* // value: "STRING_VALUE", // required
|
|
478
|
+
* // },
|
|
479
|
+
* // customPayload: {
|
|
480
|
+
* // value: "STRING_VALUE", // required
|
|
481
|
+
* // },
|
|
482
|
+
* // ssmlMessage: {
|
|
483
|
+
* // value: "STRING_VALUE", // required
|
|
484
|
+
* // },
|
|
485
|
+
* // imageResponseCard: {
|
|
486
|
+
* // title: "STRING_VALUE", // required
|
|
487
|
+
* // subtitle: "STRING_VALUE",
|
|
488
|
+
* // imageUrl: "STRING_VALUE",
|
|
489
|
+
* // buttons: [
|
|
490
|
+
* // {
|
|
491
|
+
* // text: "STRING_VALUE", // required
|
|
492
|
+
* // value: "STRING_VALUE", // required
|
|
493
|
+
* // },
|
|
494
|
+
* // ],
|
|
495
|
+
* // },
|
|
496
|
+
* // },
|
|
497
|
+
* // ],
|
|
498
|
+
* // },
|
|
499
|
+
* // ],
|
|
500
|
+
* // maxRetries: Number("int"), // required
|
|
501
|
+
* // allowInterrupt: true || false,
|
|
502
|
+
* // messageSelectionStrategy: "Random" || "Ordered",
|
|
503
|
+
* // promptAttemptsSpecification: { // PromptAttemptsSpecificationMap
|
|
504
|
+
* // "<keys>": { // PromptAttemptSpecification
|
|
505
|
+
* // allowInterrupt: true || false,
|
|
506
|
+
* // allowedInputTypes: { // AllowedInputTypes
|
|
507
|
+
* // allowAudioInput: true || false, // required
|
|
508
|
+
* // allowDTMFInput: true || false, // required
|
|
509
|
+
* // },
|
|
510
|
+
* // audioAndDTMFInputSpecification: { // AudioAndDTMFInputSpecification
|
|
511
|
+
* // startTimeoutMs: Number("int"), // required
|
|
512
|
+
* // audioSpecification: { // AudioSpecification
|
|
513
|
+
* // maxLengthMs: Number("int"), // required
|
|
514
|
+
* // endTimeoutMs: Number("int"), // required
|
|
515
|
+
* // },
|
|
516
|
+
* // dtmfSpecification: { // DTMFSpecification
|
|
517
|
+
* // maxLength: Number("int"), // required
|
|
518
|
+
* // endTimeoutMs: Number("int"), // required
|
|
519
|
+
* // deletionCharacter: "STRING_VALUE", // required
|
|
520
|
+
* // endCharacter: "STRING_VALUE", // required
|
|
521
|
+
* // },
|
|
522
|
+
* // },
|
|
523
|
+
* // textInputSpecification: { // TextInputSpecification
|
|
524
|
+
* // startTimeoutMs: Number("int"), // required
|
|
525
|
+
* // },
|
|
526
|
+
* // },
|
|
527
|
+
* // },
|
|
528
|
+
* // },
|
|
529
|
+
* // sampleUtterances: [ // SampleUtterancesList
|
|
530
|
+
* // { // SampleUtterance
|
|
531
|
+
* // utterance: "STRING_VALUE", // required
|
|
532
|
+
* // },
|
|
533
|
+
* // ],
|
|
534
|
+
* // waitAndContinueSpecification: { // WaitAndContinueSpecification
|
|
535
|
+
* // waitingResponse: { // ResponseSpecification
|
|
536
|
+
* // messageGroups: [ // required
|
|
537
|
+
* // {
|
|
538
|
+
* // message: {
|
|
539
|
+
* // plainTextMessage: {
|
|
540
|
+
* // value: "STRING_VALUE", // required
|
|
541
|
+
* // },
|
|
542
|
+
* // customPayload: {
|
|
543
|
+
* // value: "STRING_VALUE", // required
|
|
544
|
+
* // },
|
|
545
|
+
* // ssmlMessage: {
|
|
546
|
+
* // value: "STRING_VALUE", // required
|
|
547
|
+
* // },
|
|
548
|
+
* // imageResponseCard: {
|
|
549
|
+
* // title: "STRING_VALUE", // required
|
|
550
|
+
* // subtitle: "STRING_VALUE",
|
|
551
|
+
* // imageUrl: "STRING_VALUE",
|
|
552
|
+
* // buttons: [
|
|
553
|
+
* // {
|
|
554
|
+
* // text: "STRING_VALUE", // required
|
|
555
|
+
* // value: "STRING_VALUE", // required
|
|
556
|
+
* // },
|
|
557
|
+
* // ],
|
|
558
|
+
* // },
|
|
559
|
+
* // },
|
|
560
|
+
* // variations: [
|
|
561
|
+
* // "<Message>",
|
|
562
|
+
* // ],
|
|
563
|
+
* // },
|
|
564
|
+
* // ],
|
|
565
|
+
* // allowInterrupt: true || false,
|
|
566
|
+
* // },
|
|
567
|
+
* // continueResponse: {
|
|
568
|
+
* // messageGroups: [ // required
|
|
569
|
+
* // {
|
|
570
|
+
* // message: "<Message>", // required
|
|
571
|
+
* // variations: [
|
|
572
|
+
* // "<Message>",
|
|
573
|
+
* // ],
|
|
574
|
+
* // },
|
|
575
|
+
* // ],
|
|
576
|
+
* // allowInterrupt: true || false,
|
|
577
|
+
* // },
|
|
578
|
+
* // stillWaitingResponse: { // StillWaitingResponseSpecification
|
|
579
|
+
* // messageGroups: [ // required
|
|
580
|
+
* // {
|
|
581
|
+
* // message: "<Message>", // required
|
|
582
|
+
* // variations: [
|
|
583
|
+
* // "<Message>",
|
|
584
|
+
* // ],
|
|
585
|
+
* // },
|
|
586
|
+
* // ],
|
|
587
|
+
* // frequencyInSeconds: Number("int"), // required
|
|
588
|
+
* // timeoutInSeconds: Number("int"), // required
|
|
589
|
+
* // allowInterrupt: true || false,
|
|
590
|
+
* // },
|
|
591
|
+
* // active: true || false,
|
|
592
|
+
* // },
|
|
593
|
+
* // slotCaptureSetting: { // SlotCaptureSetting
|
|
594
|
+
* // captureResponse: {
|
|
595
|
+
* // messageGroups: [ // required
|
|
596
|
+
* // {
|
|
597
|
+
* // message: "<Message>", // required
|
|
598
|
+
* // variations: [
|
|
599
|
+
* // "<Message>",
|
|
600
|
+
* // ],
|
|
601
|
+
* // },
|
|
602
|
+
* // ],
|
|
603
|
+
* // allowInterrupt: true || false,
|
|
604
|
+
* // },
|
|
605
|
+
* // captureNextStep: { // DialogState
|
|
606
|
+
* // dialogAction: { // DialogAction
|
|
607
|
+
* // type: "ElicitIntent" || "StartIntent" || "ElicitSlot" || "EvaluateConditional" || "InvokeDialogCodeHook" || "ConfirmIntent" || "FulfillIntent" || "CloseIntent" || "EndConversation", // required
|
|
608
|
+
* // slotToElicit: "STRING_VALUE",
|
|
609
|
+
* // suppressNextMessage: true || false,
|
|
610
|
+
* // },
|
|
611
|
+
* // intent: { // IntentOverride
|
|
612
|
+
* // name: "STRING_VALUE",
|
|
613
|
+
* // slots: { // SlotValueOverrideMap
|
|
614
|
+
* // "<keys>": { // SlotValueOverride
|
|
615
|
+
* // shape: "Scalar" || "List",
|
|
616
|
+
* // value: { // SlotValue
|
|
617
|
+
* // interpretedValue: "STRING_VALUE",
|
|
618
|
+
* // },
|
|
619
|
+
* // values: [ // SlotValues
|
|
620
|
+
* // {
|
|
621
|
+
* // shape: "Scalar" || "List",
|
|
622
|
+
* // value: {
|
|
623
|
+
* // interpretedValue: "STRING_VALUE",
|
|
624
|
+
* // },
|
|
625
|
+
* // values: [
|
|
626
|
+
* // "<SlotValueOverride>",
|
|
627
|
+
* // ],
|
|
628
|
+
* // },
|
|
629
|
+
* // ],
|
|
630
|
+
* // },
|
|
631
|
+
* // },
|
|
632
|
+
* // },
|
|
633
|
+
* // sessionAttributes: { // StringMap
|
|
634
|
+
* // "<keys>": "STRING_VALUE",
|
|
635
|
+
* // },
|
|
636
|
+
* // },
|
|
637
|
+
* // captureConditional: { // ConditionalSpecification
|
|
638
|
+
* // active: true || false, // required
|
|
639
|
+
* // conditionalBranches: [ // ConditionalBranches // required
|
|
640
|
+
* // { // ConditionalBranch
|
|
641
|
+
* // name: "STRING_VALUE", // required
|
|
642
|
+
* // condition: { // Condition
|
|
643
|
+
* // expressionString: "STRING_VALUE", // required
|
|
644
|
+
* // },
|
|
645
|
+
* // nextStep: {
|
|
646
|
+
* // dialogAction: {
|
|
647
|
+
* // type: "ElicitIntent" || "StartIntent" || "ElicitSlot" || "EvaluateConditional" || "InvokeDialogCodeHook" || "ConfirmIntent" || "FulfillIntent" || "CloseIntent" || "EndConversation", // required
|
|
648
|
+
* // slotToElicit: "STRING_VALUE",
|
|
649
|
+
* // suppressNextMessage: true || false,
|
|
650
|
+
* // },
|
|
651
|
+
* // intent: {
|
|
652
|
+
* // name: "STRING_VALUE",
|
|
653
|
+
* // slots: {
|
|
654
|
+
* // "<keys>": "<SlotValueOverride>",
|
|
655
|
+
* // },
|
|
656
|
+
* // },
|
|
657
|
+
* // sessionAttributes: {
|
|
658
|
+
* // "<keys>": "STRING_VALUE",
|
|
659
|
+
* // },
|
|
660
|
+
* // },
|
|
661
|
+
* // response: {
|
|
662
|
+
* // messageGroups: "<MessageGroupsList>", // required
|
|
663
|
+
* // allowInterrupt: true || false,
|
|
664
|
+
* // },
|
|
665
|
+
* // },
|
|
666
|
+
* // ],
|
|
667
|
+
* // defaultBranch: { // DefaultConditionalBranch
|
|
668
|
+
* // nextStep: "<DialogState>",
|
|
669
|
+
* // response: "<ResponseSpecification>",
|
|
670
|
+
* // },
|
|
671
|
+
* // },
|
|
672
|
+
* // failureResponse: "<ResponseSpecification>",
|
|
673
|
+
* // failureNextStep: "<DialogState>",
|
|
674
|
+
* // failureConditional: {
|
|
675
|
+
* // active: true || false, // required
|
|
676
|
+
* // conditionalBranches: [ // required
|
|
677
|
+
* // {
|
|
678
|
+
* // name: "STRING_VALUE", // required
|
|
679
|
+
* // condition: {
|
|
680
|
+
* // expressionString: "STRING_VALUE", // required
|
|
681
|
+
* // },
|
|
682
|
+
* // nextStep: "<DialogState>", // required
|
|
683
|
+
* // response: "<ResponseSpecification>",
|
|
684
|
+
* // },
|
|
685
|
+
* // ],
|
|
686
|
+
* // defaultBranch: {
|
|
687
|
+
* // nextStep: "<DialogState>",
|
|
688
|
+
* // response: "<ResponseSpecification>",
|
|
689
|
+
* // },
|
|
690
|
+
* // },
|
|
691
|
+
* // codeHook: { // DialogCodeHookInvocationSetting
|
|
692
|
+
* // enableCodeHookInvocation: true || false, // required
|
|
693
|
+
* // active: true || false, // required
|
|
694
|
+
* // invocationLabel: "STRING_VALUE",
|
|
695
|
+
* // postCodeHookSpecification: { // PostDialogCodeHookInvocationSpecification
|
|
696
|
+
* // successResponse: "<ResponseSpecification>",
|
|
697
|
+
* // successNextStep: "<DialogState>",
|
|
698
|
+
* // successConditional: {
|
|
699
|
+
* // active: true || false, // required
|
|
700
|
+
* // conditionalBranches: [ // required
|
|
701
|
+
* // {
|
|
702
|
+
* // name: "STRING_VALUE", // required
|
|
703
|
+
* // condition: {
|
|
704
|
+
* // expressionString: "STRING_VALUE", // required
|
|
705
|
+
* // },
|
|
706
|
+
* // nextStep: "<DialogState>", // required
|
|
707
|
+
* // response: "<ResponseSpecification>",
|
|
708
|
+
* // },
|
|
709
|
+
* // ],
|
|
710
|
+
* // defaultBranch: {
|
|
711
|
+
* // nextStep: "<DialogState>",
|
|
712
|
+
* // response: "<ResponseSpecification>",
|
|
713
|
+
* // },
|
|
714
|
+
* // },
|
|
715
|
+
* // failureResponse: "<ResponseSpecification>",
|
|
716
|
+
* // failureNextStep: "<DialogState>",
|
|
717
|
+
* // failureConditional: {
|
|
718
|
+
* // active: true || false, // required
|
|
719
|
+
* // conditionalBranches: [ // required
|
|
720
|
+
* // {
|
|
721
|
+
* // name: "STRING_VALUE", // required
|
|
722
|
+
* // condition: {
|
|
723
|
+
* // expressionString: "STRING_VALUE", // required
|
|
724
|
+
* // },
|
|
725
|
+
* // nextStep: "<DialogState>", // required
|
|
726
|
+
* // response: "<ResponseSpecification>",
|
|
727
|
+
* // },
|
|
728
|
+
* // ],
|
|
729
|
+
* // defaultBranch: {
|
|
730
|
+
* // nextStep: "<DialogState>",
|
|
731
|
+
* // response: "<ResponseSpecification>",
|
|
732
|
+
* // },
|
|
733
|
+
* // },
|
|
734
|
+
* // timeoutResponse: "<ResponseSpecification>",
|
|
735
|
+
* // timeoutNextStep: "<DialogState>",
|
|
736
|
+
* // timeoutConditional: {
|
|
737
|
+
* // active: true || false, // required
|
|
738
|
+
* // conditionalBranches: [ // required
|
|
739
|
+
* // {
|
|
740
|
+
* // name: "STRING_VALUE", // required
|
|
741
|
+
* // condition: {
|
|
742
|
+
* // expressionString: "STRING_VALUE", // required
|
|
743
|
+
* // },
|
|
744
|
+
* // nextStep: "<DialogState>", // required
|
|
745
|
+
* // response: "<ResponseSpecification>",
|
|
746
|
+
* // },
|
|
747
|
+
* // ],
|
|
748
|
+
* // defaultBranch: {
|
|
749
|
+
* // nextStep: "<DialogState>",
|
|
750
|
+
* // response: "<ResponseSpecification>",
|
|
751
|
+
* // },
|
|
752
|
+
* // },
|
|
753
|
+
* // },
|
|
754
|
+
* // },
|
|
755
|
+
* // elicitationCodeHook: { // ElicitationCodeHookInvocationSetting
|
|
756
|
+
* // enableCodeHookInvocation: true || false, // required
|
|
757
|
+
* // invocationLabel: "STRING_VALUE",
|
|
758
|
+
* // },
|
|
759
|
+
* // },
|
|
760
|
+
* // },
|
|
761
|
+
* // obfuscationSetting: { // ObfuscationSetting
|
|
762
|
+
* // obfuscationSettingType: "None" || "DefaultObfuscation", // required
|
|
763
|
+
* // },
|
|
764
|
+
* // botId: "STRING_VALUE",
|
|
765
|
+
* // botVersion: "STRING_VALUE",
|
|
766
|
+
* // localeId: "STRING_VALUE",
|
|
767
|
+
* // intentId: "STRING_VALUE",
|
|
768
|
+
* // creationDateTime: new Date("TIMESTAMP"),
|
|
769
|
+
* // multipleValuesSetting: { // MultipleValuesSetting
|
|
770
|
+
* // allowMultipleValues: true || false,
|
|
771
|
+
* // },
|
|
772
|
+
* // subSlotSetting: { // SubSlotSetting
|
|
773
|
+
* // expression: "STRING_VALUE",
|
|
774
|
+
* // slotSpecifications: { // SubSlotSpecificationMap
|
|
775
|
+
* // "<keys>": { // Specifications
|
|
776
|
+
* // slotTypeId: "STRING_VALUE", // required
|
|
777
|
+
* // valueElicitationSetting: { // SubSlotValueElicitationSetting
|
|
778
|
+
* // defaultValueSpecification: {
|
|
779
|
+
* // defaultValueList: [ // required
|
|
780
|
+
* // {
|
|
781
|
+
* // defaultValue: "STRING_VALUE", // required
|
|
782
|
+
* // },
|
|
783
|
+
* // ],
|
|
784
|
+
* // },
|
|
785
|
+
* // promptSpecification: {
|
|
786
|
+
* // messageGroups: "<MessageGroupsList>", // required
|
|
787
|
+
* // maxRetries: Number("int"), // required
|
|
788
|
+
* // allowInterrupt: true || false,
|
|
789
|
+
* // messageSelectionStrategy: "Random" || "Ordered",
|
|
790
|
+
* // promptAttemptsSpecification: {
|
|
791
|
+
* // "<keys>": {
|
|
792
|
+
* // allowInterrupt: true || false,
|
|
793
|
+
* // allowedInputTypes: {
|
|
794
|
+
* // allowAudioInput: true || false, // required
|
|
795
|
+
* // allowDTMFInput: true || false, // required
|
|
796
|
+
* // },
|
|
797
|
+
* // audioAndDTMFInputSpecification: {
|
|
798
|
+
* // startTimeoutMs: Number("int"), // required
|
|
799
|
+
* // audioSpecification: {
|
|
800
|
+
* // maxLengthMs: Number("int"), // required
|
|
801
|
+
* // endTimeoutMs: Number("int"), // required
|
|
802
|
+
* // },
|
|
803
|
+
* // dtmfSpecification: {
|
|
804
|
+
* // maxLength: Number("int"), // required
|
|
805
|
+
* // endTimeoutMs: Number("int"), // required
|
|
806
|
+
* // deletionCharacter: "STRING_VALUE", // required
|
|
807
|
+
* // endCharacter: "STRING_VALUE", // required
|
|
808
|
+
* // },
|
|
809
|
+
* // },
|
|
810
|
+
* // textInputSpecification: {
|
|
811
|
+
* // startTimeoutMs: Number("int"), // required
|
|
812
|
+
* // },
|
|
813
|
+
* // },
|
|
814
|
+
* // },
|
|
815
|
+
* // },
|
|
816
|
+
* // sampleUtterances: [
|
|
817
|
+
* // {
|
|
818
|
+
* // utterance: "STRING_VALUE", // required
|
|
819
|
+
* // },
|
|
820
|
+
* // ],
|
|
821
|
+
* // waitAndContinueSpecification: {
|
|
822
|
+
* // waitingResponse: "<ResponseSpecification>", // required
|
|
823
|
+
* // continueResponse: "<ResponseSpecification>", // required
|
|
824
|
+
* // stillWaitingResponse: {
|
|
825
|
+
* // messageGroups: "<MessageGroupsList>", // required
|
|
826
|
+
* // frequencyInSeconds: Number("int"), // required
|
|
827
|
+
* // timeoutInSeconds: Number("int"), // required
|
|
828
|
+
* // allowInterrupt: true || false,
|
|
829
|
+
* // },
|
|
830
|
+
* // active: true || false,
|
|
831
|
+
* // },
|
|
832
|
+
* // },
|
|
833
|
+
* // },
|
|
834
|
+
* // },
|
|
835
|
+
* // },
|
|
836
|
+
* // };
|
|
837
|
+
*
|
|
435
838
|
* ```
|
|
436
839
|
*
|
|
437
840
|
* @param CreateSlotCommandInput - {@link CreateSlotCommandInput}
|
|
@@ -465,6 +868,8 @@ export interface CreateSlotCommandOutput extends CreateSlotResponse, __MetadataB
|
|
|
465
868
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
466
869
|
* parameters and try your request again.</p>
|
|
467
870
|
*
|
|
871
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
872
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
468
873
|
*
|
|
469
874
|
*/
|
|
470
875
|
export declare class CreateSlotCommand extends $Command<CreateSlotCommandInput, CreateSlotCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -77,6 +77,55 @@ export interface CreateSlotTypeCommandOutput extends CreateSlotTypeResponse, __M
|
|
|
77
77
|
* };
|
|
78
78
|
* const command = new CreateSlotTypeCommand(input);
|
|
79
79
|
* const response = await client.send(command);
|
|
80
|
+
* // { // CreateSlotTypeResponse
|
|
81
|
+
* // slotTypeId: "STRING_VALUE",
|
|
82
|
+
* // slotTypeName: "STRING_VALUE",
|
|
83
|
+
* // description: "STRING_VALUE",
|
|
84
|
+
* // slotTypeValues: [ // SlotTypeValues
|
|
85
|
+
* // { // SlotTypeValue
|
|
86
|
+
* // sampleValue: { // SampleValue
|
|
87
|
+
* // value: "STRING_VALUE", // required
|
|
88
|
+
* // },
|
|
89
|
+
* // synonyms: [ // SynonymList
|
|
90
|
+
* // {
|
|
91
|
+
* // value: "STRING_VALUE", // required
|
|
92
|
+
* // },
|
|
93
|
+
* // ],
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // valueSelectionSetting: { // SlotValueSelectionSetting
|
|
97
|
+
* // resolutionStrategy: "OriginalValue" || "TopResolution" || "Concatenation", // required
|
|
98
|
+
* // regexFilter: { // SlotValueRegexFilter
|
|
99
|
+
* // pattern: "STRING_VALUE", // required
|
|
100
|
+
* // },
|
|
101
|
+
* // advancedRecognitionSetting: { // AdvancedRecognitionSetting
|
|
102
|
+
* // audioRecognitionStrategy: "UseSlotValuesAsCustomVocabulary",
|
|
103
|
+
* // },
|
|
104
|
+
* // },
|
|
105
|
+
* // parentSlotTypeSignature: "STRING_VALUE",
|
|
106
|
+
* // botId: "STRING_VALUE",
|
|
107
|
+
* // botVersion: "STRING_VALUE",
|
|
108
|
+
* // localeId: "STRING_VALUE",
|
|
109
|
+
* // creationDateTime: new Date("TIMESTAMP"),
|
|
110
|
+
* // externalSourceSetting: { // ExternalSourceSetting
|
|
111
|
+
* // grammarSlotTypeSetting: { // GrammarSlotTypeSetting
|
|
112
|
+
* // source: { // GrammarSlotTypeSource
|
|
113
|
+
* // s3BucketName: "STRING_VALUE", // required
|
|
114
|
+
* // s3ObjectKey: "STRING_VALUE", // required
|
|
115
|
+
* // kmsKeyArn: "STRING_VALUE",
|
|
116
|
+
* // },
|
|
117
|
+
* // },
|
|
118
|
+
* // },
|
|
119
|
+
* // compositeSlotTypeSetting: { // CompositeSlotTypeSetting
|
|
120
|
+
* // subSlots: [ // SubSlotTypeList
|
|
121
|
+
* // { // SubSlotTypeComposition
|
|
122
|
+
* // name: "STRING_VALUE", // required
|
|
123
|
+
* // slotTypeId: "STRING_VALUE", // required
|
|
124
|
+
* // },
|
|
125
|
+
* // ],
|
|
126
|
+
* // },
|
|
127
|
+
* // };
|
|
128
|
+
*
|
|
80
129
|
* ```
|
|
81
130
|
*
|
|
82
131
|
* @param CreateSlotTypeCommandInput - {@link CreateSlotTypeCommandInput}
|
|
@@ -110,6 +159,8 @@ export interface CreateSlotTypeCommandOutput extends CreateSlotTypeResponse, __M
|
|
|
110
159
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
111
160
|
* parameters and try your request again.</p>
|
|
112
161
|
*
|
|
162
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
163
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
113
164
|
*
|
|
114
165
|
*/
|
|
115
166
|
export declare class CreateSlotTypeCommand extends $Command<CreateSlotTypeCommandInput, CreateSlotTypeCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -30,6 +30,11 @@ export interface CreateUploadUrlCommandOutput extends CreateUploadUrlResponse, _
|
|
|
30
30
|
* const input = {};
|
|
31
31
|
* const command = new CreateUploadUrlCommand(input);
|
|
32
32
|
* const response = await client.send(command);
|
|
33
|
+
* // { // CreateUploadUrlResponse
|
|
34
|
+
* // importId: "STRING_VALUE",
|
|
35
|
+
* // uploadUrl: "STRING_VALUE",
|
|
36
|
+
* // };
|
|
37
|
+
*
|
|
33
38
|
* ```
|
|
34
39
|
*
|
|
35
40
|
* @param CreateUploadUrlCommandInput - {@link CreateUploadUrlCommandInput}
|
|
@@ -59,6 +64,8 @@ export interface CreateUploadUrlCommandOutput extends CreateUploadUrlResponse, _
|
|
|
59
64
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
60
65
|
* parameters and try your request again.</p>
|
|
61
66
|
*
|
|
67
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
62
69
|
*
|
|
63
70
|
*/
|
|
64
71
|
export declare class CreateUploadUrlCommand extends $Command<CreateUploadUrlCommandInput, CreateUploadUrlCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -33,6 +33,12 @@ export interface DeleteBotAliasCommandOutput extends DeleteBotAliasResponse, __M
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DeleteBotAliasCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // DeleteBotAliasResponse
|
|
37
|
+
* // botAliasId: "STRING_VALUE",
|
|
38
|
+
* // botId: "STRING_VALUE",
|
|
39
|
+
* // botAliasStatus: "Creating" || "Available" || "Deleting" || "Failed",
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
36
42
|
* ```
|
|
37
43
|
*
|
|
38
44
|
* @param DeleteBotAliasCommandInput - {@link DeleteBotAliasCommandInput}
|
|
@@ -66,6 +72,8 @@ export interface DeleteBotAliasCommandOutput extends DeleteBotAliasResponse, __M
|
|
|
66
72
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
67
73
|
* parameters and try your request again.</p>
|
|
68
74
|
*
|
|
75
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
69
77
|
*
|
|
70
78
|
*/
|
|
71
79
|
export declare class DeleteBotAliasCommand extends $Command<DeleteBotAliasCommandInput, DeleteBotAliasCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -41,6 +41,11 @@ export interface DeleteBotCommandOutput extends DeleteBotResponse, __MetadataBea
|
|
|
41
41
|
* };
|
|
42
42
|
* const command = new DeleteBotCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
|
+
* // { // DeleteBotResponse
|
|
45
|
+
* // botId: "STRING_VALUE",
|
|
46
|
+
* // botStatus: "Creating" || "Available" || "Inactive" || "Deleting" || "Failed" || "Versioning" || "Importing" || "Updating",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
44
49
|
* ```
|
|
45
50
|
*
|
|
46
51
|
* @param DeleteBotCommandInput - {@link DeleteBotCommandInput}
|
|
@@ -74,6 +79,8 @@ export interface DeleteBotCommandOutput extends DeleteBotResponse, __MetadataBea
|
|
|
74
79
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
75
80
|
* parameters and try your request again.</p>
|
|
76
81
|
*
|
|
82
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
77
84
|
*
|
|
78
85
|
*/
|
|
79
86
|
export declare class DeleteBotCommand extends $Command<DeleteBotCommandInput, DeleteBotCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -35,6 +35,13 @@ export interface DeleteBotLocaleCommandOutput extends DeleteBotLocaleResponse, _
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new DeleteBotLocaleCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // DeleteBotLocaleResponse
|
|
39
|
+
* // botId: "STRING_VALUE",
|
|
40
|
+
* // botVersion: "STRING_VALUE",
|
|
41
|
+
* // localeId: "STRING_VALUE",
|
|
42
|
+
* // botLocaleStatus: "Creating" || "Building" || "Built" || "ReadyExpressTesting" || "Failed" || "Deleting" || "NotBuilt" || "Importing" || "Processing",
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
38
45
|
* ```
|
|
39
46
|
*
|
|
40
47
|
* @param DeleteBotLocaleCommandInput - {@link DeleteBotLocaleCommandInput}
|
|
@@ -68,6 +75,8 @@ export interface DeleteBotLocaleCommandOutput extends DeleteBotLocaleResponse, _
|
|
|
68
75
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
69
76
|
* parameters and try your request again.</p>
|
|
70
77
|
*
|
|
78
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
71
80
|
*
|
|
72
81
|
*/
|
|
73
82
|
export declare class DeleteBotLocaleCommand extends $Command<DeleteBotLocaleCommandInput, DeleteBotLocaleCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -34,6 +34,12 @@ export interface DeleteBotVersionCommandOutput extends DeleteBotVersionResponse,
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DeleteBotVersionCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // DeleteBotVersionResponse
|
|
38
|
+
* // botId: "STRING_VALUE",
|
|
39
|
+
* // botVersion: "STRING_VALUE",
|
|
40
|
+
* // botStatus: "Creating" || "Available" || "Inactive" || "Deleting" || "Failed" || "Versioning" || "Importing" || "Updating",
|
|
41
|
+
* // };
|
|
42
|
+
*
|
|
37
43
|
* ```
|
|
38
44
|
*
|
|
39
45
|
* @param DeleteBotVersionCommandInput - {@link DeleteBotVersionCommandInput}
|
|
@@ -67,6 +73,8 @@ export interface DeleteBotVersionCommandOutput extends DeleteBotVersionResponse,
|
|
|
67
73
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
68
74
|
* parameters and try your request again.</p>
|
|
69
75
|
*
|
|
76
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
70
78
|
*
|
|
71
79
|
*/
|
|
72
80
|
export declare class DeleteBotVersionCommand extends $Command<DeleteBotVersionCommandInput, DeleteBotVersionCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -34,6 +34,13 @@ export interface DeleteCustomVocabularyCommandOutput extends DeleteCustomVocabul
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DeleteCustomVocabularyCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // DeleteCustomVocabularyResponse
|
|
38
|
+
* // botId: "STRING_VALUE",
|
|
39
|
+
* // botVersion: "STRING_VALUE",
|
|
40
|
+
* // localeId: "STRING_VALUE",
|
|
41
|
+
* // customVocabularyStatus: "Ready" || "Deleting" || "Exporting" || "Importing" || "Creating",
|
|
42
|
+
* // };
|
|
43
|
+
*
|
|
37
44
|
* ```
|
|
38
45
|
*
|
|
39
46
|
* @param DeleteCustomVocabularyCommandInput - {@link DeleteCustomVocabularyCommandInput}
|
|
@@ -67,6 +74,8 @@ export interface DeleteCustomVocabularyCommandOutput extends DeleteCustomVocabul
|
|
|
67
74
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
68
75
|
* parameters and try your request again.</p>
|
|
69
76
|
*
|
|
77
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
70
79
|
*
|
|
71
80
|
*/
|
|
72
81
|
export declare class DeleteCustomVocabularyCommand extends $Command<DeleteCustomVocabularyCommandInput, DeleteCustomVocabularyCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -32,6 +32,11 @@ export interface DeleteExportCommandOutput extends DeleteExportResponse, __Metad
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteExportCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // DeleteExportResponse
|
|
36
|
+
* // exportId: "STRING_VALUE",
|
|
37
|
+
* // exportStatus: "InProgress" || "Completed" || "Failed" || "Deleting",
|
|
38
|
+
* // };
|
|
39
|
+
*
|
|
35
40
|
* ```
|
|
36
41
|
*
|
|
37
42
|
* @param DeleteExportCommandInput - {@link DeleteExportCommandInput}
|
|
@@ -60,6 +65,8 @@ export interface DeleteExportCommandOutput extends DeleteExportResponse, __Metad
|
|
|
60
65
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
61
66
|
* parameters and try your request again.</p>
|
|
62
67
|
*
|
|
68
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
63
70
|
*
|
|
64
71
|
*/
|
|
65
72
|
export declare class DeleteExportCommand extends $Command<DeleteExportCommandInput, DeleteExportCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -32,6 +32,11 @@ export interface DeleteImportCommandOutput extends DeleteImportResponse, __Metad
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteImportCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // DeleteImportResponse
|
|
36
|
+
* // importId: "STRING_VALUE",
|
|
37
|
+
* // importStatus: "InProgress" || "Completed" || "Failed" || "Deleting",
|
|
38
|
+
* // };
|
|
39
|
+
*
|
|
35
40
|
* ```
|
|
36
41
|
*
|
|
37
42
|
* @param DeleteImportCommandInput - {@link DeleteImportCommandInput}
|
|
@@ -60,6 +65,8 @@ export interface DeleteImportCommandOutput extends DeleteImportResponse, __Metad
|
|
|
60
65
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
61
66
|
* parameters and try your request again.</p>
|
|
62
67
|
*
|
|
68
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
63
70
|
*
|
|
64
71
|
*/
|
|
65
72
|
export declare class DeleteImportCommand extends $Command<DeleteImportCommandInput, DeleteImportCommandOutput, LexModelsV2ClientResolvedConfig> {
|