cognitect.aws.polly.service.edn Maven / Gradle / Ivy
The newest version!
{:version "2.0", :metadata {:protocol "rest-json", :uid "polly-2016-06-10", :protocols ["rest-json"], :auth ["aws.auth#sigv4"], :serviceId "Polly", :signatureVersion "v4", :endpointPrefix "polly", :apiVersion "2016-06-10", :serviceFullName "Amazon Polly", :cognitect.aws/service-name "polly"}, :operations {:ListLexicons {:name "ListLexicons", :http {:method "GET", :requestUri "/v1/lexicons", :responseCode 200}, :input {:shape "ListLexiconsInput"}, :output {:shape "ListLexiconsOutput"}, :errors [{:shape "InvalidNextTokenException"} {:shape "ServiceFailureException"}]}, :DeleteLexicon {:name "DeleteLexicon", :http {:method "DELETE", :requestUri "/v1/lexicons/{LexiconName}", :responseCode 200}, :input {:shape "DeleteLexiconInput"}, :output {:shape "DeleteLexiconOutput"}, :errors [{:shape "LexiconNotFoundException"} {:shape "ServiceFailureException"}]}, :GetSpeechSynthesisTask {:name "GetSpeechSynthesisTask", :http {:method "GET", :requestUri "/v1/synthesisTasks/{TaskId}", :responseCode 200}, :input {:shape "GetSpeechSynthesisTaskInput"}, :output {:shape "GetSpeechSynthesisTaskOutput"}, :errors [{:shape "InvalidTaskIdException"} {:shape "ServiceFailureException"} {:shape "SynthesisTaskNotFoundException"}]}, :DescribeVoices {:name "DescribeVoices", :http {:method "GET", :requestUri "/v1/voices", :responseCode 200}, :input {:shape "DescribeVoicesInput"}, :output {:shape "DescribeVoicesOutput"}, :errors [{:shape "InvalidNextTokenException"} {:shape "ServiceFailureException"}]}, :PutLexicon {:name "PutLexicon", :http {:method "PUT", :requestUri "/v1/lexicons/{LexiconName}", :responseCode 200}, :input {:shape "PutLexiconInput"}, :output {:shape "PutLexiconOutput"}, :errors [{:shape "InvalidLexiconException"} {:shape "UnsupportedPlsAlphabetException"} {:shape "UnsupportedPlsLanguageException"} {:shape "LexiconSizeExceededException"} {:shape "MaxLexemeLengthExceededException"} {:shape "MaxLexiconsNumberExceededException"} {:shape "ServiceFailureException"}]}, :SynthesizeSpeech {:name "SynthesizeSpeech", :http {:method "POST", :requestUri "/v1/speech", :responseCode 200}, :input {:shape "SynthesizeSpeechInput"}, :output {:shape "SynthesizeSpeechOutput"}, :errors [{:shape "TextLengthExceededException"} {:shape "InvalidSampleRateException"} {:shape "InvalidSsmlException"} {:shape "LexiconNotFoundException"} {:shape "ServiceFailureException"} {:shape "MarksNotSupportedForFormatException"} {:shape "SsmlMarksNotSupportedForTextTypeException"} {:shape "LanguageNotSupportedException"} {:shape "EngineNotSupportedException"}]}, :ListSpeechSynthesisTasks {:name "ListSpeechSynthesisTasks", :http {:method "GET", :requestUri "/v1/synthesisTasks", :responseCode 200}, :input {:shape "ListSpeechSynthesisTasksInput"}, :output {:shape "ListSpeechSynthesisTasksOutput"}, :errors [{:shape "InvalidNextTokenException"} {:shape "ServiceFailureException"}]}, :GetLexicon {:name "GetLexicon", :http {:method "GET", :requestUri "/v1/lexicons/{LexiconName}", :responseCode 200}, :input {:shape "GetLexiconInput"}, :output {:shape "GetLexiconOutput"}, :errors [{:shape "LexiconNotFoundException"} {:shape "ServiceFailureException"}]}, :StartSpeechSynthesisTask {:name "StartSpeechSynthesisTask", :http {:method "POST", :requestUri "/v1/synthesisTasks", :responseCode 200}, :input {:shape "StartSpeechSynthesisTaskInput"}, :output {:shape "StartSpeechSynthesisTaskOutput"}, :errors [{:shape "TextLengthExceededException"} {:shape "InvalidS3BucketException"} {:shape "InvalidS3KeyException"} {:shape "InvalidSampleRateException"} {:shape "InvalidSnsTopicArnException"} {:shape "InvalidSsmlException"} {:shape "EngineNotSupportedException"} {:shape "LexiconNotFoundException"} {:shape "ServiceFailureException"} {:shape "MarksNotSupportedForFormatException"} {:shape "SsmlMarksNotSupportedForTextTypeException"} {:shape "LanguageNotSupportedException"}]}}, :shapes {:DescribeVoicesInput {:type "structure", :members {:Engine {:shape "Engine", :location "querystring", :locationName "Engine"}, :LanguageCode {:shape "LanguageCode", :location "querystring", :locationName "LanguageCode"}, :IncludeAdditionalLanguageCodes {:shape "IncludeAdditionalLanguageCodes", :location "querystring", :locationName "IncludeAdditionalLanguageCodes"}, :NextToken {:shape "NextToken", :location "querystring", :locationName "NextToken"}}}, :PutLexiconInput {:type "structure", :required ["Name" "Content"], :members {:Name {:shape "LexiconName", :location "uri", :locationName "LexiconName"}, :Content {:shape "LexiconContent"}}}, :TaskId {:type "string", :pattern "^[a-zA-Z0-9_-]{1,100}$"}, :ListSpeechSynthesisTasksInput {:type "structure", :members {:MaxResults {:shape "MaxResults", :location "querystring", :locationName "MaxResults"}, :NextToken {:shape "NextToken", :location "querystring", :locationName "NextToken"}, :Status {:shape "TaskStatus", :location "querystring", :locationName "Status"}}}, :GetSpeechSynthesisTaskInput {:type "structure", :required ["TaskId"], :members {:TaskId {:shape "TaskId", :location "uri", :locationName "TaskId"}}}, :LastModified {:type "timestamp"}, :SnsTopicArn {:type "string", :pattern "^arn:aws(-(cn|iso(-b)?|us-gov))?:sns:[a-z0-9_-]{1,50}:\\d{12}:[a-zA-Z0-9_-]{1,251}([a-zA-Z0-9_-]{0,5}|\\.fifo)$"}, :GetSpeechSynthesisTaskOutput {:type "structure", :members {:SynthesisTask {:shape "SynthesisTask"}}}, :OutputFormat {:type "string", :enum ["json" "mp3" "ogg_vorbis" "pcm"]}, :DeleteLexiconOutput {:type "structure", :members {}}, :GetLexiconOutput {:type "structure", :members {:Lexicon {:shape "Lexicon"}, :LexiconAttributes {:shape "LexiconAttributes"}}}, :EngineList {:type "list", :member {:shape "Engine"}}, :LexiconContent {:type "string", :sensitive true}, :VoiceName {:type "string"}, :Size {:type "integer"}, :Voice {:type "structure", :members {:Gender {:shape "Gender"}, :Id {:shape "VoiceId"}, :LanguageCode {:shape "LanguageCode"}, :LanguageName {:shape "LanguageName"}, :Name {:shape "VoiceName"}, :AdditionalLanguageCodes {:shape "LanguageCodeList"}, :SupportedEngines {:shape "EngineList"}}}, :SynthesisTask {:type "structure", :members {:TaskId {:shape "TaskId"}, :SnsTopicArn {:shape "SnsTopicArn"}, :OutputFormat {:shape "OutputFormat"}, :LexiconNames {:shape "LexiconNameList"}, :SpeechMarkTypes {:shape "SpeechMarkTypeList"}, :TaskStatus {:shape "TaskStatus"}, :RequestCharacters {:shape "RequestCharacters"}, :OutputUri {:shape "OutputUri"}, :VoiceId {:shape "VoiceId"}, :TaskStatusReason {:shape "TaskStatusReason"}, :CreationTime {:shape "DateTime"}, :SampleRate {:shape "SampleRate"}, :TextType {:shape "TextType"}, :LanguageCode {:shape "LanguageCode"}, :Engine {:shape "Engine"}}}, :LexiconName {:type "string", :pattern "[0-9A-Za-z]{1,20}"}, :StartSpeechSynthesisTaskInput {:type "structure", :required ["OutputFormat" "OutputS3BucketName" "Text" "VoiceId"], :members {:SnsTopicArn {:shape "SnsTopicArn"}, :OutputFormat {:shape "OutputFormat"}, :LexiconNames {:shape "LexiconNameList"}, :SpeechMarkTypes {:shape "SpeechMarkTypeList"}, :OutputS3BucketName {:shape "OutputS3BucketName"}, :OutputS3KeyPrefix {:shape "OutputS3KeyPrefix"}, :VoiceId {:shape "VoiceId"}, :Text {:shape "Text"}, :SampleRate {:shape "SampleRate"}, :TextType {:shape "TextType"}, :LanguageCode {:shape "LanguageCode"}, :Engine {:shape "Engine"}}}, :AudioStream {:type "blob", :streaming true}, :LanguageCodeList {:type "list", :member {:shape "LanguageCode"}}, :LexiconDescription {:type "structure", :members {:Name {:shape "LexiconName"}, :Attributes {:shape "LexiconAttributes"}}}, :TaskStatus {:type "string", :enum ["scheduled" "inProgress" "completed" "failed"]}, :OutputS3BucketName {:type "string", :pattern "^[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]$"}, :RequestCharacters {:type "integer"}, :OutputUri {:type "string"}, :SynthesizeSpeechOutput {:type "structure", :members {:AudioStream {:shape "AudioStream"}, :ContentType {:shape "ContentType", :location "header", :locationName "Content-Type"}, :RequestCharacters {:shape "RequestCharacters", :location "header", :locationName "x-amzn-RequestCharacters"}}, :payload "AudioStream"}, :NextToken {:type "string", :max 4096, :min 0}, :OutputS3KeyPrefix {:type "string", :pattern "^[0-9a-zA-Z\\/\\!\\-_\\.\\*\\'\\(\\):;\\$@=+\\,\\?&]{0,800}$"}, :PutLexiconOutput {:type "structure", :members {}}, :SynthesisTasks {:type "list", :member {:shape "SynthesisTask"}}, :LexiconDescriptionList {:type "list", :member {:shape "LexiconDescription"}}, :VoiceId {:type "string", :enum ["Aditi" "Amy" "Astrid" "Bianca" "Brian" "Camila" "Carla" "Carmen" "Celine" "Chantal" "Conchita" "Cristiano" "Dora" "Emma" "Enrique" "Ewa" "Filiz" "Gabrielle" "Geraint" "Giorgio" "Gwyneth" "Hans" "Ines" "Ivy" "Jacek" "Jan" "Joanna" "Joey" "Justin" "Karl" "Kendra" "Kevin" "Kimberly" "Lea" "Liv" "Lotte" "Lucia" "Lupe" "Mads" "Maja" "Marlene" "Mathieu" "Matthew" "Maxim" "Mia" "Miguel" "Mizuki" "Naja" "Nicole" "Olivia" "Penelope" "Raveena" "Ricardo" "Ruben" "Russell" "Salli" "Seoyeon" "Takumi" "Tatyana" "Vicki" "Vitoria" "Zeina" "Zhiyu" "Aria" "Ayanda" "Arlet" "Hannah" "Arthur" "Daniel" "Liam" "Pedro" "Kajal" "Hiujin" "Laura" "Elin" "Ida" "Suvi" "Ola" "Hala" "Andres" "Sergio" "Remi" "Adriano" "Thiago" "Ruth" "Stephen" "Kazuha" "Tomoko" "Niamh" "Sofie" "Lisa" "Isabelle" "Zayd" "Danielle" "Gregory" "Burcu" "Jitka" "Sabrina"]}, :TaskStatusReason {:type "string"}, :SynthesizeSpeechInput {:type "structure", :required ["OutputFormat" "Text" "VoiceId"], :members {:OutputFormat {:shape "OutputFormat"}, :LexiconNames {:shape "LexiconNameList"}, :SpeechMarkTypes {:shape "SpeechMarkTypeList"}, :VoiceId {:shape "VoiceId"}, :Text {:shape "Text"}, :SampleRate {:shape "SampleRate"}, :TextType {:shape "TextType"}, :LanguageCode {:shape "LanguageCode"}, :Engine {:shape "Engine"}}}, :GetLexiconInput {:type "structure", :required ["Name"], :members {:Name {:shape "LexiconName", :location "uri", :locationName "LexiconName"}}}, :ListLexiconsInput {:type "structure", :members {:NextToken {:shape "NextToken", :location "querystring", :locationName "NextToken"}}}, :Text {:type "string"}, :Alphabet {:type "string"}, :DeleteLexiconInput {:type "structure", :required ["Name"], :members {:Name {:shape "LexiconName", :location "uri", :locationName "LexiconName"}}}, :SampleRate {:type "string"}, :IncludeAdditionalLanguageCodes {:type "boolean"}, :TextType {:type "string", :enum ["ssml" "text"]}, :StartSpeechSynthesisTaskOutput {:type "structure", :members {:SynthesisTask {:shape "SynthesisTask"}}}, :MaxResults {:type "integer", :max 100, :min 1}, :LanguageName {:type "string"}, :ListSpeechSynthesisTasksOutput {:type "structure", :members {:NextToken {:shape "NextToken"}, :SynthesisTasks {:shape "SynthesisTasks"}}}, :Lexicon {:type "structure", :members {:Content {:shape "LexiconContent"}, :Name {:shape "LexiconName"}}}, :ListLexiconsOutput {:type "structure", :members {:Lexicons {:shape "LexiconDescriptionList"}, :NextToken {:shape "NextToken"}}}, :SpeechMarkTypeList {:type "list", :member {:shape "SpeechMarkType"}, :max 4}, :ContentType {:type "string"}, :SpeechMarkType {:type "string", :enum ["sentence" "ssml" "viseme" "word"]}, :Gender {:type "string", :enum ["Female" "Male"]}, :LexiconNameList {:type "list", :member {:shape "LexiconName"}, :max 5}, :DateTime {:type "timestamp"}, :LexiconArn {:type "string"}, :VoiceList {:type "list", :member {:shape "Voice"}}, :LexemesCount {:type "integer"}, :DescribeVoicesOutput {:type "structure", :members {:Voices {:shape "VoiceList"}, :NextToken {:shape "NextToken"}}}, :LanguageCode {:type "string", :enum ["arb" "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" "en-NZ" "en-ZA" "ca-ES" "de-AT" "yue-CN" "ar-AE" "fi-FI" "en-IE" "nl-BE" "fr-BE" "cs-CZ" "de-CH"]}, :Engine {:type "string", :enum ["standard" "neural" "long-form" "generative"]}, :LexiconAttributes {:type "structure", :members {:Alphabet {:shape "Alphabet"}, :LanguageCode {:shape "LanguageCode"}, :LastModified {:shape "LastModified"}, :LexiconArn {:shape "LexiconArn"}, :LexemesCount {:shape "LexemesCount"}, :Size {:shape "Size"}}}}, :cognitect.aws/metadata {:source-file-name "apis/polly-2016-06-10.normal.json", :source-type :services, :uid-source :aws, :artifact-name "polly", :prev-version "869.2.1616.0", :prev-tag "v2.1616.0", :current-tag "v2.1687.0", :version-to-publish "869.2.1687.0"}}