From 7d48fbaac32156f15c7a300e4542a210f3ad5cfa Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 23 Aug 2023 19:51:53 +0000 Subject: [PATCH] feat(client-polly): Amazon Polly adds 1 new voice - Zayd (ar-AE) --- .../src/commands/DescribeVoicesCommand.ts | 2 +- .../commands/GetSpeechSynthesisTaskCommand.ts | 2 +- .../ListSpeechSynthesisTasksCommand.ts | 2 +- .../StartSpeechSynthesisTaskCommand.ts | 4 +- .../src/commands/SynthesizeSpeechCommand.ts | 2 +- clients/client-polly/src/endpoint/ruleset.ts | 2 +- clients/client-polly/src/models/models_0.ts | 1 + codegen/sdk-codegen/aws-models/polly.json | 6737 +++++++++-------- 8 files changed, 3409 insertions(+), 3343 deletions(-) diff --git a/clients/client-polly/src/commands/DescribeVoicesCommand.ts b/clients/client-polly/src/commands/DescribeVoicesCommand.ts index 99678372c211..a31e90265ad5 100644 --- a/clients/client-polly/src/commands/DescribeVoicesCommand.ts +++ b/clients/client-polly/src/commands/DescribeVoicesCommand.ts @@ -70,7 +70,7 @@ export interface DescribeVoicesCommandOutput extends DescribeVoicesOutput, __Met * // Voices: [ // VoiceList * // { // Voice * // Gender: "Female" || "Male", - * // Id: "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", + * // Id: "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", * // LanguageCode: "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", * // LanguageName: "STRING_VALUE", * // Name: "STRING_VALUE", diff --git a/clients/client-polly/src/commands/GetSpeechSynthesisTaskCommand.ts b/clients/client-polly/src/commands/GetSpeechSynthesisTaskCommand.ts index 88860e7e7167..0ef3c975d1be 100644 --- a/clients/client-polly/src/commands/GetSpeechSynthesisTaskCommand.ts +++ b/clients/client-polly/src/commands/GetSpeechSynthesisTaskCommand.ts @@ -70,7 +70,7 @@ export interface GetSpeechSynthesisTaskCommandOutput extends GetSpeechSynthesisT * // "sentence" || "ssml" || "viseme" || "word", * // ], * // TextType: "ssml" || "text", - * // VoiceId: "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", + * // VoiceId: "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", * // LanguageCode: "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", * // }, * // }; diff --git a/clients/client-polly/src/commands/ListSpeechSynthesisTasksCommand.ts b/clients/client-polly/src/commands/ListSpeechSynthesisTasksCommand.ts index bcc7c25ac2e7..ab00e8475686 100644 --- a/clients/client-polly/src/commands/ListSpeechSynthesisTasksCommand.ts +++ b/clients/client-polly/src/commands/ListSpeechSynthesisTasksCommand.ts @@ -73,7 +73,7 @@ export interface ListSpeechSynthesisTasksCommandOutput extends ListSpeechSynthes * // "sentence" || "ssml" || "viseme" || "word", * // ], * // TextType: "ssml" || "text", - * // VoiceId: "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", + * // VoiceId: "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", * // LanguageCode: "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", * // }, * // ], diff --git a/clients/client-polly/src/commands/StartSpeechSynthesisTaskCommand.ts b/clients/client-polly/src/commands/StartSpeechSynthesisTaskCommand.ts index a98d25edc2fc..36c15d59c605 100644 --- a/clients/client-polly/src/commands/StartSpeechSynthesisTaskCommand.ts +++ b/clients/client-polly/src/commands/StartSpeechSynthesisTaskCommand.ts @@ -68,7 +68,7 @@ export interface StartSpeechSynthesisTaskCommandOutput extends StartSpeechSynthe * ], * Text: "STRING_VALUE", // required * TextType: "ssml" || "text", - * VoiceId: "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", // required + * VoiceId: "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", // required * }; * const command = new StartSpeechSynthesisTaskCommand(input); * const response = await client.send(command); @@ -91,7 +91,7 @@ export interface StartSpeechSynthesisTaskCommandOutput extends StartSpeechSynthe * // "sentence" || "ssml" || "viseme" || "word", * // ], * // TextType: "ssml" || "text", - * // VoiceId: "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", + * // VoiceId: "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", * // LanguageCode: "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", * // }, * // }; diff --git a/clients/client-polly/src/commands/SynthesizeSpeechCommand.ts b/clients/client-polly/src/commands/SynthesizeSpeechCommand.ts index b4d7bf647c71..2ec6444a9924 100644 --- a/clients/client-polly/src/commands/SynthesizeSpeechCommand.ts +++ b/clients/client-polly/src/commands/SynthesizeSpeechCommand.ts @@ -68,7 +68,7 @@ export interface SynthesizeSpeechCommandOutput extends OmitDeletes the specified pronunciation lexicon stored in an Amazon Web Services Region. A lexicon which has been deleted is not available for\n speech synthesis, nor is it possible to retrieve it using either the\n GetLexicon or ListLexicon APIs.

\n

For more information, see Managing Lexicons.

", + "smithy.api#examples": [ + { + "title": "To delete a lexicon", + "documentation": "Deletes a specified pronunciation lexicon stored in an AWS Region.", + "input": { + "Name": "example" + }, + "output": {} + } + ], + "smithy.api#http": { + "method": "DELETE", + "uri": "/v1/lexicons/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.polly#DeleteLexiconInput": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.polly#LexiconName", + "traits": { + "smithy.api#documentation": "

The name of the lexicon to delete. Must be an existing lexicon in\n the region.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.polly#DeleteLexiconOutput": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.polly#DescribeVoices": { + "type": "operation", + "input": { + "target": "com.amazonaws.polly#DescribeVoicesInput" + }, + "output": { + "target": "com.amazonaws.polly#DescribeVoicesOutput" + }, + "errors": [ + { + "target": "com.amazonaws.polly#InvalidNextTokenException" + }, + { + "target": "com.amazonaws.polly#ServiceFailureException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns the list of voices that are available for use when\n requesting speech synthesis. Each voice speaks a specified language, is\n either male or female, and is identified by an ID, which is the ASCII\n version of the voice name.

\n

When synthesizing speech ( SynthesizeSpeech ), you\n provide the voice ID for the voice you want from the list of voices\n returned by DescribeVoices.

\n

For example, you want your news reader application to read news in\n a specific language, but giving a user the option to choose the voice.\n Using the DescribeVoices operation you can provide the user\n with a list of available voices to select from.

\n

You can optionally specify a language code to filter the available\n voices. For example, if you specify en-US, the operation\n returns a list of all available US English voices.

\n

This operation requires permissions to perform the\n polly:DescribeVoices action.

", + "smithy.api#examples": [ + { + "title": "To describe available voices", + "documentation": "Returns the list of voices that are available for use when requesting speech synthesis. Displayed languages are those within the specified language code. If no language code is specified, voices for all available languages are displayed.", "input": { - "target": "com.amazonaws.polly#DeleteLexiconInput" + "LanguageCode": "en-GB" }, "output": { - "target": "com.amazonaws.polly#DeleteLexiconOutput" - }, - "errors": [ + "Voices": [ { - "target": "com.amazonaws.polly#LexiconNotFoundException" + "Gender": "Female", + "Name": "Emma", + "LanguageName": "British English", + "Id": "Emma", + "LanguageCode": "en-GB" }, { - "target": "com.amazonaws.polly#ServiceFailureException" - } - ], - "traits": { - "smithy.api#documentation": "

Deletes the specified pronunciation lexicon stored in an Amazon Web Services Region. A lexicon which has been deleted is not available for\n speech synthesis, nor is it possible to retrieve it using either the\n GetLexicon or ListLexicon APIs.

\n

For more information, see Managing Lexicons.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/v1/lexicons/{Name}", - "code": 200 - } - } - }, - "com.amazonaws.polly#DeleteLexiconInput": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.polly#LexiconName", - "traits": { - "smithy.api#documentation": "

The name of the lexicon to delete. Must be an existing lexicon in\n the region.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.polly#DeleteLexiconOutput": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.polly#DescribeVoices": { - "type": "operation", - "input": { - "target": "com.amazonaws.polly#DescribeVoicesInput" - }, - "output": { - "target": "com.amazonaws.polly#DescribeVoicesOutput" - }, - "errors": [ - { - "target": "com.amazonaws.polly#InvalidNextTokenException" + "Gender": "Male", + "Name": "Brian", + "LanguageName": "British English", + "Id": "Brian", + "LanguageCode": "en-GB" }, { - "target": "com.amazonaws.polly#ServiceFailureException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns the list of voices that are available for use when\n requesting speech synthesis. Each voice speaks a specified language, is\n either male or female, and is identified by an ID, which is the ASCII\n version of the voice name.

\n

When synthesizing speech ( SynthesizeSpeech ), you\n provide the voice ID for the voice you want from the list of voices\n returned by DescribeVoices.

\n

For example, you want your news reader application to read news in\n a specific language, but giving a user the option to choose the voice.\n Using the DescribeVoices operation you can provide the user\n with a list of available voices to select from.

\n

You can optionally specify a language code to filter the available\n voices. For example, if you specify en-US, the operation\n returns a list of all available US English voices.

\n

This operation requires permissions to perform the\n polly:DescribeVoices action.

", - "smithy.api#http": { - "method": "GET", - "uri": "/v1/voices", - "code": 200 - } - } + "Gender": "Female", + "Name": "Amy", + "LanguageName": "British English", + "Id": "Amy", + "LanguageCode": "en-GB" + } + ] + } + } + ], + "smithy.api#http": { + "method": "GET", + "uri": "/v1/voices", + "code": 200 + } + } + }, + "com.amazonaws.polly#DescribeVoicesInput": { + "type": "structure", + "members": { + "Engine": { + "target": "com.amazonaws.polly#Engine", + "traits": { + "smithy.api#documentation": "

Specifies the engine (standard or neural)\n used by Amazon Polly when processing input text for speech synthesis.

", + "smithy.api#httpQuery": "Engine" + } + }, + "LanguageCode": { + "target": "com.amazonaws.polly#LanguageCode", + "traits": { + "smithy.api#documentation": "

The language identification tag (ISO 639 code for the language\n name-ISO 3166 country code) for filtering the list of voices returned. If\n you don't specify this optional parameter, all available voices are\n returned.

", + "smithy.api#httpQuery": "LanguageCode" + } + }, + "IncludeAdditionalLanguageCodes": { + "target": "com.amazonaws.polly#IncludeAdditionalLanguageCodes", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "

Boolean value indicating whether to return any bilingual voices that\n use the specified language as an additional language. For instance, if you\n request all languages that use US English (es-US), and there is an Italian\n voice that speaks both Italian (it-IT) and US English, that voice will be\n included if you specify yes but not if you specify\n no.

", + "smithy.api#httpQuery": "IncludeAdditionalLanguageCodes" + } + }, + "NextToken": { + "target": "com.amazonaws.polly#NextToken", + "traits": { + "smithy.api#documentation": "

An opaque pagination token returned from the previous\n DescribeVoices operation. If present, this indicates where\n to continue the listing.

", + "smithy.api#httpQuery": "NextToken" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.polly#DescribeVoicesOutput": { + "type": "structure", + "members": { + "Voices": { + "target": "com.amazonaws.polly#VoiceList", + "traits": { + "smithy.api#documentation": "

A list of voices with their properties.

" + } + }, + "NextToken": { + "target": "com.amazonaws.polly#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token to use in the next request to continue the\n listing of voices. NextToken is returned only if the response\n is truncated.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.polly#Engine": { + "type": "enum", + "members": { + "STANDARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "standard" + } + }, + "NEURAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "neural" + } + } + } + }, + "com.amazonaws.polly#EngineList": { + "type": "list", + "member": { + "target": "com.amazonaws.polly#Engine" + } + }, + "com.amazonaws.polly#EngineNotSupportedException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

This engine is not compatible with the voice that you have designated.\n Choose a new voice that is compatible with the engine or change the engine\n and restart the operation.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#ErrorMessage": { + "type": "string" + }, + "com.amazonaws.polly#Gender": { + "type": "enum", + "members": { + "Female": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Female" + } + }, + "Male": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Male" + } + } + } + }, + "com.amazonaws.polly#GetLexicon": { + "type": "operation", + "input": { + "target": "com.amazonaws.polly#GetLexiconInput" + }, + "output": { + "target": "com.amazonaws.polly#GetLexiconOutput" + }, + "errors": [ + { + "target": "com.amazonaws.polly#LexiconNotFoundException" + }, + { + "target": "com.amazonaws.polly#ServiceFailureException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns the content of the specified pronunciation lexicon stored\n in an Amazon Web Services Region. For more information, see Managing Lexicons.

", + "smithy.api#http": { + "method": "GET", + "uri": "/v1/lexicons/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.polly#GetLexiconInput": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.polly#LexiconName", + "traits": { + "smithy.api#documentation": "

Name of the lexicon.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.polly#GetLexiconOutput": { + "type": "structure", + "members": { + "Lexicon": { + "target": "com.amazonaws.polly#Lexicon", + "traits": { + "smithy.api#documentation": "

Lexicon object that provides name and the string content of the\n lexicon.

" + } + }, + "LexiconAttributes": { + "target": "com.amazonaws.polly#LexiconAttributes", + "traits": { + "smithy.api#documentation": "

Metadata of the lexicon, including phonetic alphabetic used,\n language code, lexicon ARN, number of lexemes defined in the lexicon, and\n size of lexicon in bytes.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.polly#GetSpeechSynthesisTask": { + "type": "operation", + "input": { + "target": "com.amazonaws.polly#GetSpeechSynthesisTaskInput" + }, + "output": { + "target": "com.amazonaws.polly#GetSpeechSynthesisTaskOutput" + }, + "errors": [ + { + "target": "com.amazonaws.polly#InvalidTaskIdException" + }, + { + "target": "com.amazonaws.polly#ServiceFailureException" + }, + { + "target": "com.amazonaws.polly#SynthesisTaskNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

Retrieves a specific SpeechSynthesisTask object based on its TaskID.\n This object contains information about the given speech synthesis task,\n including the status of the task, and a link to the S3 bucket containing\n the output of the task.

", + "smithy.api#http": { + "method": "GET", + "uri": "/v1/synthesisTasks/{TaskId}", + "code": 200 + } + } + }, + "com.amazonaws.polly#GetSpeechSynthesisTaskInput": { + "type": "structure", + "members": { + "TaskId": { + "target": "com.amazonaws.polly#TaskId", + "traits": { + "smithy.api#documentation": "

The Amazon Polly generated identifier for a speech synthesis task.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.polly#GetSpeechSynthesisTaskOutput": { + "type": "structure", + "members": { + "SynthesisTask": { + "target": "com.amazonaws.polly#SynthesisTask", + "traits": { + "smithy.api#documentation": "

SynthesisTask object that provides information from the requested\n task, including output format, creation time, task status, and so\n on.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.polly#IncludeAdditionalLanguageCodes": { + "type": "boolean", + "traits": { + "smithy.api#default": false + } + }, + "com.amazonaws.polly#InvalidLexiconException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

Amazon Polly can't find the specified lexicon. Verify that the lexicon's\n name is spelled correctly, and then try again.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#InvalidNextTokenException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The NextToken is invalid. Verify that it's spelled correctly, and\n then try again.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#InvalidS3BucketException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The provided Amazon S3 bucket name is invalid. Please check your input\n with S3 bucket naming requirements and try again.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#InvalidS3KeyException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The provided Amazon S3 key prefix is invalid. Please provide a valid\n S3 object key name.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#InvalidSampleRateException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The specified sample rate is not valid.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#InvalidSnsTopicArnException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The provided SNS topic ARN is invalid. Please provide a valid SNS\n topic ARN and try again.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#InvalidSsmlException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The SSML you provided is invalid. Verify the SSML syntax, spelling\n of tags and values, and then try again.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#InvalidTaskIdException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The provided Task ID is not valid. Please provide a valid Task ID and\n try again.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#LanguageCode": { + "type": "enum", + "members": { + "arb": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "arb" + } + }, + "cmn_CN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cmn-CN" + } + }, + "cy_GB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cy-GB" + } + }, + "da_DK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "da-DK" + } + }, + "de_DE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "de-DE" + } + }, + "en_AU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-AU" + } + }, + "en_GB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-GB" + } + }, + "en_GB_WLS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-GB-WLS" + } + }, + "en_IN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-IN" + } + }, + "en_US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-US" + } + }, + "es_ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "es-ES" + } + }, + "es_MX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "es-MX" + } + }, + "es_US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "es-US" + } + }, + "fr_CA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fr-CA" + } + }, + "fr_FR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fr-FR" + } + }, + "is_IS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "is-IS" + } + }, + "it_IT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "it-IT" + } + }, + "ja_JP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ja-JP" + } + }, + "hi_IN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "hi-IN" + } + }, + "ko_KR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ko-KR" + } + }, + "nb_NO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "nb-NO" + } + }, + "nl_NL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "nl-NL" + } + }, + "pl_PL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pl-PL" + } + }, + "pt_BR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pt-BR" + } + }, + "pt_PT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pt-PT" + } + }, + "ro_RO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ro-RO" + } + }, + "ru_RU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ru-RU" + } + }, + "sv_SE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sv-SE" + } + }, + "tr_TR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "tr-TR" + } + }, + "en_NZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-NZ" + } + }, + "en_ZA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-ZA" + } + }, + "ca_ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ca-ES" + } + }, + "de_AT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "de-AT" + } + }, + "yue_CN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "yue-CN" + } + }, + "ar_AE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ar-AE" + } + }, + "fi_FI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fi-FI" + } + }, + "en_IE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-IE" + } + }, + "nl_BE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "nl-BE" + } + }, + "fr_BE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fr-BE" + } + } + } + }, + "com.amazonaws.polly#LanguageCodeList": { + "type": "list", + "member": { + "target": "com.amazonaws.polly#LanguageCode" + } + }, + "com.amazonaws.polly#LanguageName": { + "type": "string" + }, + "com.amazonaws.polly#LanguageNotSupportedException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The language specified is not currently supported by Amazon Polly in this\n capacity.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#LastModified": { + "type": "timestamp" + }, + "com.amazonaws.polly#LexemesCount": { + "type": "integer", + "traits": { + "smithy.api#default": 0 + } + }, + "com.amazonaws.polly#Lexicon": { + "type": "structure", + "members": { + "Content": { + "target": "com.amazonaws.polly#LexiconContent", + "traits": { + "smithy.api#documentation": "

Lexicon content in string format. The content of a lexicon must be\n in PLS format.

" + } + }, + "Name": { + "target": "com.amazonaws.polly#LexiconName", + "traits": { + "smithy.api#documentation": "

Name of the lexicon.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Provides lexicon name and lexicon content in string format. For\n more information, see Pronunciation Lexicon\n Specification (PLS) Version 1.0.

" + } + }, + "com.amazonaws.polly#LexiconArn": { + "type": "string" + }, + "com.amazonaws.polly#LexiconAttributes": { + "type": "structure", + "members": { + "Alphabet": { + "target": "com.amazonaws.polly#Alphabet", + "traits": { + "smithy.api#documentation": "

Phonetic alphabet used in the lexicon. Valid values are\n ipa and x-sampa.

" + } + }, + "LanguageCode": { + "target": "com.amazonaws.polly#LanguageCode", + "traits": { + "smithy.api#documentation": "

Language code that the lexicon applies to. A lexicon with a\n language code such as \"en\" would be applied to all English languages\n (en-GB, en-US, en-AUS, en-WLS, and so on.

" + } + }, + "LastModified": { + "target": "com.amazonaws.polly#LastModified", + "traits": { + "smithy.api#documentation": "

Date lexicon was last modified (a timestamp value).

" + } + }, + "LexiconArn": { + "target": "com.amazonaws.polly#LexiconArn", + "traits": { + "smithy.api#documentation": "

Amazon Resource Name (ARN) of the lexicon.

" + } + }, + "LexemesCount": { + "target": "com.amazonaws.polly#LexemesCount", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

Number of lexemes in the lexicon.

" + } + }, + "Size": { + "target": "com.amazonaws.polly#Size", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

Total size of the lexicon, in characters.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains metadata describing the lexicon such as the number of\n lexemes, language code, and so on. For more information, see Managing Lexicons.

" + } + }, + "com.amazonaws.polly#LexiconContent": { + "type": "string", + "traits": { + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.polly#LexiconDescription": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.polly#LexiconName", + "traits": { + "smithy.api#documentation": "

Name of the lexicon.

" + } + }, + "Attributes": { + "target": "com.amazonaws.polly#LexiconAttributes", + "traits": { + "smithy.api#documentation": "

Provides lexicon metadata.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes the content of the lexicon.

" + } + }, + "com.amazonaws.polly#LexiconDescriptionList": { + "type": "list", + "member": { + "target": "com.amazonaws.polly#LexiconDescription" + } + }, + "com.amazonaws.polly#LexiconName": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[0-9A-Za-z]{1,20}$" + } + }, + "com.amazonaws.polly#LexiconNameList": { + "type": "list", + "member": { + "target": "com.amazonaws.polly#LexiconName" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 5 + } + } + }, + "com.amazonaws.polly#LexiconNotFoundException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

Amazon Polly can't find the specified lexicon. This could be caused by a\n lexicon that is missing, its name is misspelled or specifying a lexicon\n that is in a different region.

\n

Verify that the lexicon exists, is in the region (see ListLexicons) and that you spelled its name is spelled\n correctly. Then try again.

", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.polly#LexiconSizeExceededException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The maximum size of the specified lexicon would be exceeded by this\n operation.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#ListLexicons": { + "type": "operation", + "input": { + "target": "com.amazonaws.polly#ListLexiconsInput" + }, + "output": { + "target": "com.amazonaws.polly#ListLexiconsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.polly#InvalidNextTokenException" + }, + { + "target": "com.amazonaws.polly#ServiceFailureException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns a list of pronunciation lexicons stored in an Amazon Web Services Region. For more information, see Managing Lexicons.

", + "smithy.api#examples": [ + { + "title": "To list all lexicons in a region", + "documentation": "Returns a list of pronunciation lexicons stored in an AWS Region.", + "output": { + "Lexicons": [ + { + "Attributes": { + "LanguageCode": "en-US", + "LastModified": 1.478542980117e9, + "Alphabet": "ipa", + "LexemesCount": 1, + "LexiconArn": "arn:aws:polly:us-east-1:123456789012:lexicon/example", + "Size": 503 + }, + "Name": "example" + } + ] + } + } + ], + "smithy.api#http": { + "method": "GET", + "uri": "/v1/lexicons", + "code": 200 + } + } + }, + "com.amazonaws.polly#ListLexiconsInput": { + "type": "structure", + "members": { + "NextToken": { + "target": "com.amazonaws.polly#NextToken", + "traits": { + "smithy.api#documentation": "

An opaque pagination token returned from previous\n ListLexicons operation. If present, indicates where to\n continue the list of lexicons.

", + "smithy.api#httpQuery": "NextToken" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.polly#ListLexiconsOutput": { + "type": "structure", + "members": { + "Lexicons": { + "target": "com.amazonaws.polly#LexiconDescriptionList", + "traits": { + "smithy.api#documentation": "

A list of lexicon names and attributes.

" + } + }, + "NextToken": { + "target": "com.amazonaws.polly#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token to use in the next request to continue the\n listing of lexicons. NextToken is returned only if the\n response is truncated.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.polly#ListSpeechSynthesisTasks": { + "type": "operation", + "input": { + "target": "com.amazonaws.polly#ListSpeechSynthesisTasksInput" + }, + "output": { + "target": "com.amazonaws.polly#ListSpeechSynthesisTasksOutput" + }, + "errors": [ + { + "target": "com.amazonaws.polly#InvalidNextTokenException" + }, + { + "target": "com.amazonaws.polly#ServiceFailureException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns a list of SpeechSynthesisTask objects ordered by their\n creation date. This operation can filter the tasks by their status, for\n example, allowing users to list only tasks that are completed.

", + "smithy.api#http": { + "method": "GET", + "uri": "/v1/synthesisTasks", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.polly#ListSpeechSynthesisTasksInput": { + "type": "structure", + "members": { + "MaxResults": { + "target": "com.amazonaws.polly#MaxResults", + "traits": { + "smithy.api#documentation": "

Maximum number of speech synthesis tasks returned in a List\n operation.

", + "smithy.api#httpQuery": "MaxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.polly#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token to use in the next request to continue the\n listing of speech synthesis tasks.

", + "smithy.api#httpQuery": "NextToken" + } + }, + "Status": { + "target": "com.amazonaws.polly#TaskStatus", + "traits": { + "smithy.api#documentation": "

Status of the speech synthesis tasks returned in a List\n operation

", + "smithy.api#httpQuery": "Status" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.polly#ListSpeechSynthesisTasksOutput": { + "type": "structure", + "members": { + "NextToken": { + "target": "com.amazonaws.polly#NextToken", + "traits": { + "smithy.api#documentation": "

An opaque pagination token returned from the previous List operation\n in this request. If present, this indicates where to continue the\n listing.

" + } + }, + "SynthesisTasks": { + "target": "com.amazonaws.polly#SynthesisTasks", + "traits": { + "smithy.api#documentation": "

List of SynthesisTask objects that provides information from the\n specified task in the list request, including output format, creation\n time, task status, and so on.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.polly#MarksNotSupportedForFormatException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

Speech marks are not supported for the OutputFormat\n selected. Speech marks are only available for content in json\n format.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#MaxLexemeLengthExceededException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The maximum size of the lexeme would be exceeded by this\n operation.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#MaxLexiconsNumberExceededException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The maximum number of lexicons would be exceeded by this\n operation.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#MaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.polly#NextToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 4096 + } + } + }, + "com.amazonaws.polly#OutputFormat": { + "type": "enum", + "members": { + "JSON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "json" + } + }, + "MP3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "mp3" + } + }, + "OGG_VORBIS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ogg_vorbis" + } + }, + "PCM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pcm" + } + } + } + }, + "com.amazonaws.polly#OutputS3BucketName": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]$" + } + }, + "com.amazonaws.polly#OutputS3KeyPrefix": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[0-9a-zA-Z\\/\\!\\-_\\.\\*\\'\\(\\):;\\$@=+\\,\\?&]{0,800}$" + } + }, + "com.amazonaws.polly#OutputUri": { + "type": "string" + }, + "com.amazonaws.polly#Parrot_v1": { + "type": "service", + "version": "2016-06-10", + "operations": [ + { + "target": "com.amazonaws.polly#DeleteLexicon" }, - "com.amazonaws.polly#DescribeVoicesInput": { - "type": "structure", - "members": { - "Engine": { - "target": "com.amazonaws.polly#Engine", - "traits": { - "smithy.api#documentation": "

Specifies the engine (standard or neural)\n used by Amazon Polly when processing input text for speech synthesis.

", - "smithy.api#httpQuery": "Engine" - } - }, - "LanguageCode": { - "target": "com.amazonaws.polly#LanguageCode", - "traits": { - "smithy.api#documentation": "

The language identification tag (ISO 639 code for the language\n name-ISO 3166 country code) for filtering the list of voices returned. If\n you don't specify this optional parameter, all available voices are\n returned.

", - "smithy.api#httpQuery": "LanguageCode" - } - }, - "IncludeAdditionalLanguageCodes": { - "target": "com.amazonaws.polly#IncludeAdditionalLanguageCodes", - "traits": { - "smithy.api#default": false, - "smithy.api#documentation": "

Boolean value indicating whether to return any bilingual voices that\n use the specified language as an additional language. For instance, if you\n request all languages that use US English (es-US), and there is an Italian\n voice that speaks both Italian (it-IT) and US English, that voice will be\n included if you specify yes but not if you specify\n no.

", - "smithy.api#httpQuery": "IncludeAdditionalLanguageCodes" - } - }, - "NextToken": { - "target": "com.amazonaws.polly#NextToken", - "traits": { - "smithy.api#documentation": "

An opaque pagination token returned from the previous\n DescribeVoices operation. If present, this indicates where\n to continue the listing.

", - "smithy.api#httpQuery": "NextToken" - } - } - }, - "traits": { - "smithy.api#input": {} - } + { + "target": "com.amazonaws.polly#DescribeVoices" }, - "com.amazonaws.polly#DescribeVoicesOutput": { - "type": "structure", - "members": { - "Voices": { - "target": "com.amazonaws.polly#VoiceList", - "traits": { - "smithy.api#documentation": "

A list of voices with their properties.

" - } - }, - "NextToken": { - "target": "com.amazonaws.polly#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token to use in the next request to continue the\n listing of voices. NextToken is returned only if the response\n is truncated.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } + { + "target": "com.amazonaws.polly#GetLexicon" }, - "com.amazonaws.polly#Engine": { - "type": "enum", - "members": { - "STANDARD": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "standard" - } - }, - "NEURAL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "neural" - } - } - } + { + "target": "com.amazonaws.polly#GetSpeechSynthesisTask" }, - "com.amazonaws.polly#EngineList": { - "type": "list", - "member": { - "target": "com.amazonaws.polly#Engine" - } + { + "target": "com.amazonaws.polly#ListLexicons" }, - "com.amazonaws.polly#EngineNotSupportedException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

This engine is not compatible with the voice that you have designated.\n Choose a new voice that is compatible with the engine or change the engine\n and restart the operation.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } + { + "target": "com.amazonaws.polly#ListSpeechSynthesisTasks" }, - "com.amazonaws.polly#ErrorMessage": { - "type": "string" + { + "target": "com.amazonaws.polly#PutLexicon" }, - "com.amazonaws.polly#Gender": { - "type": "enum", - "members": { - "Female": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Female" - } - }, - "Male": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Male" + { + "target": "com.amazonaws.polly#StartSpeechSynthesisTask" + }, + { + "target": "com.amazonaws.polly#SynthesizeSpeech" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "Polly", + "arnNamespace": "polly", + "cloudFormationName": "Polly", + "cloudTrailEventSource": "polly.amazonaws.com", + "endpointPrefix": "polly" + }, + "aws.auth#sigv4": { + "name": "polly" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amazon Polly is a web service that makes it easy to synthesize speech from\n text.

\n

The Amazon Polly service provides API operations for synthesizing\n high-quality speech from plain text and Speech Synthesis Markup Language\n (SSML), along with managing pronunciations lexicons that enable you to get\n the best results for your application domain.

", + "smithy.api#title": "Amazon Polly", + "smithy.api#xmlNamespace": { + "uri": "http://polly.amazonaws.com/doc/v1" + }, + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" } + ] } - } - }, - "com.amazonaws.polly#GetLexicon": { - "type": "operation", - "input": { - "target": "com.amazonaws.polly#GetLexiconInput" - }, - "output": { - "target": "com.amazonaws.polly#GetLexiconOutput" - }, - "errors": [ + ], + "type": "tree", + "rules": [ { - "target": "com.amazonaws.polly#LexiconNotFoundException" + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" }, { - "target": "com.amazonaws.polly#ServiceFailureException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns the content of the specified pronunciation lexicon stored\n in an Amazon Web Services Region. For more information, see Managing Lexicons.

", - "smithy.api#http": { - "method": "GET", - "uri": "/v1/lexicons/{Name}", - "code": 200 - } - } - }, - "com.amazonaws.polly#GetLexiconInput": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.polly#LexiconName", - "traits": { - "smithy.api#documentation": "

Name of the lexicon.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } + ] }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.polly#GetLexiconOutput": { - "type": "structure", - "members": { - "Lexicon": { - "target": "com.amazonaws.polly#Lexicon", - "traits": { - "smithy.api#documentation": "

Lexicon object that provides name and the string content of the\n lexicon.

" + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" } - }, - "LexiconAttributes": { - "target": "com.amazonaws.polly#LexiconAttributes", - "traits": { - "smithy.api#documentation": "

Metadata of the lexicon, including phonetic alphabetic used,\n language code, lexicon ARN, number of lexemes defined in the lexicon, and\n size of lexicon in bytes.

" + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://polly-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://polly-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://polly.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://polly.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } + ] } + ] }, - "traits": { - "smithy.api#output": {} + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } + ] }, - "com.amazonaws.polly#GetSpeechSynthesisTask": { - "type": "operation", - "input": { - "target": "com.amazonaws.polly#GetSpeechSynthesisTaskInput" + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.af-south-1.amazonaws.com" + } + }, + "params": { + "Region": "af-south-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "output": { - "target": "com.amazonaws.polly#GetSpeechSynthesisTaskOutput" + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.ap-east-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-east-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "errors": [ - { - "target": "com.amazonaws.polly#InvalidTaskIdException" - }, - { - "target": "com.amazonaws.polly#ServiceFailureException" - }, - { - "target": "com.amazonaws.polly#SynthesisTaskNotFoundException" - } - ], - "traits": { - "smithy.api#documentation": "

Retrieves a specific SpeechSynthesisTask object based on its TaskID.\n This object contains information about the given speech synthesis task,\n including the status of the task, and a link to the S3 bucket containing\n the output of the task.

", - "smithy.api#http": { - "method": "GET", - "uri": "/v1/synthesisTasks/{TaskId}", - "code": 200 - } - } - }, - "com.amazonaws.polly#GetSpeechSynthesisTaskInput": { - "type": "structure", - "members": { - "TaskId": { - "target": "com.amazonaws.polly#TaskId", - "traits": { - "smithy.api#documentation": "

The Amazon Polly generated identifier for a speech synthesis task.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.polly#GetSpeechSynthesisTaskOutput": { - "type": "structure", - "members": { - "SynthesisTask": { - "target": "com.amazonaws.polly#SynthesisTask", - "traits": { - "smithy.api#documentation": "

SynthesisTask object that provides information from the requested\n task, including output format, creation time, task status, and so\n on.

" - } - } + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.polly#IncludeAdditionalLanguageCodes": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } - }, - "com.amazonaws.polly#InvalidLexiconException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.ap-south-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-south-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

Amazon Polly can't find the specified lexicon. Verify that the lexicon's\n name is spelled correctly, and then try again.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.polly#InvalidNextTokenException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

The NextToken is invalid. Verify that it's spelled correctly, and\n then try again.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.polly#InvalidS3BucketException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

The provided Amazon S3 bucket name is invalid. Please check your input\n with S3 bucket naming requirements and try again.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.polly#InvalidS3KeyException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.ca-central-1.amazonaws.com" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

The provided Amazon S3 key prefix is invalid. Please provide a valid\n S3 object key name.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.polly#InvalidSampleRateException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.eu-central-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-central-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

The specified sample rate is not valid.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.polly#InvalidSnsTopicArnException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.eu-north-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-north-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

The provided SNS topic ARN is invalid. Please provide a valid SNS\n topic ARN and try again.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.polly#InvalidSsmlException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.eu-west-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

The SSML you provided is invalid. Verify the SSML syntax, spelling\n of tags and values, and then try again.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.polly#InvalidTaskIdException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.eu-west-2.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

The provided Task ID is not valid. Please provide a valid Task ID and\n try again.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.polly#LanguageCode": { - "type": "enum", - "members": { - "arb": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "arb" - } - }, - "cmn_CN": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "cmn-CN" - } - }, - "cy_GB": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "cy-GB" - } - }, - "da_DK": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "da-DK" - } - }, - "de_DE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "de-DE" - } - }, - "en_AU": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "en-AU" - } - }, - "en_GB": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "en-GB" - } - }, - "en_GB_WLS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "en-GB-WLS" - } - }, - "en_IN": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "en-IN" - } - }, - "en_US": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "en-US" - } - }, - "es_ES": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "es-ES" - } - }, - "es_MX": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "es-MX" - } - }, - "es_US": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "es-US" - } - }, - "fr_CA": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "fr-CA" - } - }, - "fr_FR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "fr-FR" - } - }, - "is_IS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "is-IS" - } - }, - "it_IT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "it-IT" - } - }, - "ja_JP": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ja-JP" - } - }, - "hi_IN": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "hi-IN" - } - }, - "ko_KR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ko-KR" - } - }, - "nb_NO": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "nb-NO" - } - }, - "nl_NL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "nl-NL" - } - }, - "pl_PL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "pl-PL" - } - }, - "pt_BR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "pt-BR" - } - }, - "pt_PT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "pt-PT" - } - }, - "ro_RO": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ro-RO" - } - }, - "ru_RU": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ru-RU" - } - }, - "sv_SE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "sv-SE" - } - }, - "tr_TR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "tr-TR" - } - }, - "en_NZ": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "en-NZ" - } - }, - "en_ZA": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "en-ZA" - } - }, - "ca_ES": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ca-ES" - } - }, - "de_AT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "de-AT" - } - }, - "yue_CN": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "yue-CN" - } - }, - "ar_AE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ar-AE" - } - }, - "fi_FI": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "fi-FI" - } - }, - "en_IE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "en-IE" - } - }, - "nl_BE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "nl-BE" - } - }, - "fr_BE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "fr-BE" - } - } - } - }, - "com.amazonaws.polly#LanguageCodeList": { - "type": "list", - "member": { - "target": "com.amazonaws.polly#LanguageCode" - } - }, - "com.amazonaws.polly#LanguageName": { - "type": "string" - }, - "com.amazonaws.polly#LanguageNotSupportedException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.eu-west-3.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-3", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

The language specified is not currently supported by Amazon Polly in this\n capacity.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.polly#LastModified": { - "type": "timestamp" - }, - "com.amazonaws.polly#LexemesCount": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } - }, - "com.amazonaws.polly#Lexicon": { - "type": "structure", - "members": { - "Content": { - "target": "com.amazonaws.polly#LexiconContent", - "traits": { - "smithy.api#documentation": "

Lexicon content in string format. The content of a lexicon must be\n in PLS format.

" - } - }, - "Name": { - "target": "com.amazonaws.polly#LexiconName", - "traits": { - "smithy.api#documentation": "

Name of the lexicon.

" - } - } + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.me-south-1.amazonaws.com" + } + }, + "params": { + "Region": "me-south-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

Provides lexicon name and lexicon content in string format. For\n more information, see Pronunciation Lexicon\n Specification (PLS) Version 1.0.

" - } - }, - "com.amazonaws.polly#LexiconArn": { - "type": "string" - }, - "com.amazonaws.polly#LexiconAttributes": { - "type": "structure", - "members": { - "Alphabet": { - "target": "com.amazonaws.polly#Alphabet", - "traits": { - "smithy.api#documentation": "

Phonetic alphabet used in the lexicon. Valid values are\n ipa and x-sampa.

" - } - }, - "LanguageCode": { - "target": "com.amazonaws.polly#LanguageCode", - "traits": { - "smithy.api#documentation": "

Language code that the lexicon applies to. A lexicon with a\n language code such as \"en\" would be applied to all English languages\n (en-GB, en-US, en-AUS, en-WLS, and so on.

" - } - }, - "LastModified": { - "target": "com.amazonaws.polly#LastModified", - "traits": { - "smithy.api#documentation": "

Date lexicon was last modified (a timestamp value).

" - } - }, - "LexiconArn": { - "target": "com.amazonaws.polly#LexiconArn", - "traits": { - "smithy.api#documentation": "

Amazon Resource Name (ARN) of the lexicon.

" - } - }, - "LexemesCount": { - "target": "com.amazonaws.polly#LexemesCount", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

Number of lexemes in the lexicon.

" - } - }, - "Size": { - "target": "com.amazonaws.polly#Size", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

Total size of the lexicon, in characters.

" - } - } + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.sa-east-1.amazonaws.com" + } + }, + "params": { + "Region": "sa-east-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

Contains metadata describing the lexicon such as the number of\n lexemes, language code, and so on. For more information, see Managing Lexicons.

" - } - }, - "com.amazonaws.polly#LexiconContent": { - "type": "string", - "traits": { - "smithy.api#sensitive": {} - } - }, - "com.amazonaws.polly#LexiconDescription": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.polly#LexiconName", - "traits": { - "smithy.api#documentation": "

Name of the lexicon.

" - } - }, - "Attributes": { - "target": "com.amazonaws.polly#LexiconAttributes", - "traits": { - "smithy.api#documentation": "

Provides lexicon metadata.

" - } - } + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

Describes the content of the lexicon.

" - } - }, - "com.amazonaws.polly#LexiconDescriptionList": { - "type": "list", - "member": { - "target": "com.amazonaws.polly#LexiconDescription" - } - }, - "com.amazonaws.polly#LexiconName": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[0-9A-Za-z]{1,20}$" - } - }, - "com.amazonaws.polly#LexiconNameList": { - "type": "list", - "member": { - "target": "com.amazonaws.polly#LexiconName" + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 5 - } - } - }, - "com.amazonaws.polly#LexiconNotFoundException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.us-east-2.amazonaws.com" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

Amazon Polly can't find the specified lexicon. This could be caused by a\n lexicon that is missing, its name is misspelled or specifying a lexicon\n that is in a different region.

\n

Verify that the lexicon exists, is in the region (see ListLexicons) and that you spelled its name is spelled\n correctly. Then try again.

", - "smithy.api#error": "client", - "smithy.api#httpError": 404 - } - }, - "com.amazonaws.polly#LexiconSizeExceededException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } + { + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-east-2.amazonaws.com" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": true, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

The maximum size of the specified lexicon would be exceeded by this\n operation.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.polly#ListLexicons": { - "type": "operation", - "input": { - "target": "com.amazonaws.polly#ListLexiconsInput" + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.us-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "output": { - "target": "com.amazonaws.polly#ListLexiconsOutput" + { + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": true, + "UseDualStack": false + } }, - "errors": [ - { - "target": "com.amazonaws.polly#InvalidNextTokenException" - }, - { - "target": "com.amazonaws.polly#ServiceFailureException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns a list of pronunciation lexicons stored in an Amazon Web Services Region. For more information, see Managing Lexicons.

", - "smithy.api#http": { - "method": "GET", - "uri": "/v1/lexicons", - "code": 200 - } - } - }, - "com.amazonaws.polly#ListLexiconsInput": { - "type": "structure", - "members": { - "NextToken": { - "target": "com.amazonaws.polly#NextToken", - "traits": { - "smithy.api#documentation": "

An opaque pagination token returned from previous\n ListLexicons operation. If present, indicates where to\n continue the list of lexicons.

", - "smithy.api#httpQuery": "NextToken" - } - } + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.polly#ListLexiconsOutput": { - "type": "structure", - "members": { - "Lexicons": { - "target": "com.amazonaws.polly#LexiconDescriptionList", - "traits": { - "smithy.api#documentation": "

A list of lexicon names and attributes.

" - } - }, - "NextToken": { - "target": "com.amazonaws.polly#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token to use in the next request to continue the\n listing of lexicons. NextToken is returned only if the\n response is truncated.

" - } - } + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": true, + "UseDualStack": false + } }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.polly#ListSpeechSynthesisTasks": { - "type": "operation", - "input": { - "target": "com.amazonaws.polly#ListSpeechSynthesisTasksInput" + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } }, - "output": { - "target": "com.amazonaws.polly#ListSpeechSynthesisTasksOutput" + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } }, - "errors": [ - { - "target": "com.amazonaws.polly#InvalidNextTokenException" - }, - { - "target": "com.amazonaws.polly#ServiceFailureException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns a list of SpeechSynthesisTask objects ordered by their\n creation date. This operation can filter the tasks by their status, for\n example, allowing users to list only tasks that are completed.

", - "smithy.api#http": { - "method": "GET", - "uri": "/v1/synthesisTasks", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - } - } - }, - "com.amazonaws.polly#ListSpeechSynthesisTasksInput": { - "type": "structure", - "members": { - "MaxResults": { - "target": "com.amazonaws.polly#MaxResults", - "traits": { - "smithy.api#documentation": "

Maximum number of speech synthesis tasks returned in a List\n operation.

", - "smithy.api#httpQuery": "MaxResults" - } - }, - "NextToken": { - "target": "com.amazonaws.polly#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token to use in the next request to continue the\n listing of speech synthesis tasks.

", - "smithy.api#httpQuery": "NextToken" - } - }, - "Status": { - "target": "com.amazonaws.polly#TaskStatus", - "traits": { - "smithy.api#documentation": "

Status of the speech synthesis tasks returned in a List\n operation

", - "smithy.api#httpQuery": "Status" - } - } + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.cn-northwest-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-northwest-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.polly#ListSpeechSynthesisTasksOutput": { - "type": "structure", - "members": { - "NextToken": { - "target": "com.amazonaws.polly#NextToken", - "traits": { - "smithy.api#documentation": "

An opaque pagination token returned from the previous List operation\n in this request. If present, this indicates where to continue the\n listing.

" - } - }, - "SynthesisTasks": { - "target": "com.amazonaws.polly#SynthesisTasks", - "traits": { - "smithy.api#documentation": "

List of SynthesisTask objects that provides information from the\n specified task in the list request, including output format, creation\n time, task status, and so on.

" - } - } + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true + } }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.polly#MarksNotSupportedForFormatException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

Speech marks are not supported for the OutputFormat\n selected. Speech marks are only available for content in json\n format.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.polly#MaxLexemeLengthExceededException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true + } }, - "traits": { - "smithy.api#documentation": "

The maximum size of the lexeme would be exceeded by this\n operation.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.polly#MaxLexiconsNumberExceededException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

The maximum number of lexicons would be exceeded by this\n operation.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.polly#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.polly#NextToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 4096 - } - } - }, - "com.amazonaws.polly#OutputFormat": { - "type": "enum", - "members": { - "JSON": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "json" - } - }, - "MP3": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "mp3" - } - }, - "OGG_VORBIS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ogg_vorbis" - } - }, - "PCM": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "pcm" - } - } - } - }, - "com.amazonaws.polly#OutputS3BucketName": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]$" - } - }, - "com.amazonaws.polly#OutputS3KeyPrefix": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[0-9a-zA-Z\\/\\!\\-_\\.\\*\\'\\(\\):;\\$@=+\\,\\?&]{0,800}$" - } - }, - "com.amazonaws.polly#OutputUri": { - "type": "string" - }, - "com.amazonaws.polly#Parrot_v1": { - "type": "service", - "version": "2016-06-10", - "operations": [ - { - "target": "com.amazonaws.polly#DeleteLexicon" - }, - { - "target": "com.amazonaws.polly#DescribeVoices" - }, - { - "target": "com.amazonaws.polly#GetLexicon" - }, - { - "target": "com.amazonaws.polly#GetSpeechSynthesisTask" - }, - { - "target": "com.amazonaws.polly#ListLexicons" - }, - { - "target": "com.amazonaws.polly#ListSpeechSynthesisTasks" - }, - { - "target": "com.amazonaws.polly#PutLexicon" - }, - { - "target": "com.amazonaws.polly#StartSpeechSynthesisTask" - }, - { - "target": "com.amazonaws.polly#SynthesizeSpeech" - } - ], - "traits": { - "aws.api#service": { - "sdkId": "Polly", - "arnNamespace": "polly", - "cloudFormationName": "Polly", - "cloudTrailEventSource": "polly.amazonaws.com", - "endpointPrefix": "polly" - }, - "aws.auth#sigv4": { - "name": "polly" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon Polly is a web service that makes it easy to synthesize speech from\n text.

\n

The Amazon Polly service provides API operations for synthesizing\n high-quality speech from plain text and Speech Synthesis Markup Language\n (SSML), along with managing pronunciations lexicons that enable you to get\n the best results for your application domain.

", - "smithy.api#title": "Amazon Polly", - "smithy.api#xmlNamespace": { - "uri": "http://polly.amazonaws.com/doc/v1" - }, - "smithy.rules#endpointRuleSet": { - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "Boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "Boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "String" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://polly-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://polly-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://polly.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ] - }, - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://polly.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] - } - ] - }, - "smithy.rules#endpointTests": { - "testCases": [ - { - "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.af-south-1.amazonaws.com" - } - }, - "params": { - "Region": "af-south-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.ap-east-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.ap-south-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-south-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.ca-central-1.amazonaws.com" - } - }, - "params": { - "Region": "ca-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.eu-central-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.eu-north-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.eu-west-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.eu-west-2.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.eu-west-3.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-3", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.me-south-1.amazonaws.com" - } - }, - "params": { - "Region": "me-south-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.sa-east-1.amazonaws.com" - } - }, - "params": { - "Region": "sa-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly-fips.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.us-west-1.amazonaws.com" - } - }, - "params": { - "Region": "us-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly-fips.us-west-1.amazonaws.com" - } - }, - "params": { - "Region": "us-west-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://polly-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://polly.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.cn-northwest-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-northwest-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://polly-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://polly.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.us-gov-west-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly-fips.us-gov-west-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-west-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://polly-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://polly.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://polly.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" - } - } - }, - "com.amazonaws.polly#PutLexicon": { - "type": "operation", - "input": { - "target": "com.amazonaws.polly#PutLexiconInput" + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "output": { - "target": "com.amazonaws.polly#PutLexiconOutput" + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": true, + "UseDualStack": false + } }, - "errors": [ - { - "target": "com.amazonaws.polly#InvalidLexiconException" - }, - { - "target": "com.amazonaws.polly#LexiconSizeExceededException" - }, - { - "target": "com.amazonaws.polly#MaxLexemeLengthExceededException" - }, - { - "target": "com.amazonaws.polly#MaxLexiconsNumberExceededException" - }, - { - "target": "com.amazonaws.polly#ServiceFailureException" - }, - { - "target": "com.amazonaws.polly#UnsupportedPlsAlphabetException" - }, - { - "target": "com.amazonaws.polly#UnsupportedPlsLanguageException" - } - ], - "traits": { - "smithy.api#documentation": "

Stores a pronunciation lexicon in an Amazon Web Services Region. If\n a lexicon with the same name already exists in the region, it is\n overwritten by the new lexicon. Lexicon operations have eventual\n consistency, therefore, it might take some time before the lexicon is\n available to the SynthesizeSpeech operation.

\n

For more information, see Managing Lexicons.

", - "smithy.api#http": { - "method": "PUT", - "uri": "/v1/lexicons/{Name}", - "code": 200 - } - } - }, - "com.amazonaws.polly#PutLexiconInput": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.polly#LexiconName", - "traits": { - "smithy.api#documentation": "

Name of the lexicon. The name must follow the regular express\n format [0-9A-Za-z]{1,20}. That is, the name is a case-sensitive\n alphanumeric string up to 20 characters long.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "Content": { - "target": "com.amazonaws.polly#LexiconContent", - "traits": { - "smithy.api#documentation": "

Content of the PLS lexicon as string data.

", - "smithy.api#required": {} - } - } + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true + } }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.polly#PutLexiconOutput": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.polly#RequestCharacters": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } - }, - "com.amazonaws.polly#SampleRate": { - "type": "string" - }, - "com.amazonaws.polly#ServiceFailureException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

An unknown condition has caused a service failure.

", - "smithy.api#error": "server", - "smithy.api#httpError": 500 - } - }, - "com.amazonaws.polly#Size": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } - }, - "com.amazonaws.polly#SnsTopicArn": { - "type": "string", - "traits": { - "smithy.api#pattern": "^arn:aws(-(cn|iso(-b)?|us-gov))?:sns:[a-z0-9_-]{1,50}:\\d{12}:[a-zA-Z0-9_-]{1,256}$" - } - }, - "com.amazonaws.polly#SpeechMarkType": { - "type": "enum", - "members": { - "SENTENCE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "sentence" - } - }, - "SSML": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ssml" - } - }, - "VISEME": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "viseme" - } - }, - "WORD": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "word" - } - } - } - }, - "com.amazonaws.polly#SpeechMarkTypeList": { - "type": "list", - "member": { - "target": "com.amazonaws.polly#SpeechMarkType" + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://polly.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true + } }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 4 - } - } - }, - "com.amazonaws.polly#SsmlMarksNotSupportedForTextTypeException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

SSML speech marks are not supported for plain text-type\n input.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.polly#StartSpeechSynthesisTask": { - "type": "operation", - "input": { - "target": "com.amazonaws.polly#StartSpeechSynthesisTaskInput" + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } }, - "output": { - "target": "com.amazonaws.polly#StartSpeechSynthesisTaskOutput" + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } }, - "errors": [ - { - "target": "com.amazonaws.polly#EngineNotSupportedException" - }, - { - "target": "com.amazonaws.polly#InvalidS3BucketException" - }, - { - "target": "com.amazonaws.polly#InvalidS3KeyException" - }, - { - "target": "com.amazonaws.polly#InvalidSampleRateException" - }, - { - "target": "com.amazonaws.polly#InvalidSnsTopicArnException" - }, - { - "target": "com.amazonaws.polly#InvalidSsmlException" - }, - { - "target": "com.amazonaws.polly#LanguageNotSupportedException" - }, - { - "target": "com.amazonaws.polly#LexiconNotFoundException" - }, - { - "target": "com.amazonaws.polly#MarksNotSupportedForFormatException" - }, - { - "target": "com.amazonaws.polly#ServiceFailureException" - }, - { - "target": "com.amazonaws.polly#SsmlMarksNotSupportedForTextTypeException" - }, - { - "target": "com.amazonaws.polly#TextLengthExceededException" - } - ], - "traits": { - "smithy.api#documentation": "

Allows the creation of an asynchronous synthesis task, by starting a\n new SpeechSynthesisTask. This operation requires all the\n standard information needed for speech synthesis, plus the name of an\n Amazon S3 bucket for the service to store the output of the synthesis task\n and two optional parameters (OutputS3KeyPrefix and\n SnsTopicArn). Once the synthesis task is created, this\n operation will return a SpeechSynthesisTask object, which\n will include an identifier of this task as well as the current status. The\n SpeechSynthesisTask object is available for 72 hours after\n starting the asynchronous synthesis task.

", - "smithy.api#http": { - "method": "POST", - "uri": "/v1/synthesisTasks", - "code": 200 - } - } - }, - "com.amazonaws.polly#StartSpeechSynthesisTaskInput": { - "type": "structure", - "members": { - "Engine": { - "target": "com.amazonaws.polly#Engine", - "traits": { - "smithy.api#documentation": "

Specifies the engine (standard or neural)\n for Amazon Polly to use when processing input text for speech synthesis. Using a\n voice that is not supported for the engine selected will result in an\n error.

" - } - }, - "LanguageCode": { - "target": "com.amazonaws.polly#LanguageCode", - "traits": { - "smithy.api#documentation": "

Optional language code for the Speech Synthesis request. This is only\n necessary if using a bilingual voice, such as Aditi, which can be used for\n either Indian English (en-IN) or Hindi (hi-IN).

\n

If a bilingual voice is used and no language code is specified, Amazon Polly\n uses the default language of the bilingual voice. The default language for\n any voice is the one returned by the DescribeVoices operation for the LanguageCode\n parameter. For example, if no language code is specified, Aditi will use\n Indian English rather than Hindi.

" - } - }, - "LexiconNames": { - "target": "com.amazonaws.polly#LexiconNameList", - "traits": { - "smithy.api#documentation": "

List of one or more pronunciation lexicon names you want the service\n to apply during synthesis. Lexicons are applied only if the language of\n the lexicon is the same as the language of the voice.

" - } - }, - "OutputFormat": { - "target": "com.amazonaws.polly#OutputFormat", - "traits": { - "smithy.api#documentation": "

The format in which the returned output will be encoded. For audio\n stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will\n be json.

", - "smithy.api#required": {} - } - }, - "OutputS3BucketName": { - "target": "com.amazonaws.polly#OutputS3BucketName", - "traits": { - "smithy.api#documentation": "

Amazon S3 bucket name to which the output file will be saved.

", - "smithy.api#required": {} - } - }, - "OutputS3KeyPrefix": { - "target": "com.amazonaws.polly#OutputS3KeyPrefix", - "traits": { - "smithy.api#documentation": "

The Amazon S3 key prefix for the output speech file.

" - } - }, - "SampleRate": { - "target": "com.amazonaws.polly#SampleRate", - "traits": { - "smithy.api#documentation": "

The audio frequency specified in Hz.

\n

The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\",\n and \"24000\". The default value for standard voices is \"22050\". The default\n value for neural voices is \"24000\".

\n

Valid values for pcm are \"8000\" and \"16000\" The default value is\n \"16000\".

" - } - }, - "SnsTopicArn": { - "target": "com.amazonaws.polly#SnsTopicArn", - "traits": { - "smithy.api#documentation": "

ARN for the SNS topic optionally used for providing status\n notification for a speech synthesis task.

" - } - }, - "SpeechMarkTypes": { - "target": "com.amazonaws.polly#SpeechMarkTypeList", - "traits": { - "smithy.api#documentation": "

The type of speech marks returned for the input text.

" - } - }, - "Text": { - "target": "com.amazonaws.polly#Text", - "traits": { - "smithy.api#documentation": "

The input text to synthesize. If you specify ssml as the TextType,\n follow the SSML format for the input text.

", - "smithy.api#required": {} - } - }, - "TextType": { - "target": "com.amazonaws.polly#TextType", - "traits": { - "smithy.api#documentation": "

Specifies whether the input text is plain text or SSML. The default\n value is plain text.

" - } - }, - "VoiceId": { - "target": "com.amazonaws.polly#VoiceId", - "traits": { - "smithy.api#documentation": "

Voice ID to use for the synthesis.

", - "smithy.api#required": {} - } - } + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.polly#StartSpeechSynthesisTaskOutput": { - "type": "structure", - "members": { - "SynthesisTask": { - "target": "com.amazonaws.polly#SynthesisTask", - "traits": { - "smithy.api#documentation": "

SynthesisTask object that provides information and attributes about a\n newly submitted speech synthesis task.

" - } - } + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.polly#SynthesisTask": { - "type": "structure", - "members": { - "Engine": { - "target": "com.amazonaws.polly#Engine", - "traits": { - "smithy.api#documentation": "

Specifies the engine (standard or neural)\n for Amazon Polly to use when processing input text for speech synthesis. Using a\n voice that is not supported for the engine selected will result in an\n error.

" - } - }, - "TaskId": { - "target": "com.amazonaws.polly#TaskId", - "traits": { - "smithy.api#documentation": "

The Amazon Polly generated identifier for a speech synthesis task.

" - } - }, - "TaskStatus": { - "target": "com.amazonaws.polly#TaskStatus", - "traits": { - "smithy.api#documentation": "

Current status of the individual speech synthesis task.

" - } - }, - "TaskStatusReason": { - "target": "com.amazonaws.polly#TaskStatusReason", - "traits": { - "smithy.api#documentation": "

Reason for the current status of a specific speech synthesis task,\n including errors if the task has failed.

" - } - }, - "OutputUri": { - "target": "com.amazonaws.polly#OutputUri", - "traits": { - "smithy.api#documentation": "

Pathway for the output speech file.

" - } - }, - "CreationTime": { - "target": "com.amazonaws.polly#DateTime", - "traits": { - "smithy.api#documentation": "

Timestamp for the time the synthesis task was started.

" - } - }, - "RequestCharacters": { - "target": "com.amazonaws.polly#RequestCharacters", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

Number of billable characters synthesized.

" - } - }, - "SnsTopicArn": { - "target": "com.amazonaws.polly#SnsTopicArn", - "traits": { - "smithy.api#documentation": "

ARN for the SNS topic optionally used for providing status\n notification for a speech synthesis task.

" - } - }, - "LexiconNames": { - "target": "com.amazonaws.polly#LexiconNameList", - "traits": { - "smithy.api#documentation": "

List of one or more pronunciation lexicon names you want the service\n to apply during synthesis. Lexicons are applied only if the language of\n the lexicon is the same as the language of the voice.

" - } - }, - "OutputFormat": { - "target": "com.amazonaws.polly#OutputFormat", - "traits": { - "smithy.api#documentation": "

The format in which the returned output will be encoded. For audio\n stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will\n be json.

" - } - }, - "SampleRate": { - "target": "com.amazonaws.polly#SampleRate", - "traits": { - "smithy.api#documentation": "

The audio frequency specified in Hz.

\n

The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\",\n and \"24000\". The default value for standard voices is \"22050\". The default\n value for neural voices is \"24000\".

\n

Valid values for pcm are \"8000\" and \"16000\" The default value is\n \"16000\".

" - } - }, - "SpeechMarkTypes": { - "target": "com.amazonaws.polly#SpeechMarkTypeList", - "traits": { - "smithy.api#documentation": "

The type of speech marks returned for the input text.

" - } - }, - "TextType": { - "target": "com.amazonaws.polly#TextType", - "traits": { - "smithy.api#documentation": "

Specifies whether the input text is plain text or SSML. The default\n value is plain text.

" - } - }, - "VoiceId": { - "target": "com.amazonaws.polly#VoiceId", - "traits": { - "smithy.api#documentation": "

Voice ID to use for the synthesis.

" - } - }, - "LanguageCode": { - "target": "com.amazonaws.polly#LanguageCode", - "traits": { - "smithy.api#documentation": "

Optional language code for a synthesis task. This is only necessary if\n using a bilingual voice, such as Aditi, which can be used for either\n Indian English (en-IN) or Hindi (hi-IN).

\n

If a bilingual voice is used and no language code is specified, Amazon Polly\n uses the default language of the bilingual voice. The default language for\n any voice is the one returned by the DescribeVoices operation for the LanguageCode\n parameter. For example, if no language code is specified, Aditi will use\n Indian English rather than Hindi.

" - } - } + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } }, - "traits": { - "smithy.api#documentation": "

SynthesisTask object that provides information about a speech\n synthesis task.

" - } - }, - "com.amazonaws.polly#SynthesisTaskNotFoundException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false + } }, - "traits": { - "smithy.api#documentation": "

The Speech Synthesis task with requested Task ID cannot be\n found.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.polly#SynthesisTasks": { - "type": "list", - "member": { - "target": "com.amazonaws.polly#SynthesisTask" - } - }, - "com.amazonaws.polly#SynthesizeSpeech": { - "type": "operation", - "input": { - "target": "com.amazonaws.polly#SynthesizeSpeechInput" + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } }, - "output": { - "target": "com.amazonaws.polly#SynthesizeSpeechOutput" + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://polly.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false + } }, - "errors": [ - { - "target": "com.amazonaws.polly#EngineNotSupportedException" - }, - { - "target": "com.amazonaws.polly#InvalidSampleRateException" - }, - { - "target": "com.amazonaws.polly#InvalidSsmlException" - }, - { - "target": "com.amazonaws.polly#LanguageNotSupportedException" - }, - { - "target": "com.amazonaws.polly#LexiconNotFoundException" - }, - { - "target": "com.amazonaws.polly#MarksNotSupportedForFormatException" - }, - { - "target": "com.amazonaws.polly#ServiceFailureException" - }, - { - "target": "com.amazonaws.polly#SsmlMarksNotSupportedForTextTypeException" - }, - { - "target": "com.amazonaws.polly#TextLengthExceededException" - } - ], - "traits": { - "smithy.api#documentation": "

Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.\n SSML input must be valid, well-formed SSML. Some alphabets might not be\n available with all the voices (for example, Cyrillic might not be read at\n all by English voices) unless phoneme mapping is used. For more\n information, see How it Works.

", - "smithy.api#http": { - "method": "POST", - "uri": "/v1/speech", - "code": 200 - } - } - }, - "com.amazonaws.polly#SynthesizeSpeechInput": { - "type": "structure", - "members": { - "Engine": { - "target": "com.amazonaws.polly#Engine", - "traits": { - "smithy.api#documentation": "

Specifies the engine (standard or neural)\n for Amazon Polly to use when processing input text for speech synthesis. For\n information on Amazon Polly voices and which voices are available in\n standard-only, NTTS-only, and both standard and NTTS formats, see Available Voices.

\n

\n NTTS-only voices\n

\n

When using NTTS-only voices such as Kevin (en-US), this parameter is\n required and must be set to neural. If the engine is not\n specified, or is set to standard, this will result in an\n error.

\n

Type: String

\n

Valid Values: standard | neural\n

\n

Required: Yes

\n

\n Standard voices\n

\n

For standard voices, this is not required; the engine parameter\n defaults to standard. If the engine is not specified, or is\n set to standard and an NTTS-only voice is selected, this will\n result in an error.

" - } - }, - "LanguageCode": { - "target": "com.amazonaws.polly#LanguageCode", - "traits": { - "smithy.api#documentation": "

Optional language code for the Synthesize Speech request. This is only\n necessary if using a bilingual voice, such as Aditi, which can be used for\n either Indian English (en-IN) or Hindi (hi-IN).

\n

If a bilingual voice is used and no language code is specified, Amazon Polly\n uses the default language of the bilingual voice. The default language for\n any voice is the one returned by the DescribeVoices operation for the LanguageCode\n parameter. For example, if no language code is specified, Aditi will use\n Indian English rather than Hindi.

" - } - }, - "LexiconNames": { - "target": "com.amazonaws.polly#LexiconNameList", - "traits": { - "smithy.api#documentation": "

List of one or more pronunciation lexicon names you want the\n service to apply during synthesis. Lexicons are applied only if the\n language of the lexicon is the same as the language of the voice. For\n information about storing lexicons, see PutLexicon.

" - } - }, - "OutputFormat": { - "target": "com.amazonaws.polly#OutputFormat", - "traits": { - "smithy.api#documentation": "

The format in which the returned output will be encoded. For audio\n stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will\n be json.

\n

When pcm is used, the content returned is audio/pcm in a signed\n 16-bit, 1 channel (mono), little-endian format.

", - "smithy.api#required": {} - } - }, - "SampleRate": { - "target": "com.amazonaws.polly#SampleRate", - "traits": { - "smithy.api#documentation": "

The audio frequency specified in Hz.

\n

The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\",\n and \"24000\". The default value for standard voices is \"22050\". The default\n value for neural voices is \"24000\".

\n

Valid values for pcm are \"8000\" and \"16000\" The default value is\n \"16000\".

" - } - }, - "SpeechMarkTypes": { - "target": "com.amazonaws.polly#SpeechMarkTypeList", - "traits": { - "smithy.api#documentation": "

The type of speech marks returned for the input text.

" - } - }, - "Text": { - "target": "com.amazonaws.polly#Text", - "traits": { - "smithy.api#documentation": "

Input text to synthesize. If you specify ssml as the\n TextType, follow the SSML format for the input text.\n

", - "smithy.api#required": {} - } - }, - "TextType": { - "target": "com.amazonaws.polly#TextType", - "traits": { - "smithy.api#documentation": "

Specifies whether the input text is plain text or SSML. The\n default value is plain text. For more information, see Using\n SSML.

" - } - }, - "VoiceId": { - "target": "com.amazonaws.polly#VoiceId", - "traits": { - "smithy.api#documentation": "

Voice ID to use for the synthesis. You can get a list of available\n voice IDs by calling the DescribeVoices operation.

", - "smithy.api#required": {} - } - } + { + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.polly#SynthesizeSpeechOutput": { - "type": "structure", - "members": { - "AudioStream": { - "target": "com.amazonaws.polly#AudioStream", - "traits": { - "smithy.api#default": "", - "smithy.api#documentation": "

Stream containing the synthesized speech.

", - "smithy.api#httpPayload": {} - } - }, - "ContentType": { - "target": "com.amazonaws.polly#ContentType", - "traits": { - "smithy.api#documentation": "

Specifies the type audio stream. This should reflect the\n OutputFormat parameter in your request.

\n \n

", - "smithy.api#httpHeader": "Content-Type" - } - }, - "RequestCharacters": { - "target": "com.amazonaws.polly#RequestCharacters", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

Number of characters synthesized.

", - "smithy.api#httpHeader": "x-amzn-RequestCharacters" - } - } + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } }, - "traits": { - "smithy.api#output": {} + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } + ], + "version": "1.0" + } + } + }, + "com.amazonaws.polly#PutLexicon": { + "type": "operation", + "input": { + "target": "com.amazonaws.polly#PutLexiconInput" + }, + "output": { + "target": "com.amazonaws.polly#PutLexiconOutput" + }, + "errors": [ + { + "target": "com.amazonaws.polly#InvalidLexiconException" + }, + { + "target": "com.amazonaws.polly#LexiconSizeExceededException" + }, + { + "target": "com.amazonaws.polly#MaxLexemeLengthExceededException" + }, + { + "target": "com.amazonaws.polly#MaxLexiconsNumberExceededException" + }, + { + "target": "com.amazonaws.polly#ServiceFailureException" + }, + { + "target": "com.amazonaws.polly#UnsupportedPlsAlphabetException" + }, + { + "target": "com.amazonaws.polly#UnsupportedPlsLanguageException" + } + ], + "traits": { + "smithy.api#documentation": "

Stores a pronunciation lexicon in an Amazon Web Services Region. If\n a lexicon with the same name already exists in the region, it is\n overwritten by the new lexicon. Lexicon operations have eventual\n consistency, therefore, it might take some time before the lexicon is\n available to the SynthesizeSpeech operation.

\n

For more information, see Managing Lexicons.

", + "smithy.api#examples": [ + { + "title": "To save a lexicon", + "documentation": "Stores a pronunciation lexicon in an AWS Region.", + "input": { + "Name": "W3C", + "Content": "file://example.pls" + }, + "output": {} + } + ], + "smithy.api#http": { + "method": "PUT", + "uri": "/v1/lexicons/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.polly#PutLexiconInput": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.polly#LexiconName", + "traits": { + "smithy.api#documentation": "

Name of the lexicon. The name must follow the regular express\n format [0-9A-Za-z]{1,20}. That is, the name is a case-sensitive\n alphanumeric string up to 20 characters long.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Content": { + "target": "com.amazonaws.polly#LexiconContent", + "traits": { + "smithy.api#documentation": "

Content of the PLS lexicon as string data.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.polly#PutLexiconOutput": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.polly#RequestCharacters": { + "type": "integer", + "traits": { + "smithy.api#default": 0 + } + }, + "com.amazonaws.polly#SampleRate": { + "type": "string" + }, + "com.amazonaws.polly#ServiceFailureException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

An unknown condition has caused a service failure.

", + "smithy.api#error": "server", + "smithy.api#httpError": 500 + } + }, + "com.amazonaws.polly#Size": { + "type": "integer", + "traits": { + "smithy.api#default": 0 + } + }, + "com.amazonaws.polly#SnsTopicArn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^arn:aws(-(cn|iso(-b)?|us-gov))?:sns:[a-z0-9_-]{1,50}:\\d{12}:[a-zA-Z0-9_-]{1,256}$" + } + }, + "com.amazonaws.polly#SpeechMarkType": { + "type": "enum", + "members": { + "SENTENCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sentence" + } + }, + "SSML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ssml" + } + }, + "VISEME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "viseme" + } + }, + "WORD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "word" + } + } + } + }, + "com.amazonaws.polly#SpeechMarkTypeList": { + "type": "list", + "member": { + "target": "com.amazonaws.polly#SpeechMarkType" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 4 + } + } + }, + "com.amazonaws.polly#SsmlMarksNotSupportedForTextTypeException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

SSML speech marks are not supported for plain text-type\n input.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#StartSpeechSynthesisTask": { + "type": "operation", + "input": { + "target": "com.amazonaws.polly#StartSpeechSynthesisTaskInput" + }, + "output": { + "target": "com.amazonaws.polly#StartSpeechSynthesisTaskOutput" + }, + "errors": [ + { + "target": "com.amazonaws.polly#EngineNotSupportedException" }, - "com.amazonaws.polly#TaskId": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[a-zA-Z0-9_-]{1,100}$" - } + { + "target": "com.amazonaws.polly#InvalidS3BucketException" }, - "com.amazonaws.polly#TaskStatus": { - "type": "enum", - "members": { - "SCHEDULED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "scheduled" - } - }, - "IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "inProgress" - } - }, - "COMPLETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "completed" - } - }, - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "failed" - } - } - } + { + "target": "com.amazonaws.polly#InvalidS3KeyException" + }, + { + "target": "com.amazonaws.polly#InvalidSampleRateException" + }, + { + "target": "com.amazonaws.polly#InvalidSnsTopicArnException" + }, + { + "target": "com.amazonaws.polly#InvalidSsmlException" + }, + { + "target": "com.amazonaws.polly#LanguageNotSupportedException" + }, + { + "target": "com.amazonaws.polly#LexiconNotFoundException" + }, + { + "target": "com.amazonaws.polly#MarksNotSupportedForFormatException" }, - "com.amazonaws.polly#TaskStatusReason": { - "type": "string" + { + "target": "com.amazonaws.polly#ServiceFailureException" }, - "com.amazonaws.polly#Text": { - "type": "string" + { + "target": "com.amazonaws.polly#SsmlMarksNotSupportedForTextTypeException" }, - "com.amazonaws.polly#TextLengthExceededException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The value of the \"Text\" parameter is longer than the accepted\n limits. For the SynthesizeSpeech API, the limit for input\n text is a maximum of 6000 characters total, of which no more than 3000 can\n be billed characters. For the StartSpeechSynthesisTask API,\n the maximum is 200,000 characters, of which no more than 100,000 can be\n billed characters. SSML tags are not counted as billed\n characters.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } + { + "target": "com.amazonaws.polly#TextLengthExceededException" + } + ], + "traits": { + "smithy.api#documentation": "

Allows the creation of an asynchronous synthesis task, by starting a\n new SpeechSynthesisTask. This operation requires all the\n standard information needed for speech synthesis, plus the name of an\n Amazon S3 bucket for the service to store the output of the synthesis task\n and two optional parameters (OutputS3KeyPrefix and\n SnsTopicArn). Once the synthesis task is created, this\n operation will return a SpeechSynthesisTask object, which\n will include an identifier of this task as well as the current status. The\n SpeechSynthesisTask object is available for 72 hours after\n starting the asynchronous synthesis task.

", + "smithy.api#http": { + "method": "POST", + "uri": "/v1/synthesisTasks", + "code": 200 + } + } + }, + "com.amazonaws.polly#StartSpeechSynthesisTaskInput": { + "type": "structure", + "members": { + "Engine": { + "target": "com.amazonaws.polly#Engine", + "traits": { + "smithy.api#documentation": "

Specifies the engine (standard or neural)\n for Amazon Polly to use when processing input text for speech synthesis. Using a\n voice that is not supported for the engine selected will result in an\n error.

" + } + }, + "LanguageCode": { + "target": "com.amazonaws.polly#LanguageCode", + "traits": { + "smithy.api#documentation": "

Optional language code for the Speech Synthesis request. This is only\n necessary if using a bilingual voice, such as Aditi, which can be used for\n either Indian English (en-IN) or Hindi (hi-IN).

\n

If a bilingual voice is used and no language code is specified, Amazon Polly\n uses the default language of the bilingual voice. The default language for\n any voice is the one returned by the DescribeVoices operation for the LanguageCode\n parameter. For example, if no language code is specified, Aditi will use\n Indian English rather than Hindi.

" + } + }, + "LexiconNames": { + "target": "com.amazonaws.polly#LexiconNameList", + "traits": { + "smithy.api#documentation": "

List of one or more pronunciation lexicon names you want the service\n to apply during synthesis. Lexicons are applied only if the language of\n the lexicon is the same as the language of the voice.

" + } + }, + "OutputFormat": { + "target": "com.amazonaws.polly#OutputFormat", + "traits": { + "smithy.api#documentation": "

The format in which the returned output will be encoded. For audio\n stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will\n be json.

", + "smithy.api#required": {} + } + }, + "OutputS3BucketName": { + "target": "com.amazonaws.polly#OutputS3BucketName", + "traits": { + "smithy.api#documentation": "

Amazon S3 bucket name to which the output file will be saved.

", + "smithy.api#required": {} + } + }, + "OutputS3KeyPrefix": { + "target": "com.amazonaws.polly#OutputS3KeyPrefix", + "traits": { + "smithy.api#documentation": "

The Amazon S3 key prefix for the output speech file.

" + } + }, + "SampleRate": { + "target": "com.amazonaws.polly#SampleRate", + "traits": { + "smithy.api#documentation": "

The audio frequency specified in Hz.

\n

The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\",\n and \"24000\". The default value for standard voices is \"22050\". The default\n value for neural voices is \"24000\".

\n

Valid values for pcm are \"8000\" and \"16000\" The default value is\n \"16000\".

" + } + }, + "SnsTopicArn": { + "target": "com.amazonaws.polly#SnsTopicArn", + "traits": { + "smithy.api#documentation": "

ARN for the SNS topic optionally used for providing status\n notification for a speech synthesis task.

" + } + }, + "SpeechMarkTypes": { + "target": "com.amazonaws.polly#SpeechMarkTypeList", + "traits": { + "smithy.api#documentation": "

The type of speech marks returned for the input text.

" + } + }, + "Text": { + "target": "com.amazonaws.polly#Text", + "traits": { + "smithy.api#documentation": "

The input text to synthesize. If you specify ssml as the TextType,\n follow the SSML format for the input text.

", + "smithy.api#required": {} + } + }, + "TextType": { + "target": "com.amazonaws.polly#TextType", + "traits": { + "smithy.api#documentation": "

Specifies whether the input text is plain text or SSML. The default\n value is plain text.

" + } + }, + "VoiceId": { + "target": "com.amazonaws.polly#VoiceId", + "traits": { + "smithy.api#documentation": "

Voice ID to use for the synthesis.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.polly#StartSpeechSynthesisTaskOutput": { + "type": "structure", + "members": { + "SynthesisTask": { + "target": "com.amazonaws.polly#SynthesisTask", + "traits": { + "smithy.api#documentation": "

SynthesisTask object that provides information and attributes about a\n newly submitted speech synthesis task.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.polly#SynthesisTask": { + "type": "structure", + "members": { + "Engine": { + "target": "com.amazonaws.polly#Engine", + "traits": { + "smithy.api#documentation": "

Specifies the engine (standard or neural)\n for Amazon Polly to use when processing input text for speech synthesis. Using a\n voice that is not supported for the engine selected will result in an\n error.

" + } + }, + "TaskId": { + "target": "com.amazonaws.polly#TaskId", + "traits": { + "smithy.api#documentation": "

The Amazon Polly generated identifier for a speech synthesis task.

" + } + }, + "TaskStatus": { + "target": "com.amazonaws.polly#TaskStatus", + "traits": { + "smithy.api#documentation": "

Current status of the individual speech synthesis task.

" + } + }, + "TaskStatusReason": { + "target": "com.amazonaws.polly#TaskStatusReason", + "traits": { + "smithy.api#documentation": "

Reason for the current status of a specific speech synthesis task,\n including errors if the task has failed.

" + } + }, + "OutputUri": { + "target": "com.amazonaws.polly#OutputUri", + "traits": { + "smithy.api#documentation": "

Pathway for the output speech file.

" + } + }, + "CreationTime": { + "target": "com.amazonaws.polly#DateTime", + "traits": { + "smithy.api#documentation": "

Timestamp for the time the synthesis task was started.

" + } + }, + "RequestCharacters": { + "target": "com.amazonaws.polly#RequestCharacters", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

Number of billable characters synthesized.

" + } + }, + "SnsTopicArn": { + "target": "com.amazonaws.polly#SnsTopicArn", + "traits": { + "smithy.api#documentation": "

ARN for the SNS topic optionally used for providing status\n notification for a speech synthesis task.

" + } + }, + "LexiconNames": { + "target": "com.amazonaws.polly#LexiconNameList", + "traits": { + "smithy.api#documentation": "

List of one or more pronunciation lexicon names you want the service\n to apply during synthesis. Lexicons are applied only if the language of\n the lexicon is the same as the language of the voice.

" + } + }, + "OutputFormat": { + "target": "com.amazonaws.polly#OutputFormat", + "traits": { + "smithy.api#documentation": "

The format in which the returned output will be encoded. For audio\n stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will\n be json.

" + } + }, + "SampleRate": { + "target": "com.amazonaws.polly#SampleRate", + "traits": { + "smithy.api#documentation": "

The audio frequency specified in Hz.

\n

The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\",\n and \"24000\". The default value for standard voices is \"22050\". The default\n value for neural voices is \"24000\".

\n

Valid values for pcm are \"8000\" and \"16000\" The default value is\n \"16000\".

" + } + }, + "SpeechMarkTypes": { + "target": "com.amazonaws.polly#SpeechMarkTypeList", + "traits": { + "smithy.api#documentation": "

The type of speech marks returned for the input text.

" + } + }, + "TextType": { + "target": "com.amazonaws.polly#TextType", + "traits": { + "smithy.api#documentation": "

Specifies whether the input text is plain text or SSML. The default\n value is plain text.

" + } + }, + "VoiceId": { + "target": "com.amazonaws.polly#VoiceId", + "traits": { + "smithy.api#documentation": "

Voice ID to use for the synthesis.

" + } + }, + "LanguageCode": { + "target": "com.amazonaws.polly#LanguageCode", + "traits": { + "smithy.api#documentation": "

Optional language code for a synthesis task. This is only necessary if\n using a bilingual voice, such as Aditi, which can be used for either\n Indian English (en-IN) or Hindi (hi-IN).

\n

If a bilingual voice is used and no language code is specified, Amazon Polly\n uses the default language of the bilingual voice. The default language for\n any voice is the one returned by the DescribeVoices operation for the LanguageCode\n parameter. For example, if no language code is specified, Aditi will use\n Indian English rather than Hindi.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

SynthesisTask object that provides information about a speech\n synthesis task.

" + } + }, + "com.amazonaws.polly#SynthesisTaskNotFoundException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The Speech Synthesis task with requested Task ID cannot be\n found.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#SynthesisTasks": { + "type": "list", + "member": { + "target": "com.amazonaws.polly#SynthesisTask" + } + }, + "com.amazonaws.polly#SynthesizeSpeech": { + "type": "operation", + "input": { + "target": "com.amazonaws.polly#SynthesizeSpeechInput" + }, + "output": { + "target": "com.amazonaws.polly#SynthesizeSpeechOutput" + }, + "errors": [ + { + "target": "com.amazonaws.polly#EngineNotSupportedException" }, - "com.amazonaws.polly#TextType": { - "type": "enum", - "members": { - "SSML": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ssml" - } - }, - "TEXT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "text" - } - } - } + { + "target": "com.amazonaws.polly#InvalidSampleRateException" }, - "com.amazonaws.polly#UnsupportedPlsAlphabetException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The alphabet specified by the lexicon is not a supported alphabet.\n Valid values are x-sampa and ipa.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } + { + "target": "com.amazonaws.polly#InvalidSsmlException" }, - "com.amazonaws.polly#UnsupportedPlsLanguageException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.polly#ErrorMessage" - } - }, - "traits": { - "smithy.api#documentation": "

The language specified in the lexicon is unsupported. For a list of\n supported languages, see Lexicon Attributes.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } + { + "target": "com.amazonaws.polly#LanguageNotSupportedException" }, - "com.amazonaws.polly#Voice": { - "type": "structure", - "members": { - "Gender": { - "target": "com.amazonaws.polly#Gender", - "traits": { - "smithy.api#documentation": "

Gender of the voice.

" - } - }, - "Id": { - "target": "com.amazonaws.polly#VoiceId", - "traits": { - "smithy.api#documentation": "

Amazon Polly assigned voice ID. This is the ID that you specify when\n calling the SynthesizeSpeech operation.

" - } - }, - "LanguageCode": { - "target": "com.amazonaws.polly#LanguageCode", - "traits": { - "smithy.api#documentation": "

Language code of the voice.

" - } - }, - "LanguageName": { - "target": "com.amazonaws.polly#LanguageName", - "traits": { - "smithy.api#documentation": "

Human readable name of the language in English.

" - } - }, - "Name": { - "target": "com.amazonaws.polly#VoiceName", - "traits": { - "smithy.api#documentation": "

Name of the voice (for example, Salli, Kendra, etc.). This provides\n a human readable voice name that you might display in your\n application.

" - } - }, - "AdditionalLanguageCodes": { - "target": "com.amazonaws.polly#LanguageCodeList", - "traits": { - "smithy.api#documentation": "

Additional codes for languages available for the specified voice in\n addition to its default language.

\n

For example, the default language for Aditi is Indian English (en-IN)\n because it was first used for that language. Since Aditi is bilingual and\n fluent in both Indian English and Hindi, this parameter would show the\n code hi-IN.

" - } - }, - "SupportedEngines": { - "target": "com.amazonaws.polly#EngineList", - "traits": { - "smithy.api#documentation": "

Specifies which engines (standard or neural)\n that are supported by a given voice.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Description of the voice.

" - } + { + "target": "com.amazonaws.polly#LexiconNotFoundException" }, - "com.amazonaws.polly#VoiceId": { - "type": "enum", - "members": { - "Aditi": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Aditi" - } - }, - "Amy": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Amy" - } - }, - "Astrid": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Astrid" - } - }, - "Bianca": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Bianca" - } - }, - "Brian": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Brian" - } - }, - "Camila": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Camila" - } - }, - "Carla": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Carla" - } - }, - "Carmen": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Carmen" - } - }, - "Celine": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Celine" - } - }, - "Chantal": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Chantal" - } - }, - "Conchita": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Conchita" - } - }, - "Cristiano": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Cristiano" - } - }, - "Dora": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Dora" - } - }, - "Emma": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Emma" - } - }, - "Enrique": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Enrique" - } - }, - "Ewa": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Ewa" - } - }, - "Filiz": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Filiz" - } - }, - "Gabrielle": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Gabrielle" - } - }, - "Geraint": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Geraint" - } - }, - "Giorgio": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Giorgio" - } - }, - "Gwyneth": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Gwyneth" - } - }, - "Hans": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Hans" - } - }, - "Ines": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Ines" - } - }, - "Ivy": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Ivy" - } - }, - "Jacek": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Jacek" - } - }, - "Jan": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Jan" - } - }, - "Joanna": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Joanna" - } - }, - "Joey": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Joey" - } - }, - "Justin": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Justin" - } - }, - "Karl": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Karl" - } - }, - "Kendra": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Kendra" - } - }, - "Kevin": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Kevin" - } - }, - "Kimberly": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Kimberly" - } - }, - "Lea": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Lea" - } - }, - "Liv": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Liv" - } - }, - "Lotte": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Lotte" - } - }, - "Lucia": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Lucia" - } - }, - "Lupe": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Lupe" - } - }, - "Mads": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Mads" - } - }, - "Maja": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Maja" - } - }, - "Marlene": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Marlene" - } - }, - "Mathieu": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Mathieu" - } - }, - "Matthew": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Matthew" - } - }, - "Maxim": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Maxim" - } - }, - "Mia": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Mia" - } - }, - "Miguel": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Miguel" - } - }, - "Mizuki": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Mizuki" - } - }, - "Naja": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Naja" - } - }, - "Nicole": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Nicole" - } - }, - "Olivia": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Olivia" - } - }, - "Penelope": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Penelope" - } - }, - "Raveena": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Raveena" - } - }, - "Ricardo": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Ricardo" - } - }, - "Ruben": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Ruben" - } - }, - "Russell": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Russell" - } - }, - "Salli": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Salli" - } - }, - "Seoyeon": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Seoyeon" - } - }, - "Takumi": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Takumi" - } - }, - "Tatyana": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Tatyana" - } - }, - "Vicki": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Vicki" - } - }, - "Vitoria": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Vitoria" - } - }, - "Zeina": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Zeina" - } - }, - "Zhiyu": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Zhiyu" - } - }, - "Aria": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Aria" - } - }, - "Ayanda": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Ayanda" - } - }, - "Arlet": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Arlet" - } - }, - "Hannah": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Hannah" - } - }, - "Arthur": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Arthur" - } - }, - "Daniel": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Daniel" - } - }, - "Liam": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Liam" - } - }, - "Pedro": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Pedro" - } - }, - "Kajal": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Kajal" - } - }, - "Hiujin": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Hiujin" - } - }, - "Laura": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Laura" - } - }, - "Elin": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Elin" - } - }, - "Ida": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Ida" - } - }, - "Suvi": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Suvi" - } - }, - "Ola": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Ola" - } - }, - "Hala": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Hala" - } - }, - "Andres": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Andres" - } - }, - "Sergio": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Sergio" - } - }, - "Remi": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Remi" - } - }, - "Adriano": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Adriano" - } - }, - "Thiago": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Thiago" - } - }, - "Ruth": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Ruth" - } - }, - "Stephen": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Stephen" - } - }, - "Kazuha": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Kazuha" - } - }, - "Tomoko": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Tomoko" - } - }, - "Niamh": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Niamh" - } - }, - "Sofie": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Sofie" - } - }, - "Lisa": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Lisa" - } - }, - "Isabelle": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Isabelle" - } - } - } + { + "target": "com.amazonaws.polly#MarksNotSupportedForFormatException" }, - "com.amazonaws.polly#VoiceList": { - "type": "list", - "member": { - "target": "com.amazonaws.polly#Voice" - } + { + "target": "com.amazonaws.polly#ServiceFailureException" }, - "com.amazonaws.polly#VoiceName": { - "type": "string" + { + "target": "com.amazonaws.polly#SsmlMarksNotSupportedForTextTypeException" + }, + { + "target": "com.amazonaws.polly#TextLengthExceededException" + } + ], + "traits": { + "smithy.api#documentation": "

Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes.\n SSML input must be valid, well-formed SSML. Some alphabets might not be\n available with all the voices (for example, Cyrillic might not be read at\n all by English voices) unless phoneme mapping is used. For more\n information, see How it Works.

", + "smithy.api#examples": [ + { + "title": "To synthesize speech", + "documentation": "Synthesizes plain text or SSML into a file of human-like speech.", + "input": { + "LexiconNames": ["example"], + "OutputFormat": "mp3", + "SampleRate": "8000", + "Text": "All Gaul is divided into three parts", + "TextType": "text", + "VoiceId": "Joanna" + }, + "output": { + "AudioStream": "TEXT", + "ContentType": "audio/mpeg", + "RequestCharacters": 37 + } + } + ], + "smithy.api#http": { + "method": "POST", + "uri": "/v1/speech", + "code": 200 + } + } + }, + "com.amazonaws.polly#SynthesizeSpeechInput": { + "type": "structure", + "members": { + "Engine": { + "target": "com.amazonaws.polly#Engine", + "traits": { + "smithy.api#documentation": "

Specifies the engine (standard or neural)\n for Amazon Polly to use when processing input text for speech synthesis. For\n information on Amazon Polly voices and which voices are available in\n standard-only, NTTS-only, and both standard and NTTS formats, see Available Voices.

\n

\n NTTS-only voices\n

\n

When using NTTS-only voices such as Kevin (en-US), this parameter is\n required and must be set to neural. If the engine is not\n specified, or is set to standard, this will result in an\n error.

\n

Type: String

\n

Valid Values: standard | neural\n

\n

Required: Yes

\n

\n Standard voices\n

\n

For standard voices, this is not required; the engine parameter\n defaults to standard. If the engine is not specified, or is\n set to standard and an NTTS-only voice is selected, this will\n result in an error.

" + } + }, + "LanguageCode": { + "target": "com.amazonaws.polly#LanguageCode", + "traits": { + "smithy.api#documentation": "

Optional language code for the Synthesize Speech request. This is only\n necessary if using a bilingual voice, such as Aditi, which can be used for\n either Indian English (en-IN) or Hindi (hi-IN).

\n

If a bilingual voice is used and no language code is specified, Amazon Polly\n uses the default language of the bilingual voice. The default language for\n any voice is the one returned by the DescribeVoices operation for the LanguageCode\n parameter. For example, if no language code is specified, Aditi will use\n Indian English rather than Hindi.

" + } + }, + "LexiconNames": { + "target": "com.amazonaws.polly#LexiconNameList", + "traits": { + "smithy.api#documentation": "

List of one or more pronunciation lexicon names you want the\n service to apply during synthesis. Lexicons are applied only if the\n language of the lexicon is the same as the language of the voice. For\n information about storing lexicons, see PutLexicon.

" + } + }, + "OutputFormat": { + "target": "com.amazonaws.polly#OutputFormat", + "traits": { + "smithy.api#documentation": "

The format in which the returned output will be encoded. For audio\n stream, this will be mp3, ogg_vorbis, or pcm. For speech marks, this will\n be json.

\n

When pcm is used, the content returned is audio/pcm in a signed\n 16-bit, 1 channel (mono), little-endian format.

", + "smithy.api#required": {} + } + }, + "SampleRate": { + "target": "com.amazonaws.polly#SampleRate", + "traits": { + "smithy.api#documentation": "

The audio frequency specified in Hz.

\n

The valid values for mp3 and ogg_vorbis are \"8000\", \"16000\", \"22050\",\n and \"24000\". The default value for standard voices is \"22050\". The default\n value for neural voices is \"24000\".

\n

Valid values for pcm are \"8000\" and \"16000\" The default value is\n \"16000\".

" + } + }, + "SpeechMarkTypes": { + "target": "com.amazonaws.polly#SpeechMarkTypeList", + "traits": { + "smithy.api#documentation": "

The type of speech marks returned for the input text.

" + } + }, + "Text": { + "target": "com.amazonaws.polly#Text", + "traits": { + "smithy.api#documentation": "

Input text to synthesize. If you specify ssml as the\n TextType, follow the SSML format for the input text.\n

", + "smithy.api#required": {} + } + }, + "TextType": { + "target": "com.amazonaws.polly#TextType", + "traits": { + "smithy.api#documentation": "

Specifies whether the input text is plain text or SSML. The\n default value is plain text. For more information, see Using\n SSML.

" + } + }, + "VoiceId": { + "target": "com.amazonaws.polly#VoiceId", + "traits": { + "smithy.api#documentation": "

Voice ID to use for the synthesis. You can get a list of available\n voice IDs by calling the DescribeVoices operation.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.polly#SynthesizeSpeechOutput": { + "type": "structure", + "members": { + "AudioStream": { + "target": "com.amazonaws.polly#AudioStream", + "traits": { + "smithy.api#default": "", + "smithy.api#documentation": "

Stream containing the synthesized speech.

", + "smithy.api#httpPayload": {} + } + }, + "ContentType": { + "target": "com.amazonaws.polly#ContentType", + "traits": { + "smithy.api#documentation": "

Specifies the type audio stream. This should reflect the\n OutputFormat parameter in your request.

\n \n

", + "smithy.api#httpHeader": "Content-Type" + } + }, + "RequestCharacters": { + "target": "com.amazonaws.polly#RequestCharacters", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

Number of characters synthesized.

", + "smithy.api#httpHeader": "x-amzn-RequestCharacters" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.polly#TaskId": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[a-zA-Z0-9_-]{1,100}$" + } + }, + "com.amazonaws.polly#TaskStatus": { + "type": "enum", + "members": { + "SCHEDULED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "scheduled" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "inProgress" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "completed" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "failed" + } } + } + }, + "com.amazonaws.polly#TaskStatusReason": { + "type": "string" + }, + "com.amazonaws.polly#Text": { + "type": "string" + }, + "com.amazonaws.polly#TextLengthExceededException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The value of the \"Text\" parameter is longer than the accepted\n limits. For the SynthesizeSpeech API, the limit for input\n text is a maximum of 6000 characters total, of which no more than 3000 can\n be billed characters. For the StartSpeechSynthesisTask API,\n the maximum is 200,000 characters, of which no more than 100,000 can be\n billed characters. SSML tags are not counted as billed\n characters.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#TextType": { + "type": "enum", + "members": { + "SSML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ssml" + } + }, + "TEXT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "text" + } + } + } + }, + "com.amazonaws.polly#UnsupportedPlsAlphabetException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The alphabet specified by the lexicon is not a supported alphabet.\n Valid values are x-sampa and ipa.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#UnsupportedPlsLanguageException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.polly#ErrorMessage" + } + }, + "traits": { + "smithy.api#documentation": "

The language specified in the lexicon is unsupported. For a list of\n supported languages, see Lexicon Attributes.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.polly#Voice": { + "type": "structure", + "members": { + "Gender": { + "target": "com.amazonaws.polly#Gender", + "traits": { + "smithy.api#documentation": "

Gender of the voice.

" + } + }, + "Id": { + "target": "com.amazonaws.polly#VoiceId", + "traits": { + "smithy.api#documentation": "

Amazon Polly assigned voice ID. This is the ID that you specify when\n calling the SynthesizeSpeech operation.

" + } + }, + "LanguageCode": { + "target": "com.amazonaws.polly#LanguageCode", + "traits": { + "smithy.api#documentation": "

Language code of the voice.

" + } + }, + "LanguageName": { + "target": "com.amazonaws.polly#LanguageName", + "traits": { + "smithy.api#documentation": "

Human readable name of the language in English.

" + } + }, + "Name": { + "target": "com.amazonaws.polly#VoiceName", + "traits": { + "smithy.api#documentation": "

Name of the voice (for example, Salli, Kendra, etc.). This provides\n a human readable voice name that you might display in your\n application.

" + } + }, + "AdditionalLanguageCodes": { + "target": "com.amazonaws.polly#LanguageCodeList", + "traits": { + "smithy.api#documentation": "

Additional codes for languages available for the specified voice in\n addition to its default language.

\n

For example, the default language for Aditi is Indian English (en-IN)\n because it was first used for that language. Since Aditi is bilingual and\n fluent in both Indian English and Hindi, this parameter would show the\n code hi-IN.

" + } + }, + "SupportedEngines": { + "target": "com.amazonaws.polly#EngineList", + "traits": { + "smithy.api#documentation": "

Specifies which engines (standard or neural)\n that are supported by a given voice.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Description of the voice.

" + } + }, + "com.amazonaws.polly#VoiceId": { + "type": "enum", + "members": { + "Aditi": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Aditi" + } + }, + "Amy": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Amy" + } + }, + "Astrid": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Astrid" + } + }, + "Bianca": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Bianca" + } + }, + "Brian": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Brian" + } + }, + "Camila": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Camila" + } + }, + "Carla": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Carla" + } + }, + "Carmen": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Carmen" + } + }, + "Celine": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Celine" + } + }, + "Chantal": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Chantal" + } + }, + "Conchita": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Conchita" + } + }, + "Cristiano": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Cristiano" + } + }, + "Dora": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Dora" + } + }, + "Emma": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Emma" + } + }, + "Enrique": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Enrique" + } + }, + "Ewa": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ewa" + } + }, + "Filiz": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Filiz" + } + }, + "Gabrielle": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Gabrielle" + } + }, + "Geraint": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Geraint" + } + }, + "Giorgio": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Giorgio" + } + }, + "Gwyneth": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Gwyneth" + } + }, + "Hans": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Hans" + } + }, + "Ines": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ines" + } + }, + "Ivy": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ivy" + } + }, + "Jacek": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Jacek" + } + }, + "Jan": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Jan" + } + }, + "Joanna": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Joanna" + } + }, + "Joey": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Joey" + } + }, + "Justin": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Justin" + } + }, + "Karl": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Karl" + } + }, + "Kendra": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Kendra" + } + }, + "Kevin": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Kevin" + } + }, + "Kimberly": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Kimberly" + } + }, + "Lea": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Lea" + } + }, + "Liv": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Liv" + } + }, + "Lotte": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Lotte" + } + }, + "Lucia": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Lucia" + } + }, + "Lupe": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Lupe" + } + }, + "Mads": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Mads" + } + }, + "Maja": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Maja" + } + }, + "Marlene": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Marlene" + } + }, + "Mathieu": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Mathieu" + } + }, + "Matthew": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Matthew" + } + }, + "Maxim": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Maxim" + } + }, + "Mia": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Mia" + } + }, + "Miguel": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Miguel" + } + }, + "Mizuki": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Mizuki" + } + }, + "Naja": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Naja" + } + }, + "Nicole": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Nicole" + } + }, + "Olivia": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Olivia" + } + }, + "Penelope": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Penelope" + } + }, + "Raveena": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Raveena" + } + }, + "Ricardo": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ricardo" + } + }, + "Ruben": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ruben" + } + }, + "Russell": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Russell" + } + }, + "Salli": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Salli" + } + }, + "Seoyeon": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Seoyeon" + } + }, + "Takumi": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Takumi" + } + }, + "Tatyana": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Tatyana" + } + }, + "Vicki": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Vicki" + } + }, + "Vitoria": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Vitoria" + } + }, + "Zeina": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Zeina" + } + }, + "Zhiyu": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Zhiyu" + } + }, + "Aria": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Aria" + } + }, + "Ayanda": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ayanda" + } + }, + "Arlet": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Arlet" + } + }, + "Hannah": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Hannah" + } + }, + "Arthur": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Arthur" + } + }, + "Daniel": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Daniel" + } + }, + "Liam": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Liam" + } + }, + "Pedro": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pedro" + } + }, + "Kajal": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Kajal" + } + }, + "Hiujin": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Hiujin" + } + }, + "Laura": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Laura" + } + }, + "Elin": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Elin" + } + }, + "Ida": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ida" + } + }, + "Suvi": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Suvi" + } + }, + "Ola": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ola" + } + }, + "Hala": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Hala" + } + }, + "Andres": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Andres" + } + }, + "Sergio": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Sergio" + } + }, + "Remi": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Remi" + } + }, + "Adriano": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Adriano" + } + }, + "Thiago": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Thiago" + } + }, + "Ruth": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ruth" + } + }, + "Stephen": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Stephen" + } + }, + "Kazuha": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Kazuha" + } + }, + "Tomoko": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Tomoko" + } + }, + "Niamh": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Niamh" + } + }, + "Sofie": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Sofie" + } + }, + "Lisa": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Lisa" + } + }, + "Isabelle": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Isabelle" + } + }, + "Zayd": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Zayd" + } + } + } + }, + "com.amazonaws.polly#VoiceList": { + "type": "list", + "member": { + "target": "com.amazonaws.polly#Voice" + } + }, + "com.amazonaws.polly#VoiceName": { + "type": "string" } + } }