|
2982 | 2982 | "type":"string",
|
2983 | 2983 | "enum":["UtteranceTimestamp"]
|
2984 | 2984 | },
|
| 2985 | + "AnswerField":{"type":"string"}, |
2985 | 2986 | "AssociatedTranscript":{
|
2986 | 2987 | "type":"structure",
|
2987 | 2988 | "members":{
|
|
3294 | 3295 | }
|
3295 | 3296 | }
|
3296 | 3297 | },
|
| 3298 | + "BedrockKnowledgeBaseArn":{ |
| 3299 | + "type":"string", |
| 3300 | + "max":200, |
| 3301 | + "min":1, |
| 3302 | + "pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,40}:[0-9]{12}:knowledge-base\\/[A-Za-z0-9]{10}$|^[A-Za-z0-9]{10}$" |
| 3303 | + }, |
| 3304 | + "BedrockKnowledgeStoreConfiguration":{ |
| 3305 | + "type":"structure", |
| 3306 | + "required":["bedrockKnowledgeBaseArn"], |
| 3307 | + "members":{ |
| 3308 | + "bedrockKnowledgeBaseArn":{ |
| 3309 | + "shape":"BedrockKnowledgeBaseArn", |
| 3310 | + "documentation":"<p>The ARN of the knowledge base used.</p>" |
| 3311 | + } |
| 3312 | + }, |
| 3313 | + "documentation":"<p>Contains details about the configuration of a Amazon Bedrock knowledge base.</p>" |
| 3314 | + }, |
3297 | 3315 | "BedrockModelArn":{
|
3298 | 3316 | "type":"string",
|
3299 |
| - "pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model\\/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}$" |
| 3317 | + "pattern":"^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model\\/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}$" |
3300 | 3318 | },
|
3301 | 3319 | "BedrockModelSpecification":{
|
3302 | 3320 | "type":"structure",
|
|
4186 | 4204 | "shape":"DescriptiveBotBuilderSpecification",
|
4187 | 4205 | "documentation":"<p>An object containing specifications for the descriptive bot building feature.</p>"
|
4188 | 4206 | },
|
4189 |
| - "sampleUtteranceGeneration":{"shape":"SampleUtteranceGenerationSpecification"} |
| 4207 | + "sampleUtteranceGeneration":{ |
| 4208 | + "shape":"SampleUtteranceGenerationSpecification", |
| 4209 | + "documentation":"<p>Contains specifications for the sample utterance generation feature.</p>" |
| 4210 | + } |
4190 | 4211 | },
|
4191 | 4212 | "documentation":"<p>Contains specifications about the Amazon Lex build time generative AI capabilities from Amazon Bedrock that you can turn on for your bot.</p>"
|
4192 | 4213 | },
|
|
5177 | 5198 | "initialResponseSetting":{
|
5178 | 5199 | "shape":"InitialResponseSetting",
|
5179 | 5200 | "documentation":"<p>Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.</p>"
|
| 5201 | + }, |
| 5202 | + "qnAIntentConfiguration":{ |
| 5203 | + "shape":"QnAIntentConfiguration", |
| 5204 | + "documentation":"<p>Specifies the configuration of the built-in <code>Amazon.QnAIntent</code>. The <code>AMAZON.QnAIntent</code> intent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify the <code>kendraConfiguration</code> field.</p>" |
5180 | 5205 | }
|
5181 | 5206 | }
|
5182 | 5207 | },
|
|
5250 | 5275 | "initialResponseSetting":{
|
5251 | 5276 | "shape":"InitialResponseSetting",
|
5252 | 5277 | "documentation":"<p>Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.</p>"
|
| 5278 | + }, |
| 5279 | + "qnAIntentConfiguration":{ |
| 5280 | + "shape":"QnAIntentConfiguration", |
| 5281 | + "documentation":"<p>Details about the the configuration of the built-in <code>Amazon.QnAIntent</code>.</p>" |
5253 | 5282 | }
|
5254 | 5283 | }
|
5255 | 5284 | },
|
|
5788 | 5817 | },
|
5789 | 5818 | "documentation":"<p>By default, data stored by Amazon Lex is encrypted. The <code>DataPrivacy</code> structure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot. </p>"
|
5790 | 5819 | },
|
| 5820 | + "DataSourceConfiguration":{ |
| 5821 | + "type":"structure", |
| 5822 | + "members":{ |
| 5823 | + "opensearchConfiguration":{ |
| 5824 | + "shape":"OpensearchConfiguration", |
| 5825 | + "documentation":"<p>Contains details about the configuration of the Amazon OpenSearch Service database used for the <code>AMAZON.QnAIntent</code>. To create a domain, follow the steps at <a href=\"https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html\">Creating and managing Amazon OpenSearch Service domains</a>.</p>" |
| 5826 | + }, |
| 5827 | + "kendraConfiguration":{ |
| 5828 | + "shape":"QnAKendraConfiguration", |
| 5829 | + "documentation":"<p>Contains details about the configuration of the Amazon Kendra index used for the <code>AMAZON.QnAIntent</code>. To create a Amazon Kendra index, follow the steps at <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/create-index.html\">Creating an index</a>.</p>" |
| 5830 | + }, |
| 5831 | + "bedrockKnowledgeStoreConfiguration":{ |
| 5832 | + "shape":"BedrockKnowledgeStoreConfiguration", |
| 5833 | + "documentation":"<p>Contains details about the configuration of the Amazon Bedrock knowledge base used for the <code>AMAZON.QnAIntent</code>. To set up a knowledge base, follow the steps at <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html\">Building a knowledge base</a>.</p>" |
| 5834 | + } |
| 5835 | + }, |
| 5836 | + "documentation":"<p>Contains details about the configuration of the knowledge store used for the <code>AMAZON.QnAIntent</code>. You must have already created the knowledge store and indexed the documents within it.</p>" |
| 5837 | + }, |
5791 | 5838 | "DateRangeFilter":{
|
5792 | 5839 | "type":"structure",
|
5793 | 5840 | "required":[
|
|
7167 | 7214 | "initialResponseSetting":{
|
7168 | 7215 | "shape":"InitialResponseSetting",
|
7169 | 7216 | "documentation":"<p>Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.</p>"
|
| 7217 | + }, |
| 7218 | + "qnAIntentConfiguration":{ |
| 7219 | + "shape":"QnAIntentConfiguration", |
| 7220 | + "documentation":"<p>Details about the configuration of the built-in <code>Amazon.QnAIntent</code>.</p>" |
7170 | 7221 | }
|
7171 | 7222 | }
|
7172 | 7223 | },
|
|
7722 | 7773 | },
|
7723 | 7774 | "documentation":"<p>The current state of the conversation with the user.</p>"
|
7724 | 7775 | },
|
| 7776 | + "DomainEndpoint":{ |
| 7777 | + "type":"string", |
| 7778 | + "pattern":"^(http|https):\\/\\/+[^\\s]+[\\w]" |
| 7779 | + }, |
7725 | 7780 | "DraftBotVersion":{
|
7726 | 7781 | "type":"string",
|
7727 | 7782 | "max":5,
|
|
7779 | 7834 | ]
|
7780 | 7835 | },
|
7781 | 7836 | "ErrorMessage":{"type":"string"},
|
| 7837 | + "ExactResponseFields":{ |
| 7838 | + "type":"structure", |
| 7839 | + "required":[ |
| 7840 | + "questionField", |
| 7841 | + "answerField" |
| 7842 | + ], |
| 7843 | + "members":{ |
| 7844 | + "questionField":{ |
| 7845 | + "shape":"QuestionField", |
| 7846 | + "documentation":"<p>The name of the field that contains the query made to the OpenSearch Service database.</p>" |
| 7847 | + }, |
| 7848 | + "answerField":{ |
| 7849 | + "shape":"AnswerField", |
| 7850 | + "documentation":"<p>The name of the field that contains the answer to the query made to the OpenSearch Service database.</p>" |
| 7851 | + } |
| 7852 | + }, |
| 7853 | + "documentation":"<p>Contains the names of the fields used for an exact response to the user.</p>" |
| 7854 | + }, |
7782 | 7855 | "ExceptionMessage":{"type":"string"},
|
7783 | 7856 | "ExecutionErrorDetails":{
|
7784 | 7857 | "type":"structure",
|
|
8463 | 8536 | "min":5,
|
8464 | 8537 | "pattern":"^([0-9a-zA-Z_])+$"
|
8465 | 8538 | },
|
| 8539 | + "IncludeField":{"type":"string"}, |
8466 | 8540 | "InitialResponseSetting":{
|
8467 | 8541 | "type":"structure",
|
8468 | 8542 | "members":{
|
|
10705 | 10779 | "min":1,
|
10706 | 10780 | "pattern":"^[0-9]+$"
|
10707 | 10781 | },
|
| 10782 | + "OSIncludeFields":{ |
| 10783 | + "type":"list", |
| 10784 | + "member":{"shape":"IncludeField"}, |
| 10785 | + "max":5, |
| 10786 | + "min":1 |
| 10787 | + }, |
| 10788 | + "OSIndexName":{ |
| 10789 | + "type":"string", |
| 10790 | + "max":255, |
| 10791 | + "min":1, |
| 10792 | + "pattern":"^(?![_-])[a-z0-9][a-z0-9_\\-]{0,254}$" |
| 10793 | + }, |
10708 | 10794 | "ObfuscationSetting":{
|
10709 | 10795 | "type":"structure",
|
10710 | 10796 | "required":["obfuscationSettingType"],
|
|
10734 | 10820 | "max":2,
|
10735 | 10821 | "min":1
|
10736 | 10822 | },
|
| 10823 | + "OpensearchConfiguration":{ |
| 10824 | + "type":"structure", |
| 10825 | + "required":[ |
| 10826 | + "domainEndpoint", |
| 10827 | + "indexName" |
| 10828 | + ], |
| 10829 | + "members":{ |
| 10830 | + "domainEndpoint":{ |
| 10831 | + "shape":"DomainEndpoint", |
| 10832 | + "documentation":"<p>The endpoint of the Amazon OpenSearch Service domain.</p>" |
| 10833 | + }, |
| 10834 | + "indexName":{ |
| 10835 | + "shape":"OSIndexName", |
| 10836 | + "documentation":"<p>The name of the Amazon OpenSearch Service index.</p>" |
| 10837 | + }, |
| 10838 | + "exactResponse":{ |
| 10839 | + "shape":"Boolean", |
| 10840 | + "documentation":"<p>Specifies whether to return an exact response or to return an answer generated by the model using the fields you specify from the database.</p>" |
| 10841 | + }, |
| 10842 | + "exactResponseFields":{ |
| 10843 | + "shape":"ExactResponseFields", |
| 10844 | + "documentation":"<p>Contains the names of the fields used for an exact response to the user.</p>" |
| 10845 | + }, |
| 10846 | + "includeFields":{ |
| 10847 | + "shape":"OSIncludeFields", |
| 10848 | + "documentation":"<p>Contains a list of fields from the Amazon OpenSearch Service that the model can use to generate the answer to the query.</p>" |
| 10849 | + } |
| 10850 | + }, |
| 10851 | + "documentation":"<p>Contains details about the configuration of the Amazon OpenSearch Service database used for the <code>AMAZON.QnAIntent</code>.</p>" |
| 10852 | + }, |
10737 | 10853 | "Operation":{
|
10738 | 10854 | "type":"string",
|
10739 | 10855 | "max":50,
|
@@ -11058,11 +11174,46 @@
|
11058 | 11174 | },
|
11059 | 11175 | "documentation":"<p>Specifies a list of message groups that Amazon Lex sends to a user to elicit a response.</p>"
|
11060 | 11176 | },
|
| 11177 | + "QnAIntentConfiguration":{ |
| 11178 | + "type":"structure", |
| 11179 | + "members":{ |
| 11180 | + "dataSourceConfiguration":{ |
| 11181 | + "shape":"DataSourceConfiguration", |
| 11182 | + "documentation":"<p>Contains details about the configuration of the data source used for the <code>AMAZON.QnAIntent</code>.</p>" |
| 11183 | + }, |
| 11184 | + "bedrockModelConfiguration":{"shape":"BedrockModelSpecification"} |
| 11185 | + }, |
| 11186 | + "documentation":"<p>Details about the the configuration of the built-in <code>Amazon.QnAIntent</code>.</p>" |
| 11187 | + }, |
| 11188 | + "QnAKendraConfiguration":{ |
| 11189 | + "type":"structure", |
| 11190 | + "required":["kendraIndex"], |
| 11191 | + "members":{ |
| 11192 | + "kendraIndex":{ |
| 11193 | + "shape":"KendraIndexArn", |
| 11194 | + "documentation":"<p>The ARN of the Amazon Kendra index to use.</p>" |
| 11195 | + }, |
| 11196 | + "queryFilterStringEnabled":{ |
| 11197 | + "shape":"Boolean", |
| 11198 | + "documentation":"<p>Specifies whether to enable an Amazon Kendra filter string or not.</p>" |
| 11199 | + }, |
| 11200 | + "queryFilterString":{ |
| 11201 | + "shape":"QueryFilterString", |
| 11202 | + "documentation":"<p>Contains the Amazon Kendra filter string to use if enabled. For more information on the Amazon Kendra search filter JSON format, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/filtering.html#search-filtering\">Using document attributes to filter search results</a>.</p>" |
| 11203 | + }, |
| 11204 | + "exactResponse":{ |
| 11205 | + "shape":"Boolean", |
| 11206 | + "documentation":"<p>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. To use this feature, you must first add FAQ questions to your index by following the steps at <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/in-creating-faq.html\">Adding frequently asked questions (FAQs) to an index</a>.</p>" |
| 11207 | + } |
| 11208 | + }, |
| 11209 | + "documentation":"<p>Contains details about the configuration of the Amazon Kendra index used for the <code>AMAZON.QnAIntent</code>.</p>" |
| 11210 | + }, |
11061 | 11211 | "QueryFilterString":{
|
11062 | 11212 | "type":"string",
|
11063 | 11213 | "max":5000,
|
11064 | 11214 | "min":1
|
11065 | 11215 | },
|
| 11216 | + "QuestionField":{"type":"string"}, |
11066 | 11217 | "RecommendedAction":{"type":"string"},
|
11067 | 11218 | "RecommendedActions":{
|
11068 | 11219 | "type":"list",
|
|
13869 | 14020 | "initialResponseSetting":{
|
13870 | 14021 | "shape":"InitialResponseSetting",
|
13871 | 14022 | "documentation":"<p>Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.</p>"
|
| 14023 | + }, |
| 14024 | + "qnAIntentConfiguration":{ |
| 14025 | + "shape":"QnAIntentConfiguration", |
| 14026 | + "documentation":"<p>Specifies the configuration of the built-in <code>Amazon.QnAIntent</code>. The <code>AMAZON.QnAIntent</code> intent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify the <code>kendraConfiguration</code> field.</p>" |
13872 | 14027 | }
|
13873 | 14028 | }
|
13874 | 14029 | },
|
|
13950 | 14105 | "initialResponseSetting":{
|
13951 | 14106 | "shape":"InitialResponseSetting",
|
13952 | 14107 | "documentation":"<p>Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.</p>"
|
| 14108 | + }, |
| 14109 | + "qnAIntentConfiguration":{ |
| 14110 | + "shape":"QnAIntentConfiguration", |
| 14111 | + "documentation":"<p>Details about the configuration of the built-in <code>Amazon.QnAIntent</code>.</p>" |
13953 | 14112 | }
|
13954 | 14113 | }
|
13955 | 14114 | },
|
|
0 commit comments