Skip to content

Commit

Permalink
feat(client-transcribe): Remove unsupported language codes for StartT…
Browse files Browse the repository at this point in the history
…ranscriptionJob and update VocabularyFileUri for UpdateMedicalVocabulary
  • Loading branch information
awstools committed Jul 22, 2022
1 parent 3cef41f commit 574cf7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
5 changes: 1 addition & 4 deletions clients/client-transcribe/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ export enum LanguageCode {
AF_ZA = "af-ZA",
AR_AE = "ar-AE",
AR_SA = "ar-SA",
CY_GB = "cy-GB",
DA_DK = "da-DK",
DE_CH = "de-CH",
DE_DE = "de-DE",
Expand All @@ -147,8 +146,6 @@ export enum LanguageCode {
FA_IR = "fa-IR",
FR_CA = "fr-CA",
FR_FR = "fr-FR",
GA_IE = "ga-IE",
GD_GB = "gd-GB",
HE_IL = "he-IL",
HI_IN = "hi-IN",
ID_ID = "id-ID",
Expand Down Expand Up @@ -5027,7 +5024,7 @@ export interface UpdateMedicalVocabularyRequest {
* <code>s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt</code>
* </p>
*/
VocabularyFileUri?: string;
VocabularyFileUri: string | undefined;
}

export namespace UpdateMedicalVocabularyRequest {
Expand Down
15 changes: 2 additions & 13 deletions codegen/sdk-codegen/aws-models/transcribe.json
Original file line number Diff line number Diff line change
Expand Up @@ -1977,10 +1977,6 @@
"value": "ar-SA",
"name": "AR_SA"
},
{
"value": "cy-GB",
"name": "CY_GB"
},
{
"value": "da-DK",
"name": "DA_DK"
Expand Down Expand Up @@ -2041,14 +2037,6 @@
"value": "fr-FR",
"name": "FR_FR"
},
{
"value": "ga-IE",
"name": "GA_IE"
},
{
"value": "gd-GB",
"name": "GD_GB"
},
{
"value": "he-IL",
"name": "HE_IL"
Expand Down Expand Up @@ -5182,7 +5170,8 @@
"VocabularyFileUri": {
"target": "com.amazonaws.transcribe#Uri",
"traits": {
"smithy.api#documentation": "<p>The Amazon S3 location of the text file that contains your custom medical \n vocabulary. The URI must be located in the same Amazon Web Services Region as the resource \n you're calling.</p>\n <p>Here's an example URI path:\n <code>s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt</code>\n </p>"
"smithy.api#documentation": "<p>The Amazon S3 location of the text file that contains your custom medical \n vocabulary. The URI must be located in the same Amazon Web Services Region as the resource \n you're calling.</p>\n <p>Here's an example URI path:\n <code>s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt</code>\n </p>",
"smithy.api#required": {}
}
}
}
Expand Down

0 comments on commit 574cf7e

Please sign in to comment.