Skip to content

Commit bec437c

Browse files
awsmobilesdkThomas Leing
andauthored
transcribe Update models to latest (#2848)
* feat(aws-android-sdk-transcribe): update models to latest * Empty commit to retrigger CircleCI Co-authored-by: Thomas Leing <[email protected]>
1 parent d11f547 commit bec437c

File tree

9 files changed

+362
-60
lines changed

9 files changed

+362
-60
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public class CallAnalyticsJob implements Serializable {
7171

7272
/**
7373
* <p>
74-
* The sample rate, in Hertz, of the audio.
74+
* The sample rate, in Hertz, of the input audio.
7575
* </p>
7676
* <p>
7777
* <b>Constraints:</b><br/>
@@ -610,14 +610,14 @@ public CallAnalyticsJob withLanguageCode(LanguageCode languageCode) {
610610

611611
/**
612612
* <p>
613-
* The sample rate, in Hertz, of the audio.
613+
* The sample rate, in Hertz, of the input audio.
614614
* </p>
615615
* <p>
616616
* <b>Constraints:</b><br/>
617617
* <b>Range: </b>8000 - 48000<br/>
618618
*
619619
* @return <p>
620-
* The sample rate, in Hertz, of the audio.
620+
* The sample rate, in Hertz, of the input audio.
621621
* </p>
622622
*/
623623
public Integer getMediaSampleRateHertz() {
@@ -626,14 +626,14 @@ public Integer getMediaSampleRateHertz() {
626626

627627
/**
628628
* <p>
629-
* The sample rate, in Hertz, of the audio.
629+
* The sample rate, in Hertz, of the input audio.
630630
* </p>
631631
* <p>
632632
* <b>Constraints:</b><br/>
633633
* <b>Range: </b>8000 - 48000<br/>
634634
*
635635
* @param mediaSampleRateHertz <p>
636-
* The sample rate, in Hertz, of the audio.
636+
* The sample rate, in Hertz, of the input audio.
637637
* </p>
638638
*/
639639
public void setMediaSampleRateHertz(Integer mediaSampleRateHertz) {
@@ -642,7 +642,7 @@ public void setMediaSampleRateHertz(Integer mediaSampleRateHertz) {
642642

643643
/**
644644
* <p>
645-
* The sample rate, in Hertz, of the audio.
645+
* The sample rate, in Hertz, of the input audio.
646646
* </p>
647647
* <p>
648648
* Returns a reference to this object so that method calls can be chained
@@ -652,7 +652,7 @@ public void setMediaSampleRateHertz(Integer mediaSampleRateHertz) {
652652
* <b>Range: </b>8000 - 48000<br/>
653653
*
654654
* @param mediaSampleRateHertz <p>
655-
* The sample rate, in Hertz, of the audio.
655+
* The sample rate, in Hertz, of the input audio.
656656
* </p>
657657
* @return A reference to this updated object so that method calls can be
658658
* chained together.

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

Lines changed: 64 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ public class StartTranscriptionJobRequest extends AmazonWebServiceRequest implem
4242

4343
/**
4444
* <p>
45-
* The language code for the language used in the input media file.
45+
* The language code for the language used in the input media file. You must
46+
* include either <code>LanguageCode</code> or <code>IdentifyLanguage</code>
47+
* in your request.
4648
* </p>
4749
* <p>
4850
* To transcribe speech in Modern Standard Arabic (ar-SA), your audio or
@@ -266,6 +268,10 @@ public class StartTranscriptionJobRequest extends AmazonWebServiceRequest implem
266268
* You receive a <code>BadRequestException</code> error if you enter a value
267269
* for a <code>LanguageCode</code>.
268270
* </p>
271+
* <p>
272+
* You must include either <code>LanguageCode</code> or
273+
* <code>IdentifyLanguage</code> in your request.
274+
* </p>
269275
*/
270276
private Boolean identifyLanguage;
271277

@@ -391,7 +397,9 @@ public StartTranscriptionJobRequest withTranscriptionJobName(String transcriptio
391397

392398
/**
393399
* <p>
394-
* The language code for the language used in the input media file.
400+
* The language code for the language used in the input media file. You must
401+
* include either <code>LanguageCode</code> or <code>IdentifyLanguage</code>
402+
* in your request.
395403
* </p>
396404
* <p>
397405
* To transcribe speech in Modern Standard Arabic (ar-SA), your audio or
@@ -407,6 +415,8 @@ public StartTranscriptionJobRequest withTranscriptionJobName(String transcriptio
407415
*
408416
* @return <p>
409417
* The language code for the language used in the input media file.
418+
* You must include either <code>LanguageCode</code> or
419+
* <code>IdentifyLanguage</code> in your request.
410420
* </p>
411421
* <p>
412422
* To transcribe speech in Modern Standard Arabic (ar-SA), your
@@ -421,7 +431,9 @@ public String getLanguageCode() {
421431

422432
/**
423433
* <p>
424-
* The language code for the language used in the input media file.
434+
* The language code for the language used in the input media file. You must
435+
* include either <code>LanguageCode</code> or <code>IdentifyLanguage</code>
436+
* in your request.
425437
* </p>
426438
* <p>
427439
* To transcribe speech in Modern Standard Arabic (ar-SA), your audio or
@@ -437,7 +449,8 @@ public String getLanguageCode() {
437449
*
438450
* @param languageCode <p>
439451
* The language code for the language used in the input media
440-
* file.
452+
* file. You must include either <code>LanguageCode</code> or
453+
* <code>IdentifyLanguage</code> in your request.
441454
* </p>
442455
* <p>
443456
* To transcribe speech in Modern Standard Arabic (ar-SA), your
@@ -452,7 +465,9 @@ public void setLanguageCode(String languageCode) {
452465

453466
/**
454467
* <p>
455-
* The language code for the language used in the input media file.
468+
* The language code for the language used in the input media file. You must
469+
* include either <code>LanguageCode</code> or <code>IdentifyLanguage</code>
470+
* in your request.
456471
* </p>
457472
* <p>
458473
* To transcribe speech in Modern Standard Arabic (ar-SA), your audio or
@@ -471,7 +486,8 @@ public void setLanguageCode(String languageCode) {
471486
*
472487
* @param languageCode <p>
473488
* The language code for the language used in the input media
474-
* file.
489+
* file. You must include either <code>LanguageCode</code> or
490+
* <code>IdentifyLanguage</code> in your request.
475491
* </p>
476492
* <p>
477493
* To transcribe speech in Modern Standard Arabic (ar-SA), your
@@ -489,7 +505,9 @@ public StartTranscriptionJobRequest withLanguageCode(String languageCode) {
489505

490506
/**
491507
* <p>
492-
* The language code for the language used in the input media file.
508+
* The language code for the language used in the input media file. You must
509+
* include either <code>LanguageCode</code> or <code>IdentifyLanguage</code>
510+
* in your request.
493511
* </p>
494512
* <p>
495513
* To transcribe speech in Modern Standard Arabic (ar-SA), your audio or
@@ -505,7 +523,8 @@ public StartTranscriptionJobRequest withLanguageCode(String languageCode) {
505523
*
506524
* @param languageCode <p>
507525
* The language code for the language used in the input media
508-
* file.
526+
* file. You must include either <code>LanguageCode</code> or
527+
* <code>IdentifyLanguage</code> in your request.
509528
* </p>
510529
* <p>
511530
* To transcribe speech in Modern Standard Arabic (ar-SA), your
@@ -520,7 +539,9 @@ public void setLanguageCode(LanguageCode languageCode) {
520539

521540
/**
522541
* <p>
523-
* The language code for the language used in the input media file.
542+
* The language code for the language used in the input media file. You must
543+
* include either <code>LanguageCode</code> or <code>IdentifyLanguage</code>
544+
* in your request.
524545
* </p>
525546
* <p>
526547
* To transcribe speech in Modern Standard Arabic (ar-SA), your audio or
@@ -539,7 +560,8 @@ public void setLanguageCode(LanguageCode languageCode) {
539560
*
540561
* @param languageCode <p>
541562
* The language code for the language used in the input media
542-
* file.
563+
* file. You must include either <code>LanguageCode</code> or
564+
* <code>IdentifyLanguage</code> in your request.
543565
* </p>
544566
* <p>
545567
* To transcribe speech in Modern Standard Arabic (ar-SA), your
@@ -1868,13 +1890,21 @@ public StartTranscriptionJobRequest withContentRedaction(ContentRedaction conten
18681890
* You receive a <code>BadRequestException</code> error if you enter a value
18691891
* for a <code>LanguageCode</code>.
18701892
* </p>
1893+
* <p>
1894+
* You must include either <code>LanguageCode</code> or
1895+
* <code>IdentifyLanguage</code> in your request.
1896+
* </p>
18711897
*
18721898
* @return <p>
18731899
* Set this field to <code>true</code> to enable automatic language
18741900
* identification. Automatic language identification is disabled by
18751901
* default. You receive a <code>BadRequestException</code> error if
18761902
* you enter a value for a <code>LanguageCode</code>.
18771903
* </p>
1904+
* <p>
1905+
* You must include either <code>LanguageCode</code> or
1906+
* <code>IdentifyLanguage</code> in your request.
1907+
* </p>
18781908
*/
18791909
public Boolean isIdentifyLanguage() {
18801910
return identifyLanguage;
@@ -1887,13 +1917,21 @@ public Boolean isIdentifyLanguage() {
18871917
* You receive a <code>BadRequestException</code> error if you enter a value
18881918
* for a <code>LanguageCode</code>.
18891919
* </p>
1920+
* <p>
1921+
* You must include either <code>LanguageCode</code> or
1922+
* <code>IdentifyLanguage</code> in your request.
1923+
* </p>
18901924
*
18911925
* @return <p>
18921926
* Set this field to <code>true</code> to enable automatic language
18931927
* identification. Automatic language identification is disabled by
18941928
* default. You receive a <code>BadRequestException</code> error if
18951929
* you enter a value for a <code>LanguageCode</code>.
18961930
* </p>
1931+
* <p>
1932+
* You must include either <code>LanguageCode</code> or
1933+
* <code>IdentifyLanguage</code> in your request.
1934+
* </p>
18971935
*/
18981936
public Boolean getIdentifyLanguage() {
18991937
return identifyLanguage;
@@ -1906,6 +1944,10 @@ public Boolean getIdentifyLanguage() {
19061944
* You receive a <code>BadRequestException</code> error if you enter a value
19071945
* for a <code>LanguageCode</code>.
19081946
* </p>
1947+
* <p>
1948+
* You must include either <code>LanguageCode</code> or
1949+
* <code>IdentifyLanguage</code> in your request.
1950+
* </p>
19091951
*
19101952
* @param identifyLanguage <p>
19111953
* Set this field to <code>true</code> to enable automatic
@@ -1914,6 +1956,10 @@ public Boolean getIdentifyLanguage() {
19141956
* <code>BadRequestException</code> error if you enter a value
19151957
* for a <code>LanguageCode</code>.
19161958
* </p>
1959+
* <p>
1960+
* You must include either <code>LanguageCode</code> or
1961+
* <code>IdentifyLanguage</code> in your request.
1962+
* </p>
19171963
*/
19181964
public void setIdentifyLanguage(Boolean identifyLanguage) {
19191965
this.identifyLanguage = identifyLanguage;
@@ -1927,6 +1973,10 @@ public void setIdentifyLanguage(Boolean identifyLanguage) {
19271973
* for a <code>LanguageCode</code>.
19281974
* </p>
19291975
* <p>
1976+
* You must include either <code>LanguageCode</code> or
1977+
* <code>IdentifyLanguage</code> in your request.
1978+
* </p>
1979+
* <p>
19301980
* Returns a reference to this object so that method calls can be chained
19311981
* together.
19321982
*
@@ -1937,6 +1987,10 @@ public void setIdentifyLanguage(Boolean identifyLanguage) {
19371987
* <code>BadRequestException</code> error if you enter a value
19381988
* for a <code>LanguageCode</code>.
19391989
* </p>
1990+
* <p>
1991+
* You must include either <code>LanguageCode</code> or
1992+
* <code>IdentifyLanguage</code> in your request.
1993+
* </p>
19401994
* @return A reference to this updated object so that method calls can be
19411995
* chained together.
19421996
*/

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

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,18 @@
2020
public class StartTranscriptionJobResult implements Serializable {
2121
/**
2222
* <p>
23-
* An object containing details of the asynchronous transcription job.
23+
* Provides information about your asynchronous transcription job.
2424
* </p>
2525
*/
2626
private TranscriptionJob transcriptionJob;
2727

2828
/**
2929
* <p>
30-
* An object containing details of the asynchronous transcription job.
30+
* Provides information about your asynchronous transcription job.
3131
* </p>
3232
*
3333
* @return <p>
34-
* An object containing details of the asynchronous transcription
35-
* job.
34+
* Provides information about your asynchronous transcription job.
3635
* </p>
3736
*/
3837
public TranscriptionJob getTranscriptionJob() {
@@ -41,11 +40,11 @@ public TranscriptionJob getTranscriptionJob() {
4140

4241
/**
4342
* <p>
44-
* An object containing details of the asynchronous transcription job.
43+
* Provides information about your asynchronous transcription job.
4544
* </p>
4645
*
4746
* @param transcriptionJob <p>
48-
* An object containing details of the asynchronous transcription
47+
* Provides information about your asynchronous transcription
4948
* job.
5049
* </p>
5150
*/
@@ -55,14 +54,14 @@ public void setTranscriptionJob(TranscriptionJob transcriptionJob) {
5554

5655
/**
5756
* <p>
58-
* An object containing details of the asynchronous transcription job.
57+
* Provides information about your asynchronous transcription job.
5958
* </p>
6059
* <p>
6160
* Returns a reference to this object so that method calls can be chained
6261
* together.
6362
*
6463
* @param transcriptionJob <p>
65-
* An object containing details of the asynchronous transcription
64+
* Provides information about your asynchronous transcription
6665
* job.
6766
* </p>
6867
* @return A reference to this updated object so that method calls can be

0 commit comments

Comments
 (0)