1{ 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2020-08-07", 5 "endpointPrefix":"models-v2-lex", 6 "jsonVersion":"1.1", 7 "protocol":"rest-json", 8 "serviceAbbreviation":"Lex Models V2", 9 "serviceFullName":"Amazon Lex Model Building V2", 10 "serviceId":"Lex Models V2", 11 "signatureVersion":"v4", 12 "signingName":"lex", 13 "uid":"models.lex.v2-2020-08-07" 14 }, 15 "operations":{ 16 "BatchCreateCustomVocabularyItem":{ 17 "name":"BatchCreateCustomVocabularyItem", 18 "http":{ 19 "method":"PUT", 20 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/batchcreate", 21 "responseCode":200 22 }, 23 "input":{"shape":"BatchCreateCustomVocabularyItemRequest"}, 24 "output":{"shape":"BatchCreateCustomVocabularyItemResponse"}, 25 "errors":[ 26 {"shape":"ThrottlingException"}, 27 {"shape":"ServiceQuotaExceededException"}, 28 {"shape":"ValidationException"}, 29 {"shape":"ResourceNotFoundException"}, 30 {"shape":"InternalServerException"} 31 ], 32 "documentation":"<p>Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.</p>" 33 }, 34 "BatchDeleteCustomVocabularyItem":{ 35 "name":"BatchDeleteCustomVocabularyItem", 36 "http":{ 37 "method":"POST", 38 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/batchdelete", 39 "responseCode":200 40 }, 41 "input":{"shape":"BatchDeleteCustomVocabularyItemRequest"}, 42 "output":{"shape":"BatchDeleteCustomVocabularyItemResponse"}, 43 "errors":[ 44 {"shape":"ThrottlingException"}, 45 {"shape":"ServiceQuotaExceededException"}, 46 {"shape":"ValidationException"}, 47 {"shape":"ResourceNotFoundException"}, 48 {"shape":"InternalServerException"} 49 ], 50 "documentation":"<p>Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.</p>" 51 }, 52 "BatchUpdateCustomVocabularyItem":{ 53 "name":"BatchUpdateCustomVocabularyItem", 54 "http":{ 55 "method":"PUT", 56 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/batchupdate", 57 "responseCode":200 58 }, 59 "input":{"shape":"BatchUpdateCustomVocabularyItemRequest"}, 60 "output":{"shape":"BatchUpdateCustomVocabularyItemResponse"}, 61 "errors":[ 62 {"shape":"ThrottlingException"}, 63 {"shape":"ServiceQuotaExceededException"}, 64 {"shape":"ValidationException"}, 65 {"shape":"ResourceNotFoundException"}, 66 {"shape":"InternalServerException"} 67 ], 68 "documentation":"<p>Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.</p>" 69 }, 70 "BuildBotLocale":{ 71 "name":"BuildBotLocale", 72 "http":{ 73 "method":"POST", 74 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/", 75 "responseCode":202 76 }, 77 "input":{"shape":"BuildBotLocaleRequest"}, 78 "output":{"shape":"BuildBotLocaleResponse"}, 79 "errors":[ 80 {"shape":"ThrottlingException"}, 81 {"shape":"ServiceQuotaExceededException"}, 82 {"shape":"ValidationException"}, 83 {"shape":"PreconditionFailedException"}, 84 {"shape":"ConflictException"}, 85 {"shape":"InternalServerException"} 86 ], 87 "documentation":"<p>Builds a bot, its intents, and its slot types into a specific locale. A bot can be built into multiple locales. At runtime the locale is used to choose a specific build of the bot.</p>" 88 }, 89 "CreateBot":{ 90 "name":"CreateBot", 91 "http":{ 92 "method":"PUT", 93 "requestUri":"/bots/", 94 "responseCode":202 95 }, 96 "input":{"shape":"CreateBotRequest"}, 97 "output":{"shape":"CreateBotResponse"}, 98 "errors":[ 99 {"shape":"ThrottlingException"}, 100 {"shape":"ServiceQuotaExceededException"}, 101 {"shape":"ValidationException"}, 102 {"shape":"PreconditionFailedException"}, 103 {"shape":"ConflictException"}, 104 {"shape":"InternalServerException"} 105 ], 106 "documentation":"<p>Creates an Amazon Lex conversational bot. </p>" 107 }, 108 "CreateBotAlias":{ 109 "name":"CreateBotAlias", 110 "http":{ 111 "method":"PUT", 112 "requestUri":"/bots/{botId}/botaliases/", 113 "responseCode":202 114 }, 115 "input":{"shape":"CreateBotAliasRequest"}, 116 "output":{"shape":"CreateBotAliasResponse"}, 117 "errors":[ 118 {"shape":"ThrottlingException"}, 119 {"shape":"ServiceQuotaExceededException"}, 120 {"shape":"ValidationException"}, 121 {"shape":"PreconditionFailedException"}, 122 {"shape":"ConflictException"}, 123 {"shape":"InternalServerException"} 124 ], 125 "documentation":"<p>Creates an alias for the specified version of a bot. Use an alias to enable you to change the version of a bot without updating applications that use the bot.</p> <p>For example, you can create an alias called \"PROD\" that your applications use to call the Amazon Lex bot. </p>" 126 }, 127 "CreateBotLocale":{ 128 "name":"CreateBotLocale", 129 "http":{ 130 "method":"PUT", 131 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/", 132 "responseCode":202 133 }, 134 "input":{"shape":"CreateBotLocaleRequest"}, 135 "output":{"shape":"CreateBotLocaleResponse"}, 136 "errors":[ 137 {"shape":"ThrottlingException"}, 138 {"shape":"ServiceQuotaExceededException"}, 139 {"shape":"ValidationException"}, 140 {"shape":"PreconditionFailedException"}, 141 {"shape":"ConflictException"}, 142 {"shape":"InternalServerException"} 143 ], 144 "documentation":"<p>Creates a locale in the bot. The locale contains the intents and slot types that the bot uses in conversations with users in the specified language and locale. You must add a locale to a bot before you can add intents and slot types to the bot.</p>" 145 }, 146 "CreateBotReplica":{ 147 "name":"CreateBotReplica", 148 "http":{ 149 "method":"PUT", 150 "requestUri":"/bots/{botId}/replicas/", 151 "responseCode":202 152 }, 153 "input":{"shape":"CreateBotReplicaRequest"}, 154 "output":{"shape":"CreateBotReplicaResponse"}, 155 "errors":[ 156 {"shape":"ThrottlingException"}, 157 {"shape":"ServiceQuotaExceededException"}, 158 {"shape":"ValidationException"}, 159 {"shape":"PreconditionFailedException"}, 160 {"shape":"ConflictException"}, 161 {"shape":"InternalServerException"} 162 ], 163 "documentation":"<p>Action to create a replication of the source bot in the secondary region.</p>" 164 }, 165 "CreateBotVersion":{ 166 "name":"CreateBotVersion", 167 "http":{ 168 "method":"PUT", 169 "requestUri":"/bots/{botId}/botversions/", 170 "responseCode":202 171 }, 172 "input":{"shape":"CreateBotVersionRequest"}, 173 "output":{"shape":"CreateBotVersionResponse"}, 174 "errors":[ 175 {"shape":"ThrottlingException"}, 176 {"shape":"ServiceQuotaExceededException"}, 177 {"shape":"ValidationException"}, 178 {"shape":"PreconditionFailedException"}, 179 {"shape":"ConflictException"}, 180 {"shape":"InternalServerException"} 181 ], 182 "documentation":"<p>Creates an immutable version of the bot. When you create the first version of a bot, Amazon Lex sets the version number to 1. Subsequent bot versions increase in an increment of 1. The version number will always represent the total number of versions created of the bot, not the current number of versions. If a bot version is deleted, that bot version number will not be reused.</p>" 183 }, 184 "CreateExport":{ 185 "name":"CreateExport", 186 "http":{ 187 "method":"PUT", 188 "requestUri":"/exports/", 189 "responseCode":202 190 }, 191 "input":{"shape":"CreateExportRequest"}, 192 "output":{"shape":"CreateExportResponse"}, 193 "errors":[ 194 {"shape":"ThrottlingException"}, 195 {"shape":"ServiceQuotaExceededException"}, 196 {"shape":"ValidationException"}, 197 {"shape":"ResourceNotFoundException"}, 198 {"shape":"ConflictException"}, 199 {"shape":"InternalServerException"} 200 ], 201 "documentation":"<p>Creates a zip archive containing the contents of a bot or a bot locale. The archive contains a directory structure that contains JSON files that define the bot.</p> <p>You can create an archive that contains the complete definition of a bot, or you can specify that the archive contain only the definition of a single bot locale.</p> <p>For more information about exporting bots, and about the structure of the export archive, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/importing-exporting.html\"> Importing and exporting bots </a> </p>" 202 }, 203 "CreateIntent":{ 204 "name":"CreateIntent", 205 "http":{ 206 "method":"PUT", 207 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/", 208 "responseCode":200 209 }, 210 "input":{"shape":"CreateIntentRequest"}, 211 "output":{"shape":"CreateIntentResponse"}, 212 "errors":[ 213 {"shape":"ThrottlingException"}, 214 {"shape":"ServiceQuotaExceededException"}, 215 {"shape":"ValidationException"}, 216 {"shape":"PreconditionFailedException"}, 217 {"shape":"ConflictException"}, 218 {"shape":"InternalServerException"} 219 ], 220 "documentation":"<p>Creates an intent.</p> <p>To define the interaction between the user and your bot, you define one or more intents. For example, for a pizza ordering bot you would create an <code>OrderPizza</code> intent.</p> <p>When you create an intent, you must provide a name. You can optionally provide the following:</p> <ul> <li> <p>Sample utterances. For example, \"I want to order a pizza\" and \"Can I order a pizza.\" You can't provide utterances for built-in intents.</p> </li> <li> <p>Information to be gathered. You specify slots for the information that you bot requests from the user. You can specify standard slot types, such as date and time, or custom slot types for your application.</p> </li> <li> <p>How the intent is fulfilled. You can provide a Lambda function or configure the intent to return the intent information to your client application. If you use a Lambda function, Amazon Lex invokes the function when all of the intent information is available.</p> </li> <li> <p>A confirmation prompt to send to the user to confirm an intent. For example, \"Shall I order your pizza?\"</p> </li> <li> <p>A conclusion statement to send to the user after the intent is fulfilled. For example, \"I ordered your pizza.\"</p> </li> <li> <p>A follow-up prompt that asks the user for additional activity. For example, \"Do you want a drink with your pizza?\"</p> </li> </ul>" 221 }, 222 "CreateResourcePolicy":{ 223 "name":"CreateResourcePolicy", 224 "http":{ 225 "method":"POST", 226 "requestUri":"/policy/{resourceArn}/", 227 "responseCode":200 228 }, 229 "input":{"shape":"CreateResourcePolicyRequest"}, 230 "output":{"shape":"CreateResourcePolicyResponse"}, 231 "errors":[ 232 {"shape":"ResourceNotFoundException"}, 233 {"shape":"ServiceQuotaExceededException"}, 234 {"shape":"PreconditionFailedException"}, 235 {"shape":"ValidationException"}, 236 {"shape":"InternalServerException"}, 237 {"shape":"ThrottlingException"} 238 ], 239 "documentation":"<p>Creates a new resource policy with the specified policy statements.</p>" 240 }, 241 "CreateResourcePolicyStatement":{ 242 "name":"CreateResourcePolicyStatement", 243 "http":{ 244 "method":"POST", 245 "requestUri":"/policy/{resourceArn}/statements/", 246 "responseCode":200 247 }, 248 "input":{"shape":"CreateResourcePolicyStatementRequest"}, 249 "output":{"shape":"CreateResourcePolicyStatementResponse"}, 250 "errors":[ 251 {"shape":"ResourceNotFoundException"}, 252 {"shape":"ConflictException"}, 253 {"shape":"ServiceQuotaExceededException"}, 254 {"shape":"PreconditionFailedException"}, 255 {"shape":"ValidationException"}, 256 {"shape":"InternalServerException"}, 257 {"shape":"ThrottlingException"} 258 ], 259 "documentation":"<p>Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created.</p> <p>You can't create a resource policy statement that allows cross-account access.</p>" 260 }, 261 "CreateSlot":{ 262 "name":"CreateSlot", 263 "http":{ 264 "method":"PUT", 265 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/", 266 "responseCode":200 267 }, 268 "input":{"shape":"CreateSlotRequest"}, 269 "output":{"shape":"CreateSlotResponse"}, 270 "errors":[ 271 {"shape":"ThrottlingException"}, 272 {"shape":"ServiceQuotaExceededException"}, 273 {"shape":"ValidationException"}, 274 {"shape":"PreconditionFailedException"}, 275 {"shape":"ConflictException"}, 276 {"shape":"InternalServerException"} 277 ], 278 "documentation":"<p>Creates a slot in an intent. A slot is a variable needed to fulfill an intent. For example, an <code>OrderPizza</code> intent might need slots for size, crust, and number of pizzas. For each slot, you define one or more utterances that Amazon Lex uses to elicit a response from the user. </p>" 279 }, 280 "CreateSlotType":{ 281 "name":"CreateSlotType", 282 "http":{ 283 "method":"PUT", 284 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/", 285 "responseCode":200 286 }, 287 "input":{"shape":"CreateSlotTypeRequest"}, 288 "output":{"shape":"CreateSlotTypeResponse"}, 289 "errors":[ 290 {"shape":"ThrottlingException"}, 291 {"shape":"ServiceQuotaExceededException"}, 292 {"shape":"ValidationException"}, 293 {"shape":"PreconditionFailedException"}, 294 {"shape":"ConflictException"}, 295 {"shape":"InternalServerException"} 296 ], 297 "documentation":"<p>Creates a custom slot type</p> <p> To create a custom slot type, specify a name for the slot type and a set of enumeration values, the values that a slot of this type can assume. </p>" 298 }, 299 "CreateTestSetDiscrepancyReport":{ 300 "name":"CreateTestSetDiscrepancyReport", 301 "http":{ 302 "method":"POST", 303 "requestUri":"/testsets/{testSetId}/testsetdiscrepancy", 304 "responseCode":202 305 }, 306 "input":{"shape":"CreateTestSetDiscrepancyReportRequest"}, 307 "output":{"shape":"CreateTestSetDiscrepancyReportResponse"}, 308 "errors":[ 309 {"shape":"ThrottlingException"}, 310 {"shape":"ServiceQuotaExceededException"}, 311 {"shape":"ValidationException"}, 312 {"shape":"ConflictException"}, 313 {"shape":"InternalServerException"}, 314 {"shape":"ResourceNotFoundException"} 315 ], 316 "documentation":"<p>Create a report that describes the differences between the bot and the test set.</p>" 317 }, 318 "CreateUploadUrl":{ 319 "name":"CreateUploadUrl", 320 "http":{ 321 "method":"POST", 322 "requestUri":"/createuploadurl/", 323 "responseCode":200 324 }, 325 "input":{"shape":"CreateUploadUrlRequest"}, 326 "output":{"shape":"CreateUploadUrlResponse"}, 327 "errors":[ 328 {"shape":"ThrottlingException"}, 329 {"shape":"ValidationException"}, 330 {"shape":"ResourceNotFoundException"}, 331 {"shape":"ConflictException"}, 332 {"shape":"InternalServerException"} 333 ], 334 "documentation":"<p>Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale. </p>" 335 }, 336 "DeleteBot":{ 337 "name":"DeleteBot", 338 "http":{ 339 "method":"DELETE", 340 "requestUri":"/bots/{botId}/", 341 "responseCode":202 342 }, 343 "input":{"shape":"DeleteBotRequest"}, 344 "output":{"shape":"DeleteBotResponse"}, 345 "errors":[ 346 {"shape":"ThrottlingException"}, 347 {"shape":"ServiceQuotaExceededException"}, 348 {"shape":"ValidationException"}, 349 {"shape":"ConflictException"}, 350 {"shape":"PreconditionFailedException"}, 351 {"shape":"InternalServerException"} 352 ], 353 "documentation":"<p>Deletes all versions of a bot, including the <code>Draft</code> version. To delete a specific version, use the <code>DeleteBotVersion</code> operation.</p> <p>When you delete a bot, all of the resources contained in the bot are also deleted. Deleting a bot removes all locales, intents, slot, and slot types defined for the bot.</p> <p>If a bot has an alias, the <code>DeleteBot</code> operation returns a <code>ResourceInUseException</code> exception. If you want to delete the bot and the alias, set the <code>skipResourceInUseCheck</code> parameter to <code>true</code>.</p>" 354 }, 355 "DeleteBotAlias":{ 356 "name":"DeleteBotAlias", 357 "http":{ 358 "method":"DELETE", 359 "requestUri":"/bots/{botId}/botaliases/{botAliasId}/", 360 "responseCode":202 361 }, 362 "input":{"shape":"DeleteBotAliasRequest"}, 363 "output":{"shape":"DeleteBotAliasResponse"}, 364 "errors":[ 365 {"shape":"ThrottlingException"}, 366 {"shape":"ServiceQuotaExceededException"}, 367 {"shape":"ValidationException"}, 368 {"shape":"ConflictException"}, 369 {"shape":"PreconditionFailedException"}, 370 {"shape":"InternalServerException"} 371 ], 372 "documentation":"<p>Deletes the specified bot alias.</p>" 373 }, 374 "DeleteBotLocale":{ 375 "name":"DeleteBotLocale", 376 "http":{ 377 "method":"DELETE", 378 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/", 379 "responseCode":202 380 }, 381 "input":{"shape":"DeleteBotLocaleRequest"}, 382 "output":{"shape":"DeleteBotLocaleResponse"}, 383 "errors":[ 384 {"shape":"ThrottlingException"}, 385 {"shape":"ServiceQuotaExceededException"}, 386 {"shape":"ValidationException"}, 387 {"shape":"PreconditionFailedException"}, 388 {"shape":"ConflictException"}, 389 {"shape":"InternalServerException"} 390 ], 391 "documentation":"<p>Removes a locale from a bot.</p> <p>When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.</p>" 392 }, 393 "DeleteBotReplica":{ 394 "name":"DeleteBotReplica", 395 "http":{ 396 "method":"DELETE", 397 "requestUri":"/bots/{botId}/replicas/{replicaRegion}/", 398 "responseCode":202 399 }, 400 "input":{"shape":"DeleteBotReplicaRequest"}, 401 "output":{"shape":"DeleteBotReplicaResponse"}, 402 "errors":[ 403 {"shape":"ThrottlingException"}, 404 {"shape":"ServiceQuotaExceededException"}, 405 {"shape":"ValidationException"}, 406 {"shape":"PreconditionFailedException"}, 407 {"shape":"ConflictException"}, 408 {"shape":"InternalServerException"} 409 ], 410 "documentation":"<p>The action to delete the replicated bot in the secondary region.</p>" 411 }, 412 "DeleteBotVersion":{ 413 "name":"DeleteBotVersion", 414 "http":{ 415 "method":"DELETE", 416 "requestUri":"/bots/{botId}/botversions/{botVersion}/", 417 "responseCode":202 418 }, 419 "input":{"shape":"DeleteBotVersionRequest"}, 420 "output":{"shape":"DeleteBotVersionResponse"}, 421 "errors":[ 422 {"shape":"ThrottlingException"}, 423 {"shape":"ServiceQuotaExceededException"}, 424 {"shape":"ValidationException"}, 425 {"shape":"ConflictException"}, 426 {"shape":"PreconditionFailedException"}, 427 {"shape":"InternalServerException"} 428 ], 429 "documentation":"<p>Deletes a specific version of a bot. To delete all versions of a bot, use the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DeleteBot.html\">DeleteBot</a> operation.</p>" 430 }, 431 "DeleteCustomVocabulary":{ 432 "name":"DeleteCustomVocabulary", 433 "http":{ 434 "method":"DELETE", 435 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary", 436 "responseCode":202 437 }, 438 "input":{"shape":"DeleteCustomVocabularyRequest"}, 439 "output":{"shape":"DeleteCustomVocabularyResponse"}, 440 "errors":[ 441 {"shape":"ThrottlingException"}, 442 {"shape":"ServiceQuotaExceededException"}, 443 {"shape":"ValidationException"}, 444 {"shape":"PreconditionFailedException"}, 445 {"shape":"ConflictException"}, 446 {"shape":"InternalServerException"} 447 ], 448 "documentation":"<p>Removes a custom vocabulary from the specified locale in the specified bot.</p>" 449 }, 450 "DeleteExport":{ 451 "name":"DeleteExport", 452 "http":{ 453 "method":"DELETE", 454 "requestUri":"/exports/{exportId}/", 455 "responseCode":202 456 }, 457 "input":{"shape":"DeleteExportRequest"}, 458 "output":{"shape":"DeleteExportResponse"}, 459 "errors":[ 460 {"shape":"ThrottlingException"}, 461 {"shape":"ServiceQuotaExceededException"}, 462 {"shape":"ValidationException"}, 463 {"shape":"PreconditionFailedException"}, 464 {"shape":"InternalServerException"} 465 ], 466 "documentation":"<p>Removes a previous export and the associated files stored in an S3 bucket.</p>" 467 }, 468 "DeleteImport":{ 469 "name":"DeleteImport", 470 "http":{ 471 "method":"DELETE", 472 "requestUri":"/imports/{importId}/", 473 "responseCode":202 474 }, 475 "input":{"shape":"DeleteImportRequest"}, 476 "output":{"shape":"DeleteImportResponse"}, 477 "errors":[ 478 {"shape":"ThrottlingException"}, 479 {"shape":"ServiceQuotaExceededException"}, 480 {"shape":"ValidationException"}, 481 {"shape":"PreconditionFailedException"}, 482 {"shape":"InternalServerException"} 483 ], 484 "documentation":"<p>Removes a previous import and the associated file stored in an S3 bucket.</p>" 485 }, 486 "DeleteIntent":{ 487 "name":"DeleteIntent", 488 "http":{ 489 "method":"DELETE", 490 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/", 491 "responseCode":204 492 }, 493 "input":{"shape":"DeleteIntentRequest"}, 494 "errors":[ 495 {"shape":"ThrottlingException"}, 496 {"shape":"ServiceQuotaExceededException"}, 497 {"shape":"ValidationException"}, 498 {"shape":"ConflictException"}, 499 {"shape":"PreconditionFailedException"}, 500 {"shape":"InternalServerException"} 501 ], 502 "documentation":"<p>Removes the specified intent.</p> <p>Deleting an intent also deletes the slots associated with the intent.</p>" 503 }, 504 "DeleteResourcePolicy":{ 505 "name":"DeleteResourcePolicy", 506 "http":{ 507 "method":"DELETE", 508 "requestUri":"/policy/{resourceArn}/", 509 "responseCode":204 510 }, 511 "input":{"shape":"DeleteResourcePolicyRequest"}, 512 "output":{"shape":"DeleteResourcePolicyResponse"}, 513 "errors":[ 514 {"shape":"ResourceNotFoundException"}, 515 {"shape":"PreconditionFailedException"}, 516 {"shape":"InternalServerException"}, 517 {"shape":"ThrottlingException"} 518 ], 519 "documentation":"<p>Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex returns an exception.</p>" 520 }, 521 "DeleteResourcePolicyStatement":{ 522 "name":"DeleteResourcePolicyStatement", 523 "http":{ 524 "method":"DELETE", 525 "requestUri":"/policy/{resourceArn}/statements/{statementId}/", 526 "responseCode":204 527 }, 528 "input":{"shape":"DeleteResourcePolicyStatementRequest"}, 529 "output":{"shape":"DeleteResourcePolicyStatementResponse"}, 530 "errors":[ 531 {"shape":"ResourceNotFoundException"}, 532 {"shape":"PreconditionFailedException"}, 533 {"shape":"InternalServerException"}, 534 {"shape":"ThrottlingException"} 535 ], 536 "documentation":"<p>Deletes a policy statement from a resource policy. If you delete the last statement from a policy, the policy is deleted. If you specify a statement ID that doesn't exist in the policy, or if the bot or bot alias doesn't have a policy attached, Amazon Lex returns an exception.</p>" 537 }, 538 "DeleteSlot":{ 539 "name":"DeleteSlot", 540 "http":{ 541 "method":"DELETE", 542 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}/", 543 "responseCode":204 544 }, 545 "input":{"shape":"DeleteSlotRequest"}, 546 "errors":[ 547 {"shape":"ThrottlingException"}, 548 {"shape":"ServiceQuotaExceededException"}, 549 {"shape":"ValidationException"}, 550 {"shape":"ConflictException"}, 551 {"shape":"PreconditionFailedException"}, 552 {"shape":"InternalServerException"} 553 ], 554 "documentation":"<p>Deletes the specified slot from an intent.</p>" 555 }, 556 "DeleteSlotType":{ 557 "name":"DeleteSlotType", 558 "http":{ 559 "method":"DELETE", 560 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}/", 561 "responseCode":204 562 }, 563 "input":{"shape":"DeleteSlotTypeRequest"}, 564 "errors":[ 565 {"shape":"ThrottlingException"}, 566 {"shape":"ServiceQuotaExceededException"}, 567 {"shape":"ValidationException"}, 568 {"shape":"ConflictException"}, 569 {"shape":"PreconditionFailedException"}, 570 {"shape":"InternalServerException"} 571 ], 572 "documentation":"<p>Deletes a slot type from a bot locale.</p> <p>If a slot is using the slot type, Amazon Lex throws a <code>ResourceInUseException</code> exception. To avoid the exception, set the <code>skipResourceInUseCheck</code> parameter to <code>true</code>.</p>" 573 }, 574 "DeleteTestSet":{ 575 "name":"DeleteTestSet", 576 "http":{ 577 "method":"DELETE", 578 "requestUri":"/testsets/{testSetId}", 579 "responseCode":204 580 }, 581 "input":{"shape":"DeleteTestSetRequest"}, 582 "errors":[ 583 {"shape":"ThrottlingException"}, 584 {"shape":"ServiceQuotaExceededException"}, 585 {"shape":"ValidationException"}, 586 {"shape":"ConflictException"}, 587 {"shape":"PreconditionFailedException"}, 588 {"shape":"InternalServerException"} 589 ], 590 "documentation":"<p>The action to delete the selected test set.</p>", 591 "idempotent":true 592 }, 593 "DeleteUtterances":{ 594 "name":"DeleteUtterances", 595 "http":{ 596 "method":"DELETE", 597 "requestUri":"/bots/{botId}/utterances/", 598 "responseCode":204 599 }, 600 "input":{"shape":"DeleteUtterancesRequest"}, 601 "output":{"shape":"DeleteUtterancesResponse"}, 602 "errors":[ 603 {"shape":"ValidationException"}, 604 {"shape":"ThrottlingException"}, 605 {"shape":"InternalServerException"} 606 ], 607 "documentation":"<p>Deletes stored utterances.</p> <p>Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListAggregatedUtterances.html\">ListAggregatedUtterances</a> operation, and then stored indefinitely for use in improving the ability of your bot to respond to user input..</p> <p>Use the <code>DeleteUtterances</code> operation to manually delete utterances for a specific session. When you use the <code>DeleteUtterances</code> operation, utterances stored for improving your bot's ability to respond to user input are deleted immediately. Utterances stored for use with the <code>ListAggregatedUtterances</code> operation are deleted after 15 days.</p>" 608 }, 609 "DescribeBot":{ 610 "name":"DescribeBot", 611 "http":{ 612 "method":"GET", 613 "requestUri":"/bots/{botId}/", 614 "responseCode":200 615 }, 616 "input":{"shape":"DescribeBotRequest"}, 617 "output":{"shape":"DescribeBotResponse"}, 618 "errors":[ 619 {"shape":"ThrottlingException"}, 620 {"shape":"ServiceQuotaExceededException"}, 621 {"shape":"ValidationException"}, 622 {"shape":"ResourceNotFoundException"}, 623 {"shape":"InternalServerException"} 624 ], 625 "documentation":"<p>Provides metadata information about a bot. </p>" 626 }, 627 "DescribeBotAlias":{ 628 "name":"DescribeBotAlias", 629 "http":{ 630 "method":"GET", 631 "requestUri":"/bots/{botId}/botaliases/{botAliasId}/", 632 "responseCode":200 633 }, 634 "input":{"shape":"DescribeBotAliasRequest"}, 635 "output":{"shape":"DescribeBotAliasResponse"}, 636 "errors":[ 637 {"shape":"ThrottlingException"}, 638 {"shape":"ServiceQuotaExceededException"}, 639 {"shape":"ValidationException"}, 640 {"shape":"ResourceNotFoundException"}, 641 {"shape":"InternalServerException"} 642 ], 643 "documentation":"<p>Get information about a specific bot alias.</p>" 644 }, 645 "DescribeBotLocale":{ 646 "name":"DescribeBotLocale", 647 "http":{ 648 "method":"GET", 649 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/", 650 "responseCode":200 651 }, 652 "input":{"shape":"DescribeBotLocaleRequest"}, 653 "output":{"shape":"DescribeBotLocaleResponse"}, 654 "errors":[ 655 {"shape":"ThrottlingException"}, 656 {"shape":"ServiceQuotaExceededException"}, 657 {"shape":"ValidationException"}, 658 {"shape":"ResourceNotFoundException"}, 659 {"shape":"InternalServerException"} 660 ], 661 "documentation":"<p>Describes the settings that a bot has for a specific locale. </p>" 662 }, 663 "DescribeBotRecommendation":{ 664 "name":"DescribeBotRecommendation", 665 "http":{ 666 "method":"GET", 667 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/", 668 "responseCode":200 669 }, 670 "input":{"shape":"DescribeBotRecommendationRequest"}, 671 "output":{"shape":"DescribeBotRecommendationResponse"}, 672 "errors":[ 673 {"shape":"ThrottlingException"}, 674 {"shape":"ValidationException"}, 675 {"shape":"ResourceNotFoundException"}, 676 {"shape":"InternalServerException"} 677 ], 678 "documentation":"<p>Provides metadata information about a bot recommendation. This information will enable you to get a description on the request inputs, to download associated transcripts after processing is complete, and to download intents and slot-types generated by the bot recommendation.</p>" 679 }, 680 "DescribeBotReplica":{ 681 "name":"DescribeBotReplica", 682 "http":{ 683 "method":"GET", 684 "requestUri":"/bots/{botId}/replicas/{replicaRegion}/", 685 "responseCode":200 686 }, 687 "input":{"shape":"DescribeBotReplicaRequest"}, 688 "output":{"shape":"DescribeBotReplicaResponse"}, 689 "errors":[ 690 {"shape":"ThrottlingException"}, 691 {"shape":"ServiceQuotaExceededException"}, 692 {"shape":"ValidationException"}, 693 {"shape":"ResourceNotFoundException"}, 694 {"shape":"InternalServerException"} 695 ], 696 "documentation":"<p>Monitors the bot replication status through the UI console.</p>" 697 }, 698 "DescribeBotResourceGeneration":{ 699 "name":"DescribeBotResourceGeneration", 700 "http":{ 701 "method":"GET", 702 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/generations/{generationId}", 703 "responseCode":200 704 }, 705 "input":{"shape":"DescribeBotResourceGenerationRequest"}, 706 "output":{"shape":"DescribeBotResourceGenerationResponse"}, 707 "errors":[ 708 {"shape":"ThrottlingException"}, 709 {"shape":"ValidationException"}, 710 {"shape":"ResourceNotFoundException"}, 711 {"shape":"InternalServerException"} 712 ], 713 "documentation":"<p>Returns information about a request to generate a bot through natural language description, made through the <code>StartBotResource</code> API. Use the <code>generatedBotLocaleUrl</code> to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.</p>" 714 }, 715 "DescribeBotVersion":{ 716 "name":"DescribeBotVersion", 717 "http":{ 718 "method":"GET", 719 "requestUri":"/bots/{botId}/botversions/{botVersion}/", 720 "responseCode":200 721 }, 722 "input":{"shape":"DescribeBotVersionRequest"}, 723 "output":{"shape":"DescribeBotVersionResponse"}, 724 "errors":[ 725 {"shape":"ThrottlingException"}, 726 {"shape":"ServiceQuotaExceededException"}, 727 {"shape":"ValidationException"}, 728 {"shape":"ResourceNotFoundException"}, 729 {"shape":"InternalServerException"} 730 ], 731 "documentation":"<p>Provides metadata about a version of a bot.</p>" 732 }, 733 "DescribeCustomVocabularyMetadata":{ 734 "name":"DescribeCustomVocabularyMetadata", 735 "http":{ 736 "method":"GET", 737 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/metadata", 738 "responseCode":200 739 }, 740 "input":{"shape":"DescribeCustomVocabularyMetadataRequest"}, 741 "output":{"shape":"DescribeCustomVocabularyMetadataResponse"}, 742 "errors":[ 743 {"shape":"ThrottlingException"}, 744 {"shape":"ServiceQuotaExceededException"}, 745 {"shape":"ValidationException"}, 746 {"shape":"ResourceNotFoundException"}, 747 {"shape":"InternalServerException"} 748 ], 749 "documentation":"<p>Provides metadata information about a custom vocabulary.</p>" 750 }, 751 "DescribeExport":{ 752 "name":"DescribeExport", 753 "http":{ 754 "method":"GET", 755 "requestUri":"/exports/{exportId}/", 756 "responseCode":200 757 }, 758 "input":{"shape":"DescribeExportRequest"}, 759 "output":{"shape":"DescribeExportResponse"}, 760 "errors":[ 761 {"shape":"ThrottlingException"}, 762 {"shape":"ValidationException"}, 763 {"shape":"ResourceNotFoundException"}, 764 {"shape":"InternalServerException"} 765 ], 766 "documentation":"<p>Gets information about a specific export.</p>" 767 }, 768 "DescribeImport":{ 769 "name":"DescribeImport", 770 "http":{ 771 "method":"GET", 772 "requestUri":"/imports/{importId}/", 773 "responseCode":200 774 }, 775 "input":{"shape":"DescribeImportRequest"}, 776 "output":{"shape":"DescribeImportResponse"}, 777 "errors":[ 778 {"shape":"ThrottlingException"}, 779 {"shape":"ValidationException"}, 780 {"shape":"ResourceNotFoundException"}, 781 {"shape":"InternalServerException"} 782 ], 783 "documentation":"<p>Gets information about a specific import.</p>" 784 }, 785 "DescribeIntent":{ 786 "name":"DescribeIntent", 787 "http":{ 788 "method":"GET", 789 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/", 790 "responseCode":200 791 }, 792 "input":{"shape":"DescribeIntentRequest"}, 793 "output":{"shape":"DescribeIntentResponse"}, 794 "errors":[ 795 {"shape":"ThrottlingException"}, 796 {"shape":"ServiceQuotaExceededException"}, 797 {"shape":"ValidationException"}, 798 {"shape":"ResourceNotFoundException"}, 799 {"shape":"InternalServerException"} 800 ], 801 "documentation":"<p>Returns metadata about an intent.</p>" 802 }, 803 "DescribeResourcePolicy":{ 804 "name":"DescribeResourcePolicy", 805 "http":{ 806 "method":"GET", 807 "requestUri":"/policy/{resourceArn}/", 808 "responseCode":200 809 }, 810 "input":{"shape":"DescribeResourcePolicyRequest"}, 811 "output":{"shape":"DescribeResourcePolicyResponse"}, 812 "errors":[ 813 {"shape":"ResourceNotFoundException"}, 814 {"shape":"InternalServerException"}, 815 {"shape":"ThrottlingException"} 816 ], 817 "documentation":"<p>Gets the resource policy and policy revision for a bot or bot alias.</p>" 818 }, 819 "DescribeSlot":{ 820 "name":"DescribeSlot", 821 "http":{ 822 "method":"GET", 823 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}/", 824 "responseCode":200 825 }, 826 "input":{"shape":"DescribeSlotRequest"}, 827 "output":{"shape":"DescribeSlotResponse"}, 828 "errors":[ 829 {"shape":"ThrottlingException"}, 830 {"shape":"ServiceQuotaExceededException"}, 831 {"shape":"ValidationException"}, 832 {"shape":"ResourceNotFoundException"}, 833 {"shape":"InternalServerException"} 834 ], 835 "documentation":"<p>Gets metadata information about a slot.</p>" 836 }, 837 "DescribeSlotType":{ 838 "name":"DescribeSlotType", 839 "http":{ 840 "method":"GET", 841 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}/", 842 "responseCode":200 843 }, 844 "input":{"shape":"DescribeSlotTypeRequest"}, 845 "output":{"shape":"DescribeSlotTypeResponse"}, 846 "errors":[ 847 {"shape":"ThrottlingException"}, 848 {"shape":"ServiceQuotaExceededException"}, 849 {"shape":"ValidationException"}, 850 {"shape":"ResourceNotFoundException"}, 851 {"shape":"InternalServerException"} 852 ], 853 "documentation":"<p>Gets metadata information about a slot type.</p>" 854 }, 855 "DescribeTestExecution":{ 856 "name":"DescribeTestExecution", 857 "http":{ 858 "method":"GET", 859 "requestUri":"/testexecutions/{testExecutionId}", 860 "responseCode":200 861 }, 862 "input":{"shape":"DescribeTestExecutionRequest"}, 863 "output":{"shape":"DescribeTestExecutionResponse"}, 864 "errors":[ 865 {"shape":"ThrottlingException"}, 866 {"shape":"ServiceQuotaExceededException"}, 867 {"shape":"ValidationException"}, 868 {"shape":"ResourceNotFoundException"}, 869 {"shape":"InternalServerException"} 870 ], 871 "documentation":"<p>Gets metadata information about the test execution.</p>" 872 }, 873 "DescribeTestSet":{ 874 "name":"DescribeTestSet", 875 "http":{ 876 "method":"GET", 877 "requestUri":"/testsets/{testSetId}", 878 "responseCode":200 879 }, 880 "input":{"shape":"DescribeTestSetRequest"}, 881 "output":{"shape":"DescribeTestSetResponse"}, 882 "errors":[ 883 {"shape":"ThrottlingException"}, 884 {"shape":"ServiceQuotaExceededException"}, 885 {"shape":"ValidationException"}, 886 {"shape":"ResourceNotFoundException"}, 887 {"shape":"InternalServerException"} 888 ], 889 "documentation":"<p>Gets metadata information about the test set.</p>" 890 }, 891 "DescribeTestSetDiscrepancyReport":{ 892 "name":"DescribeTestSetDiscrepancyReport", 893 "http":{ 894 "method":"GET", 895 "requestUri":"/testsetdiscrepancy/{testSetDiscrepancyReportId}", 896 "responseCode":200 897 }, 898 "input":{"shape":"DescribeTestSetDiscrepancyReportRequest"}, 899 "output":{"shape":"DescribeTestSetDiscrepancyReportResponse"}, 900 "errors":[ 901 {"shape":"ThrottlingException"}, 902 {"shape":"ServiceQuotaExceededException"}, 903 {"shape":"ValidationException"}, 904 {"shape":"ResourceNotFoundException"}, 905 {"shape":"InternalServerException"} 906 ], 907 "documentation":"<p>Gets metadata information about the test set discrepancy report.</p>" 908 }, 909 "DescribeTestSetGeneration":{ 910 "name":"DescribeTestSetGeneration", 911 "http":{ 912 "method":"GET", 913 "requestUri":"/testsetgenerations/{testSetGenerationId}", 914 "responseCode":200 915 }, 916 "input":{"shape":"DescribeTestSetGenerationRequest"}, 917 "output":{"shape":"DescribeTestSetGenerationResponse"}, 918 "errors":[ 919 {"shape":"ThrottlingException"}, 920 {"shape":"ServiceQuotaExceededException"}, 921 {"shape":"ValidationException"}, 922 {"shape":"ResourceNotFoundException"}, 923 {"shape":"InternalServerException"} 924 ], 925 "documentation":"<p>Gets metadata information about the test set generation.</p>" 926 }, 927 "GenerateBotElement":{ 928 "name":"GenerateBotElement", 929 "http":{ 930 "method":"POST", 931 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/generate", 932 "responseCode":202 933 }, 934 "input":{"shape":"GenerateBotElementRequest"}, 935 "output":{"shape":"GenerateBotElementResponse"}, 936 "errors":[ 937 {"shape":"ThrottlingException"}, 938 {"shape":"ServiceQuotaExceededException"}, 939 {"shape":"ValidationException"}, 940 {"shape":"ResourceNotFoundException"}, 941 {"shape":"ConflictException"}, 942 {"shape":"PreconditionFailedException"}, 943 {"shape":"ConflictException"}, 944 {"shape":"InternalServerException"} 945 ], 946 "documentation":"<p>Generates sample utterances for an intent.</p>" 947 }, 948 "GetTestExecutionArtifactsUrl":{ 949 "name":"GetTestExecutionArtifactsUrl", 950 "http":{ 951 "method":"GET", 952 "requestUri":"/testexecutions/{testExecutionId}/artifacturl", 953 "responseCode":200 954 }, 955 "input":{"shape":"GetTestExecutionArtifactsUrlRequest"}, 956 "output":{"shape":"GetTestExecutionArtifactsUrlResponse"}, 957 "errors":[ 958 {"shape":"ThrottlingException"}, 959 {"shape":"ServiceQuotaExceededException"}, 960 {"shape":"ValidationException"}, 961 {"shape":"ResourceNotFoundException"}, 962 {"shape":"InternalServerException"} 963 ], 964 "documentation":"<p>The pre-signed Amazon S3 URL to download the test execution result artifacts.</p>" 965 }, 966 "ListAggregatedUtterances":{ 967 "name":"ListAggregatedUtterances", 968 "http":{ 969 "method":"POST", 970 "requestUri":"/bots/{botId}/aggregatedutterances/", 971 "responseCode":200 972 }, 973 "input":{"shape":"ListAggregatedUtterancesRequest"}, 974 "output":{"shape":"ListAggregatedUtterancesResponse"}, 975 "errors":[ 976 {"shape":"ValidationException"}, 977 {"shape":"PreconditionFailedException"}, 978 {"shape":"ThrottlingException"}, 979 {"shape":"InternalServerException"} 980 ], 981 "documentation":"<p>Provides a list of utterances that users have sent to the bot.</p> <p>Utterances are aggregated by the text of the utterance. For example, all instances where customers used the phrase \"I want to order pizza\" are aggregated into the same line in the response.</p> <p>You can see both detected utterances and missed utterances. A detected utterance is where the bot properly recognized the utterance and activated the associated intent. A missed utterance was not recognized by the bot and didn't activate an intent.</p> <p>Utterances can be aggregated for a bot alias or for a bot version, but not both at the same time.</p> <p>Utterances statistics are not generated under the following conditions:</p> <ul> <li> <p>The <code>childDirected</code> field was set to true when the bot was created.</p> </li> <li> <p>You are using slot obfuscation with one or more slots.</p> </li> <li> <p>You opted out of participating in improving Amazon Lex.</p> </li> </ul>" 982 }, 983 "ListBotAliasReplicas":{ 984 "name":"ListBotAliasReplicas", 985 "http":{ 986 "method":"POST", 987 "requestUri":"/bots/{botId}/replicas/{replicaRegion}/botaliases/", 988 "responseCode":200 989 }, 990 "input":{"shape":"ListBotAliasReplicasRequest"}, 991 "output":{"shape":"ListBotAliasReplicasResponse"}, 992 "errors":[ 993 {"shape":"ThrottlingException"}, 994 {"shape":"ServiceQuotaExceededException"}, 995 {"shape":"ValidationException"}, 996 {"shape":"InternalServerException"} 997 ], 998 "documentation":"<p>The action to list the replicated bots created from the source bot alias.</p>" 999 }, 1000 "ListBotAliases":{ 1001 "name":"ListBotAliases", 1002 "http":{ 1003 "method":"POST", 1004 "requestUri":"/bots/{botId}/botaliases/", 1005 "responseCode":200 1006 }, 1007 "input":{"shape":"ListBotAliasesRequest"}, 1008 "output":{"shape":"ListBotAliasesResponse"}, 1009 "errors":[ 1010 {"shape":"ThrottlingException"}, 1011 {"shape":"ServiceQuotaExceededException"}, 1012 {"shape":"ValidationException"}, 1013 {"shape":"InternalServerException"} 1014 ], 1015 "documentation":"<p>Gets a list of aliases for the specified bot.</p>" 1016 }, 1017 "ListBotLocales":{ 1018 "name":"ListBotLocales", 1019 "http":{ 1020 "method":"POST", 1021 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/", 1022 "responseCode":200 1023 }, 1024 "input":{"shape":"ListBotLocalesRequest"}, 1025 "output":{"shape":"ListBotLocalesResponse"}, 1026 "errors":[ 1027 {"shape":"ThrottlingException"}, 1028 {"shape":"ServiceQuotaExceededException"}, 1029 {"shape":"ValidationException"}, 1030 {"shape":"InternalServerException"} 1031 ], 1032 "documentation":"<p>Gets a list of locales for the specified bot.</p>" 1033 }, 1034 "ListBotRecommendations":{ 1035 "name":"ListBotRecommendations", 1036 "http":{ 1037 "method":"POST", 1038 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/", 1039 "responseCode":200 1040 }, 1041 "input":{"shape":"ListBotRecommendationsRequest"}, 1042 "output":{"shape":"ListBotRecommendationsResponse"}, 1043 "errors":[ 1044 {"shape":"ThrottlingException"}, 1045 {"shape":"ValidationException"}, 1046 {"shape":"InternalServerException"}, 1047 {"shape":"ResourceNotFoundException"} 1048 ], 1049 "documentation":"<p>Get a list of bot recommendations that meet the specified criteria.</p>" 1050 }, 1051 "ListBotReplicas":{ 1052 "name":"ListBotReplicas", 1053 "http":{ 1054 "method":"POST", 1055 "requestUri":"/bots/{botId}/replicas/", 1056 "responseCode":200 1057 }, 1058 "input":{"shape":"ListBotReplicasRequest"}, 1059 "output":{"shape":"ListBotReplicasResponse"}, 1060 "errors":[ 1061 {"shape":"ThrottlingException"}, 1062 {"shape":"ServiceQuotaExceededException"}, 1063 {"shape":"ValidationException"}, 1064 {"shape":"InternalServerException"} 1065 ], 1066 "documentation":"<p>The action to list the replicated bots.</p>" 1067 }, 1068 "ListBotResourceGenerations":{ 1069 "name":"ListBotResourceGenerations", 1070 "http":{ 1071 "method":"POST", 1072 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/generations", 1073 "responseCode":200 1074 }, 1075 "input":{"shape":"ListBotResourceGenerationsRequest"}, 1076 "output":{"shape":"ListBotResourceGenerationsResponse"}, 1077 "errors":[ 1078 {"shape":"ThrottlingException"}, 1079 {"shape":"ValidationException"}, 1080 {"shape":"InternalServerException"}, 1081 {"shape":"ResourceNotFoundException"} 1082 ], 1083 "documentation":"<p>Lists the generation requests made for a bot locale.</p>" 1084 }, 1085 "ListBotVersionReplicas":{ 1086 "name":"ListBotVersionReplicas", 1087 "http":{ 1088 "method":"POST", 1089 "requestUri":"/bots/{botId}/replicas/{replicaRegion}/botversions/", 1090 "responseCode":200 1091 }, 1092 "input":{"shape":"ListBotVersionReplicasRequest"}, 1093 "output":{"shape":"ListBotVersionReplicasResponse"}, 1094 "errors":[ 1095 {"shape":"ThrottlingException"}, 1096 {"shape":"ServiceQuotaExceededException"}, 1097 {"shape":"ValidationException"}, 1098 {"shape":"InternalServerException"} 1099 ], 1100 "documentation":"<p>Contains information about all the versions replication statuses applicable for Global Resiliency.</p>" 1101 }, 1102 "ListBotVersions":{ 1103 "name":"ListBotVersions", 1104 "http":{ 1105 "method":"POST", 1106 "requestUri":"/bots/{botId}/botversions/", 1107 "responseCode":200 1108 }, 1109 "input":{"shape":"ListBotVersionsRequest"}, 1110 "output":{"shape":"ListBotVersionsResponse"}, 1111 "errors":[ 1112 {"shape":"ThrottlingException"}, 1113 {"shape":"ServiceQuotaExceededException"}, 1114 {"shape":"ValidationException"}, 1115 {"shape":"InternalServerException"} 1116 ], 1117 "documentation":"<p>Gets information about all of the versions of a bot.</p> <p>The <code>ListBotVersions</code> operation returns a summary of each version of a bot. For example, if a bot has three numbered versions, the <code>ListBotVersions</code> operation returns for summaries, one for each numbered version and one for the <code>DRAFT</code> version.</p> <p>The <code>ListBotVersions</code> operation always returns at least one version, the <code>DRAFT</code> version.</p>" 1118 }, 1119 "ListBots":{ 1120 "name":"ListBots", 1121 "http":{ 1122 "method":"POST", 1123 "requestUri":"/bots/", 1124 "responseCode":200 1125 }, 1126 "input":{"shape":"ListBotsRequest"}, 1127 "output":{"shape":"ListBotsResponse"}, 1128 "errors":[ 1129 {"shape":"ThrottlingException"}, 1130 {"shape":"ServiceQuotaExceededException"}, 1131 {"shape":"ValidationException"}, 1132 {"shape":"InternalServerException"} 1133 ], 1134 "documentation":"<p>Gets a list of available bots.</p>" 1135 }, 1136 "ListBuiltInIntents":{ 1137 "name":"ListBuiltInIntents", 1138 "http":{ 1139 "method":"POST", 1140 "requestUri":"/builtins/locales/{localeId}/intents/", 1141 "responseCode":200 1142 }, 1143 "input":{"shape":"ListBuiltInIntentsRequest"}, 1144 "output":{"shape":"ListBuiltInIntentsResponse"}, 1145 "errors":[ 1146 {"shape":"ThrottlingException"}, 1147 {"shape":"ServiceQuotaExceededException"}, 1148 {"shape":"ValidationException"}, 1149 {"shape":"InternalServerException"} 1150 ], 1151 "documentation":"<p>Gets a list of built-in intents provided by Amazon Lex that you can use in your bot. </p> <p>To use a built-in intent as a the base for your own intent, include the built-in intent signature in the <code>parentIntentSignature</code> parameter when you call the <code>CreateIntent</code> operation. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateIntent.html\">CreateIntent</a>.</p>" 1152 }, 1153 "ListBuiltInSlotTypes":{ 1154 "name":"ListBuiltInSlotTypes", 1155 "http":{ 1156 "method":"POST", 1157 "requestUri":"/builtins/locales/{localeId}/slottypes/", 1158 "responseCode":200 1159 }, 1160 "input":{"shape":"ListBuiltInSlotTypesRequest"}, 1161 "output":{"shape":"ListBuiltInSlotTypesResponse"}, 1162 "errors":[ 1163 {"shape":"ThrottlingException"}, 1164 {"shape":"ServiceQuotaExceededException"}, 1165 {"shape":"ValidationException"}, 1166 {"shape":"InternalServerException"} 1167 ], 1168 "documentation":"<p>Gets a list of built-in slot types that meet the specified criteria.</p>" 1169 }, 1170 "ListCustomVocabularyItems":{ 1171 "name":"ListCustomVocabularyItems", 1172 "http":{ 1173 "method":"POST", 1174 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/list", 1175 "responseCode":200 1176 }, 1177 "input":{"shape":"ListCustomVocabularyItemsRequest"}, 1178 "output":{"shape":"ListCustomVocabularyItemsResponse"}, 1179 "errors":[ 1180 {"shape":"ThrottlingException"}, 1181 {"shape":"ServiceQuotaExceededException"}, 1182 {"shape":"ValidationException"}, 1183 {"shape":"ResourceNotFoundException"}, 1184 {"shape":"InternalServerException"} 1185 ], 1186 "documentation":"<p>Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.</p>" 1187 }, 1188 "ListExports":{ 1189 "name":"ListExports", 1190 "http":{ 1191 "method":"POST", 1192 "requestUri":"/exports/", 1193 "responseCode":200 1194 }, 1195 "input":{"shape":"ListExportsRequest"}, 1196 "output":{"shape":"ListExportsResponse"}, 1197 "errors":[ 1198 {"shape":"ThrottlingException"}, 1199 {"shape":"ValidationException"}, 1200 {"shape":"InternalServerException"} 1201 ], 1202 "documentation":"<p>Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in the list for 7 days.</p>" 1203 }, 1204 "ListImports":{ 1205 "name":"ListImports", 1206 "http":{ 1207 "method":"POST", 1208 "requestUri":"/imports/", 1209 "responseCode":200 1210 }, 1211 "input":{"shape":"ListImportsRequest"}, 1212 "output":{"shape":"ListImportsResponse"}, 1213 "errors":[ 1214 {"shape":"ThrottlingException"}, 1215 {"shape":"ValidationException"}, 1216 {"shape":"InternalServerException"} 1217 ], 1218 "documentation":"<p>Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days.</p>" 1219 }, 1220 "ListIntentMetrics":{ 1221 "name":"ListIntentMetrics", 1222 "http":{ 1223 "method":"POST", 1224 "requestUri":"/bots/{botId}/analytics/intentmetrics", 1225 "responseCode":200 1226 }, 1227 "input":{"shape":"ListIntentMetricsRequest"}, 1228 "output":{"shape":"ListIntentMetricsResponse"}, 1229 "errors":[ 1230 {"shape":"ThrottlingException"}, 1231 {"shape":"ValidationException"}, 1232 {"shape":"PreconditionFailedException"}, 1233 {"shape":"ServiceQuotaExceededException"}, 1234 {"shape":"InternalServerException"} 1235 ], 1236 "documentation":"<p>Retrieves summary metrics for the intents in your bot. The following fields are required:</p> <ul> <li> <p> <code>metrics</code> – A list of <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_AnalyticsIntentMetric.html\">AnalyticsIntentMetric</a> objects. In each object, use the <code>name</code> field to specify the metric to calculate, the <code>statistic</code> field to specify whether to calculate the <code>Sum</code>, <code>Average</code>, or <code>Max</code> number, and the <code>order</code> field to specify whether to sort the results in <code>Ascending</code> or <code>Descending</code> order.</p> </li> <li> <p> <code>startDateTime</code> and <code>endDateTime</code> – Define a time range for which you want to retrieve results.</p> </li> </ul> <p>Of the optional fields, you can organize the results in the following ways:</p> <ul> <li> <p>Use the <code>filters</code> field to filter the results, the <code>groupBy</code> field to specify categories by which to group the results, and the <code>binBy</code> field to specify time intervals by which to group the results.</p> </li> <li> <p>Use the <code>maxResults</code> field to limit the number of results to return in a single response and the <code>nextToken</code> field to return the next batch of results if the response does not return the full set of results.</p> </li> </ul> <p>Note that an <code>order</code> field exists in both <code>binBy</code> and <code>metrics</code>. You can specify only one <code>order</code> in a given request.</p>" 1237 }, 1238 "ListIntentPaths":{ 1239 "name":"ListIntentPaths", 1240 "http":{ 1241 "method":"POST", 1242 "requestUri":"/bots/{botId}/analytics/intentpaths", 1243 "responseCode":200 1244 }, 1245 "input":{"shape":"ListIntentPathsRequest"}, 1246 "output":{"shape":"ListIntentPathsResponse"}, 1247 "errors":[ 1248 {"shape":"ThrottlingException"}, 1249 {"shape":"ValidationException"}, 1250 {"shape":"PreconditionFailedException"}, 1251 {"shape":"ServiceQuotaExceededException"}, 1252 {"shape":"InternalServerException"} 1253 ], 1254 "documentation":"<p>Retrieves summary statistics for a path of intents that users take over sessions with your bot. The following fields are required:</p> <ul> <li> <p> <code>startDateTime</code> and <code>endDateTime</code> – Define a time range for which you want to retrieve results.</p> </li> <li> <p> <code>intentPath</code> – Define an order of intents for which you want to retrieve metrics. Separate intents in the path with a forward slash. For example, populate the <code>intentPath</code> field with <code>/BookCar/BookHotel</code> to see details about how many times users invoked the <code>BookCar</code> and <code>BookHotel</code> intents in that order.</p> </li> </ul> <p>Use the optional <code>filters</code> field to filter the results.</p>" 1255 }, 1256 "ListIntentStageMetrics":{ 1257 "name":"ListIntentStageMetrics", 1258 "http":{ 1259 "method":"POST", 1260 "requestUri":"/bots/{botId}/analytics/intentstagemetrics", 1261 "responseCode":200 1262 }, 1263 "input":{"shape":"ListIntentStageMetricsRequest"}, 1264 "output":{"shape":"ListIntentStageMetricsResponse"}, 1265 "errors":[ 1266 {"shape":"ThrottlingException"}, 1267 {"shape":"ValidationException"}, 1268 {"shape":"PreconditionFailedException"}, 1269 {"shape":"ServiceQuotaExceededException"}, 1270 {"shape":"InternalServerException"} 1271 ], 1272 "documentation":"<p>Retrieves summary metrics for the stages within intents in your bot. The following fields are required:</p> <ul> <li> <p> <code>metrics</code> – A list of <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_AnalyticsIntentStageMetric.html\">AnalyticsIntentStageMetric</a> objects. In each object, use the <code>name</code> field to specify the metric to calculate, the <code>statistic</code> field to specify whether to calculate the <code>Sum</code>, <code>Average</code>, or <code>Max</code> number, and the <code>order</code> field to specify whether to sort the results in <code>Ascending</code> or <code>Descending</code> order.</p> </li> <li> <p> <code>startDateTime</code> and <code>endDateTime</code> – Define a time range for which you want to retrieve results.</p> </li> </ul> <p>Of the optional fields, you can organize the results in the following ways:</p> <ul> <li> <p>Use the <code>filters</code> field to filter the results, the <code>groupBy</code> field to specify categories by which to group the results, and the <code>binBy</code> field to specify time intervals by which to group the results.</p> </li> <li> <p>Use the <code>maxResults</code> field to limit the number of results to return in a single response and the <code>nextToken</code> field to return the next batch of results if the response does not return the full set of results.</p> </li> </ul> <p>Note that an <code>order</code> field exists in both <code>binBy</code> and <code>metrics</code>. You can only specify one <code>order</code> in a given request.</p>" 1273 }, 1274 "ListIntents":{ 1275 "name":"ListIntents", 1276 "http":{ 1277 "method":"POST", 1278 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/", 1279 "responseCode":200 1280 }, 1281 "input":{"shape":"ListIntentsRequest"}, 1282 "output":{"shape":"ListIntentsResponse"}, 1283 "errors":[ 1284 {"shape":"ThrottlingException"}, 1285 {"shape":"ServiceQuotaExceededException"}, 1286 {"shape":"ValidationException"}, 1287 {"shape":"InternalServerException"} 1288 ], 1289 "documentation":"<p>Get a list of intents that meet the specified criteria.</p>" 1290 }, 1291 "ListRecommendedIntents":{ 1292 "name":"ListRecommendedIntents", 1293 "http":{ 1294 "method":"POST", 1295 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/intents", 1296 "responseCode":200 1297 }, 1298 "input":{"shape":"ListRecommendedIntentsRequest"}, 1299 "output":{"shape":"ListRecommendedIntentsResponse"}, 1300 "errors":[ 1301 {"shape":"ThrottlingException"}, 1302 {"shape":"ServiceQuotaExceededException"}, 1303 {"shape":"ValidationException"}, 1304 {"shape":"InternalServerException"}, 1305 {"shape":"ResourceNotFoundException"} 1306 ], 1307 "documentation":"<p>Gets a list of recommended intents provided by the bot recommendation that you can use in your bot. Intents in the response are ordered by relevance.</p>" 1308 }, 1309 "ListSessionAnalyticsData":{ 1310 "name":"ListSessionAnalyticsData", 1311 "http":{ 1312 "method":"POST", 1313 "requestUri":"/bots/{botId}/analytics/sessions", 1314 "responseCode":200 1315 }, 1316 "input":{"shape":"ListSessionAnalyticsDataRequest"}, 1317 "output":{"shape":"ListSessionAnalyticsDataResponse"}, 1318 "errors":[ 1319 {"shape":"ThrottlingException"}, 1320 {"shape":"ValidationException"}, 1321 {"shape":"PreconditionFailedException"}, 1322 {"shape":"ServiceQuotaExceededException"}, 1323 {"shape":"InternalServerException"} 1324 ], 1325 "documentation":"<p>Retrieves a list of metadata for individual user sessions with your bot. The <code>startDateTime</code> and <code>endDateTime</code> fields are required. These fields define a time range for which you want to retrieve results. Of the optional fields, you can organize the results in the following ways:</p> <ul> <li> <p>Use the <code>filters</code> field to filter the results and the <code>sortBy</code> field to specify the values by which to sort the results.</p> </li> <li> <p>Use the <code>maxResults</code> field to limit the number of results to return in a single response and the <code>nextToken</code> field to return the next batch of results if the response does not return the full set of results.</p> </li> </ul>" 1326 }, 1327 "ListSessionMetrics":{ 1328 "name":"ListSessionMetrics", 1329 "http":{ 1330 "method":"POST", 1331 "requestUri":"/bots/{botId}/analytics/sessionmetrics", 1332 "responseCode":200 1333 }, 1334 "input":{"shape":"ListSessionMetricsRequest"}, 1335 "output":{"shape":"ListSessionMetricsResponse"}, 1336 "errors":[ 1337 {"shape":"ThrottlingException"}, 1338 {"shape":"ValidationException"}, 1339 {"shape":"PreconditionFailedException"}, 1340 {"shape":"ServiceQuotaExceededException"}, 1341 {"shape":"InternalServerException"} 1342 ], 1343 "documentation":"<p>Retrieves summary metrics for the user sessions with your bot. The following fields are required:</p> <ul> <li> <p> <code>metrics</code> – A list of <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_AnalyticsSessionMetric.html\">AnalyticsSessionMetric</a> objects. In each object, use the <code>name</code> field to specify the metric to calculate, the <code>statistic</code> field to specify whether to calculate the <code>Sum</code>, <code>Average</code>, or <code>Max</code> number, and the <code>order</code> field to specify whether to sort the results in <code>Ascending</code> or <code>Descending</code> order.</p> </li> <li> <p> <code>startDateTime</code> and <code>endDateTime</code> – Define a time range for which you want to retrieve results.</p> </li> </ul> <p>Of the optional fields, you can organize the results in the following ways:</p> <ul> <li> <p>Use the <code>filters</code> field to filter the results, the <code>groupBy</code> field to specify categories by which to group the results, and the <code>binBy</code> field to specify time intervals by which to group the results.</p> </li> <li> <p>Use the <code>maxResults</code> field to limit the number of results to return in a single response and the <code>nextToken</code> field to return the next batch of results if the response does not return the full set of results.</p> </li> </ul> <p>Note that an <code>order</code> field exists in both <code>binBy</code> and <code>metrics</code>. Currently, you can specify it in either field, but not in both.</p>" 1344 }, 1345 "ListSlotTypes":{ 1346 "name":"ListSlotTypes", 1347 "http":{ 1348 "method":"POST", 1349 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/", 1350 "responseCode":200 1351 }, 1352 "input":{"shape":"ListSlotTypesRequest"}, 1353 "output":{"shape":"ListSlotTypesResponse"}, 1354 "errors":[ 1355 {"shape":"ThrottlingException"}, 1356 {"shape":"ServiceQuotaExceededException"}, 1357 {"shape":"ValidationException"}, 1358 {"shape":"InternalServerException"} 1359 ], 1360 "documentation":"<p>Gets a list of slot types that match the specified criteria.</p>" 1361 }, 1362 "ListSlots":{ 1363 "name":"ListSlots", 1364 "http":{ 1365 "method":"POST", 1366 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/", 1367 "responseCode":200 1368 }, 1369 "input":{"shape":"ListSlotsRequest"}, 1370 "output":{"shape":"ListSlotsResponse"}, 1371 "errors":[ 1372 {"shape":"ThrottlingException"}, 1373 {"shape":"ServiceQuotaExceededException"}, 1374 {"shape":"ValidationException"}, 1375 {"shape":"InternalServerException"} 1376 ], 1377 "documentation":"<p>Gets a list of slots that match the specified criteria.</p>" 1378 }, 1379 "ListTagsForResource":{ 1380 "name":"ListTagsForResource", 1381 "http":{ 1382 "method":"GET", 1383 "requestUri":"/tags/{resourceARN}", 1384 "responseCode":200 1385 }, 1386 "input":{"shape":"ListTagsForResourceRequest"}, 1387 "output":{"shape":"ListTagsForResourceResponse"}, 1388 "errors":[ 1389 {"shape":"InternalServerException"}, 1390 {"shape":"ThrottlingException"}, 1391 {"shape":"ResourceNotFoundException"}, 1392 {"shape":"ValidationException"} 1393 ], 1394 "documentation":"<p>Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags associated with them.</p>" 1395 }, 1396 "ListTestExecutionResultItems":{ 1397 "name":"ListTestExecutionResultItems", 1398 "http":{ 1399 "method":"POST", 1400 "requestUri":"/testexecutions/{testExecutionId}/results", 1401 "responseCode":200 1402 }, 1403 "input":{"shape":"ListTestExecutionResultItemsRequest"}, 1404 "output":{"shape":"ListTestExecutionResultItemsResponse"}, 1405 "errors":[ 1406 {"shape":"ThrottlingException"}, 1407 {"shape":"ServiceQuotaExceededException"}, 1408 {"shape":"ValidationException"}, 1409 {"shape":"ResourceNotFoundException"}, 1410 {"shape":"InternalServerException"} 1411 ], 1412 "documentation":"<p>Gets a list of test execution result items.</p>" 1413 }, 1414 "ListTestExecutions":{ 1415 "name":"ListTestExecutions", 1416 "http":{ 1417 "method":"POST", 1418 "requestUri":"/testexecutions", 1419 "responseCode":200 1420 }, 1421 "input":{"shape":"ListTestExecutionsRequest"}, 1422 "output":{"shape":"ListTestExecutionsResponse"}, 1423 "errors":[ 1424 {"shape":"ThrottlingException"}, 1425 {"shape":"ServiceQuotaExceededException"}, 1426 {"shape":"ValidationException"}, 1427 {"shape":"InternalServerException"} 1428 ], 1429 "documentation":"<p>The list of test set executions.</p>" 1430 }, 1431 "ListTestSetRecords":{ 1432 "name":"ListTestSetRecords", 1433 "http":{ 1434 "method":"POST", 1435 "requestUri":"/testsets/{testSetId}/records", 1436 "responseCode":200 1437 }, 1438 "input":{"shape":"ListTestSetRecordsRequest"}, 1439 "output":{"shape":"ListTestSetRecordsResponse"}, 1440 "errors":[ 1441 {"shape":"ThrottlingException"}, 1442 {"shape":"ServiceQuotaExceededException"}, 1443 {"shape":"ValidationException"}, 1444 {"shape":"ResourceNotFoundException"}, 1445 {"shape":"InternalServerException"} 1446 ], 1447 "documentation":"<p>The list of test set records.</p>" 1448 }, 1449 "ListTestSets":{ 1450 "name":"ListTestSets", 1451 "http":{ 1452 "method":"POST", 1453 "requestUri":"/testsets", 1454 "responseCode":200 1455 }, 1456 "input":{"shape":"ListTestSetsRequest"}, 1457 "output":{"shape":"ListTestSetsResponse"}, 1458 "errors":[ 1459 {"shape":"ThrottlingException"}, 1460 {"shape":"ServiceQuotaExceededException"}, 1461 {"shape":"ValidationException"}, 1462 {"shape":"InternalServerException"} 1463 ], 1464 "documentation":"<p>The list of the test sets</p>" 1465 }, 1466 "ListUtteranceAnalyticsData":{ 1467 "name":"ListUtteranceAnalyticsData", 1468 "http":{ 1469 "method":"POST", 1470 "requestUri":"/bots/{botId}/analytics/utterances", 1471 "responseCode":200 1472 }, 1473 "input":{"shape":"ListUtteranceAnalyticsDataRequest"}, 1474 "output":{"shape":"ListUtteranceAnalyticsDataResponse"}, 1475 "errors":[ 1476 {"shape":"ThrottlingException"}, 1477 {"shape":"ValidationException"}, 1478 {"shape":"PreconditionFailedException"}, 1479 {"shape":"ServiceQuotaExceededException"}, 1480 {"shape":"InternalServerException"} 1481 ], 1482 "documentation":"<note> <p>To use this API operation, your IAM role must have permissions to perform the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListAggregatedUtterances.html\">ListAggregatedUtterances</a> operation, which provides access to utterance-related analytics. See <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/monitoring-utterances.html\">Viewing utterance statistics</a> for the IAM policy to apply to the IAM role.</p> </note> <p>Retrieves a list of metadata for individual user utterances to your bot. The following fields are required:</p> <ul> <li> <p> <code>startDateTime</code> and <code>endDateTime</code> – Define a time range for which you want to retrieve results.</p> </li> </ul> <p>Of the optional fields, you can organize the results in the following ways:</p> <ul> <li> <p>Use the <code>filters</code> field to filter the results and the <code>sortBy</code> field to specify the values by which to sort the results.</p> </li> <li> <p>Use the <code>maxResults</code> field to limit the number of results to return in a single response and the <code>nextToken</code> field to return the next batch of results if the response does not return the full set of results.</p> </li> </ul>" 1483 }, 1484 "ListUtteranceMetrics":{ 1485 "name":"ListUtteranceMetrics", 1486 "http":{ 1487 "method":"POST", 1488 "requestUri":"/bots/{botId}/analytics/utterancemetrics", 1489 "responseCode":200 1490 }, 1491 "input":{"shape":"ListUtteranceMetricsRequest"}, 1492 "output":{"shape":"ListUtteranceMetricsResponse"}, 1493 "errors":[ 1494 {"shape":"ThrottlingException"}, 1495 {"shape":"ValidationException"}, 1496 {"shape":"PreconditionFailedException"}, 1497 {"shape":"ServiceQuotaExceededException"}, 1498 {"shape":"InternalServerException"} 1499 ], 1500 "documentation":"<note> <p>To use this API operation, your IAM role must have permissions to perform the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListAggregatedUtterances.html\">ListAggregatedUtterances</a> operation, which provides access to utterance-related analytics. See <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/monitoring-utterances.html\">Viewing utterance statistics</a> for the IAM policy to apply to the IAM role.</p> </note> <p>Retrieves summary metrics for the utterances in your bot. The following fields are required:</p> <ul> <li> <p> <code>metrics</code> – A list of <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_AnalyticsUtteranceMetric.html\">AnalyticsUtteranceMetric</a> objects. In each object, use the <code>name</code> field to specify the metric to calculate, the <code>statistic</code> field to specify whether to calculate the <code>Sum</code>, <code>Average</code>, or <code>Max</code> number, and the <code>order</code> field to specify whether to sort the results in <code>Ascending</code> or <code>Descending</code> order.</p> </li> <li> <p> <code>startDateTime</code> and <code>endDateTime</code> – Define a time range for which you want to retrieve results.</p> </li> </ul> <p>Of the optional fields, you can organize the results in the following ways:</p> <ul> <li> <p>Use the <code>filters</code> field to filter the results, the <code>groupBy</code> field to specify categories by which to group the results, and the <code>binBy</code> field to specify time intervals by which to group the results.</p> </li> <li> <p>Use the <code>maxResults</code> field to limit the number of results to return in a single response and the <code>nextToken</code> field to return the next batch of results if the response does not return the full set of results.</p> </li> </ul> <p>Note that an <code>order</code> field exists in both <code>binBy</code> and <code>metrics</code>. Currently, you can specify it in either field, but not in both.</p>" 1501 }, 1502 "SearchAssociatedTranscripts":{ 1503 "name":"SearchAssociatedTranscripts", 1504 "http":{ 1505 "method":"POST", 1506 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/associatedtranscripts", 1507 "responseCode":200 1508 }, 1509 "input":{"shape":"SearchAssociatedTranscriptsRequest"}, 1510 "output":{"shape":"SearchAssociatedTranscriptsResponse"}, 1511 "errors":[ 1512 {"shape":"ThrottlingException"}, 1513 {"shape":"ServiceQuotaExceededException"}, 1514 {"shape":"ValidationException"}, 1515 {"shape":"InternalServerException"}, 1516 {"shape":"ResourceNotFoundException"} 1517 ], 1518 "documentation":"<p>Search for associated transcripts that meet the specified criteria.</p>" 1519 }, 1520 "StartBotRecommendation":{ 1521 "name":"StartBotRecommendation", 1522 "http":{ 1523 "method":"PUT", 1524 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/", 1525 "responseCode":202 1526 }, 1527 "input":{"shape":"StartBotRecommendationRequest"}, 1528 "output":{"shape":"StartBotRecommendationResponse"}, 1529 "errors":[ 1530 {"shape":"ThrottlingException"}, 1531 {"shape":"ServiceQuotaExceededException"}, 1532 {"shape":"ValidationException"}, 1533 {"shape":"ResourceNotFoundException"}, 1534 {"shape":"ConflictException"}, 1535 {"shape":"PreconditionFailedException"}, 1536 {"shape":"ConflictException"}, 1537 {"shape":"InternalServerException"} 1538 ], 1539 "documentation":"<p>Use this to provide your transcript data, and to start the bot recommendation process.</p>" 1540 }, 1541 "StartBotResourceGeneration":{ 1542 "name":"StartBotResourceGeneration", 1543 "http":{ 1544 "method":"PUT", 1545 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/startgeneration", 1546 "responseCode":202 1547 }, 1548 "input":{"shape":"StartBotResourceGenerationRequest"}, 1549 "output":{"shape":"StartBotResourceGenerationResponse"}, 1550 "errors":[ 1551 {"shape":"ThrottlingException"}, 1552 {"shape":"ServiceQuotaExceededException"}, 1553 {"shape":"ValidationException"}, 1554 {"shape":"PreconditionFailedException"}, 1555 {"shape":"ConflictException"}, 1556 {"shape":"InternalServerException"} 1557 ], 1558 "documentation":"<p>Starts a request for the descriptive bot builder to generate a bot locale configuration based on the prompt you provide it. After you make this call, use the <code>DescribeBotResourceGeneration</code> operation to check on the status of the generation and for the <code>generatedBotLocaleUrl</code> when the generation is complete. Use that value to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.</p>", 1559 "idempotent":true 1560 }, 1561 "StartImport":{ 1562 "name":"StartImport", 1563 "http":{ 1564 "method":"PUT", 1565 "requestUri":"/imports/", 1566 "responseCode":202 1567 }, 1568 "input":{"shape":"StartImportRequest"}, 1569 "output":{"shape":"StartImportResponse"}, 1570 "errors":[ 1571 {"shape":"ThrottlingException"}, 1572 {"shape":"ServiceQuotaExceededException"}, 1573 {"shape":"ValidationException"}, 1574 {"shape":"ResourceNotFoundException"}, 1575 {"shape":"ConflictException"}, 1576 {"shape":"InternalServerException"} 1577 ], 1578 "documentation":"<p>Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.</p>" 1579 }, 1580 "StartTestExecution":{ 1581 "name":"StartTestExecution", 1582 "http":{ 1583 "method":"POST", 1584 "requestUri":"/testsets/{testSetId}/testexecutions", 1585 "responseCode":202 1586 }, 1587 "input":{"shape":"StartTestExecutionRequest"}, 1588 "output":{"shape":"StartTestExecutionResponse"}, 1589 "errors":[ 1590 {"shape":"ThrottlingException"}, 1591 {"shape":"ServiceQuotaExceededException"}, 1592 {"shape":"ResourceNotFoundException"}, 1593 {"shape":"ValidationException"}, 1594 {"shape":"ConflictException"}, 1595 {"shape":"InternalServerException"} 1596 ], 1597 "documentation":"<p>The action to start test set execution.</p>" 1598 }, 1599 "StartTestSetGeneration":{ 1600 "name":"StartTestSetGeneration", 1601 "http":{ 1602 "method":"PUT", 1603 "requestUri":"/testsetgenerations", 1604 "responseCode":202 1605 }, 1606 "input":{"shape":"StartTestSetGenerationRequest"}, 1607 "output":{"shape":"StartTestSetGenerationResponse"}, 1608 "errors":[ 1609 {"shape":"ThrottlingException"}, 1610 {"shape":"ServiceQuotaExceededException"}, 1611 {"shape":"ValidationException"}, 1612 {"shape":"ConflictException"}, 1613 {"shape":"ResourceNotFoundException"}, 1614 {"shape":"InternalServerException"} 1615 ], 1616 "documentation":"<p>The action to start the generation of test set.</p>", 1617 "idempotent":true 1618 }, 1619 "StopBotRecommendation":{ 1620 "name":"StopBotRecommendation", 1621 "http":{ 1622 "method":"PUT", 1623 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/stopbotrecommendation", 1624 "responseCode":202 1625 }, 1626 "input":{"shape":"StopBotRecommendationRequest"}, 1627 "output":{"shape":"StopBotRecommendationResponse"}, 1628 "errors":[ 1629 {"shape":"ThrottlingException"}, 1630 {"shape":"ServiceQuotaExceededException"}, 1631 {"shape":"ValidationException"}, 1632 {"shape":"ResourceNotFoundException"}, 1633 {"shape":"ConflictException"}, 1634 {"shape":"PreconditionFailedException"}, 1635 {"shape":"ConflictException"}, 1636 {"shape":"InternalServerException"} 1637 ], 1638 "documentation":"<p>Stop an already running Bot Recommendation request.</p>" 1639 }, 1640 "TagResource":{ 1641 "name":"TagResource", 1642 "http":{ 1643 "method":"POST", 1644 "requestUri":"/tags/{resourceARN}", 1645 "responseCode":200 1646 }, 1647 "input":{"shape":"TagResourceRequest"}, 1648 "output":{"shape":"TagResourceResponse"}, 1649 "errors":[ 1650 {"shape":"InternalServerException"}, 1651 {"shape":"ThrottlingException"}, 1652 {"shape":"ResourceNotFoundException"}, 1653 {"shape":"ValidationException"} 1654 ], 1655 "documentation":"<p>Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced with the new value.</p>" 1656 }, 1657 "UntagResource":{ 1658 "name":"UntagResource", 1659 "http":{ 1660 "method":"DELETE", 1661 "requestUri":"/tags/{resourceARN}", 1662 "responseCode":200 1663 }, 1664 "input":{"shape":"UntagResourceRequest"}, 1665 "output":{"shape":"UntagResourceResponse"}, 1666 "errors":[ 1667 {"shape":"InternalServerException"}, 1668 {"shape":"ThrottlingException"}, 1669 {"shape":"ResourceNotFoundException"}, 1670 {"shape":"ValidationException"} 1671 ], 1672 "documentation":"<p>Removes tags from a bot, bot alias, or bot channel.</p>" 1673 }, 1674 "UpdateBot":{ 1675 "name":"UpdateBot", 1676 "http":{ 1677 "method":"PUT", 1678 "requestUri":"/bots/{botId}/", 1679 "responseCode":202 1680 }, 1681 "input":{"shape":"UpdateBotRequest"}, 1682 "output":{"shape":"UpdateBotResponse"}, 1683 "errors":[ 1684 {"shape":"ThrottlingException"}, 1685 {"shape":"ServiceQuotaExceededException"}, 1686 {"shape":"ValidationException"}, 1687 {"shape":"PreconditionFailedException"}, 1688 {"shape":"ConflictException"}, 1689 {"shape":"InternalServerException"} 1690 ], 1691 "documentation":"<p>Updates the configuration of an existing bot. </p>" 1692 }, 1693 "UpdateBotAlias":{ 1694 "name":"UpdateBotAlias", 1695 "http":{ 1696 "method":"PUT", 1697 "requestUri":"/bots/{botId}/botaliases/{botAliasId}/", 1698 "responseCode":202 1699 }, 1700 "input":{"shape":"UpdateBotAliasRequest"}, 1701 "output":{"shape":"UpdateBotAliasResponse"}, 1702 "errors":[ 1703 {"shape":"ThrottlingException"}, 1704 {"shape":"ServiceQuotaExceededException"}, 1705 {"shape":"ValidationException"}, 1706 {"shape":"PreconditionFailedException"}, 1707 {"shape":"ConflictException"}, 1708 {"shape":"InternalServerException"} 1709 ], 1710 "documentation":"<p>Updates the configuration of an existing bot alias.</p>" 1711 }, 1712 "UpdateBotLocale":{ 1713 "name":"UpdateBotLocale", 1714 "http":{ 1715 "method":"PUT", 1716 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/", 1717 "responseCode":202 1718 }, 1719 "input":{"shape":"UpdateBotLocaleRequest"}, 1720 "output":{"shape":"UpdateBotLocaleResponse"}, 1721 "errors":[ 1722 {"shape":"ThrottlingException"}, 1723 {"shape":"ServiceQuotaExceededException"}, 1724 {"shape":"ValidationException"}, 1725 {"shape":"PreconditionFailedException"}, 1726 {"shape":"ConflictException"}, 1727 {"shape":"InternalServerException"} 1728 ], 1729 "documentation":"<p>Updates the settings that a bot has for a specific locale.</p>" 1730 }, 1731 "UpdateBotRecommendation":{ 1732 "name":"UpdateBotRecommendation", 1733 "http":{ 1734 "method":"PUT", 1735 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/", 1736 "responseCode":202 1737 }, 1738 "input":{"shape":"UpdateBotRecommendationRequest"}, 1739 "output":{"shape":"UpdateBotRecommendationResponse"}, 1740 "errors":[ 1741 {"shape":"ThrottlingException"}, 1742 {"shape":"ServiceQuotaExceededException"}, 1743 {"shape":"ValidationException"}, 1744 {"shape":"ResourceNotFoundException"}, 1745 {"shape":"ConflictException"}, 1746 {"shape":"PreconditionFailedException"}, 1747 {"shape":"ConflictException"}, 1748 {"shape":"InternalServerException"} 1749 ], 1750 "documentation":"<p>Updates an existing bot recommendation request.</p>" 1751 }, 1752 "UpdateExport":{ 1753 "name":"UpdateExport", 1754 "http":{ 1755 "method":"PUT", 1756 "requestUri":"/exports/{exportId}/", 1757 "responseCode":202 1758 }, 1759 "input":{"shape":"UpdateExportRequest"}, 1760 "output":{"shape":"UpdateExportResponse"}, 1761 "errors":[ 1762 {"shape":"ThrottlingException"}, 1763 {"shape":"ServiceQuotaExceededException"}, 1764 {"shape":"ValidationException"}, 1765 {"shape":"ResourceNotFoundException"}, 1766 {"shape":"ConflictException"}, 1767 {"shape":"InternalServerException"} 1768 ], 1769 "documentation":"<p>Updates the password used to protect an export zip archive.</p> <p>The password is not required. If you don't supply a password, Amazon Lex generates a zip file that is not protected by a password. This is the archive that is available at the pre-signed S3 URL provided by the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html\">DescribeExport</a> operation.</p>" 1770 }, 1771 "UpdateIntent":{ 1772 "name":"UpdateIntent", 1773 "http":{ 1774 "method":"PUT", 1775 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/", 1776 "responseCode":200 1777 }, 1778 "input":{"shape":"UpdateIntentRequest"}, 1779 "output":{"shape":"UpdateIntentResponse"}, 1780 "errors":[ 1781 {"shape":"ThrottlingException"}, 1782 {"shape":"ServiceQuotaExceededException"}, 1783 {"shape":"ValidationException"}, 1784 {"shape":"PreconditionFailedException"}, 1785 {"shape":"ConflictException"}, 1786 {"shape":"InternalServerException"} 1787 ], 1788 "documentation":"<p>Updates the settings for an intent.</p>" 1789 }, 1790 "UpdateResourcePolicy":{ 1791 "name":"UpdateResourcePolicy", 1792 "http":{ 1793 "method":"PUT", 1794 "requestUri":"/policy/{resourceArn}/", 1795 "responseCode":200 1796 }, 1797 "input":{"shape":"UpdateResourcePolicyRequest"}, 1798 "output":{"shape":"UpdateResourcePolicyResponse"}, 1799 "errors":[ 1800 {"shape":"ResourceNotFoundException"}, 1801 {"shape":"ServiceQuotaExceededException"}, 1802 {"shape":"PreconditionFailedException"}, 1803 {"shape":"ValidationException"}, 1804 {"shape":"InternalServerException"}, 1805 {"shape":"ThrottlingException"} 1806 ], 1807 "documentation":"<p>Replaces the existing resource policy for a bot or bot alias with a new one. If the policy doesn't exist, Amazon Lex returns an exception.</p>" 1808 }, 1809 "UpdateSlot":{ 1810 "name":"UpdateSlot", 1811 "http":{ 1812 "method":"PUT", 1813 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}/", 1814 "responseCode":200 1815 }, 1816 "input":{"shape":"UpdateSlotRequest"}, 1817 "output":{"shape":"UpdateSlotResponse"}, 1818 "errors":[ 1819 {"shape":"ThrottlingException"}, 1820 {"shape":"ServiceQuotaExceededException"}, 1821 {"shape":"ValidationException"}, 1822 {"shape":"PreconditionFailedException"}, 1823 {"shape":"ConflictException"}, 1824 {"shape":"InternalServerException"} 1825 ], 1826 "documentation":"<p>Updates the settings for a slot.</p>" 1827 }, 1828 "UpdateSlotType":{ 1829 "name":"UpdateSlotType", 1830 "http":{ 1831 "method":"PUT", 1832 "requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}/", 1833 "responseCode":202 1834 }, 1835 "input":{"shape":"UpdateSlotTypeRequest"}, 1836 "output":{"shape":"UpdateSlotTypeResponse"}, 1837 "errors":[ 1838 {"shape":"ThrottlingException"}, 1839 {"shape":"ServiceQuotaExceededException"}, 1840 {"shape":"ValidationException"}, 1841 {"shape":"PreconditionFailedException"}, 1842 {"shape":"ConflictException"}, 1843 {"shape":"InternalServerException"} 1844 ], 1845 "documentation":"<p>Updates the configuration of an existing slot type.</p>" 1846 }, 1847 "UpdateTestSet":{ 1848 "name":"UpdateTestSet", 1849 "http":{ 1850 "method":"PUT", 1851 "requestUri":"/testsets/{testSetId}", 1852 "responseCode":200 1853 }, 1854 "input":{"shape":"UpdateTestSetRequest"}, 1855 "output":{"shape":"UpdateTestSetResponse"}, 1856 "errors":[ 1857 {"shape":"ThrottlingException"}, 1858 {"shape":"ServiceQuotaExceededException"}, 1859 {"shape":"ValidationException"}, 1860 {"shape":"PreconditionFailedException"}, 1861 {"shape":"ConflictException"}, 1862 {"shape":"InternalServerException"} 1863 ], 1864 "documentation":"<p>The action to update the test set.</p>", 1865 "idempotent":true 1866 } 1867 }, 1868 "shapes":{ 1869 "ActiveContext":{ 1870 "type":"structure", 1871 "required":["name"], 1872 "members":{ 1873 "name":{ 1874 "shape":"ActiveContextName", 1875 "documentation":"<p>The name of active context.</p>" 1876 } 1877 }, 1878 "documentation":"<p>The active context used in the test execution.</p>" 1879 }, 1880 "ActiveContextList":{ 1881 "type":"list", 1882 "member":{"shape":"ActiveContext"}, 1883 "max":20, 1884 "min":0 1885 }, 1886 "ActiveContextName":{ 1887 "type":"string", 1888 "max":100, 1889 "min":1, 1890 "pattern":"^([A-Za-z]_?)+$" 1891 }, 1892 "AdvancedRecognitionSetting":{ 1893 "type":"structure", 1894 "members":{ 1895 "audioRecognitionStrategy":{ 1896 "shape":"AudioRecognitionStrategy", 1897 "documentation":"<p>Enables using the slot values as a custom vocabulary for recognizing user utterances.</p>" 1898 } 1899 }, 1900 "documentation":"<p>Provides settings that enable advanced recognition settings for slot values.</p>" 1901 }, 1902 "AgentTurnResult":{ 1903 "type":"structure", 1904 "required":["expectedAgentPrompt"], 1905 "members":{ 1906 "expectedAgentPrompt":{ 1907 "shape":"TestSetAgentPrompt", 1908 "documentation":"<p>The expected agent prompt for the agent turn in a test set execution.</p>" 1909 }, 1910 "actualAgentPrompt":{ 1911 "shape":"TestSetAgentPrompt", 1912 "documentation":"<p>The actual agent prompt for the agent turn in a test set execution.</p>" 1913 }, 1914 "errorDetails":{"shape":"ExecutionErrorDetails"}, 1915 "actualElicitedSlot":{ 1916 "shape":"TestResultSlotName", 1917 "documentation":"<p>The actual elicited slot for the agent turn in a test set execution.</p>" 1918 }, 1919 "actualIntent":{ 1920 "shape":"Name", 1921 "documentation":"<p>The actual intent for the agent turn in a test set execution.</p>" 1922 } 1923 }, 1924 "documentation":"<p>The information about the agent turn in a test set execution.</p>" 1925 }, 1926 "AgentTurnSpecification":{ 1927 "type":"structure", 1928 "required":["agentPrompt"], 1929 "members":{ 1930 "agentPrompt":{ 1931 "shape":"TestSetAgentPrompt", 1932 "documentation":"<p>The agent prompt for the agent turn in a test set.</p>" 1933 } 1934 }, 1935 "documentation":"<p>The specification of an agent turn.</p>" 1936 }, 1937 "AggregatedUtterancesFilter":{ 1938 "type":"structure", 1939 "required":[ 1940 "name", 1941 "values", 1942 "operator" 1943 ], 1944 "members":{ 1945 "name":{ 1946 "shape":"AggregatedUtterancesFilterName", 1947 "documentation":"<p>The name of the field to filter the utterance list.</p>" 1948 }, 1949 "values":{ 1950 "shape":"FilterValues", 1951 "documentation":"<p>The value to use for filtering the list of bots.</p>" 1952 }, 1953 "operator":{ 1954 "shape":"AggregatedUtterancesFilterOperator", 1955 "documentation":"<p>The operator to use for the filter. Specify <code>EQ</code> when the <code>ListAggregatedUtterances</code> operation should return only utterances that equal the specified value. Specify <code>CO</code> when the <code>ListAggregatedUtterances</code> operation should return utterances that contain the specified value.</p>" 1956 } 1957 }, 1958 "documentation":"<p>Filters responses returned by the <code>ListAggregatedUtterances</code> operation.</p>" 1959 }, 1960 "AggregatedUtterancesFilterName":{ 1961 "type":"string", 1962 "enum":["Utterance"] 1963 }, 1964 "AggregatedUtterancesFilterOperator":{ 1965 "type":"string", 1966 "enum":[ 1967 "CO", 1968 "EQ" 1969 ] 1970 }, 1971 "AggregatedUtterancesFilters":{ 1972 "type":"list", 1973 "member":{"shape":"AggregatedUtterancesFilter"}, 1974 "max":1, 1975 "min":1 1976 }, 1977 "AggregatedUtterancesSortAttribute":{ 1978 "type":"string", 1979 "enum":[ 1980 "HitCount", 1981 "MissedCount" 1982 ] 1983 }, 1984 "AggregatedUtterancesSortBy":{ 1985 "type":"structure", 1986 "required":[ 1987 "attribute", 1988 "order" 1989 ], 1990 "members":{ 1991 "attribute":{ 1992 "shape":"AggregatedUtterancesSortAttribute", 1993 "documentation":"<p>The utterance attribute to sort by.</p>" 1994 }, 1995 "order":{ 1996 "shape":"SortOrder", 1997 "documentation":"<p>Specifies whether to sort the aggregated utterances in ascending or descending order.</p>" 1998 } 1999 }, 2000 "documentation":"<p>Specifies attributes for sorting a list of utterances.</p>" 2001 }, 2002 "AggregatedUtterancesSummary":{ 2003 "type":"structure", 2004 "members":{ 2005 "utterance":{ 2006 "shape":"Utterance", 2007 "documentation":"<p>The text of the utterance. If the utterance was used with the <code>RecognizeUtterance</code> operation, the text is the transcription of the audio utterance.</p>" 2008 }, 2009 "hitCount":{ 2010 "shape":"HitCount", 2011 "documentation":"<p>The number of times that the utterance was detected by Amazon Lex during the time period. When an utterance is detected, it activates an intent or a slot.</p>" 2012 }, 2013 "missedCount":{ 2014 "shape":"MissedCount", 2015 "documentation":"<p>The number of times that the utterance was missed by Amazon Lex An utterance is missed when it doesn't activate an intent or slot.</p>" 2016 }, 2017 "utteranceFirstRecordedInAggregationDuration":{ 2018 "shape":"Timestamp", 2019 "documentation":"<p>The date and time that the utterance was first recorded in the time window for aggregation. An utterance may have been sent to Amazon Lex before that time, but only utterances within the time window are counted.</p>" 2020 }, 2021 "utteranceLastRecordedInAggregationDuration":{ 2022 "shape":"Timestamp", 2023 "documentation":"<p>The last date and time that an utterance was recorded in the time window for aggregation. An utterance may be sent to Amazon Lex after that time, but only utterances within the time window are counted.</p>" 2024 }, 2025 "containsDataFromDeletedResources":{ 2026 "shape":"BoxedBoolean", 2027 "documentation":"<p>Aggregated utterance data may contain utterances from versions of your bot that have since been deleted. When the aggregated contains this kind of data, this field is set to true.</p>" 2028 } 2029 }, 2030 "documentation":"<p>Provides summary information for aggregated utterances. The <code>ListAggregatedUtterances</code> operations combines all instances of the same utterance into a single aggregated summary.</p>" 2031 }, 2032 "AggregatedUtterancesSummaryList":{ 2033 "type":"list", 2034 "member":{"shape":"AggregatedUtterancesSummary"} 2035 }, 2036 "AllowedInputTypes":{ 2037 "type":"structure", 2038 "required":[ 2039 "allowAudioInput", 2040 "allowDTMFInput" 2041 ], 2042 "members":{ 2043 "allowAudioInput":{ 2044 "shape":"BoxedBoolean", 2045 "documentation":"<p>Indicates whether audio input is allowed.</p>" 2046 }, 2047 "allowDTMFInput":{ 2048 "shape":"BoxedBoolean", 2049 "documentation":"<p>Indicates whether DTMF input is allowed.</p>" 2050 } 2051 }, 2052 "documentation":"<p>Specifies the allowed input types.</p>" 2053 }, 2054 "AmazonResourceName":{ 2055 "type":"string", 2056 "max":1011, 2057 "min":1 2058 }, 2059 "AnalyticsBinByList":{ 2060 "type":"list", 2061 "member":{"shape":"AnalyticsBinBySpecification"}, 2062 "max":1, 2063 "min":1 2064 }, 2065 "AnalyticsBinByName":{ 2066 "type":"string", 2067 "enum":[ 2068 "ConversationStartTime", 2069 "UtteranceTimestamp" 2070 ] 2071 }, 2072 "AnalyticsBinBySpecification":{ 2073 "type":"structure", 2074 "required":[ 2075 "name", 2076 "interval" 2077 ], 2078 "members":{ 2079 "name":{ 2080 "shape":"AnalyticsBinByName", 2081 "documentation":"<p>Specifies the time metric by which to bin the analytics data.</p>" 2082 }, 2083 "interval":{ 2084 "shape":"AnalyticsInterval", 2085 "documentation":"<p>Specifies the interval of time by which to bin the analytics data.</p>" 2086 }, 2087 "order":{ 2088 "shape":"AnalyticsSortOrder", 2089 "documentation":"<p>Specifies whether to bin the analytics data in ascending or descending order. If this field is left blank, the default order is by the key of the bin in descending order.</p>" 2090 } 2091 }, 2092 "documentation":"<p>Contains the time metric, interval, and method by which to bin the analytics data.</p>" 2093 }, 2094 "AnalyticsBinKey":{ 2095 "type":"structure", 2096 "members":{ 2097 "name":{ 2098 "shape":"AnalyticsBinByName", 2099 "documentation":"<p>The criterion by which to bin the results.</p>" 2100 }, 2101 "value":{ 2102 "shape":"AnalyticsBinValue", 2103 "documentation":"<p>The value of the criterion that defines the bin.</p>" 2104 } 2105 }, 2106 "documentation":"<p>An object containing the criterion by which to bin the results and the value that defines that bin.</p>" 2107 }, 2108 "AnalyticsBinKeys":{ 2109 "type":"list", 2110 "member":{"shape":"AnalyticsBinKey"}, 2111 "max":1, 2112 "min":1 2113 }, 2114 "AnalyticsBinValue":{"type":"long"}, 2115 "AnalyticsChannel":{ 2116 "type":"string", 2117 "max":50, 2118 "min":1 2119 }, 2120 "AnalyticsCommonFilterName":{ 2121 "type":"string", 2122 "enum":[ 2123 "BotAliasId", 2124 "BotVersion", 2125 "LocaleId", 2126 "Modality", 2127 "Channel" 2128 ] 2129 }, 2130 "AnalyticsFilterOperator":{ 2131 "type":"string", 2132 "enum":[ 2133 "EQ", 2134 "GT", 2135 "LT" 2136 ] 2137 }, 2138 "AnalyticsFilterValue":{"type":"string"}, 2139 "AnalyticsFilterValues":{ 2140 "type":"list", 2141 "member":{"shape":"AnalyticsFilterValue"}, 2142 "max":5, 2143 "min":1 2144 }, 2145 "AnalyticsGroupByValue":{"type":"string"}, 2146 "AnalyticsIntentField":{ 2147 "type":"string", 2148 "enum":[ 2149 "IntentName", 2150 "IntentEndState", 2151 "IntentLevel" 2152 ] 2153 }, 2154 "AnalyticsIntentFilter":{ 2155 "type":"structure", 2156 "required":[ 2157 "name", 2158 "operator", 2159 "values" 2160 ], 2161 "members":{ 2162 "name":{ 2163 "shape":"AnalyticsIntentFilterName", 2164 "documentation":"<p>The category by which to filter the intents. The descriptions for each option are as follows:</p> <ul> <li> <p> <code>BotAlias</code> – The name of the bot alias.</p> </li> <li> <p> <code>BotVersion</code> – The version of the bot.</p> </li> <li> <p> <code>LocaleId</code> – The locale of the bot.</p> </li> <li> <p> <code>Modality</code> – The modality of the session with the bot (audio, DTMF, or text).</p> </li> <li> <p> <code>Channel</code> – The channel that the bot is integrated with.</p> </li> <li> <p> <code>SessionId</code> – The identifier of the session with the bot.</p> </li> <li> <p> <code>OriginatingRequestId</code> – The identifier of the first request in a session.</p> </li> <li> <p> <code>IntentName</code> – The name of the intent.</p> </li> <li> <p> <code>IntentEndState</code> – The final state of the intent.</p> </li> </ul>" 2165 }, 2166 "operator":{ 2167 "shape":"AnalyticsFilterOperator", 2168 "documentation":"<p>The operation by which to filter the category. The following operations are possible:</p> <ul> <li> <p> <code>CO</code> – Contains</p> </li> <li> <p> <code>EQ</code> – Equals</p> </li> <li> <p> <code>GT</code> – Greater than</p> </li> <li> <p> <code>LT</code> – Less than</p> </li> </ul> <p>The operators that each filter supports are listed below:</p> <ul> <li> <p> <code>BotAlias</code> – <code>EQ</code>.</p> </li> <li> <p> <code>BotVersion</code> – <code>EQ</code>.</p> </li> <li> <p> <code>LocaleId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Modality</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Channel</code> – <code>EQ</code>.</p> </li> <li> <p> <code>SessionId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>OriginatingRequestId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>IntentName</code> – <code>EQ</code>, <code>CO</code>.</p> </li> <li> <p> <code>IntentEndState</code> – <code>EQ</code>, <code>CO</code>.</p> </li> </ul>" 2169 }, 2170 "values":{ 2171 "shape":"AnalyticsFilterValues", 2172 "documentation":"<p>An array containing the values of the category by which to apply the operator to filter the results. You can provide multiple values if the operator is <code>EQ</code> or <code>CO</code>. If you provide multiple values, you filter for results that equal/contain any of the values. For example, if the <code>name</code>, <code>operator</code>, and <code>values</code> fields are <code>Modality</code>, <code>EQ</code>, and <code>[Speech, Text]</code>, the operation filters for results where the modality was either <code>Speech</code> or <code>Text</code>.</p>" 2173 } 2174 }, 2175 "documentation":"<p>Contains fields describing a condition by which to filter the intents. The expression may be understood as <code>name</code> <code>operator</code> <code>values</code>. For example:</p> <ul> <li> <p> <code>IntentName CO Book</code> – The intent name contains the string \"Book.\"</p> </li> <li> <p> <code>BotVersion EQ 2</code> – The bot version is equal to two.</p> </li> </ul> <p>The operators that each filter supports are listed below:</p> <ul> <li> <p> <code>BotAlias</code> – <code>EQ</code>.</p> </li> <li> <p> <code>BotVersion</code> – <code>EQ</code>.</p> </li> <li> <p> <code>LocaleId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Modality</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Channel</code> – <code>EQ</code>.</p> </li> <li> <p> <code>SessionId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>OriginatingRequestId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>IntentName</code> – <code>EQ</code>, <code>CO</code>.</p> </li> <li> <p> <code>IntentEndState</code> – <code>EQ</code>, <code>CO</code>.</p> </li> </ul>" 2176 }, 2177 "AnalyticsIntentFilterName":{ 2178 "type":"string", 2179 "enum":[ 2180 "BotAliasId", 2181 "BotVersion", 2182 "LocaleId", 2183 "Modality", 2184 "Channel", 2185 "SessionId", 2186 "OriginatingRequestId", 2187 "IntentName", 2188 "IntentEndState" 2189 ] 2190 }, 2191 "AnalyticsIntentFilters":{ 2192 "type":"list", 2193 "member":{"shape":"AnalyticsIntentFilter"}, 2194 "max":9, 2195 "min":1 2196 }, 2197 "AnalyticsIntentGroupByKey":{ 2198 "type":"structure", 2199 "members":{ 2200 "name":{ 2201 "shape":"AnalyticsIntentField", 2202 "documentation":"<p>A category by which the intent analytics were grouped.</p>" 2203 }, 2204 "value":{ 2205 "shape":"AnalyticsGroupByValue", 2206 "documentation":"<p>A member of the category by which the intent analytics were grouped.</p>" 2207 } 2208 }, 2209 "documentation":"<p>Contains the category by which the intent analytics were grouped and a member of that category.</p>" 2210 }, 2211 "AnalyticsIntentGroupByKeys":{ 2212 "type":"list", 2213 "member":{"shape":"AnalyticsIntentGroupByKey"} 2214 }, 2215 "AnalyticsIntentGroupByList":{ 2216 "type":"list", 2217 "member":{"shape":"AnalyticsIntentGroupBySpecification"}, 2218 "max":3, 2219 "min":1 2220 }, 2221 "AnalyticsIntentGroupBySpecification":{ 2222 "type":"structure", 2223 "required":["name"], 2224 "members":{ 2225 "name":{ 2226 "shape":"AnalyticsIntentField", 2227 "documentation":"<p>Specifies whether to group the intent stages by their name or their end state.</p>" 2228 } 2229 }, 2230 "documentation":"<p>Contains the category by which to group the intents.</p>" 2231 }, 2232 "AnalyticsIntentMetric":{ 2233 "type":"structure", 2234 "required":[ 2235 "name", 2236 "statistic" 2237 ], 2238 "members":{ 2239 "name":{ 2240 "shape":"AnalyticsIntentMetricName", 2241 "documentation":"<p>The metric for which you want to get intent summary statistics.</p> <ul> <li> <p> <code>Count</code> – The number of times the intent was invoked.</p> </li> <li> <p> <code>Success</code> – The number of times the intent succeeded.</p> </li> <li> <p> <code>Failure</code> – The number of times the intent failed.</p> </li> <li> <p> <code>Switched</code> – The number of times there was a switch to a different intent.</p> </li> <li> <p> <code>Dropped</code> – The number of times the user dropped the intent.</p> </li> </ul>" 2242 }, 2243 "statistic":{ 2244 "shape":"AnalyticsMetricStatistic", 2245 "documentation":"<p>The summary statistic to calculate.</p> <ul> <li> <p> <code>Sum</code> – The total count for the category you provide in <code>name</code>.</p> </li> <li> <p> <code>Average</code> – The total count divided by the number of intents in the category you provide in <code>name</code>.</p> </li> <li> <p> <code>Max</code> – The highest count in the category you provide in <code>name</code>.</p> </li> </ul>" 2246 }, 2247 "order":{ 2248 "shape":"AnalyticsSortOrder", 2249 "documentation":"<p>Specifies whether to sort the results in ascending or descending order.</p>" 2250 } 2251 }, 2252 "documentation":"<p>Contains the metric and the summary statistic you want to calculate, and the order in which to sort the results, for the intents in the bot.</p>" 2253 }, 2254 "AnalyticsIntentMetricName":{ 2255 "type":"string", 2256 "enum":[ 2257 "Count", 2258 "Success", 2259 "Failure", 2260 "Switched", 2261 "Dropped" 2262 ] 2263 }, 2264 "AnalyticsIntentMetricResult":{ 2265 "type":"structure", 2266 "members":{ 2267 "name":{ 2268 "shape":"AnalyticsIntentMetricName", 2269 "documentation":"<p>The metric that you requested. See <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/analytics-key-definitions.html\">Key definitions</a> for more details about these metrics.</p> <ul> <li> <p> <code>Count</code> – The number of times the intent was invoked.</p> </li> <li> <p> <code>Success</code> – The number of times the intent succeeded.</p> </li> <li> <p> <code>Failure</code> – The number of times the intent failed.</p> </li> <li> <p> <code>Switched</code> – The number of times there was a switch to a different intent.</p> </li> <li> <p> <code>Dropped</code> – The number of times the user dropped the intent.</p> </li> </ul>" 2270 }, 2271 "statistic":{ 2272 "shape":"AnalyticsMetricStatistic", 2273 "documentation":"<p>The statistic that you requested to calculate.</p> <ul> <li> <p> <code>Sum</code> – The total count for the category you provide in <code>name</code>.</p> </li> <li> <p> <code>Average</code> – The total count divided by the number of intents in the category you provide in <code>name</code>.</p> </li> <li> <p> <code>Max</code> – The highest count in the category you provide in <code>name</code>.</p> </li> </ul>" 2274 }, 2275 "value":{ 2276 "shape":"AnalyticsMetricValue", 2277 "documentation":"<p>The value of the summary statistic for the metric that you requested.</p>" 2278 } 2279 }, 2280 "documentation":"<p>An object containing the results for the intent metric you requested.</p>" 2281 }, 2282 "AnalyticsIntentMetricResults":{ 2283 "type":"list", 2284 "member":{"shape":"AnalyticsIntentMetricResult"} 2285 }, 2286 "AnalyticsIntentMetrics":{ 2287 "type":"list", 2288 "member":{"shape":"AnalyticsIntentMetric"}, 2289 "max":5, 2290 "min":1 2291 }, 2292 "AnalyticsIntentNodeSummaries":{ 2293 "type":"list", 2294 "member":{"shape":"AnalyticsIntentNodeSummary"}, 2295 "max":100, 2296 "min":1 2297 }, 2298 "AnalyticsIntentNodeSummary":{ 2299 "type":"structure", 2300 "members":{ 2301 "intentName":{ 2302 "shape":"Name", 2303 "documentation":"<p>The name of the intent at the end of the requested path.</p>" 2304 }, 2305 "intentPath":{ 2306 "shape":"AnalyticsPath", 2307 "documentation":"<p>The path.</p>" 2308 }, 2309 "intentCount":{ 2310 "shape":"AnalyticsNodeCount", 2311 "documentation":"<p>The total number of sessions that follow the given path to the given intent.</p>" 2312 }, 2313 "intentLevel":{ 2314 "shape":"AnalyticsNodeLevel", 2315 "documentation":"<p>The number of intents up to and including the requested path.</p>" 2316 }, 2317 "nodeType":{ 2318 "shape":"AnalyticsNodeType", 2319 "documentation":"<p>Specifies whether the node is the end of a path (<code>Exit</code>) or not (<code>Inner</code>).</p>" 2320 } 2321 }, 2322 "documentation":"<p>An object containing information about the requested path.</p>" 2323 }, 2324 "AnalyticsIntentResult":{ 2325 "type":"structure", 2326 "members":{ 2327 "binKeys":{ 2328 "shape":"AnalyticsBinKeys", 2329 "documentation":"<p>A list of objects containing the criteria you requested for binning results and the values of the bins.</p>" 2330 }, 2331 "groupByKeys":{ 2332 "shape":"AnalyticsIntentGroupByKeys", 2333 "documentation":"<p>A list of objects containing the criteria you requested for grouping results and the values of the groups.</p>" 2334 }, 2335 "metricsResults":{ 2336 "shape":"AnalyticsIntentMetricResults", 2337 "documentation":"<p>A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.</p>" 2338 } 2339 }, 2340 "documentation":"<p>An object containing the results for the intent metrics you requested and the bin and/or group(s) they refer to, if applicable.</p>" 2341 }, 2342 "AnalyticsIntentResults":{ 2343 "type":"list", 2344 "member":{"shape":"AnalyticsIntentResult"} 2345 }, 2346 "AnalyticsIntentStageField":{ 2347 "type":"string", 2348 "enum":[ 2349 "IntentStageName", 2350 "SwitchedToIntent" 2351 ] 2352 }, 2353 "AnalyticsIntentStageFilter":{ 2354 "type":"structure", 2355 "required":[ 2356 "name", 2357 "operator", 2358 "values" 2359 ], 2360 "members":{ 2361 "name":{ 2362 "shape":"AnalyticsIntentStageFilterName", 2363 "documentation":"<p>The category by which to filter the intent stages. The descriptions for each option are as follows:</p> <ul> <li> <p> <code>BotAlias</code> – The name of the bot alias.</p> </li> <li> <p> <code>BotVersion</code> – The version of the bot.</p> </li> <li> <p> <code>LocaleId</code> – The locale of the bot.</p> </li> <li> <p> <code>Modality</code> – The modality of the session with the bot (audio, DTMF, or text).</p> </li> <li> <p> <code>Channel</code> – The channel that the bot is integrated with.</p> </li> <li> <p> <code>SessionId</code> – The identifier of the session with the bot.</p> </li> <li> <p> <code>OriginatingRequestId</code> – The identifier of the first request in a session.</p> </li> <li> <p> <code>IntentName</code> – The name of the intent.</p> </li> <li> <p> <code>IntentStageName</code> – The stage in the intent.</p> </li> </ul>" 2364 }, 2365 "operator":{ 2366 "shape":"AnalyticsFilterOperator", 2367 "documentation":"<p>The operation by which to filter the category. The following operations are possible:</p> <ul> <li> <p> <code>CO</code> – Contains</p> </li> <li> <p> <code>EQ</code> – Equals</p> </li> <li> <p> <code>GT</code> – Greater than</p> </li> <li> <p> <code>LT</code> – Less than</p> </li> </ul> <p>The operators that each filter supports are listed below:</p> <ul> <li> <p> <code>BotAlias</code> – <code>EQ</code>.</p> </li> <li> <p> <code>BotVersion</code> – <code>EQ</code>.</p> </li> <li> <p> <code>LocaleId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Modality</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Channel</code> – <code>EQ</code>.</p> </li> <li> <p> <code>SessionId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>OriginatingRequestId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>IntentName</code> – <code>EQ</code>, <code>CO</code>.</p> </li> <li> <p> <code>IntentStageName</code> – <code>EQ</code>, <code>CO</code>.</p> </li> </ul>" 2368 }, 2369 "values":{ 2370 "shape":"AnalyticsFilterValues", 2371 "documentation":"<p>An array containing the values of the category by which to apply the operator to filter the results. You can provide multiple values if the operator is <code>EQ</code> or <code>CO</code>. If you provide multiple values, you filter for results that equal/contain any of the values. For example, if the <code>name</code>, <code>operator</code>, and <code>values</code> fields are <code>Modality</code>, <code>EQ</code>, and <code>[Speech, Text]</code>, the operation filters for results where the modality was either <code>Speech</code> or <code>Text</code>.</p>" 2372 } 2373 }, 2374 "documentation":"<p>Contains fields describing a condition by which to filter the intent stages. The expression may be understood as <code>name</code> <code>operator</code> <code>values</code>. For example:</p> <ul> <li> <p> <code>IntentName CO Book</code> – The intent name contains the string \"Book.\"</p> </li> <li> <p> <code>BotVersion EQ 2</code> – The bot version is equal to two.</p> </li> </ul> <p>The operators that each filter supports are listed below:</p> <ul> <li> <p> <code>BotAlias</code> – <code>EQ</code>.</p> </li> <li> <p> <code>BotVersion</code> – <code>EQ</code>.</p> </li> <li> <p> <code>LocaleId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Modality</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Channel</code> – <code>EQ</code>.</p> </li> <li> <p> <code>SessionId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>OriginatingRequestId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>IntentName</code> – <code>EQ</code>, <code>CO</code>.</p> </li> <li> <p> <code>IntentStageName</code> – <code>EQ</code>, <code>CO</code>.</p> </li> </ul>" 2375 }, 2376 "AnalyticsIntentStageFilterName":{ 2377 "type":"string", 2378 "enum":[ 2379 "BotAliasId", 2380 "BotVersion", 2381 "LocaleId", 2382 "Modality", 2383 "Channel", 2384 "SessionId", 2385 "OriginatingRequestId", 2386 "IntentName", 2387 "IntentStageName" 2388 ] 2389 }, 2390 "AnalyticsIntentStageFilters":{ 2391 "type":"list", 2392 "member":{"shape":"AnalyticsIntentStageFilter"}, 2393 "max":9, 2394 "min":1 2395 }, 2396 "AnalyticsIntentStageGroupByKey":{ 2397 "type":"structure", 2398 "members":{ 2399 "name":{ 2400 "shape":"AnalyticsIntentStageField", 2401 "documentation":"<p>A category by which the intent stage analytics were grouped.</p>" 2402 }, 2403 "value":{ 2404 "shape":"AnalyticsGroupByValue", 2405 "documentation":"<p>A member of the category by which the intent stage analytics were grouped.</p>" 2406 } 2407 }, 2408 "documentation":"<p>Contains the category by which the intent stage analytics and the values for that category were grouped.</p>" 2409 }, 2410 "AnalyticsIntentStageGroupByKeys":{ 2411 "type":"list", 2412 "member":{"shape":"AnalyticsIntentStageGroupByKey"} 2413 }, 2414 "AnalyticsIntentStageGroupByList":{ 2415 "type":"list", 2416 "member":{"shape":"AnalyticsIntentStageGroupBySpecification"}, 2417 "max":2, 2418 "min":1 2419 }, 2420 "AnalyticsIntentStageGroupBySpecification":{ 2421 "type":"structure", 2422 "required":["name"], 2423 "members":{ 2424 "name":{ 2425 "shape":"AnalyticsIntentStageField", 2426 "documentation":"<p>Specifies whether to group the intent stages by their name or the intent to which the session was switched.</p>" 2427 } 2428 }, 2429 "documentation":"<p>Contains the category by which to group the intent stages.</p>" 2430 }, 2431 "AnalyticsIntentStageMetric":{ 2432 "type":"structure", 2433 "required":[ 2434 "name", 2435 "statistic" 2436 ], 2437 "members":{ 2438 "name":{ 2439 "shape":"AnalyticsIntentStageMetricName", 2440 "documentation":"<p>The metric for which you want to get intent stage summary statistics. See <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/analytics-key-definitions.html\">Key definitions</a> for more details about these metrics.</p> <ul> <li> <p> <code>Count</code> – The number of times the intent stage occurred.</p> </li> <li> <p> <code>Success</code> – The number of times the intent stage succeeded.</p> </li> <li> <p> <code>Failure</code> – The number of times the intent stage failed.</p> </li> <li> <p> <code>Dropped</code> – The number of times the user dropped the intent stage.</p> </li> <li> <p> <code>Retry</code> – The number of times the bot tried to elicit a response from the user at this stage.</p> </li> </ul>" 2441 }, 2442 "statistic":{ 2443 "shape":"AnalyticsMetricStatistic", 2444 "documentation":"<p>The summary statistic to calculate.</p> <ul> <li> <p> <code>Sum</code> – The total count for the category you provide in <code>name</code>.</p> </li> <li> <p> <code>Average</code> – The total count divided by the number of intent stages in the category you provide in <code>name</code>.</p> </li> <li> <p> <code>Max</code> – The highest count in the category you provide in <code>name</code>.</p> </li> </ul>" 2445 }, 2446 "order":{ 2447 "shape":"AnalyticsSortOrder", 2448 "documentation":"<p>Specifies whether to sort the results in ascending or descending order of the summary statistic (<code>value</code> in the response).</p>" 2449 } 2450 }, 2451 "documentation":"<p>Contains the metric and the summary statistic you want to calculate, and the order in which to sort the results, for the intent stages across the user sessions with the bot.</p>" 2452 }, 2453 "AnalyticsIntentStageMetricName":{ 2454 "type":"string", 2455 "enum":[ 2456 "Count", 2457 "Success", 2458 "Failed", 2459 "Dropped", 2460 "Retry" 2461 ] 2462 }, 2463 "AnalyticsIntentStageMetricResult":{ 2464 "type":"structure", 2465 "members":{ 2466 "name":{ 2467 "shape":"AnalyticsIntentStageMetricName", 2468 "documentation":"<p>The metric that you requested.</p> <ul> <li> <p> <code>Count</code> – The number of times the intent stage occurred.</p> </li> <li> <p> <code>Success</code> – The number of times the intent stage succeeded.</p> </li> <li> <p> <code>Failure</code> – The number of times the intent stage failed.</p> </li> <li> <p> <code>Dropped</code> – The number of times the user dropped the intent stage.</p> </li> <li> <p> <code>Retry</code> – The number of times the bot tried to elicit a response from the user at this stage.</p> </li> </ul>" 2469 }, 2470 "statistic":{ 2471 "shape":"AnalyticsMetricStatistic", 2472 "documentation":"<p>The summary statistic that you requested to calculate.</p> <ul> <li> <p> <code>Sum</code> – The total count for the category you provide in <code>name</code>.</p> </li> <li> <p> <code>Average</code> – The total count divided by the number of intent stages in the category you provide in <code>name</code>.</p> </li> <li> <p> <code>Max</code> – The highest count in the category you provide in <code>name</code>.</p> </li> </ul>" 2473 }, 2474 "value":{ 2475 "shape":"AnalyticsMetricValue", 2476 "documentation":"<p>The value of the summary statistic for the metric that you requested.</p>" 2477 } 2478 }, 2479 "documentation":"<p>An object containing the results for an intent stage metric you requested.</p>" 2480 }, 2481 "AnalyticsIntentStageMetricResults":{ 2482 "type":"list", 2483 "member":{"shape":"AnalyticsIntentStageMetricResult"} 2484 }, 2485 "AnalyticsIntentStageMetrics":{ 2486 "type":"list", 2487 "member":{"shape":"AnalyticsIntentStageMetric"}, 2488 "max":5, 2489 "min":1 2490 }, 2491 "AnalyticsIntentStageResult":{ 2492 "type":"structure", 2493 "members":{ 2494 "binKeys":{ 2495 "shape":"AnalyticsBinKeys", 2496 "documentation":"<p>A list of objects containing the criteria you requested for binning results and the values of the bins.</p>" 2497 }, 2498 "groupByKeys":{ 2499 "shape":"AnalyticsIntentStageGroupByKeys", 2500 "documentation":"<p>A list of objects containing the criteria you requested for grouping results and the values of the bins.</p>" 2501 }, 2502 "metricsResults":{ 2503 "shape":"AnalyticsIntentStageMetricResults", 2504 "documentation":"<p>A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.</p>" 2505 } 2506 }, 2507 "documentation":"<p>An object containing the results for the intent stage metrics you requested and the bin and/or group they refer to, if applicable.</p>" 2508 }, 2509 "AnalyticsIntentStageResults":{ 2510 "type":"list", 2511 "member":{"shape":"AnalyticsIntentStageResult"} 2512 }, 2513 "AnalyticsInterval":{ 2514 "type":"string", 2515 "enum":[ 2516 "OneHour", 2517 "OneDay" 2518 ] 2519 }, 2520 "AnalyticsLongValue":{"type":"long"}, 2521 "AnalyticsMetricStatistic":{ 2522 "type":"string", 2523 "enum":[ 2524 "Sum", 2525 "Avg", 2526 "Max" 2527 ] 2528 }, 2529 "AnalyticsMetricValue":{"type":"double"}, 2530 "AnalyticsModality":{ 2531 "type":"string", 2532 "enum":[ 2533 "Speech", 2534 "Text", 2535 "DTMF", 2536 "MultiMode" 2537 ] 2538 }, 2539 "AnalyticsNodeCount":{"type":"integer"}, 2540 "AnalyticsNodeLevel":{ 2541 "type":"integer", 2542 "max":100, 2543 "min":0 2544 }, 2545 "AnalyticsNodeType":{ 2546 "type":"string", 2547 "enum":[ 2548 "Inner", 2549 "Exit" 2550 ] 2551 }, 2552 "AnalyticsOriginatingRequestId":{"type":"string"}, 2553 "AnalyticsPath":{ 2554 "type":"string", 2555 "max":1024, 2556 "min":1 2557 }, 2558 "AnalyticsPathFilter":{ 2559 "type":"structure", 2560 "required":[ 2561 "name", 2562 "operator", 2563 "values" 2564 ], 2565 "members":{ 2566 "name":{ 2567 "shape":"AnalyticsCommonFilterName", 2568 "documentation":"<p>The category by which to filter the intent paths. The descriptions for each option are as follows:</p> <ul> <li> <p> <code>BotAlias</code> – The name of the bot alias.</p> </li> <li> <p> <code>BotVersion</code> – The version of the bot.</p> </li> <li> <p> <code>LocaleId</code> – The locale of the bot.</p> </li> <li> <p> <code>Modality</code> – The modality of the session with the bot (audio, DTMF, or text).</p> </li> <li> <p> <code>Channel</code> – The channel that the bot is integrated with.</p> </li> </ul>" 2569 }, 2570 "operator":{ 2571 "shape":"AnalyticsFilterOperator", 2572 "documentation":"<p>The operation by which to filter the category. The following operations are possible:</p> <ul> <li> <p> <code>CO</code> – Contains</p> </li> <li> <p> <code>EQ</code> – Equals</p> </li> <li> <p> <code>GT</code> – Greater than</p> </li> <li> <p> <code>LT</code> – Less than</p> </li> </ul> <p>The operators that each filter supports are listed below:</p> <ul> <li> <p> <code>BotAlias</code> – <code>EQ</code>.</p> </li> <li> <p> <code>BotVersion</code> – <code>EQ</code>.</p> </li> <li> <p> <code>LocaleId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Modality</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Channel</code> – <code>EQ</code>.</p> </li> </ul>" 2573 }, 2574 "values":{ 2575 "shape":"AnalyticsFilterValues", 2576 "documentation":"<p>An array containing the values of the category by which to apply the operator to filter the results. You can provide multiple values if the operator is <code>EQ</code> or <code>CO</code>. If you provide multiple values, you filter for results that equal/contain any of the values. For example, if the <code>name</code>, <code>operator</code>, and <code>values</code> fields are <code>Modality</code>, <code>EQ</code>, and <code>[Speech, Text]</code>, the operation filters for results where the modality was either <code>Speech</code> or <code>Text</code>.</p>" 2577 } 2578 }, 2579 "documentation":"<p>Contains fields describing a condition by which to filter the paths. The expression may be understood as <code>name</code> <code>operator</code> <code>values</code>. For example:</p> <ul> <li> <p> <code>LocaleId EQ en</code> – The locale is \"en\".</p> </li> <li> <p> <code>BotVersion EQ 2</code> – The bot version is equal to two.</p> </li> </ul> <p>The operators that each filter supports are listed below:</p> <ul> <li> <p> <code>BotAlias</code> – <code>EQ</code>.</p> </li> <li> <p> <code>BotVersion</code> – <code>EQ</code>.</p> </li> <li> <p> <code>LocaleId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Modality</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Channel</code> – <code>EQ</code>.</p> </li> </ul>" 2580 }, 2581 "AnalyticsPathFilters":{ 2582 "type":"list", 2583 "member":{"shape":"AnalyticsPathFilter"}, 2584 "max":5, 2585 "min":1 2586 }, 2587 "AnalyticsSessionField":{ 2588 "type":"string", 2589 "enum":[ 2590 "ConversationEndState", 2591 "LocaleId" 2592 ] 2593 }, 2594 "AnalyticsSessionFilter":{ 2595 "type":"structure", 2596 "required":[ 2597 "name", 2598 "operator", 2599 "values" 2600 ], 2601 "members":{ 2602 "name":{ 2603 "shape":"AnalyticsSessionFilterName", 2604 "documentation":"<p>The category by which to filter the sessions. The descriptions for each option are as follows:</p> <ul> <li> <p> <code>BotAlias</code> – The name of the bot alias.</p> </li> <li> <p> <code>BotVersion</code> – The version of the bot.</p> </li> <li> <p> <code>LocaleId</code> – The locale of the bot.</p> </li> <li> <p> <code>Modality</code> – The modality of the session with the bot (audio, DTMF, or text).</p> </li> <li> <p> <code>Channel</code> – The channel that the bot is integrated with.</p> </li> <li> <p> <code>Duration</code> – The duration of the session.</p> </li> <li> <p> <code>conversationEndState</code> – The final state of the session.</p> </li> <li> <p> <code>SessionId</code> – The identifier of the session with the bot.</p> </li> <li> <p> <code>OriginatingRequestId</code> – The identifier of the first request in a session.</p> </li> <li> <p> <code>IntentPath</code> – The order of intents taken in a session.</p> </li> </ul>" 2605 }, 2606 "operator":{ 2607 "shape":"AnalyticsFilterOperator", 2608 "documentation":"<p>The operation by which to filter the category. The following operations are possible:</p> <ul> <li> <p> <code>CO</code> – Contains</p> </li> <li> <p> <code>EQ</code> – Equals</p> </li> <li> <p> <code>GT</code> – Greater than</p> </li> <li> <p> <code>LT</code> – Less than</p> </li> </ul> <p>The operators that each filter supports are listed below:</p> <ul> <li> <p> <code>BotAlias</code> – <code>EQ</code>.</p> </li> <li> <p> <code>BotVersion</code> – <code>EQ</code>.</p> </li> <li> <p> <code>LocaleId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Modality</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Channel</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Duration</code> – <code>EQ</code>, <code>GT</code>, <code>LT</code>.</p> </li> <li> <p> <code>conversationEndState</code> – <code>EQ</code>, <code>CO</code>.</p> </li> <li> <p> <code>SessionId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>OriginatingRequestId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>IntentPath</code> – <code>EQ</code>.</p> </li> </ul>" 2609 }, 2610 "values":{ 2611 "shape":"AnalyticsFilterValues", 2612 "documentation":"<p>An array containing the values of the category by which to apply the operator to filter the results. You can provide multiple values if the operator is <code>EQ</code> or <code>CO</code>. If you provide multiple values, you filter for results that equal/contain any of the values. For example, if the <code>name</code>, <code>operator</code>, and <code>values</code> fields are <code>Modality</code>, <code>EQ</code>, and <code>[Speech, Text]</code>, the operation filters for results where the modality was either <code>Speech</code> or <code>Text</code>.</p>" 2613 } 2614 }, 2615 "documentation":"<p>Contains fields describing a condition by which to filter the sessions. The expression may be understood as <code>name</code> <code>operator</code> <code>values</code>. For example:</p> <ul> <li> <p> <code>LocaleId EQ en</code> – The locale is \"en\".</p> </li> <li> <p> <code>Duration GT 200</code> – The duration is greater than 200 seconds.</p> </li> </ul> <p>The operators that each filter supports are listed below:</p> <ul> <li> <p> <code>BotAlias</code> – <code>EQ</code>.</p> </li> <li> <p> <code>BotVersion</code> – <code>EQ</code>.</p> </li> <li> <p> <code>LocaleId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Modality</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Channel</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Duration</code> – <code>EQ</code>, <code>GT</code>, <code>LT</code>.</p> </li> <li> <p> <code>conversationEndState</code> – <code>EQ</code>, <code>CO</code>.</p> </li> <li> <p> <code>SessionId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>OriginatingRequestId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>IntentPath</code> – <code>EQ</code>.</p> </li> </ul>" 2616 }, 2617 "AnalyticsSessionFilterName":{ 2618 "type":"string", 2619 "enum":[ 2620 "BotAliasId", 2621 "BotVersion", 2622 "LocaleId", 2623 "Modality", 2624 "Channel", 2625 "Duration", 2626 "ConversationEndState", 2627 "SessionId", 2628 "OriginatingRequestId", 2629 "IntentPath" 2630 ] 2631 }, 2632 "AnalyticsSessionFilters":{ 2633 "type":"list", 2634 "member":{"shape":"AnalyticsSessionFilter"}, 2635 "max":10, 2636 "min":1 2637 }, 2638 "AnalyticsSessionGroupByKey":{ 2639 "type":"structure", 2640 "members":{ 2641 "name":{ 2642 "shape":"AnalyticsSessionField", 2643 "documentation":"<p>The category by which the session analytics were grouped.</p>" 2644 }, 2645 "value":{ 2646 "shape":"AnalyticsGroupByValue", 2647 "documentation":"<p>A member of the category by which the session analytics were grouped.</p>" 2648 } 2649 }, 2650 "documentation":"<p>Contains the category by which the session analytics were grouped and a member of that category.</p>" 2651 }, 2652 "AnalyticsSessionGroupByKeys":{ 2653 "type":"list", 2654 "member":{"shape":"AnalyticsSessionGroupByKey"} 2655 }, 2656 "AnalyticsSessionGroupByList":{ 2657 "type":"list", 2658 "member":{"shape":"AnalyticsSessionGroupBySpecification"}, 2659 "max":2, 2660 "min":1 2661 }, 2662 "AnalyticsSessionGroupBySpecification":{ 2663 "type":"structure", 2664 "required":["name"], 2665 "members":{ 2666 "name":{ 2667 "shape":"AnalyticsSessionField", 2668 "documentation":"<p>Specifies whether to group the session by their end state or their locale.</p>" 2669 } 2670 }, 2671 "documentation":"<p>Contains the category by which to group the sessions.</p>" 2672 }, 2673 "AnalyticsSessionId":{ 2674 "type":"string", 2675 "pattern":"[0-9a-zA-Z._:-]" 2676 }, 2677 "AnalyticsSessionMetric":{ 2678 "type":"structure", 2679 "required":[ 2680 "name", 2681 "statistic" 2682 ], 2683 "members":{ 2684 "name":{ 2685 "shape":"AnalyticsSessionMetricName", 2686 "documentation":"<p>The metric for which you want to get session summary statistics.</p> <ul> <li> <p> <code>Count</code> – The number of sessions.</p> </li> <li> <p> <code>Success</code> – The number of sessions that succeeded.</p> </li> <li> <p> <code>Failure</code> – The number of sessions that failed.</p> </li> <li> <p> <code>Dropped</code> – The number of sessions that the user dropped.</p> </li> <li> <p> <code>Duration</code> – The duration of sessions.</p> </li> <li> <p> <code>TurnsPerSession</code> – The number of turns in the sessions.</p> </li> <li> <p> <code>Concurrency</code> – The number of sessions occurring in the same period of time.</p> </li> </ul>" 2687 }, 2688 "statistic":{ 2689 "shape":"AnalyticsMetricStatistic", 2690 "documentation":"<p>The summary statistic to calculate.</p> <ul> <li> <p> <code>Sum</code> – The total count for the category you provide in <code>name</code>.</p> </li> <li> <p> <code>Average</code> – The total count divided by the number of sessions in the category you provide in <code>name</code>.</p> </li> <li> <p> <code>Max</code> – The highest count in the category you provide in <code>name</code>.</p> </li> </ul>" 2691 }, 2692 "order":{ 2693 "shape":"AnalyticsSortOrder", 2694 "documentation":"<p>Specifies whether to sort the results in ascending or descending order.</p>" 2695 } 2696 }, 2697 "documentation":"<p>Contains the metric and the summary statistic you want to calculate, and the order in which to sort the results, for the user sessions with the bot.</p>" 2698 }, 2699 "AnalyticsSessionMetricName":{ 2700 "type":"string", 2701 "enum":[ 2702 "Count", 2703 "Success", 2704 "Failure", 2705 "Dropped", 2706 "Duration", 2707 "TurnsPerConversation", 2708 "Concurrency" 2709 ] 2710 }, 2711 "AnalyticsSessionMetricResult":{ 2712 "type":"structure", 2713 "members":{ 2714 "name":{ 2715 "shape":"AnalyticsSessionMetricName", 2716 "documentation":"<p>The metric that you requested.</p> <ul> <li> <p> <code>Count</code> – The number of sessions.</p> </li> <li> <p> <code>Success</code> – The number of sessions that succeeded.</p> </li> <li> <p> <code>Failure</code> – The number of sessions that failed.</p> </li> <li> <p> <code>Dropped</code> – The number of sessions that the user dropped.</p> </li> <li> <p> <code>Duration</code> – The duration of sessions.</p> </li> <li> <p> <code>TurnPersession</code> – The number of turns in the sessions.</p> </li> <li> <p> <code>Concurrency</code> – The number of sessions occurring in the same period of time.</p> </li> </ul>" 2717 }, 2718 "statistic":{ 2719 "shape":"AnalyticsMetricStatistic", 2720 "documentation":"<p>The summary statistic that you requested to calculate.</p> <ul> <li> <p> <code>Sum</code> – The total count for the category you provide in <code>name</code>.</p> </li> <li> <p> <code>Average</code> – The total count divided by the number of sessions in the category you provide in <code>name</code>.</p> </li> <li> <p> <code>Max</code> – The highest count in the category you provide in <code>name</code>.</p> </li> </ul>" 2721 }, 2722 "value":{ 2723 "shape":"AnalyticsMetricValue", 2724 "documentation":"<p>The value of the summary statistic for the metric that you requested.</p>" 2725 } 2726 }, 2727 "documentation":"<p>An object containing the results for a session metric you requested.</p>" 2728 }, 2729 "AnalyticsSessionMetricResults":{ 2730 "type":"list", 2731 "member":{"shape":"AnalyticsSessionMetricResult"} 2732 }, 2733 "AnalyticsSessionMetrics":{ 2734 "type":"list", 2735 "member":{"shape":"AnalyticsSessionMetric"}, 2736 "max":7, 2737 "min":1 2738 }, 2739 "AnalyticsSessionResult":{ 2740 "type":"structure", 2741 "members":{ 2742 "binKeys":{ 2743 "shape":"AnalyticsBinKeys", 2744 "documentation":"<p>A list of objects containing the criteria you requested for binning results and the values of the bins.</p>" 2745 }, 2746 "groupByKeys":{ 2747 "shape":"AnalyticsSessionGroupByKeys", 2748 "documentation":"<p>A list of objects containing the criteria you requested for grouping results and the values of the bins.</p>" 2749 }, 2750 "metricsResults":{ 2751 "shape":"AnalyticsSessionMetricResults", 2752 "documentation":"<p>A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.</p>" 2753 } 2754 }, 2755 "documentation":"<p>An object containing the results for the session metrics you requested and the bin and/or group(s) they refer to, if applicable.</p>" 2756 }, 2757 "AnalyticsSessionResults":{ 2758 "type":"list", 2759 "member":{"shape":"AnalyticsSessionResult"} 2760 }, 2761 "AnalyticsSessionSortByName":{ 2762 "type":"string", 2763 "enum":[ 2764 "ConversationStartTime", 2765 "NumberOfTurns", 2766 "Duration" 2767 ] 2768 }, 2769 "AnalyticsSortOrder":{ 2770 "type":"string", 2771 "enum":[ 2772 "Ascending", 2773 "Descending" 2774 ] 2775 }, 2776 "AnalyticsUtteranceAttribute":{ 2777 "type":"structure", 2778 "required":["name"], 2779 "members":{ 2780 "name":{ 2781 "shape":"AnalyticsUtteranceAttributeName", 2782 "documentation":"<p>An attribute to return. The only available attribute is the intent that the bot mapped the utterance to.</p>" 2783 } 2784 }, 2785 "documentation":"<p>An object that specifies the last used intent at the time of the utterance as an attribute to return.</p>" 2786 }, 2787 "AnalyticsUtteranceAttributeName":{ 2788 "type":"string", 2789 "enum":["LastUsedIntent"] 2790 }, 2791 "AnalyticsUtteranceAttributeResult":{ 2792 "type":"structure", 2793 "members":{ 2794 "lastUsedIntent":{ 2795 "shape":"Name", 2796 "documentation":"<p>The intent that the bot mapped the utterance to.</p>" 2797 } 2798 }, 2799 "documentation":"<p>An object containing the intent that the bot mapped the utterance to.</p>" 2800 }, 2801 "AnalyticsUtteranceAttributeResults":{ 2802 "type":"list", 2803 "member":{"shape":"AnalyticsUtteranceAttributeResult"} 2804 }, 2805 "AnalyticsUtteranceAttributes":{ 2806 "type":"list", 2807 "member":{"shape":"AnalyticsUtteranceAttribute"}, 2808 "max":1, 2809 "min":1 2810 }, 2811 "AnalyticsUtteranceField":{ 2812 "type":"string", 2813 "enum":[ 2814 "UtteranceText", 2815 "UtteranceState" 2816 ] 2817 }, 2818 "AnalyticsUtteranceFilter":{ 2819 "type":"structure", 2820 "required":[ 2821 "name", 2822 "operator", 2823 "values" 2824 ], 2825 "members":{ 2826 "name":{ 2827 "shape":"AnalyticsUtteranceFilterName", 2828 "documentation":"<p>The category by which to filter the utterances. The descriptions for each option are as follows:</p> <ul> <li> <p> <code>BotAlias</code> – The name of the bot alias.</p> </li> <li> <p> <code>BotVersion</code> – The version of the bot.</p> </li> <li> <p> <code>LocaleId</code> – The locale of the bot.</p> </li> <li> <p> <code>Modality</code> – The modality of the session with the bot (audio, DTMF, or text).</p> </li> <li> <p> <code>Channel</code> – The channel that the bot is integrated with.</p> </li> <li> <p> <code>SessionId</code> – The identifier of the session with the bot.</p> </li> <li> <p> <code>OriginatingRequestId</code> – The identifier of the first request in a session.</p> </li> <li> <p> <code>UtteranceState</code> – The state of the utterance.</p> </li> <li> <p> <code>UtteranceText</code> – The text in the utterance.</p> </li> </ul>" 2829 }, 2830 "operator":{ 2831 "shape":"AnalyticsFilterOperator", 2832 "documentation":"<p>The operation by which to filter the category. The following operations are possible:</p> <ul> <li> <p> <code>CO</code> – Contains</p> </li> <li> <p> <code>EQ</code> – Equals</p> </li> <li> <p> <code>GT</code> – Greater than</p> </li> <li> <p> <code>LT</code> – Less than</p> </li> </ul> <p>The operators that each filter supports are listed below:</p> <ul> <li> <p> <code>BotAlias</code> – <code>EQ</code>.</p> </li> <li> <p> <code>BotVersion</code> – <code>EQ</code>.</p> </li> <li> <p> <code>LocaleId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Modality</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Channel</code> – <code>EQ</code>.</p> </li> <li> <p> <code>SessionId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>OriginatingRequestId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>UtteranceState</code> – <code>EQ</code>.</p> </li> <li> <p> <code>UtteranceText</code> – <code>EQ</code>, <code>CO</code>.</p> </li> </ul>" 2833 }, 2834 "values":{ 2835 "shape":"AnalyticsFilterValues", 2836 "documentation":"<p>An array containing the values of the category by which to apply the operator to filter the results. You can provide multiple values if the operator is <code>EQ</code> or <code>CO</code>. If you provide multiple values, you filter for results that equal/contain any of the values. For example, if the <code>name</code>, <code>operator</code>, and <code>values</code> fields are <code>Modality</code>, <code>EQ</code>, and <code>[Speech, Text]</code>, the operation filters for results where the modality was either <code>Speech</code> or <code>Text</code>.</p>" 2837 } 2838 }, 2839 "documentation":"<p>Contains fields describing a condition by which to filter the utterances. The expression may be understood as <code>name</code> <code>operator</code> <code>values</code>. For example:</p> <ul> <li> <p> <code>LocaleId EQ Book</code> – The locale is the string \"en\".</p> </li> <li> <p> <code>UtteranceText CO help</code> – The text of the utterance contains the string \"help\".</p> </li> </ul> <p>The operators that each filter supports are listed below:</p> <ul> <li> <p> <code>BotAlias</code> – <code>EQ</code>.</p> </li> <li> <p> <code>BotVersion</code> – <code>EQ</code>.</p> </li> <li> <p> <code>LocaleId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Modality</code> – <code>EQ</code>.</p> </li> <li> <p> <code>Channel</code> – <code>EQ</code>.</p> </li> <li> <p> <code>SessionId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>OriginatingRequestId</code> – <code>EQ</code>.</p> </li> <li> <p> <code>UtteranceState</code> – <code>EQ</code>.</p> </li> <li> <p> <code>UtteranceText</code> – <code>EQ</code>, <code>CO</code>.</p> </li> </ul>" 2840 }, 2841 "AnalyticsUtteranceFilterName":{ 2842 "type":"string", 2843 "enum":[ 2844 "BotAliasId", 2845 "BotVersion", 2846 "LocaleId", 2847 "Modality", 2848 "Channel", 2849 "SessionId", 2850 "OriginatingRequestId", 2851 "UtteranceState", 2852 "UtteranceText" 2853 ] 2854 }, 2855 "AnalyticsUtteranceFilters":{ 2856 "type":"list", 2857 "member":{"shape":"AnalyticsUtteranceFilter"}, 2858 "max":9, 2859 "min":1 2860 }, 2861 "AnalyticsUtteranceGroupByKey":{ 2862 "type":"structure", 2863 "members":{ 2864 "name":{ 2865 "shape":"AnalyticsUtteranceField", 2866 "documentation":"<p>The category by which the utterance analytics were grouped.</p>" 2867 }, 2868 "value":{ 2869 "shape":"AnalyticsGroupByValue", 2870 "documentation":"<p>A member of the category by which the utterance analytics were grouped.</p>" 2871 } 2872 }, 2873 "documentation":"<p>Contains the category by which the utterance analytics were grouped and the values for that category.</p>" 2874 }, 2875 "AnalyticsUtteranceGroupByKeys":{ 2876 "type":"list", 2877 "member":{"shape":"AnalyticsUtteranceGroupByKey"} 2878 }, 2879 "AnalyticsUtteranceGroupByList":{ 2880 "type":"list", 2881 "member":{"shape":"AnalyticsUtteranceGroupBySpecification"}, 2882 "max":2, 2883 "min":1 2884 }, 2885 "AnalyticsUtteranceGroupBySpecification":{ 2886 "type":"structure", 2887 "required":["name"], 2888 "members":{ 2889 "name":{ 2890 "shape":"AnalyticsUtteranceField", 2891 "documentation":"<p>Specifies whether to group the utterances by their text or their state.</p>" 2892 } 2893 }, 2894 "documentation":"<p>Contains the category by which to group the utterances.</p>" 2895 }, 2896 "AnalyticsUtteranceMetric":{ 2897 "type":"structure", 2898 "required":[ 2899 "name", 2900 "statistic" 2901 ], 2902 "members":{ 2903 "name":{ 2904 "shape":"AnalyticsUtteranceMetricName", 2905 "documentation":"<p>The metric for which you want to get utterance summary statistics.</p> <ul> <li> <p> <code>Count</code> – The number of utterances.</p> </li> <li> <p> <code>Missed</code> – The number of utterances that Amazon Lex failed to recognize.</p> </li> <li> <p> <code>Detected</code> – The number of utterances that Amazon Lex managed to detect.</p> </li> <li> <p> <code>UtteranceTimestamp</code> – The date and time of the utterance.</p> </li> </ul>" 2906 }, 2907 "statistic":{ 2908 "shape":"AnalyticsMetricStatistic", 2909 "documentation":"<p>The summary statistic to calculate.</p> <ul> <li> <p> <code>Sum</code> – The total count for the category you provide in <code>name</code>.</p> </li> <li> <p> <code>Average</code> – The total count divided by the number of utterances in the category you provide in <code>name</code>.</p> </li> <li> <p> <code>Max</code> – The highest count in the category you provide in <code>name</code>.</p> </li> </ul>" 2910 }, 2911 "order":{ 2912 "shape":"AnalyticsSortOrder", 2913 "documentation":"<p>Specifies whether to sort the results in ascending or descending order.</p>" 2914 } 2915 }, 2916 "documentation":"<p>Contains the metric and the summary statistic you want to calculate, and the order in which to sort the results, for the utterances across the user sessions with the bot.</p>" 2917 }, 2918 "AnalyticsUtteranceMetricName":{ 2919 "type":"string", 2920 "enum":[ 2921 "Count", 2922 "Missed", 2923 "Detected", 2924 "UtteranceTimestamp" 2925 ] 2926 }, 2927 "AnalyticsUtteranceMetricResult":{ 2928 "type":"structure", 2929 "members":{ 2930 "name":{ 2931 "shape":"AnalyticsUtteranceMetricName", 2932 "documentation":"<p>The metric that you requested.</p> <ul> <li> <p> <code>Count</code> – The number of utterances.</p> </li> <li> <p> <code>Missed</code> – The number of utterances that Amazon Lex failed to recognize.</p> </li> <li> <p> <code>Detected</code> – The number of utterances that Amazon Lex managed to detect.</p> </li> <li> <p> <code>UtteranceTimestamp</code> – The date and time of the utterance.</p> </li> </ul>" 2933 }, 2934 "statistic":{ 2935 "shape":"AnalyticsMetricStatistic", 2936 "documentation":"<p>The summary statistic that you requested to calculate.</p> <ul> <li> <p> <code>Sum</code> – The total count for the category you provide in <code>name</code>.</p> </li> <li> <p> <code>Average</code> – The total count divided by the number of utterances in the category you provide in <code>name</code>.</p> </li> <li> <p> <code>Max</code> – The highest count in the category you provide in <code>name</code>.</p> </li> </ul>" 2937 }, 2938 "value":{ 2939 "shape":"AnalyticsMetricValue", 2940 "documentation":"<p>The value of the summary statistic for the metric that you requested.</p>" 2941 } 2942 }, 2943 "documentation":"<p>An object containing the results for the utterance metric you requested.</p>" 2944 }, 2945 "AnalyticsUtteranceMetricResults":{ 2946 "type":"list", 2947 "member":{"shape":"AnalyticsUtteranceMetricResult"} 2948 }, 2949 "AnalyticsUtteranceMetrics":{ 2950 "type":"list", 2951 "member":{"shape":"AnalyticsUtteranceMetric"}, 2952 "max":4, 2953 "min":1 2954 }, 2955 "AnalyticsUtteranceResult":{ 2956 "type":"structure", 2957 "members":{ 2958 "binKeys":{ 2959 "shape":"AnalyticsBinKeys", 2960 "documentation":"<p>A list of objects containing the criteria you requested for binning results and the values of the bins.</p>" 2961 }, 2962 "groupByKeys":{ 2963 "shape":"AnalyticsUtteranceGroupByKeys", 2964 "documentation":"<p>A list of objects containing the criteria you requested for grouping results and the values of the bins.</p>" 2965 }, 2966 "metricsResults":{ 2967 "shape":"AnalyticsUtteranceMetricResults", 2968 "documentation":"<p>A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.</p>" 2969 }, 2970 "attributeResults":{ 2971 "shape":"AnalyticsUtteranceAttributeResults", 2972 "documentation":"<p>A list of objects containing information about the last used intent at the time of an utterance.</p>" 2973 } 2974 }, 2975 "documentation":"<p>An object containing the results for the utterance metrics you requested and the bin and/or group(s) they refer to, if applicable.</p>" 2976 }, 2977 "AnalyticsUtteranceResults":{ 2978 "type":"list", 2979 "member":{"shape":"AnalyticsUtteranceResult"} 2980 }, 2981 "AnalyticsUtteranceSortByName":{ 2982 "type":"string", 2983 "enum":["UtteranceTimestamp"] 2984 }, 2985 "AssociatedTranscript":{ 2986 "type":"structure", 2987 "members":{ 2988 "transcript":{ 2989 "shape":"Transcript", 2990 "documentation":"<p>The content of the transcript that meets the search filter criteria. For the JSON format of the transcript, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/designing-output-format.html\">Output transcript format</a>.</p>" 2991 } 2992 }, 2993 "documentation":"<p>The object containing information that associates the recommended intent/slot type with a conversation.</p>" 2994 }, 2995 "AssociatedTranscriptFilter":{ 2996 "type":"structure", 2997 "required":[ 2998 "name", 2999 "values" 3000 ], 3001 "members":{ 3002 "name":{ 3003 "shape":"AssociatedTranscriptFilterName", 3004 "documentation":"<p>The name of the field to use for filtering. The allowed names are IntentId and SlotTypeId.</p>" 3005 }, 3006 "values":{ 3007 "shape":"FilterValues", 3008 "documentation":"<p>The values to use to filter the transcript.</p>" 3009 } 3010 }, 3011 "documentation":"<p>Filters to search for the associated transcript.</p>" 3012 }, 3013 "AssociatedTranscriptFilterName":{ 3014 "type":"string", 3015 "enum":[ 3016 "IntentId", 3017 "SlotTypeId" 3018 ] 3019 }, 3020 "AssociatedTranscriptFilters":{ 3021 "type":"list", 3022 "member":{"shape":"AssociatedTranscriptFilter"}, 3023 "max":1, 3024 "min":1 3025 }, 3026 "AssociatedTranscriptList":{ 3027 "type":"list", 3028 "member":{"shape":"AssociatedTranscript"} 3029 }, 3030 "AttachmentTitle":{ 3031 "type":"string", 3032 "max":250, 3033 "min":1 3034 }, 3035 "AttachmentUrl":{ 3036 "type":"string", 3037 "max":250, 3038 "min":1 3039 }, 3040 "AudioAndDTMFInputSpecification":{ 3041 "type":"structure", 3042 "required":["startTimeoutMs"], 3043 "members":{ 3044 "startTimeoutMs":{ 3045 "shape":"TimeInMilliSeconds", 3046 "documentation":"<p>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.</p>" 3047 }, 3048 "audioSpecification":{ 3049 "shape":"AudioSpecification", 3050 "documentation":"<p>Specifies the settings on audio input.</p>" 3051 }, 3052 "dtmfSpecification":{ 3053 "shape":"DTMFSpecification", 3054 "documentation":"<p>Specifies the settings on DTMF input.</p>" 3055 } 3056 }, 3057 "documentation":"<p>Specifies the audio and DTMF input specification.</p>" 3058 }, 3059 "AudioFileS3Location":{ 3060 "type":"string", 3061 "max":1024, 3062 "min":1, 3063 "pattern":"^s3://([a-z0-9\\\\.-]+)/(.+)$" 3064 }, 3065 "AudioLogDestination":{ 3066 "type":"structure", 3067 "required":["s3Bucket"], 3068 "members":{ 3069 "s3Bucket":{ 3070 "shape":"S3BucketLogDestination", 3071 "documentation":"<p>The Amazon S3 bucket where the audio log files are stored. The IAM role specified in the <code>roleArn</code> parameter of the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html\">CreateBot</a> operation must have permission to write to this bucket.</p>" 3072 } 3073 }, 3074 "documentation":"<p>The location of audio log files collected when conversation logging is enabled for a bot.</p>" 3075 }, 3076 "AudioLogSetting":{ 3077 "type":"structure", 3078 "required":[ 3079 "enabled", 3080 "destination" 3081 ], 3082 "members":{ 3083 "enabled":{ 3084 "shape":"Boolean", 3085 "documentation":"<p>Determines whether audio logging in enabled for the bot.</p>" 3086 }, 3087 "destination":{"shape":"AudioLogDestination"}, 3088 "selectiveLoggingEnabled":{ 3089 "shape":"BoxedBoolean", 3090 "documentation":"<p>The option to enable selective conversation log capture for audio.</p>" 3091 } 3092 }, 3093 "documentation":"<p>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.</p>" 3094 }, 3095 "AudioLogSettingsList":{ 3096 "type":"list", 3097 "member":{"shape":"AudioLogSetting"}, 3098 "max":1, 3099 "min":1 3100 }, 3101 "AudioRecognitionStrategy":{ 3102 "type":"string", 3103 "enum":["UseSlotValuesAsCustomVocabulary"] 3104 }, 3105 "AudioSpecification":{ 3106 "type":"structure", 3107 "required":[ 3108 "maxLengthMs", 3109 "endTimeoutMs" 3110 ], 3111 "members":{ 3112 "maxLengthMs":{ 3113 "shape":"TimeInMilliSeconds", 3114 "documentation":"<p>Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.</p>" 3115 }, 3116 "endTimeoutMs":{ 3117 "shape":"TimeInMilliSeconds", 3118 "documentation":"<p>Time for which a bot waits after the customer stops speaking to assume the utterance is finished.</p>" 3119 } 3120 }, 3121 "documentation":"<p>Specifies the audio input specifications.</p>" 3122 }, 3123 "BatchCreateCustomVocabularyItemRequest":{ 3124 "type":"structure", 3125 "required":[ 3126 "botId", 3127 "botVersion", 3128 "localeId", 3129 "customVocabularyItemList" 3130 ], 3131 "members":{ 3132 "botId":{ 3133 "shape":"Id", 3134 "documentation":"<p>The identifier of the bot associated with this custom vocabulary.</p>", 3135 "location":"uri", 3136 "locationName":"botId" 3137 }, 3138 "botVersion":{ 3139 "shape":"BotVersion", 3140 "documentation":"<p>The identifier of the version of the bot associated with this custom vocabulary.</p>", 3141 "location":"uri", 3142 "locationName":"botVersion" 3143 }, 3144 "localeId":{ 3145 "shape":"LocaleId", 3146 "documentation":"<p>The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\"> Supported Languages </a>.</p>", 3147 "location":"uri", 3148 "locationName":"localeId" 3149 }, 3150 "customVocabularyItemList":{ 3151 "shape":"CreateCustomVocabularyItemsList", 3152 "documentation":"<p>A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.</p>" 3153 } 3154 } 3155 }, 3156 "BatchCreateCustomVocabularyItemResponse":{ 3157 "type":"structure", 3158 "members":{ 3159 "botId":{ 3160 "shape":"Id", 3161 "documentation":"<p>The identifier of the bot associated with this custom vocabulary.</p>" 3162 }, 3163 "botVersion":{ 3164 "shape":"BotVersion", 3165 "documentation":"<p>The identifier of the version of the bot associated with this custom vocabulary.</p>" 3166 }, 3167 "localeId":{ 3168 "shape":"LocaleId", 3169 "documentation":"<p>The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\"> Supported Languages </a>.</p>" 3170 }, 3171 "errors":{ 3172 "shape":"FailedCustomVocabularyItems", 3173 "documentation":"<p>A list of custom vocabulary items that failed to create during the operation. The reason for the error is contained within each error object.</p>" 3174 }, 3175 "resources":{ 3176 "shape":"CustomVocabularyItems", 3177 "documentation":"<p>A list of custom vocabulary items that were successfully created during the operation.</p>" 3178 } 3179 } 3180 }, 3181 "BatchDeleteCustomVocabularyItemRequest":{ 3182 "type":"structure", 3183 "required":[ 3184 "botId", 3185 "botVersion", 3186 "localeId", 3187 "customVocabularyItemList" 3188 ], 3189 "members":{ 3190 "botId":{ 3191 "shape":"Id", 3192 "documentation":"<p>The identifier of the bot associated with this custom vocabulary.</p>", 3193 "location":"uri", 3194 "locationName":"botId" 3195 }, 3196 "botVersion":{ 3197 "shape":"BotVersion", 3198 "documentation":"<p>The identifier of the version of the bot associated with this custom vocabulary.</p>", 3199 "location":"uri", 3200 "locationName":"botVersion" 3201 }, 3202 "localeId":{ 3203 "shape":"LocaleId", 3204 "documentation":"<p>The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\"> Supported Languages </a>.</p>", 3205 "location":"uri", 3206 "locationName":"localeId" 3207 }, 3208 "customVocabularyItemList":{ 3209 "shape":"DeleteCustomVocabularyItemsList", 3210 "documentation":"<p>A list of custom vocabulary items requested to be deleted. Each entry must contain the unique custom vocabulary entry identifier.</p>" 3211 } 3212 } 3213 }, 3214 "BatchDeleteCustomVocabularyItemResponse":{ 3215 "type":"structure", 3216 "members":{ 3217 "botId":{ 3218 "shape":"Id", 3219 "documentation":"<p>The identifier of the bot associated with this custom vocabulary.</p>" 3220 }, 3221 "botVersion":{ 3222 "shape":"BotVersion", 3223 "documentation":"<p>The identifier of the version of the bot associated with this custom vocabulary.</p>" 3224 }, 3225 "localeId":{ 3226 "shape":"LocaleId", 3227 "documentation":"<p>The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).</p>" 3228 }, 3229 "errors":{ 3230 "shape":"FailedCustomVocabularyItems", 3231 "documentation":"<p>A list of custom vocabulary items that failed to delete during the operation. The reason for the error is contained within each error object.</p>" 3232 }, 3233 "resources":{ 3234 "shape":"CustomVocabularyItems", 3235 "documentation":"<p>A list of custom vocabulary items that were successfully deleted during the operation.</p>" 3236 } 3237 } 3238 }, 3239 "BatchUpdateCustomVocabularyItemRequest":{ 3240 "type":"structure", 3241 "required":[ 3242 "botId", 3243 "botVersion", 3244 "localeId", 3245 "customVocabularyItemList" 3246 ], 3247 "members":{ 3248 "botId":{ 3249 "shape":"Id", 3250 "documentation":"<p>The identifier of the bot associated with this custom vocabulary</p>", 3251 "location":"uri", 3252 "locationName":"botId" 3253 }, 3254 "botVersion":{ 3255 "shape":"BotVersion", 3256 "documentation":"<p>The identifier of the version of the bot associated with this custom vocabulary.</p>", 3257 "location":"uri", 3258 "locationName":"botVersion" 3259 }, 3260 "localeId":{ 3261 "shape":"LocaleId", 3262 "documentation":"<p>The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\"> Supported Languages </a>.</p>", 3263 "location":"uri", 3264 "locationName":"localeId" 3265 }, 3266 "customVocabularyItemList":{ 3267 "shape":"UpdateCustomVocabularyItemsList", 3268 "documentation":"<p>A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.</p>" 3269 } 3270 } 3271 }, 3272 "BatchUpdateCustomVocabularyItemResponse":{ 3273 "type":"structure", 3274 "members":{ 3275 "botId":{ 3276 "shape":"Id", 3277 "documentation":"<p>The identifier of the bot associated with this custom vocabulary.</p>" 3278 }, 3279 "botVersion":{ 3280 "shape":"BotVersion", 3281 "documentation":"<p>The identifier of the version of the bot associated with this custom vocabulary.</p>" 3282 }, 3283 "localeId":{ 3284 "shape":"LocaleId", 3285 "documentation":"<p>The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\"> Supported Languages </a>.</p>" 3286 }, 3287 "errors":{ 3288 "shape":"FailedCustomVocabularyItems", 3289 "documentation":"<p>A list of custom vocabulary items that failed to update during the operation. The reason for the error is contained within each error object.</p>" 3290 }, 3291 "resources":{ 3292 "shape":"CustomVocabularyItems", 3293 "documentation":"<p>A list of custom vocabulary items that were successfully updated during the operation.</p>" 3294 } 3295 } 3296 }, 3297 "BedrockModelArn":{ 3298 "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}$" 3300 }, 3301 "BedrockModelSpecification":{ 3302 "type":"structure", 3303 "required":["modelArn"], 3304 "members":{ 3305 "modelArn":{ 3306 "shape":"BedrockModelArn", 3307 "documentation":"<p>The ARN of the foundation model used in descriptive bot building.</p>" 3308 } 3309 }, 3310 "documentation":"<p>Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.</p>" 3311 }, 3312 "Boolean":{"type":"boolean"}, 3313 "BotAliasHistoryEvent":{ 3314 "type":"structure", 3315 "members":{ 3316 "botVersion":{ 3317 "shape":"BotVersion", 3318 "documentation":"<p>The version of the bot that was used in the event. </p>" 3319 }, 3320 "startDate":{ 3321 "shape":"Timestamp", 3322 "documentation":"<p>The date and time that the event started.</p>" 3323 }, 3324 "endDate":{ 3325 "shape":"Timestamp", 3326 "documentation":"<p>The date and time that the event ended.</p>" 3327 } 3328 }, 3329 "documentation":"<p>Provides a record of an event that affects a bot alias. For example, when the version of a bot that the alias points to changes.</p>" 3330 }, 3331 "BotAliasHistoryEventsList":{ 3332 "type":"list", 3333 "member":{"shape":"BotAliasHistoryEvent"} 3334 }, 3335 "BotAliasId":{ 3336 "type":"string", 3337 "max":10, 3338 "min":10, 3339 "pattern":"^(\\bTSTALIASID\\b|[0-9a-zA-Z]+)$" 3340 }, 3341 "BotAliasLocaleSettings":{ 3342 "type":"structure", 3343 "required":["enabled"], 3344 "members":{ 3345 "enabled":{ 3346 "shape":"Boolean", 3347 "documentation":"<p>Determines whether the locale is enabled for the bot. If the value is <code>false</code>, the locale isn't available for use.</p>" 3348 }, 3349 "codeHookSpecification":{ 3350 "shape":"CodeHookSpecification", 3351 "documentation":"<p>Specifies the Lambda function that should be used in the locale.</p>" 3352 } 3353 }, 3354 "documentation":"<p>Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.</p>" 3355 }, 3356 "BotAliasLocaleSettingsMap":{ 3357 "type":"map", 3358 "key":{"shape":"LocaleId"}, 3359 "value":{"shape":"BotAliasLocaleSettings"}, 3360 "min":1 3361 }, 3362 "BotAliasName":{ 3363 "type":"string", 3364 "max":100, 3365 "min":1, 3366 "pattern":"^(\\bAmazonLexTestAlias\\b|[0-9a-zA-Z][_-]?)+$" 3367 }, 3368 "BotAliasReplicaSummary":{ 3369 "type":"structure", 3370 "members":{ 3371 "botAliasId":{ 3372 "shape":"BotAliasId", 3373 "documentation":"<p>The bot alias ID for all the alias bot replications.</p>" 3374 }, 3375 "botAliasReplicationStatus":{ 3376 "shape":"BotAliasReplicationStatus", 3377 "documentation":"<p>The replication statuses for all the alias bot replications.</p>" 3378 }, 3379 "botVersion":{ 3380 "shape":"BotVersion", 3381 "documentation":"<p>The bot version for all the alias bot replications.</p>" 3382 }, 3383 "creationDateTime":{ 3384 "shape":"Timestamp", 3385 "documentation":"<p>The creation time and date for all the alias bot replications.</p>" 3386 }, 3387 "lastUpdatedDateTime":{ 3388 "shape":"Timestamp", 3389 "documentation":"<p>The last time and date updated for all the alias bot replications.</p>" 3390 }, 3391 "failureReasons":{ 3392 "shape":"FailureReasons", 3393 "documentation":"<p>The reasons for failure for the aliases bot replications.</p>" 3394 } 3395 }, 3396 "documentation":"<p>Contains information about all the aliases replication statuses applicable for global resiliency.</p>" 3397 }, 3398 "BotAliasReplicaSummaryList":{ 3399 "type":"list", 3400 "member":{"shape":"BotAliasReplicaSummary"} 3401 }, 3402 "BotAliasReplicationStatus":{ 3403 "type":"string", 3404 "documentation":"<p>The status of the operation to replicate the bot alias. Values: Creating, Updating, Available, Deleting, Failed.</p>", 3405 "enum":[ 3406 "Creating", 3407 "Updating", 3408 "Available", 3409 "Deleting", 3410 "Failed" 3411 ] 3412 }, 3413 "BotAliasStatus":{ 3414 "type":"string", 3415 "enum":[ 3416 "Creating", 3417 "Available", 3418 "Deleting", 3419 "Failed" 3420 ] 3421 }, 3422 "BotAliasSummary":{ 3423 "type":"structure", 3424 "members":{ 3425 "botAliasId":{ 3426 "shape":"BotAliasId", 3427 "documentation":"<p>The unique identifier assigned to the bot alias. You can use this ID to get detailed information about the alias using the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeBotAlias.html\">DescribeBotAlias</a> operation.</p>" 3428 }, 3429 "botAliasName":{ 3430 "shape":"Name", 3431 "documentation":"<p>The name of the bot alias.</p>" 3432 }, 3433 "description":{ 3434 "shape":"Description", 3435 "documentation":"<p>The description of the bot alias.</p>" 3436 }, 3437 "botVersion":{ 3438 "shape":"BotVersion", 3439 "documentation":"<p>The version of the bot that the bot alias references.</p>" 3440 }, 3441 "botAliasStatus":{ 3442 "shape":"BotAliasStatus", 3443 "documentation":"<p>The current state of the bot alias. If the status is <code>Available</code>, the alias is ready for use.</p>" 3444 }, 3445 "creationDateTime":{ 3446 "shape":"Timestamp", 3447 "documentation":"<p>A timestamp of the date and time that the bot alias was created.</p>" 3448 }, 3449 "lastUpdatedDateTime":{ 3450 "shape":"Timestamp", 3451 "documentation":"<p>A timestamp of the date and time that the bot alias was last updated.</p>" 3452 } 3453 }, 3454 "documentation":"<p>Summary information about bot aliases returned from the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBotAliases.html\">ListBotAliases</a> operation.</p>" 3455 }, 3456 "BotAliasSummaryList":{ 3457 "type":"list", 3458 "member":{"shape":"BotAliasSummary"} 3459 }, 3460 "BotAliasTestExecutionTarget":{ 3461 "type":"structure", 3462 "required":[ 3463 "botId", 3464 "botAliasId", 3465 "localeId" 3466 ], 3467 "members":{ 3468 "botId":{ 3469 "shape":"Id", 3470 "documentation":"<p>The bot Id of the bot alias used in the test set execution.</p>" 3471 }, 3472 "botAliasId":{ 3473 "shape":"BotAliasId", 3474 "documentation":"<p>The bot alias Id of the bot alias used in the test set execution.</p>" 3475 }, 3476 "localeId":{ 3477 "shape":"LocaleId", 3478 "documentation":"<p>The locale Id of the bot alias used in the test set execution.</p>" 3479 } 3480 }, 3481 "documentation":"<p>The target Amazon S3 location for the test set execution using a bot alias.</p>" 3482 }, 3483 "BotExportSpecification":{ 3484 "type":"structure", 3485 "required":[ 3486 "botId", 3487 "botVersion" 3488 ], 3489 "members":{ 3490 "botId":{ 3491 "shape":"Id", 3492 "documentation":"<p>The identifier of the bot assigned by Amazon Lex.</p>" 3493 }, 3494 "botVersion":{ 3495 "shape":"BotVersion", 3496 "documentation":"<p>The version of the bot that was exported. This will be either <code>DRAFT</code> or the version number.</p>" 3497 } 3498 }, 3499 "documentation":"<p>Provides the identity of a the bot that was exported.</p>" 3500 }, 3501 "BotFilter":{ 3502 "type":"structure", 3503 "required":[ 3504 "name", 3505 "values", 3506 "operator" 3507 ], 3508 "members":{ 3509 "name":{ 3510 "shape":"BotFilterName", 3511 "documentation":"<p>The name of the field to filter the list of bots.</p>" 3512 }, 3513 "values":{ 3514 "shape":"FilterValues", 3515 "documentation":"<p>The value to use for filtering the list of bots.</p>" 3516 }, 3517 "operator":{ 3518 "shape":"BotFilterOperator", 3519 "documentation":"<p>The operator to use for the filter. Specify <code>EQ</code> when the <code>ListBots</code> operation should return only aliases that equal the specified value. Specify <code>CO</code> when the <code>ListBots</code> operation should return aliases that contain the specified value.</p>" 3520 } 3521 }, 3522 "documentation":"<p>Filters the responses returned by the <code>ListBots</code> operation.</p>" 3523 }, 3524 "BotFilterName":{ 3525 "type":"string", 3526 "enum":[ 3527 "BotName", 3528 "BotType" 3529 ] 3530 }, 3531 "BotFilterOperator":{ 3532 "type":"string", 3533 "enum":[ 3534 "CO", 3535 "EQ", 3536 "NE" 3537 ] 3538 }, 3539 "BotFilters":{ 3540 "type":"list", 3541 "member":{"shape":"BotFilter"}, 3542 "max":2, 3543 "min":1 3544 }, 3545 "BotImportSpecification":{ 3546 "type":"structure", 3547 "required":[ 3548 "botName", 3549 "roleArn", 3550 "dataPrivacy" 3551 ], 3552 "members":{ 3553 "botName":{ 3554 "shape":"Name", 3555 "documentation":"<p>The name that Amazon Lex should use for the bot.</p>" 3556 }, 3557 "roleArn":{ 3558 "shape":"RoleArn", 3559 "documentation":"<p>The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.</p>" 3560 }, 3561 "dataPrivacy":{"shape":"DataPrivacy"}, 3562 "idleSessionTTLInSeconds":{ 3563 "shape":"SessionTTL", 3564 "documentation":"<p>The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot. </p> <p>A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.</p> <p>You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.</p>" 3565 }, 3566 "botTags":{ 3567 "shape":"TagMap", 3568 "documentation":"<p>A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the <code>UpdateBot</code> operation to update tags. To update tags, use the <code>TagResource</code> operation.</p>" 3569 }, 3570 "testBotAliasTags":{ 3571 "shape":"TagMap", 3572 "documentation":"<p>A list of tags to add to the test alias for a bot. You can only add tags when you import a bot. You can't use the <code>UpdateAlias</code> operation to update tags. To update tags on the test alias, use the <code>TagResource</code> operation.</p>" 3573 } 3574 }, 3575 "documentation":"<p>Provides the bot parameters required for importing a bot.</p>" 3576 }, 3577 "BotLocaleExportSpecification":{ 3578 "type":"structure", 3579 "required":[ 3580 "botId", 3581 "botVersion", 3582 "localeId" 3583 ], 3584 "members":{ 3585 "botId":{ 3586 "shape":"Id", 3587 "documentation":"<p>The identifier of the bot to create the locale for.</p>" 3588 }, 3589 "botVersion":{ 3590 "shape":"BotVersion", 3591 "documentation":"<p>The version of the bot to export.</p>" 3592 }, 3593 "localeId":{ 3594 "shape":"LocaleId", 3595 "documentation":"<p>The identifier of the language and locale to export. The string must match one of the locales in the bot.</p>" 3596 } 3597 }, 3598 "documentation":"<p>Provides the bot locale parameters required for exporting a bot locale.</p>" 3599 }, 3600 "BotLocaleFilter":{ 3601 "type":"structure", 3602 "required":[ 3603 "name", 3604 "values", 3605 "operator" 3606 ], 3607 "members":{ 3608 "name":{ 3609 "shape":"BotLocaleFilterName", 3610 "documentation":"<p>The name of the field to filter the list of bots.</p>" 3611 }, 3612 "values":{ 3613 "shape":"FilterValues", 3614 "documentation":"<p>The value to use for filtering the list of bots.</p>" 3615 }, 3616 "operator":{ 3617 "shape":"BotLocaleFilterOperator", 3618 "documentation":"<p>The operator to use for the filter. Specify <code>EQ</code> when the <code>ListBotLocales</code> operation should return only aliases that equal the specified value. Specify <code>CO</code> when the <code>ListBotLocales</code> operation should return aliases that contain the specified value.</p>" 3619 } 3620 }, 3621 "documentation":"<p>Filters responses returned by the <code>ListBotLocales</code> operation.</p>" 3622 }, 3623 "BotLocaleFilterName":{ 3624 "type":"string", 3625 "enum":["BotLocaleName"] 3626 }, 3627 "BotLocaleFilterOperator":{ 3628 "type":"string", 3629 "enum":[ 3630 "CO", 3631 "EQ" 3632 ] 3633 }, 3634 "BotLocaleFilters":{ 3635 "type":"list", 3636 "member":{"shape":"BotLocaleFilter"}, 3637 "max":1, 3638 "min":1 3639 }, 3640 "BotLocaleHistoryEvent":{ 3641 "type":"structure", 3642 "required":[ 3643 "event", 3644 "eventDate" 3645 ], 3646 "members":{ 3647 "event":{ 3648 "shape":"BotLocaleHistoryEventDescription", 3649 "documentation":"<p>A description of the event that occurred.</p>" 3650 }, 3651 "eventDate":{ 3652 "shape":"Timestamp", 3653 "documentation":"<p>A timestamp of the date and time that the event occurred.</p>" 3654 } 3655 }, 3656 "documentation":"<p>Provides information about an event that occurred affecting the bot locale.</p>" 3657 }, 3658 "BotLocaleHistoryEventDescription":{"type":"string"}, 3659 "BotLocaleHistoryEventsList":{ 3660 "type":"list", 3661 "member":{"shape":"BotLocaleHistoryEvent"} 3662 }, 3663 "BotLocaleImportSpecification":{ 3664 "type":"structure", 3665 "required":[ 3666 "botId", 3667 "botVersion", 3668 "localeId" 3669 ], 3670 "members":{ 3671 "botId":{ 3672 "shape":"Id", 3673 "documentation":"<p>The identifier of the bot to import the locale to.</p>" 3674 }, 3675 "botVersion":{ 3676 "shape":"DraftBotVersion", 3677 "documentation":"<p>The version of the bot to import the locale to. This can only be the <code>DRAFT</code> version of the bot.</p>" 3678 }, 3679 "localeId":{ 3680 "shape":"LocaleId", 3681 "documentation":"<p>The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>" 3682 }, 3683 "nluIntentConfidenceThreshold":{ 3684 "shape":"ConfidenceThreshold", 3685 "documentation":"<p>Determines the threshold where Amazon Lex will insert the <code>AMAZON.FallbackIntent</code>, <code>AMAZON.KendraSearchIntent</code>, or both when returning alternative intents. <code>AMAZON.FallbackIntent</code> and <code>AMAZON.KendraSearchIntent</code> are only inserted if they are configured for the bot. </p> <p>For example, suppose a bot is configured with the confidence threshold of 0.80 and the <code>AMAZON.FallbackIntent</code>. Amazon Lex returns three alternative intents with the following confidence scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response from the <code>PostText</code> operation would be:</p> <ul> <li> <p> <code>AMAZON.FallbackIntent</code> </p> </li> <li> <p> <code>IntentA</code> </p> </li> <li> <p> <code>IntentB</code> </p> </li> <li> <p> <code>IntentC</code> </p> </li> </ul>" 3686 }, 3687 "voiceSettings":{"shape":"VoiceSettings"} 3688 }, 3689 "documentation":"<p>Provides the bot locale parameters required for importing a bot locale.</p>" 3690 }, 3691 "BotLocaleSortAttribute":{ 3692 "type":"string", 3693 "enum":["BotLocaleName"] 3694 }, 3695 "BotLocaleSortBy":{ 3696 "type":"structure", 3697 "required":[ 3698 "attribute", 3699 "order" 3700 ], 3701 "members":{ 3702 "attribute":{ 3703 "shape":"BotLocaleSortAttribute", 3704 "documentation":"<p>The bot locale attribute to sort by.</p>" 3705 }, 3706 "order":{ 3707 "shape":"SortOrder", 3708 "documentation":"<p>Specifies whether to sort the bot locales in ascending or descending order.</p>" 3709 } 3710 }, 3711 "documentation":"<p>Specifies attributes for sorting a list of bot locales.</p>" 3712 }, 3713 "BotLocaleStatus":{ 3714 "type":"string", 3715 "enum":[ 3716 "Creating", 3717 "Building", 3718 "Built", 3719 "ReadyExpressTesting", 3720 "Failed", 3721 "Deleting", 3722 "NotBuilt", 3723 "Importing", 3724 "Processing" 3725 ] 3726 }, 3727 "BotLocaleSummary":{ 3728 "type":"structure", 3729 "members":{ 3730 "localeId":{ 3731 "shape":"LocaleId", 3732 "documentation":"<p>The language and locale of the bot locale.</p>" 3733 }, 3734 "localeName":{ 3735 "shape":"LocaleName", 3736 "documentation":"<p>The name of the bot locale.</p>" 3737 }, 3738 "description":{ 3739 "shape":"Description", 3740 "documentation":"<p>The description of the bot locale.</p>" 3741 }, 3742 "botLocaleStatus":{ 3743 "shape":"BotLocaleStatus", 3744 "documentation":"<p>The current status of the bot locale. When the status is <code>Built</code> the locale is ready for use.</p>" 3745 }, 3746 "lastUpdatedDateTime":{ 3747 "shape":"Timestamp", 3748 "documentation":"<p>A timestamp of the date and time that the bot locale was last updated.</p>" 3749 }, 3750 "lastBuildSubmittedDateTime":{ 3751 "shape":"Timestamp", 3752 "documentation":"<p>A timestamp of the date and time that the bot locale was last built.</p>" 3753 } 3754 }, 3755 "documentation":"<p>Summary information about bot locales returned by the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBotLocales.html\">ListBotLocales</a> operation.</p>" 3756 }, 3757 "BotLocaleSummaryList":{ 3758 "type":"list", 3759 "member":{"shape":"BotLocaleSummary"} 3760 }, 3761 "BotMember":{ 3762 "type":"structure", 3763 "required":[ 3764 "botMemberId", 3765 "botMemberName", 3766 "botMemberAliasId", 3767 "botMemberAliasName", 3768 "botMemberVersion" 3769 ], 3770 "members":{ 3771 "botMemberId":{ 3772 "shape":"Id", 3773 "documentation":"<p>The unique ID of a bot that is a member of this network of bots.</p>" 3774 }, 3775 "botMemberName":{ 3776 "shape":"Name", 3777 "documentation":"<p>The unique name of a bot that is a member of this network of bots.</p>" 3778 }, 3779 "botMemberAliasId":{ 3780 "shape":"BotAliasId", 3781 "documentation":"<p>The alias ID of a bot that is a member of this network of bots.</p>" 3782 }, 3783 "botMemberAliasName":{ 3784 "shape":"BotAliasName", 3785 "documentation":"<p>The alias name of a bot that is a member of this network of bots.</p>" 3786 }, 3787 "botMemberVersion":{ 3788 "shape":"BotVersion", 3789 "documentation":"<p>The version of a bot that is a member of this network of bots.</p>" 3790 } 3791 }, 3792 "documentation":"<p>A bot that is a member of a network of bots.</p>" 3793 }, 3794 "BotMembers":{ 3795 "type":"list", 3796 "member":{"shape":"BotMember"}, 3797 "max":10, 3798 "min":0 3799 }, 3800 "BotRecommendationResultStatistics":{ 3801 "type":"structure", 3802 "members":{ 3803 "intents":{ 3804 "shape":"IntentStatistics", 3805 "documentation":"<p>Statistical information about about the intents associated with the bot recommendation results.</p>" 3806 }, 3807 "slotTypes":{ 3808 "shape":"SlotTypeStatistics", 3809 "documentation":"<p>Statistical information about the slot types associated with the bot recommendation results.</p>" 3810 } 3811 }, 3812 "documentation":"<p>A statistical summary of the bot recommendation results.</p>" 3813 }, 3814 "BotRecommendationResults":{ 3815 "type":"structure", 3816 "members":{ 3817 "botLocaleExportUrl":{ 3818 "shape":"PresignedS3Url", 3819 "documentation":"<p>The presigned URL link of the recommended bot definition.</p>" 3820 }, 3821 "associatedTranscriptsUrl":{ 3822 "shape":"PresignedS3Url", 3823 "documentation":"<p>The presigned url link of the associated transcript.</p>" 3824 }, 3825 "statistics":{ 3826 "shape":"BotRecommendationResultStatistics", 3827 "documentation":"<p>The statistical summary of the bot recommendation results.</p>" 3828 } 3829 }, 3830 "documentation":"<p>The object representing the URL of the bot definition, the URL of the associated transcript, and a statistical summary of the bot recommendation results.</p>" 3831 }, 3832 "BotRecommendationStatus":{ 3833 "type":"string", 3834 "enum":[ 3835 "Processing", 3836 "Deleting", 3837 "Deleted", 3838 "Downloading", 3839 "Updating", 3840 "Available", 3841 "Failed", 3842 "Stopping", 3843 "Stopped" 3844 ] 3845 }, 3846 "BotRecommendationSummary":{ 3847 "type":"structure", 3848 "required":[ 3849 "botRecommendationStatus", 3850 "botRecommendationId" 3851 ], 3852 "members":{ 3853 "botRecommendationStatus":{ 3854 "shape":"BotRecommendationStatus", 3855 "documentation":"<p>The status of the bot recommendation.</p> <p>If the status is Failed, then the reasons for the failure are listed in the failureReasons field. </p>" 3856 }, 3857 "botRecommendationId":{ 3858 "shape":"Id", 3859 "documentation":"<p>The unique identifier of the bot recommendation to be updated.</p>" 3860 }, 3861 "creationDateTime":{ 3862 "shape":"Timestamp", 3863 "documentation":"<p>A timestamp of the date and time that the bot recommendation was created.</p>" 3864 }, 3865 "lastUpdatedDateTime":{ 3866 "shape":"Timestamp", 3867 "documentation":"<p>A timestamp of the date and time that the bot recommendation was last updated.</p>" 3868 } 3869 }, 3870 "documentation":"<p>A summary of the bot recommendation.</p>" 3871 }, 3872 "BotRecommendationSummaryList":{ 3873 "type":"list", 3874 "member":{"shape":"BotRecommendationSummary"} 3875 }, 3876 "BotReplicaStatus":{ 3877 "type":"string", 3878 "documentation":"<p>The status of the operation to replicate the bot. Values: Enabling, Enabled, Deleting, Failed.</p>", 3879 "enum":[ 3880 "Enabling", 3881 "Enabled", 3882 "Deleting", 3883 "Failed" 3884 ] 3885 }, 3886 "BotReplicaSummary":{ 3887 "type":"structure", 3888 "members":{ 3889 "replicaRegion":{ 3890 "shape":"ReplicaRegion", 3891 "documentation":"<p>The replica region used in the replication statuses summary.</p>" 3892 }, 3893 "creationDateTime":{ 3894 "shape":"Timestamp", 3895 "documentation":"<p>The creation time and date for the replicated bots.</p>" 3896 }, 3897 "botReplicaStatus":{ 3898 "shape":"BotReplicaStatus", 3899 "documentation":"<p>The operation status for the replicated bot applicable.</p>" 3900 }, 3901 "failureReasons":{ 3902 "shape":"FailureReasons", 3903 "documentation":"<p>The reasons for the failure for the replicated bot.</p>" 3904 } 3905 }, 3906 "documentation":"<p>Contains summary information about all the replication statuses applicable for global resiliency.</p>" 3907 }, 3908 "BotReplicaSummaryList":{ 3909 "type":"list", 3910 "member":{"shape":"BotReplicaSummary"} 3911 }, 3912 "BotSortAttribute":{ 3913 "type":"string", 3914 "enum":["BotName"] 3915 }, 3916 "BotSortBy":{ 3917 "type":"structure", 3918 "required":[ 3919 "attribute", 3920 "order" 3921 ], 3922 "members":{ 3923 "attribute":{ 3924 "shape":"BotSortAttribute", 3925 "documentation":"<p>The attribute to use to sort the list of bots.</p>" 3926 }, 3927 "order":{ 3928 "shape":"SortOrder", 3929 "documentation":"<p>The order to sort the list. You can choose ascending or descending.</p>" 3930 } 3931 }, 3932 "documentation":"<p>Specifies attributes for sorting a list of bots.</p>" 3933 }, 3934 "BotStatus":{ 3935 "type":"string", 3936 "enum":[ 3937 "Creating", 3938 "Available", 3939 "Inactive", 3940 "Deleting", 3941 "Failed", 3942 "Versioning", 3943 "Importing", 3944 "Updating" 3945 ] 3946 }, 3947 "BotSummary":{ 3948 "type":"structure", 3949 "members":{ 3950 "botId":{ 3951 "shape":"Id", 3952 "documentation":"<p>The unique identifier assigned to the bot. Use this ID to get detailed information about the bot with the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeBot.html\">DescribeBot</a> operation.</p>" 3953 }, 3954 "botName":{ 3955 "shape":"Name", 3956 "documentation":"<p>The name of the bot.</p>" 3957 }, 3958 "description":{ 3959 "shape":"Description", 3960 "documentation":"<p>The description of the bot.</p>" 3961 }, 3962 "botStatus":{ 3963 "shape":"BotStatus", 3964 "documentation":"<p>The current status of the bot. When the status is <code>Available</code> the bot is ready for use.</p>" 3965 }, 3966 "latestBotVersion":{ 3967 "shape":"NumericalBotVersion", 3968 "documentation":"<p>The latest numerical version in use for the bot.</p>" 3969 }, 3970 "lastUpdatedDateTime":{ 3971 "shape":"Timestamp", 3972 "documentation":"<p>The date and time that the bot was last updated.</p>" 3973 }, 3974 "botType":{ 3975 "shape":"BotType", 3976 "documentation":"<p>The type of the bot.</p>" 3977 } 3978 }, 3979 "documentation":"<p>Summary information about a bot returned by the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBots.html\">ListBots</a> operation.</p>" 3980 }, 3981 "BotSummaryList":{ 3982 "type":"list", 3983 "member":{"shape":"BotSummary"} 3984 }, 3985 "BotType":{ 3986 "type":"string", 3987 "enum":[ 3988 "Bot", 3989 "BotNetwork" 3990 ] 3991 }, 3992 "BotVersion":{ 3993 "type":"string", 3994 "max":5, 3995 "min":1, 3996 "pattern":"^(DRAFT|[0-9]+)$" 3997 }, 3998 "BotVersionLocaleDetails":{ 3999 "type":"structure", 4000 "required":["sourceBotVersion"], 4001 "members":{ 4002 "sourceBotVersion":{ 4003 "shape":"BotVersion", 4004 "documentation":"<p>The version of a bot used for a bot locale.</p>" 4005 } 4006 }, 4007 "documentation":"<p>The version of a bot used for a bot locale.</p>" 4008 }, 4009 "BotVersionLocaleSpecification":{ 4010 "type":"map", 4011 "key":{"shape":"LocaleId"}, 4012 "value":{"shape":"BotVersionLocaleDetails"}, 4013 "min":1 4014 }, 4015 "BotVersionReplicaSortAttribute":{ 4016 "type":"string", 4017 "enum":["BotVersion"] 4018 }, 4019 "BotVersionReplicaSortBy":{ 4020 "type":"structure", 4021 "required":[ 4022 "attribute", 4023 "order" 4024 ], 4025 "members":{ 4026 "attribute":{ 4027 "shape":"BotVersionReplicaSortAttribute", 4028 "documentation":"<p>The attribute of the sort category for the version replicated bots.</p>" 4029 }, 4030 "order":{ 4031 "shape":"SortOrder", 4032 "documentation":"<p>The order of the sort category for the version replicated bots.</p>" 4033 } 4034 }, 4035 "documentation":"<p>The sort category for the version replicated bots.</p>" 4036 }, 4037 "BotVersionReplicaSummary":{ 4038 "type":"structure", 4039 "members":{ 4040 "botVersion":{ 4041 "shape":"BotVersion", 4042 "documentation":"<p>The bot version for the summary information for all the version replication statuses.</p>" 4043 }, 4044 "botVersionReplicationStatus":{ 4045 "shape":"BotVersionReplicationStatus", 4046 "documentation":"<p>The version replication status for all the replicated bots.</p>" 4047 }, 4048 "creationDateTime":{ 4049 "shape":"Timestamp", 4050 "documentation":"<p>The creation date and time of the replication status for all the replicated bots.</p>" 4051 }, 4052 "failureReasons":{ 4053 "shape":"FailureReasons", 4054 "documentation":"<p>The reasons for replication failure for all the replicated bots.</p>" 4055 } 4056 }, 4057 "documentation":"<p>Contains summary information for all the version replication statuses applicable for Global resiliency.</p>" 4058 }, 4059 "BotVersionReplicaSummaryList":{ 4060 "type":"list", 4061 "member":{"shape":"BotVersionReplicaSummary"} 4062 }, 4063 "BotVersionReplicationStatus":{ 4064 "type":"string", 4065 "documentation":"<p>The status of the operation to replicate the bot version. Values: Creating, Available, Deleting, Failed.</p>", 4066 "enum":[ 4067 "Creating", 4068 "Available", 4069 "Deleting", 4070 "Failed" 4071 ] 4072 }, 4073 "BotVersionSortAttribute":{ 4074 "type":"string", 4075 "enum":["BotVersion"] 4076 }, 4077 "BotVersionSortBy":{ 4078 "type":"structure", 4079 "required":[ 4080 "attribute", 4081 "order" 4082 ], 4083 "members":{ 4084 "attribute":{ 4085 "shape":"BotVersionSortAttribute", 4086 "documentation":"<p>The attribute to use to sort the list of versions.</p>" 4087 }, 4088 "order":{ 4089 "shape":"SortOrder", 4090 "documentation":"<p>The order to sort the list. You can specify ascending or descending order.</p>" 4091 } 4092 }, 4093 "documentation":"<p>Specifies attributes for sorting a list of bot versions.</p>" 4094 }, 4095 "BotVersionSummary":{ 4096 "type":"structure", 4097 "members":{ 4098 "botName":{ 4099 "shape":"Name", 4100 "documentation":"<p>The name of the bot associated with the version.</p>" 4101 }, 4102 "botVersion":{ 4103 "shape":"BotVersion", 4104 "documentation":"<p>The numeric version of the bot, or <code>DRAFT</code> to indicate that this is the version of the bot that can be updated..</p>" 4105 }, 4106 "description":{ 4107 "shape":"Description", 4108 "documentation":"<p>The description of the version.</p>" 4109 }, 4110 "botStatus":{ 4111 "shape":"BotStatus", 4112 "documentation":"<p>The status of the bot. When the status is available, the version of the bot is ready for use.</p>" 4113 }, 4114 "creationDateTime":{ 4115 "shape":"Timestamp", 4116 "documentation":"<p>A timestamp of the date and time that the version was created.</p>" 4117 } 4118 }, 4119 "documentation":"<p>Summary information about a bot version returned by the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBotVersions.html\">ListBotVersions</a> operation.</p>" 4120 }, 4121 "BotVersionSummaryList":{ 4122 "type":"list", 4123 "member":{"shape":"BotVersionSummary"} 4124 }, 4125 "BoxedBoolean":{ 4126 "type":"boolean", 4127 "box":true 4128 }, 4129 "BuildBotLocaleRequest":{ 4130 "type":"structure", 4131 "required":[ 4132 "botId", 4133 "botVersion", 4134 "localeId" 4135 ], 4136 "members":{ 4137 "botId":{ 4138 "shape":"Id", 4139 "documentation":"<p>The identifier of the bot to build. The identifier is returned in the response from the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html\">CreateBot</a> operation.</p>", 4140 "location":"uri", 4141 "locationName":"botId" 4142 }, 4143 "botVersion":{ 4144 "shape":"DraftBotVersion", 4145 "documentation":"<p>The version of the bot to build. This can only be the draft version of the bot.</p>", 4146 "location":"uri", 4147 "locationName":"botVersion" 4148 }, 4149 "localeId":{ 4150 "shape":"LocaleId", 4151 "documentation":"<p>The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 4152 "location":"uri", 4153 "locationName":"localeId" 4154 } 4155 } 4156 }, 4157 "BuildBotLocaleResponse":{ 4158 "type":"structure", 4159 "members":{ 4160 "botId":{ 4161 "shape":"Id", 4162 "documentation":"<p>The identifier of the specified bot.</p>" 4163 }, 4164 "botVersion":{ 4165 "shape":"DraftBotVersion", 4166 "documentation":"<p>The version of the bot that was built. This is only the draft version of the bot.</p>" 4167 }, 4168 "localeId":{ 4169 "shape":"LocaleId", 4170 "documentation":"<p>The language and locale specified of where the bot can be used.</p>" 4171 }, 4172 "botLocaleStatus":{ 4173 "shape":"BotLocaleStatus", 4174 "documentation":"<p>The bot's build status. When the status is <code>ReadyExpressTesting</code> you can test the bot using the utterances defined for the intents and slot types. When the status is <code>Built</code>, the bot is ready for use and can be tested using any utterance.</p>" 4175 }, 4176 "lastBuildSubmittedDateTime":{ 4177 "shape":"Timestamp", 4178 "documentation":"<p>A timestamp indicating the date and time that the bot was last built for this locale.</p>" 4179 } 4180 } 4181 }, 4182 "BuildtimeSettings":{ 4183 "type":"structure", 4184 "members":{ 4185 "descriptiveBotBuilder":{ 4186 "shape":"DescriptiveBotBuilderSpecification", 4187 "documentation":"<p>An object containing specifications for the descriptive bot building feature.</p>" 4188 }, 4189 "sampleUtteranceGeneration":{"shape":"SampleUtteranceGenerationSpecification"} 4190 }, 4191 "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 }, 4193 "BuiltInIntentSortAttribute":{ 4194 "type":"string", 4195 "enum":["IntentSignature"] 4196 }, 4197 "BuiltInIntentSortBy":{ 4198 "type":"structure", 4199 "required":[ 4200 "attribute", 4201 "order" 4202 ], 4203 "members":{ 4204 "attribute":{ 4205 "shape":"BuiltInIntentSortAttribute", 4206 "documentation":"<p>The attribute to use to sort the list of built-in intents.</p>" 4207 }, 4208 "order":{ 4209 "shape":"SortOrder", 4210 "documentation":"<p>The order to sort the list. You can specify ascending or descending order.</p>" 4211 } 4212 }, 4213 "documentation":"<p>Specifies attributes for sorting a list of built-in intents.</p>" 4214 }, 4215 "BuiltInIntentSummary":{ 4216 "type":"structure", 4217 "members":{ 4218 "intentSignature":{ 4219 "shape":"IntentSignature", 4220 "documentation":"<p>The signature of the built-in intent. Use this to specify the parent intent of a derived intent.</p>" 4221 }, 4222 "description":{ 4223 "shape":"Description", 4224 "documentation":"<p>The description of the intent.</p>" 4225 } 4226 }, 4227 "documentation":"<p>Provides summary information about a built-in intent for the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBuiltInIntents.html\"> ListBuiltInIntents </a> operation.</p>" 4228 }, 4229 "BuiltInIntentSummaryList":{ 4230 "type":"list", 4231 "member":{"shape":"BuiltInIntentSummary"} 4232 }, 4233 "BuiltInOrCustomSlotTypeId":{ 4234 "type":"string", 4235 "max":25, 4236 "min":1, 4237 "pattern":"^((AMAZON\\.)[a-zA-Z_]+?|[0-9a-zA-Z]+)$" 4238 }, 4239 "BuiltInSlotTypeSortAttribute":{ 4240 "type":"string", 4241 "enum":["SlotTypeSignature"] 4242 }, 4243 "BuiltInSlotTypeSortBy":{ 4244 "type":"structure", 4245 "required":[ 4246 "attribute", 4247 "order" 4248 ], 4249 "members":{ 4250 "attribute":{ 4251 "shape":"BuiltInSlotTypeSortAttribute", 4252 "documentation":"<p>The attribute to use to sort the list of built-in intents.</p>" 4253 }, 4254 "order":{ 4255 "shape":"SortOrder", 4256 "documentation":"<p>The order to sort the list. You can choose ascending or descending.</p>" 4257 } 4258 }, 4259 "documentation":"<p>Specifies attributes for sorting a list of built-in slot types.</p>" 4260 }, 4261 "BuiltInSlotTypeSummary":{ 4262 "type":"structure", 4263 "members":{ 4264 "slotTypeSignature":{ 4265 "shape":"SlotTypeSignature", 4266 "documentation":"<p>The signature of the built-in slot type. Use this to specify the parent slot type of a derived slot type.</p>" 4267 }, 4268 "description":{ 4269 "shape":"Description", 4270 "documentation":"<p>The description of the built-in slot type.</p>" 4271 } 4272 }, 4273 "documentation":"<p>Provides summary information about a built-in slot type for the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBuiltInSlotTypes.html\"> ListBuiltInSlotTypes </a> operation.</p>" 4274 }, 4275 "BuiltInSlotTypeSummaryList":{ 4276 "type":"list", 4277 "member":{"shape":"BuiltInSlotTypeSummary"} 4278 }, 4279 "BuiltInsMaxResults":{ 4280 "type":"integer", 4281 "box":true, 4282 "max":20, 4283 "min":20 4284 }, 4285 "Button":{ 4286 "type":"structure", 4287 "required":[ 4288 "text", 4289 "value" 4290 ], 4291 "members":{ 4292 "text":{ 4293 "shape":"ButtonText", 4294 "documentation":"<p>The text that appears on the button. Use this to tell the user what value is returned when they choose this button.</p>" 4295 }, 4296 "value":{ 4297 "shape":"ButtonValue", 4298 "documentation":"<p>The value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.</p>" 4299 } 4300 }, 4301 "documentation":"<p>Describes a button to use on a response card used to gather slot values from a user.</p>" 4302 }, 4303 "ButtonText":{ 4304 "type":"string", 4305 "max":50, 4306 "min":1 4307 }, 4308 "ButtonValue":{ 4309 "type":"string", 4310 "max":50, 4311 "min":1 4312 }, 4313 "ButtonsList":{ 4314 "type":"list", 4315 "member":{"shape":"Button"}, 4316 "max":5, 4317 "min":0 4318 }, 4319 "ChildDirected":{"type":"boolean"}, 4320 "CloudWatchLogGroupArn":{ 4321 "type":"string", 4322 "max":2048, 4323 "min":1, 4324 "pattern":"^arn:[\\w\\-]+:logs:[\\w\\-]+:[\\d]{12}:log-group:[\\.\\-_/#A-Za-z0-9]{1,512}(?::\\*)?$" 4325 }, 4326 "CloudWatchLogGroupLogDestination":{ 4327 "type":"structure", 4328 "required":[ 4329 "cloudWatchLogGroupArn", 4330 "logPrefix" 4331 ], 4332 "members":{ 4333 "cloudWatchLogGroupArn":{ 4334 "shape":"CloudWatchLogGroupArn", 4335 "documentation":"<p>The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered.</p>" 4336 }, 4337 "logPrefix":{ 4338 "shape":"LogPrefix", 4339 "documentation":"<p>The prefix of the log stream name within the log group that you specified </p>" 4340 } 4341 }, 4342 "documentation":"<p>The Amazon CloudWatch Logs log group where the text and metadata logs are delivered. The log group must exist before you enable logging.</p>" 4343 }, 4344 "CodeHookInterfaceVersion":{ 4345 "type":"string", 4346 "max":5, 4347 "min":1 4348 }, 4349 "CodeHookSpecification":{ 4350 "type":"structure", 4351 "required":["lambdaCodeHook"], 4352 "members":{ 4353 "lambdaCodeHook":{"shape":"LambdaCodeHook"} 4354 }, 4355 "documentation":"<p>Contains information about code hooks that Amazon Lex calls during a conversation.</p>" 4356 }, 4357 "CompositeSlotTypeSetting":{ 4358 "type":"structure", 4359 "members":{ 4360 "subSlots":{ 4361 "shape":"SubSlotTypeList", 4362 "documentation":"<p>Subslots in the composite slot.</p>" 4363 } 4364 }, 4365 "documentation":"<p>A composite slot is a combination of two or more slots that capture multiple pieces of information in a single user input.</p>" 4366 }, 4367 "Condition":{ 4368 "type":"structure", 4369 "required":["expressionString"], 4370 "members":{ 4371 "expressionString":{ 4372 "shape":"ConditionExpression", 4373 "documentation":"<p>The expression string that is evaluated. </p>" 4374 } 4375 }, 4376 "documentation":"<p>Provides an expression that evaluates to true or false. </p>" 4377 }, 4378 "ConditionExpression":{ 4379 "type":"string", 4380 "max":1024, 4381 "min":1 4382 }, 4383 "ConditionKey":{ 4384 "type":"string", 4385 "max":1024, 4386 "min":1 4387 }, 4388 "ConditionKeyValueMap":{ 4389 "type":"map", 4390 "key":{"shape":"ConditionKey"}, 4391 "value":{"shape":"ConditionValue"}, 4392 "max":10, 4393 "min":0 4394 }, 4395 "ConditionMap":{ 4396 "type":"map", 4397 "key":{"shape":"ConditionOperator"}, 4398 "value":{"shape":"ConditionKeyValueMap"}, 4399 "max":10, 4400 "min":0 4401 }, 4402 "ConditionOperator":{ 4403 "type":"string", 4404 "min":1 4405 }, 4406 "ConditionValue":{ 4407 "type":"string", 4408 "max":1024, 4409 "min":1 4410 }, 4411 "ConditionalBranch":{ 4412 "type":"structure", 4413 "required":[ 4414 "name", 4415 "condition", 4416 "nextStep" 4417 ], 4418 "members":{ 4419 "name":{ 4420 "shape":"Name", 4421 "documentation":"<p>The name of the branch. </p>" 4422 }, 4423 "condition":{ 4424 "shape":"Condition", 4425 "documentation":"<p>Contains the expression to evaluate. If the condition is true, the branch's actions are taken.</p>" 4426 }, 4427 "nextStep":{ 4428 "shape":"DialogState", 4429 "documentation":"<p>The next step in the conversation.</p>" 4430 }, 4431 "response":{"shape":"ResponseSpecification"} 4432 }, 4433 "documentation":"<p>A set of actions that Amazon Lex should run if the condition is matched.</p>" 4434 }, 4435 "ConditionalBranches":{ 4436 "type":"list", 4437 "member":{"shape":"ConditionalBranch"}, 4438 "max":4, 4439 "min":1 4440 }, 4441 "ConditionalSpecification":{ 4442 "type":"structure", 4443 "required":[ 4444 "active", 4445 "conditionalBranches", 4446 "defaultBranch" 4447 ], 4448 "members":{ 4449 "active":{ 4450 "shape":"BoxedBoolean", 4451 "documentation":"<p>Determines whether a conditional branch is active. When <code>active</code> is false, the conditions are not evaluated.</p>" 4452 }, 4453 "conditionalBranches":{ 4454 "shape":"ConditionalBranches", 4455 "documentation":"<p>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.</p>" 4456 }, 4457 "defaultBranch":{ 4458 "shape":"DefaultConditionalBranch", 4459 "documentation":"<p>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.</p>" 4460 } 4461 }, 4462 "documentation":"<p>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.</p>" 4463 }, 4464 "ConfidenceThreshold":{ 4465 "type":"double", 4466 "max":1, 4467 "min":0 4468 }, 4469 "ConflictException":{ 4470 "type":"structure", 4471 "members":{ 4472 "message":{"shape":"ExceptionMessage"} 4473 }, 4474 "documentation":"<p>The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again. </p>", 4475 "error":{"httpStatusCode":409}, 4476 "exception":true 4477 }, 4478 "ContextTimeToLiveInSeconds":{ 4479 "type":"integer", 4480 "max":86400, 4481 "min":5 4482 }, 4483 "ContextTurnsToLive":{ 4484 "type":"integer", 4485 "max":20, 4486 "min":1 4487 }, 4488 "ConversationEndState":{ 4489 "type":"string", 4490 "enum":[ 4491 "Success", 4492 "Failure", 4493 "Dropped" 4494 ] 4495 }, 4496 "ConversationLevelIntentClassificationResultItem":{ 4497 "type":"structure", 4498 "required":[ 4499 "intentName", 4500 "matchResult" 4501 ], 4502 "members":{ 4503 "intentName":{ 4504 "shape":"Name", 4505 "documentation":"<p>The intent name used in the evaluation of intent level success or failure.</p>" 4506 }, 4507 "matchResult":{ 4508 "shape":"TestResultMatchStatus", 4509 "documentation":"<p>The number of times the specific intent is used in the evaluation of intent level success or failure.</p>" 4510 } 4511 }, 4512 "documentation":"<p>The item listing the evaluation of intent level success or failure.</p>" 4513 }, 4514 "ConversationLevelIntentClassificationResults":{ 4515 "type":"list", 4516 "member":{"shape":"ConversationLevelIntentClassificationResultItem"} 4517 }, 4518 "ConversationLevelResultDetail":{ 4519 "type":"structure", 4520 "required":["endToEndResult"], 4521 "members":{ 4522 "endToEndResult":{ 4523 "shape":"TestResultMatchStatus", 4524 "documentation":"<p>The success or failure of the streaming of the conversation.</p>" 4525 }, 4526 "speechTranscriptionResult":{ 4527 "shape":"TestResultMatchStatus", 4528 "documentation":"<p>The speech transcription success or failure details of the conversation.</p>" 4529 } 4530 }, 4531 "documentation":"<p>The conversation level details of the conversation used in the test set.</p>" 4532 }, 4533 "ConversationLevelSlotResolutionResultItem":{ 4534 "type":"structure", 4535 "required":[ 4536 "intentName", 4537 "slotName", 4538 "matchResult" 4539 ], 4540 "members":{ 4541 "intentName":{ 4542 "shape":"Name", 4543 "documentation":"<p>The intents used in the slots list for the slot resolution details.</p>" 4544 }, 4545 "slotName":{ 4546 "shape":"TestResultSlotName", 4547 "documentation":"<p>The slot name in the slots list for the slot resolution details.</p>" 4548 }, 4549 "matchResult":{ 4550 "shape":"TestResultMatchStatus", 4551 "documentation":"<p>The number of matching slots used in the slots listings for the slot resolution evaluation.</p>" 4552 } 4553 }, 4554 "documentation":"<p>The slots used for the slot resolution in the conversation.</p>" 4555 }, 4556 "ConversationLevelSlotResolutionResults":{ 4557 "type":"list", 4558 "member":{"shape":"ConversationLevelSlotResolutionResultItem"} 4559 }, 4560 "ConversationLevelTestResultItem":{ 4561 "type":"structure", 4562 "required":[ 4563 "conversationId", 4564 "endToEndResult", 4565 "intentClassificationResults", 4566 "slotResolutionResults" 4567 ], 4568 "members":{ 4569 "conversationId":{ 4570 "shape":"TestSetConversationId", 4571 "documentation":"<p>The conversation Id of the test result evaluation item.</p>" 4572 }, 4573 "endToEndResult":{ 4574 "shape":"TestResultMatchStatus", 4575 "documentation":"<p>The end-to-end success or failure of the test result evaluation item.</p>" 4576 }, 4577 "speechTranscriptionResult":{ 4578 "shape":"TestResultMatchStatus", 4579 "documentation":"<p>The speech transcription success or failure of the test result evaluation item.</p>" 4580 }, 4581 "intentClassificationResults":{ 4582 "shape":"ConversationLevelIntentClassificationResults", 4583 "documentation":"<p>The intent classification of the test result evaluation item.</p>" 4584 }, 4585 "slotResolutionResults":{ 4586 "shape":"ConversationLevelSlotResolutionResults", 4587 "documentation":"<p>The slot success or failure of the test result evaluation item.</p>" 4588 } 4589 }, 4590 "documentation":"<p>The test result evaluation item at the conversation level.</p>" 4591 }, 4592 "ConversationLevelTestResultItemList":{ 4593 "type":"list", 4594 "member":{"shape":"ConversationLevelTestResultItem"} 4595 }, 4596 "ConversationLevelTestResults":{ 4597 "type":"structure", 4598 "required":["items"], 4599 "members":{ 4600 "items":{ 4601 "shape":"ConversationLevelTestResultItemList", 4602 "documentation":"<p>The item list in the test set results data at the conversation level.</p>" 4603 } 4604 }, 4605 "documentation":"<p>The test set results data at the conversation level.</p>" 4606 }, 4607 "ConversationLevelTestResultsFilterBy":{ 4608 "type":"structure", 4609 "members":{ 4610 "endToEndResult":{ 4611 "shape":"TestResultMatchStatus", 4612 "documentation":"<p>The selection of matched or mismatched end-to-end status to filter test set results data at the conversation level.</p>" 4613 } 4614 }, 4615 "documentation":"<p>The selection to filter the test set results data at the conversation level.</p>" 4616 }, 4617 "ConversationLogSettings":{ 4618 "type":"structure", 4619 "members":{ 4620 "textLogSettings":{ 4621 "shape":"TextLogSettingsList", 4622 "documentation":"<p>The Amazon CloudWatch Logs settings for logging text and metadata.</p>" 4623 }, 4624 "audioLogSettings":{ 4625 "shape":"AudioLogSettingsList", 4626 "documentation":"<p>The Amazon S3 settings for logging audio to an S3 bucket.</p>" 4627 } 4628 }, 4629 "documentation":"<p>Configures conversation logging that saves audio, text, and metadata for the conversations with your users.</p>" 4630 }, 4631 "ConversationLogsDataSource":{ 4632 "type":"structure", 4633 "required":[ 4634 "botId", 4635 "botAliasId", 4636 "localeId", 4637 "filter" 4638 ], 4639 "members":{ 4640 "botId":{ 4641 "shape":"Id", 4642 "documentation":"<p>The bot Id from the conversation logs.</p>" 4643 }, 4644 "botAliasId":{ 4645 "shape":"BotAliasId", 4646 "documentation":"<p>The bot alias Id from the conversation logs.</p>" 4647 }, 4648 "localeId":{ 4649 "shape":"LocaleId", 4650 "documentation":"<p>The locale Id of the conversation log.</p>" 4651 }, 4652 "filter":{ 4653 "shape":"ConversationLogsDataSourceFilterBy", 4654 "documentation":"<p>The filter for the data source of the conversation log.</p>" 4655 } 4656 }, 4657 "documentation":"<p>The data source that uses conversation logs.</p>" 4658 }, 4659 "ConversationLogsDataSourceFilterBy":{ 4660 "type":"structure", 4661 "required":[ 4662 "startTime", 4663 "endTime", 4664 "inputMode" 4665 ], 4666 "members":{ 4667 "startTime":{ 4668 "shape":"Timestamp", 4669 "documentation":"<p>The start time for the conversation log.</p>" 4670 }, 4671 "endTime":{ 4672 "shape":"Timestamp", 4673 "documentation":"<p>The end time for the conversation log.</p>" 4674 }, 4675 "inputMode":{ 4676 "shape":"ConversationLogsInputModeFilter", 4677 "documentation":"<p>The selection to filter by input mode for the conversation logs. </p>" 4678 } 4679 }, 4680 "documentation":"<p>The selected data source to filter the conversation log.</p>" 4681 }, 4682 "ConversationLogsInputModeFilter":{ 4683 "type":"string", 4684 "enum":[ 4685 "Speech", 4686 "Text" 4687 ] 4688 }, 4689 "Count":{"type":"integer"}, 4690 "CreateBotAliasRequest":{ 4691 "type":"structure", 4692 "required":[ 4693 "botAliasName", 4694 "botId" 4695 ], 4696 "members":{ 4697 "botAliasName":{ 4698 "shape":"Name", 4699 "documentation":"<p>The alias to create. The name must be unique for the bot.</p>" 4700 }, 4701 "description":{ 4702 "shape":"Description", 4703 "documentation":"<p>A description of the alias. Use this description to help identify the alias.</p>" 4704 }, 4705 "botVersion":{ 4706 "shape":"NumericalBotVersion", 4707 "documentation":"<p>The version of the bot that this alias points to. You can use the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_UpdateBotAlias.html\">UpdateBotAlias</a> operation to change the bot version associated with the alias.</p>" 4708 }, 4709 "botAliasLocaleSettings":{ 4710 "shape":"BotAliasLocaleSettingsMap", 4711 "documentation":"<p>Maps configuration information to a specific locale. You can use this parameter to specify a specific Lambda function to run different functions in different locales.</p>" 4712 }, 4713 "conversationLogSettings":{ 4714 "shape":"ConversationLogSettings", 4715 "documentation":"<p>Specifies whether Amazon Lex logs text and audio for a conversation with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch Logs. Audio logs store audio input in Amazon S3.</p>" 4716 }, 4717 "sentimentAnalysisSettings":{"shape":"SentimentAnalysisSettings"}, 4718 "botId":{ 4719 "shape":"Id", 4720 "documentation":"<p>The unique identifier of the bot that the alias applies to.</p>", 4721 "location":"uri", 4722 "locationName":"botId" 4723 }, 4724 "tags":{ 4725 "shape":"TagMap", 4726 "documentation":"<p>A list of tags to add to the bot alias. You can only add tags when you create an alias, you can't use the <code>UpdateBotAlias</code> operation to update the tags on a bot alias. To update tags, use the <code>TagResource</code> operation.</p>" 4727 } 4728 } 4729 }, 4730 "CreateBotAliasResponse":{ 4731 "type":"structure", 4732 "members":{ 4733 "botAliasId":{ 4734 "shape":"BotAliasId", 4735 "documentation":"<p>The unique identifier of the bot alias.</p>" 4736 }, 4737 "botAliasName":{ 4738 "shape":"Name", 4739 "documentation":"<p>The name specified for the bot alias.</p>" 4740 }, 4741 "description":{ 4742 "shape":"Description", 4743 "documentation":"<p>The description specified for the bot alias.</p>" 4744 }, 4745 "botVersion":{ 4746 "shape":"NumericalBotVersion", 4747 "documentation":"<p>The version of the bot associated with this alias.</p>" 4748 }, 4749 "botAliasLocaleSettings":{ 4750 "shape":"BotAliasLocaleSettingsMap", 4751 "documentation":"<p>Configuration information for a specific locale.</p>" 4752 }, 4753 "conversationLogSettings":{ 4754 "shape":"ConversationLogSettings", 4755 "documentation":"<p>The conversation log settings specified for the alias.</p>" 4756 }, 4757 "sentimentAnalysisSettings":{"shape":"SentimentAnalysisSettings"}, 4758 "botAliasStatus":{ 4759 "shape":"BotAliasStatus", 4760 "documentation":"<p>The current status of the alias. The alias is first put into the <code>Creating</code> state. When the alias is ready to be used, it is put into the <code>Available</code> state. You can use the <code>DescribeBotAlias</code> operation to get the current state of an alias.</p>" 4761 }, 4762 "botId":{ 4763 "shape":"Id", 4764 "documentation":"<p>The unique identifier of the bot that this alias applies to.</p>" 4765 }, 4766 "creationDateTime":{ 4767 "shape":"Timestamp", 4768 "documentation":"<p>A Unix timestamp indicating the date and time that the bot alias was created.</p>" 4769 }, 4770 "tags":{ 4771 "shape":"TagMap", 4772 "documentation":"<p>A list of tags associated with the bot alias.</p>" 4773 } 4774 } 4775 }, 4776 "CreateBotLocaleRequest":{ 4777 "type":"structure", 4778 "required":[ 4779 "botId", 4780 "botVersion", 4781 "localeId", 4782 "nluIntentConfidenceThreshold" 4783 ], 4784 "members":{ 4785 "botId":{ 4786 "shape":"Id", 4787 "documentation":"<p>The identifier of the bot to create the locale for.</p>", 4788 "location":"uri", 4789 "locationName":"botId" 4790 }, 4791 "botVersion":{ 4792 "shape":"DraftBotVersion", 4793 "documentation":"<p>The version of the bot to create the locale for. This can only be the draft version of the bot.</p>", 4794 "location":"uri", 4795 "locationName":"botVersion" 4796 }, 4797 "localeId":{ 4798 "shape":"LocaleId", 4799 "documentation":"<p>The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>" 4800 }, 4801 "description":{ 4802 "shape":"Description", 4803 "documentation":"<p>A description of the bot locale. Use this to help identify the bot locale in lists.</p>" 4804 }, 4805 "nluIntentConfidenceThreshold":{ 4806 "shape":"ConfidenceThreshold", 4807 "documentation":"<p>Determines the threshold where Amazon Lex will insert the <code>AMAZON.FallbackIntent</code>, <code>AMAZON.KendraSearchIntent</code>, or both when returning alternative intents. <code>AMAZON.FallbackIntent</code> and <code>AMAZON.KendraSearchIntent</code> are only inserted if they are configured for the bot.</p> <p>For example, suppose a bot is configured with the confidence threshold of 0.80 and the <code>AMAZON.FallbackIntent</code>. Amazon Lex returns three alternative intents with the following confidence scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response from the <code>RecognizeText</code> operation would be:</p> <ul> <li> <p>AMAZON.FallbackIntent</p> </li> <li> <p>IntentA</p> </li> <li> <p>IntentB</p> </li> <li> <p>IntentC</p> </li> </ul>" 4808 }, 4809 "voiceSettings":{ 4810 "shape":"VoiceSettings", 4811 "documentation":"<p>The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.</p>" 4812 }, 4813 "generativeAISettings":{"shape":"GenerativeAISettings"} 4814 } 4815 }, 4816 "CreateBotLocaleResponse":{ 4817 "type":"structure", 4818 "members":{ 4819 "botId":{ 4820 "shape":"Id", 4821 "documentation":"<p>The specified bot identifier.</p>" 4822 }, 4823 "botVersion":{ 4824 "shape":"DraftBotVersion", 4825 "documentation":"<p>The specified bot version.</p>" 4826 }, 4827 "localeName":{ 4828 "shape":"LocaleName", 4829 "documentation":"<p>The specified locale name.</p>" 4830 }, 4831 "localeId":{ 4832 "shape":"LocaleId", 4833 "documentation":"<p>The specified locale identifier.</p>" 4834 }, 4835 "description":{ 4836 "shape":"Description", 4837 "documentation":"<p>The specified description of the bot locale.</p>" 4838 }, 4839 "nluIntentConfidenceThreshold":{ 4840 "shape":"ConfidenceThreshold", 4841 "documentation":"<p>The specified confidence threshold for inserting the <code>AMAZON.FallbackIntent</code> and <code>AMAZON.KendraSearchIntent</code> intents.</p>" 4842 }, 4843 "voiceSettings":{ 4844 "shape":"VoiceSettings", 4845 "documentation":"<p>The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.</p>" 4846 }, 4847 "botLocaleStatus":{ 4848 "shape":"BotLocaleStatus", 4849 "documentation":"<p>The status of the bot.</p> <p>When the status is <code>Creating</code> the bot locale is being configured. When the status is <code>Building</code> Amazon Lex is building the bot for testing and use.</p> <p>If the status of the bot is <code>ReadyExpressTesting</code>, you can test the bot using the exact utterances specified in the bots' intents. When the bot is ready for full testing or to run, the status is <code>Built</code>.</p> <p>If there was a problem with building the bot, the status is <code>Failed</code>. If the bot was saved but not built, the status is <code>NotBuilt</code>.</p>" 4850 }, 4851 "creationDateTime":{ 4852 "shape":"Timestamp", 4853 "documentation":"<p>A timestamp specifying the date and time that the bot locale was created.</p>" 4854 }, 4855 "generativeAISettings":{"shape":"GenerativeAISettings"} 4856 } 4857 }, 4858 "CreateBotReplicaRequest":{ 4859 "type":"structure", 4860 "required":[ 4861 "botId", 4862 "replicaRegion" 4863 ], 4864 "members":{ 4865 "botId":{ 4866 "shape":"Id", 4867 "documentation":"<p>The request for the unique bot ID of the source bot to be replicated in the secondary region.</p>", 4868 "location":"uri", 4869 "locationName":"botId" 4870 }, 4871 "replicaRegion":{ 4872 "shape":"ReplicaRegion", 4873 "documentation":"<p>The request for the secondary region that will be used in the replication of the source bot.</p>" 4874 } 4875 } 4876 }, 4877 "CreateBotReplicaResponse":{ 4878 "type":"structure", 4879 "members":{ 4880 "botId":{ 4881 "shape":"Id", 4882 "documentation":"<p>The unique bot ID of the replicated bot generated.</p>" 4883 }, 4884 "replicaRegion":{ 4885 "shape":"ReplicaRegion", 4886 "documentation":"<p>The region of the replicated bot generated.</p>" 4887 }, 4888 "sourceRegion":{ 4889 "shape":"ReplicaRegion", 4890 "documentation":"<p>The source region for the source bot used for the replicated bot generated.</p>" 4891 }, 4892 "creationDateTime":{ 4893 "shape":"Timestamp", 4894 "documentation":"<p>The creation date and time of the replicated bot generated.</p>" 4895 }, 4896 "botReplicaStatus":{ 4897 "shape":"BotReplicaStatus", 4898 "documentation":"<p>The operational status of the replicated bot generated.</p>" 4899 } 4900 } 4901 }, 4902 "CreateBotRequest":{ 4903 "type":"structure", 4904 "required":[ 4905 "botName", 4906 "roleArn", 4907 "dataPrivacy", 4908 "idleSessionTTLInSeconds" 4909 ], 4910 "members":{ 4911 "botName":{ 4912 "shape":"Name", 4913 "documentation":"<p>The name of the bot. The bot name must be unique in the account that creates the bot.</p>" 4914 }, 4915 "description":{ 4916 "shape":"Description", 4917 "documentation":"<p>A description of the bot. It appears in lists to help you identify a particular bot.</p>" 4918 }, 4919 "roleArn":{ 4920 "shape":"RoleArn", 4921 "documentation":"<p>The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.</p>" 4922 }, 4923 "dataPrivacy":{ 4924 "shape":"DataPrivacy", 4925 "documentation":"<p>Provides information on additional privacy protections Amazon Lex should use with the bot's data.</p>" 4926 }, 4927 "idleSessionTTLInSeconds":{ 4928 "shape":"SessionTTL", 4929 "documentation":"<p>The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot. </p> <p>A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.</p> <p>You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.</p>" 4930 }, 4931 "botTags":{ 4932 "shape":"TagMap", 4933 "documentation":"<p>A list of tags to add to the bot. You can only add tags when you create a bot. You can't use the <code>UpdateBot</code> operation to update tags. To update tags, use the <code>TagResource</code> operation.</p>" 4934 }, 4935 "testBotAliasTags":{ 4936 "shape":"TagMap", 4937 "documentation":"<p>A list of tags to add to the test alias for a bot. You can only add tags when you create a bot. You can't use the <code>UpdateAlias</code> operation to update tags. To update tags on the test alias, use the <code>TagResource</code> operation.</p>" 4938 }, 4939 "botType":{ 4940 "shape":"BotType", 4941 "documentation":"<p>The type of a bot to create.</p>" 4942 }, 4943 "botMembers":{ 4944 "shape":"BotMembers", 4945 "documentation":"<p>The list of bot members in a network to be created.</p>" 4946 } 4947 } 4948 }, 4949 "CreateBotResponse":{ 4950 "type":"structure", 4951 "members":{ 4952 "botId":{ 4953 "shape":"Id", 4954 "documentation":"<p>A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API operations.</p>" 4955 }, 4956 "botName":{ 4957 "shape":"Name", 4958 "documentation":"<p>The name specified for the bot.</p>" 4959 }, 4960 "description":{ 4961 "shape":"Description", 4962 "documentation":"<p>The description specified for the bot.</p>" 4963 }, 4964 "roleArn":{ 4965 "shape":"RoleArn", 4966 "documentation":"<p>The IAM role specified for the bot.</p>" 4967 }, 4968 "dataPrivacy":{ 4969 "shape":"DataPrivacy", 4970 "documentation":"<p>The data privacy settings specified for the bot.</p>" 4971 }, 4972 "idleSessionTTLInSeconds":{ 4973 "shape":"SessionTTL", 4974 "documentation":"<p>The session idle time specified for the bot.</p>" 4975 }, 4976 "botStatus":{ 4977 "shape":"BotStatus", 4978 "documentation":"<p>Shows the current status of the bot. The bot is first in the <code>Creating</code> status. Once the bot is read for use, it changes to the <code>Available</code> status. After the bot is created, you can use the <code>DRAFT</code> version of the bot.</p>" 4979 }, 4980 "creationDateTime":{ 4981 "shape":"Timestamp", 4982 "documentation":"<p>A timestamp indicating the date and time that the bot was created.</p>" 4983 }, 4984 "botTags":{ 4985 "shape":"TagMap", 4986 "documentation":"<p>A list of tags associated with the bot.</p>" 4987 }, 4988 "testBotAliasTags":{ 4989 "shape":"TagMap", 4990 "documentation":"<p>A list of tags associated with the test alias for the bot.</p>" 4991 }, 4992 "botType":{ 4993 "shape":"BotType", 4994 "documentation":"<p>The type of a bot that was created.</p>" 4995 }, 4996 "botMembers":{ 4997 "shape":"BotMembers", 4998 "documentation":"<p>The list of bots in a network that was created.</p>" 4999 } 5000 } 5001 }, 5002 "CreateBotVersionRequest":{ 5003 "type":"structure", 5004 "required":[ 5005 "botId", 5006 "botVersionLocaleSpecification" 5007 ], 5008 "members":{ 5009 "botId":{ 5010 "shape":"Id", 5011 "documentation":"<p>The identifier of the bot to create the version for.</p>", 5012 "location":"uri", 5013 "locationName":"botId" 5014 }, 5015 "description":{ 5016 "shape":"Description", 5017 "documentation":"<p>A description of the version. Use the description to help identify the version in lists.</p>" 5018 }, 5019 "botVersionLocaleSpecification":{ 5020 "shape":"BotVersionLocaleSpecification", 5021 "documentation":"<p>Specifies the locales that Amazon Lex adds to this version. You can choose the <code>Draft</code> version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.</p>" 5022 } 5023 } 5024 }, 5025 "CreateBotVersionResponse":{ 5026 "type":"structure", 5027 "members":{ 5028 "botId":{ 5029 "shape":"Id", 5030 "documentation":"<p>The bot identifier specified in the request.</p>" 5031 }, 5032 "description":{ 5033 "shape":"Description", 5034 "documentation":"<p>The description of the version specified in the request.</p>" 5035 }, 5036 "botVersion":{ 5037 "shape":"NumericalBotVersion", 5038 "documentation":"<p>The version number assigned to the version.</p>" 5039 }, 5040 "botVersionLocaleSpecification":{ 5041 "shape":"BotVersionLocaleSpecification", 5042 "documentation":"<p>The source versions used for each locale in the new version.</p>" 5043 }, 5044 "botStatus":{ 5045 "shape":"BotStatus", 5046 "documentation":"<p>When you send a request to create or update a bot, Amazon Lex sets the status response element to <code>Creating</code>. After Amazon Lex builds the bot, it sets status to <code>Available</code>. If Amazon Lex can't build the bot, it sets status to <code>Failed</code>.</p>" 5047 }, 5048 "creationDateTime":{ 5049 "shape":"Timestamp", 5050 "documentation":"<p>A timestamp of the date and time that the version was created.</p>" 5051 } 5052 } 5053 }, 5054 "CreateCustomVocabularyItemsList":{ 5055 "type":"list", 5056 "member":{"shape":"NewCustomVocabularyItem"}, 5057 "max":10, 5058 "min":1 5059 }, 5060 "CreateExportRequest":{ 5061 "type":"structure", 5062 "required":[ 5063 "resourceSpecification", 5064 "fileFormat" 5065 ], 5066 "members":{ 5067 "resourceSpecification":{ 5068 "shape":"ExportResourceSpecification", 5069 "documentation":"<p>Specifies the type of resource to export, either a bot or a bot locale. You can only specify one type of resource to export.</p>" 5070 }, 5071 "fileFormat":{ 5072 "shape":"ImportExportFileFormat", 5073 "documentation":"<p>The file format of the bot or bot locale definition files.</p>" 5074 }, 5075 "filePassword":{ 5076 "shape":"ImportExportFilePassword", 5077 "documentation":"<p>An password to use to encrypt the exported archive. Using a password is optional, but you should encrypt the archive to protect the data in transit between Amazon Lex and your local computer.</p>" 5078 } 5079 } 5080 }, 5081 "CreateExportResponse":{ 5082 "type":"structure", 5083 "members":{ 5084 "exportId":{ 5085 "shape":"Id", 5086 "documentation":"<p>An identifier for a specific request to create an export.</p>" 5087 }, 5088 "resourceSpecification":{ 5089 "shape":"ExportResourceSpecification", 5090 "documentation":"<p>A description of the type of resource that was exported, either a bot or a bot locale.</p>" 5091 }, 5092 "fileFormat":{ 5093 "shape":"ImportExportFileFormat", 5094 "documentation":"<p>The file format used for the bot or bot locale definition files.</p>" 5095 }, 5096 "exportStatus":{ 5097 "shape":"ExportStatus", 5098 "documentation":"<p>The status of the export. When the status is <code>Completed</code>, you can use the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html\">DescribeExport</a> operation to get the pre-signed S3 URL link to your exported bot or bot locale.</p>" 5099 }, 5100 "creationDateTime":{ 5101 "shape":"Timestamp", 5102 "documentation":"<p>The date and time that the request to export a bot was created.</p>" 5103 } 5104 } 5105 }, 5106 "CreateIntentRequest":{ 5107 "type":"structure", 5108 "required":[ 5109 "intentName", 5110 "botId", 5111 "botVersion", 5112 "localeId" 5113 ], 5114 "members":{ 5115 "intentName":{ 5116 "shape":"Name", 5117 "documentation":"<p>The name of the intent. Intent names must be unique in the locale that contains the intent and cannot match the name of any built-in intent.</p>" 5118 }, 5119 "description":{ 5120 "shape":"Description", 5121 "documentation":"<p>A description of the intent. Use the description to help identify the intent in lists.</p>" 5122 }, 5123 "parentIntentSignature":{ 5124 "shape":"IntentSignature", 5125 "documentation":"<p>A unique identifier for the built-in intent to base this intent on.</p>" 5126 }, 5127 "sampleUtterances":{ 5128 "shape":"SampleUtterancesList", 5129 "documentation":"<p>An array of strings that a user might say to signal the intent. For example, \"I want a pizza\", or \"I want a {PizzaSize} pizza\". </p> <p>In an utterance, slot names are enclosed in curly braces (\"{\", \"}\") to indicate where they should be displayed in the utterance shown to the user.. </p>" 5130 }, 5131 "dialogCodeHook":{ 5132 "shape":"DialogCodeHookSettings", 5133 "documentation":"<p>Specifies that Amazon Lex invokes the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction.</p> <p>For example, suppose that your bot determines that the user's name is John. You Lambda function might retrieve John's information from a backend database and prepopulate some of the values. For example, if you find that John is gluten intolerant, you might set the corresponding intent slot, <code>glutenIntolerant</code> to <code>true</code>. You might find John's phone number and set the corresponding session attribute.</p>" 5134 }, 5135 "fulfillmentCodeHook":{ 5136 "shape":"FulfillmentCodeHookSettings", 5137 "documentation":"<p>Specifies that Amazon Lex invokes the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot's transaction with the user.</p> <p>For example, in a pizza ordering bot, the Lambda function can look up the closest pizza restaurant to the customer's location and then place an order on the customer's behalf.</p>" 5138 }, 5139 "intentConfirmationSetting":{ 5140 "shape":"IntentConfirmationSetting", 5141 "documentation":"<p>Provides prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers \"no,\" the settings contain a statement that is sent to the user to end the intent.</p>" 5142 }, 5143 "intentClosingSetting":{ 5144 "shape":"IntentClosingSetting", 5145 "documentation":"<p>Sets the response that Amazon Lex sends to the user when the intent is closed.</p>" 5146 }, 5147 "inputContexts":{ 5148 "shape":"InputContextsList", 5149 "documentation":"<p>A list of contexts that must be active for this intent to be considered by Amazon Lex.</p> <p>When an intent has an input context list, Amazon Lex only considers using the intent in an interaction with the user when the specified contexts are included in the active context list for the session. If the contexts are not active, then Amazon Lex will not use the intent.</p> <p>A context can be automatically activated using the <code>outputContexts</code> property or it can be set at runtime.</p> <p> For example, if there are two intents with different input contexts that respond to the same utterances, only the intent with the active context will respond.</p> <p>An intent may have up to 5 input contexts. If an intent has multiple input contexts, all of the contexts must be active to consider the intent.</p>" 5150 }, 5151 "outputContexts":{ 5152 "shape":"OutputContextsList", 5153 "documentation":"<p>A lists of contexts that the intent activates when it is fulfilled.</p> <p>You can use an output context to indicate the intents that Amazon Lex should consider for the next turn of the conversation with a customer. </p> <p>When you use the <code>outputContextsList</code> property, all of the contexts specified in the list are activated when the intent is fulfilled. You can set up to 10 output contexts. You can also set the number of conversation turns that the context should be active, or the length of time that the context should be active.</p>" 5154 }, 5155 "kendraConfiguration":{ 5156 "shape":"KendraConfiguration", 5157 "documentation":"<p>Configuration information required to use the <code>AMAZON.KendraSearchIntent</code> intent to connect to an Amazon Kendra index. The <code>AMAZON.KendraSearchIntent</code> intent is called when Amazon Lex can't determine another intent to invoke.</p>" 5158 }, 5159 "botId":{ 5160 "shape":"Id", 5161 "documentation":"<p>The identifier of the bot associated with this intent.</p>", 5162 "location":"uri", 5163 "locationName":"botId" 5164 }, 5165 "botVersion":{ 5166 "shape":"DraftBotVersion", 5167 "documentation":"<p>The version of the bot associated with this intent.</p>", 5168 "location":"uri", 5169 "locationName":"botVersion" 5170 }, 5171 "localeId":{ 5172 "shape":"LocaleId", 5173 "documentation":"<p>The identifier of the language and locale where this intent is used. All of the bots, slot types, and slots used by the intent must have the same locale. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 5174 "location":"uri", 5175 "locationName":"localeId" 5176 }, 5177 "initialResponseSetting":{ 5178 "shape":"InitialResponseSetting", 5179 "documentation":"<p>Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.</p>" 5180 } 5181 } 5182 }, 5183 "CreateIntentResponse":{ 5184 "type":"structure", 5185 "members":{ 5186 "intentId":{ 5187 "shape":"Id", 5188 "documentation":"<p>A unique identifier for the intent.</p>" 5189 }, 5190 "intentName":{ 5191 "shape":"Name", 5192 "documentation":"<p>The name specified for the intent.</p>" 5193 }, 5194 "description":{ 5195 "shape":"Description", 5196 "documentation":"<p>The description specified for the intent.</p>" 5197 }, 5198 "parentIntentSignature":{ 5199 "shape":"IntentSignature", 5200 "documentation":"<p>The signature of the parent intent specified for the intent.</p>" 5201 }, 5202 "sampleUtterances":{ 5203 "shape":"SampleUtterancesList", 5204 "documentation":"<p>The sample utterances specified for the intent.</p>" 5205 }, 5206 "dialogCodeHook":{ 5207 "shape":"DialogCodeHookSettings", 5208 "documentation":"<p>The dialog Lambda function specified for the intent.</p>" 5209 }, 5210 "fulfillmentCodeHook":{ 5211 "shape":"FulfillmentCodeHookSettings", 5212 "documentation":"<p>The fulfillment Lambda function specified for the intent.</p>" 5213 }, 5214 "intentConfirmationSetting":{ 5215 "shape":"IntentConfirmationSetting", 5216 "documentation":"<p>The confirmation setting specified for the intent.</p>" 5217 }, 5218 "intentClosingSetting":{ 5219 "shape":"IntentClosingSetting", 5220 "documentation":"<p>The closing setting specified for the intent.</p>" 5221 }, 5222 "inputContexts":{ 5223 "shape":"InputContextsList", 5224 "documentation":"<p>The list of input contexts specified for the intent.</p>" 5225 }, 5226 "outputContexts":{ 5227 "shape":"OutputContextsList", 5228 "documentation":"<p>The list of output contexts specified for the intent.</p>" 5229 }, 5230 "kendraConfiguration":{ 5231 "shape":"KendraConfiguration", 5232 "documentation":"<p>Configuration for searching a Amazon Kendra index specified for the intent.</p>" 5233 }, 5234 "botId":{ 5235 "shape":"Id", 5236 "documentation":"<p>The identifier of the bot associated with the intent.</p>" 5237 }, 5238 "botVersion":{ 5239 "shape":"DraftBotVersion", 5240 "documentation":"<p>The version of the bot associated with the intent.</p>" 5241 }, 5242 "localeId":{ 5243 "shape":"LocaleId", 5244 "documentation":"<p>The locale that the intent is specified to use.</p>" 5245 }, 5246 "creationDateTime":{ 5247 "shape":"Timestamp", 5248 "documentation":"<p>A timestamp of the date and time that the intent was created.</p>" 5249 }, 5250 "initialResponseSetting":{ 5251 "shape":"InitialResponseSetting", 5252 "documentation":"<p>Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.</p>" 5253 } 5254 } 5255 }, 5256 "CreateResourcePolicyRequest":{ 5257 "type":"structure", 5258 "required":[ 5259 "resourceArn", 5260 "policy" 5261 ], 5262 "members":{ 5263 "resourceArn":{ 5264 "shape":"AmazonResourceName", 5265 "documentation":"<p>The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.</p>", 5266 "location":"uri", 5267 "locationName":"resourceArn" 5268 }, 5269 "policy":{ 5270 "shape":"Policy", 5271 "documentation":"<p>A resource policy to add to the resource. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow the IAM syntax. For more information about the contents of a JSON policy document, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html\"> IAM JSON policy reference </a>. </p> <p>If the policy isn't valid, Amazon Lex returns a validation exception.</p>" 5272 } 5273 } 5274 }, 5275 "CreateResourcePolicyResponse":{ 5276 "type":"structure", 5277 "members":{ 5278 "resourceArn":{ 5279 "shape":"AmazonResourceName", 5280 "documentation":"<p>The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was attached to.</p>" 5281 }, 5282 "revisionId":{ 5283 "shape":"RevisionId", 5284 "documentation":"<p>The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.</p>" 5285 } 5286 } 5287 }, 5288 "CreateResourcePolicyStatementRequest":{ 5289 "type":"structure", 5290 "required":[ 5291 "resourceArn", 5292 "statementId", 5293 "effect", 5294 "principal", 5295 "action" 5296 ], 5297 "members":{ 5298 "resourceArn":{ 5299 "shape":"AmazonResourceName", 5300 "documentation":"<p>The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.</p>", 5301 "location":"uri", 5302 "locationName":"resourceArn" 5303 }, 5304 "statementId":{ 5305 "shape":"Name", 5306 "documentation":"<p>The name of the statement. The ID is the same as the <code>Sid</code> IAM property. The statement name must be unique within the policy. For more information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html\">IAM JSON policy elements: Sid</a>. </p>" 5307 }, 5308 "effect":{ 5309 "shape":"Effect", 5310 "documentation":"<p>Determines whether the statement allows or denies access to the resource.</p>" 5311 }, 5312 "principal":{ 5313 "shape":"PrincipalList", 5314 "documentation":"<p>An IAM principal, such as an IAM user, IAM role, or Amazon Web Services services that is allowed or denied access to a resource. For more information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html\">Amazon Web Services JSON policy elements: Principal</a>.</p>" 5315 }, 5316 "action":{ 5317 "shape":"OperationList", 5318 "documentation":"<p>The Amazon Lex action that this policy either allows or denies. The action must apply to the resource type of the specified ARN. For more information, see <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonlexv2.html\"> Actions, resources, and condition keys for Amazon Lex V2</a>.</p>" 5319 }, 5320 "condition":{ 5321 "shape":"ConditionMap", 5322 "documentation":"<p>Specifies a condition when the policy is in effect. If the principal of the policy is a service principal, you must provide two condition blocks, one with a SourceAccount global condition key and one with a SourceArn global condition key.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html\">IAM JSON policy elements: Condition </a>.</p>" 5323 }, 5324 "expectedRevisionId":{ 5325 "shape":"RevisionId", 5326 "documentation":"<p>The identifier of the revision of the policy to edit. If this revision ID doesn't match the current revision ID, Amazon Lex throws an exception.</p> <p>If you don't specify a revision, Amazon Lex overwrites the contents of the policy with the new values.</p>", 5327 "location":"querystring", 5328 "locationName":"expectedRevisionId" 5329 } 5330 } 5331 }, 5332 "CreateResourcePolicyStatementResponse":{ 5333 "type":"structure", 5334 "members":{ 5335 "resourceArn":{ 5336 "shape":"AmazonResourceName", 5337 "documentation":"<p>The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.</p>" 5338 }, 5339 "revisionId":{ 5340 "shape":"RevisionId", 5341 "documentation":"<p>The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.</p>" 5342 } 5343 } 5344 }, 5345 "CreateSlotRequest":{ 5346 "type":"structure", 5347 "required":[ 5348 "slotName", 5349 "valueElicitationSetting", 5350 "botId", 5351 "botVersion", 5352 "localeId", 5353 "intentId" 5354 ], 5355 "members":{ 5356 "slotName":{ 5357 "shape":"Name", 5358 "documentation":"<p>The name of the slot. Slot names must be unique within the bot that contains the slot.</p>" 5359 }, 5360 "description":{ 5361 "shape":"Description", 5362 "documentation":"<p>A description of the slot. Use this to help identify the slot in lists.</p>" 5363 }, 5364 "slotTypeId":{ 5365 "shape":"BuiltInOrCustomSlotTypeId", 5366 "documentation":"<p>The unique identifier for the slot type associated with this slot. The slot type determines the values that can be entered into the slot.</p>" 5367 }, 5368 "valueElicitationSetting":{ 5369 "shape":"SlotValueElicitationSetting", 5370 "documentation":"<p>Specifies prompts that Amazon Lex sends to the user to elicit a response that provides the value for the slot. </p>" 5371 }, 5372 "obfuscationSetting":{ 5373 "shape":"ObfuscationSetting", 5374 "documentation":"<p>Determines how slot values are used in Amazon CloudWatch logs. If the value of the <code>obfuscationSetting</code> parameter is <code>DefaultObfuscation</code>, slot values are obfuscated in the log output. If the value is <code>None</code>, the actual value is present in the log output.</p> <p>The default is to obfuscate values in the CloudWatch logs.</p>" 5375 }, 5376 "botId":{ 5377 "shape":"Id", 5378 "documentation":"<p>The identifier of the bot associated with the slot.</p>", 5379 "location":"uri", 5380 "locationName":"botId" 5381 }, 5382 "botVersion":{ 5383 "shape":"DraftBotVersion", 5384 "documentation":"<p>The version of the bot associated with the slot.</p>", 5385 "location":"uri", 5386 "locationName":"botVersion" 5387 }, 5388 "localeId":{ 5389 "shape":"LocaleId", 5390 "documentation":"<p>The identifier of the language and locale that the slot will be used in. The string must match one of the supported locales. All of the bots, intents, slot types used by the slot must have the same locale. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 5391 "location":"uri", 5392 "locationName":"localeId" 5393 }, 5394 "intentId":{ 5395 "shape":"Id", 5396 "documentation":"<p>The identifier of the intent that contains the slot.</p>", 5397 "location":"uri", 5398 "locationName":"intentId" 5399 }, 5400 "multipleValuesSetting":{ 5401 "shape":"MultipleValuesSetting", 5402 "documentation":"<p>Indicates whether the slot returns multiple values in one response. Multi-value slots are only available in the <code>en-US</code> locale. If you set this value to <code>true</code> in any other locale, Amazon Lex throws a <code>ValidationException</code>. </p> <p>If the <code>multipleValuesSetting</code> is not set, the default value is <code>false</code>.</p>" 5403 }, 5404 "subSlotSetting":{ 5405 "shape":"SubSlotSetting", 5406 "documentation":"<p>Specifications for the constituent sub slots and the expression for the composite slot.</p>" 5407 } 5408 } 5409 }, 5410 "CreateSlotResponse":{ 5411 "type":"structure", 5412 "members":{ 5413 "slotId":{ 5414 "shape":"Id", 5415 "documentation":"<p>The unique identifier associated with the slot. Use this to identify the slot when you update or delete it.</p>" 5416 }, 5417 "slotName":{ 5418 "shape":"Name", 5419 "documentation":"<p>The name specified for the slot.</p>" 5420 }, 5421 "description":{ 5422 "shape":"Description", 5423 "documentation":"<p>The description associated with the slot.</p>" 5424 }, 5425 "slotTypeId":{ 5426 "shape":"BuiltInOrCustomSlotTypeId", 5427 "documentation":"<p>The unique identifier of the slot type associated with this slot.</p>" 5428 }, 5429 "valueElicitationSetting":{ 5430 "shape":"SlotValueElicitationSetting", 5431 "documentation":"<p>The value elicitation settings specified for the slot.</p>" 5432 }, 5433 "obfuscationSetting":{ 5434 "shape":"ObfuscationSetting", 5435 "documentation":"<p>Indicates whether the slot is configured to obfuscate values in Amazon CloudWatch logs.</p>" 5436 }, 5437 "botId":{ 5438 "shape":"Id", 5439 "documentation":"<p>The unique identifier of the bot associated with the slot.</p>" 5440 }, 5441 "botVersion":{ 5442 "shape":"DraftBotVersion", 5443 "documentation":"<p>The version of the bot associated with the slot.</p>" 5444 }, 5445 "localeId":{ 5446 "shape":"LocaleId", 5447 "documentation":"<p>The language and local specified for the slot.</p>" 5448 }, 5449 "intentId":{ 5450 "shape":"Id", 5451 "documentation":"<p>The unique identifier of the intent associated with the slot.</p>" 5452 }, 5453 "creationDateTime":{ 5454 "shape":"Timestamp", 5455 "documentation":"<p>The timestamp of the date and time that the slot was created.</p>" 5456 }, 5457 "multipleValuesSetting":{ 5458 "shape":"MultipleValuesSetting", 5459 "documentation":"<p>Indicates whether the slot returns multiple values in one response.</p>" 5460 }, 5461 "subSlotSetting":{ 5462 "shape":"SubSlotSetting", 5463 "documentation":"<p>Specifications for the constituent sub slots and the expression for the composite slot.</p>" 5464 } 5465 } 5466 }, 5467 "CreateSlotTypeRequest":{ 5468 "type":"structure", 5469 "required":[ 5470 "slotTypeName", 5471 "botId", 5472 "botVersion", 5473 "localeId" 5474 ], 5475 "members":{ 5476 "slotTypeName":{ 5477 "shape":"Name", 5478 "documentation":"<p>The name for the slot. A slot type name must be unique within the intent.</p>" 5479 }, 5480 "description":{ 5481 "shape":"Description", 5482 "documentation":"<p>A description of the slot type. Use the description to help identify the slot type in lists.</p>" 5483 }, 5484 "slotTypeValues":{ 5485 "shape":"SlotTypeValues", 5486 "documentation":"<p>A list of <code>SlotTypeValue</code> objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for a slot.</p>" 5487 }, 5488 "valueSelectionSetting":{ 5489 "shape":"SlotValueSelectionSetting", 5490 "documentation":"<p>Determines the strategy that Amazon Lex uses to select a value from the list of possible values. The field can be set to one of the following values:</p> <ul> <li> <p> <code>ORIGINAL_VALUE</code> - Returns the value entered by the user, if the user value is similar to the slot value.</p> </li> <li> <p> <code>TOP_RESOLUTION</code> - If there is a resolution list for the slot, return the first value in the resolution list. If there is no resolution list, return null.</p> </li> </ul> <p>If you don't specify the <code>valueSelectionSetting</code> parameter, the default is <code>ORIGINAL_VALUE</code>.</p>" 5491 }, 5492 "parentSlotTypeSignature":{ 5493 "shape":"SlotTypeSignature", 5494 "documentation":"<p>The built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent slot type.</p> <p>Only <code>AMAZON.AlphaNumeric</code> is supported.</p>" 5495 }, 5496 "botId":{ 5497 "shape":"Id", 5498 "documentation":"<p>The identifier of the bot associated with this slot type.</p>", 5499 "location":"uri", 5500 "locationName":"botId" 5501 }, 5502 "botVersion":{ 5503 "shape":"DraftBotVersion", 5504 "documentation":"<p>The identifier of the bot version associated with this slot type.</p>", 5505 "location":"uri", 5506 "locationName":"botVersion" 5507 }, 5508 "localeId":{ 5509 "shape":"LocaleId", 5510 "documentation":"<p>The identifier of the language and locale that the slot type will be used in. The string must match one of the supported locales. All of the bots, intents, and slots used by the slot type must have the same locale. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 5511 "location":"uri", 5512 "locationName":"localeId" 5513 }, 5514 "externalSourceSetting":{ 5515 "shape":"ExternalSourceSetting", 5516 "documentation":"<p>Sets the type of external information used to create the slot type.</p>" 5517 }, 5518 "compositeSlotTypeSetting":{ 5519 "shape":"CompositeSlotTypeSetting", 5520 "documentation":"<p>Specifications for a composite slot type.</p>" 5521 } 5522 } 5523 }, 5524 "CreateSlotTypeResponse":{ 5525 "type":"structure", 5526 "members":{ 5527 "slotTypeId":{ 5528 "shape":"Id", 5529 "documentation":"<p>The unique identifier assigned to the slot type. Use this to identify the slot type in the <code>UpdateSlotType</code> and <code>DeleteSlotType</code> operations.</p>" 5530 }, 5531 "slotTypeName":{ 5532 "shape":"Name", 5533 "documentation":"<p>The name specified for the slot type.</p>" 5534 }, 5535 "description":{ 5536 "shape":"Description", 5537 "documentation":"<p>The description specified for the slot type.</p>" 5538 }, 5539 "slotTypeValues":{ 5540 "shape":"SlotTypeValues", 5541 "documentation":"<p>The list of values that the slot type can assume.</p>" 5542 }, 5543 "valueSelectionSetting":{ 5544 "shape":"SlotValueSelectionSetting", 5545 "documentation":"<p>The strategy that Amazon Lex uses to select a value from the list of possible values.</p>" 5546 }, 5547 "parentSlotTypeSignature":{ 5548 "shape":"SlotTypeSignature", 5549 "documentation":"<p>The signature of the base slot type specified for the slot type.</p>" 5550 }, 5551 "botId":{ 5552 "shape":"Id", 5553 "documentation":"<p>The identifier for the bot associated with the slot type.</p>" 5554 }, 5555 "botVersion":{ 5556 "shape":"DraftBotVersion", 5557 "documentation":"<p>The version of the bot associated with the slot type.</p>" 5558 }, 5559 "localeId":{ 5560 "shape":"LocaleId", 5561 "documentation":"<p>The specified language and local specified for the slot type.</p>" 5562 }, 5563 "creationDateTime":{ 5564 "shape":"Timestamp", 5565 "documentation":"<p>A timestamp of the date and time that the slot type was created.</p>" 5566 }, 5567 "externalSourceSetting":{ 5568 "shape":"ExternalSourceSetting", 5569 "documentation":"<p>The type of external information used to create the slot type.</p>" 5570 }, 5571 "compositeSlotTypeSetting":{ 5572 "shape":"CompositeSlotTypeSetting", 5573 "documentation":"<p>Specifications for a composite slot type.</p>" 5574 } 5575 } 5576 }, 5577 "CreateTestSetDiscrepancyReportRequest":{ 5578 "type":"structure", 5579 "required":[ 5580 "testSetId", 5581 "target" 5582 ], 5583 "members":{ 5584 "testSetId":{ 5585 "shape":"Id", 5586 "documentation":"<p>The test set Id for the test set discrepancy report.</p>", 5587 "location":"uri", 5588 "locationName":"testSetId" 5589 }, 5590 "target":{ 5591 "shape":"TestSetDiscrepancyReportResourceTarget", 5592 "documentation":"<p>The target bot for the test set discrepancy report.</p>" 5593 } 5594 } 5595 }, 5596 "CreateTestSetDiscrepancyReportResponse":{ 5597 "type":"structure", 5598 "members":{ 5599 "testSetDiscrepancyReportId":{ 5600 "shape":"Id", 5601 "documentation":"<p>The unique identifier of the test set discrepancy report to describe.</p>" 5602 }, 5603 "creationDateTime":{ 5604 "shape":"Timestamp", 5605 "documentation":"<p>The creation date and time for the test set discrepancy report.</p>" 5606 }, 5607 "testSetId":{ 5608 "shape":"Id", 5609 "documentation":"<p>The test set Id for the test set discrepancy report.</p>" 5610 }, 5611 "target":{ 5612 "shape":"TestSetDiscrepancyReportResourceTarget", 5613 "documentation":"<p>The target bot for the test set discrepancy report.</p>" 5614 } 5615 } 5616 }, 5617 "CreateUploadUrlRequest":{ 5618 "type":"structure", 5619 "members":{ 5620 } 5621 }, 5622 "CreateUploadUrlResponse":{ 5623 "type":"structure", 5624 "members":{ 5625 "importId":{ 5626 "shape":"Id", 5627 "documentation":"<p>An identifier for a unique import job. Use it when you call the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_StartImport.html\">StartImport</a> operation.</p>" 5628 }, 5629 "uploadUrl":{ 5630 "shape":"PresignedS3Url", 5631 "documentation":"<p>A pre-signed S3 write URL. Upload the zip archive file that contains the definition of your bot or bot locale.</p>" 5632 } 5633 } 5634 }, 5635 "CustomPayload":{ 5636 "type":"structure", 5637 "required":["value"], 5638 "members":{ 5639 "value":{ 5640 "shape":"CustomPayloadValue", 5641 "documentation":"<p>The string that is sent to your application.</p>" 5642 } 5643 }, 5644 "documentation":"<p>A custom response string that Amazon Lex sends to your application. You define the content and structure the string.</p>" 5645 }, 5646 "CustomPayloadValue":{ 5647 "type":"string", 5648 "max":1000, 5649 "min":1 5650 }, 5651 "CustomVocabularyEntryId":{ 5652 "type":"structure", 5653 "required":["itemId"], 5654 "members":{ 5655 "itemId":{ 5656 "shape":"ItemId", 5657 "documentation":"<p>The unique item identifier for the custom vocabulary items.</p>" 5658 } 5659 }, 5660 "documentation":"<p>The unique entry identifier for the custom vocabulary items.</p>" 5661 }, 5662 "CustomVocabularyExportSpecification":{ 5663 "type":"structure", 5664 "required":[ 5665 "botId", 5666 "botVersion", 5667 "localeId" 5668 ], 5669 "members":{ 5670 "botId":{ 5671 "shape":"Id", 5672 "documentation":"<p>The identifier of the bot that contains the custom vocabulary to export.</p>" 5673 }, 5674 "botVersion":{ 5675 "shape":"BotVersion", 5676 "documentation":"<p>The version of the bot that contains the custom vocabulary to export.</p>" 5677 }, 5678 "localeId":{ 5679 "shape":"LocaleId", 5680 "documentation":"<p>The locale of the bot that contains the custom vocabulary to export.</p>" 5681 } 5682 }, 5683 "documentation":"<p>Provides the parameters required for exporting a custom vocabulary.</p>" 5684 }, 5685 "CustomVocabularyImportSpecification":{ 5686 "type":"structure", 5687 "required":[ 5688 "botId", 5689 "botVersion", 5690 "localeId" 5691 ], 5692 "members":{ 5693 "botId":{ 5694 "shape":"Id", 5695 "documentation":"<p>The identifier of the bot to import the custom vocabulary to.</p>" 5696 }, 5697 "botVersion":{ 5698 "shape":"DraftBotVersion", 5699 "documentation":"<p>The version of the bot to import the custom vocabulary to.</p>" 5700 }, 5701 "localeId":{ 5702 "shape":"LocaleId", 5703 "documentation":"<p>The identifier of the local to import the custom vocabulary to. The value must be <code>en_GB</code>.</p>" 5704 } 5705 }, 5706 "documentation":"<p>Provides the parameters required for importing a custom vocabulary.</p>" 5707 }, 5708 "CustomVocabularyItem":{ 5709 "type":"structure", 5710 "required":[ 5711 "itemId", 5712 "phrase" 5713 ], 5714 "members":{ 5715 "itemId":{ 5716 "shape":"ItemId", 5717 "documentation":"<p>The unique item identifer for the custom vocabulary item from the custom vocabulary list.</p>" 5718 }, 5719 "phrase":{ 5720 "shape":"Phrase", 5721 "documentation":"<p>The unique phrase for the custom vocabulary item from the custom vocabulary list.</p>" 5722 }, 5723 "weight":{ 5724 "shape":"Weight", 5725 "documentation":"<p>The weight assigned for the custom vocabulary item from the custom vocabulary list.</p>" 5726 }, 5727 "displayAs":{ 5728 "shape":"Phrase", 5729 "documentation":"<p>The DisplayAs value for the custom vocabulary item from the custom vocabulary list.</p>" 5730 } 5731 }, 5732 "documentation":"<p>The unique custom vocabulary item from the custom vocabulary list.</p>" 5733 }, 5734 "CustomVocabularyItems":{ 5735 "type":"list", 5736 "member":{"shape":"CustomVocabularyItem"} 5737 }, 5738 "CustomVocabularyStatus":{ 5739 "type":"string", 5740 "enum":[ 5741 "Ready", 5742 "Deleting", 5743 "Exporting", 5744 "Importing", 5745 "Creating" 5746 ] 5747 }, 5748 "DTMFCharacter":{ 5749 "type":"string", 5750 "pattern":"^[A-D0-9#*]{1}$" 5751 }, 5752 "DTMFSpecification":{ 5753 "type":"structure", 5754 "required":[ 5755 "maxLength", 5756 "endTimeoutMs", 5757 "deletionCharacter", 5758 "endCharacter" 5759 ], 5760 "members":{ 5761 "maxLength":{ 5762 "shape":"MaxUtteranceDigits", 5763 "documentation":"<p>The maximum number of DTMF digits allowed in an utterance.</p>" 5764 }, 5765 "endTimeoutMs":{ 5766 "shape":"TimeInMilliSeconds", 5767 "documentation":"<p>How long the bot should wait after the last DTMF character input before assuming that the input has concluded.</p>" 5768 }, 5769 "deletionCharacter":{ 5770 "shape":"DTMFCharacter", 5771 "documentation":"<p>The DTMF character that clears the accumulated DTMF digits and immediately ends the input.</p>" 5772 }, 5773 "endCharacter":{ 5774 "shape":"DTMFCharacter", 5775 "documentation":"<p>The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.</p>" 5776 } 5777 }, 5778 "documentation":"<p>Specifies the DTMF input specifications.</p>" 5779 }, 5780 "DataPrivacy":{ 5781 "type":"structure", 5782 "required":["childDirected"], 5783 "members":{ 5784 "childDirected":{ 5785 "shape":"ChildDirected", 5786 "documentation":"<p>For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children's Online Privacy Protection Act (COPPA) by specifying <code>true</code> or <code>false</code> in the <code>childDirected</code> field. By specifying <code>true</code> in the <code>childDirected</code> field, you confirm that your use of Amazon Lex <b>is</b> related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifying <code>false</code> in the <code>childDirected</code> field, you confirm that your use of Amazon Lex <b>is not</b> related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for the <code>childDirected</code> field that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the <a href=\"http://aws.amazon.com/lex/faqs#data-security\">Amazon Lex FAQ</a>.</p>" 5787 } 5788 }, 5789 "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 }, 5791 "DateRangeFilter":{ 5792 "type":"structure", 5793 "required":[ 5794 "startDateTime", 5795 "endDateTime" 5796 ], 5797 "members":{ 5798 "startDateTime":{ 5799 "shape":"Timestamp", 5800 "documentation":"<p>A timestamp indicating the start date for the date range filter.</p>" 5801 }, 5802 "endDateTime":{ 5803 "shape":"Timestamp", 5804 "documentation":"<p>A timestamp indicating the end date for the date range filter.</p>" 5805 } 5806 }, 5807 "documentation":"<p>The object used for specifying the data range that the customer wants Amazon Lex to read through in the input transcripts.</p>" 5808 }, 5809 "DefaultConditionalBranch":{ 5810 "type":"structure", 5811 "members":{ 5812 "nextStep":{ 5813 "shape":"DialogState", 5814 "documentation":"<p>The next step in the conversation.</p>" 5815 }, 5816 "response":{"shape":"ResponseSpecification"} 5817 }, 5818 "documentation":"<p>A set of actions that Amazon Lex should run if none of the other conditions are met.</p>" 5819 }, 5820 "DeleteBotAliasRequest":{ 5821 "type":"structure", 5822 "required":[ 5823 "botAliasId", 5824 "botId" 5825 ], 5826 "members":{ 5827 "botAliasId":{ 5828 "shape":"BotAliasId", 5829 "documentation":"<p>The unique identifier of the bot alias to delete.</p>", 5830 "location":"uri", 5831 "locationName":"botAliasId" 5832 }, 5833 "botId":{ 5834 "shape":"Id", 5835 "documentation":"<p>The unique identifier of the bot associated with the alias to delete.</p>", 5836 "location":"uri", 5837 "locationName":"botId" 5838 }, 5839 "skipResourceInUseCheck":{ 5840 "shape":"SkipResourceInUseCheck", 5841 "documentation":"<p>By default, Amazon Lex checks if any other resource, such as a bot network, is using the bot alias before it is deleted and throws a <code>ResourceInUseException</code> exception if the alias is being used by another resource. Set this parameter to <code>true</code> to skip this check and remove the alias even if it is being used by another resource.</p>", 5842 "location":"querystring", 5843 "locationName":"skipResourceInUseCheck" 5844 } 5845 } 5846 }, 5847 "DeleteBotAliasResponse":{ 5848 "type":"structure", 5849 "members":{ 5850 "botAliasId":{ 5851 "shape":"BotAliasId", 5852 "documentation":"<p>The unique identifier of the bot alias to delete.</p>" 5853 }, 5854 "botId":{ 5855 "shape":"Id", 5856 "documentation":"<p>The unique identifier of the bot that contains the alias to delete.</p>" 5857 }, 5858 "botAliasStatus":{ 5859 "shape":"BotAliasStatus", 5860 "documentation":"<p>The current status of the alias. The status is <code>Deleting</code> while the alias is in the process of being deleted. Once the alias is deleted, it will no longer appear in the list of aliases returned by the <code>ListBotAliases</code> operation.</p>" 5861 } 5862 } 5863 }, 5864 "DeleteBotLocaleRequest":{ 5865 "type":"structure", 5866 "required":[ 5867 "botId", 5868 "botVersion", 5869 "localeId" 5870 ], 5871 "members":{ 5872 "botId":{ 5873 "shape":"Id", 5874 "documentation":"<p>The unique identifier of the bot that contains the locale.</p>", 5875 "location":"uri", 5876 "locationName":"botId" 5877 }, 5878 "botVersion":{ 5879 "shape":"DraftBotVersion", 5880 "documentation":"<p>The version of the bot that contains the locale. </p>", 5881 "location":"uri", 5882 "locationName":"botVersion" 5883 }, 5884 "localeId":{ 5885 "shape":"LocaleId", 5886 "documentation":"<p>The identifier of the language and locale that will be deleted. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 5887 "location":"uri", 5888 "locationName":"localeId" 5889 } 5890 } 5891 }, 5892 "DeleteBotLocaleResponse":{ 5893 "type":"structure", 5894 "members":{ 5895 "botId":{ 5896 "shape":"Id", 5897 "documentation":"<p>The identifier of the bot that contained the deleted locale.</p>" 5898 }, 5899 "botVersion":{ 5900 "shape":"DraftBotVersion", 5901 "documentation":"<p>The version of the bot that contained the deleted locale.</p>" 5902 }, 5903 "localeId":{ 5904 "shape":"LocaleId", 5905 "documentation":"<p>The language and locale of the deleted locale.</p>" 5906 }, 5907 "botLocaleStatus":{ 5908 "shape":"BotLocaleStatus", 5909 "documentation":"<p>The status of deleting the bot locale. The locale first enters the <code>Deleting</code> status. Once the locale is deleted it no longer appears in the list of locales for the bot.</p>" 5910 } 5911 } 5912 }, 5913 "DeleteBotReplicaRequest":{ 5914 "type":"structure", 5915 "required":[ 5916 "botId", 5917 "replicaRegion" 5918 ], 5919 "members":{ 5920 "botId":{ 5921 "shape":"Id", 5922 "documentation":"<p>The unique ID of the replicated bot to be deleted from the secondary region</p>", 5923 "location":"uri", 5924 "locationName":"botId" 5925 }, 5926 "replicaRegion":{ 5927 "shape":"ReplicaRegion", 5928 "documentation":"<p>The secondary region of the replicated bot that will be deleted.</p>", 5929 "location":"uri", 5930 "locationName":"replicaRegion" 5931 } 5932 } 5933 }, 5934 "DeleteBotReplicaResponse":{ 5935 "type":"structure", 5936 "members":{ 5937 "botId":{ 5938 "shape":"Id", 5939 "documentation":"<p>The unique bot ID of the replicated bot generated.</p>" 5940 }, 5941 "replicaRegion":{ 5942 "shape":"ReplicaRegion", 5943 "documentation":"<p>The region of the replicated bot generated.</p>" 5944 }, 5945 "botReplicaStatus":{ 5946 "shape":"BotReplicaStatus", 5947 "documentation":"<p>The operational status of the replicated bot generated.</p>" 5948 } 5949 } 5950 }, 5951 "DeleteBotRequest":{ 5952 "type":"structure", 5953 "required":["botId"], 5954 "members":{ 5955 "botId":{ 5956 "shape":"Id", 5957 "documentation":"<p>The identifier of the bot to delete. </p>", 5958 "location":"uri", 5959 "locationName":"botId" 5960 }, 5961 "skipResourceInUseCheck":{ 5962 "shape":"SkipResourceInUseCheck", 5963 "documentation":"<p>By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and throws a <code>ResourceInUseException</code> exception if the bot is being used by another resource. Set this parameter to <code>true</code> to skip this check and remove the bot even if it is being used by another resource.</p>", 5964 "location":"querystring", 5965 "locationName":"skipResourceInUseCheck" 5966 } 5967 } 5968 }, 5969 "DeleteBotResponse":{ 5970 "type":"structure", 5971 "members":{ 5972 "botId":{ 5973 "shape":"Id", 5974 "documentation":"<p>The unique identifier of the bot that Amazon Lex is deleting.</p>" 5975 }, 5976 "botStatus":{ 5977 "shape":"BotStatus", 5978 "documentation":"<p>The current status of the bot. The status is <code>Deleting</code> while the bot and its associated resources are being deleted.</p>" 5979 } 5980 } 5981 }, 5982 "DeleteBotVersionRequest":{ 5983 "type":"structure", 5984 "required":[ 5985 "botId", 5986 "botVersion" 5987 ], 5988 "members":{ 5989 "botId":{ 5990 "shape":"Id", 5991 "documentation":"<p>The identifier of the bot that contains the version.</p>", 5992 "location":"uri", 5993 "locationName":"botId" 5994 }, 5995 "botVersion":{ 5996 "shape":"NumericalBotVersion", 5997 "documentation":"<p>The version of the bot to delete.</p>", 5998 "location":"uri", 5999 "locationName":"botVersion" 6000 }, 6001 "skipResourceInUseCheck":{ 6002 "shape":"SkipResourceInUseCheck", 6003 "documentation":"<p>By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and throws a <code>ResourceInUseException</code> exception if the version is being used by another resource. Set this parameter to <code>true</code> to skip this check and remove the version even if it is being used by another resource.</p>", 6004 "location":"querystring", 6005 "locationName":"skipResourceInUseCheck" 6006 } 6007 } 6008 }, 6009 "DeleteBotVersionResponse":{ 6010 "type":"structure", 6011 "members":{ 6012 "botId":{ 6013 "shape":"Id", 6014 "documentation":"<p>The identifier of the bot that is being deleted.</p>" 6015 }, 6016 "botVersion":{ 6017 "shape":"NumericalBotVersion", 6018 "documentation":"<p>The version of the bot that is being deleted.</p>" 6019 }, 6020 "botStatus":{ 6021 "shape":"BotStatus", 6022 "documentation":"<p>The current status of the bot. </p>" 6023 } 6024 } 6025 }, 6026 "DeleteCustomVocabularyItemsList":{ 6027 "type":"list", 6028 "member":{"shape":"CustomVocabularyEntryId"}, 6029 "max":10, 6030 "min":1 6031 }, 6032 "DeleteCustomVocabularyRequest":{ 6033 "type":"structure", 6034 "required":[ 6035 "botId", 6036 "botVersion", 6037 "localeId" 6038 ], 6039 "members":{ 6040 "botId":{ 6041 "shape":"Id", 6042 "documentation":"<p>The unique identifier of the bot to remove the custom vocabulary from.</p>", 6043 "location":"uri", 6044 "locationName":"botId" 6045 }, 6046 "botVersion":{ 6047 "shape":"DraftBotVersion", 6048 "documentation":"<p>The version of the bot to remove the custom vocabulary from.</p>", 6049 "location":"uri", 6050 "locationName":"botVersion" 6051 }, 6052 "localeId":{ 6053 "shape":"LocaleId", 6054 "documentation":"<p>The locale identifier for the locale that contains the custom vocabulary to remove.</p>", 6055 "location":"uri", 6056 "locationName":"localeId" 6057 } 6058 } 6059 }, 6060 "DeleteCustomVocabularyResponse":{ 6061 "type":"structure", 6062 "members":{ 6063 "botId":{ 6064 "shape":"Id", 6065 "documentation":"<p>The identifier of the bot that the custom vocabulary was removed from.</p>" 6066 }, 6067 "botVersion":{ 6068 "shape":"DraftBotVersion", 6069 "documentation":"<p>The version of the bot that the custom vocabulary was removed from.</p>" 6070 }, 6071 "localeId":{ 6072 "shape":"LocaleId", 6073 "documentation":"<p>The locale identifier for the locale that the custom vocabulary was removed from.</p>" 6074 }, 6075 "customVocabularyStatus":{ 6076 "shape":"CustomVocabularyStatus", 6077 "documentation":"<p>The status of removing the custom vocabulary.</p>" 6078 } 6079 } 6080 }, 6081 "DeleteExportRequest":{ 6082 "type":"structure", 6083 "required":["exportId"], 6084 "members":{ 6085 "exportId":{ 6086 "shape":"Id", 6087 "documentation":"<p>The unique identifier of the export to delete.</p>", 6088 "location":"uri", 6089 "locationName":"exportId" 6090 } 6091 } 6092 }, 6093 "DeleteExportResponse":{ 6094 "type":"structure", 6095 "members":{ 6096 "exportId":{ 6097 "shape":"Id", 6098 "documentation":"<p>The unique identifier of the deleted export.</p>" 6099 }, 6100 "exportStatus":{ 6101 "shape":"ExportStatus", 6102 "documentation":"<p>The current status of the deletion. When the deletion is complete, the export will no longer be returned by the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListExports.html\">ListExports</a> operation and calls to the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html\"> DescribeExport</a> operation with the export identifier will fail.</p>" 6103 } 6104 } 6105 }, 6106 "DeleteImportRequest":{ 6107 "type":"structure", 6108 "required":["importId"], 6109 "members":{ 6110 "importId":{ 6111 "shape":"Id", 6112 "documentation":"<p>The unique identifier of the import to delete.</p>", 6113 "location":"uri", 6114 "locationName":"importId" 6115 } 6116 } 6117 }, 6118 "DeleteImportResponse":{ 6119 "type":"structure", 6120 "members":{ 6121 "importId":{ 6122 "shape":"Id", 6123 "documentation":"<p>The unique identifier of the deleted import.</p>" 6124 }, 6125 "importStatus":{ 6126 "shape":"ImportStatus", 6127 "documentation":"<p>The current status of the deletion. When the deletion is complete, the import will no longer be returned by the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListImports.html\">ListImports</a> operation and calls to the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeImport.html\">DescribeImport</a> operation with the import identifier will fail.</p>" 6128 } 6129 } 6130 }, 6131 "DeleteIntentRequest":{ 6132 "type":"structure", 6133 "required":[ 6134 "intentId", 6135 "botId", 6136 "botVersion", 6137 "localeId" 6138 ], 6139 "members":{ 6140 "intentId":{ 6141 "shape":"Id", 6142 "documentation":"<p>The unique identifier of the intent to delete.</p>", 6143 "location":"uri", 6144 "locationName":"intentId" 6145 }, 6146 "botId":{ 6147 "shape":"Id", 6148 "documentation":"<p>The identifier of the bot associated with the intent.</p>", 6149 "location":"uri", 6150 "locationName":"botId" 6151 }, 6152 "botVersion":{ 6153 "shape":"DraftBotVersion", 6154 "documentation":"<p>The version of the bot associated with the intent.</p>", 6155 "location":"uri", 6156 "locationName":"botVersion" 6157 }, 6158 "localeId":{ 6159 "shape":"LocaleId", 6160 "documentation":"<p>The identifier of the language and locale where the bot will be deleted. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 6161 "location":"uri", 6162 "locationName":"localeId" 6163 } 6164 } 6165 }, 6166 "DeleteResourcePolicyRequest":{ 6167 "type":"structure", 6168 "required":["resourceArn"], 6169 "members":{ 6170 "resourceArn":{ 6171 "shape":"AmazonResourceName", 6172 "documentation":"<p>The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.</p>", 6173 "location":"uri", 6174 "locationName":"resourceArn" 6175 }, 6176 "expectedRevisionId":{ 6177 "shape":"RevisionId", 6178 "documentation":"<p>The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception</p> <p>If you don't specify a revision ID, Amazon Lex will delete the current policy.</p>", 6179 "location":"querystring", 6180 "locationName":"expectedRevisionId" 6181 } 6182 } 6183 }, 6184 "DeleteResourcePolicyResponse":{ 6185 "type":"structure", 6186 "members":{ 6187 "resourceArn":{ 6188 "shape":"AmazonResourceName", 6189 "documentation":"<p>The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy was deleted from.</p>" 6190 }, 6191 "revisionId":{ 6192 "shape":"RevisionId", 6193 "documentation":"<p>The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.</p>" 6194 } 6195 } 6196 }, 6197 "DeleteResourcePolicyStatementRequest":{ 6198 "type":"structure", 6199 "required":[ 6200 "resourceArn", 6201 "statementId" 6202 ], 6203 "members":{ 6204 "resourceArn":{ 6205 "shape":"AmazonResourceName", 6206 "documentation":"<p>The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.</p>", 6207 "location":"uri", 6208 "locationName":"resourceArn" 6209 }, 6210 "statementId":{ 6211 "shape":"Name", 6212 "documentation":"<p>The name of the statement (SID) to delete from the policy.</p>", 6213 "location":"uri", 6214 "locationName":"statementId" 6215 }, 6216 "expectedRevisionId":{ 6217 "shape":"RevisionId", 6218 "documentation":"<p>The identifier of the revision of the policy to delete the statement from. If this revision ID doesn't match the current revision ID, Amazon Lex throws an exception.</p> <p>If you don't specify a revision, Amazon Lex removes the current contents of the statement. </p>", 6219 "location":"querystring", 6220 "locationName":"expectedRevisionId" 6221 } 6222 } 6223 }, 6224 "DeleteResourcePolicyStatementResponse":{ 6225 "type":"structure", 6226 "members":{ 6227 "resourceArn":{ 6228 "shape":"AmazonResourceName", 6229 "documentation":"<p>The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy statement was removed from.</p>" 6230 }, 6231 "revisionId":{ 6232 "shape":"RevisionId", 6233 "documentation":"<p>The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.</p>" 6234 } 6235 } 6236 }, 6237 "DeleteSlotRequest":{ 6238 "type":"structure", 6239 "required":[ 6240 "slotId", 6241 "botId", 6242 "botVersion", 6243 "localeId", 6244 "intentId" 6245 ], 6246 "members":{ 6247 "slotId":{ 6248 "shape":"Id", 6249 "documentation":"<p>The identifier of the slot to delete. </p>", 6250 "location":"uri", 6251 "locationName":"slotId" 6252 }, 6253 "botId":{ 6254 "shape":"Id", 6255 "documentation":"<p>The identifier of the bot associated with the slot to delete.</p>", 6256 "location":"uri", 6257 "locationName":"botId" 6258 }, 6259 "botVersion":{ 6260 "shape":"DraftBotVersion", 6261 "documentation":"<p>The version of the bot associated with the slot to delete.</p>", 6262 "location":"uri", 6263 "locationName":"botVersion" 6264 }, 6265 "localeId":{ 6266 "shape":"LocaleId", 6267 "documentation":"<p>The identifier of the language and locale that the slot will be deleted from. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 6268 "location":"uri", 6269 "locationName":"localeId" 6270 }, 6271 "intentId":{ 6272 "shape":"Id", 6273 "documentation":"<p>The identifier of the intent associated with the slot.</p>", 6274 "location":"uri", 6275 "locationName":"intentId" 6276 } 6277 } 6278 }, 6279 "DeleteSlotTypeRequest":{ 6280 "type":"structure", 6281 "required":[ 6282 "slotTypeId", 6283 "botId", 6284 "botVersion", 6285 "localeId" 6286 ], 6287 "members":{ 6288 "slotTypeId":{ 6289 "shape":"Id", 6290 "documentation":"<p>The identifier of the slot type to delete.</p>", 6291 "location":"uri", 6292 "locationName":"slotTypeId" 6293 }, 6294 "botId":{ 6295 "shape":"Id", 6296 "documentation":"<p>The identifier of the bot associated with the slot type.</p>", 6297 "location":"uri", 6298 "locationName":"botId" 6299 }, 6300 "botVersion":{ 6301 "shape":"DraftBotVersion", 6302 "documentation":"<p>The version of the bot associated with the slot type.</p>", 6303 "location":"uri", 6304 "locationName":"botVersion" 6305 }, 6306 "localeId":{ 6307 "shape":"LocaleId", 6308 "documentation":"<p>The identifier of the language and locale that the slot type will be deleted from. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 6309 "location":"uri", 6310 "locationName":"localeId" 6311 }, 6312 "skipResourceInUseCheck":{ 6313 "shape":"SkipResourceInUseCheck", 6314 "documentation":"<p>By default, the <code>DeleteSlotType</code> operations throws a <code>ResourceInUseException</code> exception if you try to delete a slot type used by a slot. Set the <code>skipResourceInUseCheck</code> parameter to <code>true</code> to skip this check and remove the slot type even if a slot uses it.</p>", 6315 "location":"querystring", 6316 "locationName":"skipResourceInUseCheck" 6317 } 6318 } 6319 }, 6320 "DeleteTestSetRequest":{ 6321 "type":"structure", 6322 "required":["testSetId"], 6323 "members":{ 6324 "testSetId":{ 6325 "shape":"Id", 6326 "documentation":"<p>The test set Id of the test set to be deleted.</p>", 6327 "location":"uri", 6328 "locationName":"testSetId" 6329 } 6330 } 6331 }, 6332 "DeleteUtterancesRequest":{ 6333 "type":"structure", 6334 "required":["botId"], 6335 "members":{ 6336 "botId":{ 6337 "shape":"Id", 6338 "documentation":"<p>The unique identifier of the bot that contains the utterances.</p>", 6339 "location":"uri", 6340 "locationName":"botId" 6341 }, 6342 "localeId":{ 6343 "shape":"LocaleId", 6344 "documentation":"<p>The identifier of the language and locale where the utterances were collected. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 6345 "location":"querystring", 6346 "locationName":"localeId" 6347 }, 6348 "sessionId":{ 6349 "shape":"SessionId", 6350 "documentation":"<p>The unique identifier of the session with the user. The ID is returned in the response from the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_RecognizeText.html\">RecognizeText</a> and <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_RecognizeUtterance.html\">RecognizeUtterance</a> operations.</p>", 6351 "location":"querystring", 6352 "locationName":"sessionId" 6353 } 6354 } 6355 }, 6356 "DeleteUtterancesResponse":{ 6357 "type":"structure", 6358 "members":{ 6359 } 6360 }, 6361 "DescribeBotAliasRequest":{ 6362 "type":"structure", 6363 "required":[ 6364 "botAliasId", 6365 "botId" 6366 ], 6367 "members":{ 6368 "botAliasId":{ 6369 "shape":"BotAliasId", 6370 "documentation":"<p>The identifier of the bot alias to describe.</p>", 6371 "location":"uri", 6372 "locationName":"botAliasId" 6373 }, 6374 "botId":{ 6375 "shape":"Id", 6376 "documentation":"<p>The identifier of the bot associated with the bot alias to describe.</p>", 6377 "location":"uri", 6378 "locationName":"botId" 6379 } 6380 } 6381 }, 6382 "DescribeBotAliasResponse":{ 6383 "type":"structure", 6384 "members":{ 6385 "botAliasId":{ 6386 "shape":"BotAliasId", 6387 "documentation":"<p>The identifier of the bot alias.</p>" 6388 }, 6389 "botAliasName":{ 6390 "shape":"Name", 6391 "documentation":"<p>The name of the bot alias.</p>" 6392 }, 6393 "description":{ 6394 "shape":"Description", 6395 "documentation":"<p>The description of the bot alias.</p>" 6396 }, 6397 "botVersion":{ 6398 "shape":"BotVersion", 6399 "documentation":"<p>The version of the bot associated with the bot alias.</p>" 6400 }, 6401 "botAliasLocaleSettings":{ 6402 "shape":"BotAliasLocaleSettingsMap", 6403 "documentation":"<p>The locale settings that are unique to the alias.</p>" 6404 }, 6405 "conversationLogSettings":{ 6406 "shape":"ConversationLogSettings", 6407 "documentation":"<p>Specifics of how Amazon Lex logs text and audio conversations with the bot associated with the alias.</p>" 6408 }, 6409 "sentimentAnalysisSettings":{"shape":"SentimentAnalysisSettings"}, 6410 "botAliasHistoryEvents":{ 6411 "shape":"BotAliasHistoryEventsList", 6412 "documentation":"<p>A list of events that affect a bot alias. For example, an event is recorded when the version that the alias points to changes.</p>" 6413 }, 6414 "botAliasStatus":{ 6415 "shape":"BotAliasStatus", 6416 "documentation":"<p>The current status of the alias. When the alias is <code>Available</code>, the alias is ready for use with your bot.</p>" 6417 }, 6418 "botId":{ 6419 "shape":"Id", 6420 "documentation":"<p>The identifier of the bot associated with the bot alias.</p>" 6421 }, 6422 "creationDateTime":{ 6423 "shape":"Timestamp", 6424 "documentation":"<p>A timestamp of the date and time that the alias was created.</p>" 6425 }, 6426 "lastUpdatedDateTime":{ 6427 "shape":"Timestamp", 6428 "documentation":"<p>A timestamp of the date and time that the alias was last updated.</p>" 6429 }, 6430 "parentBotNetworks":{ 6431 "shape":"ParentBotNetworks", 6432 "documentation":"<p>A list of the networks to which the bot alias you described belongs.</p>" 6433 } 6434 } 6435 }, 6436 "DescribeBotLocaleRequest":{ 6437 "type":"structure", 6438 "required":[ 6439 "botId", 6440 "botVersion", 6441 "localeId" 6442 ], 6443 "members":{ 6444 "botId":{ 6445 "shape":"Id", 6446 "documentation":"<p>The identifier of the bot associated with the locale.</p>", 6447 "location":"uri", 6448 "locationName":"botId" 6449 }, 6450 "botVersion":{ 6451 "shape":"BotVersion", 6452 "documentation":"<p>The version of the bot associated with the locale.</p>", 6453 "location":"uri", 6454 "locationName":"botVersion" 6455 }, 6456 "localeId":{ 6457 "shape":"LocaleId", 6458 "documentation":"<p>The unique identifier of the locale to describe. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>. </p>", 6459 "location":"uri", 6460 "locationName":"localeId" 6461 } 6462 } 6463 }, 6464 "DescribeBotLocaleResponse":{ 6465 "type":"structure", 6466 "members":{ 6467 "botId":{ 6468 "shape":"Id", 6469 "documentation":"<p>The identifier of the bot associated with the locale.</p>" 6470 }, 6471 "botVersion":{ 6472 "shape":"BotVersion", 6473 "documentation":"<p>The version of the bot associated with the locale.</p>" 6474 }, 6475 "localeId":{ 6476 "shape":"LocaleId", 6477 "documentation":"<p>The unique identifier of the described locale.</p>" 6478 }, 6479 "localeName":{ 6480 "shape":"LocaleName", 6481 "documentation":"<p>The name of the locale.</p>" 6482 }, 6483 "description":{ 6484 "shape":"Description", 6485 "documentation":"<p>The description of the locale.</p>" 6486 }, 6487 "nluIntentConfidenceThreshold":{ 6488 "shape":"ConfidenceThreshold", 6489 "documentation":"<p>The confidence threshold where Amazon Lex inserts the <code>AMAZON.FallbackIntent</code> and <code>AMAZON.KendraSearchIntent</code> intents in the list of possible intents for an utterance.</p>" 6490 }, 6491 "voiceSettings":{ 6492 "shape":"VoiceSettings", 6493 "documentation":"<p>The Amazon Polly voice Amazon Lex uses for voice interaction with the user.</p>" 6494 }, 6495 "intentsCount":{ 6496 "shape":"ResourceCount", 6497 "documentation":"<p>The number of intents defined for the locale.</p>" 6498 }, 6499 "slotTypesCount":{ 6500 "shape":"ResourceCount", 6501 "documentation":"<p>The number of slot types defined for the locale.</p>" 6502 }, 6503 "botLocaleStatus":{ 6504 "shape":"BotLocaleStatus", 6505 "documentation":"<p>The status of the bot. If the status is <code>Failed</code>, the reasons for the failure are listed in the <code>failureReasons</code> field.</p>" 6506 }, 6507 "failureReasons":{ 6508 "shape":"FailureReasons", 6509 "documentation":"<p>if <code>botLocaleStatus</code> is <code>Failed</code>, Amazon Lex explains why it failed to build the bot.</p>" 6510 }, 6511 "creationDateTime":{ 6512 "shape":"Timestamp", 6513 "documentation":"<p>The date and time that the locale was created.</p>" 6514 }, 6515 "lastUpdatedDateTime":{ 6516 "shape":"Timestamp", 6517 "documentation":"<p>The date and time that the locale was last updated.</p>" 6518 }, 6519 "lastBuildSubmittedDateTime":{ 6520 "shape":"Timestamp", 6521 "documentation":"<p>The date and time that the locale was last submitted for building.</p>" 6522 }, 6523 "botLocaleHistoryEvents":{ 6524 "shape":"BotLocaleHistoryEventsList", 6525 "documentation":"<p>History of changes, such as when a locale is used in an alias, that have taken place for the locale.</p>" 6526 }, 6527 "recommendedActions":{ 6528 "shape":"RecommendedActions", 6529 "documentation":"<p>Recommended actions to take to resolve an error in the <code>failureReasons</code> field.</p>" 6530 }, 6531 "generativeAISettings":{ 6532 "shape":"GenerativeAISettings", 6533 "documentation":"<p>Contains settings for Amazon Bedrock's generative AI features for your bot locale.</p>" 6534 } 6535 } 6536 }, 6537 "DescribeBotRecommendationRequest":{ 6538 "type":"structure", 6539 "required":[ 6540 "botId", 6541 "botVersion", 6542 "localeId", 6543 "botRecommendationId" 6544 ], 6545 "members":{ 6546 "botId":{ 6547 "shape":"Id", 6548 "documentation":"<p>The unique identifier of the bot associated with the bot recommendation.</p>", 6549 "location":"uri", 6550 "locationName":"botId" 6551 }, 6552 "botVersion":{ 6553 "shape":"DraftBotVersion", 6554 "documentation":"<p>The version of the bot associated with the bot recommendation.</p>", 6555 "location":"uri", 6556 "locationName":"botVersion" 6557 }, 6558 "localeId":{ 6559 "shape":"LocaleId", 6560 "documentation":"<p>The identifier of the language and locale of the bot recommendation to describe. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 6561 "location":"uri", 6562 "locationName":"localeId" 6563 }, 6564 "botRecommendationId":{ 6565 "shape":"Id", 6566 "documentation":"<p>The identifier of the bot recommendation to describe.</p>", 6567 "location":"uri", 6568 "locationName":"botRecommendationId" 6569 } 6570 } 6571 }, 6572 "DescribeBotRecommendationResponse":{ 6573 "type":"structure", 6574 "members":{ 6575 "botId":{ 6576 "shape":"Id", 6577 "documentation":"<p>The identifier of the bot associated with the bot recommendation.</p>" 6578 }, 6579 "botVersion":{ 6580 "shape":"DraftBotVersion", 6581 "documentation":"<p>The version of the bot associated with the bot recommendation.</p>" 6582 }, 6583 "localeId":{ 6584 "shape":"LocaleId", 6585 "documentation":"<p>The identifier of the language and locale of the bot recommendation to describe.</p>" 6586 }, 6587 "botRecommendationStatus":{ 6588 "shape":"BotRecommendationStatus", 6589 "documentation":"<p>The status of the bot recommendation. If the status is Failed, then the reasons for the failure are listed in the failureReasons field. </p>" 6590 }, 6591 "botRecommendationId":{ 6592 "shape":"Id", 6593 "documentation":"<p>The identifier of the bot recommendation being described.</p>" 6594 }, 6595 "failureReasons":{ 6596 "shape":"FailureReasons", 6597 "documentation":"<p>If botRecommendationStatus is Failed, Amazon Lex explains why.</p>" 6598 }, 6599 "creationDateTime":{ 6600 "shape":"Timestamp", 6601 "documentation":"<p>The date and time that the bot recommendation was created.</p>" 6602 }, 6603 "lastUpdatedDateTime":{ 6604 "shape":"Timestamp", 6605 "documentation":"<p>The date and time that the bot recommendation was last updated.</p>" 6606 }, 6607 "transcriptSourceSetting":{ 6608 "shape":"TranscriptSourceSetting", 6609 "documentation":"<p>The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.</p>" 6610 }, 6611 "encryptionSetting":{ 6612 "shape":"EncryptionSetting", 6613 "documentation":"<p>The object representing the passwords that were used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.</p>" 6614 }, 6615 "botRecommendationResults":{ 6616 "shape":"BotRecommendationResults", 6617 "documentation":"<p>The object representing the URL of the bot definition, the URL of the associated transcript and a statistical summary of the bot recommendation results.</p>" 6618 } 6619 } 6620 }, 6621 "DescribeBotReplicaRequest":{ 6622 "type":"structure", 6623 "required":[ 6624 "botId", 6625 "replicaRegion" 6626 ], 6627 "members":{ 6628 "botId":{ 6629 "shape":"Id", 6630 "documentation":"<p>The request for the unique bot ID of the replicated bot being monitored.</p>", 6631 "location":"uri", 6632 "locationName":"botId" 6633 }, 6634 "replicaRegion":{ 6635 "shape":"ReplicaRegion", 6636 "documentation":"<p>The request for the region of the replicated bot being monitored.</p>", 6637 "location":"uri", 6638 "locationName":"replicaRegion" 6639 } 6640 } 6641 }, 6642 "DescribeBotReplicaResponse":{ 6643 "type":"structure", 6644 "members":{ 6645 "botId":{ 6646 "shape":"Id", 6647 "documentation":"<p>The unique bot ID of the replicated bot being monitored.</p>" 6648 }, 6649 "replicaRegion":{ 6650 "shape":"ReplicaRegion", 6651 "documentation":"<p>The region of the replicated bot being monitored.</p>" 6652 }, 6653 "sourceRegion":{ 6654 "shape":"ReplicaRegion", 6655 "documentation":"<p>The source region of the replicated bot being monitored.</p>" 6656 }, 6657 "creationDateTime":{ 6658 "shape":"Timestamp", 6659 "documentation":"<p>The creation date and time of the replicated bot being monitored.</p>" 6660 }, 6661 "botReplicaStatus":{ 6662 "shape":"BotReplicaStatus", 6663 "documentation":"<p>The operational status of the replicated bot being monitored.</p>" 6664 }, 6665 "failureReasons":{ 6666 "shape":"FailureReasons", 6667 "documentation":"<p>The failure reasons the bot being monitored failed to replicate.</p>" 6668 } 6669 } 6670 }, 6671 "DescribeBotRequest":{ 6672 "type":"structure", 6673 "required":["botId"], 6674 "members":{ 6675 "botId":{ 6676 "shape":"Id", 6677 "documentation":"<p>The unique identifier of the bot to describe.</p>", 6678 "location":"uri", 6679 "locationName":"botId" 6680 } 6681 } 6682 }, 6683 "DescribeBotResourceGenerationRequest":{ 6684 "type":"structure", 6685 "required":[ 6686 "botId", 6687 "botVersion", 6688 "localeId", 6689 "generationId" 6690 ], 6691 "members":{ 6692 "botId":{ 6693 "shape":"Id", 6694 "documentation":"<p>The unique identifier of the bot for which to return the generation details.</p>", 6695 "location":"uri", 6696 "locationName":"botId" 6697 }, 6698 "botVersion":{ 6699 "shape":"BotVersion", 6700 "documentation":"<p>The version of the bot for which to return the generation details.</p>", 6701 "location":"uri", 6702 "locationName":"botVersion" 6703 }, 6704 "localeId":{ 6705 "shape":"LocaleId", 6706 "documentation":"<p>The locale of the bot for which to return the generation details.</p>", 6707 "location":"uri", 6708 "locationName":"localeId" 6709 }, 6710 "generationId":{ 6711 "shape":"Id", 6712 "documentation":"<p>The unique identifier of the generation request for which to return the generation details.</p>", 6713 "location":"uri", 6714 "locationName":"generationId" 6715 } 6716 } 6717 }, 6718 "DescribeBotResourceGenerationResponse":{ 6719 "type":"structure", 6720 "members":{ 6721 "botId":{ 6722 "shape":"Id", 6723 "documentation":"<p>The unique identifier of the bot for which the generation request was made.</p>" 6724 }, 6725 "botVersion":{ 6726 "shape":"BotVersion", 6727 "documentation":"<p>The version of the bot for which the generation request was made.</p>" 6728 }, 6729 "localeId":{ 6730 "shape":"LocaleId", 6731 "documentation":"<p>The locale of the bot for which the generation request was made.</p>" 6732 }, 6733 "generationId":{ 6734 "shape":"Id", 6735 "documentation":"<p>The generation ID for which to return the generation details.</p>" 6736 }, 6737 "failureReasons":{ 6738 "shape":"FailureReasons", 6739 "documentation":"<p>A list of reasons why the generation of bot resources through natural language description failed.</p>" 6740 }, 6741 "generationStatus":{ 6742 "shape":"GenerationStatus", 6743 "documentation":"<p>The status of the generation request.</p>" 6744 }, 6745 "generationInputPrompt":{ 6746 "shape":"GenerationInput", 6747 "documentation":"<p>The prompt used in the generation request.</p>" 6748 }, 6749 "generatedBotLocaleUrl":{ 6750 "shape":"PresignedS3Url", 6751 "documentation":"<p>The Amazon S3 location of the generated bot locale configuration.</p>" 6752 }, 6753 "creationDateTime":{ 6754 "shape":"Timestamp", 6755 "documentation":"<p>The date and time at which the item was generated.</p>" 6756 }, 6757 "modelArn":{ 6758 "shape":"BedrockModelArn", 6759 "documentation":"<p>The ARN of the model used to generate the bot resources.</p>" 6760 }, 6761 "lastUpdatedDateTime":{ 6762 "shape":"Timestamp", 6763 "documentation":"<p>The date and time at which the generated item was updated.</p>" 6764 } 6765 } 6766 }, 6767 "DescribeBotResponse":{ 6768 "type":"structure", 6769 "members":{ 6770 "botId":{ 6771 "shape":"Id", 6772 "documentation":"<p>The unique identifier of the bot.</p>" 6773 }, 6774 "botName":{ 6775 "shape":"Name", 6776 "documentation":"<p>The name of the bot.</p>" 6777 }, 6778 "description":{ 6779 "shape":"Description", 6780 "documentation":"<p>The description of the bot. </p>" 6781 }, 6782 "roleArn":{ 6783 "shape":"RoleArn", 6784 "documentation":"<p>The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.</p>" 6785 }, 6786 "dataPrivacy":{ 6787 "shape":"DataPrivacy", 6788 "documentation":"<p>Settings for managing data privacy of the bot and its conversations with users.</p>" 6789 }, 6790 "idleSessionTTLInSeconds":{ 6791 "shape":"SessionTTL", 6792 "documentation":"<p>The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.</p>" 6793 }, 6794 "botStatus":{ 6795 "shape":"BotStatus", 6796 "documentation":"<p>The current status of the bot. When the status is <code>Available</code> the bot is ready to be used in conversations with users.</p>" 6797 }, 6798 "creationDateTime":{ 6799 "shape":"Timestamp", 6800 "documentation":"<p>A timestamp of the date and time that the bot was created.</p>" 6801 }, 6802 "lastUpdatedDateTime":{ 6803 "shape":"Timestamp", 6804 "documentation":"<p>A timestamp of the date and time that the bot was last updated.</p>" 6805 }, 6806 "botType":{ 6807 "shape":"BotType", 6808 "documentation":"<p>The type of the bot that was described.</p>" 6809 }, 6810 "botMembers":{ 6811 "shape":"BotMembers", 6812 "documentation":"<p>The list of bots in the network that was described.</p>" 6813 }, 6814 "failureReasons":{ 6815 "shape":"FailureReasons", 6816 "documentation":"<p>If the <code>botStatus</code> is <code>Failed</code>, this contains a list of reasons that the bot couldn't be built.</p>" 6817 } 6818 } 6819 }, 6820 "DescribeBotVersionRequest":{ 6821 "type":"structure", 6822 "required":[ 6823 "botId", 6824 "botVersion" 6825 ], 6826 "members":{ 6827 "botId":{ 6828 "shape":"Id", 6829 "documentation":"<p>The identifier of the bot containing the version to return metadata for.</p>", 6830 "location":"uri", 6831 "locationName":"botId" 6832 }, 6833 "botVersion":{ 6834 "shape":"NumericalBotVersion", 6835 "documentation":"<p>The version of the bot to return metadata for.</p>", 6836 "location":"uri", 6837 "locationName":"botVersion" 6838 } 6839 } 6840 }, 6841 "DescribeBotVersionResponse":{ 6842 "type":"structure", 6843 "members":{ 6844 "botId":{ 6845 "shape":"Id", 6846 "documentation":"<p>The identifier of the bot that contains the version.</p>" 6847 }, 6848 "botName":{ 6849 "shape":"Name", 6850 "documentation":"<p>The name of the bot that contains the version.</p>" 6851 }, 6852 "botVersion":{ 6853 "shape":"NumericalBotVersion", 6854 "documentation":"<p>The version of the bot that was described.</p>" 6855 }, 6856 "description":{ 6857 "shape":"Description", 6858 "documentation":"<p>The description specified for the bot.</p>" 6859 }, 6860 "roleArn":{ 6861 "shape":"RoleArn", 6862 "documentation":"<p>The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version.</p>" 6863 }, 6864 "dataPrivacy":{ 6865 "shape":"DataPrivacy", 6866 "documentation":"<p>Data privacy settings for the bot version.</p>" 6867 }, 6868 "idleSessionTTLInSeconds":{ 6869 "shape":"SessionTTL", 6870 "documentation":"<p>The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.</p>" 6871 }, 6872 "botStatus":{ 6873 "shape":"BotStatus", 6874 "documentation":"<p>The current status of the bot. When the status is <code>Available</code>, the bot version is ready for use.</p>" 6875 }, 6876 "failureReasons":{ 6877 "shape":"FailureReasons", 6878 "documentation":"<p>If the <code>botStatus</code> is <code>Failed</code>, this contains a list of reasons that the version couldn't be built.</p>" 6879 }, 6880 "creationDateTime":{ 6881 "shape":"Timestamp", 6882 "documentation":"<p>A timestamp of the date and time that the bot version was created.</p>" 6883 }, 6884 "parentBotNetworks":{ 6885 "shape":"ParentBotNetworks", 6886 "documentation":"<p>A list of the networks to which the bot version you described belongs.</p>" 6887 }, 6888 "botType":{ 6889 "shape":"BotType", 6890 "documentation":"<p>The type of the bot in the version that was described.</p>" 6891 }, 6892 "botMembers":{ 6893 "shape":"BotMembers", 6894 "documentation":"<p>The members of bot network in the version that was described.</p>" 6895 } 6896 } 6897 }, 6898 "DescribeCustomVocabularyMetadataRequest":{ 6899 "type":"structure", 6900 "required":[ 6901 "botId", 6902 "botVersion", 6903 "localeId" 6904 ], 6905 "members":{ 6906 "botId":{ 6907 "shape":"Id", 6908 "documentation":"<p>The unique identifier of the bot that contains the custom vocabulary.</p>", 6909 "location":"uri", 6910 "locationName":"botId" 6911 }, 6912 "botVersion":{ 6913 "shape":"BotVersion", 6914 "documentation":"<p>The bot version of the bot to return metadata for.</p>", 6915 "location":"uri", 6916 "locationName":"botVersion" 6917 }, 6918 "localeId":{ 6919 "shape":"LocaleId", 6920 "documentation":"<p>The locale to return the custom vocabulary information for. The locale must be <code>en_GB</code>.</p>", 6921 "location":"uri", 6922 "locationName":"localeId" 6923 } 6924 } 6925 }, 6926 "DescribeCustomVocabularyMetadataResponse":{ 6927 "type":"structure", 6928 "members":{ 6929 "botId":{ 6930 "shape":"Id", 6931 "documentation":"<p>The identifier of the bot that contains the custom vocabulary.</p>" 6932 }, 6933 "botVersion":{ 6934 "shape":"BotVersion", 6935 "documentation":"<p>The version of the bot that contains the custom vocabulary to describe.</p>" 6936 }, 6937 "localeId":{ 6938 "shape":"LocaleId", 6939 "documentation":"<p>The locale that contains the custom vocabulary to describe.</p>" 6940 }, 6941 "customVocabularyStatus":{ 6942 "shape":"CustomVocabularyStatus", 6943 "documentation":"<p>The status of the custom vocabulary. If the status is <code>Ready</code> the custom vocabulary is ready to use.</p>" 6944 }, 6945 "creationDateTime":{ 6946 "shape":"Timestamp", 6947 "documentation":"<p>The date and time that the custom vocabulary was created.</p>" 6948 }, 6949 "lastUpdatedDateTime":{ 6950 "shape":"Timestamp", 6951 "documentation":"<p>The date and time that the custom vocabulary was last updated.</p>" 6952 } 6953 } 6954 }, 6955 "DescribeExportRequest":{ 6956 "type":"structure", 6957 "required":["exportId"], 6958 "members":{ 6959 "exportId":{ 6960 "shape":"Id", 6961 "documentation":"<p>The unique identifier of the export to describe.</p>", 6962 "location":"uri", 6963 "locationName":"exportId" 6964 } 6965 } 6966 }, 6967 "DescribeExportResponse":{ 6968 "type":"structure", 6969 "members":{ 6970 "exportId":{ 6971 "shape":"Id", 6972 "documentation":"<p>The unique identifier of the described export.</p>" 6973 }, 6974 "resourceSpecification":{ 6975 "shape":"ExportResourceSpecification", 6976 "documentation":"<p>The bot, bot ID, and optional locale ID of the exported bot or bot locale.</p>" 6977 }, 6978 "fileFormat":{ 6979 "shape":"ImportExportFileFormat", 6980 "documentation":"<p>The file format used in the files that describe the resource. </p>" 6981 }, 6982 "exportStatus":{ 6983 "shape":"ExportStatus", 6984 "documentation":"<p>The status of the export. When the status is <code>Complete</code> the export archive file is available for download.</p>" 6985 }, 6986 "failureReasons":{ 6987 "shape":"FailureReasons", 6988 "documentation":"<p>If the <code>exportStatus</code> is failed, contains one or more reasons why the export could not be completed.</p>" 6989 }, 6990 "downloadUrl":{ 6991 "shape":"PresignedS3Url", 6992 "documentation":"<p>A pre-signed S3 URL that points to the bot or bot locale archive. The URL is only available for 5 minutes after calling the <code>DescribeExport</code> operation.</p>" 6993 }, 6994 "creationDateTime":{ 6995 "shape":"Timestamp", 6996 "documentation":"<p>The date and time that the export was created.</p>" 6997 }, 6998 "lastUpdatedDateTime":{ 6999 "shape":"Timestamp", 7000 "documentation":"<p>The last date and time that the export was updated.</p>" 7001 } 7002 } 7003 }, 7004 "DescribeImportRequest":{ 7005 "type":"structure", 7006 "required":["importId"], 7007 "members":{ 7008 "importId":{ 7009 "shape":"Id", 7010 "documentation":"<p>The unique identifier of the import to describe.</p>", 7011 "location":"uri", 7012 "locationName":"importId" 7013 } 7014 } 7015 }, 7016 "DescribeImportResponse":{ 7017 "type":"structure", 7018 "members":{ 7019 "importId":{ 7020 "shape":"Id", 7021 "documentation":"<p>The unique identifier of the described import.</p>" 7022 }, 7023 "resourceSpecification":{ 7024 "shape":"ImportResourceSpecification", 7025 "documentation":"<p>The specifications of the imported bot, bot locale, or custom vocabulary.</p>" 7026 }, 7027 "importedResourceId":{ 7028 "shape":"ImportedResourceId", 7029 "documentation":"<p>The unique identifier that Amazon Lex assigned to the resource created by the import.</p>" 7030 }, 7031 "importedResourceName":{ 7032 "shape":"Name", 7033 "documentation":"<p>The name of the imported resource.</p>" 7034 }, 7035 "mergeStrategy":{ 7036 "shape":"MergeStrategy", 7037 "documentation":"<p>The strategy used when there was a name conflict between the imported resource and an existing resource. When the merge strategy is <code>FailOnConflict</code> existing resources are not overwritten and the import fails.</p>" 7038 }, 7039 "importStatus":{ 7040 "shape":"ImportStatus", 7041 "documentation":"<p>The status of the import process. When the status is <code>Completed</code> the resource is imported and ready for use.</p>" 7042 }, 7043 "failureReasons":{ 7044 "shape":"FailureReasons", 7045 "documentation":"<p>If the <code>importStatus</code> field is <code>Failed</code>, this provides one or more reasons for the failure.</p>" 7046 }, 7047 "creationDateTime":{ 7048 "shape":"Timestamp", 7049 "documentation":"<p>The date and time that the import was created.</p>" 7050 }, 7051 "lastUpdatedDateTime":{ 7052 "shape":"Timestamp", 7053 "documentation":"<p>The date and time that the import was last updated.</p>" 7054 } 7055 } 7056 }, 7057 "DescribeIntentRequest":{ 7058 "type":"structure", 7059 "required":[ 7060 "intentId", 7061 "botId", 7062 "botVersion", 7063 "localeId" 7064 ], 7065 "members":{ 7066 "intentId":{ 7067 "shape":"Id", 7068 "documentation":"<p>The identifier of the intent to describe.</p>", 7069 "location":"uri", 7070 "locationName":"intentId" 7071 }, 7072 "botId":{ 7073 "shape":"Id", 7074 "documentation":"<p>The identifier of the bot associated with the intent.</p>", 7075 "location":"uri", 7076 "locationName":"botId" 7077 }, 7078 "botVersion":{ 7079 "shape":"BotVersion", 7080 "documentation":"<p>The version of the bot associated with the intent.</p>", 7081 "location":"uri", 7082 "locationName":"botVersion" 7083 }, 7084 "localeId":{ 7085 "shape":"LocaleId", 7086 "documentation":"<p>The identifier of the language and locale of the intent to describe. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 7087 "location":"uri", 7088 "locationName":"localeId" 7089 } 7090 } 7091 }, 7092 "DescribeIntentResponse":{ 7093 "type":"structure", 7094 "members":{ 7095 "intentId":{ 7096 "shape":"Id", 7097 "documentation":"<p>The unique identifier assigned to the intent when it was created.</p>" 7098 }, 7099 "intentName":{ 7100 "shape":"Name", 7101 "documentation":"<p>The name specified for the intent.</p>" 7102 }, 7103 "description":{ 7104 "shape":"Description", 7105 "documentation":"<p>The description of the intent.</p>" 7106 }, 7107 "parentIntentSignature":{ 7108 "shape":"IntentSignature", 7109 "documentation":"<p>The identifier of the built-in intent that this intent is derived from, if any.</p>" 7110 }, 7111 "sampleUtterances":{ 7112 "shape":"SampleUtterancesList", 7113 "documentation":"<p>User utterances that trigger this intent.</p>" 7114 }, 7115 "dialogCodeHook":{ 7116 "shape":"DialogCodeHookSettings", 7117 "documentation":"<p>The Lambda function called during each turn of a conversation with the intent.</p>" 7118 }, 7119 "fulfillmentCodeHook":{ 7120 "shape":"FulfillmentCodeHookSettings", 7121 "documentation":"<p>The Lambda function called when the intent is complete and ready for fulfillment.</p>" 7122 }, 7123 "slotPriorities":{ 7124 "shape":"SlotPrioritiesList", 7125 "documentation":"<p>The list that determines the priority that slots should be elicited from the user.</p>" 7126 }, 7127 "intentConfirmationSetting":{ 7128 "shape":"IntentConfirmationSetting", 7129 "documentation":"<p>Prompts that Amazon Lex sends to the user to confirm completion of an intent.</p>" 7130 }, 7131 "intentClosingSetting":{ 7132 "shape":"IntentClosingSetting", 7133 "documentation":"<p>The response that Amazon Lex sends to when the intent is closed.</p>" 7134 }, 7135 "inputContexts":{ 7136 "shape":"InputContextsList", 7137 "documentation":"<p>A list of contexts that must be active for the intent to be considered for sending to the user.</p>" 7138 }, 7139 "outputContexts":{ 7140 "shape":"OutputContextsList", 7141 "documentation":"<p>A list of contexts that are activated when the intent is fulfilled.</p>" 7142 }, 7143 "kendraConfiguration":{ 7144 "shape":"KendraConfiguration", 7145 "documentation":"<p>Configuration information required to use the <code>AMAZON.KendraSearchIntent</code> intent.</p>" 7146 }, 7147 "botId":{ 7148 "shape":"Id", 7149 "documentation":"<p>The identifier of the bot associated with the intent.</p>" 7150 }, 7151 "botVersion":{ 7152 "shape":"DraftBotVersion", 7153 "documentation":"<p>The version of the bot associated with the intent.</p>" 7154 }, 7155 "localeId":{ 7156 "shape":"LocaleId", 7157 "documentation":"<p>The language and locale specified for the intent.</p>" 7158 }, 7159 "creationDateTime":{ 7160 "shape":"Timestamp", 7161 "documentation":"<p>A timestamp of the date and time that the intent was created.</p>" 7162 }, 7163 "lastUpdatedDateTime":{ 7164 "shape":"Timestamp", 7165 "documentation":"<p>A timestamp of the date and time that the intent was last updated.</p>" 7166 }, 7167 "initialResponseSetting":{ 7168 "shape":"InitialResponseSetting", 7169 "documentation":"<p>Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.</p>" 7170 } 7171 } 7172 }, 7173 "DescribeResourcePolicyRequest":{ 7174 "type":"structure", 7175 "required":["resourceArn"], 7176 "members":{ 7177 "resourceArn":{ 7178 "shape":"AmazonResourceName", 7179 "documentation":"<p>The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.</p>", 7180 "location":"uri", 7181 "locationName":"resourceArn" 7182 } 7183 } 7184 }, 7185 "DescribeResourcePolicyResponse":{ 7186 "type":"structure", 7187 "members":{ 7188 "resourceArn":{ 7189 "shape":"AmazonResourceName", 7190 "documentation":"<p>The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.</p>" 7191 }, 7192 "policy":{ 7193 "shape":"Policy", 7194 "documentation":"<p>The JSON structure that contains the resource policy. For more information about the contents of a JSON policy document, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html\"> IAM JSON policy reference </a>.</p>" 7195 }, 7196 "revisionId":{ 7197 "shape":"RevisionId", 7198 "documentation":"<p>The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.</p>" 7199 } 7200 } 7201 }, 7202 "DescribeSlotRequest":{ 7203 "type":"structure", 7204 "required":[ 7205 "slotId", 7206 "botId", 7207 "botVersion", 7208 "localeId", 7209 "intentId" 7210 ], 7211 "members":{ 7212 "slotId":{ 7213 "shape":"Id", 7214 "documentation":"<p>The unique identifier for the slot.</p>", 7215 "location":"uri", 7216 "locationName":"slotId" 7217 }, 7218 "botId":{ 7219 "shape":"Id", 7220 "documentation":"<p>The identifier of the bot associated with the slot.</p>", 7221 "location":"uri", 7222 "locationName":"botId" 7223 }, 7224 "botVersion":{ 7225 "shape":"BotVersion", 7226 "documentation":"<p>The version of the bot associated with the slot.</p>", 7227 "location":"uri", 7228 "locationName":"botVersion" 7229 }, 7230 "localeId":{ 7231 "shape":"LocaleId", 7232 "documentation":"<p>The identifier of the language and locale of the slot to describe. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 7233 "location":"uri", 7234 "locationName":"localeId" 7235 }, 7236 "intentId":{ 7237 "shape":"Id", 7238 "documentation":"<p>The identifier of the intent that contains the slot.</p>", 7239 "location":"uri", 7240 "locationName":"intentId" 7241 } 7242 } 7243 }, 7244 "DescribeSlotResponse":{ 7245 "type":"structure", 7246 "members":{ 7247 "slotId":{ 7248 "shape":"Id", 7249 "documentation":"<p>The unique identifier generated for the slot.</p>" 7250 }, 7251 "slotName":{ 7252 "shape":"Name", 7253 "documentation":"<p>The name specified for the slot.</p>" 7254 }, 7255 "description":{ 7256 "shape":"Description", 7257 "documentation":"<p>The description specified for the slot.</p>" 7258 }, 7259 "slotTypeId":{ 7260 "shape":"BuiltInOrCustomSlotTypeId", 7261 "documentation":"<p>The identifier of the slot type that determines the values entered into the slot.</p>" 7262 }, 7263 "valueElicitationSetting":{ 7264 "shape":"SlotValueElicitationSetting", 7265 "documentation":"<p>Prompts that Amazon Lex uses to elicit a value for the slot.</p>" 7266 }, 7267 "obfuscationSetting":{ 7268 "shape":"ObfuscationSetting", 7269 "documentation":"<p>Whether slot values are shown in Amazon CloudWatch logs. If the value is <code>None</code>, the actual value of the slot is shown in logs.</p>" 7270 }, 7271 "botId":{ 7272 "shape":"Id", 7273 "documentation":"<p>The identifier of the bot associated with the slot.</p>" 7274 }, 7275 "botVersion":{ 7276 "shape":"BotVersion", 7277 "documentation":"<p>The version of the bot associated with the slot.</p>" 7278 }, 7279 "localeId":{ 7280 "shape":"LocaleId", 7281 "documentation":"<p>The language and locale specified for the slot.</p>" 7282 }, 7283 "intentId":{ 7284 "shape":"Id", 7285 "documentation":"<p>The identifier of the intent associated with the slot.</p>" 7286 }, 7287 "creationDateTime":{ 7288 "shape":"Timestamp", 7289 "documentation":"<p>A timestamp of the date and time that the slot was created.</p>" 7290 }, 7291 "lastUpdatedDateTime":{ 7292 "shape":"Timestamp", 7293 "documentation":"<p>A timestamp of the date and time that the slot was last updated.</p>" 7294 }, 7295 "multipleValuesSetting":{ 7296 "shape":"MultipleValuesSetting", 7297 "documentation":"<p>Indicates whether the slot accepts multiple values in a single utterance.</p> <p>If the <code>multipleValuesSetting</code> is not set, the default value is <code>false</code>.</p>" 7298 }, 7299 "subSlotSetting":{ 7300 "shape":"SubSlotSetting", 7301 "documentation":"<p>Specifications for the constituent sub slots and the expression for the composite slot.</p>" 7302 } 7303 } 7304 }, 7305 "DescribeSlotTypeRequest":{ 7306 "type":"structure", 7307 "required":[ 7308 "slotTypeId", 7309 "botId", 7310 "botVersion", 7311 "localeId" 7312 ], 7313 "members":{ 7314 "slotTypeId":{ 7315 "shape":"Id", 7316 "documentation":"<p>The identifier of the slot type.</p>", 7317 "location":"uri", 7318 "locationName":"slotTypeId" 7319 }, 7320 "botId":{ 7321 "shape":"Id", 7322 "documentation":"<p>The identifier of the bot associated with the slot type.</p>", 7323 "location":"uri", 7324 "locationName":"botId" 7325 }, 7326 "botVersion":{ 7327 "shape":"BotVersion", 7328 "documentation":"<p>The version of the bot associated with the slot type.</p>", 7329 "location":"uri", 7330 "locationName":"botVersion" 7331 }, 7332 "localeId":{ 7333 "shape":"LocaleId", 7334 "documentation":"<p>The identifier of the language and locale of the slot type to describe. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 7335 "location":"uri", 7336 "locationName":"localeId" 7337 } 7338 } 7339 }, 7340 "DescribeSlotTypeResponse":{ 7341 "type":"structure", 7342 "members":{ 7343 "slotTypeId":{ 7344 "shape":"Id", 7345 "documentation":"<p>The unique identifier for the slot type.</p>" 7346 }, 7347 "slotTypeName":{ 7348 "shape":"Name", 7349 "documentation":"<p>The name specified for the slot type.</p>" 7350 }, 7351 "description":{ 7352 "shape":"Description", 7353 "documentation":"<p>The description specified for the slot type.</p>" 7354 }, 7355 "slotTypeValues":{ 7356 "shape":"SlotTypeValues", 7357 "documentation":"<p>The values that the slot type can take. Includes any synonyms for the slot type values.</p>" 7358 }, 7359 "valueSelectionSetting":{ 7360 "shape":"SlotValueSelectionSetting", 7361 "documentation":"<p>The strategy that Amazon Lex uses to choose a value from a list of possible values.</p>" 7362 }, 7363 "parentSlotTypeSignature":{ 7364 "shape":"SlotTypeSignature", 7365 "documentation":"<p>The built in slot type used as a parent to this slot type.</p>" 7366 }, 7367 "botId":{ 7368 "shape":"Id", 7369 "documentation":"<p>The identifier of the bot associated with the slot type.</p>" 7370 }, 7371 "botVersion":{ 7372 "shape":"BotVersion", 7373 "documentation":"<p>The version of the bot associated with the slot type.</p>" 7374 }, 7375 "localeId":{ 7376 "shape":"LocaleId", 7377 "documentation":"<p>The language and locale specified for the slot type.</p>" 7378 }, 7379 "creationDateTime":{ 7380 "shape":"Timestamp", 7381 "documentation":"<p>A timestamp of the date and time that the slot type was created.</p>" 7382 }, 7383 "lastUpdatedDateTime":{ 7384 "shape":"Timestamp", 7385 "documentation":"<p>A timestamp of the date and time that the slot type was last updated.</p>" 7386 }, 7387 "externalSourceSetting":{"shape":"ExternalSourceSetting"}, 7388 "compositeSlotTypeSetting":{ 7389 "shape":"CompositeSlotTypeSetting", 7390 "documentation":"<p>Specifications for a composite slot type.</p>" 7391 } 7392 } 7393 }, 7394 "DescribeTestExecutionRequest":{ 7395 "type":"structure", 7396 "required":["testExecutionId"], 7397 "members":{ 7398 "testExecutionId":{ 7399 "shape":"Id", 7400 "documentation":"<p>The execution Id of the test set execution.</p>", 7401 "location":"uri", 7402 "locationName":"testExecutionId" 7403 } 7404 } 7405 }, 7406 "DescribeTestExecutionResponse":{ 7407 "type":"structure", 7408 "members":{ 7409 "testExecutionId":{ 7410 "shape":"Id", 7411 "documentation":"<p>The execution Id for the test set execution.</p>" 7412 }, 7413 "creationDateTime":{ 7414 "shape":"Timestamp", 7415 "documentation":"<p>The execution creation date and time for the test set execution.</p>" 7416 }, 7417 "lastUpdatedDateTime":{ 7418 "shape":"Timestamp", 7419 "documentation":"<p>The date and time of the last update for the execution.</p>" 7420 }, 7421 "testExecutionStatus":{ 7422 "shape":"TestExecutionStatus", 7423 "documentation":"<p>The test execution status for the test execution.</p>" 7424 }, 7425 "testSetId":{ 7426 "shape":"Id", 7427 "documentation":"<p>The test set Id for the test set execution.</p>" 7428 }, 7429 "testSetName":{ 7430 "shape":"Name", 7431 "documentation":"<p>The test set name of the test set execution.</p>" 7432 }, 7433 "target":{ 7434 "shape":"TestExecutionTarget", 7435 "documentation":"<p>The target bot for the test set execution details.</p>" 7436 }, 7437 "apiMode":{ 7438 "shape":"TestExecutionApiMode", 7439 "documentation":"<p>Indicates whether we use streaming or non-streaming APIs are used for the test set execution. For streaming, <code>StartConversation</code> Amazon Lex Runtime API is used. Whereas for non-streaming, <code>RecognizeUtterance</code> and <code>RecognizeText</code> Amazon Lex Runtime API is used.</p>" 7440 }, 7441 "testExecutionModality":{ 7442 "shape":"TestExecutionModality", 7443 "documentation":"<p>Indicates whether test set is audio or text.</p>" 7444 }, 7445 "failureReasons":{ 7446 "shape":"FailureReasons", 7447 "documentation":"<p>Reasons for the failure of the test set execution.</p>" 7448 } 7449 } 7450 }, 7451 "DescribeTestSetDiscrepancyReportRequest":{ 7452 "type":"structure", 7453 "required":["testSetDiscrepancyReportId"], 7454 "members":{ 7455 "testSetDiscrepancyReportId":{ 7456 "shape":"Id", 7457 "documentation":"<p>The unique identifier of the test set discrepancy report.</p>", 7458 "location":"uri", 7459 "locationName":"testSetDiscrepancyReportId" 7460 } 7461 } 7462 }, 7463 "DescribeTestSetDiscrepancyReportResponse":{ 7464 "type":"structure", 7465 "members":{ 7466 "testSetDiscrepancyReportId":{ 7467 "shape":"Id", 7468 "documentation":"<p>The unique identifier of the test set discrepancy report to describe.</p>" 7469 }, 7470 "testSetId":{ 7471 "shape":"Id", 7472 "documentation":"<p>The test set Id for the test set discrepancy report.</p>" 7473 }, 7474 "creationDateTime":{ 7475 "shape":"Timestamp", 7476 "documentation":"<p>The time and date of creation for the test set discrepancy report.</p>" 7477 }, 7478 "target":{ 7479 "shape":"TestSetDiscrepancyReportResourceTarget", 7480 "documentation":"<p>The target bot location for the test set discrepancy report.</p>" 7481 }, 7482 "testSetDiscrepancyReportStatus":{ 7483 "shape":"TestSetDiscrepancyReportStatus", 7484 "documentation":"<p>The status for the test set discrepancy report.</p>" 7485 }, 7486 "lastUpdatedDataTime":{ 7487 "shape":"Timestamp", 7488 "documentation":"<p>The date and time of the last update for the test set discrepancy report.</p>" 7489 }, 7490 "testSetDiscrepancyTopErrors":{ 7491 "shape":"TestSetDiscrepancyErrors", 7492 "documentation":"<p>The top 200 error results from the test set discrepancy report.</p>" 7493 }, 7494 "testSetDiscrepancyRawOutputUrl":{ 7495 "shape":"PresignedS3Url", 7496 "documentation":"<p>Pre-signed Amazon S3 URL to download the test set discrepancy report.</p>" 7497 }, 7498 "failureReasons":{ 7499 "shape":"FailureReasons", 7500 "documentation":"<p>The failure report for the test set discrepancy report generation action.</p>" 7501 } 7502 } 7503 }, 7504 "DescribeTestSetGenerationRequest":{ 7505 "type":"structure", 7506 "required":["testSetGenerationId"], 7507 "members":{ 7508 "testSetGenerationId":{ 7509 "shape":"Id", 7510 "documentation":"<p>The unique identifier of the test set generation.</p>", 7511 "location":"uri", 7512 "locationName":"testSetGenerationId" 7513 } 7514 } 7515 }, 7516 "DescribeTestSetGenerationResponse":{ 7517 "type":"structure", 7518 "members":{ 7519 "testSetGenerationId":{ 7520 "shape":"Id", 7521 "documentation":"<p>The unique identifier of the test set generation.</p>" 7522 }, 7523 "testSetGenerationStatus":{ 7524 "shape":"TestSetGenerationStatus", 7525 "documentation":"<p>The status for the test set generation.</p>" 7526 }, 7527 "failureReasons":{ 7528 "shape":"FailureReasons", 7529 "documentation":"<p>The reasons the test set generation failed.</p>" 7530 }, 7531 "testSetId":{ 7532 "shape":"Id", 7533 "documentation":"<p>The unique identifier for the test set created for the generated test set.</p>" 7534 }, 7535 "testSetName":{ 7536 "shape":"Name", 7537 "documentation":"<p>The test set name for the generated test set.</p>" 7538 }, 7539 "description":{ 7540 "shape":"Description", 7541 "documentation":"<p>The test set description for the test set generation.</p>" 7542 }, 7543 "storageLocation":{ 7544 "shape":"TestSetStorageLocation", 7545 "documentation":"<p>The Amazon S3 storage location for the test set generation.</p>" 7546 }, 7547 "generationDataSource":{ 7548 "shape":"TestSetGenerationDataSource", 7549 "documentation":"<p>The data source of the test set used for the test set generation.</p>" 7550 }, 7551 "roleArn":{ 7552 "shape":"RoleArn", 7553 "documentation":"<p> The roleARN of the test set used for the test set generation.</p>" 7554 }, 7555 "creationDateTime":{ 7556 "shape":"Timestamp", 7557 "documentation":"<p>The creation date and time for the test set generation.</p>" 7558 }, 7559 "lastUpdatedDateTime":{ 7560 "shape":"Timestamp", 7561 "documentation":"<p>The date and time of the last update for the test set generation.</p>" 7562 } 7563 } 7564 }, 7565 "DescribeTestSetRequest":{ 7566 "type":"structure", 7567 "required":["testSetId"], 7568 "members":{ 7569 "testSetId":{ 7570 "shape":"Id", 7571 "documentation":"<p>The test set Id for the test set request.</p>", 7572 "location":"uri", 7573 "locationName":"testSetId" 7574 } 7575 } 7576 }, 7577 "DescribeTestSetResponse":{ 7578 "type":"structure", 7579 "members":{ 7580 "testSetId":{ 7581 "shape":"Id", 7582 "documentation":"<p>The test set Id for the test set response.</p>" 7583 }, 7584 "testSetName":{ 7585 "shape":"Name", 7586 "documentation":"<p>The test set name of the test set.</p>" 7587 }, 7588 "description":{ 7589 "shape":"Description", 7590 "documentation":"<p>The description of the test set.</p>" 7591 }, 7592 "modality":{ 7593 "shape":"TestSetModality", 7594 "documentation":"<p>Indicates whether the test set is audio or text data.</p>" 7595 }, 7596 "status":{ 7597 "shape":"TestSetStatus", 7598 "documentation":"<p>The status of the test set.</p>" 7599 }, 7600 "roleArn":{ 7601 "shape":"RoleArn", 7602 "documentation":"<p>The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.</p>" 7603 }, 7604 "numTurns":{ 7605 "shape":"Count", 7606 "documentation":"<p>The total number of agent and user turn in the test set.</p>" 7607 }, 7608 "storageLocation":{ 7609 "shape":"TestSetStorageLocation", 7610 "documentation":"<p>The Amazon S3 storage location for the test set data.</p>" 7611 }, 7612 "creationDateTime":{ 7613 "shape":"Timestamp", 7614 "documentation":"<p>The creation date and time for the test set data.</p>" 7615 }, 7616 "lastUpdatedDateTime":{ 7617 "shape":"Timestamp", 7618 "documentation":"<p>The date and time for the last update of the test set data.</p>" 7619 } 7620 } 7621 }, 7622 "Description":{ 7623 "type":"string", 7624 "max":200, 7625 "min":0 7626 }, 7627 "DescriptiveBotBuilderSpecification":{ 7628 "type":"structure", 7629 "required":["enabled"], 7630 "members":{ 7631 "enabled":{ 7632 "shape":"Boolean", 7633 "documentation":"<p>Specifies whether the descriptive bot building feature is activated or not.</p>" 7634 }, 7635 "bedrockModelSpecification":{ 7636 "shape":"BedrockModelSpecification", 7637 "documentation":"<p>An object containing information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.</p>" 7638 } 7639 }, 7640 "documentation":"<p>Contains specifications for the descriptive bot building feature.</p>" 7641 }, 7642 "DialogAction":{ 7643 "type":"structure", 7644 "required":["type"], 7645 "members":{ 7646 "type":{ 7647 "shape":"DialogActionType", 7648 "documentation":"<p>The action that the bot should execute. </p>" 7649 }, 7650 "slotToElicit":{ 7651 "shape":"Name", 7652 "documentation":"<p>If the dialog action is <code>ElicitSlot</code>, defines the slot to elicit from the user.</p>" 7653 }, 7654 "suppressNextMessage":{ 7655 "shape":"BoxedBoolean", 7656 "documentation":"<p>When true the next message for the intent is not used.</p>" 7657 } 7658 }, 7659 "documentation":"<p>Defines the action that the bot executes at runtime when the conversation reaches this step.</p>" 7660 }, 7661 "DialogActionType":{ 7662 "type":"string", 7663 "enum":[ 7664 "ElicitIntent", 7665 "StartIntent", 7666 "ElicitSlot", 7667 "EvaluateConditional", 7668 "InvokeDialogCodeHook", 7669 "ConfirmIntent", 7670 "FulfillIntent", 7671 "CloseIntent", 7672 "EndConversation" 7673 ] 7674 }, 7675 "DialogCodeHookInvocationSetting":{ 7676 "type":"structure", 7677 "required":[ 7678 "enableCodeHookInvocation", 7679 "active", 7680 "postCodeHookSpecification" 7681 ], 7682 "members":{ 7683 "enableCodeHookInvocation":{ 7684 "shape":"BoxedBoolean", 7685 "documentation":"<p>Indicates whether a Lambda function should be invoked for the dialog.</p>" 7686 }, 7687 "active":{ 7688 "shape":"BoxedBoolean", 7689 "documentation":"<p>Determines whether a dialog code hook is used when the intent is activated.</p>" 7690 }, 7691 "invocationLabel":{ 7692 "shape":"Name", 7693 "documentation":"<p>A label that indicates the dialog step from which the dialog code hook is happening.</p>" 7694 }, 7695 "postCodeHookSpecification":{ 7696 "shape":"PostDialogCodeHookInvocationSpecification", 7697 "documentation":"<p>Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.</p>" 7698 } 7699 }, 7700 "documentation":"<p>Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation. </p>" 7701 }, 7702 "DialogCodeHookSettings":{ 7703 "type":"structure", 7704 "required":["enabled"], 7705 "members":{ 7706 "enabled":{ 7707 "shape":"Boolean", 7708 "documentation":"<p>Enables the dialog code hook so that it processes user requests.</p>" 7709 } 7710 }, 7711 "documentation":"<p>Settings that determine the Lambda function that Amazon Lex uses for processing user responses.</p>" 7712 }, 7713 "DialogState":{ 7714 "type":"structure", 7715 "members":{ 7716 "dialogAction":{"shape":"DialogAction"}, 7717 "intent":{"shape":"IntentOverride"}, 7718 "sessionAttributes":{ 7719 "shape":"StringMap", 7720 "documentation":"<p>Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.</p>" 7721 } 7722 }, 7723 "documentation":"<p>The current state of the conversation with the user.</p>" 7724 }, 7725 "DraftBotVersion":{ 7726 "type":"string", 7727 "max":5, 7728 "min":5, 7729 "pattern":"^DRAFT$" 7730 }, 7731 "Effect":{ 7732 "type":"string", 7733 "enum":[ 7734 "Allow", 7735 "Deny" 7736 ] 7737 }, 7738 "ElicitationCodeHookInvocationSetting":{ 7739 "type":"structure", 7740 "required":["enableCodeHookInvocation"], 7741 "members":{ 7742 "enableCodeHookInvocation":{ 7743 "shape":"BoxedBoolean", 7744 "documentation":"<p>Indicates whether a Lambda function should be invoked for the dialog.</p>" 7745 }, 7746 "invocationLabel":{ 7747 "shape":"Name", 7748 "documentation":"<p>A label that indicates the dialog step from which the dialog code hook is happening.</p>" 7749 } 7750 }, 7751 "documentation":"<p>Settings that specify the dialog code hook that is called by Amazon Lex between eliciting slot values.</p>" 7752 }, 7753 "Enabled":{"type":"boolean"}, 7754 "EncryptionSetting":{ 7755 "type":"structure", 7756 "members":{ 7757 "kmsKeyArn":{ 7758 "shape":"KmsKeyArn", 7759 "documentation":"<p>The KMS key ARN used to encrypt the metadata associated with the bot recommendation.</p>" 7760 }, 7761 "botLocaleExportPassword":{ 7762 "shape":"FilePassword", 7763 "documentation":"<p>The password used to encrypt the recommended bot recommendation file.</p>" 7764 }, 7765 "associatedTranscriptsPassword":{ 7766 "shape":"FilePassword", 7767 "documentation":"<p>The password used to encrypt the associated transcript file.</p>" 7768 } 7769 }, 7770 "documentation":"<p>The object representing the passwords that were used to encrypt the data related to the bot recommendation, as well as the KMS key ARN used to encrypt the associated metadata.</p>" 7771 }, 7772 "ErrorCode":{ 7773 "type":"string", 7774 "enum":[ 7775 "DUPLICATE_INPUT", 7776 "RESOURCE_DOES_NOT_EXIST", 7777 "RESOURCE_ALREADY_EXISTS", 7778 "INTERNAL_SERVER_FAILURE" 7779 ] 7780 }, 7781 "ErrorMessage":{"type":"string"}, 7782 "ExceptionMessage":{"type":"string"}, 7783 "ExecutionErrorDetails":{ 7784 "type":"structure", 7785 "required":[ 7786 "errorCode", 7787 "errorMessage" 7788 ], 7789 "members":{ 7790 "errorCode":{ 7791 "shape":"NonEmptyString", 7792 "documentation":"<p>The error code for the error.</p>" 7793 }, 7794 "errorMessage":{ 7795 "shape":"NonEmptyString", 7796 "documentation":"<p>The message describing the error.</p>" 7797 } 7798 }, 7799 "documentation":"<p>Details about an error in an execution of a test set.</p>" 7800 }, 7801 "ExportFilter":{ 7802 "type":"structure", 7803 "required":[ 7804 "name", 7805 "values", 7806 "operator" 7807 ], 7808 "members":{ 7809 "name":{ 7810 "shape":"ExportFilterName", 7811 "documentation":"<p>The name of the field to use for filtering.</p>" 7812 }, 7813 "values":{ 7814 "shape":"FilterValues", 7815 "documentation":"<p>The values to use to filter the response. The values must be <code>Bot</code>, <code>BotLocale</code>, or <code>CustomVocabulary</code>.</p>" 7816 }, 7817 "operator":{ 7818 "shape":"ExportFilterOperator", 7819 "documentation":"<p>The operator to use for the filter. Specify EQ when the <code>ListExports</code> operation should return only resource types that equal the specified value. Specify CO when the <code>ListExports</code> operation should return resource types that contain the specified value.</p>" 7820 } 7821 }, 7822 "documentation":"<p>Filters the response form the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListExports.html\">ListExports</a> operation</p>" 7823 }, 7824 "ExportFilterName":{ 7825 "type":"string", 7826 "enum":["ExportResourceType"] 7827 }, 7828 "ExportFilterOperator":{ 7829 "type":"string", 7830 "enum":[ 7831 "CO", 7832 "EQ" 7833 ] 7834 }, 7835 "ExportFilters":{ 7836 "type":"list", 7837 "member":{"shape":"ExportFilter"}, 7838 "max":1, 7839 "min":1 7840 }, 7841 "ExportResourceSpecification":{ 7842 "type":"structure", 7843 "members":{ 7844 "botExportSpecification":{ 7845 "shape":"BotExportSpecification", 7846 "documentation":"<p>Parameters for exporting a bot.</p>" 7847 }, 7848 "botLocaleExportSpecification":{ 7849 "shape":"BotLocaleExportSpecification", 7850 "documentation":"<p>Parameters for exporting a bot locale.</p>" 7851 }, 7852 "customVocabularyExportSpecification":{ 7853 "shape":"CustomVocabularyExportSpecification", 7854 "documentation":"<p>The parameters required to export a custom vocabulary.</p>" 7855 }, 7856 "testSetExportSpecification":{ 7857 "shape":"TestSetExportSpecification", 7858 "documentation":"<p>Specifications for the test set that is exported as a resource.</p>" 7859 } 7860 }, 7861 "documentation":"<p>Provides information about the bot or bot locale that you want to export. You can specify the <code>botExportSpecification</code> or the <code>botLocaleExportSpecification</code>, but not both.</p>" 7862 }, 7863 "ExportSortAttribute":{ 7864 "type":"string", 7865 "enum":["LastUpdatedDateTime"] 7866 }, 7867 "ExportSortBy":{ 7868 "type":"structure", 7869 "required":[ 7870 "attribute", 7871 "order" 7872 ], 7873 "members":{ 7874 "attribute":{ 7875 "shape":"ExportSortAttribute", 7876 "documentation":"<p>The export field to use for sorting.</p>" 7877 }, 7878 "order":{ 7879 "shape":"SortOrder", 7880 "documentation":"<p>The order to sort the list.</p>" 7881 } 7882 }, 7883 "documentation":"<p>Provides information about sorting a list of exports.</p>" 7884 }, 7885 "ExportStatus":{ 7886 "type":"string", 7887 "enum":[ 7888 "InProgress", 7889 "Completed", 7890 "Failed", 7891 "Deleting" 7892 ] 7893 }, 7894 "ExportSummary":{ 7895 "type":"structure", 7896 "members":{ 7897 "exportId":{ 7898 "shape":"Id", 7899 "documentation":"<p>The unique identifier that Amazon Lex assigned to the export.</p>" 7900 }, 7901 "resourceSpecification":{ 7902 "shape":"ExportResourceSpecification", 7903 "documentation":"<p>Information about the bot or bot locale that was exported.</p>" 7904 }, 7905 "fileFormat":{ 7906 "shape":"ImportExportFileFormat", 7907 "documentation":"<p>The file format used in the export files.</p>" 7908 }, 7909 "exportStatus":{ 7910 "shape":"ExportStatus", 7911 "documentation":"<p>The status of the export. When the status is <code>Completed</code> the export is ready to download.</p>" 7912 }, 7913 "creationDateTime":{ 7914 "shape":"Timestamp", 7915 "documentation":"<p>The date and time that the export was created.</p>" 7916 }, 7917 "lastUpdatedDateTime":{ 7918 "shape":"Timestamp", 7919 "documentation":"<p>The date and time that the export was last updated.</p>" 7920 } 7921 }, 7922 "documentation":"<p>Provides summary information about an export in an export list. </p>" 7923 }, 7924 "ExportSummaryList":{ 7925 "type":"list", 7926 "member":{"shape":"ExportSummary"} 7927 }, 7928 "ExternalSourceSetting":{ 7929 "type":"structure", 7930 "members":{ 7931 "grammarSlotTypeSetting":{ 7932 "shape":"GrammarSlotTypeSetting", 7933 "documentation":"<p>Settings required for a slot type based on a grammar that you provide.</p>" 7934 } 7935 }, 7936 "documentation":"<p>Provides information about the external source of the slot type's definition.</p>" 7937 }, 7938 "FailedCustomVocabularyItem":{ 7939 "type":"structure", 7940 "members":{ 7941 "itemId":{ 7942 "shape":"ItemId", 7943 "documentation":"<p>The unique item identifer for the failed custom vocabulary item from the custom vocabulary list.</p>" 7944 }, 7945 "errorMessage":{ 7946 "shape":"ErrorMessage", 7947 "documentation":"<p>The error message for the failed custom vocabulary item from the custom vocabulary list.</p>" 7948 }, 7949 "errorCode":{ 7950 "shape":"ErrorCode", 7951 "documentation":"<p>The unique error code for the failed custom vocabulary item from the custom vocabulary list.</p>" 7952 } 7953 }, 7954 "documentation":"<p>The unique failed custom vocabulary item from the custom vocabulary list.</p>" 7955 }, 7956 "FailedCustomVocabularyItems":{ 7957 "type":"list", 7958 "member":{"shape":"FailedCustomVocabularyItem"} 7959 }, 7960 "FailureReason":{"type":"string"}, 7961 "FailureReasons":{ 7962 "type":"list", 7963 "member":{"shape":"FailureReason"} 7964 }, 7965 "FilePassword":{ 7966 "type":"string", 7967 "max":1024, 7968 "min":0, 7969 "sensitive":true 7970 }, 7971 "FilterValue":{ 7972 "type":"string", 7973 "max":100, 7974 "min":1, 7975 "pattern":"^[0-9a-zA-Z_()\\s-]+$" 7976 }, 7977 "FilterValues":{ 7978 "type":"list", 7979 "member":{"shape":"FilterValue"}, 7980 "max":1, 7981 "min":1 7982 }, 7983 "FulfillmentCodeHookSettings":{ 7984 "type":"structure", 7985 "required":["enabled"], 7986 "members":{ 7987 "enabled":{ 7988 "shape":"Boolean", 7989 "documentation":"<p>Indicates whether a Lambda function should be invoked to fulfill a specific intent.</p>" 7990 }, 7991 "postFulfillmentStatusSpecification":{ 7992 "shape":"PostFulfillmentStatusSpecification", 7993 "documentation":"<p>Provides settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations.</p>" 7994 }, 7995 "fulfillmentUpdatesSpecification":{ 7996 "shape":"FulfillmentUpdatesSpecification", 7997 "documentation":"<p>Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations.</p>" 7998 }, 7999 "active":{ 8000 "shape":"BoxedBoolean", 8001 "documentation":"<p>Determines whether the fulfillment code hook is used. When <code>active</code> is false, the code hook doesn't run.</p>" 8002 } 8003 }, 8004 "documentation":"<p>Determines if a Lambda function should be invoked for a specific intent.</p>" 8005 }, 8006 "FulfillmentStartResponseDelay":{ 8007 "type":"integer", 8008 "max":900, 8009 "min":1 8010 }, 8011 "FulfillmentStartResponseSpecification":{ 8012 "type":"structure", 8013 "required":[ 8014 "delayInSeconds", 8015 "messageGroups" 8016 ], 8017 "members":{ 8018 "delayInSeconds":{ 8019 "shape":"FulfillmentStartResponseDelay", 8020 "documentation":"<p>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.</p>" 8021 }, 8022 "messageGroups":{ 8023 "shape":"MessageGroupsList", 8024 "documentation":"<p>1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.</p>" 8025 }, 8026 "allowInterrupt":{ 8027 "shape":"BoxedBoolean", 8028 "documentation":"<p>Determines whether the user can interrupt the start message while it is playing.</p>" 8029 } 8030 }, 8031 "documentation":"<p>Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running.</p>" 8032 }, 8033 "FulfillmentTimeout":{ 8034 "type":"integer", 8035 "max":900, 8036 "min":1 8037 }, 8038 "FulfillmentUpdateResponseFrequency":{ 8039 "type":"integer", 8040 "max":900, 8041 "min":1 8042 }, 8043 "FulfillmentUpdateResponseSpecification":{ 8044 "type":"structure", 8045 "required":[ 8046 "frequencyInSeconds", 8047 "messageGroups" 8048 ], 8049 "members":{ 8050 "frequencyInSeconds":{ 8051 "shape":"FulfillmentUpdateResponseFrequency", 8052 "documentation":"<p>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.</p>" 8053 }, 8054 "messageGroups":{ 8055 "shape":"MessageGroupsList", 8056 "documentation":"<p>1 - 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.</p>" 8057 }, 8058 "allowInterrupt":{ 8059 "shape":"BoxedBoolean", 8060 "documentation":"<p>Determines whether the user can interrupt an update message while it is playing.</p>" 8061 } 8062 }, 8063 "documentation":"<p>Provides settings for a message that is sent periodically to the user while a fulfillment Lambda function is running.</p>" 8064 }, 8065 "FulfillmentUpdatesSpecification":{ 8066 "type":"structure", 8067 "required":["active"], 8068 "members":{ 8069 "active":{ 8070 "shape":"BoxedBoolean", 8071 "documentation":"<p>Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent.</p> <p>If the <code>active</code> field is set to true, the <code>startResponse</code>, <code>updateResponse</code>, and <code>timeoutInSeconds</code> fields are required.</p>" 8072 }, 8073 "startResponse":{ 8074 "shape":"FulfillmentStartResponseSpecification", 8075 "documentation":"<p>Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.</p>" 8076 }, 8077 "updateResponse":{ 8078 "shape":"FulfillmentUpdateResponseSpecification", 8079 "documentation":"<p>Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.</p>" 8080 }, 8081 "timeoutInSeconds":{ 8082 "shape":"FulfillmentTimeout", 8083 "documentation":"<p>The length of time that the fulfillment Lambda function should run before it times out.</p>" 8084 } 8085 }, 8086 "documentation":"<p>Provides information for updating the user on the progress of fulfilling an intent.</p>" 8087 }, 8088 "GenerateBotElementRequest":{ 8089 "type":"structure", 8090 "required":[ 8091 "intentId", 8092 "botId", 8093 "botVersion", 8094 "localeId" 8095 ], 8096 "members":{ 8097 "intentId":{ 8098 "shape":"Id", 8099 "documentation":"<p>The intent unique Id for the bot request to generate utterances.</p>" 8100 }, 8101 "botId":{ 8102 "shape":"Id", 8103 "documentation":"<p>The bot unique Id for the bot request to generate utterances.</p>", 8104 "location":"uri", 8105 "locationName":"botId" 8106 }, 8107 "botVersion":{ 8108 "shape":"BotVersion", 8109 "documentation":"<p>The bot version for the bot request to generate utterances.</p>", 8110 "location":"uri", 8111 "locationName":"botVersion" 8112 }, 8113 "localeId":{ 8114 "shape":"LocaleId", 8115 "documentation":"<p>The unique locale Id for the bot request to generate utterances.</p>", 8116 "location":"uri", 8117 "locationName":"localeId" 8118 } 8119 } 8120 }, 8121 "GenerateBotElementResponse":{ 8122 "type":"structure", 8123 "members":{ 8124 "botId":{ 8125 "shape":"Id", 8126 "documentation":"<p>The unique bot Id for the bot which received the response.</p>" 8127 }, 8128 "botVersion":{ 8129 "shape":"DraftBotVersion", 8130 "documentation":"<p>The unique bot version for the bot which received the response.</p>" 8131 }, 8132 "localeId":{ 8133 "shape":"LocaleId", 8134 "documentation":"<p>The unique locale Id for the bot which received the response.</p>" 8135 }, 8136 "intentId":{ 8137 "shape":"Id", 8138 "documentation":"<p>The unique intent Id for the bot which received the response.</p>" 8139 }, 8140 "sampleUtterances":{ 8141 "shape":"SampleUtterancesList", 8142 "documentation":"<p>The sample utterances for the bot which received the response.</p>" 8143 } 8144 } 8145 }, 8146 "GenerationInput":{ 8147 "type":"string", 8148 "max":2000, 8149 "min":100 8150 }, 8151 "GenerationSortBy":{ 8152 "type":"structure", 8153 "required":[ 8154 "attribute", 8155 "order" 8156 ], 8157 "members":{ 8158 "attribute":{ 8159 "shape":"GenerationSortByAttribute", 8160 "documentation":"<p>The attribute by which to sort the generation request information. You can sort by the following attributes.</p> <ul> <li> <p> <code>creationStartTime</code> – The time at which the generation request was created.</p> </li> <li> <p> <code>lastUpdatedTime</code> – The time at which the generation request was last updated.</p> </li> </ul>" 8161 }, 8162 "order":{ 8163 "shape":"SortOrder", 8164 "documentation":"<p>The order by which to sort the generation request information.</p>" 8165 } 8166 }, 8167 "documentation":"<p>Specifies the attribute and method by which to sort the generation request information.</p>" 8168 }, 8169 "GenerationSortByAttribute":{ 8170 "type":"string", 8171 "enum":[ 8172 "creationStartTime", 8173 "lastUpdatedTime" 8174 ] 8175 }, 8176 "GenerationStatus":{ 8177 "type":"string", 8178 "enum":[ 8179 "Failed", 8180 "Complete", 8181 "InProgress" 8182 ] 8183 }, 8184 "GenerationSummary":{ 8185 "type":"structure", 8186 "members":{ 8187 "generationId":{ 8188 "shape":"Id", 8189 "documentation":"<p>The unique identifier of the generation request.</p>" 8190 }, 8191 "generationStatus":{ 8192 "shape":"GenerationStatus", 8193 "documentation":"<p>The status of the generation request.</p>" 8194 }, 8195 "creationDateTime":{ 8196 "shape":"Timestamp", 8197 "documentation":"<p>The date and time at which the generation request was made.</p>" 8198 }, 8199 "lastUpdatedDateTime":{ 8200 "shape":"Timestamp", 8201 "documentation":"<p>The date and time at which the generation request was last updated.</p>" 8202 } 8203 }, 8204 "documentation":"<p>Contains information about a generation request made for the bot locale.</p>" 8205 }, 8206 "GenerationSummaryList":{ 8207 "type":"list", 8208 "member":{"shape":"GenerationSummary"} 8209 }, 8210 "GenerativeAISettings":{ 8211 "type":"structure", 8212 "members":{ 8213 "runtimeSettings":{"shape":"RuntimeSettings"}, 8214 "buildtimeSettings":{"shape":"BuildtimeSettings"} 8215 }, 8216 "documentation":"<p>Contains specifications about the generative AI capabilities from Amazon Bedrock that you can turn on for your bot.</p>" 8217 }, 8218 "GetTestExecutionArtifactsUrlRequest":{ 8219 "type":"structure", 8220 "required":["testExecutionId"], 8221 "members":{ 8222 "testExecutionId":{ 8223 "shape":"Id", 8224 "documentation":"<p>The unique identifier of the completed test execution.</p>", 8225 "location":"uri", 8226 "locationName":"testExecutionId" 8227 } 8228 } 8229 }, 8230 "GetTestExecutionArtifactsUrlResponse":{ 8231 "type":"structure", 8232 "members":{ 8233 "testExecutionId":{ 8234 "shape":"Id", 8235 "documentation":"<p>The unique identifier of the completed test execution.</p>" 8236 }, 8237 "downloadArtifactsUrl":{ 8238 "shape":"PresignedS3Url", 8239 "documentation":"<p>The pre-signed Amazon S3 URL to download completed test execution.</p>" 8240 } 8241 } 8242 }, 8243 "GrammarSlotTypeSetting":{ 8244 "type":"structure", 8245 "members":{ 8246 "source":{ 8247 "shape":"GrammarSlotTypeSource", 8248 "documentation":"<p>The source of the grammar used to create the slot type.</p>" 8249 } 8250 }, 8251 "documentation":"<p>Settings requried for a slot type based on a grammar that you provide.</p>" 8252 }, 8253 "GrammarSlotTypeSource":{ 8254 "type":"structure", 8255 "required":[ 8256 "s3BucketName", 8257 "s3ObjectKey" 8258 ], 8259 "members":{ 8260 "s3BucketName":{ 8261 "shape":"S3BucketName", 8262 "documentation":"<p>The name of the Amazon S3 bucket that contains the grammar source.</p>" 8263 }, 8264 "s3ObjectKey":{ 8265 "shape":"S3ObjectPath", 8266 "documentation":"<p>The path to the grammar in the Amazon S3 bucket.</p>" 8267 }, 8268 "kmsKeyArn":{ 8269 "shape":"KmsKeyArn", 8270 "documentation":"<p>The KMS key required to decrypt the contents of the grammar, if any.</p>" 8271 } 8272 }, 8273 "documentation":"<p>Describes the Amazon S3 bucket name and location for the grammar that is the source for the slot type.</p>" 8274 }, 8275 "HitCount":{"type":"integer"}, 8276 "Id":{ 8277 "type":"string", 8278 "max":10, 8279 "min":10, 8280 "pattern":"^[0-9a-zA-Z]+$" 8281 }, 8282 "ImageResponseCard":{ 8283 "type":"structure", 8284 "required":["title"], 8285 "members":{ 8286 "title":{ 8287 "shape":"AttachmentTitle", 8288 "documentation":"<p>The title to display on the response card. The format of the title is determined by the platform displaying the response card.</p>" 8289 }, 8290 "subtitle":{ 8291 "shape":"AttachmentTitle", 8292 "documentation":"<p>The subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.</p>" 8293 }, 8294 "imageUrl":{ 8295 "shape":"AttachmentUrl", 8296 "documentation":"<p>The URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.</p>" 8297 }, 8298 "buttons":{ 8299 "shape":"ButtonsList", 8300 "documentation":"<p>A list of buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button.</p>" 8301 } 8302 }, 8303 "documentation":"<p>A card that is shown to the user by a messaging platform. You define the contents of the card, the card is displayed by the platform. </p> <p>When you use a response card, the response from the user is constrained to the text associated with a button on the card.</p>" 8304 }, 8305 "ImportExportFileFormat":{ 8306 "type":"string", 8307 "enum":[ 8308 "LexJson", 8309 "TSV", 8310 "CSV" 8311 ] 8312 }, 8313 "ImportExportFilePassword":{ 8314 "type":"string", 8315 "max":1024, 8316 "min":1, 8317 "sensitive":true 8318 }, 8319 "ImportFilter":{ 8320 "type":"structure", 8321 "required":[ 8322 "name", 8323 "values", 8324 "operator" 8325 ], 8326 "members":{ 8327 "name":{ 8328 "shape":"ImportFilterName", 8329 "documentation":"<p>The name of the field to use for filtering.</p>" 8330 }, 8331 "values":{ 8332 "shape":"FilterValues", 8333 "documentation":"<p>The values to use to filter the response. The values must be <code>Bot</code>, <code>BotLocale</code>, or <code>CustomVocabulary</code>.</p>" 8334 }, 8335 "operator":{ 8336 "shape":"ImportFilterOperator", 8337 "documentation":"<p>The operator to use for the filter. Specify EQ when the <code>ListImports</code> operation should return only resource types that equal the specified value. Specify CO when the <code>ListImports</code> operation should return resource types that contain the specified value.</p>" 8338 } 8339 }, 8340 "documentation":"<p>Filters the response from the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListImports.html\">ListImports</a> operation.</p>" 8341 }, 8342 "ImportFilterName":{ 8343 "type":"string", 8344 "enum":["ImportResourceType"] 8345 }, 8346 "ImportFilterOperator":{ 8347 "type":"string", 8348 "enum":[ 8349 "CO", 8350 "EQ" 8351 ] 8352 }, 8353 "ImportFilters":{ 8354 "type":"list", 8355 "member":{"shape":"ImportFilter"}, 8356 "max":1, 8357 "min":1 8358 }, 8359 "ImportResourceSpecification":{ 8360 "type":"structure", 8361 "members":{ 8362 "botImportSpecification":{ 8363 "shape":"BotImportSpecification", 8364 "documentation":"<p>Parameters for importing a bot.</p>" 8365 }, 8366 "botLocaleImportSpecification":{ 8367 "shape":"BotLocaleImportSpecification", 8368 "documentation":"<p>Parameters for importing a bot locale.</p>" 8369 }, 8370 "customVocabularyImportSpecification":{"shape":"CustomVocabularyImportSpecification"}, 8371 "testSetImportResourceSpecification":{ 8372 "shape":"TestSetImportResourceSpecification", 8373 "documentation":"<p>Specifications for the test set that is imported.</p>" 8374 } 8375 }, 8376 "documentation":"<p>Provides information about the bot or bot locale that you want to import. You can specify the <code>botImportSpecification</code> or the <code>botLocaleImportSpecification</code>, but not both.</p>" 8377 }, 8378 "ImportResourceType":{ 8379 "type":"string", 8380 "enum":[ 8381 "Bot", 8382 "BotLocale", 8383 "CustomVocabulary", 8384 "TestSet" 8385 ] 8386 }, 8387 "ImportSortAttribute":{ 8388 "type":"string", 8389 "enum":["LastUpdatedDateTime"] 8390 }, 8391 "ImportSortBy":{ 8392 "type":"structure", 8393 "required":[ 8394 "attribute", 8395 "order" 8396 ], 8397 "members":{ 8398 "attribute":{ 8399 "shape":"ImportSortAttribute", 8400 "documentation":"<p>The export field to use for sorting.</p>" 8401 }, 8402 "order":{ 8403 "shape":"SortOrder", 8404 "documentation":"<p>The order to sort the list.</p>" 8405 } 8406 }, 8407 "documentation":"<p>Provides information for sorting a list of imports.</p>" 8408 }, 8409 "ImportStatus":{ 8410 "type":"string", 8411 "enum":[ 8412 "InProgress", 8413 "Completed", 8414 "Failed", 8415 "Deleting" 8416 ] 8417 }, 8418 "ImportSummary":{ 8419 "type":"structure", 8420 "members":{ 8421 "importId":{ 8422 "shape":"Id", 8423 "documentation":"<p>The unique identifier that Amazon Lex assigned to the import.</p>" 8424 }, 8425 "importedResourceId":{ 8426 "shape":"ImportedResourceId", 8427 "documentation":"<p>The unique identifier that Amazon Lex assigned to the imported resource.</p>" 8428 }, 8429 "importedResourceName":{ 8430 "shape":"Name", 8431 "documentation":"<p>The name that you gave the imported resource.</p>" 8432 }, 8433 "importStatus":{ 8434 "shape":"ImportStatus", 8435 "documentation":"<p>The status of the resource. When the status is <code>Completed</code> the resource is ready to build.</p>" 8436 }, 8437 "mergeStrategy":{ 8438 "shape":"MergeStrategy", 8439 "documentation":"<p>The strategy used to merge existing bot or bot locale definitions with the imported definition.</p>" 8440 }, 8441 "creationDateTime":{ 8442 "shape":"Timestamp", 8443 "documentation":"<p>The date and time that the import was created.</p>" 8444 }, 8445 "lastUpdatedDateTime":{ 8446 "shape":"Timestamp", 8447 "documentation":"<p>The date and time that the import was last updated.</p>" 8448 }, 8449 "importedResourceType":{ 8450 "shape":"ImportResourceType", 8451 "documentation":"<p>The type of resource that was imported.</p>" 8452 } 8453 }, 8454 "documentation":"<p>Provides summary information about an import in an import list.</p>" 8455 }, 8456 "ImportSummaryList":{ 8457 "type":"list", 8458 "member":{"shape":"ImportSummary"} 8459 }, 8460 "ImportedResourceId":{ 8461 "type":"string", 8462 "max":10, 8463 "min":5, 8464 "pattern":"^([0-9a-zA-Z_])+$" 8465 }, 8466 "InitialResponseSetting":{ 8467 "type":"structure", 8468 "members":{ 8469 "initialResponse":{"shape":"ResponseSpecification"}, 8470 "nextStep":{ 8471 "shape":"DialogState", 8472 "documentation":"<p>The next step in the conversation.</p>" 8473 }, 8474 "conditional":{"shape":"ConditionalSpecification"}, 8475 "codeHook":{"shape":"DialogCodeHookInvocationSetting"} 8476 }, 8477 "documentation":"<p>Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.</p>" 8478 }, 8479 "InputContext":{ 8480 "type":"structure", 8481 "required":["name"], 8482 "members":{ 8483 "name":{ 8484 "shape":"Name", 8485 "documentation":"<p>The name of the context.</p>" 8486 } 8487 }, 8488 "documentation":"<p>A context that must be active for an intent to be selected by Amazon Lex.</p>" 8489 }, 8490 "InputContextsList":{ 8491 "type":"list", 8492 "member":{"shape":"InputContext"}, 8493 "max":5, 8494 "min":0 8495 }, 8496 "InputSessionStateSpecification":{ 8497 "type":"structure", 8498 "members":{ 8499 "sessionAttributes":{ 8500 "shape":"StringMap", 8501 "documentation":"<p>Session attributes for the session state.</p>" 8502 }, 8503 "activeContexts":{ 8504 "shape":"ActiveContextList", 8505 "documentation":"<p>Active contexts for the session state.</p>" 8506 }, 8507 "runtimeHints":{ 8508 "shape":"RuntimeHints", 8509 "documentation":"<p>Runtime hints for the session state.</p>" 8510 } 8511 }, 8512 "documentation":"<p>Specifications for the current state of the dialog between the user and the bot in the test set.</p>" 8513 }, 8514 "IntentClassificationTestResultItem":{ 8515 "type":"structure", 8516 "required":[ 8517 "intentName", 8518 "multiTurnConversation", 8519 "resultCounts" 8520 ], 8521 "members":{ 8522 "intentName":{ 8523 "shape":"Name", 8524 "documentation":"<p>The name of the intent.</p>" 8525 }, 8526 "multiTurnConversation":{ 8527 "shape":"Boolean", 8528 "documentation":"<p>Indicates whether the conversation involves multiple turns or not.</p>" 8529 }, 8530 "resultCounts":{ 8531 "shape":"IntentClassificationTestResultItemCounts", 8532 "documentation":"<p>The result of the intent classification test.</p>" 8533 } 8534 }, 8535 "documentation":"<p>Information for an intent that is classified by the test workbench.</p>" 8536 }, 8537 "IntentClassificationTestResultItemCounts":{ 8538 "type":"structure", 8539 "required":[ 8540 "totalResultCount", 8541 "intentMatchResultCounts" 8542 ], 8543 "members":{ 8544 "totalResultCount":{ 8545 "shape":"Count", 8546 "documentation":"<p>The total number of results in the intent classification test.</p>" 8547 }, 8548 "speechTranscriptionResultCounts":{ 8549 "shape":"TestResultMatchStatusCountMap", 8550 "documentation":"<p>The number of matched, mismatched, and execution error results for speech transcription for the intent.</p>" 8551 }, 8552 "intentMatchResultCounts":{ 8553 "shape":"TestResultMatchStatusCountMap", 8554 "documentation":"<p>The number of matched and mismatched results for intent recognition for the intent.</p>" 8555 } 8556 }, 8557 "documentation":"<p>The number of items in the intent classification test.</p>" 8558 }, 8559 "IntentClassificationTestResultItemList":{ 8560 "type":"list", 8561 "member":{"shape":"IntentClassificationTestResultItem"} 8562 }, 8563 "IntentClassificationTestResults":{ 8564 "type":"structure", 8565 "required":["items"], 8566 "members":{ 8567 "items":{ 8568 "shape":"IntentClassificationTestResultItemList", 8569 "documentation":"<p>A list of the results for the intent classification test.</p>" 8570 } 8571 }, 8572 "documentation":"<p>Information for the results of the intent classification test. </p>" 8573 }, 8574 "IntentClosingSetting":{ 8575 "type":"structure", 8576 "members":{ 8577 "closingResponse":{ 8578 "shape":"ResponseSpecification", 8579 "documentation":"<p>The response that Amazon Lex sends to the user when the intent is complete.</p>" 8580 }, 8581 "active":{ 8582 "shape":"BoxedBoolean", 8583 "documentation":"<p>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 <code>active</code> field isn't specified, the default is true.</p>" 8584 }, 8585 "nextStep":{ 8586 "shape":"DialogState", 8587 "documentation":"<p>Specifies the next step that the bot executes after playing the intent's closing response.</p>" 8588 }, 8589 "conditional":{ 8590 "shape":"ConditionalSpecification", 8591 "documentation":"<p>A list of conditional branches associated with the intent's closing response. These branches are executed when the <code>nextStep</code> attribute is set to <code>EvalutateConditional</code>.</p>" 8592 } 8593 }, 8594 "documentation":"<p>Provides a statement the Amazon Lex conveys to the user when the intent is successfully fulfilled.</p>" 8595 }, 8596 "IntentConfirmationSetting":{ 8597 "type":"structure", 8598 "required":["promptSpecification"], 8599 "members":{ 8600 "promptSpecification":{ 8601 "shape":"PromptSpecification", 8602 "documentation":"<p>Prompts the user to confirm the intent. This question should have a yes or no answer.</p> <p>Amazon Lex uses this prompt to ensure that the user acknowledges that the intent is ready for fulfillment. For example, with the <code>OrderPizza</code> intent, you might want to confirm that the order is correct before placing it. For other intents, such as intents that simply respond to user questions, you might not need to ask the user for confirmation before providing the information. </p>" 8603 }, 8604 "declinationResponse":{ 8605 "shape":"ResponseSpecification", 8606 "documentation":"<p>When the user answers \"no\" to the question defined in <code>promptSpecification</code>, Amazon Lex responds with this response to acknowledge that the intent was canceled. </p>" 8607 }, 8608 "active":{ 8609 "shape":"BoxedBoolean", 8610 "documentation":"<p>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 <code>active</code> field isn't specified, the default is true.</p>" 8611 }, 8612 "confirmationResponse":{"shape":"ResponseSpecification"}, 8613 "confirmationNextStep":{ 8614 "shape":"DialogState", 8615 "documentation":"<p>Specifies the next step that the bot executes when the customer confirms the intent.</p>" 8616 }, 8617 "confirmationConditional":{ 8618 "shape":"ConditionalSpecification", 8619 "documentation":"<p>A list of conditional branches to evaluate after the intent is closed.</p>" 8620 }, 8621 "declinationNextStep":{ 8622 "shape":"DialogState", 8623 "documentation":"<p>Specifies the next step that the bot executes when the customer declines the intent.</p>" 8624 }, 8625 "declinationConditional":{ 8626 "shape":"ConditionalSpecification", 8627 "documentation":"<p>A list of conditional branches to evaluate after the intent is declined.</p>" 8628 }, 8629 "failureResponse":{"shape":"ResponseSpecification"}, 8630 "failureNextStep":{ 8631 "shape":"DialogState", 8632 "documentation":"<p>The next step to take in the conversation if the confirmation step fails.</p>" 8633 }, 8634 "failureConditional":{"shape":"ConditionalSpecification"}, 8635 "codeHook":{ 8636 "shape":"DialogCodeHookInvocationSetting", 8637 "documentation":"<p>The <code>DialogCodeHookInvocationSetting</code> 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 <code>InvokeDialogCodeHook</code>. </p>" 8638 }, 8639 "elicitationCodeHook":{ 8640 "shape":"ElicitationCodeHookInvocationSetting", 8641 "documentation":"<p>The <code>DialogCodeHookInvocationSetting</code> used when the code hook is invoked during confirmation prompt retries.</p>" 8642 } 8643 }, 8644 "documentation":"<p>Provides a prompt for making sure that the user is ready for the intent to be fulfilled.</p>" 8645 }, 8646 "IntentFilter":{ 8647 "type":"structure", 8648 "required":[ 8649 "name", 8650 "values", 8651 "operator" 8652 ], 8653 "members":{ 8654 "name":{ 8655 "shape":"IntentFilterName", 8656 "documentation":"<p>The name of the field to use for the filter.</p>" 8657 }, 8658 "values":{ 8659 "shape":"FilterValues", 8660 "documentation":"<p>The value to use for the filter.</p>" 8661 }, 8662 "operator":{ 8663 "shape":"IntentFilterOperator", 8664 "documentation":"<p>The operator to use for the filter. Specify <code>EQ</code> when the <code>ListIntents</code> operation should return only aliases that equal the specified value. Specify <code>CO</code> when the <code>ListIntents</code> operation should return aliases that contain the specified value.</p>" 8665 } 8666 }, 8667 "documentation":"<p>Filters the response from the <code>ListIntents</code> operation.</p>" 8668 }, 8669 "IntentFilterName":{ 8670 "type":"string", 8671 "enum":["IntentName"] 8672 }, 8673 "IntentFilterOperator":{ 8674 "type":"string", 8675 "enum":[ 8676 "CO", 8677 "EQ" 8678 ] 8679 }, 8680 "IntentFilters":{ 8681 "type":"list", 8682 "member":{"shape":"IntentFilter"}, 8683 "max":1, 8684 "min":1 8685 }, 8686 "IntentLevelSlotResolutionTestResultItem":{ 8687 "type":"structure", 8688 "required":[ 8689 "intentName", 8690 "multiTurnConversation", 8691 "slotResolutionResults" 8692 ], 8693 "members":{ 8694 "intentName":{ 8695 "shape":"Name", 8696 "documentation":"<p>The name of the intent that was recognized.</p>" 8697 }, 8698 "multiTurnConversation":{ 8699 "shape":"Boolean", 8700 "documentation":"<p>Indicates whether the conversation involves multiple turns or not.</p>" 8701 }, 8702 "slotResolutionResults":{ 8703 "shape":"SlotResolutionTestResultItems", 8704 "documentation":"<p>The results for the slot resolution in the test execution result.</p>" 8705 } 8706 }, 8707 "documentation":"<p>Information about intent-level slot resolution in a test result.</p>" 8708 }, 8709 "IntentLevelSlotResolutionTestResultItemList":{ 8710 "type":"list", 8711 "member":{"shape":"IntentLevelSlotResolutionTestResultItem"} 8712 }, 8713 "IntentLevelSlotResolutionTestResults":{ 8714 "type":"structure", 8715 "required":["items"], 8716 "members":{ 8717 "items":{ 8718 "shape":"IntentLevelSlotResolutionTestResultItemList", 8719 "documentation":"<p>Indicates the items for the slot level resolution for the intents.</p>" 8720 } 8721 }, 8722 "documentation":"<p>Indicates the success or failure of slots at the intent level.</p>" 8723 }, 8724 "IntentOverride":{ 8725 "type":"structure", 8726 "members":{ 8727 "name":{ 8728 "shape":"Name", 8729 "documentation":"<p>The name of the intent. Only required when you're switching intents.</p>" 8730 }, 8731 "slots":{ 8732 "shape":"SlotValueOverrideMap", 8733 "documentation":"<p>A map of all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden.</p>" 8734 } 8735 }, 8736 "documentation":"<p>Override settings to configure the intent state.</p>" 8737 }, 8738 "IntentSignature":{"type":"string"}, 8739 "IntentSortAttribute":{ 8740 "type":"string", 8741 "enum":[ 8742 "IntentName", 8743 "LastUpdatedDateTime" 8744 ] 8745 }, 8746 "IntentSortBy":{ 8747 "type":"structure", 8748 "required":[ 8749 "attribute", 8750 "order" 8751 ], 8752 "members":{ 8753 "attribute":{ 8754 "shape":"IntentSortAttribute", 8755 "documentation":"<p>The attribute to use to sort the list of intents.</p>" 8756 }, 8757 "order":{ 8758 "shape":"SortOrder", 8759 "documentation":"<p>The order to sort the list. You can choose ascending or descending.</p>" 8760 } 8761 }, 8762 "documentation":"<p>Specifies attributes for sorting a list of intents.</p>" 8763 }, 8764 "IntentState":{ 8765 "type":"string", 8766 "enum":[ 8767 "Failed", 8768 "Fulfilled", 8769 "InProgress", 8770 "ReadyForFulfillment", 8771 "Waiting", 8772 "FulfillmentInProgress" 8773 ] 8774 }, 8775 "IntentStatistics":{ 8776 "type":"structure", 8777 "members":{ 8778 "discoveredIntentCount":{ 8779 "shape":"Count", 8780 "documentation":"<p>The number of recommended intents associated with the bot recommendation.</p>" 8781 } 8782 }, 8783 "documentation":"<p>The object that contains the statistical summary of recommended intents associated with the bot recommendation.</p>" 8784 }, 8785 "IntentSummary":{ 8786 "type":"structure", 8787 "members":{ 8788 "intentId":{ 8789 "shape":"Id", 8790 "documentation":"<p>The unique identifier assigned to the intent. Use this ID to get detailed information about the intent with the <code>DescribeIntent</code> operation.</p>" 8791 }, 8792 "intentName":{ 8793 "shape":"Name", 8794 "documentation":"<p>The name of the intent.</p>" 8795 }, 8796 "description":{ 8797 "shape":"Description", 8798 "documentation":"<p>The description of the intent.</p>" 8799 }, 8800 "parentIntentSignature":{ 8801 "shape":"IntentSignature", 8802 "documentation":"<p>If this intent is derived from a built-in intent, the name of the parent intent.</p>" 8803 }, 8804 "inputContexts":{ 8805 "shape":"InputContextsList", 8806 "documentation":"<p>The input contexts that must be active for this intent to be considered for recognition.</p>" 8807 }, 8808 "outputContexts":{ 8809 "shape":"OutputContextsList", 8810 "documentation":"<p>The output contexts that are activated when this intent is fulfilled.</p>" 8811 }, 8812 "lastUpdatedDateTime":{ 8813 "shape":"Timestamp", 8814 "documentation":"<p>The timestamp of the date and time that the intent was last updated.</p>" 8815 } 8816 }, 8817 "documentation":"<p>Summary information about an intent returned by the <code>ListIntents</code> operation.</p>" 8818 }, 8819 "IntentSummaryList":{ 8820 "type":"list", 8821 "member":{"shape":"IntentSummary"} 8822 }, 8823 "InternalServerException":{ 8824 "type":"structure", 8825 "members":{ 8826 "message":{"shape":"ExceptionMessage"} 8827 }, 8828 "documentation":"<p>The service encountered an unexpected condition. Try your request again.</p>", 8829 "error":{"httpStatusCode":500}, 8830 "exception":true, 8831 "fault":true 8832 }, 8833 "InvokedIntentSample":{ 8834 "type":"structure", 8835 "members":{ 8836 "intentName":{ 8837 "shape":"Name", 8838 "documentation":"<p>The name of an intent that was invoked.</p>" 8839 } 8840 }, 8841 "documentation":"<p>An object containing the name of an intent that was invoked.</p>" 8842 }, 8843 "InvokedIntentSamples":{ 8844 "type":"list", 8845 "member":{"shape":"InvokedIntentSample"} 8846 }, 8847 "ItemId":{ 8848 "type":"string", 8849 "max":32, 8850 "min":1 8851 }, 8852 "KendraConfiguration":{ 8853 "type":"structure", 8854 "required":["kendraIndex"], 8855 "members":{ 8856 "kendraIndex":{ 8857 "shape":"KendraIndexArn", 8858 "documentation":"<p>The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the <code>AMAZON.KendraSearchIntent</code> intent to search. The index must be in the same account and Region as the Amazon Lex bot.</p>" 8859 }, 8860 "queryFilterStringEnabled":{ 8861 "shape":"Boolean", 8862 "documentation":"<p>Determines whether the <code>AMAZON.KendraSearchIntent</code> intent uses a custom query string to query the Amazon Kendra index.</p>" 8863 }, 8864 "queryFilterString":{ 8865 "shape":"QueryFilterString", 8866 "documentation":"<p>A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query. The filter is in the format defined by Amazon Kendra. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/filtering.html\">Filtering queries</a>.</p>" 8867 } 8868 }, 8869 "documentation":"<p>Provides configuration information for the <code>AMAZON.KendraSearchIntent</code> intent. When you use this intent, Amazon Lex searches the specified Amazon Kendra index and returns documents from the index that match the user's utterance.</p>" 8870 }, 8871 "KendraIndexArn":{ 8872 "type":"string", 8873 "max":2048, 8874 "min":32, 8875 "pattern":"^arn:aws:kendra:[a-z]+-[a-z]+-[0-9]:[0-9]{12}:index\\/[a-zA-Z0-9][a-zA-Z0-9_-]*$" 8876 }, 8877 "KmsKeyArn":{ 8878 "type":"string", 8879 "max":2048, 8880 "min":20, 8881 "pattern":"^arn:[\\w\\-]+:kms:[\\w\\-]+:[\\d]{12}:(?:key\\/[\\w\\-]+|alias\\/[a-zA-Z0-9:\\/_\\-]{1,256})$" 8882 }, 8883 "LambdaARN":{ 8884 "type":"string", 8885 "max":2048, 8886 "min":20, 8887 "pattern":"arn:aws:lambda:[a-z]+-[a-z]+-[0-9]:[0-9]{12}:function:[a-zA-Z0-9-_]+(/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?(:[a-zA-Z0-9-_]+)?" 8888 }, 8889 "LambdaCodeHook":{ 8890 "type":"structure", 8891 "required":[ 8892 "lambdaARN", 8893 "codeHookInterfaceVersion" 8894 ], 8895 "members":{ 8896 "lambdaARN":{ 8897 "shape":"LambdaARN", 8898 "documentation":"<p>The Amazon Resource Name (ARN) of the Lambda function.</p>" 8899 }, 8900 "codeHookInterfaceVersion":{ 8901 "shape":"CodeHookInterfaceVersion", 8902 "documentation":"<p>The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.</p>" 8903 } 8904 }, 8905 "documentation":"<p>Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot.</p>" 8906 }, 8907 "LexTranscriptFilter":{ 8908 "type":"structure", 8909 "members":{ 8910 "dateRangeFilter":{ 8911 "shape":"DateRangeFilter", 8912 "documentation":"<p>The object that contains a date range filter that will be applied to the transcript. Specify this object if you want Amazon Lex to only read the files that are within the date range.</p>" 8913 } 8914 }, 8915 "documentation":"<p>The object that contains transcript filter details that are associated with a bot recommendation.</p>" 8916 }, 8917 "ListAggregatedUtterancesRequest":{ 8918 "type":"structure", 8919 "required":[ 8920 "botId", 8921 "localeId", 8922 "aggregationDuration" 8923 ], 8924 "members":{ 8925 "botId":{ 8926 "shape":"Id", 8927 "documentation":"<p>The unique identifier of the bot associated with this request.</p>", 8928 "location":"uri", 8929 "locationName":"botId" 8930 }, 8931 "botAliasId":{ 8932 "shape":"BotAliasId", 8933 "documentation":"<p>The identifier of the bot alias associated with this request. If you specify the bot alias, you can't specify the bot version.</p>" 8934 }, 8935 "botVersion":{ 8936 "shape":"BotVersion", 8937 "documentation":"<p>The identifier of the bot version associated with this request. If you specify the bot version, you can't specify the bot alias.</p>" 8938 }, 8939 "localeId":{ 8940 "shape":"LocaleId", 8941 "documentation":"<p>The identifier of the language and locale where the utterances were collected. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>" 8942 }, 8943 "aggregationDuration":{ 8944 "shape":"UtteranceAggregationDuration", 8945 "documentation":"<p>The time window for aggregating the utterance information. You can specify a time between one hour and two weeks.</p>" 8946 }, 8947 "sortBy":{ 8948 "shape":"AggregatedUtterancesSortBy", 8949 "documentation":"<p>Specifies sorting parameters for the list of utterances. You can sort by the hit count, the missed count, or the number of distinct sessions the utterance appeared in.</p>" 8950 }, 8951 "filters":{ 8952 "shape":"AggregatedUtterancesFilters", 8953 "documentation":"<p>Provides the specification of a filter used to limit the utterances in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.</p>" 8954 }, 8955 "maxResults":{ 8956 "shape":"MaxResults", 8957 "documentation":"<p>The maximum number of utterances to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned. If you don't specify the <code>maxResults</code> parameter, 1,000 results are returned.</p>" 8958 }, 8959 "nextToken":{ 8960 "shape":"NextToken", 8961 "documentation":"<p>If the response from the <code>ListAggregatedUtterances</code> operation contains more results that specified in the <code>maxResults</code> parameter, a token is returned in the response. Use that token in the <code>nextToken</code> parameter to return the next page of results.</p>" 8962 } 8963 } 8964 }, 8965 "ListAggregatedUtterancesResponse":{ 8966 "type":"structure", 8967 "members":{ 8968 "botId":{ 8969 "shape":"Id", 8970 "documentation":"<p>The identifier of the bot that contains the utterances.</p>" 8971 }, 8972 "botAliasId":{ 8973 "shape":"BotAliasId", 8974 "documentation":"<p>The identifier of the bot alias that contains the utterances. If you specified the bot version, the bot alias ID isn't returned.</p>" 8975 }, 8976 "botVersion":{ 8977 "shape":"BotVersion", 8978 "documentation":"<p>The identifier of the bot version that contains the utterances. If you specified the bot alias, the bot version isn't returned.</p>" 8979 }, 8980 "localeId":{ 8981 "shape":"LocaleId", 8982 "documentation":"<p>The identifier of the language and locale that the utterances are in.</p>" 8983 }, 8984 "aggregationDuration":{ 8985 "shape":"UtteranceAggregationDuration", 8986 "documentation":"<p>The time period used to aggregate the utterance data.</p>" 8987 }, 8988 "aggregationWindowStartTime":{ 8989 "shape":"Timestamp", 8990 "documentation":"<p>The date and time that the aggregation window begins. Only data collected after this time is returned in the results.</p>" 8991 }, 8992 "aggregationWindowEndTime":{ 8993 "shape":"Timestamp", 8994 "documentation":"<p>The date and time that the aggregation window ends. Only data collected between the start time and the end time are returned in the results. </p>" 8995 }, 8996 "aggregationLastRefreshedDateTime":{ 8997 "shape":"Timestamp", 8998 "documentation":"<p>The last date and time that the aggregated data was collected. The time period depends on the length of the aggregation window.</p> <ul> <li> <p> <b>Hours</b> - for 1 hour time window, every half hour; otherwise every hour.</p> </li> <li> <p> <b>Days</b> - every 6 hours</p> </li> <li> <p> <b>Weeks</b> - for a one week time window, every 12 hours; otherwise, every day</p> </li> </ul>" 8999 }, 9000 "aggregatedUtterancesSummaries":{ 9001 "shape":"AggregatedUtterancesSummaryList", 9002 "documentation":"<p>Summaries of the aggregated utterance data. Each response contains information about the number of times that the utterance was seen during the time period, whether it was detected or missed, and when it was seen during the time period.</p>" 9003 }, 9004 "nextToken":{ 9005 "shape":"NextToken", 9006 "documentation":"<p>A token that indicates whether there are more results to return in a response to the <code>ListAggregatedUtterances</code> operation. If the <code>nextToken</code> field is present, you send the contents as the <code>nextToken</code> parameter of a <code>ListAggregatedUtterances</code> operation request to get the next page of results.</p>" 9007 } 9008 } 9009 }, 9010 "ListBotAliasReplicasRequest":{ 9011 "type":"structure", 9012 "required":[ 9013 "botId", 9014 "replicaRegion" 9015 ], 9016 "members":{ 9017 "botId":{ 9018 "shape":"Id", 9019 "documentation":"<p>The request for the unique bot ID of the replicated bot created from the source bot alias.</p>", 9020 "location":"uri", 9021 "locationName":"botId" 9022 }, 9023 "replicaRegion":{ 9024 "shape":"ReplicaRegion", 9025 "documentation":"<p>The request for the secondary region of the replicated bot created from the source bot alias.</p>", 9026 "location":"uri", 9027 "locationName":"replicaRegion" 9028 }, 9029 "maxResults":{ 9030 "shape":"MaxResults", 9031 "documentation":"<p>The request for maximum results to list the replicated bots created from the source bot alias.</p>" 9032 }, 9033 "nextToken":{ 9034 "shape":"NextToken", 9035 "documentation":"<p>The request for the next token for the replicated bot created from the source bot alias.</p>" 9036 } 9037 } 9038 }, 9039 "ListBotAliasReplicasResponse":{ 9040 "type":"structure", 9041 "members":{ 9042 "botId":{ 9043 "shape":"Id", 9044 "documentation":"<p>The unique bot ID of the replicated bot created from the source bot alias.</p>" 9045 }, 9046 "sourceRegion":{ 9047 "shape":"ReplicaRegion", 9048 "documentation":"<p>The source region of the replicated bot created from the source bot alias.</p>" 9049 }, 9050 "replicaRegion":{ 9051 "shape":"ReplicaRegion", 9052 "documentation":"<p>The secondary region of the replicated bot created from the source bot alias.</p>" 9053 }, 9054 "botAliasReplicaSummaries":{ 9055 "shape":"BotAliasReplicaSummaryList", 9056 "documentation":"<p>The summary information of the replicated bot created from the source bot alias.</p>" 9057 }, 9058 "nextToken":{ 9059 "shape":"NextToken", 9060 "documentation":"<p>The next token for the replicated bots created from the source bot alias.</p>" 9061 } 9062 } 9063 }, 9064 "ListBotAliasesRequest":{ 9065 "type":"structure", 9066 "required":["botId"], 9067 "members":{ 9068 "botId":{ 9069 "shape":"Id", 9070 "documentation":"<p>The identifier of the bot to list aliases for.</p>", 9071 "location":"uri", 9072 "locationName":"botId" 9073 }, 9074 "maxResults":{ 9075 "shape":"MaxResults", 9076 "documentation":"<p>The maximum number of aliases to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.</p>" 9077 }, 9078 "nextToken":{ 9079 "shape":"NextToken", 9080 "documentation":"<p>If the response from the <code>ListBotAliases</code> operation contains more results than specified in the <code>maxResults</code> parameter, a token is returned in the response. Use that token in the <code>nextToken</code> parameter to return the next page of results.</p>" 9081 } 9082 } 9083 }, 9084 "ListBotAliasesResponse":{ 9085 "type":"structure", 9086 "members":{ 9087 "botAliasSummaries":{ 9088 "shape":"BotAliasSummaryList", 9089 "documentation":"<p>Summary information for the bot aliases that meet the filter criteria specified in the request. The length of the list is specified in the <code>maxResults</code> parameter of the request. If there are more aliases available, the <code>nextToken</code> field contains a token to get the next page of results.</p>" 9090 }, 9091 "nextToken":{ 9092 "shape":"NextToken", 9093 "documentation":"<p>A token that indicates whether there are more results to return in a response to the <code>ListBotAliases</code> operation. If the <code>nextToken</code> field is present, you send the contents as the <code>nextToken</code> parameter of a <code>ListBotAliases</code> operation request to get the next page of results.</p>" 9094 }, 9095 "botId":{ 9096 "shape":"Id", 9097 "documentation":"<p>The identifier of the bot associated with the aliases.</p>" 9098 } 9099 } 9100 }, 9101 "ListBotLocalesRequest":{ 9102 "type":"structure", 9103 "required":[ 9104 "botId", 9105 "botVersion" 9106 ], 9107 "members":{ 9108 "botId":{ 9109 "shape":"Id", 9110 "documentation":"<p>The identifier of the bot to list locales for.</p>", 9111 "location":"uri", 9112 "locationName":"botId" 9113 }, 9114 "botVersion":{ 9115 "shape":"BotVersion", 9116 "documentation":"<p>The version of the bot to list locales for.</p>", 9117 "location":"uri", 9118 "locationName":"botVersion" 9119 }, 9120 "sortBy":{ 9121 "shape":"BotLocaleSortBy", 9122 "documentation":"<p>Specifies sorting parameters for the list of locales. You can sort by locale name in ascending or descending order.</p>" 9123 }, 9124 "filters":{ 9125 "shape":"BotLocaleFilters", 9126 "documentation":"<p>Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.</p>" 9127 }, 9128 "maxResults":{ 9129 "shape":"MaxResults", 9130 "documentation":"<p>The maximum number of aliases to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.</p>" 9131 }, 9132 "nextToken":{ 9133 "shape":"NextToken", 9134 "documentation":"<p>If the response from the <code>ListBotLocales</code> operation contains more results than specified in the <code>maxResults</code> parameter, a token is returned in the response. Use that token as the <code>nextToken</code> parameter to return the next page of results. </p>" 9135 } 9136 } 9137 }, 9138 "ListBotLocalesResponse":{ 9139 "type":"structure", 9140 "members":{ 9141 "botId":{ 9142 "shape":"Id", 9143 "documentation":"<p>The identifier of the bot to list locales for.</p>" 9144 }, 9145 "botVersion":{ 9146 "shape":"BotVersion", 9147 "documentation":"<p>The version of the bot.</p>" 9148 }, 9149 "nextToken":{ 9150 "shape":"NextToken", 9151 "documentation":"<p>A token that indicates whether there are more results to return in a response to the <code>ListBotLocales</code> operation. If the <code>nextToken</code> field is present, you send the contents as the <code>nextToken</code> parameter of a <code>ListBotLocales</code> operation request to get the next page of results.</p>" 9152 }, 9153 "botLocaleSummaries":{ 9154 "shape":"BotLocaleSummaryList", 9155 "documentation":"<p>Summary information for the locales that meet the filter criteria specified in the request. The length of the list is specified in the <code>maxResults</code> parameter of the request. If there are more locales available, the <code>nextToken</code> field contains a token to get the next page of results.</p>" 9156 } 9157 } 9158 }, 9159 "ListBotRecommendationsRequest":{ 9160 "type":"structure", 9161 "required":[ 9162 "botId", 9163 "botVersion", 9164 "localeId" 9165 ], 9166 "members":{ 9167 "botId":{ 9168 "shape":"Id", 9169 "documentation":"<p>The unique identifier of the bot that contains the bot recommendation list.</p>", 9170 "location":"uri", 9171 "locationName":"botId" 9172 }, 9173 "botVersion":{ 9174 "shape":"DraftBotVersion", 9175 "documentation":"<p>The version of the bot that contains the bot recommendation list.</p>", 9176 "location":"uri", 9177 "locationName":"botVersion" 9178 }, 9179 "localeId":{ 9180 "shape":"LocaleId", 9181 "documentation":"<p>The identifier of the language and locale of the bot recommendation list.</p>", 9182 "location":"uri", 9183 "locationName":"localeId" 9184 }, 9185 "maxResults":{ 9186 "shape":"MaxResults", 9187 "documentation":"<p>The maximum number of bot recommendations to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.</p>" 9188 }, 9189 "nextToken":{ 9190 "shape":"NextToken", 9191 "documentation":"<p>If the response from the ListBotRecommendation operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.</p>" 9192 } 9193 } 9194 }, 9195 "ListBotRecommendationsResponse":{ 9196 "type":"structure", 9197 "members":{ 9198 "botId":{ 9199 "shape":"Id", 9200 "documentation":"<p>The unique identifier of the bot that contains the bot recommendation list.</p>" 9201 }, 9202 "botVersion":{ 9203 "shape":"DraftBotVersion", 9204 "documentation":"<p>The version of the bot that contains the bot recommendation list.</p>" 9205 }, 9206 "localeId":{ 9207 "shape":"LocaleId", 9208 "documentation":"<p>The identifier of the language and locale of the bot recommendation list.</p>" 9209 }, 9210 "botRecommendationSummaries":{ 9211 "shape":"BotRecommendationSummaryList", 9212 "documentation":"<p>Summary information for the bot recommendations that meet the filter specified in this request. The length of the list is specified in the maxResults parameter of the request. If there are more bot recommendations available, the nextToken field contains a token to get the next page of results.</p>" 9213 }, 9214 "nextToken":{ 9215 "shape":"NextToken", 9216 "documentation":"<p>A token that indicates whether there are more results to return in a response to the ListBotRecommendations operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListBotRecommendations operation request to get the next page of results. </p>" 9217 } 9218 } 9219 }, 9220 "ListBotReplicasRequest":{ 9221 "type":"structure", 9222 "required":["botId"], 9223 "members":{ 9224 "botId":{ 9225 "shape":"Id", 9226 "documentation":"<p>The request for the unique bot IDs in the list of replicated bots.</p>", 9227 "location":"uri", 9228 "locationName":"botId" 9229 } 9230 } 9231 }, 9232 "ListBotReplicasResponse":{ 9233 "type":"structure", 9234 "members":{ 9235 "botId":{ 9236 "shape":"Id", 9237 "documentation":"<p>the unique bot IDs in the list of replicated bots.</p>" 9238 }, 9239 "sourceRegion":{ 9240 "shape":"ReplicaRegion", 9241 "documentation":"<p>The source region of the source bots in the list of replicated bots.</p>" 9242 }, 9243 "botReplicaSummaries":{ 9244 "shape":"BotReplicaSummaryList", 9245 "documentation":"<p>The summary details for the replicated bots.</p>" 9246 } 9247 } 9248 }, 9249 "ListBotResourceGenerationsRequest":{ 9250 "type":"structure", 9251 "required":[ 9252 "botId", 9253 "botVersion", 9254 "localeId" 9255 ], 9256 "members":{ 9257 "botId":{ 9258 "shape":"Id", 9259 "documentation":"<p>The unique identifier of the bot whose generation requests you want to view.</p>", 9260 "location":"uri", 9261 "locationName":"botId" 9262 }, 9263 "botVersion":{ 9264 "shape":"BotVersion", 9265 "documentation":"<p>The version of the bot whose generation requests you want to view.</p>", 9266 "location":"uri", 9267 "locationName":"botVersion" 9268 }, 9269 "localeId":{ 9270 "shape":"LocaleId", 9271 "documentation":"<p>The locale of the bot whose generation requests you want to view.</p>", 9272 "location":"uri", 9273 "locationName":"localeId" 9274 }, 9275 "sortBy":{ 9276 "shape":"GenerationSortBy", 9277 "documentation":"<p>An object containing information about the attribute and the method by which to sort the results</p>" 9278 }, 9279 "maxResults":{ 9280 "shape":"MaxResults", 9281 "documentation":"<p>The maximum number of results to return in the response.</p>" 9282 }, 9283 "nextToken":{ 9284 "shape":"NextToken", 9285 "documentation":"<p>If the total number of results is greater than the number specified in the <code>maxResults</code>, the response returns a token in the <code>nextToken</code> field. Use this token when making a request to return the next batch of results.</p>" 9286 } 9287 } 9288 }, 9289 "ListBotResourceGenerationsResponse":{ 9290 "type":"structure", 9291 "members":{ 9292 "botId":{ 9293 "shape":"Id", 9294 "documentation":"<p>The unique identifier of the bot for which the generation requests were made.</p>" 9295 }, 9296 "botVersion":{ 9297 "shape":"BotVersion", 9298 "documentation":"<p>The version of the bot for which the generation requests were made.</p>" 9299 }, 9300 "localeId":{ 9301 "shape":"LocaleId", 9302 "documentation":"<p>The locale of the bot for which the generation requests were made.</p>" 9303 }, 9304 "generationSummaries":{ 9305 "shape":"GenerationSummaryList", 9306 "documentation":"<p>A list of objects, each containing information about a generation request for the bot locale.</p>" 9307 }, 9308 "nextToken":{ 9309 "shape":"NextToken", 9310 "documentation":"<p>If the total number of results is greater than the number specified in the <code>maxResults</code>, the response returns a token in the <code>nextToken</code> field. Use this token when making a request to return the next batch of results.</p>" 9311 } 9312 } 9313 }, 9314 "ListBotVersionReplicasRequest":{ 9315 "type":"structure", 9316 "required":[ 9317 "botId", 9318 "replicaRegion" 9319 ], 9320 "members":{ 9321 "botId":{ 9322 "shape":"Id", 9323 "documentation":"<p>The request for the unique ID in the list of replicated bots.</p>", 9324 "location":"uri", 9325 "locationName":"botId" 9326 }, 9327 "replicaRegion":{ 9328 "shape":"ReplicaRegion", 9329 "documentation":"<p>The request for the region used in the list of replicated bots.</p>", 9330 "location":"uri", 9331 "locationName":"replicaRegion" 9332 }, 9333 "maxResults":{ 9334 "shape":"MaxResults", 9335 "documentation":"<p>The maximum results given in the list of replicated bots.</p>" 9336 }, 9337 "nextToken":{ 9338 "shape":"NextToken", 9339 "documentation":"<p>The next token given in the list of replicated bots.</p>" 9340 }, 9341 "sortBy":{ 9342 "shape":"BotVersionReplicaSortBy", 9343 "documentation":"<p>The requested sort category for the list of replicated bots.</p>" 9344 } 9345 } 9346 }, 9347 "ListBotVersionReplicasResponse":{ 9348 "type":"structure", 9349 "members":{ 9350 "botId":{ 9351 "shape":"Id", 9352 "documentation":"<p>The unique ID of the bots in the list of replicated bots.</p>" 9353 }, 9354 "sourceRegion":{ 9355 "shape":"ReplicaRegion", 9356 "documentation":"<p>The source region used for the bots in the list of replicated bots.</p>" 9357 }, 9358 "replicaRegion":{ 9359 "shape":"ReplicaRegion", 9360 "documentation":"<p>The region used for the replicated bots in the list of replicated bots.</p>" 9361 }, 9362 "botVersionReplicaSummaries":{ 9363 "shape":"BotVersionReplicaSummaryList", 9364 "documentation":"<p>The information summary used for the replicated bots in the list of replicated bots.</p>" 9365 }, 9366 "nextToken":{ 9367 "shape":"NextToken", 9368 "documentation":"<p>The next token used for the replicated bots in the list of replicated bots.</p>" 9369 } 9370 } 9371 }, 9372 "ListBotVersionsRequest":{ 9373 "type":"structure", 9374 "required":["botId"], 9375 "members":{ 9376 "botId":{ 9377 "shape":"Id", 9378 "documentation":"<p>The identifier of the bot to list versions for.</p>", 9379 "location":"uri", 9380 "locationName":"botId" 9381 }, 9382 "sortBy":{ 9383 "shape":"BotVersionSortBy", 9384 "documentation":"<p>Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.</p>" 9385 }, 9386 "maxResults":{ 9387 "shape":"MaxResults", 9388 "documentation":"<p>The maximum number of versions to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.</p>" 9389 }, 9390 "nextToken":{ 9391 "shape":"NextToken", 9392 "documentation":"<p>If the response to the <code>ListBotVersion</code> operation contains more results than specified in the <code>maxResults</code> parameter, a token is returned in the response. Use that token in the <code>nextToken</code> parameter to return the next page of results.</p>" 9393 } 9394 } 9395 }, 9396 "ListBotVersionsResponse":{ 9397 "type":"structure", 9398 "members":{ 9399 "botId":{ 9400 "shape":"Id", 9401 "documentation":"<p>The identifier of the bot to list versions for.</p>" 9402 }, 9403 "botVersionSummaries":{ 9404 "shape":"BotVersionSummaryList", 9405 "documentation":"<p>Summary information for the bot versions that meet the filter criteria specified in the request. The length of the list is specified in the <code>maxResults</code> parameter of the request. If there are more versions available, the <code>nextToken</code> field contains a token to get the next page of results.</p>" 9406 }, 9407 "nextToken":{ 9408 "shape":"NextToken", 9409 "documentation":"<p>A token that indicates whether there are more results to return in a response to the <code>ListBotVersions</code> operation. If the <code>nextToken</code> field is present, you send the contents as the <code>nextToken</code> parameter of a <code>ListBotAliases</code> operation request to get the next page of results.</p>" 9410 } 9411 } 9412 }, 9413 "ListBotsRequest":{ 9414 "type":"structure", 9415 "members":{ 9416 "sortBy":{ 9417 "shape":"BotSortBy", 9418 "documentation":"<p>Specifies sorting parameters for the list of bots. You can specify that the list be sorted by bot name in ascending or descending order.</p>" 9419 }, 9420 "filters":{ 9421 "shape":"BotFilters", 9422 "documentation":"<p>Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.</p>" 9423 }, 9424 "maxResults":{ 9425 "shape":"MaxResults", 9426 "documentation":"<p>The maximum number of bots to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.</p>" 9427 }, 9428 "nextToken":{ 9429 "shape":"NextToken", 9430 "documentation":"<p>If the response from the <code>ListBots</code> operation contains more results than specified in the <code>maxResults</code> parameter, a token is returned in the response. </p> <p>Use the returned token in the <code>nextToken</code> parameter of a <code>ListBots</code> request to return the next page of results. For a complete set of results, call the <code>ListBots</code> operation until the <code>nextToken</code> returned in the response is null.</p>" 9431 } 9432 } 9433 }, 9434 "ListBotsResponse":{ 9435 "type":"structure", 9436 "members":{ 9437 "botSummaries":{ 9438 "shape":"BotSummaryList", 9439 "documentation":"<p>Summary information for the bots that meet the filter criteria specified in the request. The length of the list is specified in the <code>maxResults</code> parameter of the request. If there are more bots available, the <code>nextToken</code> field contains a token to the next page of results.</p>" 9440 }, 9441 "nextToken":{ 9442 "shape":"NextToken", 9443 "documentation":"<p>A token that indicates whether there are more results to return in a response to the <code>ListBots</code> operation. If the <code>nextToken</code> field is present, you send the contents as the <code>nextToken</code> parameter of a <code>ListBots</code> operation request to get the next page of results.</p>" 9444 } 9445 } 9446 }, 9447 "ListBuiltInIntentsRequest":{ 9448 "type":"structure", 9449 "required":["localeId"], 9450 "members":{ 9451 "localeId":{ 9452 "shape":"LocaleId", 9453 "documentation":"<p>The identifier of the language and locale of the intents to list. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 9454 "location":"uri", 9455 "locationName":"localeId" 9456 }, 9457 "sortBy":{ 9458 "shape":"BuiltInIntentSortBy", 9459 "documentation":"<p>Specifies sorting parameters for the list of built-in intents. You can specify that the list be sorted by the built-in intent signature in either ascending or descending order.</p>" 9460 }, 9461 "maxResults":{ 9462 "shape":"BuiltInsMaxResults", 9463 "documentation":"<p>The maximum number of built-in intents to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.</p>" 9464 }, 9465 "nextToken":{ 9466 "shape":"NextToken", 9467 "documentation":"<p>If the response from the <code>ListBuiltInIntents</code> operation contains more results than specified in the <code>maxResults</code> parameter, a token is returned in the response. Use that token in the <code>nextToken</code> parameter to return the next page of results.</p>" 9468 } 9469 } 9470 }, 9471 "ListBuiltInIntentsResponse":{ 9472 "type":"structure", 9473 "members":{ 9474 "builtInIntentSummaries":{ 9475 "shape":"BuiltInIntentSummaryList", 9476 "documentation":"<p>Summary information for the built-in intents that meet the filter criteria specified in the request. The length of the list is specified in the <code>maxResults</code> parameter of the request. If there are more intents available, the <code>nextToken</code> field contains a token to get the next page of results.</p>" 9477 }, 9478 "nextToken":{ 9479 "shape":"NextToken", 9480 "documentation":"<p>A token that indicates whether there are more results to return in a response to the <code>ListBuiltInIntents</code> operation. If the <code>nextToken</code> field is present, you send the contents as the <code>nextToken</code> parameter of a <code>ListBotAliases</code> operation request to get the next page of results.</p>" 9481 }, 9482 "localeId":{ 9483 "shape":"LocaleId", 9484 "documentation":"<p>The language and locale of the intents in the list.</p>" 9485 } 9486 } 9487 }, 9488 "ListBuiltInSlotTypesRequest":{ 9489 "type":"structure", 9490 "required":["localeId"], 9491 "members":{ 9492 "localeId":{ 9493 "shape":"LocaleId", 9494 "documentation":"<p>The identifier of the language and locale of the slot types to list. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 9495 "location":"uri", 9496 "locationName":"localeId" 9497 }, 9498 "sortBy":{ 9499 "shape":"BuiltInSlotTypeSortBy", 9500 "documentation":"<p>Determines the sort order for the response from the <code>ListBuiltInSlotTypes</code> operation. You can choose to sort by the slot type signature in either ascending or descending order.</p>" 9501 }, 9502 "maxResults":{ 9503 "shape":"BuiltInsMaxResults", 9504 "documentation":"<p>The maximum number of built-in slot types to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.</p>" 9505 }, 9506 "nextToken":{ 9507 "shape":"NextToken", 9508 "documentation":"<p>If the response from the <code>ListBuiltInSlotTypes</code> operation contains more results than specified in the <code>maxResults</code> parameter, a token is returned in the response. Use that token in the <code>nextToken</code> parameter to return the next page of results.</p>" 9509 } 9510 } 9511 }, 9512 "ListBuiltInSlotTypesResponse":{ 9513 "type":"structure", 9514 "members":{ 9515 "builtInSlotTypeSummaries":{ 9516 "shape":"BuiltInSlotTypeSummaryList", 9517 "documentation":"<p>Summary information for the built-in slot types that meet the filter criteria specified in the request. The length of the list is specified in the <code>maxResults</code> parameter of the request. If there are more slot types available, the <code>nextToken</code> field contains a token to get the next page of results.</p>" 9518 }, 9519 "nextToken":{ 9520 "shape":"NextToken", 9521 "documentation":"<p>A token that indicates whether there are more results to return in a response to the <code>ListBuiltInSlotTypes</code> operation. If the <code>nextToken</code> field is present, you send the contents as the <code>nextToken</code> parameter of a <code>LIstBuiltInSlotTypes</code> operation request to get the next page of results.</p>" 9522 }, 9523 "localeId":{ 9524 "shape":"LocaleId", 9525 "documentation":"<p>The language and locale of the slot types in the list.</p>" 9526 } 9527 } 9528 }, 9529 "ListCustomVocabularyItemsRequest":{ 9530 "type":"structure", 9531 "required":[ 9532 "botId", 9533 "botVersion", 9534 "localeId" 9535 ], 9536 "members":{ 9537 "botId":{ 9538 "shape":"Id", 9539 "documentation":"<p>The identifier of the version of the bot associated with this custom vocabulary.</p>", 9540 "location":"uri", 9541 "locationName":"botId" 9542 }, 9543 "botVersion":{ 9544 "shape":"BotVersion", 9545 "documentation":"<p>The bot version of the bot to the list custom vocabulary request.</p>", 9546 "location":"uri", 9547 "locationName":"botVersion" 9548 }, 9549 "localeId":{ 9550 "shape":"LocaleId", 9551 "documentation":"<p>The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).</p>", 9552 "location":"uri", 9553 "locationName":"localeId" 9554 }, 9555 "maxResults":{ 9556 "shape":"MaxResults", 9557 "documentation":"<p>The maximum number of items returned by the list operation.</p>" 9558 }, 9559 "nextToken":{ 9560 "shape":"NextToken", 9561 "documentation":"<p>The nextToken identifier to the list custom vocabulary request.</p>" 9562 } 9563 } 9564 }, 9565 "ListCustomVocabularyItemsResponse":{ 9566 "type":"structure", 9567 "members":{ 9568 "botId":{ 9569 "shape":"Id", 9570 "documentation":"<p>The identifier of the bot associated with this custom vocabulary.</p>" 9571 }, 9572 "botVersion":{ 9573 "shape":"BotVersion", 9574 "documentation":"<p>The identifier of the version of the bot associated with this custom vocabulary.</p>" 9575 }, 9576 "localeId":{ 9577 "shape":"LocaleId", 9578 "documentation":"<p>The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\"> Supported Languages </a>.</p>" 9579 }, 9580 "customVocabularyItems":{ 9581 "shape":"CustomVocabularyItems", 9582 "documentation":"<p>The custom vocabulary items from the list custom vocabulary response.</p>" 9583 }, 9584 "nextToken":{ 9585 "shape":"NextToken", 9586 "documentation":"<p>The nextToken identifier to the list custom vocabulary response.</p>" 9587 } 9588 } 9589 }, 9590 "ListExportsRequest":{ 9591 "type":"structure", 9592 "members":{ 9593 "botId":{ 9594 "shape":"Id", 9595 "documentation":"<p>The unique identifier that Amazon Lex assigned to the bot.</p>" 9596 }, 9597 "botVersion":{ 9598 "shape":"BotVersion", 9599 "documentation":"<p>The version of the bot to list exports for. </p>" 9600 }, 9601 "sortBy":{ 9602 "shape":"ExportSortBy", 9603 "documentation":"<p>Determines the field that the list of exports is sorted by. You can sort by the <code>LastUpdatedDateTime</code> field in ascending or descending order.</p>" 9604 }, 9605 "filters":{ 9606 "shape":"ExportFilters", 9607 "documentation":"<p>Provides the specification of a filter used to limit the exports in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.</p>" 9608 }, 9609 "maxResults":{ 9610 "shape":"MaxResults", 9611 "documentation":"<p>The maximum number of exports to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.</p>" 9612 }, 9613 "nextToken":{ 9614 "shape":"NextToken", 9615 "documentation":"<p>If the response from the <code>ListExports</code> operation contains more results that specified in the <code>maxResults</code> parameter, a token is returned in the response. </p> <p>Use the returned token in the <code>nextToken</code> parameter of a <code>ListExports</code> request to return the next page of results. For a complete set of results, call the <code>ListExports</code> operation until the <code>nextToken</code> returned in the response is null.</p>" 9616 }, 9617 "localeId":{ 9618 "shape":"LocaleId", 9619 "documentation":"<p>Specifies the resources that should be exported. If you don't specify a resource type in the <code>filters</code> parameter, both bot locales and custom vocabularies are exported.</p>" 9620 } 9621 } 9622 }, 9623 "ListExportsResponse":{ 9624 "type":"structure", 9625 "members":{ 9626 "botId":{ 9627 "shape":"Id", 9628 "documentation":"<p>The unique identifier assigned to the bot by Amazon Lex.</p>" 9629 }, 9630 "botVersion":{ 9631 "shape":"BotVersion", 9632 "documentation":"<p>The version of the bot that was exported.</p>" 9633 }, 9634 "exportSummaries":{ 9635 "shape":"ExportSummaryList", 9636 "documentation":"<p>Summary information for the exports that meet the filter criteria specified in the request. The length of the list is specified in the <code>maxResults</code> parameter. If there are more exports available, the <code>nextToken</code> field contains a token to get the next page of results.</p>" 9637 }, 9638 "nextToken":{ 9639 "shape":"NextToken", 9640 "documentation":"<p>A token that indicates whether there are more results to return in a response to the <code>ListExports</code> operation. If the <code>nextToken</code> field is present, you send the contents as the <code>nextToken</code> parameter of a <code>ListExports</code> operation request to get the next page of results.</p>" 9641 }, 9642 "localeId":{ 9643 "shape":"LocaleId", 9644 "documentation":"<p>The locale specified in the request.</p>" 9645 } 9646 } 9647 }, 9648 "ListImportsRequest":{ 9649 "type":"structure", 9650 "members":{ 9651 "botId":{ 9652 "shape":"Id", 9653 "documentation":"<p>The unique identifier that Amazon Lex assigned to the bot.</p>" 9654 }, 9655 "botVersion":{ 9656 "shape":"DraftBotVersion", 9657 "documentation":"<p>The version of the bot to list imports for.</p>" 9658 }, 9659 "sortBy":{ 9660 "shape":"ImportSortBy", 9661 "documentation":"<p>Determines the field that the list of imports is sorted by. You can sort by the <code>LastUpdatedDateTime</code> field in ascending or descending order.</p>" 9662 }, 9663 "filters":{ 9664 "shape":"ImportFilters", 9665 "documentation":"<p>Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.</p>" 9666 }, 9667 "maxResults":{ 9668 "shape":"MaxResults", 9669 "documentation":"<p>The maximum number of imports to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.</p>" 9670 }, 9671 "nextToken":{ 9672 "shape":"NextToken", 9673 "documentation":"<p>If the response from the <code>ListImports</code> operation contains more results than specified in the <code>maxResults</code> parameter, a token is returned in the response.</p> <p>Use the returned token in the <code>nextToken</code> parameter of a <code>ListImports</code> request to return the next page of results. For a complete set of results, call the <code>ListImports</code> operation until the <code>nextToken</code> returned in the response is null.</p>" 9674 }, 9675 "localeId":{ 9676 "shape":"LocaleId", 9677 "documentation":"<p>Specifies the locale that should be present in the list. If you don't specify a resource type in the <code>filters</code> parameter, the list contains both bot locales and custom vocabularies.</p>" 9678 } 9679 } 9680 }, 9681 "ListImportsResponse":{ 9682 "type":"structure", 9683 "members":{ 9684 "botId":{ 9685 "shape":"Id", 9686 "documentation":"<p>The unique identifier assigned by Amazon Lex to the bot.</p>" 9687 }, 9688 "botVersion":{ 9689 "shape":"DraftBotVersion", 9690 "documentation":"<p>The version of the bot that was imported. It will always be <code>DRAFT</code>.</p>" 9691 }, 9692 "importSummaries":{ 9693 "shape":"ImportSummaryList", 9694 "documentation":"<p>Summary information for the imports that meet the filter criteria specified in the request. The length of the list is specified in the <code>maxResults</code> parameter. If there are more imports available, the <code>nextToken</code> field contains a token to get the next page of results.</p>" 9695 }, 9696 "nextToken":{ 9697 "shape":"NextToken", 9698 "documentation":"<p>A token that indicates whether there are more results to return in a response to the <code>ListImports</code> operation. If the <code>nextToken</code> field is present, you send the contents as the <code>nextToken</code> parameter of a <code>ListImports</code> operation request to get the next page of results.</p>" 9699 }, 9700 "localeId":{ 9701 "shape":"LocaleId", 9702 "documentation":"<p>The locale specified in the request.</p>" 9703 } 9704 } 9705 }, 9706 "ListIntentMetricsRequest":{ 9707 "type":"structure", 9708 "required":[ 9709 "botId", 9710 "startDateTime", 9711 "endDateTime", 9712 "metrics" 9713 ], 9714 "members":{ 9715 "botId":{ 9716 "shape":"Id", 9717 "documentation":"<p>The identifier for the bot for which you want to retrieve intent metrics.</p>", 9718 "location":"uri", 9719 "locationName":"botId" 9720 }, 9721 "startDateTime":{ 9722 "shape":"Timestamp", 9723 "documentation":"<p>The timestamp that marks the beginning of the range of time for which you want to see intent metrics.</p>" 9724 }, 9725 "endDateTime":{ 9726 "shape":"Timestamp", 9727 "documentation":"<p>The date and time that marks the end of the range of time for which you want to see intent metrics.</p>" 9728 }, 9729 "metrics":{ 9730 "shape":"AnalyticsIntentMetrics", 9731 "documentation":"<p>A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the order by which to organize the results.</p>" 9732 }, 9733 "binBy":{ 9734 "shape":"AnalyticsBinByList", 9735 "documentation":"<p>A list of objects, each of which contains specifications for organizing the results by time.</p>" 9736 }, 9737 "groupBy":{ 9738 "shape":"AnalyticsIntentGroupByList", 9739 "documentation":"<p>A list of objects, each of which specifies how to group the results. You can group by the following criteria:</p> <ul> <li> <p> <code>IntentName</code> – The name of the intent.</p> </li> <li> <p> <code>IntentEndState</code> – The final state of the intent. The possible end states are detailed in <a href=\"https://docs.aws.amazon.com/analytics-key-definitions-intents\">Key definitions</a> in the user guide.</p> </li> </ul>" 9740 }, 9741 "filters":{ 9742 "shape":"AnalyticsIntentFilters", 9743 "documentation":"<p>A list of objects, each of which describes a condition by which you want to filter the results.</p>" 9744 }, 9745 "maxResults":{ 9746 "shape":"MaxResults", 9747 "documentation":"<p>The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.</p>" 9748 }, 9749 "nextToken":{ 9750 "shape":"NextToken", 9751 "documentation":"<p>If the response from the ListIntentMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.</p> <p>Use the returned token in the nextToken parameter of a ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics operation until the nextToken returned in the response is null.</p>" 9752 } 9753 } 9754 }, 9755 "ListIntentMetricsResponse":{ 9756 "type":"structure", 9757 "members":{ 9758 "botId":{ 9759 "shape":"Id", 9760 "documentation":"<p>The identifier for the bot for which you retrieved intent metrics.</p>" 9761 }, 9762 "results":{ 9763 "shape":"AnalyticsIntentResults", 9764 "documentation":"<p>The results for the intent metrics.</p>" 9765 }, 9766 "nextToken":{ 9767 "shape":"NextToken", 9768 "documentation":"<p>If the response from the ListIntentMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.</p> <p>Use the returned token in the nextToken parameter of a ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics operation until the nextToken returned in the response is null.</p>" 9769 } 9770 } 9771 }, 9772 "ListIntentPathsRequest":{ 9773 "type":"structure", 9774 "required":[ 9775 "botId", 9776 "startDateTime", 9777 "endDateTime", 9778 "intentPath" 9779 ], 9780 "members":{ 9781 "botId":{ 9782 "shape":"Id", 9783 "documentation":"<p>The identifier for the bot for which you want to retrieve intent path metrics.</p>", 9784 "location":"uri", 9785 "locationName":"botId" 9786 }, 9787 "startDateTime":{ 9788 "shape":"Timestamp", 9789 "documentation":"<p>The date and time that marks the beginning of the range of time for which you want to see intent path metrics.</p>" 9790 }, 9791 "endDateTime":{ 9792 "shape":"Timestamp", 9793 "documentation":"<p>The date and time that marks the end of the range of time for which you want to see intent path metrics.</p>" 9794 }, 9795 "intentPath":{ 9796 "shape":"AnalyticsPath", 9797 "documentation":"<p>The intent path for which you want to retrieve metrics. Use a forward slash to separate intents in the path. For example:</p> <ul> <li> <p>/BookCar</p> </li> <li> <p>/BookCar/BookHotel</p> </li> <li> <p>/BookHotel/BookCar</p> </li> </ul>" 9798 }, 9799 "filters":{ 9800 "shape":"AnalyticsPathFilters", 9801 "documentation":"<p>A list of objects, each describes a condition by which you want to filter the results.</p>" 9802 } 9803 } 9804 }, 9805 "ListIntentPathsResponse":{ 9806 "type":"structure", 9807 "members":{ 9808 "nodeSummaries":{ 9809 "shape":"AnalyticsIntentNodeSummaries", 9810 "documentation":"<p>A list of objects, each of which contains information about a node in the intent path for which you requested metrics.</p>" 9811 } 9812 } 9813 }, 9814 "ListIntentStageMetricsRequest":{ 9815 "type":"structure", 9816 "required":[ 9817 "botId", 9818 "startDateTime", 9819 "endDateTime", 9820 "metrics" 9821 ], 9822 "members":{ 9823 "botId":{ 9824 "shape":"Id", 9825 "documentation":"<p>The identifier for the bot for which you want to retrieve intent stage metrics.</p>", 9826 "location":"uri", 9827 "locationName":"botId" 9828 }, 9829 "startDateTime":{ 9830 "shape":"Timestamp", 9831 "documentation":"<p>The date and time that marks the beginning of the range of time for which you want to see intent stage metrics.</p>" 9832 }, 9833 "endDateTime":{ 9834 "shape":"Timestamp", 9835 "documentation":"<p>The date and time that marks the end of the range of time for which you want to see intent stage metrics.</p>" 9836 }, 9837 "metrics":{ 9838 "shape":"AnalyticsIntentStageMetrics", 9839 "documentation":"<p>A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.</p>" 9840 }, 9841 "binBy":{ 9842 "shape":"AnalyticsBinByList", 9843 "documentation":"<p>A list of objects, each of which contains specifications for organizing the results by time.</p>" 9844 }, 9845 "groupBy":{ 9846 "shape":"AnalyticsIntentStageGroupByList", 9847 "documentation":"<p>A list of objects, each of which specifies how to group the results. You can group by the following criteria:</p> <ul> <li> <p> <code>IntentStageName</code> – The name of the intent stage.</p> </li> <li> <p> <code>SwitchedToIntent</code> – The intent to which the conversation was switched (if any).</p> </li> </ul>" 9848 }, 9849 "filters":{ 9850 "shape":"AnalyticsIntentStageFilters", 9851 "documentation":"<p>A list of objects, each of which describes a condition by which you want to filter the results.</p>" 9852 }, 9853 "maxResults":{ 9854 "shape":"MaxResults", 9855 "documentation":"<p>The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.</p>" 9856 }, 9857 "nextToken":{ 9858 "shape":"NextToken", 9859 "documentation":"<p>If the response from the ListIntentStageMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.</p> <p>Use the returned token in the nextToken parameter of a ListIntentStageMetrics request to return the next page of results. For a complete set of results, call the ListIntentStageMetrics operation until the nextToken returned in the response is null.</p>" 9860 } 9861 } 9862 }, 9863 "ListIntentStageMetricsResponse":{ 9864 "type":"structure", 9865 "members":{ 9866 "botId":{ 9867 "shape":"Id", 9868 "documentation":"<p>The identifier for the bot for which you retrieved intent stage metrics.</p>" 9869 }, 9870 "results":{ 9871 "shape":"AnalyticsIntentStageResults", 9872 "documentation":"<p>The results for the intent stage metrics.</p>" 9873 }, 9874 "nextToken":{ 9875 "shape":"NextToken", 9876 "documentation":"<p>If the response from the ListIntentStageMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.</p> <p>Use the returned token in the nextToken parameter of a ListIntentStageMetrics request to return the next page of results. For a complete set of results, call the ListIntentStageMetrics operation until the nextToken returned in the response is null.</p>" 9877 } 9878 } 9879 }, 9880 "ListIntentsRequest":{ 9881 "type":"structure", 9882 "required":[ 9883 "botId", 9884 "botVersion", 9885 "localeId" 9886 ], 9887 "members":{ 9888 "botId":{ 9889 "shape":"Id", 9890 "documentation":"<p>The unique identifier of the bot that contains the intent.</p>", 9891 "location":"uri", 9892 "locationName":"botId" 9893 }, 9894 "botVersion":{ 9895 "shape":"BotVersion", 9896 "documentation":"<p>The version of the bot that contains the intent.</p>", 9897 "location":"uri", 9898 "locationName":"botVersion" 9899 }, 9900 "localeId":{ 9901 "shape":"LocaleId", 9902 "documentation":"<p>The identifier of the language and locale of the intents to list. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 9903 "location":"uri", 9904 "locationName":"localeId" 9905 }, 9906 "sortBy":{ 9907 "shape":"IntentSortBy", 9908 "documentation":"<p>Determines the sort order for the response from the <code>ListIntents</code> operation. You can choose to sort by the intent name or last updated date in either ascending or descending order.</p>" 9909 }, 9910 "filters":{ 9911 "shape":"IntentFilters", 9912 "documentation":"<p>Provides the specification of a filter used to limit the intents in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.</p>" 9913 }, 9914 "maxResults":{ 9915 "shape":"MaxResults", 9916 "documentation":"<p>The maximum number of intents to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.</p>" 9917 }, 9918 "nextToken":{ 9919 "shape":"NextToken", 9920 "documentation":"<p>If the response from the <code>ListIntents</code> operation contains more results than specified in the <code>maxResults</code> parameter, a token is returned in the response.</p> <p>Use the returned token in the <code>nextToken</code> parameter of a <code>ListIntents</code> request to return the next page of results. For a complete set of results, call the <code>ListIntents</code> operation until the <code>nextToken</code> returned in the response is null.</p>" 9921 } 9922 } 9923 }, 9924 "ListIntentsResponse":{ 9925 "type":"structure", 9926 "members":{ 9927 "botId":{ 9928 "shape":"Id", 9929 "documentation":"<p>The identifier of the bot that contains the intent.</p>" 9930 }, 9931 "botVersion":{ 9932 "shape":"BotVersion", 9933 "documentation":"<p>The version of the bot that contains the intent.</p>" 9934 }, 9935 "localeId":{ 9936 "shape":"LocaleId", 9937 "documentation":"<p>The language and locale of the intents in the list.</p>" 9938 }, 9939 "intentSummaries":{ 9940 "shape":"IntentSummaryList", 9941 "documentation":"<p>Summary information for the intents that meet the filter criteria specified in the request. The length of the list is specified in the <code>maxResults</code> parameter of the request. If there are more intents available, the <code>nextToken</code> field contains a token to get the next page of results.</p>" 9942 }, 9943 "nextToken":{ 9944 "shape":"NextToken", 9945 "documentation":"<p>A token that indicates whether there are more results to return in a response to the <code>ListIntents</code> operation. If the <code>nextToken</code> field is present, you send the contents as the <code>nextToken</code> parameter of a <code>ListIntents</code> operation request to get the next page of results.</p>" 9946 } 9947 } 9948 }, 9949 "ListRecommendedIntentsRequest":{ 9950 "type":"structure", 9951 "required":[ 9952 "botId", 9953 "botVersion", 9954 "localeId", 9955 "botRecommendationId" 9956 ], 9957 "members":{ 9958 "botId":{ 9959 "shape":"Id", 9960 "documentation":"<p>The unique identifier of the bot associated with the recommended intents.</p>", 9961 "location":"uri", 9962 "locationName":"botId" 9963 }, 9964 "botVersion":{ 9965 "shape":"DraftBotVersion", 9966 "documentation":"<p>The version of the bot that contains the recommended intents.</p>", 9967 "location":"uri", 9968 "locationName":"botVersion" 9969 }, 9970 "localeId":{ 9971 "shape":"LocaleId", 9972 "documentation":"<p>The identifier of the language and locale of the recommended intents.</p>", 9973 "location":"uri", 9974 "locationName":"localeId" 9975 }, 9976 "botRecommendationId":{ 9977 "shape":"Id", 9978 "documentation":"<p>The identifier of the bot recommendation that contains the recommended intents.</p>", 9979 "location":"uri", 9980 "locationName":"botRecommendationId" 9981 }, 9982 "nextToken":{ 9983 "shape":"NextToken", 9984 "documentation":"<p>If the response from the ListRecommendedIntents operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.</p>" 9985 }, 9986 "maxResults":{ 9987 "shape":"MaxResults", 9988 "documentation":"<p>The maximum number of bot recommendations to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.</p>" 9989 } 9990 } 9991 }, 9992 "ListRecommendedIntentsResponse":{ 9993 "type":"structure", 9994 "members":{ 9995 "botId":{ 9996 "shape":"Id", 9997 "documentation":"<p>The unique identifier of the bot associated with the recommended intent.</p>" 9998 }, 9999 "botVersion":{ 10000 "shape":"DraftBotVersion", 10001 "documentation":"<p>The version of the bot that contains the intent.</p>" 10002 }, 10003 "localeId":{ 10004 "shape":"LocaleId", 10005 "documentation":"<p>The identifier of the language and locale of the intents to list. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>" 10006 }, 10007 "botRecommendationId":{ 10008 "shape":"Id", 10009 "documentation":"<p>The identifier of the bot recommendation that contains the recommended intent.</p>" 10010 }, 10011 "summaryList":{ 10012 "shape":"RecommendedIntentSummaryList", 10013 "documentation":"<p>Summary information for the intents that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more intents available, the nextToken field contains a token to get the next page of results.</p>" 10014 }, 10015 "nextToken":{ 10016 "shape":"NextToken", 10017 "documentation":"<p>A token that indicates whether there are more results to return in a response to the ListRecommendedIntents operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListRecommendedIntents operation request to get the next page of results.</p>" 10018 } 10019 } 10020 }, 10021 "ListSessionAnalyticsDataRequest":{ 10022 "type":"structure", 10023 "required":[ 10024 "botId", 10025 "startDateTime", 10026 "endDateTime" 10027 ], 10028 "members":{ 10029 "botId":{ 10030 "shape":"Id", 10031 "documentation":"<p>The identifier for the bot for which you want to retrieve session analytics.</p>", 10032 "location":"uri", 10033 "locationName":"botId" 10034 }, 10035 "startDateTime":{ 10036 "shape":"Timestamp", 10037 "documentation":"<p>The date and time that marks the beginning of the range of time for which you want to see session analytics.</p>" 10038 }, 10039 "endDateTime":{ 10040 "shape":"Timestamp", 10041 "documentation":"<p>The date and time that marks the end of the range of time for which you want to see session analytics.</p>" 10042 }, 10043 "sortBy":{ 10044 "shape":"SessionDataSortBy", 10045 "documentation":"<p>An object specifying the measure and method by which to sort the session analytics data.</p>" 10046 }, 10047 "filters":{ 10048 "shape":"AnalyticsSessionFilters", 10049 "documentation":"<p>A list of objects, each of which describes a condition by which you want to filter the results.</p>" 10050 }, 10051 "maxResults":{ 10052 "shape":"MaxResults", 10053 "documentation":"<p>The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.</p>" 10054 }, 10055 "nextToken":{ 10056 "shape":"NextToken", 10057 "documentation":"<p>If the response from the ListSessionAnalyticsData operation contains more results than specified in the maxResults parameter, a token is returned in the response.</p> <p>Use the returned token in the nextToken parameter of a ListSessionAnalyticsData request to return the next page of results. For a complete set of results, call the ListSessionAnalyticsData operation until the nextToken returned in the response is null.</p>" 10058 } 10059 } 10060 }, 10061 "ListSessionAnalyticsDataResponse":{ 10062 "type":"structure", 10063 "members":{ 10064 "botId":{ 10065 "shape":"Id", 10066 "documentation":"<p>The unique identifier of the bot that the sessions belong to.</p>" 10067 }, 10068 "nextToken":{ 10069 "shape":"NextToken", 10070 "documentation":"<p>If the response from the ListSessionAnalyticsData operation contains more results than specified in the maxResults parameter, a token is returned in the response.</p> <p>Use the returned token in the nextToken parameter of a ListSessionAnalyticsData request to return the next page of results. For a complete set of results, call the ListSessionAnalyticsData operation until the nextToken returned in the response is null.</p>" 10071 }, 10072 "sessions":{ 10073 "shape":"SessionSpecifications", 10074 "documentation":"<p>A list of objects, each of which contains information about a session with the bot.</p>" 10075 } 10076 } 10077 }, 10078 "ListSessionMetricsRequest":{ 10079 "type":"structure", 10080 "required":[ 10081 "botId", 10082 "startDateTime", 10083 "endDateTime", 10084 "metrics" 10085 ], 10086 "members":{ 10087 "botId":{ 10088 "shape":"Id", 10089 "documentation":"<p>The identifier for the bot for which you want to retrieve session metrics.</p>", 10090 "location":"uri", 10091 "locationName":"botId" 10092 }, 10093 "startDateTime":{ 10094 "shape":"Timestamp", 10095 "documentation":"<p>The date and time that marks the beginning of the range of time for which you want to see session metrics.</p>" 10096 }, 10097 "endDateTime":{ 10098 "shape":"Timestamp", 10099 "documentation":"<p>The date and time that marks the end of the range of time for which you want to see session metrics.</p>" 10100 }, 10101 "metrics":{ 10102 "shape":"AnalyticsSessionMetrics", 10103 "documentation":"<p>A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.</p>" 10104 }, 10105 "binBy":{ 10106 "shape":"AnalyticsBinByList", 10107 "documentation":"<p>A list of objects, each of which contains specifications for organizing the results by time.</p>" 10108 }, 10109 "groupBy":{ 10110 "shape":"AnalyticsSessionGroupByList", 10111 "documentation":"<p>A list of objects, each of which specifies how to group the results. You can group by the following criteria:</p> <ul> <li> <p> <code>ConversationEndState</code> – The final state of the conversation. The possible end states are detailed in <a href=\"https://docs.aws.amazon.com/analytics-key-definitions-conversations\">Key definitions</a> in the user guide.</p> </li> <li> <p> <code>LocaleId</code> – The unique identifier of the bot locale.</p> </li> </ul>" 10112 }, 10113 "filters":{ 10114 "shape":"AnalyticsSessionFilters", 10115 "documentation":"<p>A list of objects, each of which describes a condition by which you want to filter the results.</p>" 10116 }, 10117 "maxResults":{ 10118 "shape":"MaxResults", 10119 "documentation":"<p>The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.</p>" 10120 }, 10121 "nextToken":{ 10122 "shape":"NextToken", 10123 "documentation":"<p>If the response from the ListSessionMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.</p> <p>Use the returned token in the nextToken parameter of a ListSessionMetrics request to return the next page of results. For a complete set of results, call the ListSessionMetrics operation until the nextToken returned in the response is null.</p>" 10124 } 10125 } 10126 }, 10127 "ListSessionMetricsResponse":{ 10128 "type":"structure", 10129 "members":{ 10130 "botId":{ 10131 "shape":"Id", 10132 "documentation":"<p>The identifier for the bot for which you retrieved session metrics.</p>" 10133 }, 10134 "results":{ 10135 "shape":"AnalyticsSessionResults", 10136 "documentation":"<p>The results for the session metrics.</p>" 10137 }, 10138 "nextToken":{ 10139 "shape":"NextToken", 10140 "documentation":"<p>If the response from the ListSessionMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.</p> <p>Use the returned token in the nextToken parameter of a ListSessionMetrics request to return the next page of results. For a complete set of results, call the ListSessionMetrics operation until the nextToken returned in the response is null.</p>" 10141 } 10142 } 10143 }, 10144 "ListSlotTypesRequest":{ 10145 "type":"structure", 10146 "required":[ 10147 "botId", 10148 "botVersion", 10149 "localeId" 10150 ], 10151 "members":{ 10152 "botId":{ 10153 "shape":"Id", 10154 "documentation":"<p>The unique identifier of the bot that contains the slot types.</p>", 10155 "location":"uri", 10156 "locationName":"botId" 10157 }, 10158 "botVersion":{ 10159 "shape":"BotVersion", 10160 "documentation":"<p>The version of the bot that contains the slot type.</p>", 10161 "location":"uri", 10162 "locationName":"botVersion" 10163 }, 10164 "localeId":{ 10165 "shape":"LocaleId", 10166 "documentation":"<p>The identifier of the language and locale of the slot types to list. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 10167 "location":"uri", 10168 "locationName":"localeId" 10169 }, 10170 "sortBy":{ 10171 "shape":"SlotTypeSortBy", 10172 "documentation":"<p>Determines the sort order for the response from the <code>ListSlotTypes</code> operation. You can choose to sort by the slot type name or last updated date in either ascending or descending order.</p>" 10173 }, 10174 "filters":{ 10175 "shape":"SlotTypeFilters", 10176 "documentation":"<p>Provides the specification of a filter used to limit the slot types in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.</p>" 10177 }, 10178 "maxResults":{ 10179 "shape":"MaxResults", 10180 "documentation":"<p>The maximum number of slot types to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.</p>" 10181 }, 10182 "nextToken":{ 10183 "shape":"NextToken", 10184 "documentation":"<p>If the response from the <code>ListSlotTypes</code> operation contains more results than specified in the <code>maxResults</code> parameter, a token is returned in the response. Use that token in the <code>nextToken</code> parameter to return the next page of results.</p>" 10185 } 10186 } 10187 }, 10188 "ListSlotTypesResponse":{ 10189 "type":"structure", 10190 "members":{ 10191 "botId":{ 10192 "shape":"Id", 10193 "documentation":"<p>The identifier of the bot that contains the slot types.</p>" 10194 }, 10195 "botVersion":{ 10196 "shape":"BotVersion", 10197 "documentation":"<p>The version of the bot that contains the slot types.</p>" 10198 }, 10199 "localeId":{ 10200 "shape":"LocaleId", 10201 "documentation":"<p>The language and local of the slot types in the list.</p>" 10202 }, 10203 "slotTypeSummaries":{ 10204 "shape":"SlotTypeSummaryList", 10205 "documentation":"<p>Summary information for the slot types that meet the filter criteria specified in the request. The length of the list is specified in the <code>maxResults</code> parameter of the request. If there are more slot types available, the <code>nextToken</code> field contains a token to get the next page of results.</p>" 10206 }, 10207 "nextToken":{ 10208 "shape":"NextToken", 10209 "documentation":"<p>A token that indicates whether there are more results to return in a response to the <code>ListSlotTypes</code> operation. If the <code>nextToken</code> field is present, you send the contents as the <code>nextToken</code> parameter of a <code>ListSlotTypes</code> operation request to get the next page of results.</p>" 10210 } 10211 } 10212 }, 10213 "ListSlotsRequest":{ 10214 "type":"structure", 10215 "required":[ 10216 "botId", 10217 "botVersion", 10218 "localeId", 10219 "intentId" 10220 ], 10221 "members":{ 10222 "botId":{ 10223 "shape":"Id", 10224 "documentation":"<p>The identifier of the bot that contains the slot.</p>", 10225 "location":"uri", 10226 "locationName":"botId" 10227 }, 10228 "botVersion":{ 10229 "shape":"BotVersion", 10230 "documentation":"<p>The version of the bot that contains the slot.</p>", 10231 "location":"uri", 10232 "locationName":"botVersion" 10233 }, 10234 "localeId":{ 10235 "shape":"LocaleId", 10236 "documentation":"<p>The identifier of the language and locale of the slots to list. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 10237 "location":"uri", 10238 "locationName":"localeId" 10239 }, 10240 "intentId":{ 10241 "shape":"Id", 10242 "documentation":"<p>The unique identifier of the intent that contains the slot.</p>", 10243 "location":"uri", 10244 "locationName":"intentId" 10245 }, 10246 "sortBy":{ 10247 "shape":"SlotSortBy", 10248 "documentation":"<p>Determines the sort order for the response from the <code>ListSlots</code> operation. You can choose to sort by the slot name or last updated date in either ascending or descending order.</p>" 10249 }, 10250 "filters":{ 10251 "shape":"SlotFilters", 10252 "documentation":"<p>Provides the specification of a filter used to limit the slots in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.</p>" 10253 }, 10254 "maxResults":{ 10255 "shape":"MaxResults", 10256 "documentation":"<p>The maximum number of slots to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.</p>" 10257 }, 10258 "nextToken":{ 10259 "shape":"NextToken", 10260 "documentation":"<p>If the response from the <code>ListSlots</code> operation contains more results than specified in the <code>maxResults</code> parameter, a token is returned in the response. Use that token in the <code>nextToken</code> parameter to return the next page of results.</p>" 10261 } 10262 } 10263 }, 10264 "ListSlotsResponse":{ 10265 "type":"structure", 10266 "members":{ 10267 "botId":{ 10268 "shape":"Id", 10269 "documentation":"<p>The identifier of the bot that contains the slots.</p>" 10270 }, 10271 "botVersion":{ 10272 "shape":"BotVersion", 10273 "documentation":"<p>The version of the bot that contains the slots.</p>" 10274 }, 10275 "localeId":{ 10276 "shape":"LocaleId", 10277 "documentation":"<p>The language and locale of the slots in the list.</p>" 10278 }, 10279 "intentId":{ 10280 "shape":"Id", 10281 "documentation":"<p>The identifier of the intent that contains the slots.</p>" 10282 }, 10283 "slotSummaries":{ 10284 "shape":"SlotSummaryList", 10285 "documentation":"<p>Summary information for the slots that meet the filter criteria specified in the request. The length of the list is specified in the <code>maxResults</code> parameter of the request. If there are more slots available, the <code>nextToken</code> field contains a token to get the next page of results.</p>" 10286 }, 10287 "nextToken":{ 10288 "shape":"NextToken", 10289 "documentation":"<p>A token that indicates whether there are more results to return in a response to the <code>ListSlots</code> operation. If the <code>nextToken</code> field is present, you send the contents as the <code>nextToken</code> parameter of a <code>ListSlots</code> operation request to get the next page of results.</p>" 10290 } 10291 } 10292 }, 10293 "ListTagsForResourceRequest":{ 10294 "type":"structure", 10295 "required":["resourceARN"], 10296 "members":{ 10297 "resourceARN":{ 10298 "shape":"AmazonResourceName", 10299 "documentation":"<p>The Amazon Resource Name (ARN) of the resource to get a list of tags for.</p>", 10300 "location":"uri", 10301 "locationName":"resourceARN" 10302 } 10303 } 10304 }, 10305 "ListTagsForResourceResponse":{ 10306 "type":"structure", 10307 "members":{ 10308 "tags":{ 10309 "shape":"TagMap", 10310 "documentation":"<p>The tags associated with a resource.</p>" 10311 } 10312 } 10313 }, 10314 "ListTestExecutionResultItemsRequest":{ 10315 "type":"structure", 10316 "required":[ 10317 "testExecutionId", 10318 "resultFilterBy" 10319 ], 10320 "members":{ 10321 "testExecutionId":{ 10322 "shape":"Id", 10323 "documentation":"<p>The unique identifier of the test execution to list the result items.</p>", 10324 "location":"uri", 10325 "locationName":"testExecutionId" 10326 }, 10327 "resultFilterBy":{ 10328 "shape":"TestExecutionResultFilterBy", 10329 "documentation":"<p>The filter for the list of results from the test set execution.</p>" 10330 }, 10331 "maxResults":{ 10332 "shape":"MaxResults", 10333 "documentation":"<p>The maximum number of test execution result items to return in each page. If there are fewer results than the max page size, only the actual number of results are returned.</p>" 10334 }, 10335 "nextToken":{ 10336 "shape":"NextToken", 10337 "documentation":"<p>If the response from the <code>ListTestExecutionResultItems</code> operation contains more results than specified in the <code>maxResults</code> parameter, a token is returned in the response. Use that token in the <code>nextToken</code> parameter to return the next page of results.</p>" 10338 } 10339 } 10340 }, 10341 "ListTestExecutionResultItemsResponse":{ 10342 "type":"structure", 10343 "members":{ 10344 "testExecutionResults":{ 10345 "shape":"TestExecutionResultItems", 10346 "documentation":"<p>The list of results from the test execution.</p>" 10347 }, 10348 "nextToken":{ 10349 "shape":"NextToken", 10350 "documentation":"<p>A token that indicates whether there are more results to return in a response to the <code>ListTestExecutionResultItems</code> operation. If the <code>nextToken</code> field is present, you send the contents as the <code>nextToken</code> parameter of a <code>ListTestExecutionResultItems</code> operation request to get the next page of results.</p>" 10351 } 10352 } 10353 }, 10354 "ListTestExecutionsRequest":{ 10355 "type":"structure", 10356 "members":{ 10357 "sortBy":{ 10358 "shape":"TestExecutionSortBy", 10359 "documentation":"<p>The sort order of the test set executions.</p>" 10360 }, 10361 "maxResults":{ 10362 "shape":"MaxResults", 10363 "documentation":"<p>The maximum number of test executions to return in each page. If there are fewer results than the max page size, only the actual number of results are returned.</p>" 10364 }, 10365 "nextToken":{ 10366 "shape":"NextToken", 10367 "documentation":"<p>If the response from the ListTestExecutions operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.</p>" 10368 } 10369 } 10370 }, 10371 "ListTestExecutionsResponse":{ 10372 "type":"structure", 10373 "members":{ 10374 "testExecutions":{ 10375 "shape":"TestExecutionSummaryList", 10376 "documentation":"<p>The list of test executions.</p>" 10377 }, 10378 "nextToken":{ 10379 "shape":"NextToken", 10380 "documentation":"<p>A token that indicates whether there are more results to return in a response to the ListTestExecutions operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListTestExecutions operation request to get the next page of results.</p>" 10381 } 10382 } 10383 }, 10384 "ListTestSetRecordsRequest":{ 10385 "type":"structure", 10386 "required":["testSetId"], 10387 "members":{ 10388 "testSetId":{ 10389 "shape":"Id", 10390 "documentation":"<p>The identifier of the test set to list its test set records.</p>", 10391 "location":"uri", 10392 "locationName":"testSetId" 10393 }, 10394 "maxResults":{ 10395 "shape":"MaxResults", 10396 "documentation":"<p>The maximum number of test set records to return in each page. If there are fewer records than the max page size, only the actual number of records are returned.</p>" 10397 }, 10398 "nextToken":{ 10399 "shape":"NextToken", 10400 "documentation":"<p>If the response from the ListTestSetRecords operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.</p>" 10401 } 10402 } 10403 }, 10404 "ListTestSetRecordsResponse":{ 10405 "type":"structure", 10406 "members":{ 10407 "testSetRecords":{ 10408 "shape":"TestSetTurnRecordList", 10409 "documentation":"<p>The list of records from the test set.</p>" 10410 }, 10411 "nextToken":{ 10412 "shape":"NextToken", 10413 "documentation":"<p>A token that indicates whether there are more records to return in a response to the ListTestSetRecords operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListTestSetRecords operation request to get the next page of records.</p>" 10414 } 10415 } 10416 }, 10417 "ListTestSetsRequest":{ 10418 "type":"structure", 10419 "members":{ 10420 "sortBy":{ 10421 "shape":"TestSetSortBy", 10422 "documentation":"<p>The sort order for the list of test sets.</p>" 10423 }, 10424 "maxResults":{ 10425 "shape":"MaxResults", 10426 "documentation":"<p>The maximum number of test sets to return in each page. If there are fewer results than the max page size, only the actual number of results are returned.</p>" 10427 }, 10428 "nextToken":{ 10429 "shape":"NextToken", 10430 "documentation":"<p>If the response from the ListTestSets operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.</p>" 10431 } 10432 } 10433 }, 10434 "ListTestSetsResponse":{ 10435 "type":"structure", 10436 "members":{ 10437 "testSets":{ 10438 "shape":"TestSetSummaryList", 10439 "documentation":"<p>The selected test sets in a list of test sets.</p>" 10440 }, 10441 "nextToken":{ 10442 "shape":"NextToken", 10443 "documentation":"<p>A token that indicates whether there are more results to return in a response to the ListTestSets operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListTestSets operation request to get the next page of results.</p>" 10444 } 10445 } 10446 }, 10447 "ListUtteranceAnalyticsDataRequest":{ 10448 "type":"structure", 10449 "required":[ 10450 "botId", 10451 "startDateTime", 10452 "endDateTime" 10453 ], 10454 "members":{ 10455 "botId":{ 10456 "shape":"Id", 10457 "documentation":"<p>The identifier for the bot for which you want to retrieve utterance analytics.</p>", 10458 "location":"uri", 10459 "locationName":"botId" 10460 }, 10461 "startDateTime":{ 10462 "shape":"Timestamp", 10463 "documentation":"<p>The date and time that marks the beginning of the range of time for which you want to see utterance analytics.</p>" 10464 }, 10465 "endDateTime":{ 10466 "shape":"Timestamp", 10467 "documentation":"<p>The date and time that marks the end of the range of time for which you want to see utterance analytics.</p>" 10468 }, 10469 "sortBy":{ 10470 "shape":"UtteranceDataSortBy", 10471 "documentation":"<p>An object specifying the measure and method by which to sort the utterance analytics data.</p>" 10472 }, 10473 "filters":{ 10474 "shape":"AnalyticsUtteranceFilters", 10475 "documentation":"<p>A list of objects, each of which describes a condition by which you want to filter the results.</p>" 10476 }, 10477 "maxResults":{ 10478 "shape":"MaxResults", 10479 "documentation":"<p>The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.</p>" 10480 }, 10481 "nextToken":{ 10482 "shape":"NextToken", 10483 "documentation":"<p>If the response from the ListUtteranceAnalyticsData operation contains more results than specified in the maxResults parameter, a token is returned in the response.</p> <p>Use the returned token in the nextToken parameter of a ListUtteranceAnalyticsData request to return the next page of results. For a complete set of results, call the ListUtteranceAnalyticsData operation until the nextToken returned in the response is null.</p>" 10484 } 10485 } 10486 }, 10487 "ListUtteranceAnalyticsDataResponse":{ 10488 "type":"structure", 10489 "members":{ 10490 "botId":{ 10491 "shape":"Id", 10492 "documentation":"<p>The unique identifier of the bot that the utterances belong to.</p>" 10493 }, 10494 "nextToken":{ 10495 "shape":"NextToken", 10496 "documentation":"<p>If the response from the ListUtteranceAnalyticsData operation contains more results than specified in the maxResults parameter, a token is returned in the response.</p> <p>Use the returned token in the nextToken parameter of a ListUtteranceAnalyticsData request to return the next page of results. For a complete set of results, call the ListUtteranceAnalyticsData operation until the nextToken returned in the response is null.</p>" 10497 }, 10498 "utterances":{ 10499 "shape":"UtteranceSpecifications", 10500 "documentation":"<p>A list of objects, each of which contains information about an utterance in a user session with your bot.</p>" 10501 } 10502 } 10503 }, 10504 "ListUtteranceMetricsRequest":{ 10505 "type":"structure", 10506 "required":[ 10507 "botId", 10508 "startDateTime", 10509 "endDateTime", 10510 "metrics" 10511 ], 10512 "members":{ 10513 "botId":{ 10514 "shape":"Id", 10515 "documentation":"<p>The identifier for the bot for which you want to retrieve utterance metrics.</p>", 10516 "location":"uri", 10517 "locationName":"botId" 10518 }, 10519 "startDateTime":{ 10520 "shape":"Timestamp", 10521 "documentation":"<p>The date and time that marks the beginning of the range of time for which you want to see utterance metrics.</p>" 10522 }, 10523 "endDateTime":{ 10524 "shape":"Timestamp", 10525 "documentation":"<p>The date and time that marks the end of the range of time for which you want to see utterance metrics.</p>" 10526 }, 10527 "metrics":{ 10528 "shape":"AnalyticsUtteranceMetrics", 10529 "documentation":"<p>A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.</p>" 10530 }, 10531 "binBy":{ 10532 "shape":"AnalyticsBinByList", 10533 "documentation":"<p>A list of objects, each of which contains specifications for organizing the results by time.</p>" 10534 }, 10535 "groupBy":{ 10536 "shape":"AnalyticsUtteranceGroupByList", 10537 "documentation":"<p>A list of objects, each of which specifies how to group the results. You can group by the following criteria:</p> <ul> <li> <p> <code>UtteranceText</code> – The transcription of the utterance.</p> </li> <li> <p> <code>UtteranceState</code> – The state of the utterance. The possible states are detailed in <a href=\"https://docs.aws.amazon.com/analytics-key-definitions-utterances\">Key definitions</a> in the user guide.</p> </li> </ul>" 10538 }, 10539 "attributes":{ 10540 "shape":"AnalyticsUtteranceAttributes", 10541 "documentation":"<p>A list containing attributes related to the utterance that you want the response to return. The following attributes are possible:</p> <ul> <li> <p> <code>LastUsedIntent</code> – The last used intent at the time of the utterance.</p> </li> </ul>" 10542 }, 10543 "filters":{ 10544 "shape":"AnalyticsUtteranceFilters", 10545 "documentation":"<p>A list of objects, each of which describes a condition by which you want to filter the results.</p>" 10546 }, 10547 "maxResults":{ 10548 "shape":"MaxResults", 10549 "documentation":"<p>The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.</p>" 10550 }, 10551 "nextToken":{ 10552 "shape":"NextToken", 10553 "documentation":"<p>If the response from the ListUtteranceMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.</p> <p>Use the returned token in the nextToken parameter of a ListUtteranceMetrics request to return the next page of results. For a complete set of results, call the ListUtteranceMetrics operation until the nextToken returned in the response is null.</p>" 10554 } 10555 } 10556 }, 10557 "ListUtteranceMetricsResponse":{ 10558 "type":"structure", 10559 "members":{ 10560 "botId":{ 10561 "shape":"Id", 10562 "documentation":"<p>The identifier for the bot for which you retrieved utterance metrics.</p>" 10563 }, 10564 "results":{ 10565 "shape":"AnalyticsUtteranceResults", 10566 "documentation":"<p>The results for the utterance metrics.</p>" 10567 }, 10568 "nextToken":{ 10569 "shape":"NextToken", 10570 "documentation":"<p>If the response from the ListUtteranceMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.</p> <p>Use the returned token in the nextToken parameter of a ListUtteranceMetrics request to return the next page of results. For a complete set of results, call the ListUtteranceMetrics operation until the nextToken returned in the response is null.</p>" 10571 } 10572 } 10573 }, 10574 "LocaleId":{"type":"string"}, 10575 "LocaleName":{"type":"string"}, 10576 "LogPrefix":{ 10577 "type":"string", 10578 "max":1024 10579 }, 10580 "MaxResults":{ 10581 "type":"integer", 10582 "box":true, 10583 "max":1000, 10584 "min":1 10585 }, 10586 "MaxUtteranceDigits":{ 10587 "type":"integer", 10588 "max":1024, 10589 "min":1 10590 }, 10591 "MergeStrategy":{ 10592 "type":"string", 10593 "enum":[ 10594 "Overwrite", 10595 "FailOnConflict", 10596 "Append" 10597 ] 10598 }, 10599 "Message":{ 10600 "type":"structure", 10601 "members":{ 10602 "plainTextMessage":{ 10603 "shape":"PlainTextMessage", 10604 "documentation":"<p>A message in plain text format.</p>" 10605 }, 10606 "customPayload":{ 10607 "shape":"CustomPayload", 10608 "documentation":"<p>A message in a custom format defined by the client application.</p>" 10609 }, 10610 "ssmlMessage":{ 10611 "shape":"SSMLMessage", 10612 "documentation":"<p>A message in Speech Synthesis Markup Language (SSML).</p>" 10613 }, 10614 "imageResponseCard":{ 10615 "shape":"ImageResponseCard", 10616 "documentation":"<p>A message that defines a response card that the client application can show to the user.</p>" 10617 } 10618 }, 10619 "documentation":"<p>The object that provides message text and its type.</p>" 10620 }, 10621 "MessageGroup":{ 10622 "type":"structure", 10623 "required":["message"], 10624 "members":{ 10625 "message":{ 10626 "shape":"Message", 10627 "documentation":"<p>The primary message that Amazon Lex should send to the user.</p>" 10628 }, 10629 "variations":{ 10630 "shape":"MessageVariationsList", 10631 "documentation":"<p>Message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.</p>" 10632 } 10633 }, 10634 "documentation":"<p>Provides one or more messages that Amazon Lex should send to the user.</p>" 10635 }, 10636 "MessageGroupsList":{ 10637 "type":"list", 10638 "member":{"shape":"MessageGroup"}, 10639 "max":5, 10640 "min":1 10641 }, 10642 "MessageSelectionStrategy":{ 10643 "type":"string", 10644 "enum":[ 10645 "Random", 10646 "Ordered" 10647 ] 10648 }, 10649 "MessageVariationsList":{ 10650 "type":"list", 10651 "member":{"shape":"Message"}, 10652 "max":2, 10653 "min":0 10654 }, 10655 "MissedCount":{"type":"integer"}, 10656 "MultipleValuesSetting":{ 10657 "type":"structure", 10658 "members":{ 10659 "allowMultipleValues":{ 10660 "shape":"Boolean", 10661 "documentation":"<p>Indicates whether a slot can return multiple values. When <code>true</code>, the slot may return more than one value in a response. When <code>false</code>, the slot returns only a single value.</p> <p>Multi-value slots are only available in the en-US locale. If you set this value to <code>true</code> in any other locale, Amazon Lex throws a <code>ValidationException</code>.</p> <p>If the <code>allowMutlipleValues</code> is not set, the default value is <code>false</code>.</p>" 10662 } 10663 }, 10664 "documentation":"<p>Indicates whether a slot can return multiple values.</p>" 10665 }, 10666 "Name":{ 10667 "type":"string", 10668 "max":100, 10669 "min":1, 10670 "pattern":"^([0-9a-zA-Z][_-]?){1,100}$" 10671 }, 10672 "NewCustomVocabularyItem":{ 10673 "type":"structure", 10674 "required":["phrase"], 10675 "members":{ 10676 "phrase":{ 10677 "shape":"Phrase", 10678 "documentation":"<p>The unique phrase for the new custom vocabulary item from the custom vocabulary list.</p>" 10679 }, 10680 "weight":{ 10681 "shape":"Weight", 10682 "documentation":"<p>The weight assigned to the new custom vocabulary item from the custom vocabulary list.</p>" 10683 }, 10684 "displayAs":{ 10685 "shape":"Phrase", 10686 "documentation":"<p>The display as value assigned to the new custom vocabulary item from the custom vocabulary list.</p>" 10687 } 10688 }, 10689 "documentation":"<p>The new custom vocabulary item from the custom vocabulary list.</p>" 10690 }, 10691 "NextIndex":{ 10692 "type":"integer", 10693 "box":true, 10694 "max":10000000, 10695 "min":0 10696 }, 10697 "NextToken":{"type":"string"}, 10698 "NonEmptyString":{ 10699 "type":"string", 10700 "min":1 10701 }, 10702 "NumericalBotVersion":{ 10703 "type":"string", 10704 "max":5, 10705 "min":1, 10706 "pattern":"^[0-9]+$" 10707 }, 10708 "ObfuscationSetting":{ 10709 "type":"structure", 10710 "required":["obfuscationSettingType"], 10711 "members":{ 10712 "obfuscationSettingType":{ 10713 "shape":"ObfuscationSettingType", 10714 "documentation":"<p>Value that determines whether Amazon Lex obscures slot values in conversation logs. The default is to obscure the values.</p>" 10715 } 10716 }, 10717 "documentation":"<p>Determines whether Amazon Lex obscures slot values in conversation logs. </p>" 10718 }, 10719 "ObfuscationSettingType":{ 10720 "type":"string", 10721 "enum":[ 10722 "None", 10723 "DefaultObfuscation" 10724 ] 10725 }, 10726 "ObjectPrefix":{ 10727 "type":"string", 10728 "min":1, 10729 "pattern":"^[\\/]?+[a-zA-Z0-9!_.*'()-]+(\\/[a-zA-Z0-9!_.*'()-]+)*$" 10730 }, 10731 "ObjectPrefixes":{ 10732 "type":"list", 10733 "member":{"shape":"ObjectPrefix"}, 10734 "max":2, 10735 "min":1 10736 }, 10737 "Operation":{ 10738 "type":"string", 10739 "max":50, 10740 "min":5, 10741 "pattern":"lex:[a-zA-Z*]+$" 10742 }, 10743 "OperationList":{ 10744 "type":"list", 10745 "member":{"shape":"Operation"} 10746 }, 10747 "OutputContext":{ 10748 "type":"structure", 10749 "required":[ 10750 "name", 10751 "timeToLiveInSeconds", 10752 "turnsToLive" 10753 ], 10754 "members":{ 10755 "name":{ 10756 "shape":"Name", 10757 "documentation":"<p>The name of the output context.</p>" 10758 }, 10759 "timeToLiveInSeconds":{ 10760 "shape":"ContextTimeToLiveInSeconds", 10761 "documentation":"<p>The amount of time, in seconds, that the output context should remain active. The time is figured from the first time the context is sent to the user.</p>" 10762 }, 10763 "turnsToLive":{ 10764 "shape":"ContextTurnsToLive", 10765 "documentation":"<p>The number of conversation turns that the output context should remain active. The number of turns is counted from the first time that the context is sent to the user.</p>" 10766 } 10767 }, 10768 "documentation":"<p>Describes a session context that is activated when an intent is fulfilled.</p>" 10769 }, 10770 "OutputContextsList":{ 10771 "type":"list", 10772 "member":{"shape":"OutputContext"}, 10773 "max":10, 10774 "min":0 10775 }, 10776 "OverallTestResultItem":{ 10777 "type":"structure", 10778 "required":[ 10779 "multiTurnConversation", 10780 "totalResultCount", 10781 "endToEndResultCounts" 10782 ], 10783 "members":{ 10784 "multiTurnConversation":{ 10785 "shape":"Boolean", 10786 "documentation":"<p>Indicates whether the conversation contains multiple turns or not.</p>" 10787 }, 10788 "totalResultCount":{ 10789 "shape":"Count", 10790 "documentation":"<p>The total number of overall results in the result of the test execution.</p>" 10791 }, 10792 "speechTranscriptionResultCounts":{ 10793 "shape":"TestResultMatchStatusCountMap", 10794 "documentation":"<p>The number of speech transcription results in the overall test.</p>" 10795 }, 10796 "endToEndResultCounts":{ 10797 "shape":"TestResultMatchStatusCountMap", 10798 "documentation":"<p>The number of results that succeeded.</p>" 10799 } 10800 }, 10801 "documentation":"<p>Information about the overall results for a test execution result.</p>" 10802 }, 10803 "OverallTestResultItemList":{ 10804 "type":"list", 10805 "member":{"shape":"OverallTestResultItem"} 10806 }, 10807 "OverallTestResults":{ 10808 "type":"structure", 10809 "required":["items"], 10810 "members":{ 10811 "items":{ 10812 "shape":"OverallTestResultItemList", 10813 "documentation":"<p>A list of the overall test results.</p>" 10814 } 10815 }, 10816 "documentation":"<p>Information about the overall test results.</p>" 10817 }, 10818 "ParentBotNetwork":{ 10819 "type":"structure", 10820 "required":[ 10821 "botId", 10822 "botVersion" 10823 ], 10824 "members":{ 10825 "botId":{ 10826 "shape":"Id", 10827 "documentation":"<p>The identifier of the network of bots assigned by Amazon Lex.</p>" 10828 }, 10829 "botVersion":{ 10830 "shape":"BotVersion", 10831 "documentation":"<p>The version of the network of bots.</p>" 10832 } 10833 }, 10834 "documentation":"<p>A network of bots.</p>" 10835 }, 10836 "ParentBotNetworks":{ 10837 "type":"list", 10838 "member":{"shape":"ParentBotNetwork"}, 10839 "max":30, 10840 "min":0 10841 }, 10842 "PathFormat":{ 10843 "type":"structure", 10844 "members":{ 10845 "objectPrefixes":{ 10846 "shape":"ObjectPrefixes", 10847 "documentation":"<p>A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3 bucket. Specify this list if you only want Lex to read the files under this set of sub-folders.</p>" 10848 } 10849 }, 10850 "documentation":"<p>The object that contains a path format that will be applied when Amazon Lex reads the transcript file in the bucket you provide. Specify this object if you only want Lex to read a subset of files in your Amazon S3 bucket.</p>" 10851 }, 10852 "Phrase":{ 10853 "type":"string", 10854 "max":100, 10855 "min":1 10856 }, 10857 "PlainTextMessage":{ 10858 "type":"structure", 10859 "required":["value"], 10860 "members":{ 10861 "value":{ 10862 "shape":"PlainTextMessageValue", 10863 "documentation":"<p>The message to send to the user.</p>" 10864 } 10865 }, 10866 "documentation":"<p>Defines an ASCII text message to send to the user.</p>" 10867 }, 10868 "PlainTextMessageValue":{ 10869 "type":"string", 10870 "max":1000, 10871 "min":1 10872 }, 10873 "Policy":{ 10874 "type":"string", 10875 "min":2 10876 }, 10877 "PostDialogCodeHookInvocationSpecification":{ 10878 "type":"structure", 10879 "members":{ 10880 "successResponse":{"shape":"ResponseSpecification"}, 10881 "successNextStep":{ 10882 "shape":"DialogState", 10883 "documentation":"<p>Specifics the next step the bot runs after the dialog code hook finishes successfully. </p>" 10884 }, 10885 "successConditional":{ 10886 "shape":"ConditionalSpecification", 10887 "documentation":"<p>A list of conditional branches to evaluate after the dialog code hook finishes successfully.</p>" 10888 }, 10889 "failureResponse":{"shape":"ResponseSpecification"}, 10890 "failureNextStep":{ 10891 "shape":"DialogState", 10892 "documentation":"<p>Specifies the next step the bot runs after the dialog code hook throws an exception or returns with the <code>State</code> field of the <code>Intent</code> object set to <code>Failed</code>.</p>" 10893 }, 10894 "failureConditional":{ 10895 "shape":"ConditionalSpecification", 10896 "documentation":"<p>A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with the <code>State</code> field of the <code>Intent</code> object set to <code>Failed</code>.</p>" 10897 }, 10898 "timeoutResponse":{"shape":"ResponseSpecification"}, 10899 "timeoutNextStep":{ 10900 "shape":"DialogState", 10901 "documentation":"<p>Specifies the next step that the bot runs when the code hook times out.</p>" 10902 }, 10903 "timeoutConditional":{ 10904 "shape":"ConditionalSpecification", 10905 "documentation":"<p>A list of conditional branches to evaluate if the code hook times out.</p>" 10906 } 10907 }, 10908 "documentation":"<p>Specifies next steps to run after the dialog code hook finishes.</p>" 10909 }, 10910 "PostFulfillmentStatusSpecification":{ 10911 "type":"structure", 10912 "members":{ 10913 "successResponse":{"shape":"ResponseSpecification"}, 10914 "failureResponse":{"shape":"ResponseSpecification"}, 10915 "timeoutResponse":{"shape":"ResponseSpecification"}, 10916 "successNextStep":{ 10917 "shape":"DialogState", 10918 "documentation":"<p>Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.</p>" 10919 }, 10920 "successConditional":{ 10921 "shape":"ConditionalSpecification", 10922 "documentation":"<p>A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.</p>" 10923 }, 10924 "failureNextStep":{ 10925 "shape":"DialogState", 10926 "documentation":"<p>Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with the <code>State</code> field of the <code>Intent</code> object set to <code>Failed</code>.</p>" 10927 }, 10928 "failureConditional":{ 10929 "shape":"ConditionalSpecification", 10930 "documentation":"<p>A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with the <code>State</code> field of the <code>Intent</code> object set to <code>Failed</code>.</p>" 10931 }, 10932 "timeoutNextStep":{ 10933 "shape":"DialogState", 10934 "documentation":"<p>Specifies the next step that the bot runs when the fulfillment code hook times out.</p>" 10935 }, 10936 "timeoutConditional":{ 10937 "shape":"ConditionalSpecification", 10938 "documentation":"<p>A list of conditional branches to evaluate if the fulfillment code hook times out.</p>" 10939 } 10940 }, 10941 "documentation":"<p>Provides a setting that determines whether the post-fulfillment response is sent to the user. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete\">https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete</a> </p>" 10942 }, 10943 "PreconditionFailedException":{ 10944 "type":"structure", 10945 "members":{ 10946 "message":{"shape":"ExceptionMessage"} 10947 }, 10948 "documentation":"<p>Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.</p>", 10949 "error":{"httpStatusCode":412}, 10950 "exception":true 10951 }, 10952 "PresignedS3Url":{ 10953 "type":"string", 10954 "max":1024, 10955 "min":1 10956 }, 10957 "Principal":{ 10958 "type":"structure", 10959 "members":{ 10960 "service":{ 10961 "shape":"ServicePrincipal", 10962 "documentation":"<p>The name of the Amazon Web Services service that should allowed or denied access to an Amazon Lex action.</p>" 10963 }, 10964 "arn":{ 10965 "shape":"PrincipalArn", 10966 "documentation":"<p>The Amazon Resource Name (ARN) of the principal.</p>" 10967 } 10968 }, 10969 "documentation":"<p>The IAM principal that you allowing or denying access to an Amazon Lex action. You must provide a <code>service</code> or an <code>arn</code>, but not both in the same statement. For more information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html\"> AWS JSON policy elements: Principal </a>.</p>" 10970 }, 10971 "PrincipalArn":{ 10972 "type":"string", 10973 "max":1024, 10974 "min":30, 10975 "pattern":"^arn:aws:iam::[0-9]{12}:(root|(user|role)/.*)$" 10976 }, 10977 "PrincipalList":{ 10978 "type":"list", 10979 "member":{"shape":"Principal"} 10980 }, 10981 "PriorityValue":{ 10982 "type":"integer", 10983 "max":100, 10984 "min":0 10985 }, 10986 "PromptAttempt":{ 10987 "type":"string", 10988 "documentation":"<p>The attempt name of attempts of a prompt.</p>", 10989 "enum":[ 10990 "Initial", 10991 "Retry1", 10992 "Retry2", 10993 "Retry3", 10994 "Retry4", 10995 "Retry5" 10996 ] 10997 }, 10998 "PromptAttemptSpecification":{ 10999 "type":"structure", 11000 "required":["allowedInputTypes"], 11001 "members":{ 11002 "allowInterrupt":{ 11003 "shape":"BoxedBoolean", 11004 "documentation":"<p>Indicates whether the user can interrupt a speech prompt attempt from the bot.</p>" 11005 }, 11006 "allowedInputTypes":{ 11007 "shape":"AllowedInputTypes", 11008 "documentation":"<p>Indicates the allowed input types of the prompt attempt.</p>" 11009 }, 11010 "audioAndDTMFInputSpecification":{ 11011 "shape":"AudioAndDTMFInputSpecification", 11012 "documentation":"<p>Specifies the settings on audio and DTMF input.</p>" 11013 }, 11014 "textInputSpecification":{ 11015 "shape":"TextInputSpecification", 11016 "documentation":"<p>Specifies the settings on text input.</p>" 11017 } 11018 }, 11019 "documentation":"<p>Specifies the settings on a prompt attempt.</p>" 11020 }, 11021 "PromptAttemptsSpecificationMap":{ 11022 "type":"map", 11023 "key":{"shape":"PromptAttempt"}, 11024 "value":{"shape":"PromptAttemptSpecification"} 11025 }, 11026 "PromptMaxRetries":{ 11027 "type":"integer", 11028 "max":5, 11029 "min":0 11030 }, 11031 "PromptSpecification":{ 11032 "type":"structure", 11033 "required":[ 11034 "messageGroups", 11035 "maxRetries" 11036 ], 11037 "members":{ 11038 "messageGroups":{ 11039 "shape":"MessageGroupsList", 11040 "documentation":"<p>A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime.</p>" 11041 }, 11042 "maxRetries":{ 11043 "shape":"PromptMaxRetries", 11044 "documentation":"<p>The maximum number of times the bot tries to elicit a response from the user using this prompt.</p>" 11045 }, 11046 "allowInterrupt":{ 11047 "shape":"BoxedBoolean", 11048 "documentation":"<p>Indicates whether the user can interrupt a speech prompt from the bot.</p>" 11049 }, 11050 "messageSelectionStrategy":{ 11051 "shape":"MessageSelectionStrategy", 11052 "documentation":"<p>Indicates how a message is selected from a message group among retries.</p>" 11053 }, 11054 "promptAttemptsSpecification":{ 11055 "shape":"PromptAttemptsSpecificationMap", 11056 "documentation":"<p>Specifies the advanced settings on each attempt of the prompt.</p>" 11057 } 11058 }, 11059 "documentation":"<p>Specifies a list of message groups that Amazon Lex sends to a user to elicit a response.</p>" 11060 }, 11061 "QueryFilterString":{ 11062 "type":"string", 11063 "max":5000, 11064 "min":1 11065 }, 11066 "RecommendedAction":{"type":"string"}, 11067 "RecommendedActions":{ 11068 "type":"list", 11069 "member":{"shape":"RecommendedAction"} 11070 }, 11071 "RecommendedIntentSummary":{ 11072 "type":"structure", 11073 "members":{ 11074 "intentId":{ 11075 "shape":"Id", 11076 "documentation":"<p>The unique identifier of a recommended intent associated with the bot recommendation.</p>" 11077 }, 11078 "intentName":{ 11079 "shape":"Name", 11080 "documentation":"<p>The name of a recommended intent associated with the bot recommendation.</p>" 11081 }, 11082 "sampleUtterancesCount":{ 11083 "shape":"SampleUtterancesCount", 11084 "documentation":"<p>The count of sample utterances of a recommended intent that is associated with a bot recommendation.</p>" 11085 } 11086 }, 11087 "documentation":"<p>An object that contains a summary of a recommended intent.</p>" 11088 }, 11089 "RecommendedIntentSummaryList":{ 11090 "type":"list", 11091 "member":{"shape":"RecommendedIntentSummary"} 11092 }, 11093 "RecordNumber":{ 11094 "type":"long", 11095 "max":200000, 11096 "min":1 11097 }, 11098 "RegexPattern":{ 11099 "type":"string", 11100 "max":300, 11101 "min":1 11102 }, 11103 "RelativeAggregationDuration":{ 11104 "type":"structure", 11105 "required":[ 11106 "timeDimension", 11107 "timeValue" 11108 ], 11109 "members":{ 11110 "timeDimension":{ 11111 "shape":"TimeDimension", 11112 "documentation":"<p>The type of time period that the <code>timeValue</code> field represents. </p>" 11113 }, 11114 "timeValue":{ 11115 "shape":"TimeValue", 11116 "documentation":"<p>The period of the time window to gather statistics for. The valid value depends on the setting of the <code>timeDimension</code> field.</p> <ul> <li> <p> <code>Hours</code> - 1/3/6/12/24</p> </li> <li> <p> <code>Days</code> - 3</p> </li> <li> <p> <code>Weeks</code> - 1/2</p> </li> </ul>" 11117 } 11118 }, 11119 "documentation":"<p>Specifies the time window that utterance statistics are returned for. The time window is always relative to the last time that the that utterances were aggregated. For example, if the <code>ListAggregatedUtterances</code> operation is called at 1600, the time window is set to 1 hour, and the last refresh time was 1530, only utterances made between 1430 and 1530 are returned.</p> <p>You can choose the time window that statistics should be returned for.</p> <ul> <li> <p> <b>Hours</b> - You can request utterance statistics for 1, 3, 6, 12, or 24 hour time windows. Statistics are refreshed every half hour for 1 hour time windows, and hourly for the other time windows.</p> </li> <li> <p> <b>Days</b> - You can request utterance statistics for 3 days. Statistics are refreshed every 6 hours.</p> </li> <li> <p> <b>Weeks</b> - You can see statistics for one or two weeks. Statistics are refreshed every 12 hours for one week time windows, and once per day for two week time windows.</p> </li> </ul>" 11120 }, 11121 "ReplicaRegion":{ 11122 "type":"string", 11123 "documentation":"<p>The region that contains the replicated bots. Minimum value = 2, maximum value = 25.</p>", 11124 "max":25, 11125 "min":2 11126 }, 11127 "ResourceCount":{"type":"integer"}, 11128 "ResourceNotFoundException":{ 11129 "type":"structure", 11130 "members":{ 11131 "message":{"shape":"ExceptionMessage"} 11132 }, 11133 "documentation":"<p>You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.</p>", 11134 "error":{"httpStatusCode":404}, 11135 "exception":true 11136 }, 11137 "ResponseSpecification":{ 11138 "type":"structure", 11139 "required":["messageGroups"], 11140 "members":{ 11141 "messageGroups":{ 11142 "shape":"MessageGroupsList", 11143 "documentation":"<p>A collection of responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime.</p>" 11144 }, 11145 "allowInterrupt":{ 11146 "shape":"BoxedBoolean", 11147 "documentation":"<p>Indicates whether the user can interrupt a speech response from Amazon Lex.</p>" 11148 } 11149 }, 11150 "documentation":"<p>Specifies a list of message groups that Amazon Lex uses to respond the user input.</p>" 11151 }, 11152 "RetryAfterSeconds":{"type":"integer"}, 11153 "RevisionId":{ 11154 "type":"string", 11155 "max":5, 11156 "min":1, 11157 "pattern":"^[0-9]+$" 11158 }, 11159 "RoleArn":{ 11160 "type":"string", 11161 "max":2048, 11162 "min":32, 11163 "pattern":"^arn:aws:iam::[0-9]{12}:role/.*$" 11164 }, 11165 "RuntimeHintDetails":{ 11166 "type":"structure", 11167 "members":{ 11168 "runtimeHintValues":{ 11169 "shape":"RuntimeHintValuesList", 11170 "documentation":"<p>One or more strings that Amazon Lex should look for in the input to the bot. Each phrase is given preference when deciding on slot values.</p>" 11171 }, 11172 "subSlotHints":{ 11173 "shape":"SlotHintsSlotMap", 11174 "documentation":"<p>A map of constituent sub slot names inside a composite slot in the intent and the phrases that should be added for each sub slot. Inside each composite slot hints, this structure provides a mechanism to add granular sub slot phrases. Only sub slot hints are supported for composite slots. The intent name, composite slot name and the constituent sub slot names must exist.</p>" 11175 } 11176 }, 11177 "documentation":"<p>Provides an array of phrases that should be given preference when resolving values for a slot.</p>" 11178 }, 11179 "RuntimeHintPhrase":{ 11180 "type":"string", 11181 "max":140, 11182 "min":1 11183 }, 11184 "RuntimeHintValue":{ 11185 "type":"structure", 11186 "required":["phrase"], 11187 "members":{ 11188 "phrase":{ 11189 "shape":"RuntimeHintPhrase", 11190 "documentation":"<p>The phrase that Amazon Lex should look for in the user's input to the bot.</p>" 11191 } 11192 }, 11193 "documentation":"<p>Provides the phrase that Amazon Lex should look for in the user's input to the bot.</p>" 11194 }, 11195 "RuntimeHintValuesList":{ 11196 "type":"list", 11197 "member":{"shape":"RuntimeHintValue"}, 11198 "max":100, 11199 "min":1 11200 }, 11201 "RuntimeHints":{ 11202 "type":"structure", 11203 "members":{ 11204 "slotHints":{ 11205 "shape":"SlotHintsIntentMap", 11206 "documentation":"<p>A list of the slots in the intent that should have runtime hints added, and the phrases that should be added for each slot.</p> <p>The first level of the <code>slotHints</code> map is the name of the intent. The second level is the name of the slot within the intent. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/using-hints.html\">Using hints to improve accuracy</a>.</p> <p>The intent name and slot name must exist.</p>" 11207 } 11208 }, 11209 "documentation":"<p>You can provide Amazon Lex with hints to the phrases that a customer is likely to use for a slot. When a slot with hints is resolved, the phrases in the runtime hints are preferred in the resolution. You can provide hints for a maximum of 100 intents. You can provide a maximum of 100 slots.</p> <p>Before you can use runtime hints with an existing bot, you must first rebuild the bot.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/using-hints.html\">Using runtime hints to improve recognition of slot values</a>.</p>" 11210 }, 11211 "RuntimeSettings":{ 11212 "type":"structure", 11213 "members":{ 11214 "slotResolutionImprovement":{ 11215 "shape":"SlotResolutionImprovementSpecification", 11216 "documentation":"<p>An object containing specifications for the assisted slot resolution feature.</p>" 11217 } 11218 }, 11219 "documentation":"<p>Contains specifications about the Amazon Lex runtime generative AI capabilities from Amazon Bedrock that you can turn on for your bot.</p>" 11220 }, 11221 "S3BucketArn":{ 11222 "type":"string", 11223 "max":2048, 11224 "min":1, 11225 "pattern":"^arn:[\\w\\-]+:s3:::[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]$" 11226 }, 11227 "S3BucketLogDestination":{ 11228 "type":"structure", 11229 "required":[ 11230 "s3BucketArn", 11231 "logPrefix" 11232 ], 11233 "members":{ 11234 "kmsKeyArn":{ 11235 "shape":"KmsKeyArn", 11236 "documentation":"<p>The Amazon Resource Name (ARN) of an Amazon Web Services Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.</p>" 11237 }, 11238 "s3BucketArn":{ 11239 "shape":"S3BucketArn", 11240 "documentation":"<p>The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.</p>" 11241 }, 11242 "logPrefix":{ 11243 "shape":"LogPrefix", 11244 "documentation":"<p>The S3 prefix to assign to audio log files.</p>" 11245 } 11246 }, 11247 "documentation":"<p>Specifies an Amazon S3 bucket for logging audio conversations</p>" 11248 }, 11249 "S3BucketName":{ 11250 "type":"string", 11251 "max":63, 11252 "min":3, 11253 "pattern":"^[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]$" 11254 }, 11255 "S3BucketTranscriptSource":{ 11256 "type":"structure", 11257 "required":[ 11258 "s3BucketName", 11259 "transcriptFormat" 11260 ], 11261 "members":{ 11262 "s3BucketName":{ 11263 "shape":"S3BucketName", 11264 "documentation":"<p>The name of the bucket containing the transcript and the associated metadata.</p>" 11265 }, 11266 "pathFormat":{ 11267 "shape":"PathFormat", 11268 "documentation":"<p>The object that contains a path format that will be applied when Amazon Lex reads the transcript file in the bucket you provide. Specify this object if you only want Lex to read a subset of files in your Amazon S3 bucket.</p>" 11269 }, 11270 "transcriptFormat":{ 11271 "shape":"TranscriptFormat", 11272 "documentation":"<p>The format of the transcript content. Currently, Genie only supports the Amazon Lex transcript format.</p>" 11273 }, 11274 "transcriptFilter":{ 11275 "shape":"TranscriptFilter", 11276 "documentation":"<p>The object that contains the filter which will be applied when Amazon Lex reads through the Amazon S3 bucket. Specify this object if you want Amazon Lex to read only a subset of the Amazon S3 bucket based on the filter you provide.</p>" 11277 }, 11278 "kmsKeyArn":{ 11279 "shape":"KmsKeyArn", 11280 "documentation":"<p>The ARN of the KMS key that customer use to encrypt their Amazon S3 bucket. Only use this field if your bucket is encrypted using a customer managed KMS key.</p>" 11281 } 11282 }, 11283 "documentation":"<p>The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.</p>" 11284 }, 11285 "S3ObjectPath":{ 11286 "type":"string", 11287 "max":1024, 11288 "min":1, 11289 "pattern":"[\\.\\-\\!\\*\\_\\'\\(\\)a-zA-Z0-9][\\.\\-\\!\\*\\_\\'\\(\\)\\/a-zA-Z0-9]*$" 11290 }, 11291 "SSMLMessage":{ 11292 "type":"structure", 11293 "required":["value"], 11294 "members":{ 11295 "value":{ 11296 "shape":"SSMLMessageValue", 11297 "documentation":"<p>The SSML text that defines the prompt.</p>" 11298 } 11299 }, 11300 "documentation":"<p>Defines a Speech Synthesis Markup Language (SSML) prompt.</p>" 11301 }, 11302 "SSMLMessageValue":{ 11303 "type":"string", 11304 "max":1000, 11305 "min":1 11306 }, 11307 "SampleUtterance":{ 11308 "type":"structure", 11309 "required":["utterance"], 11310 "members":{ 11311 "utterance":{ 11312 "shape":"Utterance", 11313 "documentation":"<p>The sample utterance that Amazon Lex uses to build its machine-learning model to recognize intents.</p>" 11314 } 11315 }, 11316 "documentation":"<p>A sample utterance that invokes an intent or respond to a slot elicitation prompt.</p>" 11317 }, 11318 "SampleUtteranceGenerationSpecification":{ 11319 "type":"structure", 11320 "required":["enabled"], 11321 "members":{ 11322 "enabled":{ 11323 "shape":"Boolean", 11324 "documentation":"<p>Specifies whether to enable sample utterance generation or not.</p>" 11325 }, 11326 "bedrockModelSpecification":{"shape":"BedrockModelSpecification"} 11327 }, 11328 "documentation":"<p>Contains specifications for the sample utterance generation feature.</p>" 11329 }, 11330 "SampleUtterancesCount":{"type":"integer"}, 11331 "SampleUtterancesList":{ 11332 "type":"list", 11333 "member":{"shape":"SampleUtterance"} 11334 }, 11335 "SampleValue":{ 11336 "type":"structure", 11337 "required":["value"], 11338 "members":{ 11339 "value":{ 11340 "shape":"Value", 11341 "documentation":"<p>The value that can be used for a slot type.</p>" 11342 } 11343 }, 11344 "documentation":"<p>Defines one of the values for a slot type.</p>" 11345 }, 11346 "SearchAssociatedTranscriptsRequest":{ 11347 "type":"structure", 11348 "required":[ 11349 "botId", 11350 "botVersion", 11351 "localeId", 11352 "botRecommendationId", 11353 "filters" 11354 ], 11355 "members":{ 11356 "botId":{ 11357 "shape":"Id", 11358 "documentation":"<p>The unique identifier of the bot associated with the transcripts that you are searching.</p>", 11359 "location":"uri", 11360 "locationName":"botId" 11361 }, 11362 "botVersion":{ 11363 "shape":"BotVersion", 11364 "documentation":"<p>The version of the bot containing the transcripts that you are searching.</p>", 11365 "location":"uri", 11366 "locationName":"botVersion" 11367 }, 11368 "localeId":{ 11369 "shape":"LocaleId", 11370 "documentation":"<p>The identifier of the language and locale of the transcripts to search. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a> </p>", 11371 "location":"uri", 11372 "locationName":"localeId" 11373 }, 11374 "botRecommendationId":{ 11375 "shape":"Id", 11376 "documentation":"<p>The unique identifier of the bot recommendation associated with the transcripts to search.</p>", 11377 "location":"uri", 11378 "locationName":"botRecommendationId" 11379 }, 11380 "searchOrder":{ 11381 "shape":"SearchOrder", 11382 "documentation":"<p>How SearchResults are ordered. Valid values are Ascending or Descending. The default is Descending.</p>" 11383 }, 11384 "filters":{ 11385 "shape":"AssociatedTranscriptFilters", 11386 "documentation":"<p>A list of filter objects.</p>" 11387 }, 11388 "maxResults":{ 11389 "shape":"MaxResults", 11390 "documentation":"<p>The maximum number of bot recommendations to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.</p>" 11391 }, 11392 "nextIndex":{ 11393 "shape":"NextIndex", 11394 "documentation":"<p>If the response from the SearchAssociatedTranscriptsRequest operation contains more results than specified in the maxResults parameter, an index is returned in the response. Use that index in the nextIndex parameter to return the next page of results.</p>" 11395 } 11396 } 11397 }, 11398 "SearchAssociatedTranscriptsResponse":{ 11399 "type":"structure", 11400 "members":{ 11401 "botId":{ 11402 "shape":"Id", 11403 "documentation":"<p>The unique identifier of the bot associated with the transcripts that you are searching.</p>" 11404 }, 11405 "botVersion":{ 11406 "shape":"BotVersion", 11407 "documentation":"<p>The version of the bot containing the transcripts that you are searching.</p>" 11408 }, 11409 "localeId":{ 11410 "shape":"LocaleId", 11411 "documentation":"<p>The identifier of the language and locale of the transcripts to search. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a> </p>" 11412 }, 11413 "botRecommendationId":{ 11414 "shape":"Id", 11415 "documentation":"<p> The unique identifier of the bot recommendation associated with the transcripts to search.</p>" 11416 }, 11417 "nextIndex":{ 11418 "shape":"NextIndex", 11419 "documentation":"<p>A index that indicates whether there are more results to return in a response to the SearchAssociatedTranscripts operation. If the nextIndex field is present, you send the contents as the nextIndex parameter of a SearchAssociatedTranscriptsRequest operation to get the next page of results.</p>" 11420 }, 11421 "associatedTranscripts":{ 11422 "shape":"AssociatedTranscriptList", 11423 "documentation":"<p>The object that contains the associated transcript that meet the criteria you specified.</p>" 11424 }, 11425 "totalResults":{ 11426 "shape":"MaxResults", 11427 "documentation":"<p>The total number of transcripts returned by the search.</p>" 11428 } 11429 } 11430 }, 11431 "SearchOrder":{ 11432 "type":"string", 11433 "enum":[ 11434 "Ascending", 11435 "Descending" 11436 ] 11437 }, 11438 "SentimentAnalysisSettings":{ 11439 "type":"structure", 11440 "required":["detectSentiment"], 11441 "members":{ 11442 "detectSentiment":{ 11443 "shape":"Boolean", 11444 "documentation":"<p>Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.</p>" 11445 } 11446 }, 11447 "documentation":"<p>Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.</p>" 11448 }, 11449 "ServicePrincipal":{ 11450 "type":"string", 11451 "max":1024, 11452 "min":15, 11453 "pattern":"^[0-9a-zA-Z_.]+$" 11454 }, 11455 "ServiceQuotaExceededException":{ 11456 "type":"structure", 11457 "members":{ 11458 "message":{"shape":"ExceptionMessage"} 11459 }, 11460 "documentation":"<p>You have reached a quota for your bot. </p>", 11461 "error":{"httpStatusCode":402}, 11462 "exception":true 11463 }, 11464 "SessionDataSortBy":{ 11465 "type":"structure", 11466 "required":[ 11467 "name", 11468 "order" 11469 ], 11470 "members":{ 11471 "name":{ 11472 "shape":"AnalyticsSessionSortByName", 11473 "documentation":"<p>The measure by which to sort the session analytics data.</p> <ul> <li> <p> <code>conversationStartTime</code> – The date and time when the conversation began. A conversation is defined as a unique combination of a <code>sessionId</code> and an <code>originatingRequestId</code>.</p> </li> <li> <p> <code>numberOfTurns</code> – The number of turns that the session took.</p> </li> <li> <p> <code>conversationDurationSeconds</code> – The duration of the conversation in seconds.</p> </li> </ul>" 11474 }, 11475 "order":{ 11476 "shape":"AnalyticsSortOrder", 11477 "documentation":"<p>Specifies whether to sort the results in ascending or descending order.</p>" 11478 } 11479 }, 11480 "documentation":"<p>An object specifying the measure and method by which to sort the session analytics data.</p>" 11481 }, 11482 "SessionId":{ 11483 "type":"string", 11484 "max":100, 11485 "min":2, 11486 "pattern":"[0-9a-zA-Z._:-]+" 11487 }, 11488 "SessionSpecification":{ 11489 "type":"structure", 11490 "members":{ 11491 "botAliasId":{ 11492 "shape":"BotAliasId", 11493 "documentation":"<p>The identifier of the alias of the bot that the session was held with.</p>" 11494 }, 11495 "botVersion":{ 11496 "shape":"NumericalBotVersion", 11497 "documentation":"<p>The version of the bot that the session was held with.</p>" 11498 }, 11499 "localeId":{ 11500 "shape":"LocaleId", 11501 "documentation":"<p>The locale of the bot that the session was held with.</p>" 11502 }, 11503 "channel":{ 11504 "shape":"AnalyticsChannel", 11505 "documentation":"<p>The channel that is integrated with the bot that the session was held with.</p>" 11506 }, 11507 "sessionId":{ 11508 "shape":"AnalyticsSessionId", 11509 "documentation":"<p>The identifier of the session.</p>" 11510 }, 11511 "conversationStartTime":{ 11512 "shape":"Timestamp", 11513 "documentation":"<p>The date and time when the conversation began. A conversation is defined as a unique combination of a <code>sessionId</code> and an <code>originatingRequestId</code>.</p>" 11514 }, 11515 "conversationEndTime":{ 11516 "shape":"Timestamp", 11517 "documentation":"<p>The date and time when the conversation ended. A conversation is defined as a unique combination of a <code>sessionId</code> and an <code>originatingRequestId</code>.</p>" 11518 }, 11519 "conversationDurationSeconds":{ 11520 "shape":"AnalyticsLongValue", 11521 "documentation":"<p>The duration of the conversation in seconds. A conversation is defined as a unique combination of a <code>sessionId</code> and an <code>originatingRequestId</code>.</p>" 11522 }, 11523 "conversationEndState":{ 11524 "shape":"ConversationEndState", 11525 "documentation":"<p>The final state of the conversation. A conversation is defined as a unique combination of a <code>sessionId</code> and an <code>originatingRequestId</code>.</p>" 11526 }, 11527 "mode":{ 11528 "shape":"AnalyticsModality", 11529 "documentation":"<p>The mode of the session. The possible values are as follows:</p> <ul> <li> <p> <code>Speech</code> – The session was spoken.</p> </li> <li> <p> <code>Text</code> – The session was written.</p> </li> <li> <p> <code>DTMF</code> – The session used a touch-tone keypad (Dual Tone Multi-Frequency).</p> </li> <li> <p> <code>MultiMode</code> – The session used multiple modes.</p> </li> </ul>" 11530 }, 11531 "numberOfTurns":{ 11532 "shape":"AnalyticsLongValue", 11533 "documentation":"<p>The number of turns that the session took.</p>" 11534 }, 11535 "invokedIntentSamples":{ 11536 "shape":"InvokedIntentSamples", 11537 "documentation":"<p>A list of objects containing the name of an intent that was invoked.</p>" 11538 }, 11539 "originatingRequestId":{ 11540 "shape":"AnalyticsOriginatingRequestId", 11541 "documentation":"<p>The identifier of the first request in a session.</p>" 11542 } 11543 }, 11544 "documentation":"<p>An object containing information about a specific session.</p>" 11545 }, 11546 "SessionSpecifications":{ 11547 "type":"list", 11548 "member":{"shape":"SessionSpecification"} 11549 }, 11550 "SessionTTL":{ 11551 "type":"integer", 11552 "max":86400, 11553 "min":60 11554 }, 11555 "SkipResourceInUseCheck":{"type":"boolean"}, 11556 "SlotCaptureSetting":{ 11557 "type":"structure", 11558 "members":{ 11559 "captureResponse":{"shape":"ResponseSpecification"}, 11560 "captureNextStep":{ 11561 "shape":"DialogState", 11562 "documentation":"<p>Specifies the next step that the bot runs when the slot value is captured before the code hook times out.</p>" 11563 }, 11564 "captureConditional":{ 11565 "shape":"ConditionalSpecification", 11566 "documentation":"<p>A list of conditional branches to evaluate after the slot value is captured.</p>" 11567 }, 11568 "failureResponse":{"shape":"ResponseSpecification"}, 11569 "failureNextStep":{ 11570 "shape":"DialogState", 11571 "documentation":"<p>Specifies the next step that the bot runs when the slot value code is not recognized.</p>" 11572 }, 11573 "failureConditional":{ 11574 "shape":"ConditionalSpecification", 11575 "documentation":"<p>A list of conditional branches to evaluate when the slot value isn't captured.</p>" 11576 }, 11577 "codeHook":{ 11578 "shape":"DialogCodeHookInvocationSetting", 11579 "documentation":"<p>Code hook called after Amazon Lex successfully captures a slot value.</p>" 11580 }, 11581 "elicitationCodeHook":{ 11582 "shape":"ElicitationCodeHookInvocationSetting", 11583 "documentation":"<p>Code hook called when Amazon Lex doesn't capture a slot value.</p>" 11584 } 11585 }, 11586 "documentation":"<p>Settings used when Amazon Lex successfully captures a slot value from a user.</p>" 11587 }, 11588 "SlotConstraint":{ 11589 "type":"string", 11590 "enum":[ 11591 "Required", 11592 "Optional" 11593 ] 11594 }, 11595 "SlotDefaultValue":{ 11596 "type":"structure", 11597 "required":["defaultValue"], 11598 "members":{ 11599 "defaultValue":{ 11600 "shape":"SlotDefaultValueString", 11601 "documentation":"<p>The default value to use when a user doesn't provide a value for a slot.</p>" 11602 } 11603 }, 11604 "documentation":"<p>Specifies the default value to use when a user doesn't provide a value for a slot.</p>" 11605 }, 11606 "SlotDefaultValueList":{ 11607 "type":"list", 11608 "member":{"shape":"SlotDefaultValue"}, 11609 "max":10, 11610 "min":0 11611 }, 11612 "SlotDefaultValueSpecification":{ 11613 "type":"structure", 11614 "required":["defaultValueList"], 11615 "members":{ 11616 "defaultValueList":{ 11617 "shape":"SlotDefaultValueList", 11618 "documentation":"<p>A list of default values. Amazon Lex chooses the default value to use in the order that they are presented in the list.</p>" 11619 } 11620 }, 11621 "documentation":"<p>Defines a list of values that Amazon Lex should use as the default value for a slot.</p>" 11622 }, 11623 "SlotDefaultValueString":{ 11624 "type":"string", 11625 "max":202, 11626 "min":1 11627 }, 11628 "SlotFilter":{ 11629 "type":"structure", 11630 "required":[ 11631 "name", 11632 "values", 11633 "operator" 11634 ], 11635 "members":{ 11636 "name":{ 11637 "shape":"SlotFilterName", 11638 "documentation":"<p>The name of the field to use for filtering.</p>" 11639 }, 11640 "values":{ 11641 "shape":"FilterValues", 11642 "documentation":"<p>The value to use to filter the response.</p>" 11643 }, 11644 "operator":{ 11645 "shape":"SlotFilterOperator", 11646 "documentation":"<p>The operator to use for the filter. Specify <code>EQ</code> when the <code>ListSlots</code> operation should return only aliases that equal the specified value. Specify <code>CO</code> when the <code>ListSlots</code> operation should return aliases that contain the specified value.</p>" 11647 } 11648 }, 11649 "documentation":"<p>Filters the response from the <code>ListSlots</code> operation.</p>" 11650 }, 11651 "SlotFilterName":{ 11652 "type":"string", 11653 "enum":["SlotName"] 11654 }, 11655 "SlotFilterOperator":{ 11656 "type":"string", 11657 "enum":[ 11658 "CO", 11659 "EQ" 11660 ] 11661 }, 11662 "SlotFilters":{ 11663 "type":"list", 11664 "member":{"shape":"SlotFilter"}, 11665 "max":1, 11666 "min":1 11667 }, 11668 "SlotHintsIntentMap":{ 11669 "type":"map", 11670 "key":{"shape":"Name"}, 11671 "value":{"shape":"SlotHintsSlotMap"} 11672 }, 11673 "SlotHintsSlotMap":{ 11674 "type":"map", 11675 "key":{"shape":"Name"}, 11676 "value":{"shape":"RuntimeHintDetails"} 11677 }, 11678 "SlotPrioritiesList":{ 11679 "type":"list", 11680 "member":{"shape":"SlotPriority"} 11681 }, 11682 "SlotPriority":{ 11683 "type":"structure", 11684 "required":[ 11685 "priority", 11686 "slotId" 11687 ], 11688 "members":{ 11689 "priority":{ 11690 "shape":"PriorityValue", 11691 "documentation":"<p>The priority that Amazon Lex should apply to the slot.</p>" 11692 }, 11693 "slotId":{ 11694 "shape":"Id", 11695 "documentation":"<p>The unique identifier of the slot.</p>" 11696 } 11697 }, 11698 "documentation":"<p>Sets the priority that Amazon Lex should use when eliciting slot values from a user.</p>" 11699 }, 11700 "SlotResolutionImprovementSpecification":{ 11701 "type":"structure", 11702 "required":["enabled"], 11703 "members":{ 11704 "enabled":{ 11705 "shape":"Enabled", 11706 "documentation":"<p>Specifies whether assisted slot resolution is turned on or off.</p>" 11707 }, 11708 "bedrockModelSpecification":{ 11709 "shape":"BedrockModelSpecification", 11710 "documentation":"<p>An object containing information about the Amazon Bedrock model used to assist slot resolution.</p>" 11711 } 11712 }, 11713 "documentation":"<p>Contains specifications for the assisted slot resolution feature.</p>" 11714 }, 11715 "SlotResolutionSetting":{ 11716 "type":"structure", 11717 "required":["slotResolutionStrategy"], 11718 "members":{ 11719 "slotResolutionStrategy":{ 11720 "shape":"SlotResolutionStrategy", 11721 "documentation":"<p>Specifies whether assisted slot resolution is turned on for the slot or not. If the value is <code>EnhancedFallback</code>, assisted slot resolution is activated when Amazon Lex defaults to the <code>AMAZON.FallbackIntent</code>. If the value is <code>Default</code>, assisted slot resolution is turned off.</p>" 11722 } 11723 }, 11724 "documentation":"<p>Contains information about whether assisted slot resolution is turned on for the slot or not.</p>" 11725 }, 11726 "SlotResolutionStrategy":{ 11727 "type":"string", 11728 "enum":[ 11729 "EnhancedFallback", 11730 "Default" 11731 ] 11732 }, 11733 "SlotResolutionTestResultItem":{ 11734 "type":"structure", 11735 "required":[ 11736 "slotName", 11737 "resultCounts" 11738 ], 11739 "members":{ 11740 "slotName":{ 11741 "shape":"TestResultSlotName", 11742 "documentation":"<p>The name of the slot.</p>" 11743 }, 11744 "resultCounts":{ 11745 "shape":"SlotResolutionTestResultItemCounts", 11746 "documentation":"<p>A result for slot resolution in the results of a test execution.</p>" 11747 } 11748 }, 11749 "documentation":"<p>Information about the success and failure rate of slot resolution in the results of a test execution.</p>" 11750 }, 11751 "SlotResolutionTestResultItemCounts":{ 11752 "type":"structure", 11753 "required":[ 11754 "totalResultCount", 11755 "slotMatchResultCounts" 11756 ], 11757 "members":{ 11758 "totalResultCount":{ 11759 "shape":"Count", 11760 "documentation":"<p>The total number of results.</p>" 11761 }, 11762 "speechTranscriptionResultCounts":{ 11763 "shape":"TestResultMatchStatusCountMap", 11764 "documentation":"<p>The number of matched, mismatched and execution error results for speech transcription for the slot.</p>" 11765 }, 11766 "slotMatchResultCounts":{ 11767 "shape":"TestResultMatchStatusCountMap", 11768 "documentation":"<p>The number of matched and mismatched results for slot resolution for the slot.</p>" 11769 } 11770 }, 11771 "documentation":"<p>Information about the counts for a slot resolution in the results of a test execution.</p>" 11772 }, 11773 "SlotResolutionTestResultItems":{ 11774 "type":"list", 11775 "member":{"shape":"SlotResolutionTestResultItem"} 11776 }, 11777 "SlotShape":{ 11778 "type":"string", 11779 "enum":[ 11780 "Scalar", 11781 "List" 11782 ] 11783 }, 11784 "SlotSortAttribute":{ 11785 "type":"string", 11786 "enum":[ 11787 "SlotName", 11788 "LastUpdatedDateTime" 11789 ] 11790 }, 11791 "SlotSortBy":{ 11792 "type":"structure", 11793 "required":[ 11794 "attribute", 11795 "order" 11796 ], 11797 "members":{ 11798 "attribute":{ 11799 "shape":"SlotSortAttribute", 11800 "documentation":"<p>The attribute to use to sort the list.</p>" 11801 }, 11802 "order":{ 11803 "shape":"SortOrder", 11804 "documentation":"<p>The order to sort the list. You can choose ascending or descending.</p>" 11805 } 11806 }, 11807 "documentation":"<p>Specifies attributes for sorting a list of bots.</p>" 11808 }, 11809 "SlotSummary":{ 11810 "type":"structure", 11811 "members":{ 11812 "slotId":{ 11813 "shape":"Id", 11814 "documentation":"<p>The unique identifier of the slot.</p>" 11815 }, 11816 "slotName":{ 11817 "shape":"Name", 11818 "documentation":"<p>The name given to the slot.</p>" 11819 }, 11820 "description":{ 11821 "shape":"Description", 11822 "documentation":"<p>The description of the slot.</p>" 11823 }, 11824 "slotConstraint":{ 11825 "shape":"SlotConstraint", 11826 "documentation":"<p>Whether the slot is required or optional. An intent is complete when all required slots are filled.</p>" 11827 }, 11828 "slotTypeId":{ 11829 "shape":"BuiltInOrCustomSlotTypeId", 11830 "documentation":"<p>The unique identifier for the slot type that defines the values for the slot.</p>" 11831 }, 11832 "valueElicitationPromptSpecification":{ 11833 "shape":"PromptSpecification", 11834 "documentation":"<p>Prompts that are sent to the user to elicit a value for the slot.</p>" 11835 }, 11836 "lastUpdatedDateTime":{ 11837 "shape":"Timestamp", 11838 "documentation":"<p>The timestamp of the last date and time that the slot was updated.</p>" 11839 } 11840 }, 11841 "documentation":"<p>Summary information about a slot, a value that the bot elicits from the user.</p>" 11842 }, 11843 "SlotSummaryList":{ 11844 "type":"list", 11845 "member":{"shape":"SlotSummary"} 11846 }, 11847 "SlotTypeCategory":{ 11848 "type":"string", 11849 "enum":[ 11850 "Custom", 11851 "Extended", 11852 "ExternalGrammar", 11853 "Composite" 11854 ] 11855 }, 11856 "SlotTypeFilter":{ 11857 "type":"structure", 11858 "required":[ 11859 "name", 11860 "values", 11861 "operator" 11862 ], 11863 "members":{ 11864 "name":{ 11865 "shape":"SlotTypeFilterName", 11866 "documentation":"<p>The name of the field to use for filtering.</p>" 11867 }, 11868 "values":{ 11869 "shape":"FilterValues", 11870 "documentation":"<p>The value to use to filter the response.</p>" 11871 }, 11872 "operator":{ 11873 "shape":"SlotTypeFilterOperator", 11874 "documentation":"<p>The operator to use for the filter. Specify <code>EQ</code> when the <code>ListSlotTypes</code> operation should return only aliases that equal the specified value. Specify <code>CO</code> when the <code>ListSlotTypes</code> operation should return aliases that contain the specified value.</p>" 11875 } 11876 }, 11877 "documentation":"<p>Filters the response from the <code>ListSlotTypes</code> operation.</p>" 11878 }, 11879 "SlotTypeFilterName":{ 11880 "type":"string", 11881 "enum":[ 11882 "SlotTypeName", 11883 "ExternalSourceType" 11884 ] 11885 }, 11886 "SlotTypeFilterOperator":{ 11887 "type":"string", 11888 "enum":[ 11889 "CO", 11890 "EQ" 11891 ] 11892 }, 11893 "SlotTypeFilters":{ 11894 "type":"list", 11895 "member":{"shape":"SlotTypeFilter"}, 11896 "max":1, 11897 "min":1 11898 }, 11899 "SlotTypeSignature":{"type":"string"}, 11900 "SlotTypeSortAttribute":{ 11901 "type":"string", 11902 "enum":[ 11903 "SlotTypeName", 11904 "LastUpdatedDateTime" 11905 ] 11906 }, 11907 "SlotTypeSortBy":{ 11908 "type":"structure", 11909 "required":[ 11910 "attribute", 11911 "order" 11912 ], 11913 "members":{ 11914 "attribute":{ 11915 "shape":"SlotTypeSortAttribute", 11916 "documentation":"<p>The attribute to use to sort the list of slot types.</p>" 11917 }, 11918 "order":{ 11919 "shape":"SortOrder", 11920 "documentation":"<p>The order to sort the list. You can say ascending or descending.</p>" 11921 } 11922 }, 11923 "documentation":"<p>Specifies attributes for sorting a list of slot types.</p>" 11924 }, 11925 "SlotTypeStatistics":{ 11926 "type":"structure", 11927 "members":{ 11928 "discoveredSlotTypeCount":{ 11929 "shape":"Count", 11930 "documentation":"<p>The number of recommended slot types associated with the bot recommendation.</p>" 11931 } 11932 }, 11933 "documentation":"<p>The object that contains the statistical summary of the recommended slot type associated with the bot recommendation.</p>" 11934 }, 11935 "SlotTypeSummary":{ 11936 "type":"structure", 11937 "members":{ 11938 "slotTypeId":{ 11939 "shape":"Id", 11940 "documentation":"<p>The unique identifier assigned to the slot type.</p>" 11941 }, 11942 "slotTypeName":{ 11943 "shape":"Name", 11944 "documentation":"<p>The name of the slot type.</p>" 11945 }, 11946 "description":{ 11947 "shape":"Description", 11948 "documentation":"<p>The description of the slot type.</p>" 11949 }, 11950 "parentSlotTypeSignature":{ 11951 "shape":"SlotTypeSignature", 11952 "documentation":"<p>If the slot type is derived from a built-on slot type, the name of the parent slot type.</p>" 11953 }, 11954 "lastUpdatedDateTime":{ 11955 "shape":"Timestamp", 11956 "documentation":"<p>A timestamp of the date and time that the slot type was last updated.</p>" 11957 }, 11958 "slotTypeCategory":{ 11959 "shape":"SlotTypeCategory", 11960 "documentation":"<p>Indicates the type of the slot type.</p> <ul> <li> <p> <code>Custom</code> - A slot type that you created using custom values. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/custom-slot-types.html\">Creating custom slot types</a>.</p> </li> <li> <p> <code>Extended</code> - A slot type created by extending the <code>AMAZON.AlphaNumeric</code> built-in slot type. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/built-in-slot-alphanumerice.html\"> <code>AMAZON.AlphaNumeric</code> </a>.</p> </li> <li> <p> <code>ExternalGrammar</code> - A slot type using a custom GRXML grammar to define values. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/building-grxml.html\">Using a custom grammar slot type</a>.</p> </li> </ul>" 11961 } 11962 }, 11963 "documentation":"<p>Provides summary information about a slot type.</p>" 11964 }, 11965 "SlotTypeSummaryList":{ 11966 "type":"list", 11967 "member":{"shape":"SlotTypeSummary"} 11968 }, 11969 "SlotTypeValue":{ 11970 "type":"structure", 11971 "members":{ 11972 "sampleValue":{ 11973 "shape":"SampleValue", 11974 "documentation":"<p>The value of the slot type entry.</p>" 11975 }, 11976 "synonyms":{ 11977 "shape":"SynonymList", 11978 "documentation":"<p>Additional values related to the slot type entry.</p>" 11979 } 11980 }, 11981 "documentation":"<p>Each slot type can have a set of values. Each <code>SlotTypeValue</code> represents a value that the slot type can take.</p>" 11982 }, 11983 "SlotTypeValues":{ 11984 "type":"list", 11985 "member":{"shape":"SlotTypeValue"}, 11986 "max":10000, 11987 "min":1 11988 }, 11989 "SlotValue":{ 11990 "type":"structure", 11991 "members":{ 11992 "interpretedValue":{ 11993 "shape":"NonEmptyString", 11994 "documentation":"<p>The value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the <code>resolvedValues</code> list.</p>" 11995 } 11996 }, 11997 "documentation":"<p>The value to set in a slot.</p>" 11998 }, 11999 "SlotValueElicitationSetting":{ 12000 "type":"structure", 12001 "required":["slotConstraint"], 12002 "members":{ 12003 "defaultValueSpecification":{ 12004 "shape":"SlotDefaultValueSpecification", 12005 "documentation":"<p>A list of default values for a slot. Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, session attributes, and defined values.</p>" 12006 }, 12007 "slotConstraint":{ 12008 "shape":"SlotConstraint", 12009 "documentation":"<p>Specifies whether the slot is required or optional.</p>" 12010 }, 12011 "promptSpecification":{ 12012 "shape":"PromptSpecification", 12013 "documentation":"<p>The prompt that Amazon Lex uses to elicit the slot value from the user.</p>" 12014 }, 12015 "sampleUtterances":{ 12016 "shape":"SampleUtterancesList", 12017 "documentation":"<p>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. This is optional. In most cases, Amazon Lex is capable of understanding user utterances.</p>" 12018 }, 12019 "waitAndContinueSpecification":{"shape":"WaitAndContinueSpecification"}, 12020 "slotCaptureSetting":{ 12021 "shape":"SlotCaptureSetting", 12022 "documentation":"<p>Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.</p>" 12023 }, 12024 "slotResolutionSetting":{ 12025 "shape":"SlotResolutionSetting", 12026 "documentation":"<p>An object containing information about whether assisted slot resolution is turned on for the slot or not.</p>" 12027 } 12028 }, 12029 "documentation":"<p>Specifies the elicitation setting details eliciting a slot.</p>" 12030 }, 12031 "SlotValueOverride":{ 12032 "type":"structure", 12033 "members":{ 12034 "shape":{ 12035 "shape":"SlotShape", 12036 "documentation":"<p>When the shape value is <code>List</code>, it indicates that the <code>values</code> field contains a list of slot values. When the value is <code>Scalar</code>, it indicates that the <code>value</code> field contains a single value.</p>" 12037 }, 12038 "value":{ 12039 "shape":"SlotValue", 12040 "documentation":"<p>The current value of the slot.</p>" 12041 }, 12042 "values":{ 12043 "shape":"SlotValues", 12044 "documentation":"<p>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.\"</p>" 12045 } 12046 }, 12047 "documentation":"<p>The slot values that Amazon Lex uses when it sets slot values in a dialog step.</p>" 12048 }, 12049 "SlotValueOverrideMap":{ 12050 "type":"map", 12051 "key":{"shape":"Name"}, 12052 "value":{"shape":"SlotValueOverride"} 12053 }, 12054 "SlotValueRegexFilter":{ 12055 "type":"structure", 12056 "required":["pattern"], 12057 "members":{ 12058 "pattern":{ 12059 "shape":"RegexPattern", 12060 "documentation":"<p>A regular expression used to validate the value of a slot.</p> <p> Use a standard regular expression. Amazon Lex supports the following characters in the regular expression: </p> <ul> <li> <p>A-Z, a-z</p> </li> <li> <p>0-9</p> </li> <li> <p>Unicode characters (\"\\u<Unicode>\")</p> </li> </ul> <p> Represent Unicode characters with four digits, for example \"\\u0041\" or \"\\u005A\". </p> <p> The following regular expression operators are not supported: </p> <ul> <li> <p>Infinite repeaters: *, +, or {x,} with no upper bound.</p> </li> <li> <p>Wild card (.)</p> </li> </ul>" 12061 } 12062 }, 12063 "documentation":"<p>Provides a regular expression used to validate the value of a slot.</p>" 12064 }, 12065 "SlotValueResolutionStrategy":{ 12066 "type":"string", 12067 "enum":[ 12068 "OriginalValue", 12069 "TopResolution", 12070 "Concatenation" 12071 ] 12072 }, 12073 "SlotValueSelectionSetting":{ 12074 "type":"structure", 12075 "required":["resolutionStrategy"], 12076 "members":{ 12077 "resolutionStrategy":{ 12078 "shape":"SlotValueResolutionStrategy", 12079 "documentation":"<p>Determines the slot resolution strategy that Amazon Lex uses to return slot type values. The field can be set to one of the following values:</p> <ul> <li> <p> <code>ORIGINAL_VALUE</code> - Returns the value entered by the user, if the user value is similar to the slot value.</p> </li> <li> <p> <code>TOP_RESOLUTION</code> - If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned.</p> </li> </ul> <p>If you don't specify the <code>valueSelectionStrategy</code>, the default is <code>ORIGINAL_VALUE</code>.</p>" 12080 }, 12081 "regexFilter":{ 12082 "shape":"SlotValueRegexFilter", 12083 "documentation":"<p>A regular expression used to validate the value of a slot.</p>" 12084 }, 12085 "advancedRecognitionSetting":{ 12086 "shape":"AdvancedRecognitionSetting", 12087 "documentation":"<p>Provides settings that enable advanced recognition settings for slot values. You can use this to enable using slot values as a custom vocabulary for recognizing user utterances.</p>" 12088 } 12089 }, 12090 "documentation":"<p>Contains settings used by Amazon Lex to select a slot value.</p>" 12091 }, 12092 "SlotValues":{ 12093 "type":"list", 12094 "member":{"shape":"SlotValueOverride"} 12095 }, 12096 "SortOrder":{ 12097 "type":"string", 12098 "enum":[ 12099 "Ascending", 12100 "Descending" 12101 ] 12102 }, 12103 "Specifications":{ 12104 "type":"structure", 12105 "required":[ 12106 "slotTypeId", 12107 "valueElicitationSetting" 12108 ], 12109 "members":{ 12110 "slotTypeId":{ 12111 "shape":"BuiltInOrCustomSlotTypeId", 12112 "documentation":"<p>The unique identifier assigned to the slot type.</p>" 12113 }, 12114 "valueElicitationSetting":{ 12115 "shape":"SubSlotValueElicitationSetting", 12116 "documentation":"<p>Specifies the elicitation setting details for constituent sub slots of a composite slot.</p>" 12117 } 12118 }, 12119 "documentation":"<p>Subslot specifications.</p>" 12120 }, 12121 "StartBotRecommendationRequest":{ 12122 "type":"structure", 12123 "required":[ 12124 "botId", 12125 "botVersion", 12126 "localeId", 12127 "transcriptSourceSetting" 12128 ], 12129 "members":{ 12130 "botId":{ 12131 "shape":"Id", 12132 "documentation":"<p>The unique identifier of the bot containing the bot recommendation.</p>", 12133 "location":"uri", 12134 "locationName":"botId" 12135 }, 12136 "botVersion":{ 12137 "shape":"DraftBotVersion", 12138 "documentation":"<p>The version of the bot containing the bot recommendation.</p>", 12139 "location":"uri", 12140 "locationName":"botVersion" 12141 }, 12142 "localeId":{ 12143 "shape":"LocaleId", 12144 "documentation":"<p>The identifier of the language and locale of the bot recommendation to start. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a> </p>", 12145 "location":"uri", 12146 "locationName":"localeId" 12147 }, 12148 "transcriptSourceSetting":{ 12149 "shape":"TranscriptSourceSetting", 12150 "documentation":"<p>The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.</p>" 12151 }, 12152 "encryptionSetting":{ 12153 "shape":"EncryptionSetting", 12154 "documentation":"<p>The object representing the passwords that will be used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.</p>" 12155 } 12156 } 12157 }, 12158 "StartBotRecommendationResponse":{ 12159 "type":"structure", 12160 "members":{ 12161 "botId":{ 12162 "shape":"Id", 12163 "documentation":"<p>The unique identifier of the bot containing the bot recommendation.</p>" 12164 }, 12165 "botVersion":{ 12166 "shape":"DraftBotVersion", 12167 "documentation":"<p>The version of the bot containing the bot recommendation.</p>" 12168 }, 12169 "localeId":{ 12170 "shape":"LocaleId", 12171 "documentation":"<p>The identifier of the language and locale of the bot recommendation to start. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a> </p>" 12172 }, 12173 "botRecommendationStatus":{ 12174 "shape":"BotRecommendationStatus", 12175 "documentation":"<p>The status of the bot recommendation.</p> <p>If the status is Failed, then the reasons for the failure are listed in the failureReasons field. </p>" 12176 }, 12177 "botRecommendationId":{ 12178 "shape":"Id", 12179 "documentation":"<p>The identifier of the bot recommendation that you have created.</p>" 12180 }, 12181 "creationDateTime":{ 12182 "shape":"Timestamp", 12183 "documentation":"<p>A timestamp of the date and time that the bot recommendation was created.</p>" 12184 }, 12185 "transcriptSourceSetting":{ 12186 "shape":"TranscriptSourceSetting", 12187 "documentation":"<p>The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.</p>" 12188 }, 12189 "encryptionSetting":{ 12190 "shape":"EncryptionSetting", 12191 "documentation":"<p>The object representing the passwords that were used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.</p>" 12192 } 12193 } 12194 }, 12195 "StartBotResourceGenerationRequest":{ 12196 "type":"structure", 12197 "required":[ 12198 "generationInputPrompt", 12199 "botId", 12200 "botVersion", 12201 "localeId" 12202 ], 12203 "members":{ 12204 "generationInputPrompt":{ 12205 "shape":"GenerationInput", 12206 "documentation":"<p>The prompt to generate intents and slot types for the bot locale. Your description should be both <i>detailed</i> and <i>precise</i> to help generate appropriate and sufficient intents for your bot. Include a list of actions to improve the intent creation process.</p>" 12207 }, 12208 "botId":{ 12209 "shape":"Id", 12210 "documentation":"<p>The unique identifier of the bot for which to generate intents and slot types.</p>", 12211 "location":"uri", 12212 "locationName":"botId" 12213 }, 12214 "botVersion":{ 12215 "shape":"BotVersion", 12216 "documentation":"<p>The version of the bot for which to generate intents and slot types.</p>", 12217 "location":"uri", 12218 "locationName":"botVersion" 12219 }, 12220 "localeId":{ 12221 "shape":"LocaleId", 12222 "documentation":"<p>The locale of the bot for which to generate intents and slot types.</p>", 12223 "location":"uri", 12224 "locationName":"localeId" 12225 } 12226 } 12227 }, 12228 "StartBotResourceGenerationResponse":{ 12229 "type":"structure", 12230 "members":{ 12231 "generationInputPrompt":{ 12232 "shape":"GenerationInput", 12233 "documentation":"<p>The prompt that was used generate intents and slot types for the bot locale.</p>" 12234 }, 12235 "generationId":{ 12236 "shape":"Id", 12237 "documentation":"<p>The unique identifier of the generation request.</p>" 12238 }, 12239 "botId":{ 12240 "shape":"Id", 12241 "documentation":"<p>The unique identifier of the bot for which the generation request was made.</p>" 12242 }, 12243 "botVersion":{ 12244 "shape":"BotVersion", 12245 "documentation":"<p>The version of the bot for which the generation request was made.</p>" 12246 }, 12247 "localeId":{ 12248 "shape":"LocaleId", 12249 "documentation":"<p>The locale of the bot for which the generation request was made.</p>" 12250 }, 12251 "generationStatus":{ 12252 "shape":"GenerationStatus", 12253 "documentation":"<p>The status of the generation request.</p>" 12254 }, 12255 "creationDateTime":{ 12256 "shape":"Timestamp", 12257 "documentation":"<p>The date and time at which the generation request was made.</p>" 12258 } 12259 } 12260 }, 12261 "StartImportRequest":{ 12262 "type":"structure", 12263 "required":[ 12264 "importId", 12265 "resourceSpecification", 12266 "mergeStrategy" 12267 ], 12268 "members":{ 12269 "importId":{ 12270 "shape":"Id", 12271 "documentation":"<p>The unique identifier for the import. It is included in the response from the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateUploadUrl.html\">CreateUploadUrl</a> operation.</p>" 12272 }, 12273 "resourceSpecification":{ 12274 "shape":"ImportResourceSpecification", 12275 "documentation":"<p>Parameters for creating the bot, bot locale or custom vocabulary.</p>" 12276 }, 12277 "mergeStrategy":{ 12278 "shape":"MergeStrategy", 12279 "documentation":"<p>The strategy to use when there is a name conflict between the imported resource and an existing resource. When the merge strategy is <code>FailOnConflict</code> existing resources are not overwritten and the import fails.</p>" 12280 }, 12281 "filePassword":{ 12282 "shape":"ImportExportFilePassword", 12283 "documentation":"<p>The password used to encrypt the zip archive that contains the resource definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex.</p>" 12284 } 12285 } 12286 }, 12287 "StartImportResponse":{ 12288 "type":"structure", 12289 "members":{ 12290 "importId":{ 12291 "shape":"Id", 12292 "documentation":"<p>A unique identifier for the import.</p>" 12293 }, 12294 "resourceSpecification":{ 12295 "shape":"ImportResourceSpecification", 12296 "documentation":"<p>The parameters used when importing the resource.</p>" 12297 }, 12298 "mergeStrategy":{ 12299 "shape":"MergeStrategy", 12300 "documentation":"<p>The strategy used when there was a name conflict between the imported resource and an existing resource. When the merge strategy is <code>FailOnConflict</code> existing resources are not overwritten and the import fails.</p>" 12301 }, 12302 "importStatus":{ 12303 "shape":"ImportStatus", 12304 "documentation":"<p>The current status of the import. When the status is <code>Complete</code> the bot, bot alias, or custom vocabulary is ready to use.</p>" 12305 }, 12306 "creationDateTime":{ 12307 "shape":"Timestamp", 12308 "documentation":"<p>The date and time that the import request was created.</p>" 12309 } 12310 } 12311 }, 12312 "StartTestExecutionRequest":{ 12313 "type":"structure", 12314 "required":[ 12315 "testSetId", 12316 "target", 12317 "apiMode" 12318 ], 12319 "members":{ 12320 "testSetId":{ 12321 "shape":"Id", 12322 "documentation":"<p>The test set Id for the test set execution.</p>", 12323 "location":"uri", 12324 "locationName":"testSetId" 12325 }, 12326 "target":{ 12327 "shape":"TestExecutionTarget", 12328 "documentation":"<p>The target bot for the test set execution.</p>" 12329 }, 12330 "apiMode":{ 12331 "shape":"TestExecutionApiMode", 12332 "documentation":"<p>Indicates whether we use streaming or non-streaming APIs for the test set execution. For streaming, StartConversation Runtime API is used. Whereas, for non-streaming, RecognizeUtterance and RecognizeText Amazon Lex Runtime API are used.</p>" 12333 }, 12334 "testExecutionModality":{ 12335 "shape":"TestExecutionModality", 12336 "documentation":"<p>Indicates whether audio or text is used.</p>" 12337 } 12338 } 12339 }, 12340 "StartTestExecutionResponse":{ 12341 "type":"structure", 12342 "members":{ 12343 "testExecutionId":{ 12344 "shape":"Id", 12345 "documentation":"<p>The unique identifier of the test set execution.</p>" 12346 }, 12347 "creationDateTime":{ 12348 "shape":"Timestamp", 12349 "documentation":"<p>The creation date and time for the test set execution.</p>" 12350 }, 12351 "testSetId":{ 12352 "shape":"Id", 12353 "documentation":"<p>The test set Id for the test set execution.</p>" 12354 }, 12355 "target":{ 12356 "shape":"TestExecutionTarget", 12357 "documentation":"<p>The target bot for the test set execution.</p>" 12358 }, 12359 "apiMode":{ 12360 "shape":"TestExecutionApiMode", 12361 "documentation":"<p>Indicates whether we use streaming or non-streaming APIs for the test set execution. For streaming, StartConversation Amazon Lex Runtime API is used. Whereas for non-streaming, RecognizeUtterance and RecognizeText Amazon Lex Runtime API are used.</p>" 12362 }, 12363 "testExecutionModality":{ 12364 "shape":"TestExecutionModality", 12365 "documentation":"<p>Indicates whether audio or text is used.</p>" 12366 } 12367 } 12368 }, 12369 "StartTestSetGenerationRequest":{ 12370 "type":"structure", 12371 "required":[ 12372 "testSetName", 12373 "storageLocation", 12374 "generationDataSource", 12375 "roleArn" 12376 ], 12377 "members":{ 12378 "testSetName":{ 12379 "shape":"Name", 12380 "documentation":"<p>The test set name for the test set generation request.</p>" 12381 }, 12382 "description":{ 12383 "shape":"Description", 12384 "documentation":"<p>The test set description for the test set generation request.</p>" 12385 }, 12386 "storageLocation":{ 12387 "shape":"TestSetStorageLocation", 12388 "documentation":"<p>The Amazon S3 storage location for the test set generation.</p>" 12389 }, 12390 "generationDataSource":{ 12391 "shape":"TestSetGenerationDataSource", 12392 "documentation":"<p>The data source for the test set generation.</p>" 12393 }, 12394 "roleArn":{ 12395 "shape":"RoleArn", 12396 "documentation":"<p>The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.</p>" 12397 }, 12398 "testSetTags":{ 12399 "shape":"TagMap", 12400 "documentation":"<p>A list of tags to add to the test set. You can only add tags when you import/generate a new test set. You can't use the <code>UpdateTestSet</code> operation to update tags. To update tags, use the <code>TagResource</code> operation.</p>" 12401 } 12402 } 12403 }, 12404 "StartTestSetGenerationResponse":{ 12405 "type":"structure", 12406 "members":{ 12407 "testSetGenerationId":{ 12408 "shape":"Id", 12409 "documentation":"<p>The unique identifier of the test set generation to describe.</p>" 12410 }, 12411 "creationDateTime":{ 12412 "shape":"Timestamp", 12413 "documentation":"<p> The creation date and time for the test set generation.</p>" 12414 }, 12415 "testSetGenerationStatus":{ 12416 "shape":"TestSetGenerationStatus", 12417 "documentation":"<p> The status for the test set generation.</p>" 12418 }, 12419 "testSetName":{ 12420 "shape":"Name", 12421 "documentation":"<p>The test set name used for the test set generation.</p>" 12422 }, 12423 "description":{ 12424 "shape":"Description", 12425 "documentation":"<p>The description used for the test set generation.</p>" 12426 }, 12427 "storageLocation":{ 12428 "shape":"TestSetStorageLocation", 12429 "documentation":"<p>The Amazon S3 storage location for the test set generation.</p>" 12430 }, 12431 "generationDataSource":{ 12432 "shape":"TestSetGenerationDataSource", 12433 "documentation":"<p> The data source for the test set generation.</p>" 12434 }, 12435 "roleArn":{ 12436 "shape":"RoleArn", 12437 "documentation":"<p>The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.</p>" 12438 }, 12439 "testSetTags":{ 12440 "shape":"TagMap", 12441 "documentation":"<p>A list of tags that was used for the test set that is being generated.</p>" 12442 } 12443 } 12444 }, 12445 "StillWaitingResponseFrequency":{ 12446 "type":"integer", 12447 "max":300, 12448 "min":1 12449 }, 12450 "StillWaitingResponseSpecification":{ 12451 "type":"structure", 12452 "required":[ 12453 "messageGroups", 12454 "frequencyInSeconds", 12455 "timeoutInSeconds" 12456 ], 12457 "members":{ 12458 "messageGroups":{ 12459 "shape":"MessageGroupsList", 12460 "documentation":"<p>One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.</p>" 12461 }, 12462 "frequencyInSeconds":{ 12463 "shape":"StillWaitingResponseFrequency", 12464 "documentation":"<p>How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.</p>" 12465 }, 12466 "timeoutInSeconds":{ 12467 "shape":"StillWaitingResponseTimeout", 12468 "documentation":"<p>If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.</p>" 12469 }, 12470 "allowInterrupt":{ 12471 "shape":"BoxedBoolean", 12472 "documentation":"<p>Indicates that the user can interrupt the response by speaking while the message is being played.</p>" 12473 } 12474 }, 12475 "documentation":"<p>Defines the messages that Amazon Lex sends to a user to remind them that the bot is waiting for a response.</p>" 12476 }, 12477 "StillWaitingResponseTimeout":{ 12478 "type":"integer", 12479 "max":900, 12480 "min":1 12481 }, 12482 "StopBotRecommendationRequest":{ 12483 "type":"structure", 12484 "required":[ 12485 "botId", 12486 "botVersion", 12487 "localeId", 12488 "botRecommendationId" 12489 ], 12490 "members":{ 12491 "botId":{ 12492 "shape":"Id", 12493 "documentation":"<p>The unique identifier of the bot containing the bot recommendation to be stopped.</p>", 12494 "location":"uri", 12495 "locationName":"botId" 12496 }, 12497 "botVersion":{ 12498 "shape":"DraftBotVersion", 12499 "documentation":"<p>The version of the bot containing the bot recommendation.</p>", 12500 "location":"uri", 12501 "locationName":"botVersion" 12502 }, 12503 "localeId":{ 12504 "shape":"LocaleId", 12505 "documentation":"<p>The identifier of the language and locale of the bot recommendation to stop. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a> </p>", 12506 "location":"uri", 12507 "locationName":"localeId" 12508 }, 12509 "botRecommendationId":{ 12510 "shape":"Id", 12511 "documentation":"<p>The unique identifier of the bot recommendation to be stopped.</p>", 12512 "location":"uri", 12513 "locationName":"botRecommendationId" 12514 } 12515 } 12516 }, 12517 "StopBotRecommendationResponse":{ 12518 "type":"structure", 12519 "members":{ 12520 "botId":{ 12521 "shape":"Id", 12522 "documentation":"<p>The unique identifier of the bot containing the bot recommendation that is being stopped.</p>" 12523 }, 12524 "botVersion":{ 12525 "shape":"DraftBotVersion", 12526 "documentation":"<p>The version of the bot containing the recommendation that is being stopped.</p>" 12527 }, 12528 "localeId":{ 12529 "shape":"LocaleId", 12530 "documentation":"<p>The identifier of the language and locale of the bot response to stop. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a> </p>" 12531 }, 12532 "botRecommendationStatus":{ 12533 "shape":"BotRecommendationStatus", 12534 "documentation":"<p>The status of the bot recommendation. If the status is Failed, then the reasons for the failure are listed in the failureReasons field.</p>" 12535 }, 12536 "botRecommendationId":{ 12537 "shape":"Id", 12538 "documentation":"<p>The unique identifier of the bot recommendation that is being stopped.</p>" 12539 } 12540 } 12541 }, 12542 "String":{"type":"string"}, 12543 "StringMap":{ 12544 "type":"map", 12545 "key":{"shape":"NonEmptyString"}, 12546 "value":{"shape":"String"} 12547 }, 12548 "SubSlotExpression":{ 12549 "type":"string", 12550 "max":640, 12551 "min":0, 12552 "pattern":"[0-9A-Za-z_\\-\\s\\(\\)]+" 12553 }, 12554 "SubSlotSetting":{ 12555 "type":"structure", 12556 "members":{ 12557 "expression":{ 12558 "shape":"SubSlotExpression", 12559 "documentation":"<p>The expression text for defining the constituent sub slots in the composite slot using logical AND and OR operators.</p>" 12560 }, 12561 "slotSpecifications":{ 12562 "shape":"SubSlotSpecificationMap", 12563 "documentation":"<p>Specifications for the constituent sub slots of a composite slot.</p>" 12564 } 12565 }, 12566 "documentation":"<p>Specifications for the constituent sub slots and the expression for the composite slot.</p>" 12567 }, 12568 "SubSlotSpecificationMap":{ 12569 "type":"map", 12570 "key":{"shape":"Name"}, 12571 "value":{"shape":"Specifications"}, 12572 "max":6, 12573 "min":0 12574 }, 12575 "SubSlotTypeComposition":{ 12576 "type":"structure", 12577 "required":[ 12578 "name", 12579 "slotTypeId" 12580 ], 12581 "members":{ 12582 "name":{ 12583 "shape":"Name", 12584 "documentation":"<p>Name of a constituent sub slot inside a composite slot.</p>" 12585 }, 12586 "slotTypeId":{ 12587 "shape":"BuiltInOrCustomSlotTypeId", 12588 "documentation":"<p>The unique identifier assigned to a slot type. This refers to either a built-in slot type or the unique slotTypeId of a custom slot type.</p>" 12589 } 12590 }, 12591 "documentation":"<p>Subslot type composition.</p>" 12592 }, 12593 "SubSlotTypeList":{ 12594 "type":"list", 12595 "member":{"shape":"SubSlotTypeComposition"}, 12596 "max":6, 12597 "min":0 12598 }, 12599 "SubSlotValueElicitationSetting":{ 12600 "type":"structure", 12601 "required":["promptSpecification"], 12602 "members":{ 12603 "defaultValueSpecification":{"shape":"SlotDefaultValueSpecification"}, 12604 "promptSpecification":{"shape":"PromptSpecification"}, 12605 "sampleUtterances":{ 12606 "shape":"SampleUtterancesList", 12607 "documentation":"<p>If you know a specific pattern that users might respond to an Amazon Lex request for a sub slot value, you can provide those utterances to improve accuracy. This is optional. In most cases Amazon Lex is capable of understanding user utterances. This is similar to <code>SampleUtterances</code> for slots.</p>" 12608 }, 12609 "waitAndContinueSpecification":{"shape":"WaitAndContinueSpecification"} 12610 }, 12611 "documentation":"<p>Subslot elicitation settings.</p> <p> <code>DefaultValueSpecification</code> is a list of default values for a constituent sub slot in a composite slot. Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, session attributes, and defined values. This is similar to <code>DefaultValueSpecification</code> for slots.</p> <p> <code>PromptSpecification</code> is the prompt that Amazon Lex uses to elicit the sub slot value from the user. This is similar to <code>PromptSpecification</code> for slots.</p>" 12612 }, 12613 "SynonymList":{ 12614 "type":"list", 12615 "member":{"shape":"SampleValue"}, 12616 "max":10000, 12617 "min":1 12618 }, 12619 "TagKey":{ 12620 "type":"string", 12621 "max":128, 12622 "min":1 12623 }, 12624 "TagKeyList":{ 12625 "type":"list", 12626 "member":{"shape":"TagKey"}, 12627 "max":200, 12628 "min":0 12629 }, 12630 "TagMap":{ 12631 "type":"map", 12632 "key":{"shape":"TagKey"}, 12633 "value":{"shape":"TagValue"}, 12634 "max":200, 12635 "min":0 12636 }, 12637 "TagResourceRequest":{ 12638 "type":"structure", 12639 "required":[ 12640 "resourceARN", 12641 "tags" 12642 ], 12643 "members":{ 12644 "resourceARN":{ 12645 "shape":"AmazonResourceName", 12646 "documentation":"<p>The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel to tag.</p>", 12647 "location":"uri", 12648 "locationName":"resourceARN" 12649 }, 12650 "tags":{ 12651 "shape":"TagMap", 12652 "documentation":"<p>A list of tag keys to add to the resource. If a tag key already exists, the existing value is replaced with the new value.</p>" 12653 } 12654 } 12655 }, 12656 "TagResourceResponse":{ 12657 "type":"structure", 12658 "members":{ 12659 } 12660 }, 12661 "TagValue":{ 12662 "type":"string", 12663 "max":256, 12664 "min":0 12665 }, 12666 "TestExecutionApiMode":{ 12667 "type":"string", 12668 "enum":[ 12669 "Streaming", 12670 "NonStreaming" 12671 ] 12672 }, 12673 "TestExecutionModality":{ 12674 "type":"string", 12675 "enum":[ 12676 "Text", 12677 "Audio" 12678 ] 12679 }, 12680 "TestExecutionResultFilterBy":{ 12681 "type":"structure", 12682 "required":["resultTypeFilter"], 12683 "members":{ 12684 "resultTypeFilter":{ 12685 "shape":"TestResultTypeFilter", 12686 "documentation":"<p>Specifies which results to filter. See <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/test-results-details-test-set.html\">Test result details\">Test results details</a> for details about different types of results.</p>" 12687 }, 12688 "conversationLevelTestResultsFilterBy":{ 12689 "shape":"ConversationLevelTestResultsFilterBy", 12690 "documentation":"<p>Contains information about the method for filtering Conversation level test results.</p>" 12691 } 12692 }, 12693 "documentation":"<p>Contains information about the method by which to filter the results of the test execution.</p>" 12694 }, 12695 "TestExecutionResultItems":{ 12696 "type":"structure", 12697 "members":{ 12698 "overallTestResults":{ 12699 "shape":"OverallTestResults", 12700 "documentation":"<p>Overall results for the test execution, including the breakdown of conversations and single-input utterances.</p>" 12701 }, 12702 "conversationLevelTestResults":{ 12703 "shape":"ConversationLevelTestResults", 12704 "documentation":"<p>Results related to conversations in the test set, including metrics about success and failure of conversations and intent and slot failures.</p>" 12705 }, 12706 "intentClassificationTestResults":{ 12707 "shape":"IntentClassificationTestResults", 12708 "documentation":"<p>Intent recognition results aggregated by intent name. The aggregated results contain success and failure rates of intent recognition, speech transcriptions, and end-to-end conversations.</p>" 12709 }, 12710 "intentLevelSlotResolutionTestResults":{ 12711 "shape":"IntentLevelSlotResolutionTestResults", 12712 "documentation":"<p>Slot resolution results aggregated by intent and slot name. The aggregated results contain success and failure rates of slot resolution, speech transcriptions, and end-to-end conversations</p>" 12713 }, 12714 "utteranceLevelTestResults":{ 12715 "shape":"UtteranceLevelTestResults", 12716 "documentation":"<p>Results related to utterances in the test set.</p>" 12717 } 12718 }, 12719 "documentation":"<p>Contains the results of the test execution, grouped by type of results. See <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/test-results-details-test-set.html\">Test result details\">Test results details</a> for details about different types of results.</p>" 12720 }, 12721 "TestExecutionSortAttribute":{ 12722 "type":"string", 12723 "enum":[ 12724 "TestSetName", 12725 "CreationDateTime" 12726 ] 12727 }, 12728 "TestExecutionSortBy":{ 12729 "type":"structure", 12730 "required":[ 12731 "attribute", 12732 "order" 12733 ], 12734 "members":{ 12735 "attribute":{ 12736 "shape":"TestExecutionSortAttribute", 12737 "documentation":"<p>Specifies whether to sort the test set executions by the date and time at which the test sets were created.</p>" 12738 }, 12739 "order":{ 12740 "shape":"SortOrder", 12741 "documentation":"<p>Specifies whether to sort in ascending or descending order.</p>" 12742 } 12743 }, 12744 "documentation":"<p>Contains information about the method by which to sort the instances of test executions you have carried out.</p>" 12745 }, 12746 "TestExecutionStatus":{ 12747 "type":"string", 12748 "enum":[ 12749 "Pending", 12750 "Waiting", 12751 "InProgress", 12752 "Completed", 12753 "Failed", 12754 "Stopping", 12755 "Stopped" 12756 ] 12757 }, 12758 "TestExecutionSummary":{ 12759 "type":"structure", 12760 "members":{ 12761 "testExecutionId":{ 12762 "shape":"Id", 12763 "documentation":"<p>The unique identifier of the test execution.</p>" 12764 }, 12765 "creationDateTime":{ 12766 "shape":"Timestamp", 12767 "documentation":"<p>The date and time at which the test execution was created.</p>" 12768 }, 12769 "lastUpdatedDateTime":{ 12770 "shape":"Timestamp", 12771 "documentation":"<p>The date and time at which the test execution was last updated.</p>" 12772 }, 12773 "testExecutionStatus":{ 12774 "shape":"TestExecutionStatus", 12775 "documentation":"<p>The current status of the test execution.</p>" 12776 }, 12777 "testSetId":{ 12778 "shape":"Id", 12779 "documentation":"<p>The unique identifier of the test set used in the test execution.</p>" 12780 }, 12781 "testSetName":{ 12782 "shape":"Name", 12783 "documentation":"<p>The name of the test set used in the test execution.</p>" 12784 }, 12785 "target":{ 12786 "shape":"TestExecutionTarget", 12787 "documentation":"<p>Contains information about the bot used for the test execution..</p>" 12788 }, 12789 "apiMode":{ 12790 "shape":"TestExecutionApiMode", 12791 "documentation":"<p>Specifies whether the API mode for the test execution is streaming or non-streaming.</p>" 12792 }, 12793 "testExecutionModality":{ 12794 "shape":"TestExecutionModality", 12795 "documentation":"<p>Specifies whether the data used for the test execution is written or spoken.</p>" 12796 } 12797 }, 12798 "documentation":"<p>Summarizes metadata about the test execution.</p>" 12799 }, 12800 "TestExecutionSummaryList":{ 12801 "type":"list", 12802 "member":{"shape":"TestExecutionSummary"} 12803 }, 12804 "TestExecutionTarget":{ 12805 "type":"structure", 12806 "members":{ 12807 "botAliasTarget":{ 12808 "shape":"BotAliasTestExecutionTarget", 12809 "documentation":"<p>Contains information about the bot alias used for the test execution.</p>" 12810 } 12811 }, 12812 "documentation":"<p>Contains information about the bot used for the test execution.</p>" 12813 }, 12814 "TestResultMatchStatus":{ 12815 "type":"string", 12816 "enum":[ 12817 "Matched", 12818 "Mismatched", 12819 "ExecutionError" 12820 ] 12821 }, 12822 "TestResultMatchStatusCountMap":{ 12823 "type":"map", 12824 "key":{"shape":"TestResultMatchStatus"}, 12825 "value":{"shape":"Count"} 12826 }, 12827 "TestResultSlotName":{ 12828 "type":"string", 12829 "max":100, 12830 "min":1, 12831 "pattern":"^([0-9a-zA-Z][_.-]?)+$" 12832 }, 12833 "TestResultTypeFilter":{ 12834 "type":"string", 12835 "enum":[ 12836 "OverallTestResults", 12837 "ConversationLevelTestResults", 12838 "IntentClassificationTestResults", 12839 "SlotResolutionTestResults", 12840 "UtteranceLevelResults" 12841 ] 12842 }, 12843 "TestSetAgentPrompt":{ 12844 "type":"string", 12845 "max":1024, 12846 "min":1 12847 }, 12848 "TestSetConversationId":{ 12849 "type":"string", 12850 "max":50, 12851 "min":1, 12852 "pattern":"^([0-9a-zA-Z][_-]?)+$" 12853 }, 12854 "TestSetDiscrepancyErrors":{ 12855 "type":"structure", 12856 "required":[ 12857 "intentDiscrepancies", 12858 "slotDiscrepancies" 12859 ], 12860 "members":{ 12861 "intentDiscrepancies":{ 12862 "shape":"TestSetIntentDiscrepancyList", 12863 "documentation":"<p>Contains information about discrepancies found for intents between the test set and the bot.</p>" 12864 }, 12865 "slotDiscrepancies":{ 12866 "shape":"TestSetSlotDiscrepancyList", 12867 "documentation":"<p>Contains information about discrepancies found for slots between the test set and the bot.</p>" 12868 } 12869 }, 12870 "documentation":"<p>Contains details about the errors in the test set discrepancy report</p>" 12871 }, 12872 "TestSetDiscrepancyReportBotAliasTarget":{ 12873 "type":"structure", 12874 "required":[ 12875 "botId", 12876 "botAliasId", 12877 "localeId" 12878 ], 12879 "members":{ 12880 "botId":{ 12881 "shape":"Id", 12882 "documentation":"<p>The unique identifier for the bot alias.</p>" 12883 }, 12884 "botAliasId":{ 12885 "shape":"BotAliasId", 12886 "documentation":"<p>The unique identifier for the bot associated with the bot alias.</p>" 12887 }, 12888 "localeId":{ 12889 "shape":"LocaleId", 12890 "documentation":"<p>The unique identifier of the locale associated with the bot alias.</p>" 12891 } 12892 }, 12893 "documentation":"<p>Contains information about the bot alias used for the test set discrepancy report.</p>" 12894 }, 12895 "TestSetDiscrepancyReportResourceTarget":{ 12896 "type":"structure", 12897 "members":{ 12898 "botAliasTarget":{ 12899 "shape":"TestSetDiscrepancyReportBotAliasTarget", 12900 "documentation":"<p>Contains information about the bot alias used as the resource for the test set discrepancy report.</p>" 12901 } 12902 }, 12903 "documentation":"<p>Contains information about the resource used for the test set discrepancy report.</p>" 12904 }, 12905 "TestSetDiscrepancyReportStatus":{ 12906 "type":"string", 12907 "enum":[ 12908 "InProgress", 12909 "Completed", 12910 "Failed" 12911 ] 12912 }, 12913 "TestSetExportSpecification":{ 12914 "type":"structure", 12915 "required":["testSetId"], 12916 "members":{ 12917 "testSetId":{ 12918 "shape":"Id", 12919 "documentation":"<p>The unique identifier of the test set.</p>" 12920 } 12921 }, 12922 "documentation":"<p>Contains information about the test set that is exported.</p>" 12923 }, 12924 "TestSetGenerationDataSource":{ 12925 "type":"structure", 12926 "members":{ 12927 "conversationLogsDataSource":{ 12928 "shape":"ConversationLogsDataSource", 12929 "documentation":"<p>Contains information about the bot from which the conversation logs are sourced.</p>" 12930 } 12931 }, 12932 "documentation":"<p>Contains information about the data source from which the test set is generated.</p>" 12933 }, 12934 "TestSetGenerationStatus":{ 12935 "type":"string", 12936 "enum":[ 12937 "Generating", 12938 "Ready", 12939 "Failed", 12940 "Pending" 12941 ] 12942 }, 12943 "TestSetImportInputLocation":{ 12944 "type":"structure", 12945 "required":[ 12946 "s3BucketName", 12947 "s3Path" 12948 ], 12949 "members":{ 12950 "s3BucketName":{ 12951 "shape":"S3BucketName", 12952 "documentation":"<p>The name of the Amazon S3 bucket.</p>" 12953 }, 12954 "s3Path":{ 12955 "shape":"S3ObjectPath", 12956 "documentation":"<p>The path inside the Amazon S3 bucket pointing to the test-set CSV file.</p>" 12957 } 12958 }, 12959 "documentation":"<p>Contains information about the Amazon S3 location from which the test set is imported.</p>" 12960 }, 12961 "TestSetImportResourceSpecification":{ 12962 "type":"structure", 12963 "required":[ 12964 "testSetName", 12965 "roleArn", 12966 "storageLocation", 12967 "importInputLocation", 12968 "modality" 12969 ], 12970 "members":{ 12971 "testSetName":{ 12972 "shape":"Name", 12973 "documentation":"<p>The name of the test set.</p>" 12974 }, 12975 "description":{ 12976 "shape":"Description", 12977 "documentation":"<p>The description of the test set.</p>" 12978 }, 12979 "roleArn":{ 12980 "shape":"RoleArn", 12981 "documentation":"<p>The Amazon Resource Name (ARN) of an IAM role that has permission to access the test set.</p>" 12982 }, 12983 "storageLocation":{ 12984 "shape":"TestSetStorageLocation", 12985 "documentation":"<p>Contains information about the location that Amazon Lex uses to store the test-set.</p>" 12986 }, 12987 "importInputLocation":{ 12988 "shape":"TestSetImportInputLocation", 12989 "documentation":"<p>Contains information about the input location from where test-set should be imported.</p>" 12990 }, 12991 "modality":{ 12992 "shape":"TestSetModality", 12993 "documentation":"<p>Specifies whether the test-set being imported contains written or spoken data.</p>" 12994 }, 12995 "testSetTags":{ 12996 "shape":"TagMap", 12997 "documentation":"<p>A list of tags to add to the test set. You can only add tags when you import/generate a new test set. You can't use the <code>UpdateTestSet</code> operation to update tags. To update tags, use the <code>TagResource</code> operation.</p>" 12998 } 12999 }, 13000 "documentation":"<p>Contains information about the test set that is imported.</p>" 13001 }, 13002 "TestSetIntentDiscrepancyItem":{ 13003 "type":"structure", 13004 "required":[ 13005 "intentName", 13006 "errorMessage" 13007 ], 13008 "members":{ 13009 "intentName":{ 13010 "shape":"Name", 13011 "documentation":"<p>The name of the intent in the discrepancy report.</p>" 13012 }, 13013 "errorMessage":{ 13014 "shape":"String", 13015 "documentation":"<p>The error message for a discrepancy for an intent between the test set and the bot.</p>" 13016 } 13017 }, 13018 "documentation":"<p>Contains information about discrepancy in an intent information between the test set and the bot.</p>" 13019 }, 13020 "TestSetIntentDiscrepancyList":{ 13021 "type":"list", 13022 "member":{"shape":"TestSetIntentDiscrepancyItem"} 13023 }, 13024 "TestSetModality":{ 13025 "type":"string", 13026 "enum":[ 13027 "Text", 13028 "Audio" 13029 ] 13030 }, 13031 "TestSetSlotDiscrepancyItem":{ 13032 "type":"structure", 13033 "required":[ 13034 "intentName", 13035 "slotName", 13036 "errorMessage" 13037 ], 13038 "members":{ 13039 "intentName":{ 13040 "shape":"Name", 13041 "documentation":"<p>The name of the intent associated with the slot in the discrepancy report.</p>" 13042 }, 13043 "slotName":{ 13044 "shape":"Name", 13045 "documentation":"<p>The name of the slot in the discrepancy report.</p>" 13046 }, 13047 "errorMessage":{ 13048 "shape":"String", 13049 "documentation":"<p>The error message for a discrepancy for an intent between the test set and the bot.</p>" 13050 } 13051 }, 13052 "documentation":"<p>Contains information about discrepancy in a slot information between the test set and the bot.</p>" 13053 }, 13054 "TestSetSlotDiscrepancyList":{ 13055 "type":"list", 13056 "member":{"shape":"TestSetSlotDiscrepancyItem"} 13057 }, 13058 "TestSetSortAttribute":{ 13059 "type":"string", 13060 "enum":[ 13061 "TestSetName", 13062 "LastUpdatedDateTime" 13063 ] 13064 }, 13065 "TestSetSortBy":{ 13066 "type":"structure", 13067 "required":[ 13068 "attribute", 13069 "order" 13070 ], 13071 "members":{ 13072 "attribute":{ 13073 "shape":"TestSetSortAttribute", 13074 "documentation":"<p>Specifies whether to sort the test sets by name or by the time they were last updated.</p>" 13075 }, 13076 "order":{ 13077 "shape":"SortOrder", 13078 "documentation":"<p>Specifies whether to sort in ascending or descending order.</p>" 13079 } 13080 }, 13081 "documentation":"<p>Contains information about the methods by which to sort the test set.</p>" 13082 }, 13083 "TestSetStatus":{ 13084 "type":"string", 13085 "enum":[ 13086 "Importing", 13087 "PendingAnnotation", 13088 "Deleting", 13089 "ValidationError", 13090 "Ready" 13091 ] 13092 }, 13093 "TestSetStorageLocation":{ 13094 "type":"structure", 13095 "required":[ 13096 "s3BucketName", 13097 "s3Path" 13098 ], 13099 "members":{ 13100 "s3BucketName":{ 13101 "shape":"S3BucketName", 13102 "documentation":"<p>The name of the Amazon S3 bucket in which the test set is stored.</p>" 13103 }, 13104 "s3Path":{ 13105 "shape":"S3ObjectPath", 13106 "documentation":"<p>The path inside the Amazon S3 bucket where the test set is stored.</p>" 13107 }, 13108 "kmsKeyArn":{ 13109 "shape":"KmsKeyArn", 13110 "documentation":"<p>The Amazon Resource Name (ARN) of an Amazon Web Services Key Management Service (KMS) key for encrypting the test set.</p>" 13111 } 13112 }, 13113 "documentation":"<p>Contains information about the location in which the test set is stored.</p>" 13114 }, 13115 "TestSetSummary":{ 13116 "type":"structure", 13117 "members":{ 13118 "testSetId":{ 13119 "shape":"Id", 13120 "documentation":"<p>The unique identifier of the test set.</p>" 13121 }, 13122 "testSetName":{ 13123 "shape":"Name", 13124 "documentation":"<p>The name of the test set.</p>" 13125 }, 13126 "description":{ 13127 "shape":"Description", 13128 "documentation":"<p>The description of the test set.</p>" 13129 }, 13130 "modality":{ 13131 "shape":"TestSetModality", 13132 "documentation":"<p>Specifies whether the test set contains written or spoken data.</p>" 13133 }, 13134 "status":{ 13135 "shape":"TestSetStatus", 13136 "documentation":"<p>The status of the test set.</p>" 13137 }, 13138 "roleArn":{ 13139 "shape":"RoleArn", 13140 "documentation":"<p>The Amazon Resource Name (ARN) of an IAM role that has permission to access the test set.</p>" 13141 }, 13142 "numTurns":{ 13143 "shape":"Count", 13144 "documentation":"<p>The number of turns in the test set.</p>" 13145 }, 13146 "storageLocation":{ 13147 "shape":"TestSetStorageLocation", 13148 "documentation":"<p>Contains information about the location at which the test set is stored.</p>" 13149 }, 13150 "creationDateTime":{ 13151 "shape":"Timestamp", 13152 "documentation":"<p>The date and time at which the test set was created.</p>" 13153 }, 13154 "lastUpdatedDateTime":{ 13155 "shape":"Timestamp", 13156 "documentation":"<p>The date and time at which the test set was last updated.</p>" 13157 } 13158 }, 13159 "documentation":"<p>Contains summary information about the test set.</p>" 13160 }, 13161 "TestSetSummaryList":{ 13162 "type":"list", 13163 "member":{"shape":"TestSetSummary"} 13164 }, 13165 "TestSetTurnRecord":{ 13166 "type":"structure", 13167 "required":[ 13168 "recordNumber", 13169 "turnSpecification" 13170 ], 13171 "members":{ 13172 "recordNumber":{ 13173 "shape":"RecordNumber", 13174 "documentation":"<p>The record number associated with the turn.</p>" 13175 }, 13176 "conversationId":{ 13177 "shape":"TestSetConversationId", 13178 "documentation":"<p>The unique identifier for the conversation associated with the turn.</p>" 13179 }, 13180 "turnNumber":{ 13181 "shape":"TurnNumber", 13182 "documentation":"<p>The number of turns that has elapsed up to that turn.</p>" 13183 }, 13184 "turnSpecification":{ 13185 "shape":"TurnSpecification", 13186 "documentation":"<p>Contains information about the agent or user turn depending upon type of turn.</p>" 13187 } 13188 }, 13189 "documentation":"<p>Contains information about a turn in a test set.</p>" 13190 }, 13191 "TestSetTurnRecordList":{ 13192 "type":"list", 13193 "member":{"shape":"TestSetTurnRecord"} 13194 }, 13195 "TestSetTurnResult":{ 13196 "type":"structure", 13197 "members":{ 13198 "agent":{ 13199 "shape":"AgentTurnResult", 13200 "documentation":"<p>Contains information about the agent messages in the turn.</p>" 13201 }, 13202 "user":{ 13203 "shape":"UserTurnResult", 13204 "documentation":"<p>Contains information about the user messages in the turn.</p>" 13205 } 13206 }, 13207 "documentation":"<p>Contains information about the results of the analysis of a turn in the test set.</p>" 13208 }, 13209 "TestSetUtteranceText":{ 13210 "type":"string", 13211 "max":1024, 13212 "min":1 13213 }, 13214 "TextInputSpecification":{ 13215 "type":"structure", 13216 "required":["startTimeoutMs"], 13217 "members":{ 13218 "startTimeoutMs":{ 13219 "shape":"TimeInMilliSeconds", 13220 "documentation":"<p>Time for which a bot waits before re-prompting a customer for text input.</p>" 13221 } 13222 }, 13223 "documentation":"<p>Specifies the text input specifications.</p>" 13224 }, 13225 "TextLogDestination":{ 13226 "type":"structure", 13227 "required":["cloudWatch"], 13228 "members":{ 13229 "cloudWatch":{ 13230 "shape":"CloudWatchLogGroupLogDestination", 13231 "documentation":"<p>Defines the Amazon CloudWatch Logs log group where text and metadata logs are delivered.</p>" 13232 } 13233 }, 13234 "documentation":"<p>Defines the Amazon CloudWatch Logs destination log group for conversation text logs.</p>" 13235 }, 13236 "TextLogSetting":{ 13237 "type":"structure", 13238 "required":[ 13239 "enabled", 13240 "destination" 13241 ], 13242 "members":{ 13243 "enabled":{ 13244 "shape":"Boolean", 13245 "documentation":"<p>Determines whether conversation logs should be stored for an alias.</p>" 13246 }, 13247 "destination":{"shape":"TextLogDestination"}, 13248 "selectiveLoggingEnabled":{ 13249 "shape":"BoxedBoolean", 13250 "documentation":"<p>The option to enable selective conversation log capture for text.</p>" 13251 } 13252 }, 13253 "documentation":"<p>Defines settings to enable text conversation logs.</p>" 13254 }, 13255 "TextLogSettingsList":{ 13256 "type":"list", 13257 "member":{"shape":"TextLogSetting"}, 13258 "max":1, 13259 "min":1 13260 }, 13261 "ThrottlingException":{ 13262 "type":"structure", 13263 "members":{ 13264 "retryAfterSeconds":{ 13265 "shape":"RetryAfterSeconds", 13266 "documentation":"<p>The number of seconds after which the user can invoke the API again.</p>", 13267 "location":"header", 13268 "locationName":"Retry-After" 13269 }, 13270 "message":{"shape":"ExceptionMessage"} 13271 }, 13272 "documentation":"<p>Your request rate is too high. Reduce the frequency of requests.</p>", 13273 "error":{"httpStatusCode":429}, 13274 "exception":true 13275 }, 13276 "TimeDimension":{ 13277 "type":"string", 13278 "enum":[ 13279 "Hours", 13280 "Days", 13281 "Weeks" 13282 ] 13283 }, 13284 "TimeInMilliSeconds":{ 13285 "type":"integer", 13286 "min":1 13287 }, 13288 "TimeValue":{ 13289 "type":"integer", 13290 "max":24, 13291 "min":1 13292 }, 13293 "Timestamp":{"type":"timestamp"}, 13294 "Transcript":{ 13295 "type":"string", 13296 "max":6000000, 13297 "min":1, 13298 "pattern":".*" 13299 }, 13300 "TranscriptFilter":{ 13301 "type":"structure", 13302 "members":{ 13303 "lexTranscriptFilter":{ 13304 "shape":"LexTranscriptFilter", 13305 "documentation":"<p>The object representing the filter that Amazon Lex will use to select the appropriate transcript when the transcript format is the Amazon Lex format.</p>" 13306 } 13307 }, 13308 "documentation":"<p>The object representing the filter that Amazon Lex will use to select the appropriate transcript.</p>" 13309 }, 13310 "TranscriptFormat":{ 13311 "type":"string", 13312 "enum":["Lex"] 13313 }, 13314 "TranscriptSourceSetting":{ 13315 "type":"structure", 13316 "members":{ 13317 "s3BucketTranscriptSource":{ 13318 "shape":"S3BucketTranscriptSource", 13319 "documentation":"<p>Indicates the setting of the Amazon S3 bucket where the transcript is stored.</p>" 13320 } 13321 }, 13322 "documentation":"<p>Indicates the setting of the location where the transcript is stored.</p>" 13323 }, 13324 "TurnNumber":{ 13325 "type":"integer", 13326 "max":30, 13327 "min":0 13328 }, 13329 "TurnSpecification":{ 13330 "type":"structure", 13331 "members":{ 13332 "agentTurn":{ 13333 "shape":"AgentTurnSpecification", 13334 "documentation":"<p>Contains information about the agent messages in the turn.</p>" 13335 }, 13336 "userTurn":{ 13337 "shape":"UserTurnSpecification", 13338 "documentation":"<p>Contains information about the user messages in the turn.</p>" 13339 } 13340 }, 13341 "documentation":"<p>Contains information about the messages in the turn.</p>" 13342 }, 13343 "UntagResourceRequest":{ 13344 "type":"structure", 13345 "required":[ 13346 "resourceARN", 13347 "tagKeys" 13348 ], 13349 "members":{ 13350 "resourceARN":{ 13351 "shape":"AmazonResourceName", 13352 "documentation":"<p>The Amazon Resource Name (ARN) of the resource to remove the tags from.</p>", 13353 "location":"uri", 13354 "locationName":"resourceARN" 13355 }, 13356 "tagKeys":{ 13357 "shape":"TagKeyList", 13358 "documentation":"<p>A list of tag keys to remove from the resource. If a tag key does not exist on the resource, it is ignored.</p>", 13359 "location":"querystring", 13360 "locationName":"tagKeys" 13361 } 13362 } 13363 }, 13364 "UntagResourceResponse":{ 13365 "type":"structure", 13366 "members":{ 13367 } 13368 }, 13369 "UpdateBotAliasRequest":{ 13370 "type":"structure", 13371 "required":[ 13372 "botAliasId", 13373 "botAliasName", 13374 "botId" 13375 ], 13376 "members":{ 13377 "botAliasId":{ 13378 "shape":"BotAliasId", 13379 "documentation":"<p>The unique identifier of the bot alias.</p>", 13380 "location":"uri", 13381 "locationName":"botAliasId" 13382 }, 13383 "botAliasName":{ 13384 "shape":"Name", 13385 "documentation":"<p>The new name to assign to the bot alias.</p>" 13386 }, 13387 "description":{ 13388 "shape":"Description", 13389 "documentation":"<p>The new description to assign to the bot alias.</p>" 13390 }, 13391 "botVersion":{ 13392 "shape":"BotVersion", 13393 "documentation":"<p>The new bot version to assign to the bot alias.</p>" 13394 }, 13395 "botAliasLocaleSettings":{ 13396 "shape":"BotAliasLocaleSettingsMap", 13397 "documentation":"<p>The new Lambda functions to use in each locale for the bot alias.</p>" 13398 }, 13399 "conversationLogSettings":{ 13400 "shape":"ConversationLogSettings", 13401 "documentation":"<p>The new settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.</p>" 13402 }, 13403 "sentimentAnalysisSettings":{"shape":"SentimentAnalysisSettings"}, 13404 "botId":{ 13405 "shape":"Id", 13406 "documentation":"<p>The identifier of the bot with the updated alias.</p>", 13407 "location":"uri", 13408 "locationName":"botId" 13409 } 13410 } 13411 }, 13412 "UpdateBotAliasResponse":{ 13413 "type":"structure", 13414 "members":{ 13415 "botAliasId":{ 13416 "shape":"BotAliasId", 13417 "documentation":"<p>The identifier of the updated bot alias.</p>" 13418 }, 13419 "botAliasName":{ 13420 "shape":"Name", 13421 "documentation":"<p>The updated name of the bot alias.</p>" 13422 }, 13423 "description":{ 13424 "shape":"Description", 13425 "documentation":"<p>The updated description of the bot alias.</p>" 13426 }, 13427 "botVersion":{ 13428 "shape":"BotVersion", 13429 "documentation":"<p>The updated version of the bot that the alias points to.</p>" 13430 }, 13431 "botAliasLocaleSettings":{ 13432 "shape":"BotAliasLocaleSettingsMap", 13433 "documentation":"<p>The updated Lambda functions to use in each locale for the bot alias.</p>" 13434 }, 13435 "conversationLogSettings":{ 13436 "shape":"ConversationLogSettings", 13437 "documentation":"<p>The updated settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.</p>" 13438 }, 13439 "sentimentAnalysisSettings":{"shape":"SentimentAnalysisSettings"}, 13440 "botAliasStatus":{ 13441 "shape":"BotAliasStatus", 13442 "documentation":"<p>The current status of the bot alias. When the status is <code>Available</code> the alias is ready for use.</p>" 13443 }, 13444 "botId":{ 13445 "shape":"Id", 13446 "documentation":"<p>The identifier of the bot with the updated alias.</p>" 13447 }, 13448 "creationDateTime":{ 13449 "shape":"Timestamp", 13450 "documentation":"<p>A timestamp of the date and time that the bot was created.</p>" 13451 }, 13452 "lastUpdatedDateTime":{ 13453 "shape":"Timestamp", 13454 "documentation":"<p>A timestamp of the date and time that the bot was last updated.</p>" 13455 } 13456 } 13457 }, 13458 "UpdateBotLocaleRequest":{ 13459 "type":"structure", 13460 "required":[ 13461 "botId", 13462 "botVersion", 13463 "localeId", 13464 "nluIntentConfidenceThreshold" 13465 ], 13466 "members":{ 13467 "botId":{ 13468 "shape":"Id", 13469 "documentation":"<p>The unique identifier of the bot that contains the locale.</p>", 13470 "location":"uri", 13471 "locationName":"botId" 13472 }, 13473 "botVersion":{ 13474 "shape":"DraftBotVersion", 13475 "documentation":"<p>The version of the bot that contains the locale to be updated. The version can only be the <code>DRAFT</code> version.</p>", 13476 "location":"uri", 13477 "locationName":"botVersion" 13478 }, 13479 "localeId":{ 13480 "shape":"LocaleId", 13481 "documentation":"<p>The identifier of the language and locale to update. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 13482 "location":"uri", 13483 "locationName":"localeId" 13484 }, 13485 "description":{ 13486 "shape":"Description", 13487 "documentation":"<p>The new description of the locale.</p>" 13488 }, 13489 "nluIntentConfidenceThreshold":{ 13490 "shape":"ConfidenceThreshold", 13491 "documentation":"<p>The new confidence threshold where Amazon Lex inserts the <code>AMAZON.FallbackIntent</code> and <code>AMAZON.KendraSearchIntent</code> intents in the list of possible intents for an utterance.</p>" 13492 }, 13493 "voiceSettings":{ 13494 "shape":"VoiceSettings", 13495 "documentation":"<p>The new Amazon Polly voice Amazon Lex should use for voice interaction with the user.</p>" 13496 }, 13497 "generativeAISettings":{ 13498 "shape":"GenerativeAISettings", 13499 "documentation":"<p>Contains settings for generative AI features powered by Amazon Bedrock for your bot locale. Use this object to turn generative AI features on and off. Pricing may differ if you turn a feature on. For more information, see LINK.</p>" 13500 } 13501 } 13502 }, 13503 "UpdateBotLocaleResponse":{ 13504 "type":"structure", 13505 "members":{ 13506 "botId":{ 13507 "shape":"Id", 13508 "documentation":"<p>The identifier of the bot that contains the updated locale.</p>" 13509 }, 13510 "botVersion":{ 13511 "shape":"DraftBotVersion", 13512 "documentation":"<p>The version of the bot that contains the updated locale.</p>" 13513 }, 13514 "localeId":{ 13515 "shape":"LocaleId", 13516 "documentation":"<p>The language and locale of the updated bot locale.</p>" 13517 }, 13518 "localeName":{ 13519 "shape":"LocaleName", 13520 "documentation":"<p>The updated locale name for the locale.</p>" 13521 }, 13522 "description":{ 13523 "shape":"Description", 13524 "documentation":"<p>The updated description of the locale.</p>" 13525 }, 13526 "nluIntentConfidenceThreshold":{ 13527 "shape":"ConfidenceThreshold", 13528 "documentation":"<p>The updated confidence threshold for inserting the <code>AMAZON.FallbackIntent</code> and <code>AMAZON.KendraSearchIntent</code> intents in the list of possible intents for an utterance.</p>" 13529 }, 13530 "voiceSettings":{ 13531 "shape":"VoiceSettings", 13532 "documentation":"<p>The updated Amazon Polly voice to use for voice interaction with the user.</p>" 13533 }, 13534 "botLocaleStatus":{ 13535 "shape":"BotLocaleStatus", 13536 "documentation":"<p>The current status of the locale. When the bot status is <code>Built</code> the locale is ready for use.</p>" 13537 }, 13538 "failureReasons":{ 13539 "shape":"FailureReasons", 13540 "documentation":"<p>If the <code>botLocaleStatus</code> is <code>Failed</code>, the <code>failureReasons</code> field lists the errors that occurred while building the bot.</p>" 13541 }, 13542 "creationDateTime":{ 13543 "shape":"Timestamp", 13544 "documentation":"<p>A timestamp of the date and time that the locale was created.</p>" 13545 }, 13546 "lastUpdatedDateTime":{ 13547 "shape":"Timestamp", 13548 "documentation":"<p>A timestamp of the date and time that the locale was last updated.</p>" 13549 }, 13550 "recommendedActions":{ 13551 "shape":"RecommendedActions", 13552 "documentation":"<p>Recommended actions to take to resolve an error in the <code>failureReasons</code> field.</p>" 13553 }, 13554 "generativeAISettings":{ 13555 "shape":"GenerativeAISettings", 13556 "documentation":"<p>Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.</p>" 13557 } 13558 } 13559 }, 13560 "UpdateBotRecommendationRequest":{ 13561 "type":"structure", 13562 "required":[ 13563 "botId", 13564 "botVersion", 13565 "localeId", 13566 "botRecommendationId", 13567 "encryptionSetting" 13568 ], 13569 "members":{ 13570 "botId":{ 13571 "shape":"Id", 13572 "documentation":"<p>The unique identifier of the bot containing the bot recommendation to be updated.</p>", 13573 "location":"uri", 13574 "locationName":"botId" 13575 }, 13576 "botVersion":{ 13577 "shape":"DraftBotVersion", 13578 "documentation":"<p>The version of the bot containing the bot recommendation to be updated.</p>", 13579 "location":"uri", 13580 "locationName":"botVersion" 13581 }, 13582 "localeId":{ 13583 "shape":"LocaleId", 13584 "documentation":"<p>The identifier of the language and locale of the bot recommendation to update. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a> </p>", 13585 "location":"uri", 13586 "locationName":"localeId" 13587 }, 13588 "botRecommendationId":{ 13589 "shape":"Id", 13590 "documentation":"<p>The unique identifier of the bot recommendation to be updated.</p>", 13591 "location":"uri", 13592 "locationName":"botRecommendationId" 13593 }, 13594 "encryptionSetting":{ 13595 "shape":"EncryptionSetting", 13596 "documentation":"<p>The object representing the passwords that will be used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.</p>" 13597 } 13598 } 13599 }, 13600 "UpdateBotRecommendationResponse":{ 13601 "type":"structure", 13602 "members":{ 13603 "botId":{ 13604 "shape":"Id", 13605 "documentation":"<p>The unique identifier of the bot containing the bot recommendation that has been updated.</p>" 13606 }, 13607 "botVersion":{ 13608 "shape":"DraftBotVersion", 13609 "documentation":"<p>The version of the bot containing the bot recommendation that has been updated.</p>" 13610 }, 13611 "localeId":{ 13612 "shape":"LocaleId", 13613 "documentation":"<p>The identifier of the language and locale of the bot recommendation to update. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a> </p>" 13614 }, 13615 "botRecommendationStatus":{ 13616 "shape":"BotRecommendationStatus", 13617 "documentation":"<p>The status of the bot recommendation.</p> <p>If the status is Failed, then the reasons for the failure are listed in the failureReasons field. </p>" 13618 }, 13619 "botRecommendationId":{ 13620 "shape":"Id", 13621 "documentation":"<p>The unique identifier of the bot recommendation to be updated.</p>" 13622 }, 13623 "creationDateTime":{ 13624 "shape":"Timestamp", 13625 "documentation":"<p>A timestamp of the date and time that the bot recommendation was created.</p>" 13626 }, 13627 "lastUpdatedDateTime":{ 13628 "shape":"Timestamp", 13629 "documentation":"<p>A timestamp of the date and time that the bot recommendation was last updated.</p>" 13630 }, 13631 "transcriptSourceSetting":{ 13632 "shape":"TranscriptSourceSetting", 13633 "documentation":"<p>The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.</p>" 13634 }, 13635 "encryptionSetting":{ 13636 "shape":"EncryptionSetting", 13637 "documentation":"<p>The object representing the passwords that were used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.</p>" 13638 } 13639 } 13640 }, 13641 "UpdateBotRequest":{ 13642 "type":"structure", 13643 "required":[ 13644 "botId", 13645 "botName", 13646 "roleArn", 13647 "dataPrivacy", 13648 "idleSessionTTLInSeconds" 13649 ], 13650 "members":{ 13651 "botId":{ 13652 "shape":"Id", 13653 "documentation":"<p>The unique identifier of the bot to update. This identifier is returned by the <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html\">CreateBot</a> operation.</p>", 13654 "location":"uri", 13655 "locationName":"botId" 13656 }, 13657 "botName":{ 13658 "shape":"Name", 13659 "documentation":"<p>The new name of the bot. The name must be unique in the account that creates the bot.</p>" 13660 }, 13661 "description":{ 13662 "shape":"Description", 13663 "documentation":"<p>A description of the bot.</p>" 13664 }, 13665 "roleArn":{ 13666 "shape":"RoleArn", 13667 "documentation":"<p>The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot.</p>" 13668 }, 13669 "dataPrivacy":{ 13670 "shape":"DataPrivacy", 13671 "documentation":"<p>Provides information on additional privacy protections Amazon Lex should use with the bot's data.</p>" 13672 }, 13673 "idleSessionTTLInSeconds":{ 13674 "shape":"SessionTTL", 13675 "documentation":"<p>The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.</p> <p>A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.</p> <p>You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.</p>" 13676 }, 13677 "botType":{ 13678 "shape":"BotType", 13679 "documentation":"<p>The type of the bot to be updated.</p>" 13680 }, 13681 "botMembers":{ 13682 "shape":"BotMembers", 13683 "documentation":"<p>The list of bot members in the network associated with the update action.</p>" 13684 } 13685 } 13686 }, 13687 "UpdateBotResponse":{ 13688 "type":"structure", 13689 "members":{ 13690 "botId":{ 13691 "shape":"Id", 13692 "documentation":"<p>The unique identifier of the bot that was updated.</p>" 13693 }, 13694 "botName":{ 13695 "shape":"Name", 13696 "documentation":"<p>The name of the bot after the update.</p>" 13697 }, 13698 "description":{ 13699 "shape":"Description", 13700 "documentation":"<p>The description of the bot after the update.</p>" 13701 }, 13702 "roleArn":{ 13703 "shape":"RoleArn", 13704 "documentation":"<p>The Amazon Resource Name (ARN) of the IAM role used by the bot after the update.</p>" 13705 }, 13706 "dataPrivacy":{ 13707 "shape":"DataPrivacy", 13708 "documentation":"<p>The data privacy settings for the bot after the update.</p>" 13709 }, 13710 "idleSessionTTLInSeconds":{ 13711 "shape":"SessionTTL", 13712 "documentation":"<p>The session timeout, in seconds, for the bot after the update.</p>" 13713 }, 13714 "botStatus":{ 13715 "shape":"BotStatus", 13716 "documentation":"<p>Shows the current status of the bot. The bot is first in the <code>Creating</code> status. Once the bot is read for use, it changes to the <code>Available</code> status. After the bot is created, you can use the <code>DRAFT</code> version of the bot.</p>" 13717 }, 13718 "creationDateTime":{ 13719 "shape":"Timestamp", 13720 "documentation":"<p>A timestamp of the date and time that the bot was created.</p>" 13721 }, 13722 "lastUpdatedDateTime":{ 13723 "shape":"Timestamp", 13724 "documentation":"<p>A timestamp of the date and time that the bot was last updated.</p>" 13725 }, 13726 "botType":{ 13727 "shape":"BotType", 13728 "documentation":"<p>The type of the bot that was updated.</p>" 13729 }, 13730 "botMembers":{ 13731 "shape":"BotMembers", 13732 "documentation":"<p>The list of bot members in the network that was updated.</p>" 13733 } 13734 } 13735 }, 13736 "UpdateCustomVocabularyItemsList":{ 13737 "type":"list", 13738 "member":{"shape":"CustomVocabularyItem"}, 13739 "max":10, 13740 "min":1 13741 }, 13742 "UpdateExportRequest":{ 13743 "type":"structure", 13744 "required":["exportId"], 13745 "members":{ 13746 "exportId":{ 13747 "shape":"Id", 13748 "documentation":"<p>The unique identifier Amazon Lex assigned to the export.</p>", 13749 "location":"uri", 13750 "locationName":"exportId" 13751 }, 13752 "filePassword":{ 13753 "shape":"ImportExportFilePassword", 13754 "documentation":"<p>The new password to use to encrypt the export zip archive.</p>" 13755 } 13756 } 13757 }, 13758 "UpdateExportResponse":{ 13759 "type":"structure", 13760 "members":{ 13761 "exportId":{ 13762 "shape":"Id", 13763 "documentation":"<p>The unique identifier Amazon Lex assigned to the export.</p>" 13764 }, 13765 "resourceSpecification":{ 13766 "shape":"ExportResourceSpecification", 13767 "documentation":"<p>A description of the type of resource that was exported, either a bot or a bot locale.</p>" 13768 }, 13769 "fileFormat":{ 13770 "shape":"ImportExportFileFormat", 13771 "documentation":"<p>The file format used for the files that define the resource. The <code>TSV</code> format is required to export a custom vocabulary only; otherwise use <code>LexJson</code> format.</p>" 13772 }, 13773 "exportStatus":{ 13774 "shape":"ExportStatus", 13775 "documentation":"<p>The status of the export. When the status is <code>Completed</code> the export archive is available for download.</p>" 13776 }, 13777 "creationDateTime":{ 13778 "shape":"Timestamp", 13779 "documentation":"<p>The date and time that the export was created.</p>" 13780 }, 13781 "lastUpdatedDateTime":{ 13782 "shape":"Timestamp", 13783 "documentation":"<p>The date and time that the export was last updated.</p>" 13784 } 13785 } 13786 }, 13787 "UpdateIntentRequest":{ 13788 "type":"structure", 13789 "required":[ 13790 "intentId", 13791 "intentName", 13792 "botId", 13793 "botVersion", 13794 "localeId" 13795 ], 13796 "members":{ 13797 "intentId":{ 13798 "shape":"Id", 13799 "documentation":"<p>The unique identifier of the intent to update.</p>", 13800 "location":"uri", 13801 "locationName":"intentId" 13802 }, 13803 "intentName":{ 13804 "shape":"Name", 13805 "documentation":"<p>The new name for the intent.</p>" 13806 }, 13807 "description":{ 13808 "shape":"Description", 13809 "documentation":"<p>The new description of the intent.</p>" 13810 }, 13811 "parentIntentSignature":{ 13812 "shape":"IntentSignature", 13813 "documentation":"<p>The signature of the new built-in intent to use as the parent of this intent.</p>" 13814 }, 13815 "sampleUtterances":{ 13816 "shape":"SampleUtterancesList", 13817 "documentation":"<p>New utterances used to invoke the intent.</p>" 13818 }, 13819 "dialogCodeHook":{ 13820 "shape":"DialogCodeHookSettings", 13821 "documentation":"<p>The new Lambda function to use between each turn of the conversation with the bot.</p>" 13822 }, 13823 "fulfillmentCodeHook":{ 13824 "shape":"FulfillmentCodeHookSettings", 13825 "documentation":"<p>The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.</p>" 13826 }, 13827 "slotPriorities":{ 13828 "shape":"SlotPrioritiesList", 13829 "documentation":"<p>A new list of slots and their priorities that are contained by the intent.</p>" 13830 }, 13831 "intentConfirmationSetting":{ 13832 "shape":"IntentConfirmationSetting", 13833 "documentation":"<p>New prompts that Amazon Lex sends to the user to confirm the completion of an intent.</p>" 13834 }, 13835 "intentClosingSetting":{ 13836 "shape":"IntentClosingSetting", 13837 "documentation":"<p>The new response that Amazon Lex sends the user when the intent is closed.</p>" 13838 }, 13839 "inputContexts":{ 13840 "shape":"InputContextsList", 13841 "documentation":"<p>A new list of contexts that must be active in order for Amazon Lex to consider the intent.</p>" 13842 }, 13843 "outputContexts":{ 13844 "shape":"OutputContextsList", 13845 "documentation":"<p>A new list of contexts that Amazon Lex activates when the intent is fulfilled.</p>" 13846 }, 13847 "kendraConfiguration":{ 13848 "shape":"KendraConfiguration", 13849 "documentation":"<p>New configuration settings for connecting to an Amazon Kendra index.</p>" 13850 }, 13851 "botId":{ 13852 "shape":"Id", 13853 "documentation":"<p>The identifier of the bot that contains the intent.</p>", 13854 "location":"uri", 13855 "locationName":"botId" 13856 }, 13857 "botVersion":{ 13858 "shape":"DraftBotVersion", 13859 "documentation":"<p>The version of the bot that contains the intent. Must be <code>DRAFT</code>.</p>", 13860 "location":"uri", 13861 "locationName":"botVersion" 13862 }, 13863 "localeId":{ 13864 "shape":"LocaleId", 13865 "documentation":"<p>The identifier of the language and locale where this intent is used. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 13866 "location":"uri", 13867 "locationName":"localeId" 13868 }, 13869 "initialResponseSetting":{ 13870 "shape":"InitialResponseSetting", 13871 "documentation":"<p>Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.</p>" 13872 } 13873 } 13874 }, 13875 "UpdateIntentResponse":{ 13876 "type":"structure", 13877 "members":{ 13878 "intentId":{ 13879 "shape":"Id", 13880 "documentation":"<p>The identifier of the intent that was updated.</p>" 13881 }, 13882 "intentName":{ 13883 "shape":"Name", 13884 "documentation":"<p>The updated name of the intent.</p>" 13885 }, 13886 "description":{ 13887 "shape":"Description", 13888 "documentation":"<p>The updated description of the intent.</p>" 13889 }, 13890 "parentIntentSignature":{ 13891 "shape":"IntentSignature", 13892 "documentation":"<p>The updated built-in intent that is the parent of this intent.</p>" 13893 }, 13894 "sampleUtterances":{ 13895 "shape":"SampleUtterancesList", 13896 "documentation":"<p>The updated list of sample utterances for the intent.</p>" 13897 }, 13898 "dialogCodeHook":{ 13899 "shape":"DialogCodeHookSettings", 13900 "documentation":"<p>The updated Lambda function called during each turn of the conversation with the user.</p>" 13901 }, 13902 "fulfillmentCodeHook":{ 13903 "shape":"FulfillmentCodeHookSettings", 13904 "documentation":"<p>The updated Lambda function called when the intent is ready for fulfillment.</p>" 13905 }, 13906 "slotPriorities":{ 13907 "shape":"SlotPrioritiesList", 13908 "documentation":"<p>The updated list of slots and their priorities that are elicited from the user for the intent.</p>" 13909 }, 13910 "intentConfirmationSetting":{ 13911 "shape":"IntentConfirmationSetting", 13912 "documentation":"<p>The updated prompts that Amazon Lex sends to the user to confirm the completion of an intent.</p>" 13913 }, 13914 "intentClosingSetting":{ 13915 "shape":"IntentClosingSetting", 13916 "documentation":"<p>The updated response that Amazon Lex sends the user when the intent is closed.</p>" 13917 }, 13918 "inputContexts":{ 13919 "shape":"InputContextsList", 13920 "documentation":"<p>The updated list of contexts that must be active for the intent to be considered by Amazon Lex.</p>" 13921 }, 13922 "outputContexts":{ 13923 "shape":"OutputContextsList", 13924 "documentation":"<p>The updated list of contexts that Amazon Lex activates when the intent is fulfilled.</p>" 13925 }, 13926 "kendraConfiguration":{ 13927 "shape":"KendraConfiguration", 13928 "documentation":"<p>The updated configuration for connecting to an Amazon Kendra index with the <code>AMAZON.KendraSearchIntent</code> intent.</p>" 13929 }, 13930 "botId":{ 13931 "shape":"Id", 13932 "documentation":"<p>The identifier of the bot that contains the intent.</p>" 13933 }, 13934 "botVersion":{ 13935 "shape":"DraftBotVersion", 13936 "documentation":"<p>The version of the bot that contains the intent. Will always be <code>DRAFT</code>.</p>" 13937 }, 13938 "localeId":{ 13939 "shape":"LocaleId", 13940 "documentation":"<p>The updated language and locale of the intent.</p>" 13941 }, 13942 "creationDateTime":{ 13943 "shape":"Timestamp", 13944 "documentation":"<p>A timestamp of when the intent was created.</p>" 13945 }, 13946 "lastUpdatedDateTime":{ 13947 "shape":"Timestamp", 13948 "documentation":"<p>A timestamp of the last time that the intent was modified.</p>" 13949 }, 13950 "initialResponseSetting":{ 13951 "shape":"InitialResponseSetting", 13952 "documentation":"<p>Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.</p>" 13953 } 13954 } 13955 }, 13956 "UpdateResourcePolicyRequest":{ 13957 "type":"structure", 13958 "required":[ 13959 "resourceArn", 13960 "policy" 13961 ], 13962 "members":{ 13963 "resourceArn":{ 13964 "shape":"AmazonResourceName", 13965 "documentation":"<p>The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.</p>", 13966 "location":"uri", 13967 "locationName":"resourceArn" 13968 }, 13969 "policy":{ 13970 "shape":"Policy", 13971 "documentation":"<p>A resource policy to add to the resource. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow the IAM syntax. For more information about the contents of a JSON policy document, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html\"> IAM JSON policy reference </a>. </p> <p>If the policy isn't valid, Amazon Lex returns a validation exception.</p>" 13972 }, 13973 "expectedRevisionId":{ 13974 "shape":"RevisionId", 13975 "documentation":"<p>The identifier of the revision of the policy to update. If this revision ID doesn't match the current revision ID, Amazon Lex throws an exception.</p> <p>If you don't specify a revision, Amazon Lex overwrites the contents of the policy with the new values.</p>", 13976 "location":"querystring", 13977 "locationName":"expectedRevisionId" 13978 } 13979 } 13980 }, 13981 "UpdateResourcePolicyResponse":{ 13982 "type":"structure", 13983 "members":{ 13984 "resourceArn":{ 13985 "shape":"AmazonResourceName", 13986 "documentation":"<p>The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.</p>" 13987 }, 13988 "revisionId":{ 13989 "shape":"RevisionId", 13990 "documentation":"<p>The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.</p>" 13991 } 13992 } 13993 }, 13994 "UpdateSlotRequest":{ 13995 "type":"structure", 13996 "required":[ 13997 "slotId", 13998 "slotName", 13999 "valueElicitationSetting", 14000 "botId", 14001 "botVersion", 14002 "localeId", 14003 "intentId" 14004 ], 14005 "members":{ 14006 "slotId":{ 14007 "shape":"Id", 14008 "documentation":"<p>The unique identifier for the slot to update.</p>", 14009 "location":"uri", 14010 "locationName":"slotId" 14011 }, 14012 "slotName":{ 14013 "shape":"Name", 14014 "documentation":"<p>The new name for the slot.</p>" 14015 }, 14016 "description":{ 14017 "shape":"Description", 14018 "documentation":"<p>The new description for the slot.</p>" 14019 }, 14020 "slotTypeId":{ 14021 "shape":"BuiltInOrCustomSlotTypeId", 14022 "documentation":"<p>The unique identifier of the new slot type to associate with this slot. </p>" 14023 }, 14024 "valueElicitationSetting":{ 14025 "shape":"SlotValueElicitationSetting", 14026 "documentation":"<p>A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot.</p>" 14027 }, 14028 "obfuscationSetting":{ 14029 "shape":"ObfuscationSetting", 14030 "documentation":"<p>New settings that determine how slot values are formatted in Amazon CloudWatch logs. </p>" 14031 }, 14032 "botId":{ 14033 "shape":"Id", 14034 "documentation":"<p>The unique identifier of the bot that contains the slot.</p>", 14035 "location":"uri", 14036 "locationName":"botId" 14037 }, 14038 "botVersion":{ 14039 "shape":"DraftBotVersion", 14040 "documentation":"<p>The version of the bot that contains the slot. Must always be <code>DRAFT</code>.</p>", 14041 "location":"uri", 14042 "locationName":"botVersion" 14043 }, 14044 "localeId":{ 14045 "shape":"LocaleId", 14046 "documentation":"<p>The identifier of the language and locale that contains the slot. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 14047 "location":"uri", 14048 "locationName":"localeId" 14049 }, 14050 "intentId":{ 14051 "shape":"Id", 14052 "documentation":"<p>The identifier of the intent that contains the slot.</p>", 14053 "location":"uri", 14054 "locationName":"intentId" 14055 }, 14056 "multipleValuesSetting":{ 14057 "shape":"MultipleValuesSetting", 14058 "documentation":"<p>Determines whether the slot accepts multiple values in one response. Multiple value slots are only available in the en-US locale. If you set this value to <code>true</code> in any other locale, Amazon Lex throws a <code>ValidationException</code>.</p> <p>If the <code>multipleValuesSetting</code> is not set, the default value is <code>false</code>.</p>" 14059 }, 14060 "subSlotSetting":{ 14061 "shape":"SubSlotSetting", 14062 "documentation":"<p>Specifications for the constituent sub slots and the expression for the composite slot.</p>" 14063 } 14064 } 14065 }, 14066 "UpdateSlotResponse":{ 14067 "type":"structure", 14068 "members":{ 14069 "slotId":{ 14070 "shape":"Id", 14071 "documentation":"<p>The unique identifier of the slot that was updated.</p>" 14072 }, 14073 "slotName":{ 14074 "shape":"Name", 14075 "documentation":"<p>The updated name of the slot.</p>" 14076 }, 14077 "description":{ 14078 "shape":"Description", 14079 "documentation":"<p>The updated description of the bot.</p>" 14080 }, 14081 "slotTypeId":{ 14082 "shape":"BuiltInOrCustomSlotTypeId", 14083 "documentation":"<p>The updated identifier of the slot type that provides values for the slot.</p>" 14084 }, 14085 "valueElicitationSetting":{ 14086 "shape":"SlotValueElicitationSetting", 14087 "documentation":"<p>The updated prompts that Amazon Lex sends to the user to elicit a response that provides a value for the slot.</p>" 14088 }, 14089 "obfuscationSetting":{ 14090 "shape":"ObfuscationSetting", 14091 "documentation":"<p>The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs.</p>" 14092 }, 14093 "botId":{ 14094 "shape":"Id", 14095 "documentation":"<p>The identifier of the bot that contains the slot.</p>" 14096 }, 14097 "botVersion":{ 14098 "shape":"DraftBotVersion", 14099 "documentation":"<p>The version of the bot that contains the slot. Will always be <code>DRAFT</code>.</p>" 14100 }, 14101 "localeId":{ 14102 "shape":"LocaleId", 14103 "documentation":"<p>The locale that contains the slot.</p>" 14104 }, 14105 "intentId":{ 14106 "shape":"Id", 14107 "documentation":"<p>The intent that contains the slot.</p>" 14108 }, 14109 "creationDateTime":{ 14110 "shape":"Timestamp", 14111 "documentation":"<p>The timestamp of the date and time that the slot was created.</p>" 14112 }, 14113 "lastUpdatedDateTime":{ 14114 "shape":"Timestamp", 14115 "documentation":"<p>The timestamp of the date and time that the slot was last updated.</p>" 14116 }, 14117 "multipleValuesSetting":{ 14118 "shape":"MultipleValuesSetting", 14119 "documentation":"<p>Indicates whether the slot accepts multiple values in one response.</p>" 14120 }, 14121 "subSlotSetting":{ 14122 "shape":"SubSlotSetting", 14123 "documentation":"<p>Specifications for the constituent sub slots and the expression for the composite slot.</p>" 14124 } 14125 } 14126 }, 14127 "UpdateSlotTypeRequest":{ 14128 "type":"structure", 14129 "required":[ 14130 "slotTypeId", 14131 "slotTypeName", 14132 "botId", 14133 "botVersion", 14134 "localeId" 14135 ], 14136 "members":{ 14137 "slotTypeId":{ 14138 "shape":"Id", 14139 "documentation":"<p>The unique identifier of the slot type to update.</p>", 14140 "location":"uri", 14141 "locationName":"slotTypeId" 14142 }, 14143 "slotTypeName":{ 14144 "shape":"Name", 14145 "documentation":"<p>The new name of the slot type.</p>" 14146 }, 14147 "description":{ 14148 "shape":"Description", 14149 "documentation":"<p>The new description of the slot type.</p>" 14150 }, 14151 "slotTypeValues":{ 14152 "shape":"SlotTypeValues", 14153 "documentation":"<p>A new list of values and their optional synonyms that define the values that the slot type can take.</p>" 14154 }, 14155 "valueSelectionSetting":{ 14156 "shape":"SlotValueSelectionSetting", 14157 "documentation":"<p>The strategy that Amazon Lex should use when deciding on a value from the list of slot type values.</p>" 14158 }, 14159 "parentSlotTypeSignature":{ 14160 "shape":"SlotTypeSignature", 14161 "documentation":"<p>The new built-in slot type that should be used as the parent of this slot type.</p>" 14162 }, 14163 "botId":{ 14164 "shape":"Id", 14165 "documentation":"<p>The identifier of the bot that contains the slot type.</p>", 14166 "location":"uri", 14167 "locationName":"botId" 14168 }, 14169 "botVersion":{ 14170 "shape":"DraftBotVersion", 14171 "documentation":"<p>The version of the bot that contains the slot type. Must be <code>DRAFT</code>.</p>", 14172 "location":"uri", 14173 "locationName":"botVersion" 14174 }, 14175 "localeId":{ 14176 "shape":"LocaleId", 14177 "documentation":"<p>The identifier of the language and locale that contains the slot type. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a>.</p>", 14178 "location":"uri", 14179 "locationName":"localeId" 14180 }, 14181 "externalSourceSetting":{"shape":"ExternalSourceSetting"}, 14182 "compositeSlotTypeSetting":{ 14183 "shape":"CompositeSlotTypeSetting", 14184 "documentation":"<p>Specifications for a composite slot type.</p>" 14185 } 14186 } 14187 }, 14188 "UpdateSlotTypeResponse":{ 14189 "type":"structure", 14190 "members":{ 14191 "slotTypeId":{ 14192 "shape":"Id", 14193 "documentation":"<p>The unique identifier of the updated slot type.</p>" 14194 }, 14195 "slotTypeName":{ 14196 "shape":"Name", 14197 "documentation":"<p>The updated name of the slot type.</p>" 14198 }, 14199 "description":{ 14200 "shape":"Description", 14201 "documentation":"<p>The updated description of the slot type.</p>" 14202 }, 14203 "slotTypeValues":{ 14204 "shape":"SlotTypeValues", 14205 "documentation":"<p>The updated values that the slot type provides.</p>" 14206 }, 14207 "valueSelectionSetting":{ 14208 "shape":"SlotValueSelectionSetting", 14209 "documentation":"<p>The updated strategy that Amazon Lex uses to determine which value to select from the slot type.</p>" 14210 }, 14211 "parentSlotTypeSignature":{ 14212 "shape":"SlotTypeSignature", 14213 "documentation":"<p>The updated signature of the built-in slot type that is the parent of this slot type.</p>" 14214 }, 14215 "botId":{ 14216 "shape":"Id", 14217 "documentation":"<p>The identifier of the bot that contains the slot type.</p>" 14218 }, 14219 "botVersion":{ 14220 "shape":"DraftBotVersion", 14221 "documentation":"<p>The version of the bot that contains the slot type. This is always <code>DRAFT</code>.</p>" 14222 }, 14223 "localeId":{ 14224 "shape":"LocaleId", 14225 "documentation":"<p>The language and locale of the updated slot type.</p>" 14226 }, 14227 "creationDateTime":{ 14228 "shape":"Timestamp", 14229 "documentation":"<p>The timestamp of the date and time that the slot type was created.</p>" 14230 }, 14231 "lastUpdatedDateTime":{ 14232 "shape":"Timestamp", 14233 "documentation":"<p>A timestamp of the date and time that the slot type was last updated.</p>" 14234 }, 14235 "externalSourceSetting":{"shape":"ExternalSourceSetting"}, 14236 "compositeSlotTypeSetting":{ 14237 "shape":"CompositeSlotTypeSetting", 14238 "documentation":"<p>Specifications for a composite slot type.</p>" 14239 } 14240 } 14241 }, 14242 "UpdateTestSetRequest":{ 14243 "type":"structure", 14244 "required":[ 14245 "testSetId", 14246 "testSetName" 14247 ], 14248 "members":{ 14249 "testSetId":{ 14250 "shape":"Id", 14251 "documentation":"<p>The test set Id for which update test operation to be performed.</p>", 14252 "location":"uri", 14253 "locationName":"testSetId" 14254 }, 14255 "testSetName":{ 14256 "shape":"Name", 14257 "documentation":"<p>The new test set name.</p>" 14258 }, 14259 "description":{ 14260 "shape":"Description", 14261 "documentation":"<p>The new test set description.</p>" 14262 } 14263 } 14264 }, 14265 "UpdateTestSetResponse":{ 14266 "type":"structure", 14267 "members":{ 14268 "testSetId":{ 14269 "shape":"Id", 14270 "documentation":"<p>The test set Id for which update test operation to be performed.</p>" 14271 }, 14272 "testSetName":{ 14273 "shape":"Name", 14274 "documentation":"<p>The test set name for the updated test set.</p>" 14275 }, 14276 "description":{ 14277 "shape":"Description", 14278 "documentation":"<p>The test set description for the updated test set.</p>" 14279 }, 14280 "modality":{ 14281 "shape":"TestSetModality", 14282 "documentation":"<p>Indicates whether audio or text is used for the updated test set.</p>" 14283 }, 14284 "status":{ 14285 "shape":"TestSetStatus", 14286 "documentation":"<p>The status for the updated test set.</p>" 14287 }, 14288 "roleArn":{ 14289 "shape":"RoleArn", 14290 "documentation":"<p>The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.</p>" 14291 }, 14292 "numTurns":{ 14293 "shape":"Count", 14294 "documentation":"<p>The number of conversation turns from the updated test set.</p>" 14295 }, 14296 "storageLocation":{ 14297 "shape":"TestSetStorageLocation", 14298 "documentation":"<p>The Amazon S3 storage location for the updated test set.</p>" 14299 }, 14300 "creationDateTime":{ 14301 "shape":"Timestamp", 14302 "documentation":"<p>The creation date and time for the updated test set.</p>" 14303 }, 14304 "lastUpdatedDateTime":{ 14305 "shape":"Timestamp", 14306 "documentation":"<p> The date and time of the last update for the updated test set.</p>" 14307 } 14308 } 14309 }, 14310 "UserTurnInputSpecification":{ 14311 "type":"structure", 14312 "required":["utteranceInput"], 14313 "members":{ 14314 "utteranceInput":{ 14315 "shape":"UtteranceInputSpecification", 14316 "documentation":"<p>The utterance input in the user turn.</p>" 14317 }, 14318 "requestAttributes":{ 14319 "shape":"StringMap", 14320 "documentation":"<p>Request attributes of the user turn.</p>" 14321 }, 14322 "sessionState":{ 14323 "shape":"InputSessionStateSpecification", 14324 "documentation":"<p>Contains information about the session state in the input.</p>" 14325 } 14326 }, 14327 "documentation":"<p>Contains information about the user messages in the turn in the input.</p>" 14328 }, 14329 "UserTurnIntentOutput":{ 14330 "type":"structure", 14331 "required":["name"], 14332 "members":{ 14333 "name":{ 14334 "shape":"Name", 14335 "documentation":"<p>The name of the intent.</p>" 14336 }, 14337 "slots":{ 14338 "shape":"UserTurnSlotOutputMap", 14339 "documentation":"<p>The slots associated with the intent.</p>" 14340 } 14341 }, 14342 "documentation":"<p>Contains information about the intent that is output for the turn by the test execution.</p>" 14343 }, 14344 "UserTurnOutputSpecification":{ 14345 "type":"structure", 14346 "required":["intent"], 14347 "members":{ 14348 "intent":{ 14349 "shape":"UserTurnIntentOutput", 14350 "documentation":"<p>Contains information about the intent.</p>" 14351 }, 14352 "activeContexts":{ 14353 "shape":"ActiveContextList", 14354 "documentation":"<p>The contexts that are active in the turn.</p>" 14355 }, 14356 "transcript":{ 14357 "shape":"TestSetUtteranceText", 14358 "documentation":"<p>The transcript that is output for the user turn by the test execution.</p>" 14359 } 14360 }, 14361 "documentation":"<p>Contains results that are output for the user turn by the test execution.</p>" 14362 }, 14363 "UserTurnResult":{ 14364 "type":"structure", 14365 "required":[ 14366 "input", 14367 "expectedOutput" 14368 ], 14369 "members":{ 14370 "input":{ 14371 "shape":"UserTurnInputSpecification", 14372 "documentation":"<p>Contains information about the user messages in the turn in the input.</p>" 14373 }, 14374 "expectedOutput":{ 14375 "shape":"UserTurnOutputSpecification", 14376 "documentation":"<p>Contains information about the expected output for the user turn.</p>" 14377 }, 14378 "actualOutput":{ 14379 "shape":"UserTurnOutputSpecification", 14380 "documentation":"<p>Contains information about the actual output for the user turn.</p>" 14381 }, 14382 "errorDetails":{"shape":"ExecutionErrorDetails"}, 14383 "endToEndResult":{ 14384 "shape":"TestResultMatchStatus", 14385 "documentation":"<p>Specifies whether the expected and actual outputs match or not, or if there is an error in execution.</p>" 14386 }, 14387 "intentMatchResult":{ 14388 "shape":"TestResultMatchStatus", 14389 "documentation":"<p>Specifies whether the expected and actual intents match or not.</p>" 14390 }, 14391 "slotMatchResult":{ 14392 "shape":"TestResultMatchStatus", 14393 "documentation":"<p>Specifies whether the expected and actual slots match or not.</p>" 14394 }, 14395 "speechTranscriptionResult":{ 14396 "shape":"TestResultMatchStatus", 14397 "documentation":"<p>Specifies whether the expected and actual speech transcriptions match or not, or if there is an error in execution.</p>" 14398 }, 14399 "conversationLevelResult":{ 14400 "shape":"ConversationLevelResultDetail", 14401 "documentation":"<p>Contains information about the results related to the conversation associated with the user turn.</p>" 14402 } 14403 }, 14404 "documentation":"<p>Contains the results for the user turn by the test execution.</p>" 14405 }, 14406 "UserTurnSlotOutput":{ 14407 "type":"structure", 14408 "members":{ 14409 "value":{ 14410 "shape":"NonEmptyString", 14411 "documentation":"<p>The value output by the slot recognition.</p>" 14412 }, 14413 "values":{ 14414 "shape":"UserTurnSlotOutputList", 14415 "documentation":"<p>Values that are output by the slot recognition.</p>" 14416 }, 14417 "subSlots":{ 14418 "shape":"UserTurnSlotOutputMap", 14419 "documentation":"<p>A list of items mapping the name of the subslots to information about those subslots.</p>" 14420 } 14421 }, 14422 "documentation":"<p>Contains information about a slot output by the test set execution.</p>" 14423 }, 14424 "UserTurnSlotOutputList":{ 14425 "type":"list", 14426 "member":{"shape":"UserTurnSlotOutput"} 14427 }, 14428 "UserTurnSlotOutputMap":{ 14429 "type":"map", 14430 "key":{"shape":"Name"}, 14431 "value":{"shape":"UserTurnSlotOutput"} 14432 }, 14433 "UserTurnSpecification":{ 14434 "type":"structure", 14435 "required":[ 14436 "input", 14437 "expected" 14438 ], 14439 "members":{ 14440 "input":{ 14441 "shape":"UserTurnInputSpecification", 14442 "documentation":"<p>Contains information about the user messages in the turn in the input.</p>" 14443 }, 14444 "expected":{ 14445 "shape":"UserTurnOutputSpecification", 14446 "documentation":"<p>Contains results about the expected output for the user turn.</p>" 14447 } 14448 }, 14449 "documentation":"<p>Contains information about the expected and input values for the user turn.</p>" 14450 }, 14451 "Utterance":{"type":"string"}, 14452 "UtteranceAggregationDuration":{ 14453 "type":"structure", 14454 "required":["relativeAggregationDuration"], 14455 "members":{ 14456 "relativeAggregationDuration":{ 14457 "shape":"RelativeAggregationDuration", 14458 "documentation":"<p>The desired time window for aggregating utterances. </p>" 14459 } 14460 }, 14461 "documentation":"<p>Provides parameters for setting the time window and duration for aggregating utterance data.</p>" 14462 }, 14463 "UtteranceAudioInputSpecification":{ 14464 "type":"structure", 14465 "required":["audioFileS3Location"], 14466 "members":{ 14467 "audioFileS3Location":{ 14468 "shape":"AudioFileS3Location", 14469 "documentation":"<p>Amazon S3 file pointing to the audio.</p>" 14470 } 14471 }, 14472 "documentation":"<p>Contains information about the audio for an utterance.</p>" 14473 }, 14474 "UtteranceBotResponse":{ 14475 "type":"structure", 14476 "members":{ 14477 "content":{ 14478 "shape":"String", 14479 "documentation":"<p>The text of the response to the utterance from the bot.</p>" 14480 }, 14481 "contentType":{ 14482 "shape":"UtteranceContentType", 14483 "documentation":"<p>The type of the response. The following values are possible:</p> <ul> <li> <p> <code>PlainText</code> – A plain text string.</p> </li> <li> <p> <code>CustomPayload</code> – A response string that you can customize to include data or metadata for your application.</p> </li> <li> <p> <code>SSML</code> – A string that includes Speech Synthesis Markup Language to customize the audio response.</p> </li> <li> <p> <code>ImageResponseCard</code> – An image with buttons that the customer can select. See <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_ImageResponseCard.html\">ImageResponseCard</a> for more information.</p> </li> </ul>" 14484 }, 14485 "imageResponseCard":{"shape":"ImageResponseCard"} 14486 }, 14487 "documentation":"<p>An object that contains a response to the utterance from the bot.</p>" 14488 }, 14489 "UtteranceBotResponses":{ 14490 "type":"list", 14491 "member":{"shape":"UtteranceBotResponse"} 14492 }, 14493 "UtteranceContentType":{ 14494 "type":"string", 14495 "enum":[ 14496 "PlainText", 14497 "CustomPayload", 14498 "SSML", 14499 "ImageResponseCard" 14500 ] 14501 }, 14502 "UtteranceDataSortBy":{ 14503 "type":"structure", 14504 "required":[ 14505 "name", 14506 "order" 14507 ], 14508 "members":{ 14509 "name":{ 14510 "shape":"AnalyticsUtteranceSortByName", 14511 "documentation":"<p>The measure by which to sort the utterance analytics data.</p> <ul> <li> <p> <code>Count</code> – The number of utterances.</p> </li> <li> <p> <code>UtteranceTimestamp</code> – The date and time of the utterance.</p> </li> </ul>" 14512 }, 14513 "order":{ 14514 "shape":"AnalyticsSortOrder", 14515 "documentation":"<p>Specifies whether to sort the results in ascending or descending order.</p>" 14516 } 14517 }, 14518 "documentation":"<p>An object specifying the measure and method by which to sort the utterance data.</p>" 14519 }, 14520 "UtteranceInputSpecification":{ 14521 "type":"structure", 14522 "members":{ 14523 "textInput":{ 14524 "shape":"TestSetUtteranceText", 14525 "documentation":"<p>A text input transcription of the utterance. It is only applicable for test-sets containing text data.</p>" 14526 }, 14527 "audioInput":{ 14528 "shape":"UtteranceAudioInputSpecification", 14529 "documentation":"<p>Contains information about the audio input for an utterance.</p>" 14530 } 14531 }, 14532 "documentation":"<p>Contains information about input of an utterance.</p>" 14533 }, 14534 "UtteranceLevelTestResultItem":{ 14535 "type":"structure", 14536 "required":[ 14537 "recordNumber", 14538 "turnResult" 14539 ], 14540 "members":{ 14541 "recordNumber":{ 14542 "shape":"RecordNumber", 14543 "documentation":"<p>The record number of the result.</p>" 14544 }, 14545 "conversationId":{ 14546 "shape":"TestSetConversationId", 14547 "documentation":"<p>The unique identifier for the conversation associated with the result.</p>" 14548 }, 14549 "turnResult":{ 14550 "shape":"TestSetTurnResult", 14551 "documentation":"<p>Contains information about the turn associated with the result.</p>" 14552 } 14553 }, 14554 "documentation":"<p>Contains information about multiple utterances in the results of a test set execution.</p>" 14555 }, 14556 "UtteranceLevelTestResultItemList":{ 14557 "type":"list", 14558 "member":{"shape":"UtteranceLevelTestResultItem"} 14559 }, 14560 "UtteranceLevelTestResults":{ 14561 "type":"structure", 14562 "required":["items"], 14563 "members":{ 14564 "items":{ 14565 "shape":"UtteranceLevelTestResultItemList", 14566 "documentation":"<p>Contains information about an utterance in the results of the test set execution.</p>" 14567 } 14568 }, 14569 "documentation":"<p>Contains information about the utterances in the results of the test set execution.</p>" 14570 }, 14571 "UtteranceSpecification":{ 14572 "type":"structure", 14573 "members":{ 14574 "botAliasId":{ 14575 "shape":"BotAliasId", 14576 "documentation":"<p>The identifier of the alias of the bot that the utterance was made to.</p>" 14577 }, 14578 "botVersion":{ 14579 "shape":"NumericalBotVersion", 14580 "documentation":"<p>The version of the bot that the utterance was made to.</p>" 14581 }, 14582 "localeId":{ 14583 "shape":"LocaleId", 14584 "documentation":"<p>The locale of the bot that the utterance was made to.</p>" 14585 }, 14586 "sessionId":{ 14587 "shape":"AnalyticsSessionId", 14588 "documentation":"<p>The identifier of the session that the utterance was made in.</p>" 14589 }, 14590 "channel":{ 14591 "shape":"AnalyticsChannel", 14592 "documentation":"<p>The channel that is integrated with the bot that the utterance was made to.</p>" 14593 }, 14594 "mode":{ 14595 "shape":"AnalyticsModality", 14596 "documentation":"<p>The mode of the session. The possible values are as follows:</p> <ul> <li> <p> <code>Speech</code> – The session consisted of spoken dialogue.</p> </li> <li> <p> <code>Text</code> – The session consisted of written dialogue.</p> </li> <li> <p> <code>DTMF</code> – The session consisted of touch-tone keypad (Dual Tone Multi-Frequency) key presses.</p> </li> <li> <p> <code>MultiMode</code> – The session consisted of multiple modes.</p> </li> </ul>" 14597 }, 14598 "conversationStartTime":{ 14599 "shape":"Timestamp", 14600 "documentation":"<p>The date and time when the conversation in which the utterance took place began. A conversation is defined as a unique combination of a <code>sessionId</code> and an <code>originatingRequestId</code>.</p>" 14601 }, 14602 "conversationEndTime":{ 14603 "shape":"Timestamp", 14604 "documentation":"<p>The date and time when the conversation in which the utterance took place ended. A conversation is defined as a unique combination of a <code>sessionId</code> and an <code>originatingRequestId</code>.</p>" 14605 }, 14606 "utterance":{ 14607 "shape":"String", 14608 "documentation":"<p>The text of the utterance.</p>" 14609 }, 14610 "utteranceTimestamp":{ 14611 "shape":"Timestamp", 14612 "documentation":"<p>The date and time when the utterance took place.</p>" 14613 }, 14614 "audioVoiceDurationMillis":{ 14615 "shape":"AnalyticsLongValue", 14616 "documentation":"<p>The duration in milliseconds of the audio associated with the utterance.</p>" 14617 }, 14618 "utteranceUnderstood":{ 14619 "shape":"UtteranceUnderstood", 14620 "documentation":"<p>Specifies whether the bot understood the utterance or not.</p>" 14621 }, 14622 "inputType":{ 14623 "shape":"String", 14624 "documentation":"<p>The input type of the utterance. The possible values are as follows:</p> <ul> <li> <p>PCM format: audio data must be in little-endian byte order.</p> <ul> <li> <p> <code>audio/l16; rate=16000; channels=1</code> </p> </li> <li> <p> <code>audio/x-l16; sample-rate=16000; channel-count=1</code> </p> </li> <li> <p> <code>audio/lpcm; sample-rate=8000; sample-size-bits=16; channel-count=1; is-big-endian=false</code> </p> </li> </ul> </li> <li> <p>Opus format</p> <ul> <li> <p> <code>audio/x-cbr-opus-with-preamble;preamble-size=0;bit-rate=256000;frame-size-milliseconds=4</code> </p> </li> </ul> </li> <li> <p>Text format</p> <ul> <li> <p> <code>text/plain; charset=utf-8</code> </p> </li> </ul> </li> </ul>" 14625 }, 14626 "outputType":{ 14627 "shape":"String", 14628 "documentation":"<p>The output type of the utterance. The possible values are as follows:</p> <ul> <li> <p> <code>audio/mpeg</code> </p> </li> <li> <p> <code>audio/ogg</code> </p> </li> <li> <p> <code>audio/pcm (16 KHz)</code> </p> </li> <li> <p> <code>audio/</code> (defaults to <code>mpeg</code>)</p> </li> <li> <p> <code>text/plain; charset=utf-8</code> </p> </li> </ul>" 14629 }, 14630 "associatedIntentName":{ 14631 "shape":"Name", 14632 "documentation":"<p>The name of the intent that the utterance is associated to.</p>" 14633 }, 14634 "associatedSlotName":{ 14635 "shape":"Name", 14636 "documentation":"<p>The name of the slot that the utterance is associated to.</p>" 14637 }, 14638 "intentState":{ 14639 "shape":"IntentState", 14640 "documentation":"<p>The state of the intent that the utterance is associated to.</p>" 14641 }, 14642 "dialogActionType":{ 14643 "shape":"String", 14644 "documentation":"<p>The type of dialog action that the utterance is associated to. See the <code>type</code> field in <a href=\"https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_DialogAction.html\">DialogAction</a> for more information.</p>" 14645 }, 14646 "botResponseAudioVoiceId":{ 14647 "shape":"String", 14648 "documentation":"<p>The identifier for the audio of the bot response.</p>" 14649 }, 14650 "slotsFilledInSession":{ 14651 "shape":"String", 14652 "documentation":"<p>The slots that have been filled in the session by the time of the utterance.</p>" 14653 }, 14654 "utteranceRequestId":{ 14655 "shape":"Id", 14656 "documentation":"<p>The identifier of the request associated with the utterance.</p>" 14657 }, 14658 "botResponses":{ 14659 "shape":"UtteranceBotResponses", 14660 "documentation":"<p>A list of objects containing information about the bot response to the utterance.</p>" 14661 } 14662 }, 14663 "documentation":"<p>An object containing information about a specific utterance.</p>" 14664 }, 14665 "UtteranceSpecifications":{ 14666 "type":"list", 14667 "member":{"shape":"UtteranceSpecification"} 14668 }, 14669 "UtteranceUnderstood":{"type":"boolean"}, 14670 "ValidationException":{ 14671 "type":"structure", 14672 "members":{ 14673 "message":{"shape":"ExceptionMessage"} 14674 }, 14675 "documentation":"<p>One of the input parameters in your request isn't valid. Check the parameters and try your request again.</p>", 14676 "error":{"httpStatusCode":400}, 14677 "exception":true 14678 }, 14679 "Value":{ 14680 "type":"string", 14681 "max":140, 14682 "min":1 14683 }, 14684 "VoiceEngine":{ 14685 "type":"string", 14686 "enum":[ 14687 "standard", 14688 "neural" 14689 ] 14690 }, 14691 "VoiceId":{"type":"string"}, 14692 "VoiceSettings":{ 14693 "type":"structure", 14694 "required":["voiceId"], 14695 "members":{ 14696 "voiceId":{ 14697 "shape":"VoiceId", 14698 "documentation":"<p>The identifier of the Amazon Polly voice to use.</p>" 14699 }, 14700 "engine":{ 14701 "shape":"VoiceEngine", 14702 "documentation":"<p>Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more information, see the <a href=\"https://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html#polly-SynthesizeSpeech-request-Engine\"> <code>engine</code> parameter of the <code>SynthesizeSpeech</code> operation</a> in the <i>Amazon Polly developer guide</i>.</p> <p>If you do not specify a value, the default is <code>standard</code>.</p>" 14703 } 14704 }, 14705 "documentation":"<p>Defines settings for using an Amazon Polly voice to communicate with a user.</p>" 14706 }, 14707 "WaitAndContinueSpecification":{ 14708 "type":"structure", 14709 "required":[ 14710 "waitingResponse", 14711 "continueResponse" 14712 ], 14713 "members":{ 14714 "waitingResponse":{ 14715 "shape":"ResponseSpecification", 14716 "documentation":"<p>The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.</p>" 14717 }, 14718 "continueResponse":{ 14719 "shape":"ResponseSpecification", 14720 "documentation":"<p>The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.</p>" 14721 }, 14722 "stillWaitingResponse":{ 14723 "shape":"StillWaitingResponseSpecification", 14724 "documentation":"<p>A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.</p>" 14725 }, 14726 "active":{ 14727 "shape":"BoxedBoolean", 14728 "documentation":"<p>Specifies whether the bot will wait for a user to respond. When this field is false, wait and continue responses for a slot aren't used. If the <code>active</code> field isn't specified, the default is true.</p>" 14729 } 14730 }, 14731 "documentation":"<p>Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input. </p>" 14732 }, 14733 "Weight":{ 14734 "type":"integer", 14735 "box":true, 14736 "max":3, 14737 "min":0 14738 } 14739 }, 14740 "documentation":"<p/>" 14741} 14742