@awboost/cfntypes 0.100.166 → 0.100.167

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.
@@ -68595,6 +68595,11 @@ export type EventsApiDestinationAttributes = {
68595
68595
  * @pattern `^arn:aws([a-z]|\-)*:events:([a-z]|\d|\-)*:([0-9]{12})?:api-destination/[\.\-_A-Za-z0-9]+/[\-A-Za-z0-9]+$`
68596
68596
  */
68597
68597
  Arn: string;
68598
+ /**
68599
+ * The arn of the api destination to be used in IAM policies.
68600
+ * @pattern `^arn:aws([a-z]|\-)*:events:([a-z]|\d|\-)*:([0-9]{12})?:api-destination/[\.\-_A-Za-z0-9]+$`
68601
+ */
68602
+ ArnForPolicy: string;
68598
68603
  };
68599
68604
  /**
68600
68605
  * Resource Type definition for AWS::Events::Archive
@@ -68609,6 +68614,11 @@ export type EventsArchiveProps = {
68609
68614
  ArchiveName?: string;
68610
68615
  Description?: string;
68611
68616
  EventPattern?: Record<string, any>;
68617
+ /**
68618
+ * @minLength `0`
68619
+ * @maxLength `2048`
68620
+ */
68621
+ KmsKeyIdentifier?: string;
68612
68622
  RetentionDays?: number;
68613
68623
  SourceArn: string;
68614
68624
  };
@@ -68658,6 +68668,11 @@ export type EventsConnectionAttributes = {
68658
68668
  * @pattern `^arn:aws([a-z]|\-)*:events:([a-z]|\d|\-)*:([0-9]{12})?:connection\/[\.\-_A-Za-z0-9]+\/[\-A-Za-z0-9]+$`
68659
68669
  */
68660
68670
  Arn: string;
68671
+ /**
68672
+ * The arn of the connection resource to be used in IAM policies.
68673
+ * @pattern `^arn:aws([a-z]|\-)*:events:([a-z]|\d|\-)*:([0-9]{12})?:connection\/[\.\-_A-Za-z0-9]+$`
68674
+ */
68675
+ ArnForPolicy: string;
68661
68676
  AuthParameters: {
68662
68677
  ConnectivityParameters: {
68663
68678
  ResourceParameters: {
@@ -99542,26 +99557,13 @@ export type LaunchWizardDeploymentTags = {
99542
99557
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-bot.html}
99543
99558
  */
99544
99559
  export type LexBotProps = {
99545
- /**
99546
- * Specifies whether to build the bot locales after bot creation completes.
99547
- */
99548
99560
  AutoBuildBotLocales?: boolean;
99549
- /**
99550
- * S3 location of bot definitions zip file, if it's not defined inline in CloudFormation.
99551
- */
99552
99561
  BotFileS3Location?: LexBotS3Location;
99553
- /**
99554
- * List of bot locales
99555
- */
99556
99562
  BotLocales?: LexBotBotLocale[];
99557
99563
  /**
99558
- * A list of tags to add to the bot, which can only be added at bot creation.
99559
99564
  * @maxLength `200`
99560
99565
  */
99561
99566
  BotTags?: LexBotTag[];
99562
- /**
99563
- * Data privacy setting of the Bot.
99564
- */
99565
99567
  DataPrivacy: {
99566
99568
  ChildDirected: boolean;
99567
99569
  };
@@ -99571,35 +99573,25 @@ export type LexBotProps = {
99571
99573
  */
99572
99574
  Description?: string;
99573
99575
  /**
99574
- * IdleSessionTTLInSeconds of the resource
99575
99576
  * @min `60`
99576
99577
  * @max `86400`
99577
99578
  */
99578
99579
  IdleSessionTTLInSeconds: number;
99579
99580
  /**
99580
- * Unique name for a resource.
99581
99581
  * @minLength `1`
99582
99582
  * @maxLength `100`
99583
99583
  * @pattern `^([0-9a-zA-Z][_-]?)+$`
99584
99584
  */
99585
99585
  Name: string;
99586
- /**
99587
- * Parameter used to create a replication of the source bot in the secondary region.
99588
- */
99589
99586
  Replication?: LexBotReplication;
99590
99587
  /**
99591
- * The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.
99592
99588
  * @minLength `32`
99593
99589
  * @maxLength `2048`
99594
99590
  * @pattern `^arn:aws[a-zA-Z-]*:iam::[0-9]{12}:role/.*$`
99595
99591
  */
99596
99592
  RoleArn: string;
99597
- /**
99598
- * Configuring the test bot alias settings for a given bot
99599
- */
99600
99593
  TestBotAliasSettings?: LexBotTestBotAliasSettings;
99601
99594
  /**
99602
- * A list of tags to add to the test alias for a bot, , which can only be added at bot/bot alias creation.
99603
99595
  * @maxLength `200`
99604
99596
  */
99605
99597
  TestBotAliasTags?: LexBotTag[];
@@ -99616,7 +99608,6 @@ export type LexBotAttributes = {
99616
99608
  */
99617
99609
  Arn: string;
99618
99610
  /**
99619
- * Unique ID of resource
99620
99611
  * @minLength `10`
99621
99612
  * @maxLength `10`
99622
99613
  * @pattern `^[0-9a-zA-Z]+$`
@@ -99625,131 +99616,115 @@ export type LexBotAttributes = {
99625
99616
  };
99626
99617
  /**
99627
99618
  * Type definition for `AWS::Lex::Bot.AdvancedRecognitionSetting`.
99628
- * Provides settings that enable advanced recognition settings for slot values.
99629
99619
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-advancedrecognitionsetting.html}
99630
99620
  */
99631
99621
  export type LexBotAdvancedRecognitionSetting = {
99632
- /**
99633
- * Enables using slot values as a custom vocabulary when recognizing user utterances.
99634
- */
99635
99622
  AudioRecognitionStrategy?: LexBotAudioRecognitionStrategy;
99636
99623
  };
99637
99624
  /**
99638
99625
  * Type definition for `AWS::Lex::Bot.AllowedInputTypes`.
99639
- * Specifies the allowed input types.
99640
99626
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-allowedinputtypes.html}
99641
99627
  */
99642
99628
  export type LexBotAllowedInputTypes = {
99643
- /**
99644
- * Indicates whether audio input is allowed.
99645
- */
99646
99629
  AllowAudioInput: boolean;
99647
- /**
99648
- * Indicates whether DTMF input is allowed.
99649
- */
99650
99630
  AllowDTMFInput: boolean;
99651
99631
  };
99652
99632
  /**
99653
99633
  * Type definition for `AWS::Lex::Bot.AudioAndDTMFInputSpecification`.
99654
- * Specifies the audio and DTMF input specification.
99655
99634
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-audioanddtmfinputspecification.html}
99656
99635
  */
99657
99636
  export type LexBotAudioAndDTMFInputSpecification = {
99658
- /**
99659
- * Specifies the audio input specifications.
99660
- */
99661
99637
  AudioSpecification?: LexBotAudioSpecification;
99662
- /**
99663
- * Specifies the settings on DTMF input.
99664
- */
99665
99638
  DTMFSpecification?: LexBotDTMFSpecification;
99666
99639
  /**
99667
- * Time for which a bot waits before assuming that the customer isn't going to speak or press a key. This timeout is shared between Audio and DTMF inputs.
99668
99640
  * @min `1`
99669
99641
  */
99670
99642
  StartTimeoutMs: number;
99671
99643
  };
99672
99644
  /**
99673
99645
  * Type definition for `AWS::Lex::Bot.AudioLogDestination`.
99674
- * The location of audio log files collected when conversation logging is enabled for a bot.
99675
99646
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-audiologdestination.html}
99676
99647
  */
99677
99648
  export type LexBotAudioLogDestination = {
99678
- /**
99679
- * Specifies an Amazon S3 bucket for logging audio conversations
99680
- */
99681
99649
  S3Bucket: LexBotS3BucketLogDestination;
99682
99650
  };
99683
99651
  /**
99684
99652
  * Type definition for `AWS::Lex::Bot.AudioLogSetting`.
99685
- * Settings for logging audio of conversations between Amazon Lex and a user. You specify whether to log audio and the Amazon S3 bucket where the audio file is stored.
99686
99653
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-audiologsetting.html}
99687
99654
  */
99688
99655
  export type LexBotAudioLogSetting = {
99689
- /**
99690
- * The location of audio log files collected when conversation logging is enabled for a bot.
99691
- */
99692
99656
  Destination: LexBotAudioLogDestination;
99693
99657
  Enabled: boolean;
99694
99658
  };
99695
99659
  /**
99696
99660
  * Type definition for `AWS::Lex::Bot.AudioRecognitionStrategy`.
99697
- * Enables using slot values as a custom vocabulary when recognizing user utterances.
99698
99661
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-audiorecognitionstrategy.html}
99699
99662
  */
99700
99663
  export type LexBotAudioRecognitionStrategy = "UseSlotValuesAsCustomVocabulary";
99701
99664
  /**
99702
99665
  * Type definition for `AWS::Lex::Bot.AudioSpecification`.
99703
- * Specifies the audio input specifications.
99704
99666
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-audiospecification.html}
99705
99667
  */
99706
99668
  export type LexBotAudioSpecification = {
99707
99669
  /**
99708
- * Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
99709
99670
  * @min `1`
99710
99671
  */
99711
99672
  EndTimeoutMs: number;
99712
99673
  /**
99713
- * Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
99714
99674
  * @min `1`
99715
99675
  */
99716
99676
  MaxLengthMs: number;
99717
99677
  };
99678
+ /**
99679
+ * Type definition for `AWS::Lex::Bot.BedrockAgentIntentConfiguration`.
99680
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockagentintentconfiguration.html}
99681
+ */
99682
+ export type LexBotBedrockAgentIntentConfiguration = {
99683
+ BedrockAgentConfiguration?: {
99684
+ /**
99685
+ * @minLength `1`
99686
+ * @maxLength `5000`
99687
+ */
99688
+ BedrockAgentAliasId?: string;
99689
+ /**
99690
+ * @minLength `1`
99691
+ * @maxLength `5000`
99692
+ */
99693
+ BedrockAgentId?: string;
99694
+ };
99695
+ BedrockAgentIntentKnowledgeBaseConfiguration?: {
99696
+ /**
99697
+ * @minLength `1`
99698
+ * @maxLength `5000`
99699
+ */
99700
+ BedrockKnowledgeBaseArn: string;
99701
+ BedrockModelConfiguration: LexBotBedrockModelSpecification;
99702
+ };
99703
+ };
99718
99704
  /**
99719
99705
  * Type definition for `AWS::Lex::Bot.BedrockModelSpecification`.
99720
- * Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.
99721
99706
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-bedrockmodelspecification.html}
99722
99707
  */
99723
99708
  export type LexBotBedrockModelSpecification = {
99724
- /**
99725
- * The guardrail configuration in the Bedrock model specification details.
99726
- */
99727
99709
  BedrockGuardrailConfiguration?: {
99728
99710
  /**
99729
- * The unique guardrail id for the Bedrock guardrail configuration.
99730
99711
  * @minLength `1`
99731
99712
  * @maxLength `5000`
99732
99713
  */
99733
99714
  BedrockGuardrailIdentifier?: string;
99734
99715
  /**
99735
- * The guardrail version for the Bedrock guardrail configuration.
99736
99716
  * @minLength `1`
99737
99717
  * @maxLength `5000`
99738
99718
  */
99739
99719
  BedrockGuardrailVersion?: string;
99740
99720
  };
99741
99721
  /**
99742
- * The custom prompt used in the Bedrock model specification details.
99743
99722
  * @minLength `1`
99744
99723
  * @maxLength `5000`
99745
99724
  */
99746
99725
  BedrockModelCustomPrompt?: string;
99747
- /**
99748
- * The Bedrock trace status in the Bedrock model specification details.
99749
- */
99750
99726
  BedrockTraceStatus?: "ENABLED" | "DISABLED";
99751
99727
  /**
99752
- * The ARN of the foundation model used in descriptive bot building.
99753
99728
  * @minLength `1`
99754
99729
  * @maxLength `5000`
99755
99730
  */
@@ -99757,31 +99732,19 @@ export type LexBotBedrockModelSpecification = {
99757
99732
  };
99758
99733
  /**
99759
99734
  * Type definition for `AWS::Lex::Bot.BotAliasLocaleSettings`.
99760
- * You can use this parameter to specify a specific Lambda function to run different functions in different locales.
99761
99735
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-botaliaslocalesettings.html}
99762
99736
  */
99763
99737
  export type LexBotBotAliasLocaleSettings = {
99764
- /**
99765
- * Contains information about code hooks that Amazon Lex calls during a conversation.
99766
- */
99767
99738
  CodeHookSpecification?: LexBotCodeHookSpecification;
99768
- /**
99769
- * Whether the Lambda code hook is enabled
99770
- */
99771
99739
  Enabled: boolean;
99772
99740
  };
99773
99741
  /**
99774
99742
  * Type definition for `AWS::Lex::Bot.BotAliasLocaleSettingsItem`.
99775
- * A locale setting in alias
99776
99743
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-botaliaslocalesettingsitem.html}
99777
99744
  */
99778
99745
  export type LexBotBotAliasLocaleSettingsItem = {
99779
- /**
99780
- * You can use this parameter to specify a specific Lambda function to run different functions in different locales.
99781
- */
99782
99746
  BotAliasLocaleSetting: LexBotBotAliasLocaleSettings;
99783
99747
  /**
99784
- * A string used to identify the locale
99785
99748
  * @minLength `1`
99786
99749
  * @maxLength `128`
99787
99750
  */
@@ -99789,13 +99752,9 @@ export type LexBotBotAliasLocaleSettingsItem = {
99789
99752
  };
99790
99753
  /**
99791
99754
  * Type definition for `AWS::Lex::Bot.BotLocale`.
99792
- * A locale in the bot, which contains the intents and slot types that the bot uses in conversations with users in the specified language and locale.
99793
99755
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-botlocale.html}
99794
99756
  */
99795
99757
  export type LexBotBotLocale = {
99796
- /**
99797
- * A custom vocabulary is a list of specific phrases that you want Amazon Lex V2 to recognize in the audio input.
99798
- */
99799
99758
  CustomVocabulary?: LexBotCustomVocabulary;
99800
99759
  /**
99801
99760
  * A description of the resource
@@ -99803,44 +99762,32 @@ export type LexBotBotLocale = {
99803
99762
  */
99804
99763
  Description?: string;
99805
99764
  /**
99806
- * List of intents
99807
99765
  * @maxLength `1000`
99808
99766
  */
99809
99767
  Intents?: LexBotIntent[];
99810
- /**
99811
- * The identifier of the language and locale that the bot will be used in.
99812
- */
99813
99768
  LocaleId: string;
99814
99769
  /**
99815
- * The specified confidence threshold for inserting the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent intents and AMAZON.QnAIntent.
99816
99770
  * @min `0`
99817
99771
  * @max `1`
99818
99772
  */
99819
99773
  NluConfidenceThreshold: number;
99820
99774
  /**
99821
- * List of SlotTypes
99822
99775
  * @maxLength `250`
99823
99776
  */
99824
99777
  SlotTypes?: LexBotSlotType[];
99825
- /**
99826
- * Settings for using an Amazon Polly voice to communicate with a user.
99827
- */
99828
99778
  VoiceSettings?: LexBotVoiceSettings;
99829
99779
  };
99830
99780
  /**
99831
99781
  * Type definition for `AWS::Lex::Bot.Button`.
99832
- * A button to use on a response card used to gather slot values from a user.
99833
99782
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-button.html}
99834
99783
  */
99835
99784
  export type LexBotButton = {
99836
99785
  /**
99837
- * The text that appears on the button.
99838
99786
  * @minLength `1`
99839
99787
  * @maxLength `50`
99840
99788
  */
99841
99789
  Text: string;
99842
99790
  /**
99843
- * The value returned to Amazon Lex when the user chooses this button.
99844
99791
  * @minLength `1`
99845
99792
  * @maxLength `50`
99846
99793
  */
@@ -99852,13 +99799,11 @@ export type LexBotButton = {
99852
99799
  */
99853
99800
  export type LexBotCloudWatchLogGroupLogDestination = {
99854
99801
  /**
99855
- * A string used to identify the groupArn for the Cloudwatch Log Group
99856
99802
  * @minLength `1`
99857
99803
  * @maxLength `2048`
99858
99804
  */
99859
99805
  CloudWatchLogGroupArn: string;
99860
99806
  /**
99861
- * A string containing the value for the Log Prefix
99862
99807
  * @minLength `0`
99863
99808
  * @maxLength `1024`
99864
99809
  */
@@ -99866,23 +99811,28 @@ export type LexBotCloudWatchLogGroupLogDestination = {
99866
99811
  };
99867
99812
  /**
99868
99813
  * Type definition for `AWS::Lex::Bot.CodeHookSpecification`.
99869
- * Contains information about code hooks that Amazon Lex calls during a conversation.
99870
99814
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-codehookspecification.html}
99871
99815
  */
99872
99816
  export type LexBotCodeHookSpecification = {
99817
+ LambdaCodeHook: LexBotLambdaCodeHook;
99818
+ };
99819
+ /**
99820
+ * Type definition for `AWS::Lex::Bot.CompositeSlotTypeSetting`.
99821
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-compositeslottypesetting.html}
99822
+ */
99823
+ export type LexBotCompositeSlotTypeSetting = {
99873
99824
  /**
99874
- * Contains information about code hooks that Amazon Lex calls during a conversation.
99825
+ * @minLength `1`
99826
+ * @maxLength `6`
99875
99827
  */
99876
- LambdaCodeHook: LexBotLambdaCodeHook;
99828
+ SubSlots?: LexBotSubSlotTypeComposition[];
99877
99829
  };
99878
99830
  /**
99879
99831
  * Type definition for `AWS::Lex::Bot.Condition`.
99880
- * Provides an expression that evaluates to true or false.
99881
99832
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-condition.html}
99882
99833
  */
99883
99834
  export type LexBotCondition = {
99884
99835
  /**
99885
- * The expression string that is evaluated.
99886
99836
  * @minLength `1`
99887
99837
  * @maxLength `1024`
99888
99838
  */
@@ -99890,76 +99840,52 @@ export type LexBotCondition = {
99890
99840
  };
99891
99841
  /**
99892
99842
  * Type definition for `AWS::Lex::Bot.ConditionalBranch`.
99893
- * A set of actions that Amazon Lex should run if the condition is matched.
99894
99843
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-conditionalbranch.html}
99895
99844
  */
99896
99845
  export type LexBotConditionalBranch = {
99897
- /**
99898
- * Contains the expression to evaluate. If the condition is true, the branch's actions are taken.
99899
- */
99900
99846
  Condition: LexBotCondition;
99901
99847
  /**
99902
- * The name of the branch.
99903
99848
  * @minLength `1`
99904
99849
  * @maxLength `100`
99905
99850
  * @pattern `^([0-9a-zA-Z][_-]?)+$`
99906
99851
  */
99907
99852
  Name: string;
99908
- /**
99909
- * The next step in the conversation.
99910
- */
99911
99853
  NextStep: LexBotDialogState;
99912
- /**
99913
- * Specifies a list of message groups that Amazon Lex uses to respond the user input.
99914
- */
99915
99854
  Response?: LexBotResponseSpecification;
99916
99855
  };
99917
99856
  /**
99918
99857
  * Type definition for `AWS::Lex::Bot.ConditionalSpecification`.
99919
- * Provides a list of conditional branches. Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition.
99920
99858
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-conditionalspecification.html}
99921
99859
  */
99922
99860
  export type LexBotConditionalSpecification = {
99923
99861
  /**
99924
- * A list of conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true.
99925
99862
  * @minLength `1`
99926
99863
  * @maxLength `4`
99927
99864
  */
99928
99865
  ConditionalBranches: LexBotConditionalBranch[];
99929
- /**
99930
- * The conditional branch that should be followed when the conditions for other branches are not satisfied. A conditional branch is made up of a condition, a response and a next step.
99931
- */
99932
99866
  DefaultBranch: LexBotDefaultConditionalBranch;
99933
- /**
99934
- * Determines whether a conditional branch is active. When active is false, the conditions are not evaluated.
99935
- */
99936
99867
  IsActive: boolean;
99937
99868
  };
99938
99869
  /**
99939
99870
  * Type definition for `AWS::Lex::Bot.ConversationLogSettings`.
99940
- * Contains information about code hooks that Amazon Lex calls during a conversation.
99941
99871
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-conversationlogsettings.html}
99942
99872
  */
99943
99873
  export type LexBotConversationLogSettings = {
99944
99874
  /**
99945
- * List of audio log settings that pertain to the conversation log settings for the bot's TestBotAlias.
99946
99875
  * @maxLength `1`
99947
99876
  */
99948
99877
  AudioLogSettings?: LexBotAudioLogSetting[];
99949
99878
  /**
99950
- * List of text log settings that pertain to the conversation log settings for the bot's TestBotAlias
99951
99879
  * @maxLength `1`
99952
99880
  */
99953
99881
  TextLogSettings?: LexBotTextLogSetting[];
99954
99882
  };
99955
99883
  /**
99956
99884
  * Type definition for `AWS::Lex::Bot.CustomPayload`.
99957
- * A message in a custom format defined by the client application.
99958
99885
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-custompayload.html}
99959
99886
  */
99960
99887
  export type LexBotCustomPayload = {
99961
99888
  /**
99962
- * The string that is sent to your application.
99963
99889
  * @minLength `1`
99964
99890
  * @maxLength `1000`
99965
99891
  */
@@ -99967,7 +99893,6 @@ export type LexBotCustomPayload = {
99967
99893
  };
99968
99894
  /**
99969
99895
  * Type definition for `AWS::Lex::Bot.CustomVocabulary`.
99970
- * A custom vocabulary is a list of specific phrases that you want Amazon Lex V2 to recognize in the audio input.
99971
99896
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-customvocabulary.html}
99972
99897
  */
99973
99898
  export type LexBotCustomVocabulary = {
@@ -99978,24 +99903,20 @@ export type LexBotCustomVocabulary = {
99978
99903
  };
99979
99904
  /**
99980
99905
  * Type definition for `AWS::Lex::Bot.CustomVocabularyItem`.
99981
- * A custom vocabulary item that contains the phrase to recognize and a weight to give the boost.
99982
99906
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-customvocabularyitem.html}
99983
99907
  */
99984
99908
  export type LexBotCustomVocabularyItem = {
99985
99909
  /**
99986
- * Defines how you want your phrase to look in your transcription output.
99987
99910
  * @minLength `1`
99988
99911
  * @maxLength `100`
99989
99912
  */
99990
99913
  DisplayAs?: string;
99991
99914
  /**
99992
- * Phrase that should be recognized.
99993
99915
  * @minLength `1`
99994
99916
  * @maxLength `100`
99995
99917
  */
99996
99918
  Phrase: string;
99997
99919
  /**
99998
- * The degree to which the phrase recognition is boosted. The weight 0 means that no boosting will be applied and the entry will only be used for performing replacements using the displayAs field.
99999
99920
  * @min `0`
100000
99921
  * @max `3`
100001
99922
  */
@@ -100003,76 +99924,48 @@ export type LexBotCustomVocabularyItem = {
100003
99924
  };
100004
99925
  /**
100005
99926
  * Type definition for `AWS::Lex::Bot.DefaultConditionalBranch`.
100006
- * A set of actions that Amazon Lex should run if none of the other conditions are met.
100007
99927
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-defaultconditionalbranch.html}
100008
99928
  */
100009
99929
  export type LexBotDefaultConditionalBranch = {
100010
- /**
100011
- * The next step in the conversation.
100012
- */
100013
99930
  NextStep?: LexBotDialogState;
100014
- /**
100015
- * Specifies a list of message groups that Amazon Lex uses to respond the user input.
100016
- */
100017
99931
  Response?: LexBotResponseSpecification;
100018
99932
  };
100019
99933
  /**
100020
99934
  * Type definition for `AWS::Lex::Bot.DialogAction`.
100021
- * Defines the action that the bot executes at runtime when the conversation reaches this step.
100022
99935
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-dialogaction.html}
100023
99936
  */
100024
99937
  export type LexBotDialogAction = {
100025
99938
  /**
100026
- * If the dialog action is ElicitSlot, defines the slot to elicit from the user.
100027
99939
  * @minLength `1`
100028
99940
  * @maxLength `100`
100029
99941
  * @pattern `^([0-9a-zA-Z][_-]?)+$`
100030
99942
  */
100031
99943
  SlotToElicit?: string;
100032
- /**
100033
- * When true the next message for the intent is not used.
100034
- */
100035
99944
  SuppressNextMessage?: boolean;
100036
- /**
100037
- * The action that the bot should execute.
100038
- */
100039
99945
  Type: LexBotDialogActionType;
100040
99946
  };
100041
99947
  /**
100042
99948
  * Type definition for `AWS::Lex::Bot.DialogActionType`.
100043
- * The possible values of actions that the conversation can take.
100044
99949
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-dialogactiontype.html}
100045
99950
  */
100046
99951
  export type LexBotDialogActionType = "CloseIntent" | "ConfirmIntent" | "ElicitIntent" | "ElicitSlot" | "StartIntent" | "FulfillIntent" | "EndConversation" | "EvaluateConditional" | "InvokeDialogCodeHook";
100047
99952
  /**
100048
99953
  * Type definition for `AWS::Lex::Bot.DialogCodeHookInvocationSetting`.
100049
- * Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.
100050
99954
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-dialogcodehookinvocationsetting.html}
100051
99955
  */
100052
99956
  export type LexBotDialogCodeHookInvocationSetting = {
100053
- /**
100054
- * Indicates whether a Lambda function should be invoked for the dialog.
100055
- */
100056
99957
  EnableCodeHookInvocation: boolean;
100057
99958
  /**
100058
- * A label that indicates the dialog step from which the dialog code hook is happening.
100059
99959
  * @minLength `1`
100060
99960
  * @maxLength `100`
100061
99961
  * @pattern `^([0-9a-zA-Z][_-]?)+$`
100062
99962
  */
100063
99963
  InvocationLabel?: string;
100064
- /**
100065
- * Determines whether a dialog code hook is used when the intent is activated.
100066
- */
100067
99964
  IsActive: boolean;
100068
- /**
100069
- * Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
100070
- */
100071
99965
  PostCodeHookSpecification: LexBotPostDialogCodeHookInvocationSpecification;
100072
99966
  };
100073
99967
  /**
100074
99968
  * Type definition for `AWS::Lex::Bot.DialogCodeHookSetting`.
100075
- * Settings that determine the Lambda function that Amazon Lex uses for processing user responses.
100076
99969
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-dialogcodehooksetting.html}
100077
99970
  */
100078
99971
  export type LexBotDialogCodeHookSetting = {
@@ -100080,46 +99973,31 @@ export type LexBotDialogCodeHookSetting = {
100080
99973
  };
100081
99974
  /**
100082
99975
  * Type definition for `AWS::Lex::Bot.DialogState`.
100083
- * The current state of the conversation with the user.
100084
99976
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-dialogstate.html}
100085
99977
  */
100086
99978
  export type LexBotDialogState = {
100087
- /**
100088
- * Defines the action that the bot executes at runtime when the conversation reaches this step.
100089
- */
100090
99979
  DialogAction?: LexBotDialogAction;
100091
- /**
100092
- * Override settings to configure the intent state.
100093
- */
100094
99980
  Intent?: LexBotIntentOverride;
100095
- /**
100096
- * List of session attributes to be applied when the conversation reaches this step.
100097
- */
100098
99981
  SessionAttributes?: LexBotSessionAttribute[];
100099
99982
  };
100100
99983
  /**
100101
99984
  * Type definition for `AWS::Lex::Bot.DTMFSpecification`.
100102
- * Specifies the settings on DTMF input.
100103
99985
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-dtmfspecification.html}
100104
99986
  */
100105
99987
  export type LexBotDTMFSpecification = {
100106
99988
  /**
100107
- * The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
100108
99989
  * @pattern `^[A-D0-9#*]{1}$`
100109
99990
  */
100110
99991
  DeletionCharacter: string;
100111
99992
  /**
100112
- * The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.
100113
99993
  * @pattern `^[A-D0-9#*]{1}$`
100114
99994
  */
100115
99995
  EndCharacter: string;
100116
99996
  /**
100117
- * How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
100118
99997
  * @min `1`
100119
99998
  */
100120
99999
  EndTimeoutMs: number;
100121
100000
  /**
100122
- * The maximum number of DTMF digits allowed in an utterance.
100123
100001
  * @min `1`
100124
100002
  * @max `1024`
100125
100003
  */
@@ -100127,16 +100005,11 @@ export type LexBotDTMFSpecification = {
100127
100005
  };
100128
100006
  /**
100129
100007
  * Type definition for `AWS::Lex::Bot.ElicitationCodeHookInvocationSetting`.
100130
- * Settings that specify the dialog code hook that is called by Amazon Lex between eliciting slot values.
100131
100008
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-elicitationcodehookinvocationsetting.html}
100132
100009
  */
100133
100010
  export type LexBotElicitationCodeHookInvocationSetting = {
100134
- /**
100135
- * Indicates whether a Lambda function should be invoked for the dialog.
100136
- */
100137
100011
  EnableCodeHookInvocation: boolean;
100138
100012
  /**
100139
- * A label that indicates the dialog step from which the dialog code hook is happening.
100140
100013
  * @minLength `1`
100141
100014
  * @maxLength `100`
100142
100015
  * @pattern `^([0-9a-zA-Z][_-]?)+$`
@@ -100145,53 +100018,33 @@ export type LexBotElicitationCodeHookInvocationSetting = {
100145
100018
  };
100146
100019
  /**
100147
100020
  * Type definition for `AWS::Lex::Bot.ExternalSourceSetting`.
100148
- * Provides information about the external source of the slot type's definition.
100149
100021
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-externalsourcesetting.html}
100150
100022
  */
100151
100023
  export type LexBotExternalSourceSetting = {
100152
- /**
100153
- * Settings required for a slot type based on a grammar that you provide.
100154
- */
100155
100024
  GrammarSlotTypeSetting?: LexBotGrammarSlotTypeSetting;
100156
100025
  };
100157
100026
  /**
100158
100027
  * Type definition for `AWS::Lex::Bot.FulfillmentCodeHookSetting`.
100159
- * Settings that determine if a Lambda function should be invoked to fulfill a specific intent.
100160
100028
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-fulfillmentcodehooksetting.html}
100161
100029
  */
100162
100030
  export type LexBotFulfillmentCodeHookSetting = {
100163
100031
  Enabled: boolean;
100164
- /**
100165
- * Provides information for updating the user on the progress of fulfilling an intent.
100166
- */
100167
100032
  FulfillmentUpdatesSpecification?: LexBotFulfillmentUpdatesSpecification;
100168
- /**
100169
- * Determines whether the fulfillment code hook is used. When active is false, the code hook doesn't run.
100170
- */
100171
100033
  IsActive?: boolean;
100172
- /**
100173
- * Provides a setting that determines whether the post-fulfillment response is sent to the user.
100174
- */
100175
100034
  PostFulfillmentStatusSpecification?: LexBotPostFulfillmentStatusSpecification;
100176
100035
  };
100177
100036
  /**
100178
100037
  * Type definition for `AWS::Lex::Bot.FulfillmentStartResponseSpecification`.
100179
- * Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running.
100180
100038
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-fulfillmentstartresponsespecification.html}
100181
100039
  */
100182
100040
  export type LexBotFulfillmentStartResponseSpecification = {
100183
- /**
100184
- * Determines whether the user can interrupt the start message while it is playing.
100185
- */
100186
100041
  AllowInterrupt?: boolean;
100187
100042
  /**
100188
- * The delay between when the Lambda fulfillment function starts running and the start message is played. If the Lambda function returns before the delay is over, the start message isn't played.
100189
100043
  * @min `1`
100190
100044
  * @max `900`
100191
100045
  */
100192
100046
  DelayInSeconds: number;
100193
100047
  /**
100194
- * One to 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.
100195
100048
  * @minLength `1`
100196
100049
  * @maxLength `5`
100197
100050
  */
@@ -100199,22 +100052,16 @@ export type LexBotFulfillmentStartResponseSpecification = {
100199
100052
  };
100200
100053
  /**
100201
100054
  * Type definition for `AWS::Lex::Bot.FulfillmentUpdateResponseSpecification`.
100202
- * Provides settings for a message that is sent periodically to the user while a fulfillment Lambda function is running.
100203
100055
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-fulfillmentupdateresponsespecification.html}
100204
100056
  */
100205
100057
  export type LexBotFulfillmentUpdateResponseSpecification = {
100206
- /**
100207
- * Determines whether the user can interrupt an update message while it is playing.
100208
- */
100209
100058
  AllowInterrupt?: boolean;
100210
100059
  /**
100211
- * The frequency that a message is sent to the user. When the period ends, Amazon Lex chooses a message from the message groups and plays it to the user. If the fulfillment Lambda returns before the first period ends, an update message is not played to the user.
100212
100060
  * @min `1`
100213
100061
  * @max `900`
100214
100062
  */
100215
100063
  FrequencyInSeconds: number;
100216
100064
  /**
100217
- * One to 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.
100218
100065
  * @minLength `1`
100219
100066
  * @maxLength `5`
100220
100067
  */
@@ -100222,62 +100069,43 @@ export type LexBotFulfillmentUpdateResponseSpecification = {
100222
100069
  };
100223
100070
  /**
100224
100071
  * Type definition for `AWS::Lex::Bot.FulfillmentUpdatesSpecification`.
100225
- * Provides information for updating the user on the progress of fulfilling an intent.
100226
100072
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-fulfillmentupdatesspecification.html}
100227
100073
  */
100228
100074
  export type LexBotFulfillmentUpdatesSpecification = {
100229
- /**
100230
- * Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent.
100231
- */
100232
100075
  Active: boolean;
100233
- /**
100234
- * Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running.
100235
- */
100236
100076
  StartResponse?: LexBotFulfillmentStartResponseSpecification;
100237
100077
  /**
100238
- * The length of time that the fulfillment Lambda function should run before it times out.
100239
100078
  * @min `1`
100240
100079
  * @max `900`
100241
100080
  */
100242
100081
  TimeoutInSeconds?: number;
100243
- /**
100244
- * Provides settings for a message that is sent periodically to the user while a fulfillment Lambda function is running.
100245
- */
100246
100082
  UpdateResponse?: LexBotFulfillmentUpdateResponseSpecification;
100247
100083
  };
100248
100084
  /**
100249
100085
  * Type definition for `AWS::Lex::Bot.GrammarSlotTypeSetting`.
100250
- * Settings required for a slot type based on a grammar that you provide.
100251
100086
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-grammarslottypesetting.html}
100252
100087
  */
100253
100088
  export type LexBotGrammarSlotTypeSetting = {
100254
- /**
100255
- * Describes the Amazon S3 bucket name and location for the grammar that is the source for the slot type.
100256
- */
100257
100089
  Source?: LexBotGrammarSlotTypeSource;
100258
100090
  };
100259
100091
  /**
100260
100092
  * Type definition for `AWS::Lex::Bot.GrammarSlotTypeSource`.
100261
- * Describes the Amazon S3 bucket name and location for the grammar that is the source for the slot type.
100262
100093
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-grammarslottypesource.html}
100263
100094
  */
100264
100095
  export type LexBotGrammarSlotTypeSource = {
100265
100096
  /**
100266
- * The Amazon KMS key required to decrypt the contents of the grammar, if any.
100267
100097
  * @minLength `20`
100268
100098
  * @maxLength `2048`
100269
100099
  * @pattern `^arn:[\w\-]+:kms:[\w\-]+:[\d]{12}:(?:key\/[\w\-]+|alias\/[a-zA-Z0-9:\/_\-]{1,256})$`
100270
100100
  */
100271
100101
  KmsKeyArn?: string;
100272
100102
  /**
100273
- * The name of the S3 bucket that contains the grammar source.
100274
100103
  * @minLength `3`
100275
100104
  * @maxLength `63`
100276
100105
  * @pattern `^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$`
100277
100106
  */
100278
100107
  S3BucketName: string;
100279
100108
  /**
100280
- * The path to the grammar in the S3 bucket.
100281
100109
  * @minLength `1`
100282
100110
  * @maxLength `1024`
100283
100111
  * @pattern `[\.\-\!\*\_\'\(\)a-zA-Z0-9][\.\-\!\*\_\'\(\)\/a-zA-Z0-9]*$`
@@ -100286,29 +100114,24 @@ export type LexBotGrammarSlotTypeSource = {
100286
100114
  };
100287
100115
  /**
100288
100116
  * Type definition for `AWS::Lex::Bot.ImageResponseCard`.
100289
- * A message that defines a response card that the client application can show to the user.
100290
100117
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-imageresponsecard.html}
100291
100118
  */
100292
100119
  export type LexBotImageResponseCard = {
100293
100120
  /**
100294
- * A list of buttons that should be displayed on the response card.
100295
100121
  * @maxLength `5`
100296
100122
  */
100297
100123
  Buttons?: LexBotButton[];
100298
100124
  /**
100299
- * The URL of an image to display on the response card.
100300
100125
  * @minLength `1`
100301
100126
  * @maxLength `250`
100302
100127
  */
100303
100128
  ImageUrl?: string;
100304
100129
  /**
100305
- * The subtitle to display on the response card.
100306
100130
  * @minLength `1`
100307
100131
  * @maxLength `250`
100308
100132
  */
100309
100133
  Subtitle?: string;
100310
100134
  /**
100311
- * The title to display on the response card.
100312
100135
  * @minLength `1`
100313
100136
  * @maxLength `250`
100314
100137
  */
@@ -100316,35 +100139,20 @@ export type LexBotImageResponseCard = {
100316
100139
  };
100317
100140
  /**
100318
100141
  * Type definition for `AWS::Lex::Bot.InitialResponseSetting`.
100319
- * Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.
100320
100142
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-initialresponsesetting.html}
100321
100143
  */
100322
100144
  export type LexBotInitialResponseSetting = {
100323
- /**
100324
- * Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.
100325
- */
100326
100145
  CodeHook?: LexBotDialogCodeHookInvocationSetting;
100327
- /**
100328
- * Provides a list of conditional branches. Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition.
100329
- */
100330
100146
  Conditional?: LexBotConditionalSpecification;
100331
- /**
100332
- * Specifies a list of message groups that Amazon Lex uses to respond the user input.
100333
- */
100334
100147
  InitialResponse?: LexBotResponseSpecification;
100335
- /**
100336
- * The next step in the conversation.
100337
- */
100338
100148
  NextStep?: LexBotDialogState;
100339
100149
  };
100340
100150
  /**
100341
100151
  * Type definition for `AWS::Lex::Bot.InputContext`.
100342
- * InputContext specified for the intent.
100343
100152
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-inputcontext.html}
100344
100153
  */
100345
100154
  export type LexBotInputContext = {
100346
100155
  /**
100347
- * The name of the context.
100348
100156
  * @minLength `1`
100349
100157
  * @maxLength `100`
100350
100158
  * @pattern `^([0-9a-zA-Z][_-]?)+$`
@@ -100353,216 +100161,116 @@ export type LexBotInputContext = {
100353
100161
  };
100354
100162
  /**
100355
100163
  * Type definition for `AWS::Lex::Bot.Intent`.
100356
- * Represents an action that the user wants to perform.
100357
100164
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intent.html}
100358
100165
  */
100359
100166
  export type LexBotIntent = {
100167
+ BedrockAgentIntentConfiguration?: LexBotBedrockAgentIntentConfiguration;
100360
100168
  /**
100361
100169
  * Description of thr intent.
100362
100170
  * @maxLength `200`
100363
100171
  */
100364
100172
  Description?: string;
100365
- /**
100366
- * Settings that determine the Lambda function that Amazon Lex uses for processing user responses.
100367
- */
100368
100173
  DialogCodeHook?: LexBotDialogCodeHookSetting;
100369
- /**
100370
- * Settings that determine if a Lambda function should be invoked to fulfill a specific intent.
100371
- */
100372
100174
  FulfillmentCodeHook?: LexBotFulfillmentCodeHookSetting;
100373
- /**
100374
- * Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.
100375
- */
100376
100175
  InitialResponseSetting?: LexBotInitialResponseSetting;
100377
100176
  /**
100378
- * The list of input contexts specified for the intent.
100379
100177
  * @maxLength `5`
100380
100178
  */
100381
100179
  InputContexts?: LexBotInputContext[];
100382
- /**
100383
- * Provides a statement the Amazon Lex conveys to the user when the intent is successfully fulfilled.
100384
- */
100385
100180
  IntentClosingSetting?: LexBotIntentClosingSetting;
100386
- /**
100387
- * Provides a prompt for making sure that the user is ready for the intent to be fulfilled.
100388
- */
100389
100181
  IntentConfirmationSetting?: LexBotIntentConfirmationSetting;
100390
- /**
100391
- * Configuration for searching a Amazon Kendra index specified for the intent.
100392
- */
100393
100182
  KendraConfiguration?: LexBotKendraConfiguration;
100394
100183
  /**
100395
- * The name of the intent.
100396
100184
  * @minLength `1`
100397
100185
  * @maxLength `100`
100398
100186
  * @pattern `^([0-9a-zA-Z][_-]?)+$`
100399
100187
  */
100400
100188
  Name: string;
100401
100189
  /**
100402
- * A list of contexts that the intent activates when it is fulfilled.
100403
100190
  * @maxLength `10`
100404
100191
  */
100405
100192
  OutputContexts?: LexBotOutputContext[];
100406
- /**
100407
- * A unique identifier for the built-in intent to base this intent on.
100408
- */
100409
100193
  ParentIntentSignature?: string;
100410
- /**
100411
- * Details about the the configuration of the built-in Amazon.QnAIntent.
100412
- */
100194
+ QInConnectIntentConfiguration?: LexBotQInConnectIntentConfiguration;
100413
100195
  QnAIntentConfiguration?: LexBotQnAIntentConfiguration;
100414
- /**
100415
- * A sample utterance that invokes an intent or respond to a slot elicitation prompt.
100416
- */
100417
100196
  SampleUtterances?: LexBotSampleUtterance[];
100418
- /**
100419
- * List for slot priorities
100420
- */
100421
100197
  SlotPriorities?: LexBotSlotPriority[];
100422
100198
  /**
100423
- * List of slots
100424
100199
  * @maxLength `100`
100425
100200
  */
100426
100201
  Slots?: LexBotSlot[];
100427
100202
  };
100428
100203
  /**
100429
100204
  * Type definition for `AWS::Lex::Bot.IntentClosingSetting`.
100430
- * Provides a statement the Amazon Lex conveys to the user when the intent is successfully fulfilled.
100431
100205
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intentclosingsetting.html}
100432
100206
  */
100433
100207
  export type LexBotIntentClosingSetting = {
100434
- /**
100435
- * The response that Amazon Lex sends to the user when the intent is complete.
100436
- */
100437
100208
  ClosingResponse?: LexBotResponseSpecification;
100438
- /**
100439
- * A list of conditional branches associated with the intent's closing response. These branches are executed when the nextStep attribute is set to EvalutateConditional.
100440
- */
100441
100209
  Conditional?: LexBotConditionalSpecification;
100442
- /**
100443
- * Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the active field isn't specified, the default is true.
100444
- */
100445
100210
  IsActive?: boolean;
100446
- /**
100447
- * Specifies the next step that the bot executes after playing the intent's closing response.
100448
- */
100449
100211
  NextStep?: LexBotDialogState;
100450
100212
  };
100451
100213
  /**
100452
100214
  * Type definition for `AWS::Lex::Bot.IntentConfirmationSetting`.
100453
- * Provides a prompt for making sure that the user is ready for the intent to be fulfilled.
100454
100215
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intentconfirmationsetting.html}
100455
100216
  */
100456
100217
  export type LexBotIntentConfirmationSetting = {
100457
- /**
100458
- * The DialogCodeHookInvocationSetting object associated with intent's confirmation step. The dialog code hook is triggered based on these invocation settings when the confirmation next step or declination next step or failure next step is InvokeDialogCodeHook.
100459
- */
100460
100218
  CodeHook?: LexBotDialogCodeHookInvocationSetting;
100461
- /**
100462
- * A list of conditional branches to evaluate after the intent is closed.
100463
- */
100464
100219
  ConfirmationConditional?: LexBotConditionalSpecification;
100465
- /**
100466
- * Specifies the next step that the bot executes when the customer confirms the intent.
100467
- */
100468
100220
  ConfirmationNextStep?: LexBotDialogState;
100469
- /**
100470
- * Specifies a list of message groups that Amazon Lex uses to respond the user input.
100471
- */
100472
100221
  ConfirmationResponse?: LexBotResponseSpecification;
100473
- /**
100474
- * A list of conditional branches to evaluate after the intent is declined.
100475
- */
100476
100222
  DeclinationConditional?: LexBotConditionalSpecification;
100477
- /**
100478
- * Specifies the next step that the bot executes when the customer declines the intent.
100479
- */
100480
100223
  DeclinationNextStep?: LexBotDialogState;
100481
- /**
100482
- * When the user answers "no" to the question defined in promptSpecification, Amazon Lex responds with this response to acknowledge that the intent was canceled.
100483
- */
100484
100224
  DeclinationResponse?: LexBotResponseSpecification;
100485
- /**
100486
- * The DialogCodeHookInvocationSetting used when the code hook is invoked during confirmation prompt retries.
100487
- */
100488
100225
  ElicitationCodeHook?: LexBotElicitationCodeHookInvocationSetting;
100489
- /**
100490
- * Provides a list of conditional branches. Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition.
100491
- */
100492
100226
  FailureConditional?: LexBotConditionalSpecification;
100493
- /**
100494
- * The next step to take in the conversation if the confirmation step fails.
100495
- */
100496
100227
  FailureNextStep?: LexBotDialogState;
100497
- /**
100498
- * Specifies a list of message groups that Amazon Lex uses to respond the user input.
100499
- */
100500
100228
  FailureResponse?: LexBotResponseSpecification;
100501
- /**
100502
- * Specifies whether the intent's confirmation is sent to the user. When this field is false, confirmation and declination responses aren't sent. If the active field isn't specified, the default is true.
100503
- */
100504
100229
  IsActive?: boolean;
100505
- /**
100506
- * Prompts the user to confirm the intent. This question should have a yes or no answer.
100507
- */
100508
100230
  PromptSpecification: LexBotPromptSpecification;
100509
100231
  };
100510
100232
  /**
100511
100233
  * Type definition for `AWS::Lex::Bot.IntentOverride`.
100512
- * Override settings to configure the intent state.
100513
100234
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intentoverride.html}
100514
100235
  */
100515
100236
  export type LexBotIntentOverride = {
100516
100237
  /**
100517
- * The name of the intent. Only required when you're switching intents.
100518
100238
  * @minLength `1`
100519
100239
  * @maxLength `100`
100520
100240
  * @pattern `^([0-9a-zA-Z][_-]?)+$`
100521
100241
  */
100522
100242
  Name?: string;
100523
- /**
100524
- * A map of all of the slot value overrides for the intent.
100525
- */
100526
100243
  Slots?: LexBotSlotValueOverrideMap[];
100527
100244
  };
100528
100245
  /**
100529
100246
  * Type definition for `AWS::Lex::Bot.KendraConfiguration`.
100530
- * Configuration for searching a Amazon Kendra index specified for the intent.
100531
100247
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-kendraconfiguration.html}
100532
100248
  */
100533
100249
  export type LexBotKendraConfiguration = {
100534
100250
  /**
100535
- * The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the AMAZON.KendraSearchIntent intent to search.
100536
100251
  * @minLength `32`
100537
100252
  * @maxLength `2048`
100538
100253
  * @pattern `^arn:aws[a-zA-Z-]*:kendra:[a-z]+-[a-z]+-[0-9]:[0-9]{12}:index/[a-zA-Z0-9][a-zA-Z0-9_-]*$`
100539
100254
  */
100540
100255
  KendraIndex: string;
100541
100256
  /**
100542
- * A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query.
100543
100257
  * @minLength `1`
100544
100258
  * @maxLength `5000`
100545
100259
  */
100546
100260
  QueryFilterString?: string;
100547
- /**
100548
- * Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index.
100549
- */
100550
100261
  QueryFilterStringEnabled?: boolean;
100551
100262
  };
100552
100263
  /**
100553
100264
  * Type definition for `AWS::Lex::Bot.LambdaCodeHook`.
100554
- * Contains information about code hooks that Amazon Lex calls during a conversation.
100555
100265
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-lambdacodehook.html}
100556
100266
  */
100557
100267
  export type LexBotLambdaCodeHook = {
100558
100268
  /**
100559
- * The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
100560
100269
  * @minLength `1`
100561
100270
  * @maxLength `5`
100562
100271
  */
100563
100272
  CodeHookInterfaceVersion: string;
100564
100273
  /**
100565
- * The Amazon Resource Name (ARN) of the Lambda function.
100566
100274
  * @minLength `20`
100567
100275
  * @maxLength `2048`
100568
100276
  */
@@ -100570,52 +100278,32 @@ export type LexBotLambdaCodeHook = {
100570
100278
  };
100571
100279
  /**
100572
100280
  * Type definition for `AWS::Lex::Bot.Message`.
100573
- * The primary message that Amazon Lex should send to the user.
100574
100281
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-message.html}
100575
100282
  */
100576
100283
  export type LexBotMessage = {
100577
- /**
100578
- * A message in a custom format defined by the client application.
100579
- */
100580
100284
  CustomPayload?: LexBotCustomPayload;
100581
- /**
100582
- * A message that defines a response card that the client application can show to the user.
100583
- */
100584
100285
  ImageResponseCard?: LexBotImageResponseCard;
100585
- /**
100586
- * A message in plain text format.
100587
- */
100588
100286
  PlainTextMessage?: LexBotPlainTextMessage;
100589
- /**
100590
- * A message in Speech Synthesis Markup Language (SSML).
100591
- */
100592
100287
  SSMLMessage?: LexBotSSMLMessage;
100593
100288
  };
100594
100289
  /**
100595
100290
  * Type definition for `AWS::Lex::Bot.MessageGroup`.
100596
- * One or more messages that Amazon Lex can send to the user.
100597
100291
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-messagegroup.html}
100598
100292
  */
100599
100293
  export type LexBotMessageGroup = {
100600
- /**
100601
- * The primary message that Amazon Lex should send to the user.
100602
- */
100603
100294
  Message: LexBotMessage;
100604
100295
  /**
100605
- * Message variations to send to the user.
100606
100296
  * @maxLength `2`
100607
100297
  */
100608
100298
  Variations?: LexBotMessage[];
100609
100299
  };
100610
100300
  /**
100611
100301
  * Type definition for `AWS::Lex::Bot.MessageSelectionStrategy`.
100612
- * Indicates how a message is selected from a message group among retries.
100613
100302
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-messageselectionstrategy.html}
100614
100303
  */
100615
100304
  export type LexBotMessageSelectionStrategy = "Random" | "Ordered";
100616
100305
  /**
100617
100306
  * Type definition for `AWS::Lex::Bot.MultipleValuesSetting`.
100618
- * Indicates whether a slot can return multiple values.
100619
100307
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-multiplevaluessetting.html}
100620
100308
  */
100621
100309
  export type LexBotMultipleValuesSetting = {
@@ -100623,36 +100311,28 @@ export type LexBotMultipleValuesSetting = {
100623
100311
  };
100624
100312
  /**
100625
100313
  * Type definition for `AWS::Lex::Bot.ObfuscationSetting`.
100626
- * Determines whether Amazon Lex obscures slot values in conversation logs.
100627
100314
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-obfuscationsetting.html}
100628
100315
  */
100629
100316
  export type LexBotObfuscationSetting = {
100630
- /**
100631
- * Value that determines whether Amazon Lex obscures slot values in conversation logs. The default is to obscure the values.
100632
- */
100633
100317
  ObfuscationSettingType: "None" | "DefaultObfuscation";
100634
100318
  };
100635
100319
  /**
100636
100320
  * Type definition for `AWS::Lex::Bot.OutputContext`.
100637
- * A session context that is activated when an intent is fulfilled.
100638
100321
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-outputcontext.html}
100639
100322
  */
100640
100323
  export type LexBotOutputContext = {
100641
100324
  /**
100642
- * Unique name for a resource.
100643
100325
  * @minLength `1`
100644
100326
  * @maxLength `100`
100645
100327
  * @pattern `^([0-9a-zA-Z][_-]?)+$`
100646
100328
  */
100647
100329
  Name: string;
100648
100330
  /**
100649
- * The amount of time, in seconds, that the output context should remain active.
100650
100331
  * @min `5`
100651
100332
  * @max `86400`
100652
100333
  */
100653
100334
  TimeToLiveInSeconds: number;
100654
100335
  /**
100655
- * The number of conversation turns that the output context should remain active.
100656
100336
  * @min `1`
100657
100337
  * @max `20`
100658
100338
  */
@@ -100660,12 +100340,10 @@ export type LexBotOutputContext = {
100660
100340
  };
100661
100341
  /**
100662
100342
  * Type definition for `AWS::Lex::Bot.PlainTextMessage`.
100663
- * A message in plain text format.
100664
100343
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-plaintextmessage.html}
100665
100344
  */
100666
100345
  export type LexBotPlainTextMessage = {
100667
100346
  /**
100668
- * The message to send to the user.
100669
100347
  * @minLength `1`
100670
100348
  * @maxLength `1000`
100671
100349
  */
@@ -100673,225 +100351,121 @@ export type LexBotPlainTextMessage = {
100673
100351
  };
100674
100352
  /**
100675
100353
  * Type definition for `AWS::Lex::Bot.PostDialogCodeHookInvocationSpecification`.
100676
- * Specifies next steps to run after the dialog code hook finishes.
100677
100354
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-postdialogcodehookinvocationspecification.html}
100678
100355
  */
100679
100356
  export type LexBotPostDialogCodeHookInvocationSpecification = {
100680
- /**
100681
- * A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed.
100682
- */
100683
100357
  FailureConditional?: LexBotConditionalSpecification;
100684
- /**
100685
- * Specifies the next step the bot runs after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed.
100686
- */
100687
100358
  FailureNextStep?: LexBotDialogState;
100688
- /**
100689
- * Specifies a list of message groups that Amazon Lex uses to respond the user input.
100690
- */
100691
100359
  FailureResponse?: LexBotResponseSpecification;
100692
- /**
100693
- * A list of conditional branches to evaluate after the dialog code hook finishes successfully.
100694
- */
100695
100360
  SuccessConditional?: LexBotConditionalSpecification;
100696
- /**
100697
- * Specifics the next step the bot runs after the dialog code hook finishes successfully.
100698
- */
100699
100361
  SuccessNextStep?: LexBotDialogState;
100700
- /**
100701
- * Specifies a list of message groups that Amazon Lex uses to respond the user input.
100702
- */
100703
100362
  SuccessResponse?: LexBotResponseSpecification;
100704
- /**
100705
- * A list of conditional branches to evaluate if the code hook times out.
100706
- */
100707
100363
  TimeoutConditional?: LexBotConditionalSpecification;
100708
- /**
100709
- * Specifies the next step that the bot runs when the code hook times out.
100710
- */
100711
100364
  TimeoutNextStep?: LexBotDialogState;
100712
- /**
100713
- * Specifies a list of message groups that Amazon Lex uses to respond the user input.
100714
- */
100715
100365
  TimeoutResponse?: LexBotResponseSpecification;
100716
100366
  };
100717
100367
  /**
100718
100368
  * Type definition for `AWS::Lex::Bot.PostFulfillmentStatusSpecification`.
100719
- * Provides a setting that determines whether the post-fulfillment response is sent to the user.
100720
100369
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-postfulfillmentstatusspecification.html}
100721
100370
  */
100722
100371
  export type LexBotPostFulfillmentStatusSpecification = {
100723
- /**
100724
- * A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with the State field of the Intent object set to Failed.
100725
- */
100726
100372
  FailureConditional?: LexBotConditionalSpecification;
100727
- /**
100728
- * Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with the State field of the Intent object set to Failed.
100729
- */
100730
100373
  FailureNextStep?: LexBotDialogState;
100731
- /**
100732
- * Specifies a list of message groups that Amazon Lex uses to respond the user input.
100733
- */
100734
100374
  FailureResponse?: LexBotResponseSpecification;
100735
- /**
100736
- * A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.
100737
- */
100738
100375
  SuccessConditional?: LexBotConditionalSpecification;
100739
- /**
100740
- * Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.
100741
- */
100742
100376
  SuccessNextStep?: LexBotDialogState;
100743
- /**
100744
- * Specifies a list of message groups that Amazon Lex uses to respond the user input.
100745
- */
100746
100377
  SuccessResponse?: LexBotResponseSpecification;
100747
- /**
100748
- * A list of conditional branches to evaluate if the fulfillment code hook times out.
100749
- */
100750
100378
  TimeoutConditional?: LexBotConditionalSpecification;
100751
- /**
100752
- * Specifies the next step that the bot runs when the fulfillment code hook times out.
100753
- */
100754
100379
  TimeoutNextStep?: LexBotDialogState;
100755
- /**
100756
- * Specifies a list of message groups that Amazon Lex uses to respond the user input.
100757
- */
100758
100380
  TimeoutResponse?: LexBotResponseSpecification;
100759
100381
  };
100760
100382
  /**
100761
100383
  * Type definition for `AWS::Lex::Bot.PromptAttemptSpecification`.
100762
- * Specifies the settings on a prompt attempt.
100763
100384
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-promptattemptspecification.html}
100764
100385
  */
100765
100386
  export type LexBotPromptAttemptSpecification = {
100766
- /**
100767
- * Indicates whether the user can interrupt a speech prompt attempt from the bot.
100768
- */
100769
100387
  AllowInterrupt?: boolean;
100770
- /**
100771
- * Specifies the allowed input types.
100772
- */
100773
100388
  AllowedInputTypes: LexBotAllowedInputTypes;
100774
- /**
100775
- * Specifies the audio and DTMF input specification.
100776
- */
100777
100389
  AudioAndDTMFInputSpecification?: LexBotAudioAndDTMFInputSpecification;
100778
- /**
100779
- * Specifies the text input specifications.
100780
- */
100781
100390
  TextInputSpecification?: LexBotTextInputSpecification;
100782
100391
  };
100783
100392
  /**
100784
100393
  * Type definition for `AWS::Lex::Bot.PromptSpecification`.
100785
- * Prompts the user to confirm the intent.
100786
100394
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-promptspecification.html}
100787
100395
  */
100788
100396
  export type LexBotPromptSpecification = {
100789
- /**
100790
- * Indicates whether the user can interrupt a speech prompt from the bot.
100791
- */
100792
100397
  AllowInterrupt?: boolean;
100793
100398
  /**
100794
- * The maximum number of times the bot tries to elicit a response from the user using this prompt.
100795
100399
  * @min `0`
100796
100400
  * @max `5`
100797
100401
  */
100798
100402
  MaxRetries: number;
100799
100403
  /**
100800
- * One to 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.
100801
100404
  * @minLength `1`
100802
100405
  * @maxLength `5`
100803
100406
  */
100804
100407
  MessageGroupsList: LexBotMessageGroup[];
100805
- /**
100806
- * Indicates how a message is selected from a message group among retries.
100807
- */
100808
100408
  MessageSelectionStrategy?: LexBotMessageSelectionStrategy;
100809
- /**
100810
- * Specifies the advanced settings on each attempt of the prompt.
100811
- */
100812
100409
  PromptAttemptsSpecification?: Record<string, LexBotPromptAttemptSpecification>;
100813
100410
  };
100411
+ /**
100412
+ * Type definition for `AWS::Lex::Bot.QInConnectIntentConfiguration`.
100413
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-qinconnectintentconfiguration.html}
100414
+ */
100415
+ export type LexBotQInConnectIntentConfiguration = {
100416
+ QInConnectAssistantConfiguration?: {
100417
+ /**
100418
+ * @minLength `1`
100419
+ * @maxLength `200`
100420
+ * @pattern `^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$`
100421
+ */
100422
+ AssistantArn: string;
100423
+ };
100424
+ };
100814
100425
  /**
100815
100426
  * Type definition for `AWS::Lex::Bot.QnAIntentConfiguration`.
100816
- * Details about the the configuration of the built-in Amazon.QnAIntent.
100817
100427
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-qnaintentconfiguration.html}
100818
100428
  */
100819
100429
  export type LexBotQnAIntentConfiguration = {
100820
- /**
100821
- * Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.
100822
- */
100823
100430
  BedrockModelConfiguration: LexBotBedrockModelSpecification;
100824
- /**
100825
- * Contains details about the configuration of the data source used for the AMAZON.QnAIntent.
100826
- */
100827
100431
  DataSourceConfiguration: {
100828
- /**
100829
- * Contains details about the configuration of a Amazon Bedrock knowledge base.
100830
- */
100831
100432
  BedrockKnowledgeStoreConfiguration?: {
100832
- /**
100833
- * Contains the names of the fields used for an exact response to the user.
100834
- */
100835
100433
  BKBExactResponseFields?: {
100836
100434
  /**
100837
- * The answer field used for an exact response from Bedrock Knowledge Store.
100838
100435
  * @minLength `1`
100839
100436
  * @maxLength `5000`
100840
100437
  */
100841
100438
  AnswerField?: string;
100842
100439
  };
100843
100440
  /**
100844
- * The base ARN of the knowledge base used.
100845
100441
  * @minLength `1`
100846
100442
  * @maxLength `5000`
100847
100443
  */
100848
100444
  BedrockKnowledgeBaseArn?: string;
100849
- /**
100850
- * Specifies whether to return an exact response, or to return an answer generated by the model, using the fields you specify from the database.
100851
- */
100852
100445
  ExactResponse?: boolean;
100853
100446
  };
100854
- /**
100855
- * Contains details about the configuration of the Amazon Kendra index used for the AMAZON.QnAIntent.
100856
- */
100857
100447
  KendraConfiguration?: LexBotQnAKendraConfiguration;
100858
- /**
100859
- * Contains details about the configuration of the Amazon OpenSearch Service database used for the AMAZON.QnAIntent.
100860
- */
100861
100448
  OpensearchConfiguration?: {
100862
100449
  /**
100863
- * The endpoint of the Amazon OpenSearch Service domain.
100864
100450
  * @minLength `1`
100865
100451
  * @maxLength `5000`
100866
100452
  */
100867
100453
  DomainEndpoint?: string;
100868
- /**
100869
- * Specifies whether to return an exact response or to return an answer generated by the model using the fields you specify from the database.
100870
- */
100871
100454
  ExactResponse?: boolean;
100872
- /**
100873
- * Contains the names of the fields used for an exact response to the user.
100874
- */
100875
100455
  ExactResponseFields?: {
100876
100456
  /**
100877
- * The name of the field that contains the answer to the query made to the OpenSearch Service database.
100878
100457
  * @minLength `1`
100879
100458
  * @maxLength `5000`
100880
100459
  */
100881
100460
  AnswerField?: string;
100882
100461
  /**
100883
- * The name of the field that contains the query made to the OpenSearch Service database.
100884
100462
  * @minLength `1`
100885
100463
  * @maxLength `5000`
100886
100464
  */
100887
100465
  QuestionField?: string;
100888
100466
  };
100889
- /**
100890
- * List of fields to include
100891
- */
100892
100467
  IncludeFields?: string[];
100893
100468
  /**
100894
- * The name of the Amazon OpenSearch Service index.
100895
100469
  * @minLength `1`
100896
100470
  * @maxLength `5000`
100897
100471
  */
@@ -100901,39 +100475,28 @@ export type LexBotQnAIntentConfiguration = {
100901
100475
  };
100902
100476
  /**
100903
100477
  * Type definition for `AWS::Lex::Bot.QnAKendraConfiguration`.
100904
- * Contains details about the configuration of the Amazon Kendra index used for the AMAZON.QnAIntent.
100905
100478
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-qnakendraconfiguration.html}
100906
100479
  */
100907
100480
  export type LexBotQnAKendraConfiguration = {
100908
- /**
100909
- * Specifies whether to return an exact response from the Amazon Kendra index or to let the Amazon Bedrock model you select generate a response based on the results.
100910
- */
100911
100481
  ExactResponse: boolean;
100912
100482
  /**
100913
- * The ARN of the Amazon Kendra index to use.
100914
100483
  * @minLength `1`
100915
100484
  * @maxLength `5000`
100916
100485
  */
100917
100486
  KendraIndex: string;
100918
100487
  /**
100919
- * Contains the Amazon Kendra filter string to use if enabled.
100920
100488
  * @minLength `1`
100921
100489
  * @maxLength `5000`
100922
100490
  */
100923
100491
  QueryFilterString?: string;
100924
- /**
100925
- * Specifies whether to enable an Amazon Kendra filter string or not.
100926
- */
100927
100492
  QueryFilterStringEnabled: boolean;
100928
100493
  };
100929
100494
  /**
100930
100495
  * Type definition for `AWS::Lex::Bot.Replication`.
100931
- * Parameter used to create a replication of the source bot in the secondary region.
100932
100496
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-replication.html}
100933
100497
  */
100934
100498
  export type LexBotReplication = {
100935
100499
  /**
100936
- * List of secondary regions for bot replication.
100937
100500
  * @minLength `1`
100938
100501
  * @maxLength `1`
100939
100502
  */
@@ -100941,16 +100504,11 @@ export type LexBotReplication = {
100941
100504
  };
100942
100505
  /**
100943
100506
  * Type definition for `AWS::Lex::Bot.ResponseSpecification`.
100944
- * A list of message groups that Amazon Lex uses to respond the user input.
100945
100507
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-responsespecification.html}
100946
100508
  */
100947
100509
  export type LexBotResponseSpecification = {
100948
- /**
100949
- * Indicates whether the user can interrupt a speech prompt from the bot.
100950
- */
100951
100510
  AllowInterrupt?: boolean;
100952
100511
  /**
100953
- * One to 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.
100954
100512
  * @minLength `1`
100955
100513
  * @maxLength `5`
100956
100514
  */
@@ -100958,25 +100516,21 @@ export type LexBotResponseSpecification = {
100958
100516
  };
100959
100517
  /**
100960
100518
  * Type definition for `AWS::Lex::Bot.S3BucketLogDestination`.
100961
- * Specifies an Amazon S3 bucket for logging audio conversations
100962
100519
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-s3bucketlogdestination.html}
100963
100520
  */
100964
100521
  export type LexBotS3BucketLogDestination = {
100965
100522
  /**
100966
- * The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
100967
100523
  * @minLength `20`
100968
100524
  * @maxLength `2048`
100969
100525
  * @pattern `^arn:[\w\-]+:kms:[\w\-]+:[\d]{12}:(?:key\/[\w\-]+|alias\/[a-zA-Z0-9:\/_\-]{1,256})$`
100970
100526
  */
100971
100527
  KmsKeyArn?: string;
100972
100528
  /**
100973
- * The Amazon S3 key of the deployment package.
100974
100529
  * @minLength `0`
100975
100530
  * @maxLength `1024`
100976
100531
  */
100977
100532
  LogPrefix: string;
100978
100533
  /**
100979
- * The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
100980
100534
  * @minLength `1`
100981
100535
  * @maxLength `2048`
100982
100536
  * @pattern `^arn:[\w\-]+:s3:::[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$`
@@ -100985,26 +100539,22 @@ export type LexBotS3BucketLogDestination = {
100985
100539
  };
100986
100540
  /**
100987
100541
  * Type definition for `AWS::Lex::Bot.S3Location`.
100988
- * S3 location of bot definitions zip file, if it's not defined inline in CloudFormation.
100989
100542
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-s3location.html}
100990
100543
  */
100991
100544
  export type LexBotS3Location = {
100992
100545
  /**
100993
- * An Amazon S3 bucket in the same AWS Region as your function. The bucket can be in a different AWS account.
100994
100546
  * @minLength `3`
100995
100547
  * @maxLength `63`
100996
100548
  * @pattern `^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$`
100997
100549
  */
100998
100550
  S3Bucket: string;
100999
100551
  /**
101000
- * The Amazon S3 key of the deployment package.
101001
100552
  * @minLength `1`
101002
100553
  * @maxLength `1024`
101003
100554
  * @pattern `[\.\-\!\*\_\'\(\)a-zA-Z0-9][\.\-\!\*\_\'\(\)\/a-zA-Z0-9]*$`
101004
100555
  */
101005
100556
  S3ObjectKey: string;
101006
100557
  /**
101007
- * For versioned objects, the version of the deployment package object to use. If not specified, the current object version will be used.
101008
100558
  * @minLength `1`
101009
100559
  * @maxLength `1024`
101010
100560
  */
@@ -101012,23 +100562,17 @@ export type LexBotS3Location = {
101012
100562
  };
101013
100563
  /**
101014
100564
  * Type definition for `AWS::Lex::Bot.SampleUtterance`.
101015
- * A sample utterance that invokes an intent or respond to a slot elicitation prompt.
101016
100565
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-sampleutterance.html}
101017
100566
  */
101018
100567
  export type LexBotSampleUtterance = {
101019
- /**
101020
- * The sample utterance that Amazon Lex uses to build its machine-learning model to recognize intents/slots.
101021
- */
101022
100568
  Utterance: string;
101023
100569
  };
101024
100570
  /**
101025
100571
  * Type definition for `AWS::Lex::Bot.SampleValue`.
101026
- * Defines one of the values for a slot type.
101027
100572
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-samplevalue.html}
101028
100573
  */
101029
100574
  export type LexBotSampleValue = {
101030
100575
  /**
101031
- * The value that can be used for a slot type.
101032
100576
  * @minLength `1`
101033
100577
  * @maxLength `140`
101034
100578
  */
@@ -101036,7 +100580,6 @@ export type LexBotSampleValue = {
101036
100580
  };
101037
100581
  /**
101038
100582
  * Type definition for `AWS::Lex::Bot.SessionAttribute`.
101039
- * Key/value pair representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
101040
100583
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-sessionattribute.html}
101041
100584
  */
101042
100585
  export type LexBotSessionAttribute = {
@@ -101053,7 +100596,6 @@ export type LexBotSessionAttribute = {
101053
100596
  };
101054
100597
  /**
101055
100598
  * Type definition for `AWS::Lex::Bot.Slot`.
101056
- * A slot is a variable needed to fulfill an intent, where an intent can require zero or more slots.
101057
100599
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slot.html}
101058
100600
  */
101059
100601
  export type LexBotSlot = {
@@ -101062,67 +100604,29 @@ export type LexBotSlot = {
101062
100604
  * @maxLength `200`
101063
100605
  */
101064
100606
  Description?: string;
101065
- /**
101066
- * Indicates whether a slot can return multiple values.
101067
- */
101068
100607
  MultipleValuesSetting?: LexBotMultipleValuesSetting;
101069
100608
  /**
101070
- * Unique name for a resource.
101071
100609
  * @minLength `1`
101072
100610
  * @maxLength `100`
101073
100611
  * @pattern `^([0-9a-zA-Z][_-]?)+$`
101074
100612
  */
101075
100613
  Name: string;
101076
- /**
101077
- * Determines whether Amazon Lex obscures slot values in conversation logs.
101078
- */
101079
100614
  ObfuscationSetting?: LexBotObfuscationSetting;
101080
- /**
101081
- * The slot type name that is used in the slot. Allows for custom and built-in slot type names
101082
- */
101083
100615
  SlotTypeName: string;
101084
- /**
101085
- * Settings that you can use for eliciting a slot value.
101086
- */
101087
100616
  ValueElicitationSetting: LexBotSlotValueElicitationSetting;
101088
100617
  };
101089
100618
  /**
101090
100619
  * Type definition for `AWS::Lex::Bot.SlotCaptureSetting`.
101091
- * Settings used when Amazon Lex successfully captures a slot value from a user.
101092
100620
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotcapturesetting.html}
101093
100621
  */
101094
100622
  export type LexBotSlotCaptureSetting = {
101095
- /**
101096
- * A list of conditional branches to evaluate after the slot value is captured.
101097
- */
101098
100623
  CaptureConditional?: LexBotConditionalSpecification;
101099
- /**
101100
- * Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
101101
- */
101102
100624
  CaptureNextStep?: LexBotDialogState;
101103
- /**
101104
- * Specifies a list of message groups that Amazon Lex uses to respond the user input.
101105
- */
101106
100625
  CaptureResponse?: LexBotResponseSpecification;
101107
- /**
101108
- * Code hook called after Amazon Lex successfully captures a slot value.
101109
- */
101110
100626
  CodeHook?: LexBotDialogCodeHookInvocationSetting;
101111
- /**
101112
- * Code hook called when Amazon Lex doesn't capture a slot value.
101113
- */
101114
100627
  ElicitationCodeHook?: LexBotElicitationCodeHookInvocationSetting;
101115
- /**
101116
- * A list of conditional branches to evaluate when the slot value isn't captured.
101117
- */
101118
100628
  FailureConditional?: LexBotConditionalSpecification;
101119
- /**
101120
- * Specifies the next step that the bot runs when the slot value code is not recognized.
101121
- */
101122
100629
  FailureNextStep?: LexBotDialogState;
101123
- /**
101124
- * Specifies a list of message groups that Amazon Lex uses to respond the user input.
101125
- */
101126
100630
  FailureResponse?: LexBotResponseSpecification;
101127
100631
  };
101128
100632
  /**
@@ -101132,12 +100636,10 @@ export type LexBotSlotCaptureSetting = {
101132
100636
  export type LexBotSlotConstraint = "Required" | "Optional";
101133
100637
  /**
101134
100638
  * Type definition for `AWS::Lex::Bot.SlotDefaultValue`.
101135
- * The default value to use when a user doesn't provide a value for a slot.
101136
100639
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotdefaultvalue.html}
101137
100640
  */
101138
100641
  export type LexBotSlotDefaultValue = {
101139
100642
  /**
101140
- * The default value to use when a user doesn't provide a value for a slot.
101141
100643
  * @minLength `1`
101142
100644
  * @maxLength `202`
101143
100645
  */
@@ -101145,30 +100647,25 @@ export type LexBotSlotDefaultValue = {
101145
100647
  };
101146
100648
  /**
101147
100649
  * Type definition for `AWS::Lex::Bot.SlotDefaultValueSpecification`.
101148
- * A list of values that Amazon Lex should use as the default value for a slot.
101149
100650
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotdefaultvaluespecification.html}
101150
100651
  */
101151
100652
  export type LexBotSlotDefaultValueSpecification = {
101152
100653
  /**
101153
- * A list of slot default values
101154
100654
  * @maxLength `10`
101155
100655
  */
101156
100656
  DefaultValueList: LexBotSlotDefaultValue[];
101157
100657
  };
101158
100658
  /**
101159
100659
  * Type definition for `AWS::Lex::Bot.SlotPriority`.
101160
- * The priority that Amazon Lex should use when eliciting slot values from a user.
101161
100660
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotpriority.html}
101162
100661
  */
101163
100662
  export type LexBotSlotPriority = {
101164
100663
  /**
101165
- * The priority that a slot should be elicited.
101166
100664
  * @min `0`
101167
100665
  * @max `100`
101168
100666
  */
101169
100667
  Priority: number;
101170
100668
  /**
101171
- * The name of the slot.
101172
100669
  * @minLength `1`
101173
100670
  * @maxLength `100`
101174
100671
  * @pattern `^([0-9a-zA-Z][_-]?)+$`
@@ -101177,70 +100674,51 @@ export type LexBotSlotPriority = {
101177
100674
  };
101178
100675
  /**
101179
100676
  * Type definition for `AWS::Lex::Bot.SlotShape`.
101180
- * The different shapes that a slot can be in during a conversation.
101181
100677
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotshape.html}
101182
100678
  */
101183
100679
  export type LexBotSlotShape = "Scalar" | "List";
101184
100680
  /**
101185
100681
  * Type definition for `AWS::Lex::Bot.SlotType`.
101186
- * A custom, extended built-in or a grammar slot type.
101187
100682
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slottype.html}
101188
100683
  */
101189
100684
  export type LexBotSlotType = {
100685
+ CompositeSlotTypeSetting?: LexBotCompositeSlotTypeSetting;
101190
100686
  /**
101191
100687
  * A description of the resource
101192
100688
  * @maxLength `200`
101193
100689
  */
101194
100690
  Description?: string;
101195
- /**
101196
- * Provides information about the external source of the slot type's definition.
101197
- */
101198
100691
  ExternalSourceSetting?: LexBotExternalSourceSetting;
101199
100692
  /**
101200
- * Unique name for a resource.
101201
100693
  * @minLength `1`
101202
100694
  * @maxLength `100`
101203
100695
  * @pattern `^([0-9a-zA-Z][_-]?)+$`
101204
100696
  */
101205
100697
  Name: string;
101206
- /**
101207
- * The built-in slot type used as a parent of this slot type.
101208
- */
101209
100698
  ParentSlotTypeSignature?: string;
101210
100699
  /**
101211
- * A List of slot type values
101212
100700
  * @maxLength `10000`
101213
100701
  */
101214
100702
  SlotTypeValues?: LexBotSlotTypeValue[];
101215
- /**
101216
- * Contains settings used by Amazon Lex to select a slot value.
101217
- */
101218
100703
  ValueSelectionSetting?: LexBotSlotValueSelectionSetting;
101219
100704
  };
101220
100705
  /**
101221
100706
  * Type definition for `AWS::Lex::Bot.SlotTypeValue`.
101222
- * Value that the slot type can take.
101223
100707
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slottypevalue.html}
101224
100708
  */
101225
100709
  export type LexBotSlotTypeValue = {
101226
- /**
101227
- * Defines one of the values for a slot type.
101228
- */
101229
100710
  SampleValue: LexBotSampleValue;
101230
100711
  /**
101231
- * Additional values related to the slot type entry.
101232
100712
  * @maxLength `10000`
101233
100713
  */
101234
100714
  Synonyms?: LexBotSampleValue[];
101235
100715
  };
101236
100716
  /**
101237
100717
  * Type definition for `AWS::Lex::Bot.SlotValue`.
101238
- * The value to set in a slot.
101239
100718
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotvalue.html}
101240
100719
  */
101241
100720
  export type LexBotSlotValue = {
101242
100721
  /**
101243
- * The value that Amazon Lex determines for the slot.
101244
100722
  * @minLength `1`
101245
100723
  * @maxLength `202`
101246
100724
  */
@@ -101248,80 +100726,44 @@ export type LexBotSlotValue = {
101248
100726
  };
101249
100727
  /**
101250
100728
  * Type definition for `AWS::Lex::Bot.SlotValueElicitationSetting`.
101251
- * Settings that you can use for eliciting a slot value.
101252
100729
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotvalueelicitationsetting.html}
101253
100730
  */
101254
100731
  export type LexBotSlotValueElicitationSetting = {
101255
- /**
101256
- * A list of default values for a slot.
101257
- */
101258
100732
  DefaultValueSpecification?: LexBotSlotDefaultValueSpecification;
101259
- /**
101260
- * The prompt that Amazon Lex uses to elicit the slot value from the user.
101261
- */
101262
100733
  PromptSpecification?: LexBotPromptSpecification;
101263
- /**
101264
- * If you know a specific pattern that users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy.
101265
- */
101266
100734
  SampleUtterances?: LexBotSampleUtterance[];
101267
- /**
101268
- * Specifies the next stage in the conversation after capturing the slot.
101269
- */
101270
100735
  SlotCaptureSetting?: LexBotSlotCaptureSetting;
101271
- /**
101272
- * Specifies whether the slot is required or optional.
101273
- */
101274
100736
  SlotConstraint: LexBotSlotConstraint;
101275
- /**
101276
- * Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.
101277
- */
101278
100737
  WaitAndContinueSpecification?: LexBotWaitAndContinueSpecification;
101279
100738
  };
101280
100739
  /**
101281
100740
  * Type definition for `AWS::Lex::Bot.SlotValueOverride`.
101282
- * The slot values that Amazon Lex uses when it sets slot values in a dialog step.
101283
100741
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotvalueoverride.html}
101284
100742
  */
101285
100743
  export type LexBotSlotValueOverride = {
101286
- /**
101287
- * When the shape value is List, it indicates that the values field contains a list of slot values. When the value is Scalar, it indicates that the value field contains a single value.
101288
- */
101289
100744
  Shape?: LexBotSlotShape;
101290
- /**
101291
- * The current value of the slot.
101292
- */
101293
100745
  Value?: LexBotSlotValue;
101294
- /**
101295
- * A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."
101296
- */
101297
100746
  Values?: LexBotSlotValueOverride[];
101298
100747
  };
101299
100748
  /**
101300
100749
  * Type definition for `AWS::Lex::Bot.SlotValueOverrideMap`.
101301
- * A map of slot names and their overridden values.
101302
100750
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotvalueoverridemap.html}
101303
100751
  */
101304
100752
  export type LexBotSlotValueOverrideMap = {
101305
100753
  /**
101306
- * Unique name for a resource.
101307
100754
  * @minLength `1`
101308
100755
  * @maxLength `100`
101309
100756
  * @pattern `^([0-9a-zA-Z][_-]?)+$`
101310
100757
  */
101311
100758
  SlotName?: string;
101312
- /**
101313
- * The slot values that Amazon Lex uses when it sets slot values in a dialog step.
101314
- */
101315
100759
  SlotValueOverride?: LexBotSlotValueOverride;
101316
100760
  };
101317
100761
  /**
101318
100762
  * Type definition for `AWS::Lex::Bot.SlotValueRegexFilter`.
101319
- * A regular expression used to validate the value of a slot.
101320
100763
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotvalueregexfilter.html}
101321
100764
  */
101322
100765
  export type LexBotSlotValueRegexFilter = {
101323
100766
  /**
101324
- * Regex pattern
101325
100767
  * @minLength `1`
101326
100768
  * @maxLength `300`
101327
100769
  */
@@ -101331,31 +100773,22 @@ export type LexBotSlotValueRegexFilter = {
101331
100773
  * Type definition for `AWS::Lex::Bot.SlotValueResolutionStrategy`.
101332
100774
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotvalueresolutionstrategy.html}
101333
100775
  */
101334
- export type LexBotSlotValueResolutionStrategy = "ORIGINAL_VALUE" | "TOP_RESOLUTION";
100776
+ export type LexBotSlotValueResolutionStrategy = "ORIGINAL_VALUE" | "TOP_RESOLUTION" | "CONCATENATION";
101335
100777
  /**
101336
100778
  * Type definition for `AWS::Lex::Bot.SlotValueSelectionSetting`.
101337
- * Contains settings used by Amazon Lex to select a slot value.
101338
100779
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotvalueselectionsetting.html}
101339
100780
  */
101340
100781
  export type LexBotSlotValueSelectionSetting = {
101341
- /**
101342
- * Provides settings that enable advanced recognition settings for slot values.
101343
- */
101344
100782
  AdvancedRecognitionSetting?: LexBotAdvancedRecognitionSetting;
101345
- /**
101346
- * A regular expression used to validate the value of a slot.
101347
- */
101348
100783
  RegexFilter?: LexBotSlotValueRegexFilter;
101349
100784
  ResolutionStrategy: LexBotSlotValueResolutionStrategy;
101350
100785
  };
101351
100786
  /**
101352
100787
  * Type definition for `AWS::Lex::Bot.SSMLMessage`.
101353
- * A message in Speech Synthesis Markup Language (SSML).
101354
100788
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-ssmlmessage.html}
101355
100789
  */
101356
100790
  export type LexBotSSMLMessage = {
101357
100791
  /**
101358
- * The SSML text that defines the prompt.
101359
100792
  * @minLength `1`
101360
100793
  * @maxLength `1000`
101361
100794
  */
@@ -101363,47 +100796,55 @@ export type LexBotSSMLMessage = {
101363
100796
  };
101364
100797
  /**
101365
100798
  * Type definition for `AWS::Lex::Bot.StillWaitingResponseSpecification`.
101366
- * StillWaitingResponseSpecification.
101367
100799
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-stillwaitingresponsespecification.html}
101368
100800
  */
101369
100801
  export type LexBotStillWaitingResponseSpecification = {
101370
- /**
101371
- * Indicates whether the user can interrupt a speech prompt from the bot.
101372
- */
101373
100802
  AllowInterrupt?: boolean;
101374
100803
  /**
101375
- * How often a message should be sent to the user in seconds.
101376
100804
  * @min `1`
101377
100805
  * @max `300`
101378
100806
  */
101379
100807
  FrequencyInSeconds: number;
101380
100808
  /**
101381
- * One to 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.
101382
100809
  * @minLength `1`
101383
100810
  * @maxLength `5`
101384
100811
  */
101385
100812
  MessageGroupsList: LexBotMessageGroup[];
101386
100813
  /**
101387
- * If Amazon Lex waits longer than this length of time in seconds for a response, it will stop sending messages.
101388
100814
  * @min `1`
101389
100815
  * @max `900`
101390
100816
  */
101391
100817
  TimeoutInSeconds: number;
101392
100818
  };
100819
+ /**
100820
+ * Type definition for `AWS::Lex::Bot.SubSlotTypeComposition`.
100821
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslottypecomposition.html}
100822
+ */
100823
+ export type LexBotSubSlotTypeComposition = {
100824
+ /**
100825
+ * @minLength `1`
100826
+ * @maxLength `100`
100827
+ * @pattern `^([0-9a-zA-Z][_-]?){1,100}$`
100828
+ */
100829
+ Name: string;
100830
+ /**
100831
+ * @minLength `1`
100832
+ * @maxLength `25`
100833
+ * @pattern `^((AMAZON\.)[a-zA-Z_]+?|[0-9a-zA-Z]+)$`
100834
+ */
100835
+ SlotTypeId: string;
100836
+ };
101393
100837
  /**
101394
100838
  * Type definition for `AWS::Lex::Bot.Tag`.
101395
- * A key-value pair for tagging Lex resources
101396
100839
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-tag.html}
101397
100840
  */
101398
100841
  export type LexBotTag = {
101399
100842
  /**
101400
- * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
101401
100843
  * @minLength `1`
101402
100844
  * @maxLength `128`
101403
100845
  */
101404
100846
  Key: string;
101405
100847
  /**
101406
- * The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
101407
100848
  * @minLength `0`
101408
100849
  * @maxLength `256`
101409
100850
  */
@@ -101411,49 +100852,35 @@ export type LexBotTag = {
101411
100852
  };
101412
100853
  /**
101413
100854
  * Type definition for `AWS::Lex::Bot.TestBotAliasSettings`.
101414
- * Configuring the test bot alias settings for a given bot
101415
100855
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-testbotaliassettings.html}
101416
100856
  */
101417
100857
  export type LexBotTestBotAliasSettings = {
101418
100858
  /**
101419
- * A list of bot alias locale settings to add to the bot alias.
101420
100859
  * @maxLength `50`
101421
100860
  */
101422
100861
  BotAliasLocaleSettings?: LexBotBotAliasLocaleSettingsItem[];
101423
- /**
101424
- * Contains information about code hooks that Amazon Lex calls during a conversation.
101425
- */
101426
100862
  ConversationLogSettings?: LexBotConversationLogSettings;
101427
100863
  /**
101428
100864
  * A description of the resource
101429
100865
  * @maxLength `200`
101430
100866
  */
101431
100867
  Description?: string;
101432
- /**
101433
- * Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
101434
- */
101435
100868
  SentimentAnalysisSettings?: {
101436
- /**
101437
- * Enable to call Amazon Comprehend for Sentiment natively within Lex
101438
- */
101439
100869
  DetectSentiment: boolean;
101440
100870
  };
101441
100871
  };
101442
100872
  /**
101443
100873
  * Type definition for `AWS::Lex::Bot.TextInputSpecification`.
101444
- * Specifies the text input specifications.
101445
100874
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-textinputspecification.html}
101446
100875
  */
101447
100876
  export type LexBotTextInputSpecification = {
101448
100877
  /**
101449
- * Time for which a bot waits before re-prompting a customer for text input.
101450
100878
  * @min `1`
101451
100879
  */
101452
100880
  StartTimeoutMs: number;
101453
100881
  };
101454
100882
  /**
101455
100883
  * Type definition for `AWS::Lex::Bot.TextLogDestination`.
101456
- * Defines the Amazon CloudWatch Logs destination log group for conversation text logs.
101457
100884
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-textlogdestination.html}
101458
100885
  */
101459
100886
  export type LexBotTextLogDestination = {
@@ -101461,52 +100888,28 @@ export type LexBotTextLogDestination = {
101461
100888
  };
101462
100889
  /**
101463
100890
  * Type definition for `AWS::Lex::Bot.TextLogSetting`.
101464
- * Contains information about code hooks that Amazon Lex calls during a conversation.
101465
100891
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-textlogsetting.html}
101466
100892
  */
101467
100893
  export type LexBotTextLogSetting = {
101468
- /**
101469
- * Defines the Amazon CloudWatch Logs destination log group for conversation text logs.
101470
- */
101471
100894
  Destination: LexBotTextLogDestination;
101472
100895
  Enabled: boolean;
101473
100896
  };
101474
100897
  /**
101475
100898
  * Type definition for `AWS::Lex::Bot.VoiceSettings`.
101476
- * Settings for using an Amazon Polly voice to communicate with a user.
101477
100899
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-voicesettings.html}
101478
100900
  */
101479
100901
  export type LexBotVoiceSettings = {
101480
- /**
101481
- * Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more information, see the engine parameter of the SynthesizeSpeech operation in the Amazon Polly developer guide.
101482
- */
101483
100902
  Engine?: "standard" | "neural" | "long-form" | "generative";
101484
- /**
101485
- * The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
101486
- */
101487
100903
  VoiceId: string;
101488
100904
  };
101489
100905
  /**
101490
100906
  * Type definition for `AWS::Lex::Bot.WaitAndContinueSpecification`.
101491
- * The prompts that Amazon Lex uses while a bot is waiting for customer input.
101492
100907
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-waitandcontinuespecification.html}
101493
100908
  */
101494
100909
  export type LexBotWaitAndContinueSpecification = {
101495
- /**
101496
- * The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
101497
- */
101498
100910
  ContinueResponse: LexBotResponseSpecification;
101499
- /**
101500
- * Specifies whether the bot will wait for a user to respond.
101501
- */
101502
100911
  IsActive?: boolean;
101503
- /**
101504
- * The response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.
101505
- */
101506
100912
  StillWaitingResponse?: LexBotStillWaitingResponseSpecification;
101507
- /**
101508
- * The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.
101509
- */
101510
100913
  WaitingResponse: LexBotResponseSpecification;
101511
100914
  };
101512
100915
  /**