openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 29.6 kB
JSON
{"openapi":"3.0.0","info":{"version":"2016-06-10","x-release":"v4","title":"Amazon Polly","description":"<p>Amazon Polly is a web service that makes it easy to synthesize speech from text.</p> <p>The Amazon Polly service provides API operations for synthesizing high-quality speech from plain text and Speech Synthesis Markup Language (SSML), along with managing pronunciations lexicons that enable you to get the best results for your application domain.</p>","x-logo":{"url":"https://twitter.com/awscloud/profile_image?size=original","backgroundColor":"#FFFFFF"},"termsOfService":"https://aws.amazon.com/service-terms/","contact":{"name":"Mike Ralphson","email":"mike.ralphson@gmail.com","url":"https://github.com/mermade/aws2openapi","x-twitter":"PermittedSoc"},"license":{"name":"Apache 2.0 License","url":"http://www.apache.org/licenses/"},"x-providerName":"amazonaws.com","x-serviceName":"polly","x-origin":[{"contentType":"application/json","url":"https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/polly-2016-06-10.normal.json","converter":{"url":"https://github.com/mermade/aws2openapi","version":"1.0.0"},"x-apisguru-direct":true}],"x-apiClientRegistration":{"url":"https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct"},"x-apisguru-categories":["cloud"],"x-preferred":true},"externalDocs":{"description":"Amazon Web Services documentation","url":"https://aws.amazon.com/polly/"},"x-hasEquivalentPaths":true,"security":[{"hmac":[]}],"paths":{"/v1/lexicons/{LexiconName}":{"delete":{"operationId":"DeleteLexicon","description":"<p>Deletes the specified pronunciation lexicon stored in an AWS Region. A lexicon which has been deleted is not available for speech synthesis, nor is it possible to retrieve it using either the <code>GetLexicon</code> or <code>ListLexicon</code> APIs.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html\">Managing Lexicons</a>.</p>","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteLexiconOutput"}}}},"480":{"description":"LexiconNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LexiconNotFoundException"}}}},"481":{"description":"ServiceFailureException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceFailureException"}}}}},"parameters":[{"name":"LexiconName","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteLexiconInput"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}],"get":{"operationId":"GetLexicon","description":"Returns the content of the specified pronunciation lexicon stored in an AWS Region. For more information, see <a href=\"http://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html\">Managing Lexicons</a>.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetLexiconOutput"}}}},"480":{"description":"LexiconNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LexiconNotFoundException"}}}},"481":{"description":"ServiceFailureException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceFailureException"}}}}},"parameters":[{"name":"LexiconName","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetLexiconInput"}}},"required":true}},"put":{"operationId":"PutLexicon","description":"<p>Stores a pronunciation lexicon in an AWS Region. If a lexicon with the same name already exists in the region, it is overwritten by the new lexicon. Lexicon operations have eventual consistency, therefore, it might take some time before the lexicon is available to the SynthesizeSpeech operation.</p> <p>For more information, see <a href=\"http://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html\">Managing Lexicons</a>.</p>","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PutLexiconOutput"}}}},"480":{"description":"InvalidLexiconException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidLexiconException"}}}},"481":{"description":"UnsupportedPlsAlphabetException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsupportedPlsAlphabetException"}}}},"482":{"description":"UnsupportedPlsLanguageException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnsupportedPlsLanguageException"}}}},"483":{"description":"LexiconSizeExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LexiconSizeExceededException"}}}},"484":{"description":"MaxLexemeLengthExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaxLexemeLengthExceededException"}}}},"485":{"description":"MaxLexiconsNumberExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaxLexiconsNumberExceededException"}}}},"486":{"description":"ServiceFailureException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceFailureException"}}}}},"parameters":[{"name":"LexiconName","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PutLexiconInput"}}},"required":true}}},"/v1/voices":{"get":{"operationId":"DescribeVoices","description":"<p>Returns the list of voices that are available for use when requesting speech synthesis. Each voice speaks a specified language, is either male or female, and is identified by an ID, which is the ASCII version of the voice name. </p> <p>When synthesizing speech ( <code>SynthesizeSpeech</code> ), you provide the voice ID for the voice you want from the list of voices returned by <code>DescribeVoices</code>.</p> <p>For example, you want your news reader application to read news in a specific language, but giving a user the option to choose the voice. Using the <code>DescribeVoices</code> operation you can provide the user with a list of available voices to select from.</p> <p> You can optionally specify a language code to filter the available voices. For example, if you specify <code>en-US</code>, the operation returns a list of all available US English voices. </p> <p>This operation requires permissions to perform the <code>polly:DescribeVoices</code> action.</p>","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DescribeVoicesOutput"}}}},"480":{"description":"InvalidNextTokenException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidNextTokenException"}}}},"481":{"description":"ServiceFailureException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceFailureException"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DescribeVoicesInput"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/v1/synthesisTasks/{TaskId}":{"get":{"operationId":"GetSpeechSynthesisTask","description":"Retrieves a specific SpeechSynthesisTask object based on its TaskID. This object contains information about the given speech synthesis task, including the status of the task, and a link to the S3 bucket containing the output of the task.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpeechSynthesisTaskOutput"}}}},"480":{"description":"InvalidTaskIdException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidTaskIdException"}}}},"481":{"description":"ServiceFailureException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceFailureException"}}}},"482":{"description":"SynthesisTaskNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SynthesisTaskNotFoundException"}}}}},"parameters":[{"name":"TaskId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSpeechSynthesisTaskInput"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/v1/lexicons":{"get":{"operationId":"ListLexicons","description":"Returns a list of pronunciation lexicons stored in an AWS Region. For more information, see <a href=\"http://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html\">Managing Lexicons</a>.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListLexiconsOutput"}}}},"480":{"description":"InvalidNextTokenException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidNextTokenException"}}}},"481":{"description":"ServiceFailureException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceFailureException"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListLexiconsInput"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/v1/synthesisTasks":{"get":{"operationId":"ListSpeechSynthesisTasks","description":"Returns a list of SpeechSynthesisTask objects ordered by their creation date. This operation can filter the tasks by their status, for example, allowing users to list only tasks that are completed.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListSpeechSynthesisTasksOutput"}}}},"480":{"description":"InvalidNextTokenException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidNextTokenException"}}}},"481":{"description":"ServiceFailureException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceFailureException"}}}}},"parameters":[{"name":"MaxResults","in":"query","description":"Pagination limit","required":false,"schema":{"type":"string"}},{"name":"NextToken","in":"query","description":"Pagination token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListSpeechSynthesisTasksInput"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}],"post":{"operationId":"StartSpeechSynthesisTask","description":"Allows the creation of an asynchronous synthesis task, by starting a new <code>SpeechSynthesisTask</code>. This operation requires all the standard information needed for speech synthesis, plus the name of an Amazon S3 bucket for the service to store the output of the synthesis task and two optional parameters (OutputS3KeyPrefix and SnsTopicArn). Once the synthesis task is created, this operation will return a SpeechSynthesisTask object, which will include an identifier of this task as well as the current status.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartSpeechSynthesisTaskOutput"}}}},"480":{"description":"TextLengthExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextLengthExceededException"}}}},"481":{"description":"InvalidS3BucketException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidS3BucketException"}}}},"482":{"description":"InvalidS3KeyException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidS3KeyException"}}}},"483":{"description":"InvalidSampleRateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidSampleRateException"}}}},"484":{"description":"InvalidSnsTopicArnException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidSnsTopicArnException"}}}},"485":{"description":"InvalidSsmlException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidSsmlException"}}}},"486":{"description":"LexiconNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LexiconNotFoundException"}}}},"487":{"description":"ServiceFailureException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceFailureException"}}}},"488":{"description":"MarksNotSupportedForFormatException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarksNotSupportedForFormatException"}}}},"489":{"description":"SsmlMarksNotSupportedForTextTypeException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsmlMarksNotSupportedForTextTypeException"}}}},"490":{"description":"LanguageNotSupportedException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageNotSupportedException"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartSpeechSynthesisTaskInput"}}},"required":true}}},"/v1/speech":{"post":{"operationId":"SynthesizeSpeech","description":"Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes. SSML input must be valid, well-formed SSML. Some alphabets might not be available with all the voices (for example, Cyrillic might not be read at all by English voices) unless phoneme mapping is used. For more information, see <a href=\"http://docs.aws.amazon.com/polly/latest/dg/how-text-to-speech-works.html\">How it Works</a>.","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SynthesizeSpeechOutput"}}}},"480":{"description":"TextLengthExceededException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextLengthExceededException"}}}},"481":{"description":"InvalidSampleRateException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidSampleRateException"}}}},"482":{"description":"InvalidSsmlException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidSsmlException"}}}},"483":{"description":"LexiconNotFoundException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LexiconNotFoundException"}}}},"484":{"description":"ServiceFailureException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceFailureException"}}}},"485":{"description":"MarksNotSupportedForFormatException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarksNotSupportedForFormatException"}}}},"486":{"description":"SsmlMarksNotSupportedForTextTypeException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SsmlMarksNotSupportedForTextTypeException"}}}},"487":{"description":"LanguageNotSupportedException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LanguageNotSupportedException"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SynthesizeSpeechInput"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]}},"servers":[{"url":"https://polly.amazonaws.com/"},{"url":"http://polly.amazonaws.com/"}],"components":{"parameters":{"Action":{"name":"Action","in":"query","required":true,"schema":{"type":"string"}},"Version":{"name":"Version","in":"query","required":true,"schema":{"type":"string"}},"X-Amz-Content-Sha256":{"name":"X-Amz-Content-Sha256","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Date":{"name":"X-Amz-Date","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Algorithm":{"name":"X-Amz-Algorithm","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Credential":{"name":"X-Amz-Credential","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Security-Token":{"name":"X-Amz-Security-Token","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Signature":{"name":"X-Amz-Signature","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-SignedHeaders":{"name":"X-Amz-SignedHeaders","in":"header","required":false,"schema":{"type":"string"}}},"securitySchemes":{"hmac":{"type":"apiKey","name":"Authorization","in":"header","description":"Amazon Signature authorization v4","x-amazon-apigateway-authtype":"awsSigv4"}},"schemas":{"DeleteLexiconOutput":{"type":"object","example":{},"properties":{}},"DeleteLexiconInput":{"type":"object","example":{"Name":"example"},"properties":{}},"LexiconNotFoundException":{},"ServiceFailureException":{},"DescribeVoicesOutput":{"type":"object","example":{"Voices":[{"Gender":"Female","Id":"Emma","LanguageCode":"en-GB","LanguageName":"British English","Name":"Emma"},{"Gender":"Male","Id":"Brian","LanguageCode":"en-GB","LanguageName":"British English","Name":"Brian"},{"Gender":"Female","Id":"Amy","LanguageCode":"en-GB","LanguageName":"British English","Name":"Amy"}]},"properties":{"Voices":{"$ref":"#/components/schemas/VoiceList"},"NextToken":{"$ref":"#/components/schemas/NextToken"}}},"DescribeVoicesInput":{"type":"object","example":{"LanguageCode":"en-GB"},"properties":{}},"InvalidNextTokenException":{},"GetLexiconOutput":{"type":"object","example":{"Lexicon":{"Content":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<lexicon version=\"1.0\" \r\n xmlns=\"http://www.w3.org/2005/01/pronunciation-lexicon\"\r\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" \r\n xsi:schemaLocation=\"http://www.w3.org/2005/01/pronunciation-lexicon \r\n http://www.w3.org/TR/2007/CR-pronunciation-lexicon-20071212/pls.xsd\"\r\n alphabet=\"ipa\" \r\n xml:lang=\"en-US\">\r\n <lexeme>\r\n <grapheme>W3C</grapheme>\r\n <alias>World Wide Web Consortium</alias>\r\n </lexeme>\r\n</lexicon>","Name":"example"},"LexiconAttributes":{"Alphabet":"ipa","LanguageCode":"en-US","LastModified":1478542980.117,"LexemesCount":1,"LexiconArn":"arn:aws:polly:us-east-1:123456789012:lexicon/example","Size":503}},"properties":{"Lexicon":{"$ref":"#/components/schemas/Lexicon"},"LexiconAttributes":{"$ref":"#/components/schemas/LexiconAttributes"}}},"GetLexiconInput":{"type":"object","example":{"Name":""},"properties":{}},"GetSpeechSynthesisTaskOutput":{"type":"object","properties":{"SynthesisTask":{"$ref":"#/components/schemas/SynthesisTask"}}},"GetSpeechSynthesisTaskInput":{"type":"object","properties":{}},"InvalidTaskIdException":{},"SynthesisTaskNotFoundException":{},"ListLexiconsOutput":{"type":"object","example":{"Lexicons":[{"Attributes":{"Alphabet":"ipa","LanguageCode":"en-US","LastModified":1478542980.117,"LexemesCount":1,"LexiconArn":"arn:aws:polly:us-east-1:123456789012:lexicon/example","Size":503},"Name":"example"}]},"properties":{"Lexicons":{"$ref":"#/components/schemas/LexiconDescriptionList"},"NextToken":{"$ref":"#/components/schemas/NextToken"}}},"ListLexiconsInput":{"type":"object","example":{},"properties":{}},"ListSpeechSynthesisTasksOutput":{"type":"object","properties":{"NextToken":{"$ref":"#/components/schemas/NextToken"},"SynthesisTasks":{"$ref":"#/components/schemas/SynthesisTasks"}}},"ListSpeechSynthesisTasksInput":{"type":"object","properties":{}},"PutLexiconOutput":{"type":"object","example":{},"properties":{}},"PutLexiconInput":{"type":"object","required":["Content"],"example":{"Content":"file://example.pls","Name":"W3C"},"properties":{"Content":{"$ref":"#/components/schemas/LexiconContent"}}},"InvalidLexiconException":{},"UnsupportedPlsAlphabetException":{},"UnsupportedPlsLanguageException":{},"LexiconSizeExceededException":{},"MaxLexemeLengthExceededException":{},"MaxLexiconsNumberExceededException":{},"StartSpeechSynthesisTaskOutput":{"type":"object","properties":{"SynthesisTask":{"$ref":"#/components/schemas/SynthesisTask"}}},"StartSpeechSynthesisTaskInput":{"type":"object","required":["OutputFormat","OutputS3BucketName","Text","VoiceId"],"properties":{"LexiconNames":{"$ref":"#/components/schemas/LexiconNameList"},"OutputFormat":{"$ref":"#/components/schemas/OutputFormat"},"OutputS3BucketName":{"$ref":"#/components/schemas/OutputS3BucketName"},"OutputS3KeyPrefix":{"$ref":"#/components/schemas/OutputS3KeyPrefix"},"SampleRate":{"$ref":"#/components/schemas/SampleRate"},"SnsTopicArn":{"$ref":"#/components/schemas/SnsTopicArn"},"SpeechMarkTypes":{"$ref":"#/components/schemas/SpeechMarkTypeList"},"Text":{"$ref":"#/components/schemas/Text"},"TextType":{"$ref":"#/components/schemas/TextType"},"VoiceId":{"$ref":"#/components/schemas/VoiceId"},"LanguageCode":{"$ref":"#/components/schemas/LanguageCode"}}},"TextLengthExceededException":{},"InvalidS3BucketException":{},"InvalidS3KeyException":{},"InvalidSampleRateException":{},"InvalidSnsTopicArnException":{},"InvalidSsmlException":{},"MarksNotSupportedForFormatException":{},"SsmlMarksNotSupportedForTextTypeException":{},"LanguageNotSupportedException":{},"SynthesizeSpeechOutput":{"type":"object","example":{"AudioStream":"TEXT","ContentType":"audio/mpeg","RequestCharacters":37},"properties":{"AudioStream":{"$ref":"#/components/schemas/AudioStream"}}},"SynthesizeSpeechInput":{"type":"object","required":["OutputFormat","Text","VoiceId"],"example":{"LexiconNames":["example"],"OutputFormat":"mp3","SampleRate":"8000","Text":"All Gaul is divided into three parts","TextType":"text","VoiceId":"Joanna"},"properties":{"LexiconNames":{"$ref":"#/components/schemas/LexiconNameList"},"OutputFormat":{"$ref":"#/components/schemas/OutputFormat"},"SampleRate":{"$ref":"#/components/schemas/SampleRate"},"SpeechMarkTypes":{"$ref":"#/components/schemas/SpeechMarkTypeList"},"Text":{"$ref":"#/components/schemas/Text"},"TextType":{"$ref":"#/components/schemas/TextType"},"VoiceId":{"$ref":"#/components/schemas/VoiceId"},"LanguageCode":{"$ref":"#/components/schemas/LanguageCode"}}},"Alphabet":{"type":"string"},"AudioStream":{"type":"string"},"ContentType":{"type":"string"},"DateTime":{"type":"string","format":"date-time"},"LexiconName":{"type":"string","pattern":"[0-9A-Za-z]{1,20}","format":"password"},"LanguageCode":{"type":"string","enum":["cmn-CN","cy-GB","da-DK","de-DE","en-AU","en-GB","en-GB-WLS","en-IN","en-US","es-ES","es-MX","es-US","fr-CA","fr-FR","is-IS","it-IT","ja-JP","hi-IN","ko-KR","nb-NO","nl-NL","pl-PL","pt-BR","pt-PT","ro-RO","ru-RU","sv-SE","tr-TR"]},"IncludeAdditionalLanguageCodes":{"type":"boolean"},"NextToken":{"type":"string"},"VoiceList":{"type":"array","items":{"$ref":"#/components/schemas/Voice"}},"Gender":{"type":"string","enum":["Female","Male"]},"Lexicon":{"type":"object","properties":{"Content":{"$ref":"#/components/schemas/LexiconContent"},"Name":{"$ref":"#/components/schemas/LexiconName"}},"description":"Provides lexicon name and lexicon content in string format. For more information, see <a href=\"https://www.w3.org/TR/pronunciation-lexicon/\">Pronunciation Lexicon Specification (PLS) Version 1.0</a>."},"LexiconAttributes":{"type":"object","properties":{"Alphabet":{"$ref":"#/components/schemas/Alphabet"},"LanguageCode":{"$ref":"#/components/schemas/LanguageCode"},"LastModified":{"$ref":"#/components/schemas/LastModified"},"LexiconArn":{"$ref":"#/components/schemas/LexiconArn"},"LexemesCount":{"$ref":"#/components/schemas/LexemesCount"},"Size":{"$ref":"#/components/schemas/Size"}},"description":"Contains metadata describing the lexicon such as the number of lexemes, language code, and so on. For more information, see <a href=\"http://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html\">Managing Lexicons</a>."},"TaskId":{"type":"string","minLength":1,"maxLength":128},"SynthesisTask":{"type":"object","properties":{"TaskId":{"$ref":"#/components/schemas/TaskId"},"TaskStatus":{"$ref":"#/components/schemas/TaskStatus"},"TaskStatusReason":{"$ref":"#/components/schemas/TaskStatusReason"},"OutputUri":{"$ref":"#/components/schemas/OutputUri"},"CreationTime":{"$ref":"#/components/schemas/DateTime"},"RequestCharacters":{"$ref":"#/components/schemas/RequestCharacters"},"SnsTopicArn":{"$ref":"#/components/schemas/SnsTopicArn"},"LexiconNames":{"$ref":"#/components/schemas/LexiconNameList"},"OutputFormat":{"$ref":"#/components/schemas/OutputFormat"},"SampleRate":{"$ref":"#/components/schemas/SampleRate"},"SpeechMarkTypes":{"$ref":"#/components/schemas/SpeechMarkTypeList"},"TextType":{"$ref":"#/components/schemas/TextType"},"VoiceId":{"$ref":"#/components/schemas/VoiceId"},"LanguageCode":{"$ref":"#/components/schemas/LanguageCode"}},"description":"SynthesisTask object that provides information about a speech synthesis task."},"LanguageCodeList":{"type":"array","items":{"$ref":"#/components/schemas/LanguageCode"}},"LanguageName":{"type":"string"},"LastModified":{"type":"string","format":"date-time"},"LexemesCount":{"type":"integer"},"LexiconContent":{"type":"string"},"LexiconArn":{"type":"string"},"Size":{"type":"integer"},"LexiconDescription":{"type":"object","properties":{"Name":{"$ref":"#/components/schemas/LexiconName"},"Attributes":{"$ref":"#/components/schemas/LexiconAttributes"}},"description":"Describes the content of the lexicon."},"LexiconDescriptionList":{"type":"array","items":{"$ref":"#/components/schemas/LexiconDescription"}},"LexiconNameList":{"type":"array","items":{"$ref":"#/components/schemas/LexiconName"},"maxItems":5},"MaxResults":{"type":"integer","minimum":1,"maximum":100},"TaskStatus":{"type":"string","enum":["scheduled","inProgress","completed","failed"]},"SynthesisTasks":{"type":"array","items":{"$ref":"#/components/schemas/SynthesisTask"}},"OutputFormat":{"type":"string","enum":["json","mp3","ogg_vorbis","pcm"]},"OutputS3BucketName":{"type":"string","pattern":"^[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]$"},"OutputS3KeyPrefix":{"type":"string","pattern":"^[0-9a-zA-Z\\/\\!\\-_\\.\\*\\'\\(\\)]{0,800}$"},"OutputUri":{"type":"string"},"RequestCharacters":{"type":"integer"},"SampleRate":{"type":"string"},"SnsTopicArn":{"type":"string","pattern":"^arn:aws(-(cn|iso(-b)?|us-gov))?:sns:.*:\\w{12}:.+$"},"SpeechMarkType":{"type":"string","enum":["sentence","ssml","viseme","word"]},"SpeechMarkTypeList":{"type":"array","items":{"$ref":"#/components/schemas/SpeechMarkType"},"maxItems":4},"Text":{"type":"string"},"TextType":{"type":"string","enum":["ssml","text"]},"VoiceId":{"type":"string","enum":["Geraint","Gwyneth","Mads","Naja","Hans","Marlene","Nicole","Russell","Amy","Brian","Emma","Raveena","Ivy","Joanna","Joey","Justin","Kendra","Kimberly","Matthew","Salli","Conchita","Enrique","Miguel","Penelope","Chantal","Celine","Lea","Mathieu","Dora","Karl","Carla","Giorgio","Mizuki","Liv","Lotte","Ruben","Ewa","Jacek","Jan","Maja","Ricardo","Vitoria","Cristiano","Ines","Carmen","Maxim","Tatyana","Astrid","Filiz","Vicki","Takumi","Seoyeon","Aditi","Zhiyu","Bianca","Lucia","Mia"]},"TaskStatusReason":{"type":"string"},"VoiceName":{"type":"string"},"Voice":{"type":"object","properties":{"Gender":{"$ref":"#/components/schemas/Gender"},"Id":{"$ref":"#/components/schemas/VoiceId"},"LanguageCode":{"$ref":"#/components/schemas/LanguageCode"},"LanguageName":{"$ref":"#/components/schemas/LanguageName"},"Name":{"$ref":"#/components/schemas/VoiceName"},"AdditionalLanguageCodes":{"$ref":"#/components/schemas/LanguageCodeList"}},"description":"Description of the voice."}}}}