Skip to content

Commit da29a16

Browse files
awsmobilesdktylerjroachtjleing
authored
feat(aws-android-sdk-transcribe): update models to latest (#3107)
Co-authored-by: Tyler Roach <[email protected]> Co-authored-by: Thomas Leing <[email protected]>
1 parent 9008be9 commit da29a16

File tree

79 files changed

+5147
-5235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+5147
-5235
lines changed

aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribe.java

Lines changed: 88 additions & 108 deletions
Large diffs are not rendered by default.

aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribeAsync.java

Lines changed: 176 additions & 216 deletions
Large diffs are not rendered by default.

aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribeAsyncClient.java

Lines changed: 176 additions & 216 deletions
Large diffs are not rendered by default.

aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/AmazonTranscribeClient.java

Lines changed: 88 additions & 108 deletions
Large diffs are not rendered by default.

aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/AbsoluteTimeRange.java

Lines changed: 41 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@
3232
* </p>
3333
* <p>
3434
* You can use also <code>First</code> to search from the start of the audio
35-
* until the time you specify, or <code>Last</code> to search from the time you
36-
* specify until the end of the audio. For example, setting <code>First</code>
37-
* to 50000 only searches for your specified criteria in the audio contained
38-
* between the start of the media file to the 50,000 millisecond mark. You can
39-
* use <code>First</code> and <code>Last</code> independently of each other.
35+
* until the time that you specify, or <code>Last</code> to search from the time
36+
* that you specify until the end of the audio. For example, setting
37+
* <code>First</code> to 50000 only searches for your specified criteria in the
38+
* audio contained between the start of the media file to the 50,000 millisecond
39+
* mark. You can use <code>First</code> and <code>Last</code> independently of
40+
* each other.
4041
* </p>
4142
* <p>
4243
* If you prefer to use percentage instead of milliseconds, see .
@@ -71,8 +72,8 @@ public class AbsoluteTimeRange implements Serializable {
7172
/**
7273
* <p>
7374
* The time, in milliseconds, from the start of your media file until the
74-
* value you specify in which Amazon Transcribe searches for your specified
75-
* criteria.
75+
* specified value. Amazon Transcribe searches for your specified criteria
76+
* in this time segment.
7677
* </p>
7778
* <p>
7879
* <b>Constraints:</b><br/>
@@ -82,9 +83,9 @@ public class AbsoluteTimeRange implements Serializable {
8283

8384
/**
8485
* <p>
85-
* The time, in milliseconds, from the value you specify until the end of
86-
* your media file in which Amazon Transcribe searches for your specified
87-
* criteria.
86+
* The time, in milliseconds, from the specified value until the end of your
87+
* media file. Amazon Transcribe searches for your specified criteria in
88+
* this time segment.
8889
* </p>
8990
* <p>
9091
* <b>Constraints:</b><br/>
@@ -236,17 +237,17 @@ public AbsoluteTimeRange withEndTime(Long endTime) {
236237
/**
237238
* <p>
238239
* The time, in milliseconds, from the start of your media file until the
239-
* value you specify in which Amazon Transcribe searches for your specified
240-
* criteria.
240+
* specified value. Amazon Transcribe searches for your specified criteria
241+
* in this time segment.
241242
* </p>
242243
* <p>
243244
* <b>Constraints:</b><br/>
244245
* <b>Range: </b>0 - 14400000<br/>
245246
*
246247
* @return <p>
247248
* The time, in milliseconds, from the start of your media file
248-
* until the value you specify in which Amazon Transcribe searches
249-
* for your specified criteria.
249+
* until the specified value. Amazon Transcribe searches for your
250+
* specified criteria in this time segment.
250251
* </p>
251252
*/
252253
public Long getFirst() {
@@ -256,17 +257,17 @@ public Long getFirst() {
256257
/**
257258
* <p>
258259
* The time, in milliseconds, from the start of your media file until the
259-
* value you specify in which Amazon Transcribe searches for your specified
260-
* criteria.
260+
* specified value. Amazon Transcribe searches for your specified criteria
261+
* in this time segment.
261262
* </p>
262263
* <p>
263264
* <b>Constraints:</b><br/>
264265
* <b>Range: </b>0 - 14400000<br/>
265266
*
266267
* @param first <p>
267268
* The time, in milliseconds, from the start of your media file
268-
* until the value you specify in which Amazon Transcribe
269-
* searches for your specified criteria.
269+
* until the specified value. Amazon Transcribe searches for your
270+
* specified criteria in this time segment.
270271
* </p>
271272
*/
272273
public void setFirst(Long first) {
@@ -276,8 +277,8 @@ public void setFirst(Long first) {
276277
/**
277278
* <p>
278279
* The time, in milliseconds, from the start of your media file until the
279-
* value you specify in which Amazon Transcribe searches for your specified
280-
* criteria.
280+
* specified value. Amazon Transcribe searches for your specified criteria
281+
* in this time segment.
281282
* </p>
282283
* <p>
283284
* Returns a reference to this object so that method calls can be chained
@@ -288,8 +289,8 @@ public void setFirst(Long first) {
288289
*
289290
* @param first <p>
290291
* The time, in milliseconds, from the start of your media file
291-
* until the value you specify in which Amazon Transcribe
292-
* searches for your specified criteria.
292+
* until the specified value. Amazon Transcribe searches for your
293+
* specified criteria in this time segment.
293294
* </p>
294295
* @return A reference to this updated object so that method calls can be
295296
* chained together.
@@ -301,18 +302,18 @@ public AbsoluteTimeRange withFirst(Long first) {
301302

302303
/**
303304
* <p>
304-
* The time, in milliseconds, from the value you specify until the end of
305-
* your media file in which Amazon Transcribe searches for your specified
306-
* criteria.
305+
* The time, in milliseconds, from the specified value until the end of your
306+
* media file. Amazon Transcribe searches for your specified criteria in
307+
* this time segment.
307308
* </p>
308309
* <p>
309310
* <b>Constraints:</b><br/>
310311
* <b>Range: </b>0 - 14400000<br/>
311312
*
312313
* @return <p>
313-
* The time, in milliseconds, from the value you specify until the
314-
* end of your media file in which Amazon Transcribe searches for
315-
* your specified criteria.
314+
* The time, in milliseconds, from the specified value until the end
315+
* of your media file. Amazon Transcribe searches for your specified
316+
* criteria in this time segment.
316317
* </p>
317318
*/
318319
public Long getLast() {
@@ -321,18 +322,18 @@ public Long getLast() {
321322

322323
/**
323324
* <p>
324-
* The time, in milliseconds, from the value you specify until the end of
325-
* your media file in which Amazon Transcribe searches for your specified
326-
* criteria.
325+
* The time, in milliseconds, from the specified value until the end of your
326+
* media file. Amazon Transcribe searches for your specified criteria in
327+
* this time segment.
327328
* </p>
328329
* <p>
329330
* <b>Constraints:</b><br/>
330331
* <b>Range: </b>0 - 14400000<br/>
331332
*
332333
* @param last <p>
333-
* The time, in milliseconds, from the value you specify until
334-
* the end of your media file in which Amazon Transcribe searches
335-
* for your specified criteria.
334+
* The time, in milliseconds, from the specified value until the
335+
* end of your media file. Amazon Transcribe searches for your
336+
* specified criteria in this time segment.
336337
* </p>
337338
*/
338339
public void setLast(Long last) {
@@ -341,9 +342,9 @@ public void setLast(Long last) {
341342

342343
/**
343344
* <p>
344-
* The time, in milliseconds, from the value you specify until the end of
345-
* your media file in which Amazon Transcribe searches for your specified
346-
* criteria.
345+
* The time, in milliseconds, from the specified value until the end of your
346+
* media file. Amazon Transcribe searches for your specified criteria in
347+
* this time segment.
347348
* </p>
348349
* <p>
349350
* Returns a reference to this object so that method calls can be chained
@@ -353,9 +354,9 @@ public void setLast(Long last) {
353354
* <b>Range: </b>0 - 14400000<br/>
354355
*
355356
* @param last <p>
356-
* The time, in milliseconds, from the value you specify until
357-
* the end of your media file in which Amazon Transcribe searches
358-
* for your specified criteria.
357+
* The time, in milliseconds, from the specified value until the
358+
* end of your media file. Amazon Transcribe searches for your
359+
* specified criteria in this time segment.
359360
* </p>
360361
* @return A reference to this updated object so that method calls can be
361362
* chained together.

aws-android-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/CLMLanguageCode.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ public enum CLMLanguageCode {
2727
HiIN("hi-IN"),
2828
EsUS("es-US"),
2929
EnGB("en-GB"),
30-
EnAU("en-AU");
30+
EnAU("en-AU"),
31+
DeDE("de-DE"),
32+
JaJP("ja-JP");
3133

3234
private String value;
3335

@@ -48,6 +50,8 @@ public String toString() {
4850
enumMap.put("es-US", EsUS);
4951
enumMap.put("en-GB", EnGB);
5052
enumMap.put("en-AU", EnAU);
53+
enumMap.put("de-DE", DeDE);
54+
enumMap.put("ja-JP", JaJP);
5155
}
5256

5357
/**

0 commit comments

Comments
 (0)