Skip to content

Commit 9f1d83e

Browse files
author
awstools
committed
feat(client-polly): Added support for the new Cantonese voice - Hiujin. Hiujin is available as a Neural voice only.
1 parent 252939d commit 9f1d83e

File tree

2 files changed

+925
-657
lines changed

2 files changed

+925
-657
lines changed

clients/client-polly/src/models/models_0.ts

Lines changed: 117 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -61,40 +61,42 @@ export enum Engine {
6161
STANDARD = "standard",
6262
}
6363

64-
export type LanguageCode =
65-
| "arb"
66-
| "ca-ES"
67-
| "cmn-CN"
68-
| "cy-GB"
69-
| "da-DK"
70-
| "de-AT"
71-
| "de-DE"
72-
| "en-AU"
73-
| "en-GB"
74-
| "en-GB-WLS"
75-
| "en-IN"
76-
| "en-NZ"
77-
| "en-US"
78-
| "en-ZA"
79-
| "es-ES"
80-
| "es-MX"
81-
| "es-US"
82-
| "fr-CA"
83-
| "fr-FR"
84-
| "hi-IN"
85-
| "is-IS"
86-
| "it-IT"
87-
| "ja-JP"
88-
| "ko-KR"
89-
| "nb-NO"
90-
| "nl-NL"
91-
| "pl-PL"
92-
| "pt-BR"
93-
| "pt-PT"
94-
| "ro-RO"
95-
| "ru-RU"
96-
| "sv-SE"
97-
| "tr-TR";
64+
export enum LanguageCode {
65+
arb = "arb",
66+
ca_ES = "ca-ES",
67+
cmn_CN = "cmn-CN",
68+
cy_GB = "cy-GB",
69+
da_DK = "da-DK",
70+
de_AT = "de-AT",
71+
de_DE = "de-DE",
72+
en_AU = "en-AU",
73+
en_GB = "en-GB",
74+
en_GB_WLS = "en-GB-WLS",
75+
en_IN = "en-IN",
76+
en_NZ = "en-NZ",
77+
en_US = "en-US",
78+
en_ZA = "en-ZA",
79+
es_ES = "es-ES",
80+
es_MX = "es-MX",
81+
es_US = "es-US",
82+
fr_CA = "fr-CA",
83+
fr_FR = "fr-FR",
84+
hi_IN = "hi-IN",
85+
is_IS = "is-IS",
86+
it_IT = "it-IT",
87+
ja_JP = "ja-JP",
88+
ko_KR = "ko-KR",
89+
nb_NO = "nb-NO",
90+
nl_NL = "nl-NL",
91+
pl_PL = "pl-PL",
92+
pt_BR = "pt-BR",
93+
pt_PT = "pt-PT",
94+
ro_RO = "ro-RO",
95+
ru_RU = "ru-RU",
96+
sv_SE = "sv-SE",
97+
tr_TR = "tr-TR",
98+
yue_CN = "yue-CN",
99+
}
98100

99101
export interface DescribeVoicesInput {
100102
/**
@@ -129,81 +131,86 @@ export interface DescribeVoicesInput {
129131
NextToken?: string;
130132
}
131133

132-
export type Gender = "Female" | "Male";
133-
134-
export type VoiceId =
135-
| "Aditi"
136-
| "Amy"
137-
| "Aria"
138-
| "Arlet"
139-
| "Arthur"
140-
| "Astrid"
141-
| "Ayanda"
142-
| "Bianca"
143-
| "Brian"
144-
| "Camila"
145-
| "Carla"
146-
| "Carmen"
147-
| "Celine"
148-
| "Chantal"
149-
| "Conchita"
150-
| "Cristiano"
151-
| "Daniel"
152-
| "Dora"
153-
| "Emma"
154-
| "Enrique"
155-
| "Ewa"
156-
| "Filiz"
157-
| "Gabrielle"
158-
| "Geraint"
159-
| "Giorgio"
160-
| "Gwyneth"
161-
| "Hannah"
162-
| "Hans"
163-
| "Ines"
164-
| "Ivy"
165-
| "Jacek"
166-
| "Jan"
167-
| "Joanna"
168-
| "Joey"
169-
| "Justin"
170-
| "Kajal"
171-
| "Karl"
172-
| "Kendra"
173-
| "Kevin"
174-
| "Kimberly"
175-
| "Lea"
176-
| "Liam"
177-
| "Liv"
178-
| "Lotte"
179-
| "Lucia"
180-
| "Lupe"
181-
| "Mads"
182-
| "Maja"
183-
| "Marlene"
184-
| "Mathieu"
185-
| "Matthew"
186-
| "Maxim"
187-
| "Mia"
188-
| "Miguel"
189-
| "Mizuki"
190-
| "Naja"
191-
| "Nicole"
192-
| "Olivia"
193-
| "Pedro"
194-
| "Penelope"
195-
| "Raveena"
196-
| "Ricardo"
197-
| "Ruben"
198-
| "Russell"
199-
| "Salli"
200-
| "Seoyeon"
201-
| "Takumi"
202-
| "Tatyana"
203-
| "Vicki"
204-
| "Vitoria"
205-
| "Zeina"
206-
| "Zhiyu";
134+
export enum Gender {
135+
Female = "Female",
136+
Male = "Male",
137+
}
138+
139+
export enum VoiceId {
140+
Aditi = "Aditi",
141+
Amy = "Amy",
142+
Aria = "Aria",
143+
Arlet = "Arlet",
144+
Arthur = "Arthur",
145+
Astrid = "Astrid",
146+
Ayanda = "Ayanda",
147+
Bianca = "Bianca",
148+
Brian = "Brian",
149+
Camila = "Camila",
150+
Carla = "Carla",
151+
Carmen = "Carmen",
152+
Celine = "Celine",
153+
Chantal = "Chantal",
154+
Conchita = "Conchita",
155+
Cristiano = "Cristiano",
156+
Daniel = "Daniel",
157+
Dora = "Dora",
158+
Emma = "Emma",
159+
Enrique = "Enrique",
160+
Ewa = "Ewa",
161+
Filiz = "Filiz",
162+
Gabrielle = "Gabrielle",
163+
Geraint = "Geraint",
164+
Giorgio = "Giorgio",
165+
Gwyneth = "Gwyneth",
166+
Hannah = "Hannah",
167+
Hans = "Hans",
168+
Hiujin = "Hiujin",
169+
Ines = "Ines",
170+
Ivy = "Ivy",
171+
Jacek = "Jacek",
172+
Jan = "Jan",
173+
Joanna = "Joanna",
174+
Joey = "Joey",
175+
Justin = "Justin",
176+
Kajal = "Kajal",
177+
Karl = "Karl",
178+
Kendra = "Kendra",
179+
Kevin = "Kevin",
180+
Kimberly = "Kimberly",
181+
Lea = "Lea",
182+
Liam = "Liam",
183+
Liv = "Liv",
184+
Lotte = "Lotte",
185+
Lucia = "Lucia",
186+
Lupe = "Lupe",
187+
Mads = "Mads",
188+
Maja = "Maja",
189+
Marlene = "Marlene",
190+
Mathieu = "Mathieu",
191+
Matthew = "Matthew",
192+
Maxim = "Maxim",
193+
Mia = "Mia",
194+
Miguel = "Miguel",
195+
Mizuki = "Mizuki",
196+
Naja = "Naja",
197+
Nicole = "Nicole",
198+
Olivia = "Olivia",
199+
Pedro = "Pedro",
200+
Penelope = "Penelope",
201+
Raveena = "Raveena",
202+
Ricardo = "Ricardo",
203+
Ruben = "Ruben",
204+
Russell = "Russell",
205+
Salli = "Salli",
206+
Seoyeon = "Seoyeon",
207+
Takumi = "Takumi",
208+
Tatyana = "Tatyana",
209+
Vicki = "Vicki",
210+
Vitoria = "Vitoria",
211+
Zeina = "Zeina",
212+
Zhiyu = "Zhiyu",
213+
}
207214

208215
/**
209216
* <p>Description of the voice.</p>
@@ -1157,7 +1164,7 @@ export interface SynthesizeSpeechOutput {
11571164
/**
11581165
* <p> Stream containing the synthesized speech. </p>
11591166
*/
1160-
AudioStream?: Readable | ReadableStream | Blob;
1167+
AudioStream: Readable | ReadableStream | Blob | undefined;
11611168

11621169
/**
11631170
* <p> Specifies the type audio stream. This should reflect the

0 commit comments

Comments
 (0)