Skip to content

Commit

Permalink
feat(client-polly): Add language code for Finnish (fi-FI)
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Dec 2, 2022
1 parent 3baeb44 commit a89edbc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/client-polly/src/endpoint/EndpointParameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const resolveClientEndpointParameters = <T>(
};

export interface EndpointParameters extends __EndpointParameters {
Region?: string;
Region: string;
UseDualStack?: boolean;
UseFIPS?: boolean;
Endpoint?: string;
Expand Down
2 changes: 1 addition & 1 deletion clients/client-polly/src/endpoint/ruleset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const ruleSet: RuleSetObject = {
parameters: {
Region: {
builtIn: "AWS::Region",
required: false,
required: true,
documentation: "The AWS region used to dispatch the request.",
type: "String",
},
Expand Down
1 change: 1 addition & 0 deletions clients/client-polly/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export enum LanguageCode {
es_ES = "es-ES",
es_MX = "es-MX",
es_US = "es-US",
fi_FI = "fi-FI",
fr_CA = "fr-CA",
fr_FR = "fr-FR",
hi_IN = "hi-IN",
Expand Down
8 changes: 7 additions & 1 deletion codegen/sdk-codegen/aws-models/polly.json
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,12 @@
"traits": {
"smithy.api#enumValue": "ar-AE"
}
},
"fi_FI": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "fi-FI"
}
}
}
},
Expand Down Expand Up @@ -1108,7 +1114,7 @@
"parameters": {
"Region": {
"builtIn": "AWS::Region",
"required": false,
"required": true,
"documentation": "The AWS region used to dispatch the request.",
"type": "String"
},
Expand Down

0 comments on commit a89edbc

Please sign in to comment.