Skip to content

Commit 1dd9e18

Browse files
committed
[aws-android-sdk-polly] Update models to latest
1 parent 5fde565 commit 1dd9e18

14 files changed

+385
-301
lines changed

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

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class DescribeVoicesRequest extends AmazonWebServiceRequest implements Se
5555
* </p>
5656
* <p>
5757
* <b>Constraints:</b><br/>
58-
* <b>Allowed Values: </b>cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
58+
* <b>Allowed Values: </b>arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
5959
* en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
6060
* ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
6161
* sv-SE, tr-TR
@@ -80,6 +80,9 @@ public class DescribeVoicesRequest extends AmazonWebServiceRequest implements Se
8080
* <code>DescribeVoices</code> operation. If present, this indicates where
8181
* to continue the listing.
8282
* </p>
83+
* <p>
84+
* <b>Constraints:</b><br/>
85+
* <b>Length: </b>0 - 4096<br/>
8386
*/
8487
private String nextToken;
8588

@@ -91,7 +94,7 @@ public class DescribeVoicesRequest extends AmazonWebServiceRequest implements Se
9194
* </p>
9295
* <p>
9396
* <b>Constraints:</b><br/>
94-
* <b>Allowed Values: </b>cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
97+
* <b>Allowed Values: </b>arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
9598
* en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
9699
* ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
97100
* sv-SE, tr-TR
@@ -116,7 +119,7 @@ public String getLanguageCode() {
116119
* </p>
117120
* <p>
118121
* <b>Constraints:</b><br/>
119-
* <b>Allowed Values: </b>cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
122+
* <b>Allowed Values: </b>arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
120123
* en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
121124
* ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
122125
* sv-SE, tr-TR
@@ -144,7 +147,7 @@ public void setLanguageCode(String languageCode) {
144147
* together.
145148
* <p>
146149
* <b>Constraints:</b><br/>
147-
* <b>Allowed Values: </b>cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
150+
* <b>Allowed Values: </b>arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
148151
* en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
149152
* ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
150153
* sv-SE, tr-TR
@@ -172,7 +175,7 @@ public DescribeVoicesRequest withLanguageCode(String languageCode) {
172175
* </p>
173176
* <p>
174177
* <b>Constraints:</b><br/>
175-
* <b>Allowed Values: </b>cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
178+
* <b>Allowed Values: </b>arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
176179
* en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
177180
* ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
178181
* sv-SE, tr-TR
@@ -200,7 +203,7 @@ public void setLanguageCode(LanguageCode languageCode) {
200203
* together.
201204
* <p>
202205
* <b>Constraints:</b><br/>
203-
* <b>Allowed Values: </b>cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
206+
* <b>Allowed Values: </b>arb, cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
204207
* en-GB-WLS, en-IN, en-US, es-ES, es-MX, es-US, fr-CA, fr-FR, is-IS, it-IT,
205208
* ja-JP, hi-IN, ko-KR, nb-NO, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU,
206209
* sv-SE, tr-TR
@@ -327,6 +330,9 @@ public DescribeVoicesRequest withIncludeAdditionalLanguageCodes(
327330
* <code>DescribeVoices</code> operation. If present, this indicates where
328331
* to continue the listing.
329332
* </p>
333+
* <p>
334+
* <b>Constraints:</b><br/>
335+
* <b>Length: </b>0 - 4096<br/>
330336
*
331337
* @return <p>
332338
* An opaque pagination token returned from the previous
@@ -344,6 +350,9 @@ public String getNextToken() {
344350
* <code>DescribeVoices</code> operation. If present, this indicates where
345351
* to continue the listing.
346352
* </p>
353+
* <p>
354+
* <b>Constraints:</b><br/>
355+
* <b>Length: </b>0 - 4096<br/>
347356
*
348357
* @param nextToken <p>
349358
* An opaque pagination token returned from the previous
@@ -364,6 +373,9 @@ public void setNextToken(String nextToken) {
364373
* <p>
365374
* Returns a reference to this object so that method calls can be chained
366375
* together.
376+
* <p>
377+
* <b>Constraints:</b><br/>
378+
* <b>Length: </b>0 - 4096<br/>
367379
*
368380
* @param nextToken <p>
369381
* An opaque pagination token returned from the previous

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ public class DescribeVoicesResult implements Serializable {
3131
* of voices. <code>NextToken</code> is returned only if the response is
3232
* truncated.
3333
* </p>
34+
* <p>
35+
* <b>Constraints:</b><br/>
36+
* <b>Length: </b>0 - 4096<br/>
3437
*/
3538
private String nextToken;
3639

@@ -114,6 +117,9 @@ public DescribeVoicesResult withVoices(java.util.Collection<Voice> voices) {
114117
* of voices. <code>NextToken</code> is returned only if the response is
115118
* truncated.
116119
* </p>
120+
* <p>
121+
* <b>Constraints:</b><br/>
122+
* <b>Length: </b>0 - 4096<br/>
117123
*
118124
* @return <p>
119125
* The pagination token to use in the next request to continue the
@@ -131,6 +137,9 @@ public String getNextToken() {
131137
* of voices. <code>NextToken</code> is returned only if the response is
132138
* truncated.
133139
* </p>
140+
* <p>
141+
* <b>Constraints:</b><br/>
142+
* <b>Length: </b>0 - 4096<br/>
134143
*
135144
* @param nextToken <p>
136145
* The pagination token to use in the next request to continue
@@ -151,6 +160,9 @@ public void setNextToken(String nextToken) {
151160
* <p>
152161
* Returns a reference to this object so that method calls can be chained
153162
* together.
163+
* <p>
164+
* <b>Constraints:</b><br/>
165+
* <b>Length: </b>0 - 4096<br/>
154166
*
155167
* @param nextToken <p>
156168
* The pagination token to use in the next request to continue

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class GetSpeechSynthesisTaskRequest extends AmazonWebServiceRequest imple
3434
* </p>
3535
* <p>
3636
* <b>Constraints:</b><br/>
37-
* <b>Length: </b>1 - 128<br/>
37+
* <b>Pattern: </b>^[a-zA-Z0-9_-]{1,100}$<br/>
3838
*/
3939
private String taskId;
4040

@@ -44,7 +44,7 @@ public class GetSpeechSynthesisTaskRequest extends AmazonWebServiceRequest imple
4444
* </p>
4545
* <p>
4646
* <b>Constraints:</b><br/>
47-
* <b>Length: </b>1 - 128<br/>
47+
* <b>Pattern: </b>^[a-zA-Z0-9_-]{1,100}$<br/>
4848
*
4949
* @return <p>
5050
* The Amazon Polly generated identifier for a speech synthesis
@@ -61,7 +61,7 @@ public String getTaskId() {
6161
* </p>
6262
* <p>
6363
* <b>Constraints:</b><br/>
64-
* <b>Length: </b>1 - 128<br/>
64+
* <b>Pattern: </b>^[a-zA-Z0-9_-]{1,100}$<br/>
6565
*
6666
* @param taskId <p>
6767
* The Amazon Polly generated identifier for a speech synthesis
@@ -81,7 +81,7 @@ public void setTaskId(String taskId) {
8181
* together.
8282
* <p>
8383
* <b>Constraints:</b><br/>
84-
* <b>Length: </b>1 - 128<br/>
84+
* <b>Pattern: </b>^[a-zA-Z0-9_-]{1,100}$<br/>
8585
*
8686
* @param taskId <p>
8787
* The Amazon Polly generated identifier for a speech synthesis

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
*/
2424
public enum LanguageCode {
2525

26+
Arb("arb"),
2627
CmnCN("cmn-CN"),
2728
CyGB("cy-GB"),
2829
DaDK("da-DK"),
@@ -66,6 +67,7 @@ public String toString() {
6667
private static final Map<String, LanguageCode> enumMap;
6768
static {
6869
enumMap = new HashMap<String, LanguageCode>();
70+
enumMap.put("arb", Arb);
6971
enumMap.put("cmn-CN", CmnCN);
7072
enumMap.put("cy-GB", CyGB);
7173
enumMap.put("da-DK", DaDK);

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
@@ -42,7 +42,7 @@ public class LexiconAttributes implements Serializable {
4242
* </p>
4343
* <p>
4444
* <b>Constraints:</b><br/>
45-
* <b>Allowed Values: </b>cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
45+
* <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,
4848
* sv-SE, tr-TR
@@ -136,7 +136,7 @@ public LexiconAttributes withAlphabet(String alphabet) {
136136
* </p>
137137
* <p>
138138
* <b>Constraints:</b><br/>
139-
* <b>Allowed Values: </b>cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
139+
* <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,
142142
* sv-SE, tr-TR
@@ -160,7 +160,7 @@ public String getLanguageCode() {
160160
* </p>
161161
* <p>
162162
* <b>Constraints:</b><br/>
163-
* <b>Allowed Values: </b>cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
163+
* <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,
166166
* sv-SE, tr-TR
@@ -187,7 +187,7 @@ public void setLanguageCode(String languageCode) {
187187
* together.
188188
* <p>
189189
* <b>Constraints:</b><br/>
190-
* <b>Allowed Values: </b>cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
190+
* <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,
193193
* sv-SE, tr-TR
@@ -214,7 +214,7 @@ public LexiconAttributes withLanguageCode(String languageCode) {
214214
* </p>
215215
* <p>
216216
* <b>Constraints:</b><br/>
217-
* <b>Allowed Values: </b>cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
217+
* <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,
220220
* sv-SE, tr-TR
@@ -241,7 +241,7 @@ public void setLanguageCode(LanguageCode languageCode) {
241241
* together.
242242
* <p>
243243
* <b>Constraints:</b><br/>
244-
* <b>Allowed Values: </b>cmn-CN, cy-GB, da-DK, de-DE, en-AU, en-GB,
244+
* <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,
247247
* sv-SE, tr-TR

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ public class ListLexiconsRequest extends AmazonWebServiceRequest implements Seri
3434
* <code>ListLexicons</code> operation. If present, indicates where to
3535
* continue the list of lexicons.
3636
* </p>
37+
* <p>
38+
* <b>Constraints:</b><br/>
39+
* <b>Length: </b>0 - 4096<br/>
3740
*/
3841
private String nextToken;
3942

@@ -43,6 +46,9 @@ public class ListLexiconsRequest extends AmazonWebServiceRequest implements Seri
4346
* <code>ListLexicons</code> operation. If present, indicates where to
4447
* continue the list of lexicons.
4548
* </p>
49+
* <p>
50+
* <b>Constraints:</b><br/>
51+
* <b>Length: </b>0 - 4096<br/>
4652
*
4753
* @return <p>
4854
* An opaque pagination token returned from previous
@@ -60,6 +66,9 @@ public String getNextToken() {
6066
* <code>ListLexicons</code> operation. If present, indicates where to
6167
* continue the list of lexicons.
6268
* </p>
69+
* <p>
70+
* <b>Constraints:</b><br/>
71+
* <b>Length: </b>0 - 4096<br/>
6372
*
6473
* @param nextToken <p>
6574
* An opaque pagination token returned from previous
@@ -80,6 +89,9 @@ public void setNextToken(String nextToken) {
8089
* <p>
8190
* Returns a reference to this object so that method calls can be chained
8291
* together.
92+
* <p>
93+
* <b>Constraints:</b><br/>
94+
* <b>Length: </b>0 - 4096<br/>
8395
*
8496
* @param nextToken <p>
8597
* An opaque pagination token returned from previous

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ public class ListLexiconsResult implements Serializable {
3131
* of lexicons. <code>NextToken</code> is returned only if the response is
3232
* truncated.
3333
* </p>
34+
* <p>
35+
* <b>Constraints:</b><br/>
36+
* <b>Length: </b>0 - 4096<br/>
3437
*/
3538
private String nextToken;
3639

@@ -114,6 +117,9 @@ public ListLexiconsResult withLexicons(java.util.Collection<LexiconDescription>
114117
* of lexicons. <code>NextToken</code> is returned only if the response is
115118
* truncated.
116119
* </p>
120+
* <p>
121+
* <b>Constraints:</b><br/>
122+
* <b>Length: </b>0 - 4096<br/>
117123
*
118124
* @return <p>
119125
* The pagination token to use in the next request to continue the
@@ -131,6 +137,9 @@ public String getNextToken() {
131137
* of lexicons. <code>NextToken</code> is returned only if the response is
132138
* truncated.
133139
* </p>
140+
* <p>
141+
* <b>Constraints:</b><br/>
142+
* <b>Length: </b>0 - 4096<br/>
134143
*
135144
* @param nextToken <p>
136145
* The pagination token to use in the next request to continue
@@ -151,6 +160,9 @@ public void setNextToken(String nextToken) {
151160
* <p>
152161
* Returns a reference to this object so that method calls can be chained
153162
* together.
163+
* <p>
164+
* <b>Constraints:</b><br/>
165+
* <b>Length: </b>0 - 4096<br/>
154166
*
155167
* @param nextToken <p>
156168
* The pagination token to use in the next request to continue

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ public class ListSpeechSynthesisTasksRequest extends AmazonWebServiceRequest imp
4343
* The pagination token to use in the next request to continue the listing
4444
* of speech synthesis tasks.
4545
* </p>
46+
* <p>
47+
* <b>Constraints:</b><br/>
48+
* <b>Length: </b>0 - 4096<br/>
4649
*/
4750
private String nextToken;
4851

@@ -118,6 +121,9 @@ public ListSpeechSynthesisTasksRequest withMaxResults(Integer maxResults) {
118121
* The pagination token to use in the next request to continue the listing
119122
* of speech synthesis tasks.
120123
* </p>
124+
* <p>
125+
* <b>Constraints:</b><br/>
126+
* <b>Length: </b>0 - 4096<br/>
121127
*
122128
* @return <p>
123129
* The pagination token to use in the next request to continue the
@@ -133,6 +139,9 @@ public String getNextToken() {
133139
* The pagination token to use in the next request to continue the listing
134140
* of speech synthesis tasks.
135141
* </p>
142+
* <p>
143+
* <b>Constraints:</b><br/>
144+
* <b>Length: </b>0 - 4096<br/>
136145
*
137146
* @param nextToken <p>
138147
* The pagination token to use in the next request to continue
@@ -151,6 +160,9 @@ public void setNextToken(String nextToken) {
151160
* <p>
152161
* Returns a reference to this object so that method calls can be chained
153162
* together.
163+
* <p>
164+
* <b>Constraints:</b><br/>
165+
* <b>Length: </b>0 - 4096<br/>
154166
*
155167
* @param nextToken <p>
156168
* The pagination token to use in the next request to continue

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ public class ListSpeechSynthesisTasksResult implements Serializable {
2323
* An opaque pagination token returned from the previous List operation in
2424
* this request. If present, this indicates where to continue the listing.
2525
* </p>
26+
* <p>
27+
* <b>Constraints:</b><br/>
28+
* <b>Length: </b>0 - 4096<br/>
2629
*/
2730
private String nextToken;
2831

@@ -40,6 +43,9 @@ public class ListSpeechSynthesisTasksResult implements Serializable {
4043
* An opaque pagination token returned from the previous List operation in
4144
* this request. If present, this indicates where to continue the listing.
4245
* </p>
46+
* <p>
47+
* <b>Constraints:</b><br/>
48+
* <b>Length: </b>0 - 4096<br/>
4349
*
4450
* @return <p>
4551
* An opaque pagination token returned from the previous List
@@ -56,6 +62,9 @@ public String getNextToken() {
5662
* An opaque pagination token returned from the previous List operation in
5763
* this request. If present, this indicates where to continue the listing.
5864
* </p>
65+
* <p>
66+
* <b>Constraints:</b><br/>
67+
* <b>Length: </b>0 - 4096<br/>
5968
*
6069
* @param nextToken <p>
6170
* An opaque pagination token returned from the previous List
@@ -75,6 +84,9 @@ public void setNextToken(String nextToken) {
7584
* <p>
7685
* Returns a reference to this object so that method calls can be chained
7786
* together.
87+
* <p>
88+
* <b>Constraints:</b><br/>
89+
* <b>Length: </b>0 - 4096<br/>
7890
*
7991
* @param nextToken <p>
8092
* An opaque pagination token returned from the previous List

0 commit comments

Comments
 (0)