| 1 |
{ |
| 2 |
"version":"2.0", |
| 3 |
"metadata":{ |
| 4 |
"apiVersion":"2016-06-10", |
| 5 |
"endpointPrefix":"polly", |
| 6 |
"protocol":"rest-json", |
| 7 |
"serviceFullName":"Amazon Polly", |
| 8 |
"serviceId":"Polly", |
| 9 |
"signatureVersion":"v4", |
| 10 |
"uid":"polly-2016-06-10" |
| 11 |
}, |
| 12 |
"operations":{ |
| 13 |
"DeleteLexicon":{ |
| 14 |
"name":"DeleteLexicon", |
| 15 |
"http":{ |
| 16 |
"method":"DELETE", |
| 17 |
"requestUri":"/v1/lexicons/{LexiconName}", |
| 18 |
"responseCode":200 |
| 19 |
}, |
| 20 |
"input":{"shape":"DeleteLexiconInput"}, |
| 21 |
"output":{"shape":"DeleteLexiconOutput"}, |
| 22 |
"errors":[ |
| 23 |
{"shape":"LexiconNotFoundException"}, |
| 24 |
{"shape":"ServiceFailureException"} |
| 25 |
] |
| 26 |
}, |
| 27 |
"DescribeVoices":{ |
| 28 |
"name":"DescribeVoices", |
| 29 |
"http":{ |
| 30 |
"method":"GET", |
| 31 |
"requestUri":"/v1/voices", |
| 32 |
"responseCode":200 |
| 33 |
}, |
| 34 |
"input":{"shape":"DescribeVoicesInput"}, |
| 35 |
"output":{"shape":"DescribeVoicesOutput"}, |
| 36 |
"errors":[ |
| 37 |
{"shape":"InvalidNextTokenException"}, |
| 38 |
{"shape":"ServiceFailureException"} |
| 39 |
] |
| 40 |
}, |
| 41 |
"GetLexicon":{ |
| 42 |
"name":"GetLexicon", |
| 43 |
"http":{ |
| 44 |
"method":"GET", |
| 45 |
"requestUri":"/v1/lexicons/{LexiconName}", |
| 46 |
"responseCode":200 |
| 47 |
}, |
| 48 |
"input":{"shape":"GetLexiconInput"}, |
| 49 |
"output":{"shape":"GetLexiconOutput"}, |
| 50 |
"errors":[ |
| 51 |
{"shape":"LexiconNotFoundException"}, |
| 52 |
{"shape":"ServiceFailureException"} |
| 53 |
] |
| 54 |
}, |
| 55 |
"GetSpeechSynthesisTask":{ |
| 56 |
"name":"GetSpeechSynthesisTask", |
| 57 |
"http":{ |
| 58 |
"method":"GET", |
| 59 |
"requestUri":"/v1/synthesisTasks/{TaskId}", |
| 60 |
"responseCode":200 |
| 61 |
}, |
| 62 |
"input":{"shape":"GetSpeechSynthesisTaskInput"}, |
| 63 |
"output":{"shape":"GetSpeechSynthesisTaskOutput"}, |
| 64 |
"errors":[ |
| 65 |
{"shape":"InvalidTaskIdException"}, |
| 66 |
{"shape":"ServiceFailureException"}, |
| 67 |
{"shape":"SynthesisTaskNotFoundException"} |
| 68 |
] |
| 69 |
}, |
| 70 |
"ListLexicons":{ |
| 71 |
"name":"ListLexicons", |
| 72 |
"http":{ |
| 73 |
"method":"GET", |
| 74 |
"requestUri":"/v1/lexicons", |
| 75 |
"responseCode":200 |
| 76 |
}, |
| 77 |
"input":{"shape":"ListLexiconsInput"}, |
| 78 |
"output":{"shape":"ListLexiconsOutput"}, |
| 79 |
"errors":[ |
| 80 |
{"shape":"InvalidNextTokenException"}, |
| 81 |
{"shape":"ServiceFailureException"} |
| 82 |
] |
| 83 |
}, |
| 84 |
"ListSpeechSynthesisTasks":{ |
| 85 |
"name":"ListSpeechSynthesisTasks", |
| 86 |
"http":{ |
| 87 |
"method":"GET", |
| 88 |
"requestUri":"/v1/synthesisTasks", |
| 89 |
"responseCode":200 |
| 90 |
}, |
| 91 |
"input":{"shape":"ListSpeechSynthesisTasksInput"}, |
| 92 |
"output":{"shape":"ListSpeechSynthesisTasksOutput"}, |
| 93 |
"errors":[ |
| 94 |
{"shape":"InvalidNextTokenException"}, |
| 95 |
{"shape":"ServiceFailureException"} |
| 96 |
] |
| 97 |
}, |
| 98 |
"PutLexicon":{ |
| 99 |
"name":"PutLexicon", |
| 100 |
"http":{ |
| 101 |
"method":"PUT", |
| 102 |
"requestUri":"/v1/lexicons/{LexiconName}", |
| 103 |
"responseCode":200 |
| 104 |
}, |
| 105 |
"input":{"shape":"PutLexiconInput"}, |
| 106 |
"output":{"shape":"PutLexiconOutput"}, |
| 107 |
"errors":[ |
| 108 |
{"shape":"InvalidLexiconException"}, |
| 109 |
{"shape":"UnsupportedPlsAlphabetException"}, |
| 110 |
{"shape":"UnsupportedPlsLanguageException"}, |
| 111 |
{"shape":"LexiconSizeExceededException"}, |
| 112 |
{"shape":"MaxLexemeLengthExceededException"}, |
| 113 |
{"shape":"MaxLexiconsNumberExceededException"}, |
| 114 |
{"shape":"ServiceFailureException"} |
| 115 |
] |
| 116 |
}, |
| 117 |
"StartSpeechSynthesisTask":{ |
| 118 |
"name":"StartSpeechSynthesisTask", |
| 119 |
"http":{ |
| 120 |
"method":"POST", |
| 121 |
"requestUri":"/v1/synthesisTasks", |
| 122 |
"responseCode":200 |
| 123 |
}, |
| 124 |
"input":{"shape":"StartSpeechSynthesisTaskInput"}, |
| 125 |
"output":{"shape":"StartSpeechSynthesisTaskOutput"}, |
| 126 |
"errors":[ |
| 127 |
{"shape":"TextLengthExceededException"}, |
| 128 |
{"shape":"InvalidS3BucketException"}, |
| 129 |
{"shape":"InvalidS3KeyException"}, |
| 130 |
{"shape":"InvalidSampleRateException"}, |
| 131 |
{"shape":"InvalidSnsTopicArnException"}, |
| 132 |
{"shape":"InvalidSsmlException"}, |
| 133 |
{"shape":"EngineNotSupportedException"}, |
| 134 |
{"shape":"LexiconNotFoundException"}, |
| 135 |
{"shape":"ServiceFailureException"}, |
| 136 |
{"shape":"MarksNotSupportedForFormatException"}, |
| 137 |
{"shape":"SsmlMarksNotSupportedForTextTypeException"}, |
| 138 |
{"shape":"LanguageNotSupportedException"} |
| 139 |
] |
| 140 |
}, |
| 141 |
"SynthesizeSpeech":{ |
| 142 |
"name":"SynthesizeSpeech", |
| 143 |
"http":{ |
| 144 |
"method":"POST", |
| 145 |
"requestUri":"/v1/speech", |
| 146 |
"responseCode":200 |
| 147 |
}, |
| 148 |
"input":{"shape":"SynthesizeSpeechInput"}, |
| 149 |
"output":{"shape":"SynthesizeSpeechOutput"}, |
| 150 |
"errors":[ |
| 151 |
{"shape":"TextLengthExceededException"}, |
| 152 |
{"shape":"InvalidSampleRateException"}, |
| 153 |
{"shape":"InvalidSsmlException"}, |
| 154 |
{"shape":"LexiconNotFoundException"}, |
| 155 |
{"shape":"ServiceFailureException"}, |
| 156 |
{"shape":"MarksNotSupportedForFormatException"}, |
| 157 |
{"shape":"SsmlMarksNotSupportedForTextTypeException"}, |
| 158 |
{"shape":"LanguageNotSupportedException"}, |
| 159 |
{"shape":"EngineNotSupportedException"} |
| 160 |
] |
| 161 |
} |
| 162 |
}, |
| 163 |
"shapes":{ |
| 164 |
"Alphabet":{"type":"string"}, |
| 165 |
"AudioStream":{ |
| 166 |
"type":"blob", |
| 167 |
"streaming":true |
| 168 |
}, |
| 169 |
"ContentType":{"type":"string"}, |
| 170 |
"DateTime":{"type":"timestamp"}, |
| 171 |
"DeleteLexiconInput":{ |
| 172 |
"type":"structure", |
| 173 |
"required":["Name"], |
| 174 |
"members":{ |
| 175 |
"Name":{ |
| 176 |
"shape":"LexiconName", |
| 177 |
"location":"uri", |
| 178 |
"locationName":"LexiconName" |
| 179 |
} |
| 180 |
} |
| 181 |
}, |
| 182 |
"DeleteLexiconOutput":{ |
| 183 |
"type":"structure", |
| 184 |
"members":{ |
| 185 |
} |
| 186 |
}, |
| 187 |
"DescribeVoicesInput":{ |
| 188 |
"type":"structure", |
| 189 |
"members":{ |
| 190 |
"Engine":{ |
| 191 |
"shape":"Engine", |
| 192 |
"location":"querystring", |
| 193 |
"locationName":"Engine" |
| 194 |
}, |
| 195 |
"LanguageCode":{ |
| 196 |
"shape":"LanguageCode", |
| 197 |
"location":"querystring", |
| 198 |
"locationName":"LanguageCode" |
| 199 |
}, |
| 200 |
"IncludeAdditionalLanguageCodes":{ |
| 201 |
"shape":"IncludeAdditionalLanguageCodes", |
| 202 |
"location":"querystring", |
| 203 |
"locationName":"IncludeAdditionalLanguageCodes" |
| 204 |
}, |
| 205 |
"NextToken":{ |
| 206 |
"shape":"NextToken", |
| 207 |
"location":"querystring", |
| 208 |
"locationName":"NextToken" |
| 209 |
} |
| 210 |
} |
| 211 |
}, |
| 212 |
"DescribeVoicesOutput":{ |
| 213 |
"type":"structure", |
| 214 |
"members":{ |
| 215 |
"Voices":{"shape":"VoiceList"}, |
| 216 |
"NextToken":{"shape":"NextToken"} |
| 217 |
} |
| 218 |
}, |
| 219 |
"Engine":{ |
| 220 |
"type":"string", |
| 221 |
"enum":[ |
| 222 |
"standard", |
| 223 |
"neural", |
| 224 |
"long-form" |
| 225 |
] |
| 226 |
}, |
| 227 |
"EngineList":{ |
| 228 |
"type":"list", |
| 229 |
"member":{"shape":"Engine"} |
| 230 |
}, |
| 231 |
"EngineNotSupportedException":{ |
| 232 |
"type":"structure", |
| 233 |
"members":{ |
| 234 |
"message":{"shape":"ErrorMessage"} |
| 235 |
}, |
| 236 |
"error":{"httpStatusCode":400}, |
| 237 |
"exception":true |
| 238 |
}, |
| 239 |
"ErrorMessage":{"type":"string"}, |
| 240 |
"Gender":{ |
| 241 |
"type":"string", |
| 242 |
"enum":[ |
| 243 |
"Female", |
| 244 |
"Male" |
| 245 |
] |
| 246 |
}, |
| 247 |
"GetLexiconInput":{ |
| 248 |
"type":"structure", |
| 249 |
"required":["Name"], |
| 250 |
"members":{ |
| 251 |
"Name":{ |
| 252 |
"shape":"LexiconName", |
| 253 |
"location":"uri", |
| 254 |
"locationName":"LexiconName" |
| 255 |
} |
| 256 |
} |
| 257 |
}, |
| 258 |
"GetLexiconOutput":{ |
| 259 |
"type":"structure", |
| 260 |
"members":{ |
| 261 |
"Lexicon":{"shape":"Lexicon"}, |
| 262 |
"LexiconAttributes":{"shape":"LexiconAttributes"} |
| 263 |
} |
| 264 |
}, |
| 265 |
"GetSpeechSynthesisTaskInput":{ |
| 266 |
"type":"structure", |
| 267 |
"required":["TaskId"], |
| 268 |
"members":{ |
| 269 |
"TaskId":{ |
| 270 |
"shape":"TaskId", |
| 271 |
"location":"uri", |
| 272 |
"locationName":"TaskId" |
| 273 |
} |
| 274 |
} |
| 275 |
}, |
| 276 |
"GetSpeechSynthesisTaskOutput":{ |
| 277 |
"type":"structure", |
| 278 |
"members":{ |
| 279 |
"SynthesisTask":{"shape":"SynthesisTask"} |
| 280 |
} |
| 281 |
}, |
| 282 |
"IncludeAdditionalLanguageCodes":{"type":"boolean"}, |
| 283 |
"InvalidLexiconException":{ |
| 284 |
"type":"structure", |
| 285 |
"members":{ |
| 286 |
"message":{"shape":"ErrorMessage"} |
| 287 |
}, |
| 288 |
"error":{"httpStatusCode":400}, |
| 289 |
"exception":true |
| 290 |
}, |
| 291 |
"InvalidNextTokenException":{ |
| 292 |
"type":"structure", |
| 293 |
"members":{ |
| 294 |
"message":{"shape":"ErrorMessage"} |
| 295 |
}, |
| 296 |
"error":{"httpStatusCode":400}, |
| 297 |
"exception":true |
| 298 |
}, |
| 299 |
"InvalidS3BucketException":{ |
| 300 |
"type":"structure", |
| 301 |
"members":{ |
| 302 |
"message":{"shape":"ErrorMessage"} |
| 303 |
}, |
| 304 |
"error":{"httpStatusCode":400}, |
| 305 |
"exception":true |
| 306 |
}, |
| 307 |
"InvalidS3KeyException":{ |
| 308 |
"type":"structure", |
| 309 |
"members":{ |
| 310 |
"message":{"shape":"ErrorMessage"} |
| 311 |
}, |
| 312 |
"error":{"httpStatusCode":400}, |
| 313 |
"exception":true |
| 314 |
}, |
| 315 |
"InvalidSampleRateException":{ |
| 316 |
"type":"structure", |
| 317 |
"members":{ |
| 318 |
"message":{"shape":"ErrorMessage"} |
| 319 |
}, |
| 320 |
"error":{"httpStatusCode":400}, |
| 321 |
"exception":true |
| 322 |
}, |
| 323 |
"InvalidSnsTopicArnException":{ |
| 324 |
"type":"structure", |
| 325 |
"members":{ |
| 326 |
"message":{"shape":"ErrorMessage"} |
| 327 |
}, |
| 328 |
"error":{"httpStatusCode":400}, |
| 329 |
"exception":true |
| 330 |
}, |
| 331 |
"InvalidSsmlException":{ |
| 332 |
"type":"structure", |
| 333 |
"members":{ |
| 334 |
"message":{"shape":"ErrorMessage"} |
| 335 |
}, |
| 336 |
"error":{"httpStatusCode":400}, |
| 337 |
"exception":true |
| 338 |
}, |
| 339 |
"InvalidTaskIdException":{ |
| 340 |
"type":"structure", |
| 341 |
"members":{ |
| 342 |
"message":{"shape":"ErrorMessage"} |
| 343 |
}, |
| 344 |
"error":{"httpStatusCode":400}, |
| 345 |
"exception":true |
| 346 |
}, |
| 347 |
"LanguageCode":{ |
| 348 |
"type":"string", |
| 349 |
"enum":[ |
| 350 |
"arb", |
| 351 |
"cmn-CN", |
| 352 |
"cy-GB", |
| 353 |
"da-DK", |
| 354 |
"de-DE", |
| 355 |
"en-AU", |
| 356 |
"en-GB", |
| 357 |
"en-GB-WLS", |
| 358 |
"en-IN", |
| 359 |
"en-US", |
| 360 |
"es-ES", |
| 361 |
"es-MX", |
| 362 |
"es-US", |
| 363 |
"fr-CA", |
| 364 |
"fr-FR", |
| 365 |
"is-IS", |
| 366 |
"it-IT", |
| 367 |
"ja-JP", |
| 368 |
"hi-IN", |
| 369 |
"ko-KR", |
| 370 |
"nb-NO", |
| 371 |
"nl-NL", |
| 372 |
"pl-PL", |
| 373 |
"pt-BR", |
| 374 |
"pt-PT", |
| 375 |
"ro-RO", |
| 376 |
"ru-RU", |
| 377 |
"sv-SE", |
| 378 |
"tr-TR", |
| 379 |
"en-NZ", |
| 380 |
"en-ZA", |
| 381 |
"ca-ES", |
| 382 |
"de-AT", |
| 383 |
"yue-CN", |
| 384 |
"ar-AE", |
| 385 |
"fi-FI", |
| 386 |
"en-IE", |
| 387 |
"nl-BE", |
| 388 |
"fr-BE" |
| 389 |
] |
| 390 |
}, |
| 391 |
"LanguageCodeList":{ |
| 392 |
"type":"list", |
| 393 |
"member":{"shape":"LanguageCode"} |
| 394 |
}, |
| 395 |
"LanguageName":{"type":"string"}, |
| 396 |
"LanguageNotSupportedException":{ |
| 397 |
"type":"structure", |
| 398 |
"members":{ |
| 399 |
"message":{"shape":"ErrorMessage"} |
| 400 |
}, |
| 401 |
"error":{"httpStatusCode":400}, |
| 402 |
"exception":true |
| 403 |
}, |
| 404 |
"LastModified":{"type":"timestamp"}, |
| 405 |
"LexemesCount":{"type":"integer"}, |
| 406 |
"Lexicon":{ |
| 407 |
"type":"structure", |
| 408 |
"members":{ |
| 409 |
"Content":{"shape":"LexiconContent"}, |
| 410 |
"Name":{"shape":"LexiconName"} |
| 411 |
} |
| 412 |
}, |
| 413 |
"LexiconArn":{"type":"string"}, |
| 414 |
"LexiconAttributes":{ |
| 415 |
"type":"structure", |
| 416 |
"members":{ |
| 417 |
"Alphabet":{"shape":"Alphabet"}, |
| 418 |
"LanguageCode":{"shape":"LanguageCode"}, |
| 419 |
"LastModified":{"shape":"LastModified"}, |
| 420 |
"LexiconArn":{"shape":"LexiconArn"}, |
| 421 |
"LexemesCount":{"shape":"LexemesCount"}, |
| 422 |
"Size":{"shape":"Size"} |
| 423 |
} |
| 424 |
}, |
| 425 |
"LexiconContent":{ |
| 426 |
"type":"string", |
| 427 |
"sensitive":true |
| 428 |
}, |
| 429 |
"LexiconDescription":{ |
| 430 |
"type":"structure", |
| 431 |
"members":{ |
| 432 |
"Name":{"shape":"LexiconName"}, |
| 433 |
"Attributes":{"shape":"LexiconAttributes"} |
| 434 |
} |
| 435 |
}, |
| 436 |
"LexiconDescriptionList":{ |
| 437 |
"type":"list", |
| 438 |
"member":{"shape":"LexiconDescription"} |
| 439 |
}, |
| 440 |
"LexiconName":{ |
| 441 |
"type":"string", |
| 442 |
"pattern":"[0-9A-Za-z]{1,20}" |
| 443 |
}, |
| 444 |
"LexiconNameList":{ |
| 445 |
"type":"list", |
| 446 |
"member":{"shape":"LexiconName"}, |
| 447 |
"max":5 |
| 448 |
}, |
| 449 |
"LexiconNotFoundException":{ |
| 450 |
"type":"structure", |
| 451 |
"members":{ |
| 452 |
"message":{"shape":"ErrorMessage"} |
| 453 |
}, |
| 454 |
"error":{"httpStatusCode":404}, |
| 455 |
"exception":true |
| 456 |
}, |
| 457 |
"LexiconSizeExceededException":{ |
| 458 |
"type":"structure", |
| 459 |
"members":{ |
| 460 |
"message":{"shape":"ErrorMessage"} |
| 461 |
}, |
| 462 |
"error":{"httpStatusCode":400}, |
| 463 |
"exception":true |
| 464 |
}, |
| 465 |
"ListLexiconsInput":{ |
| 466 |
"type":"structure", |
| 467 |
"members":{ |
| 468 |
"NextToken":{ |
| 469 |
"shape":"NextToken", |
| 470 |
"location":"querystring", |
| 471 |
"locationName":"NextToken" |
| 472 |
} |
| 473 |
} |
| 474 |
}, |
| 475 |
"ListLexiconsOutput":{ |
| 476 |
"type":"structure", |
| 477 |
"members":{ |
| 478 |
"Lexicons":{"shape":"LexiconDescriptionList"}, |
| 479 |
"NextToken":{"shape":"NextToken"} |
| 480 |
} |
| 481 |
}, |
| 482 |
"ListSpeechSynthesisTasksInput":{ |
| 483 |
"type":"structure", |
| 484 |
"members":{ |
| 485 |
"MaxResults":{ |
| 486 |
"shape":"MaxResults", |
| 487 |
"location":"querystring", |
| 488 |
"locationName":"MaxResults" |
| 489 |
}, |
| 490 |
"NextToken":{ |
| 491 |
"shape":"NextToken", |
| 492 |
"location":"querystring", |
| 493 |
"locationName":"NextToken" |
| 494 |
}, |
| 495 |
"Status":{ |
| 496 |
"shape":"TaskStatus", |
| 497 |
"location":"querystring", |
| 498 |
"locationName":"Status" |
| 499 |
} |
| 500 |
} |
| 501 |
}, |
| 502 |
"ListSpeechSynthesisTasksOutput":{ |
| 503 |
"type":"structure", |
| 504 |
"members":{ |
| 505 |
"NextToken":{"shape":"NextToken"}, |
| 506 |
"SynthesisTasks":{"shape":"SynthesisTasks"} |
| 507 |
} |
| 508 |
}, |
| 509 |
"MarksNotSupportedForFormatException":{ |
| 510 |
"type":"structure", |
| 511 |
"members":{ |
| 512 |
"message":{"shape":"ErrorMessage"} |
| 513 |
}, |
| 514 |
"error":{"httpStatusCode":400}, |
| 515 |
"exception":true |
| 516 |
}, |
| 517 |
"MaxLexemeLengthExceededException":{ |
| 518 |
"type":"structure", |
| 519 |
"members":{ |
| 520 |
"message":{"shape":"ErrorMessage"} |
| 521 |
}, |
| 522 |
"error":{"httpStatusCode":400}, |
| 523 |
"exception":true |
| 524 |
}, |
| 525 |
"MaxLexiconsNumberExceededException":{ |
| 526 |
"type":"structure", |
| 527 |
"members":{ |
| 528 |
"message":{"shape":"ErrorMessage"} |
| 529 |
}, |
| 530 |
"error":{"httpStatusCode":400}, |
| 531 |
"exception":true |
| 532 |
}, |
| 533 |
"MaxResults":{ |
| 534 |
"type":"integer", |
| 535 |
"max":100, |
| 536 |
"min":1 |
| 537 |
}, |
| 538 |
"NextToken":{ |
| 539 |
"type":"string", |
| 540 |
"max":4096, |
| 541 |
"min":0 |
| 542 |
}, |
| 543 |
"OutputFormat":{ |
| 544 |
"type":"string", |
| 545 |
"enum":[ |
| 546 |
"json", |
| 547 |
"mp3", |
| 548 |
"ogg_vorbis", |
| 549 |
"pcm" |
| 550 |
] |
| 551 |
}, |
| 552 |
"OutputS3BucketName":{ |
| 553 |
"type":"string", |
| 554 |
"pattern":"^[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]$" |
| 555 |
}, |
| 556 |
"OutputS3KeyPrefix":{ |
| 557 |
"type":"string", |
| 558 |
"pattern":"^[0-9a-zA-Z\\/\\!\\-_\\.\\*\\'\\(\\):;\\$@=+\\,\\?&]{0,800}$" |
| 559 |
}, |
| 560 |
"OutputUri":{"type":"string"}, |
| 561 |
"PutLexiconInput":{ |
| 562 |
"type":"structure", |
| 563 |
"required":[ |
| 564 |
"Name", |
| 565 |
"Content" |
| 566 |
], |
| 567 |
"members":{ |
| 568 |
"Name":{ |
| 569 |
"shape":"LexiconName", |
| 570 |
"location":"uri", |
| 571 |
"locationName":"LexiconName" |
| 572 |
}, |
| 573 |
"Content":{"shape":"LexiconContent"} |
| 574 |
} |
| 575 |
}, |
| 576 |
"PutLexiconOutput":{ |
| 577 |
"type":"structure", |
| 578 |
"members":{ |
| 579 |
} |
| 580 |
}, |
| 581 |
"RequestCharacters":{"type":"integer"}, |
| 582 |
"SampleRate":{"type":"string"}, |
| 583 |
"ServiceFailureException":{ |
| 584 |
"type":"structure", |
| 585 |
"members":{ |
| 586 |
"message":{"shape":"ErrorMessage"} |
| 587 |
}, |
| 588 |
"error":{"httpStatusCode":500}, |
| 589 |
"exception":true, |
| 590 |
"fault":true |
| 591 |
}, |
| 592 |
"Size":{"type":"integer"}, |
| 593 |
"SnsTopicArn":{ |
| 594 |
"type":"string", |
| 595 |
"pattern":"^arn:aws(-(cn|iso(-b)?|us-gov))?:sns:[a-z0-9_-]{1,50}:\\d{12}:[a-zA-Z0-9_-]{1,256}$" |
| 596 |
}, |
| 597 |
"SpeechMarkType":{ |
| 598 |
"type":"string", |
| 599 |
"enum":[ |
| 600 |
"sentence", |
| 601 |
"ssml", |
| 602 |
"viseme", |
| 603 |
"word" |
| 604 |
] |
| 605 |
}, |
| 606 |
"SpeechMarkTypeList":{ |
| 607 |
"type":"list", |
| 608 |
"member":{"shape":"SpeechMarkType"}, |
| 609 |
"max":4 |
| 610 |
}, |
| 611 |
"SsmlMarksNotSupportedForTextTypeException":{ |
| 612 |
"type":"structure", |
| 613 |
"members":{ |
| 614 |
"message":{"shape":"ErrorMessage"} |
| 615 |
}, |
| 616 |
"error":{"httpStatusCode":400}, |
| 617 |
"exception":true |
| 618 |
}, |
| 619 |
"StartSpeechSynthesisTaskInput":{ |
| 620 |
"type":"structure", |
| 621 |
"required":[ |
| 622 |
"OutputFormat", |
| 623 |
"OutputS3BucketName", |
| 624 |
"Text", |
| 625 |
"VoiceId" |
| 626 |
], |
| 627 |
"members":{ |
| 628 |
"Engine":{"shape":"Engine"}, |
| 629 |
"LanguageCode":{"shape":"LanguageCode"}, |
| 630 |
"LexiconNames":{"shape":"LexiconNameList"}, |
| 631 |
"OutputFormat":{"shape":"OutputFormat"}, |
| 632 |
"OutputS3BucketName":{"shape":"OutputS3BucketName"}, |
| 633 |
"OutputS3KeyPrefix":{"shape":"OutputS3KeyPrefix"}, |
| 634 |
"SampleRate":{"shape":"SampleRate"}, |
| 635 |
"SnsTopicArn":{"shape":"SnsTopicArn"}, |
| 636 |
"SpeechMarkTypes":{"shape":"SpeechMarkTypeList"}, |
| 637 |
"Text":{"shape":"Text"}, |
| 638 |
"TextType":{"shape":"TextType"}, |
| 639 |
"VoiceId":{"shape":"VoiceId"} |
| 640 |
} |
| 641 |
}, |
| 642 |
"StartSpeechSynthesisTaskOutput":{ |
| 643 |
"type":"structure", |
| 644 |
"members":{ |
| 645 |
"SynthesisTask":{"shape":"SynthesisTask"} |
| 646 |
} |
| 647 |
}, |
| 648 |
"SynthesisTask":{ |
| 649 |
"type":"structure", |
| 650 |
"members":{ |
| 651 |
"Engine":{"shape":"Engine"}, |
| 652 |
"TaskId":{"shape":"TaskId"}, |
| 653 |
"TaskStatus":{"shape":"TaskStatus"}, |
| 654 |
"TaskStatusReason":{"shape":"TaskStatusReason"}, |
| 655 |
"OutputUri":{"shape":"OutputUri"}, |
| 656 |
"CreationTime":{"shape":"DateTime"}, |
| 657 |
"RequestCharacters":{"shape":"RequestCharacters"}, |
| 658 |
"SnsTopicArn":{"shape":"SnsTopicArn"}, |
| 659 |
"LexiconNames":{"shape":"LexiconNameList"}, |
| 660 |
"OutputFormat":{"shape":"OutputFormat"}, |
| 661 |
"SampleRate":{"shape":"SampleRate"}, |
| 662 |
"SpeechMarkTypes":{"shape":"SpeechMarkTypeList"}, |
| 663 |
"TextType":{"shape":"TextType"}, |
| 664 |
"VoiceId":{"shape":"VoiceId"}, |
| 665 |
"LanguageCode":{"shape":"LanguageCode"} |
| 666 |
} |
| 667 |
}, |
| 668 |
"SynthesisTaskNotFoundException":{ |
| 669 |
"type":"structure", |
| 670 |
"members":{ |
| 671 |
"message":{"shape":"ErrorMessage"} |
| 672 |
}, |
| 673 |
"error":{"httpStatusCode":400}, |
| 674 |
"exception":true |
| 675 |
}, |
| 676 |
"SynthesisTasks":{ |
| 677 |
"type":"list", |
| 678 |
"member":{"shape":"SynthesisTask"} |
| 679 |
}, |
| 680 |
"SynthesizeSpeechInput":{ |
| 681 |
"type":"structure", |
| 682 |
"required":[ |
| 683 |
"OutputFormat", |
| 684 |
"Text", |
| 685 |
"VoiceId" |
| 686 |
], |
| 687 |
"members":{ |
| 688 |
"Engine":{"shape":"Engine"}, |
| 689 |
"LanguageCode":{"shape":"LanguageCode"}, |
| 690 |
"LexiconNames":{"shape":"LexiconNameList"}, |
| 691 |
"OutputFormat":{"shape":"OutputFormat"}, |
| 692 |
"SampleRate":{"shape":"SampleRate"}, |
| 693 |
"SpeechMarkTypes":{"shape":"SpeechMarkTypeList"}, |
| 694 |
"Text":{"shape":"Text"}, |
| 695 |
"TextType":{"shape":"TextType"}, |
| 696 |
"VoiceId":{"shape":"VoiceId"} |
| 697 |
} |
| 698 |
}, |
| 699 |
"SynthesizeSpeechOutput":{ |
| 700 |
"type":"structure", |
| 701 |
"members":{ |
| 702 |
"AudioStream":{"shape":"AudioStream"}, |
| 703 |
"ContentType":{ |
| 704 |
"shape":"ContentType", |
| 705 |
"location":"header", |
| 706 |
"locationName":"Content-Type" |
| 707 |
}, |
| 708 |
"RequestCharacters":{ |
| 709 |
"shape":"RequestCharacters", |
| 710 |
"location":"header", |
| 711 |
"locationName":"x-amzn-RequestCharacters" |
| 712 |
} |
| 713 |
}, |
| 714 |
"payload":"AudioStream" |
| 715 |
}, |
| 716 |
"TaskId":{ |
| 717 |
"type":"string", |
| 718 |
"pattern":"^[a-zA-Z0-9_-]{1,100}$" |
| 719 |
}, |
| 720 |
"TaskStatus":{ |
| 721 |
"type":"string", |
| 722 |
"enum":[ |
| 723 |
"scheduled", |
| 724 |
"inProgress", |
| 725 |
"completed", |
| 726 |
"failed" |
| 727 |
] |
| 728 |
}, |
| 729 |
"TaskStatusReason":{"type":"string"}, |
| 730 |
"Text":{"type":"string"}, |
| 731 |
"TextLengthExceededException":{ |
| 732 |
"type":"structure", |
| 733 |
"members":{ |
| 734 |
"message":{"shape":"ErrorMessage"} |
| 735 |
}, |
| 736 |
"error":{"httpStatusCode":400}, |
| 737 |
"exception":true |
| 738 |
}, |
| 739 |
"TextType":{ |
| 740 |
"type":"string", |
| 741 |
"enum":[ |
| 742 |
"ssml", |
| 743 |
"text" |
| 744 |
] |
| 745 |
}, |
| 746 |
"UnsupportedPlsAlphabetException":{ |
| 747 |
"type":"structure", |
| 748 |
"members":{ |
| 749 |
"message":{"shape":"ErrorMessage"} |
| 750 |
}, |
| 751 |
"error":{"httpStatusCode":400}, |
| 752 |
"exception":true |
| 753 |
}, |
| 754 |
"UnsupportedPlsLanguageException":{ |
| 755 |
"type":"structure", |
| 756 |
"members":{ |
| 757 |
"message":{"shape":"ErrorMessage"} |
| 758 |
}, |
| 759 |
"error":{"httpStatusCode":400}, |
| 760 |
"exception":true |
| 761 |
}, |
| 762 |
"Voice":{ |
| 763 |
"type":"structure", |
| 764 |
"members":{ |
| 765 |
"Gender":{"shape":"Gender"}, |
| 766 |
"Id":{"shape":"VoiceId"}, |
| 767 |
"LanguageCode":{"shape":"LanguageCode"}, |
| 768 |
"LanguageName":{"shape":"LanguageName"}, |
| 769 |
"Name":{"shape":"VoiceName"}, |
| 770 |
"AdditionalLanguageCodes":{"shape":"LanguageCodeList"}, |
| 771 |
"SupportedEngines":{"shape":"EngineList"} |
| 772 |
} |
| 773 |
}, |
| 774 |
"VoiceId":{ |
| 775 |
"type":"string", |
| 776 |
"enum":[ |
| 777 |
"Aditi", |
| 778 |
"Amy", |
| 779 |
"Astrid", |
| 780 |
"Bianca", |
| 781 |
"Brian", |
| 782 |
"Camila", |
| 783 |
"Carla", |
| 784 |
"Carmen", |
| 785 |
"Celine", |
| 786 |
"Chantal", |
| 787 |
"Conchita", |
| 788 |
"Cristiano", |
| 789 |
"Dora", |
| 790 |
"Emma", |
| 791 |
"Enrique", |
| 792 |
"Ewa", |
| 793 |
"Filiz", |
| 794 |
"Gabrielle", |
| 795 |
"Geraint", |
| 796 |
"Giorgio", |
| 797 |
"Gwyneth", |
| 798 |
"Hans", |
| 799 |
"Ines", |
| 800 |
"Ivy", |
| 801 |
"Jacek", |
| 802 |
"Jan", |
| 803 |
"Joanna", |
| 804 |
"Joey", |
| 805 |
"Justin", |
| 806 |
"Karl", |
| 807 |
"Kendra", |
| 808 |
"Kevin", |
| 809 |
"Kimberly", |
| 810 |
"Lea", |
| 811 |
"Liv", |
| 812 |
"Lotte", |
| 813 |
"Lucia", |
| 814 |
"Lupe", |
| 815 |
"Mads", |
| 816 |
"Maja", |
| 817 |
"Marlene", |
| 818 |
"Mathieu", |
| 819 |
"Matthew", |
| 820 |
"Maxim", |
| 821 |
"Mia", |
| 822 |
"Miguel", |
| 823 |
"Mizuki", |
| 824 |
"Naja", |
| 825 |
"Nicole", |
| 826 |
"Olivia", |
| 827 |
"Penelope", |
| 828 |
"Raveena", |
| 829 |
"Ricardo", |
| 830 |
"Ruben", |
| 831 |
"Russell", |
| 832 |
"Salli", |
| 833 |
"Seoyeon", |
| 834 |
"Takumi", |
| 835 |
"Tatyana", |
| 836 |
"Vicki", |
| 837 |
"Vitoria", |
| 838 |
"Zeina", |
| 839 |
"Zhiyu", |
| 840 |
"Aria", |
| 841 |
"Ayanda", |
| 842 |
"Arlet", |
| 843 |
"Hannah", |
| 844 |
"Arthur", |
| 845 |
"Daniel", |
| 846 |
"Liam", |
| 847 |
"Pedro", |
| 848 |
"Kajal", |
| 849 |
"Hiujin", |
| 850 |
"Laura", |
| 851 |
"Elin", |
| 852 |
"Ida", |
| 853 |
"Suvi", |
| 854 |
"Ola", |
| 855 |
"Hala", |
| 856 |
"Andres", |
| 857 |
"Sergio", |
| 858 |
"Remi", |
| 859 |
"Adriano", |
| 860 |
"Thiago", |
| 861 |
"Ruth", |
| 862 |
"Stephen", |
| 863 |
"Kazuha", |
| 864 |
"Tomoko", |
| 865 |
"Niamh", |
| 866 |
"Sofie", |
| 867 |
"Lisa", |
| 868 |
"Isabelle", |
| 869 |
"Zayd", |
| 870 |
"Danielle", |
| 871 |
"Gregory" |
| 872 |
] |
| 873 |
}, |
| 874 |
"VoiceList":{ |
| 875 |
"type":"list", |
| 876 |
"member":{"shape":"Voice"} |
| 877 |
}, |
| 878 |
"VoiceName":{"type":"string"} |
| 879 |
} |
| 880 |
} |