Skip to content

Commit b994959

Browse files
feat(aws-android-sdk-polly): update models to latest (#2593)
Co-authored-by: Rafael Juliano <[email protected]>
1 parent dc5c2bb commit b994959

14 files changed

+160
-148
lines changed

aws-android-sdk-polly/src/main/java/com/amazonaws/services/polly/AmazonPolly.java

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ public interface AmazonPolly {
9595

9696
/**
9797
* <p>
98-
* Deletes the specified pronunciation lexicon stored in an AWS Region. A
99-
* lexicon which has been deleted is not available for speech synthesis, nor
100-
* is it possible to retrieve it using either the <code>GetLexicon</code> or
101-
* <code>ListLexicon</code> APIs.
98+
* Deletes the specified pronunciation lexicon stored in an Amazon Web
99+
* Services Region. A lexicon which has been deleted is not available for
100+
* speech synthesis, nor is it possible to retrieve it using either the
101+
* <code>GetLexicon</code> or <code>ListLexicon</code> APIs.
102102
* </p>
103103
* <p>
104104
* For more information, see <a href=
@@ -169,7 +169,7 @@ DescribeVoicesResult describeVoices(DescribeVoicesRequest describeVoicesRequest)
169169
/**
170170
* <p>
171171
* Returns the content of the specified pronunciation lexicon stored in an
172-
* AWS Region. For more information, see <a href=
172+
* Amazon Web Services Region. For more information, see <a href=
173173
* "https://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html"
174174
* >Managing Lexicons</a>.
175175
* </p>
@@ -219,8 +219,8 @@ GetSpeechSynthesisTaskResult getSpeechSynthesisTask(
219219

220220
/**
221221
* <p>
222-
* Returns a list of pronunciation lexicons stored in an AWS Region. For
223-
* more information, see <a href=
222+
* Returns a list of pronunciation lexicons stored in an Amazon Web Services
223+
* Region. For more information, see <a href=
224224
* "https://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html"
225225
* >Managing Lexicons</a>.
226226
* </p>
@@ -268,11 +268,11 @@ ListSpeechSynthesisTasksResult listSpeechSynthesisTasks(
268268

269269
/**
270270
* <p>
271-
* Stores a pronunciation lexicon in an AWS Region. If a lexicon with the
272-
* same name already exists in the region, it is overwritten by the new
273-
* lexicon. Lexicon operations have eventual consistency, therefore, it
274-
* might take some time before the lexicon is available to the
275-
* SynthesizeSpeech operation.
271+
* Stores a pronunciation lexicon in an Amazon Web Services Region. If a
272+
* lexicon with the same name already exists in the region, it is
273+
* overwritten by the new lexicon. Lexicon operations have eventual
274+
* consistency, therefore, it might take some time before the lexicon is
275+
* available to the SynthesizeSpeech operation.
276276
* </p>
277277
* <p>
278278
* For more information, see <a href=
@@ -307,10 +307,12 @@ PutLexiconResult putLexicon(PutLexiconRequest putLexiconRequest) throws AmazonCl
307307
* <code>SpeechSynthesisTask</code>. This operation requires all the
308308
* standard information needed for speech synthesis, plus the name of an
309309
* Amazon S3 bucket for the service to store the output of the synthesis
310-
* task and two optional parameters (OutputS3KeyPrefix and SnsTopicArn).
311-
* Once the synthesis task is created, this operation will return a
312-
* SpeechSynthesisTask object, which will include an identifier of this task
313-
* as well as the current status.
310+
* task and two optional parameters (<code>OutputS3KeyPrefix</code> and
311+
* <code>SnsTopicArn</code>). Once the synthesis task is created, this
312+
* operation will return a <code>SpeechSynthesisTask</code> object, which
313+
* will include an identifier of this task as well as the current status.
314+
* The <code>SpeechSynthesisTask</code> object is available for 72 hours
315+
* after starting the asynchronous synthesis task.
314316
* </p>
315317
*
316318
* @param startSpeechSynthesisTaskRequest

aws-android-sdk-polly/src/main/java/com/amazonaws/services/polly/AmazonPollyClient.java

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,10 @@ private static ClientConfiguration adjustClientConfiguration(ClientConfiguration
371371

372372
/**
373373
* <p>
374-
* Deletes the specified pronunciation lexicon stored in an AWS Region. A
375-
* lexicon which has been deleted is not available for speech synthesis, nor
376-
* is it possible to retrieve it using either the <code>GetLexicon</code> or
377-
* <code>ListLexicon</code> APIs.
374+
* Deletes the specified pronunciation lexicon stored in an Amazon Web
375+
* Services Region. A lexicon which has been deleted is not available for
376+
* speech synthesis, nor is it possible to retrieve it using either the
377+
* <code>GetLexicon</code> or <code>ListLexicon</code> APIs.
378378
* </p>
379379
* <p>
380380
* For more information, see <a href=
@@ -497,7 +497,7 @@ public DescribeVoicesResult describeVoices(DescribeVoicesRequest describeVoicesR
497497
/**
498498
* <p>
499499
* Returns the content of the specified pronunciation lexicon stored in an
500-
* AWS Region. For more information, see <a href=
500+
* Amazon Web Services Region. For more information, see <a href=
501501
* "https://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html"
502502
* >Managing Lexicons</a>.
503503
* </p>
@@ -600,8 +600,8 @@ public GetSpeechSynthesisTaskResult getSpeechSynthesisTask(
600600

601601
/**
602602
* <p>
603-
* Returns a list of pronunciation lexicons stored in an AWS Region. For
604-
* more information, see <a href=
603+
* Returns a list of pronunciation lexicons stored in an Amazon Web Services
604+
* Region. For more information, see <a href=
605605
* "https://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html"
606606
* >Managing Lexicons</a>.
607607
* </p>
@@ -702,11 +702,11 @@ public ListSpeechSynthesisTasksResult listSpeechSynthesisTasks(
702702

703703
/**
704704
* <p>
705-
* Stores a pronunciation lexicon in an AWS Region. If a lexicon with the
706-
* same name already exists in the region, it is overwritten by the new
707-
* lexicon. Lexicon operations have eventual consistency, therefore, it
708-
* might take some time before the lexicon is available to the
709-
* SynthesizeSpeech operation.
705+
* Stores a pronunciation lexicon in an Amazon Web Services Region. If a
706+
* lexicon with the same name already exists in the region, it is
707+
* overwritten by the new lexicon. Lexicon operations have eventual
708+
* consistency, therefore, it might take some time before the lexicon is
709+
* available to the SynthesizeSpeech operation.
710710
* </p>
711711
* <p>
712712
* For more information, see <a href=
@@ -767,10 +767,12 @@ public PutLexiconResult putLexicon(PutLexiconRequest putLexiconRequest)
767767
* <code>SpeechSynthesisTask</code>. This operation requires all the
768768
* standard information needed for speech synthesis, plus the name of an
769769
* Amazon S3 bucket for the service to store the output of the synthesis
770-
* task and two optional parameters (OutputS3KeyPrefix and SnsTopicArn).
771-
* Once the synthesis task is created, this operation will return a
772-
* SpeechSynthesisTask object, which will include an identifier of this task
773-
* as well as the current status.
770+
* task and two optional parameters (<code>OutputS3KeyPrefix</code> and
771+
* <code>SnsTopicArn</code>). Once the synthesis task is created, this
772+
* operation will return a <code>SpeechSynthesisTask</code> object, which
773+
* will include an identifier of this task as well as the current status.
774+
* The <code>SpeechSynthesisTask</code> object is available for 72 hours
775+
* after starting the asynchronous synthesis task.
774776
* </p>
775777
*
776778
* @param startSpeechSynthesisTaskRequest

aws-android-sdk-polly/src/main/java/com/amazonaws/services/polly/model/DeleteLexiconRequest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121

2222
/**
2323
* <p>
24-
* Deletes the specified pronunciation lexicon stored in an AWS Region. A
25-
* lexicon which has been deleted is not available for speech synthesis, nor is
26-
* it possible to retrieve it using either the <code>GetLexicon</code> or
27-
* <code>ListLexicon</code> APIs.
24+
* Deletes the specified pronunciation lexicon stored in an Amazon Web Services
25+
* Region. A lexicon which has been deleted is not available for speech
26+
* synthesis, nor is it possible to retrieve it using either the
27+
* <code>GetLexicon</code> or <code>ListLexicon</code> APIs.
2828
* </p>
2929
* <p>
3030
* For more information, see <a

aws-android-sdk-polly/src/main/java/com/amazonaws/services/polly/model/DescribeVoicesRequest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public class DescribeVoicesRequest extends AmazonWebServiceRequest implements Se
6969
* <b>Allowed Values: </b>arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
7070
* en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
7171
* ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
72-
* sv-SE, tr-TR
72+
* sv-SE, tr-TR, en-NZ
7373
*/
7474
private String languageCode;
7575

@@ -220,7 +220,7 @@ public DescribeVoicesRequest withEngine(Engine engine) {
220220
* <b>Allowed Values: </b>arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
221221
* en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
222222
* ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
223-
* sv-SE, tr-TR
223+
* sv-SE, tr-TR, en-NZ
224224
*
225225
* @return <p>
226226
* The language identification tag (ISO 639 code for the language
@@ -245,7 +245,7 @@ public String getLanguageCode() {
245245
* <b>Allowed Values: </b>arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
246246
* en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
247247
* ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
248-
* sv-SE, tr-TR
248+
* sv-SE, tr-TR, en-NZ
249249
*
250250
* @param languageCode <p>
251251
* The language identification tag (ISO 639 code for the language
@@ -273,7 +273,7 @@ public void setLanguageCode(String languageCode) {
273273
* <b>Allowed Values: </b>arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
274274
* en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
275275
* ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
276-
* sv-SE, tr-TR
276+
* sv-SE, tr-TR, en-NZ
277277
*
278278
* @param languageCode <p>
279279
* The language identification tag (ISO 639 code for the language
@@ -301,7 +301,7 @@ public DescribeVoicesRequest withLanguageCode(String languageCode) {
301301
* <b>Allowed Values: </b>arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
302302
* en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
303303
* ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
304-
* sv-SE, tr-TR
304+
* sv-SE, tr-TR, en-NZ
305305
*
306306
* @param languageCode <p>
307307
* The language identification tag (ISO 639 code for the language
@@ -329,7 +329,7 @@ public void setLanguageCode(LanguageCode languageCode) {
329329
* <b>Allowed Values: </b>arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
330330
* en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
331331
* ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
332-
* sv-SE, tr-TR
332+
* sv-SE, tr-TR, en-NZ
333333
*
334334
* @param languageCode <p>
335335
* The language identification tag (ISO 639 code for the language

aws-android-sdk-polly/src/main/java/com/amazonaws/services/polly/model/GetLexiconRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
/**
2323
* <p>
24-
* Returns the content of the specified pronunciation lexicon stored in an AWS
25-
* Region. For more information, see <a
24+
* Returns the content of the specified pronunciation lexicon stored in an
25+
* Amazon Web Services Region. For more information, see <a
2626
* href="https://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html"
2727
* >Managing Lexicons</a>.
2828
* </p>

aws-android-sdk-polly/src/main/java/com/amazonaws/services/polly/model/LanguageCode.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ public enum LanguageCode {
5151
RoRO("ro-RO"),
5252
RuRU("ru-RU"),
5353
SvSE("sv-SE"),
54-
TrTR("tr-TR");
54+
TrTR("tr-TR"),
55+
EnNZ("en-NZ");
5556

5657
private String value;
5758

@@ -96,6 +97,7 @@ public String toString() {
9697
enumMap.put("ru-RU", RuRU);
9798
enumMap.put("sv-SE", SvSE);
9899
enumMap.put("tr-TR", TrTR);
100+
enumMap.put("en-NZ", EnNZ);
99101
}
100102

101103
/**

aws-android-sdk-polly/src/main/java/com/amazonaws/services/polly/model/LexiconAttributes.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class LexiconAttributes implements Serializable {
4545
* <b>Allowed Values: </b>arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
4646
* en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
4747
* ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
48-
* sv-SE, tr-TR
48+
* sv-SE, tr-TR, en-NZ
4949
*/
5050
private String languageCode;
5151

@@ -139,7 +139,7 @@ public LexiconAttributes withAlphabet(String alphabet) {
139139
* <b>Allowed Values: </b>arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
140140
* en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
141141
* ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
142-
* sv-SE, tr-TR
142+
* sv-SE, tr-TR, en-NZ
143143
*
144144
* @return <p>
145145
* Language code that the lexicon applies to. A lexicon with a
@@ -163,7 +163,7 @@ public String getLanguageCode() {
163163
* <b>Allowed Values: </b>arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
164164
* en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
165165
* ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
166-
* sv-SE, tr-TR
166+
* sv-SE, tr-TR, en-NZ
167167
*
168168
* @param languageCode <p>
169169
* Language code that the lexicon applies to. A lexicon with a
@@ -190,7 +190,7 @@ public void setLanguageCode(String languageCode) {
190190
* <b>Allowed Values: </b>arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
191191
* en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
192192
* ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
193-
* sv-SE, tr-TR
193+
* sv-SE, tr-TR, en-NZ
194194
*
195195
* @param languageCode <p>
196196
* Language code that the lexicon applies to. A lexicon with a
@@ -217,7 +217,7 @@ public LexiconAttributes withLanguageCode(String languageCode) {
217217
* <b>Allowed Values: </b>arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
218218
* en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
219219
* ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
220-
* sv-SE, tr-TR
220+
* sv-SE, tr-TR, en-NZ
221221
*
222222
* @param languageCode <p>
223223
* Language code that the lexicon applies to. A lexicon with a
@@ -244,7 +244,7 @@ public void setLanguageCode(LanguageCode languageCode) {
244244
* <b>Allowed Values: </b>arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
245245
* en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
246246
* ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
247-
* sv-SE, tr-TR
247+
* sv-SE, tr-TR, en-NZ
248248
*
249249
* @param languageCode <p>
250250
* Language code that the lexicon applies to. A lexicon with a

aws-android-sdk-polly/src/main/java/com/amazonaws/services/polly/model/ListLexiconsRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
/**
2323
* <p>
24-
* Returns a list of pronunciation lexicons stored in an AWS Region. For more
25-
* information, see <a
24+
* Returns a list of pronunciation lexicons stored in an Amazon Web Services
25+
* Region. For more information, see <a
2626
* href="https://docs.aws.amazon.com/polly/latest/dg/managing-lexicons.html"
2727
* >Managing Lexicons</a>.
2828
* </p>

aws-android-sdk-polly/src/main/java/com/amazonaws/services/polly/model/PutLexiconRequest.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@
2121

2222
/**
2323
* <p>
24-
* Stores a pronunciation lexicon in an AWS Region. If a lexicon with the same
25-
* name already exists in the region, it is overwritten by the new lexicon.
26-
* Lexicon operations have eventual consistency, therefore, it might take some
27-
* time before the lexicon is available to the SynthesizeSpeech operation.
24+
* Stores a pronunciation lexicon in an Amazon Web Services Region. If a lexicon
25+
* with the same name already exists in the region, it is overwritten by the new
26+
* lexicon. Lexicon operations have eventual consistency, therefore, it might
27+
* take some time before the lexicon is available to the SynthesizeSpeech
28+
* operation.
2829
* </p>
2930
* <p>
3031
* For more information, see <a

0 commit comments

Comments
 (0)