Skip to content

Commit

Permalink
feat(client-connect): Amazon Connect Custom Vocabulary now supports C…
Browse files Browse the repository at this point in the history
…atalan (Spain), Danish (Denmark), Dutch (Netherlands), Finnish (Finland), Indonesian (Indonesia), Malay (Malaysia), Norwegian Bokmal (Norway), Polish (Poland), Swedish (Sweden), and Tagalog/Filipino (Philippines).
  • Loading branch information
awstools committed Sep 5, 2024
1 parent d340d53 commit 656877d
Show file tree
Hide file tree
Showing 7 changed files with 77 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export interface AssociateDefaultVocabularyCommandOutput extends AssociateDefaul
* const client = new ConnectClient(config);
* const input = { // AssociateDefaultVocabularyRequest
* InstanceId: "STRING_VALUE", // required
* LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA", // required
* LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA" || "ca-ES" || "da-DK" || "fi-FI" || "id-ID" || "ms-MY" || "nl-NL" || "no-NO" || "pl-PL" || "sv-SE" || "tl-PH", // required
* VocabularyId: "STRING_VALUE",
* };
* const command = new AssociateDefaultVocabularyCommand(input);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export interface CreateVocabularyCommandOutput extends CreateVocabularyResponse,
* ClientToken: "STRING_VALUE",
* InstanceId: "STRING_VALUE", // required
* VocabularyName: "STRING_VALUE", // required
* LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA", // required
* LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA" || "ca-ES" || "da-DK" || "fi-FI" || "id-ID" || "ms-MY" || "nl-NL" || "no-NO" || "pl-PL" || "sv-SE" || "tl-PH", // required
* Content: "STRING_VALUE", // required
* Tags: { // TagMap
* "<keys>": "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export interface DescribeVocabularyCommandOutput extends DescribeVocabularyRespo
* // Name: "STRING_VALUE", // required
* // Id: "STRING_VALUE", // required
* // Arn: "STRING_VALUE", // required
* // LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA", // required
* // LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA" || "ca-ES" || "da-DK" || "fi-FI" || "id-ID" || "ms-MY" || "nl-NL" || "no-NO" || "pl-PL" || "sv-SE" || "tl-PH", // required
* // State: "CREATION_IN_PROGRESS" || "ACTIVE" || "CREATION_FAILED" || "DELETE_IN_PROGRESS", // required
* // LastModifiedTime: new Date("TIMESTAMP"), // required
* // FailureReason: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface ListDefaultVocabulariesCommandOutput extends ListDefaultVocabul
* const client = new ConnectClient(config);
* const input = { // ListDefaultVocabulariesRequest
* InstanceId: "STRING_VALUE", // required
* LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA",
* LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA" || "ca-ES" || "da-DK" || "fi-FI" || "id-ID" || "ms-MY" || "nl-NL" || "no-NO" || "pl-PL" || "sv-SE" || "tl-PH",
* MaxResults: Number("int"),
* NextToken: "STRING_VALUE",
* };
Expand All @@ -47,7 +47,7 @@ export interface ListDefaultVocabulariesCommandOutput extends ListDefaultVocabul
* // DefaultVocabularyList: [ // DefaultVocabularyList // required
* // { // DefaultVocabulary
* // InstanceId: "STRING_VALUE", // required
* // LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA", // required
* // LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA" || "ca-ES" || "da-DK" || "fi-FI" || "id-ID" || "ms-MY" || "nl-NL" || "no-NO" || "pl-PL" || "sv-SE" || "tl-PH", // required
* // VocabularyId: "STRING_VALUE", // required
* // VocabularyName: "STRING_VALUE", // required
* // },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export interface SearchVocabulariesCommandOutput extends SearchVocabulariesRespo
* NextToken: "STRING_VALUE",
* State: "CREATION_IN_PROGRESS" || "ACTIVE" || "CREATION_FAILED" || "DELETE_IN_PROGRESS",
* NameStartsWith: "STRING_VALUE",
* LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA",
* LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA" || "ca-ES" || "da-DK" || "fi-FI" || "id-ID" || "ms-MY" || "nl-NL" || "no-NO" || "pl-PL" || "sv-SE" || "tl-PH",
* };
* const command = new SearchVocabulariesCommand(input);
* const response = await client.send(command);
Expand All @@ -52,7 +52,7 @@ export interface SearchVocabulariesCommandOutput extends SearchVocabulariesRespo
* // Name: "STRING_VALUE", // required
* // Id: "STRING_VALUE", // required
* // Arn: "STRING_VALUE", // required
* // LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA", // required
* // LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA" || "ca-ES" || "da-DK" || "fi-FI" || "id-ID" || "ms-MY" || "nl-NL" || "no-NO" || "pl-PL" || "sv-SE" || "tl-PH", // required
* // State: "CREATION_IN_PROGRESS" || "ACTIVE" || "CREATION_FAILED" || "DELETE_IN_PROGRESS", // required
* // LastModifiedTime: new Date("TIMESTAMP"), // required
* // FailureReason: "STRING_VALUE",
Expand Down
10 changes: 10 additions & 0 deletions clients/client-connect/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1220,6 +1220,8 @@ export class LimitExceededException extends __BaseException {
*/
export const VocabularyLanguageCode = {
AR_AE: "ar-AE",
CA_ES: "ca-ES",
DA_DK: "da-DK",
DE_CH: "de-CH",
DE_DE: "de-DE",
EN_AB: "en-AB",
Expand All @@ -1233,14 +1235,22 @@ export const VocabularyLanguageCode = {
EN_ZA: "en-ZA",
ES_ES: "es-ES",
ES_US: "es-US",
FI_FI: "fi-FI",
FR_CA: "fr-CA",
FR_FR: "fr-FR",
HI_IN: "hi-IN",
ID_ID: "id-ID",
IT_IT: "it-IT",
JA_JP: "ja-JP",
KO_KR: "ko-KR",
MS_MY: "ms-MY",
NL_NL: "nl-NL",
NO_NO: "no-NO",
PL_PL: "pl-PL",
PT_BR: "pt-BR",
PT_PT: "pt-PT",
SV_SE: "sv-SE",
TL_PH: "tl-PH",
ZH_CN: "zh-CN",
} as const;

Expand Down
60 changes: 60 additions & 0 deletions codegen/sdk-codegen/aws-models/connect.json
Original file line number Diff line number Diff line change
Expand Up @@ -41268,6 +41268,66 @@
"traits": {
"smithy.api#enumValue": "en-ZA"
}
},
"CA_ES": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "ca-ES"
}
},
"DA_DK": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "da-DK"
}
},
"FI_FI": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "fi-FI"
}
},
"ID_ID": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "id-ID"
}
},
"MS_MY": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "ms-MY"
}
},
"NL_NL": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "nl-NL"
}
},
"NO_NO": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "no-NO"
}
},
"PL_PL": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "pl-PL"
}
},
"SV_SE": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "sv-SE"
}
},
"TL_PH": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "tl-PH"
}
}
}
},
Expand Down

0 comments on commit 656877d

Please sign in to comment.