Skip to content

Commit

Permalink
feat(client-apprunner): AWS App Runner adds Python 3.11 and Node.js 1…
Browse files Browse the repository at this point in the history
…8 runtimes.
  • Loading branch information
awstools committed Dec 29, 2023
1 parent 20cf1b2 commit edf4079
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 11 deletions.
4 changes: 2 additions & 2 deletions clients/client-apprunner/src/commands/CreateServiceCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
* CodeConfiguration: { // CodeConfiguration
* ConfigurationSource: "REPOSITORY" || "API", // required
* CodeConfigurationValues: { // CodeConfigurationValues
* Runtime: "PYTHON_3" || "NODEJS_12" || "NODEJS_14" || "CORRETTO_8" || "CORRETTO_11" || "NODEJS_16" || "GO_1" || "DOTNET_6" || "PHP_81" || "RUBY_31", // required
* Runtime: "PYTHON_3" || "NODEJS_12" || "NODEJS_14" || "CORRETTO_8" || "CORRETTO_11" || "NODEJS_16" || "GO_1" || "DOTNET_6" || "PHP_81" || "RUBY_31" || "PYTHON_311" || "NODEJS_18", // required
* BuildCommand: "STRING_VALUE",
* StartCommand: "STRING_VALUE",
* Port: "STRING_VALUE",
Expand Down Expand Up @@ -147,7 +147,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
* // CodeConfiguration: { // CodeConfiguration
* // ConfigurationSource: "REPOSITORY" || "API", // required
* // CodeConfigurationValues: { // CodeConfigurationValues
* // Runtime: "PYTHON_3" || "NODEJS_12" || "NODEJS_14" || "CORRETTO_8" || "CORRETTO_11" || "NODEJS_16" || "GO_1" || "DOTNET_6" || "PHP_81" || "RUBY_31", // required
* // Runtime: "PYTHON_3" || "NODEJS_12" || "NODEJS_14" || "CORRETTO_8" || "CORRETTO_11" || "NODEJS_16" || "GO_1" || "DOTNET_6" || "PHP_81" || "RUBY_31" || "PYTHON_311" || "NODEJS_18", // required
* // BuildCommand: "STRING_VALUE",
* // StartCommand: "STRING_VALUE",
* // Port: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met
* // CodeConfiguration: { // CodeConfiguration
* // ConfigurationSource: "REPOSITORY" || "API", // required
* // CodeConfigurationValues: { // CodeConfigurationValues
* // Runtime: "PYTHON_3" || "NODEJS_12" || "NODEJS_14" || "CORRETTO_8" || "CORRETTO_11" || "NODEJS_16" || "GO_1" || "DOTNET_6" || "PHP_81" || "RUBY_31", // required
* // Runtime: "PYTHON_3" || "NODEJS_12" || "NODEJS_14" || "CORRETTO_8" || "CORRETTO_11" || "NODEJS_16" || "GO_1" || "DOTNET_6" || "PHP_81" || "RUBY_31" || "PYTHON_311" || "NODEJS_18", // required
* // BuildCommand: "STRING_VALUE",
* // StartCommand: "STRING_VALUE",
* // Port: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export interface DescribeServiceCommandOutput extends DescribeServiceResponse, _
* // CodeConfiguration: { // CodeConfiguration
* // ConfigurationSource: "REPOSITORY" || "API", // required
* // CodeConfigurationValues: { // CodeConfigurationValues
* // Runtime: "PYTHON_3" || "NODEJS_12" || "NODEJS_14" || "CORRETTO_8" || "CORRETTO_11" || "NODEJS_16" || "GO_1" || "DOTNET_6" || "PHP_81" || "RUBY_31", // required
* // Runtime: "PYTHON_3" || "NODEJS_12" || "NODEJS_14" || "CORRETTO_8" || "CORRETTO_11" || "NODEJS_16" || "GO_1" || "DOTNET_6" || "PHP_81" || "RUBY_31" || "PYTHON_311" || "NODEJS_18", // required
* // BuildCommand: "STRING_VALUE",
* // StartCommand: "STRING_VALUE",
* // Port: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export interface PauseServiceCommandOutput extends PauseServiceResponse, __Metad
* // CodeConfiguration: { // CodeConfiguration
* // ConfigurationSource: "REPOSITORY" || "API", // required
* // CodeConfigurationValues: { // CodeConfigurationValues
* // Runtime: "PYTHON_3" || "NODEJS_12" || "NODEJS_14" || "CORRETTO_8" || "CORRETTO_11" || "NODEJS_16" || "GO_1" || "DOTNET_6" || "PHP_81" || "RUBY_31", // required
* // Runtime: "PYTHON_3" || "NODEJS_12" || "NODEJS_14" || "CORRETTO_8" || "CORRETTO_11" || "NODEJS_16" || "GO_1" || "DOTNET_6" || "PHP_81" || "RUBY_31" || "PYTHON_311" || "NODEJS_18", // required
* // BuildCommand: "STRING_VALUE",
* // StartCommand: "STRING_VALUE",
* // Port: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export interface ResumeServiceCommandOutput extends ResumeServiceResponse, __Met
* // CodeConfiguration: { // CodeConfiguration
* // ConfigurationSource: "REPOSITORY" || "API", // required
* // CodeConfigurationValues: { // CodeConfigurationValues
* // Runtime: "PYTHON_3" || "NODEJS_12" || "NODEJS_14" || "CORRETTO_8" || "CORRETTO_11" || "NODEJS_16" || "GO_1" || "DOTNET_6" || "PHP_81" || "RUBY_31", // required
* // Runtime: "PYTHON_3" || "NODEJS_12" || "NODEJS_14" || "CORRETTO_8" || "CORRETTO_11" || "NODEJS_16" || "GO_1" || "DOTNET_6" || "PHP_81" || "RUBY_31" || "PYTHON_311" || "NODEJS_18", // required
* // BuildCommand: "STRING_VALUE",
* // StartCommand: "STRING_VALUE",
* // Port: "STRING_VALUE",
Expand Down
4 changes: 2 additions & 2 deletions clients/client-apprunner/src/commands/UpdateServiceCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
* CodeConfiguration: { // CodeConfiguration
* ConfigurationSource: "REPOSITORY" || "API", // required
* CodeConfigurationValues: { // CodeConfigurationValues
* Runtime: "PYTHON_3" || "NODEJS_12" || "NODEJS_14" || "CORRETTO_8" || "CORRETTO_11" || "NODEJS_16" || "GO_1" || "DOTNET_6" || "PHP_81" || "RUBY_31", // required
* Runtime: "PYTHON_3" || "NODEJS_12" || "NODEJS_14" || "CORRETTO_8" || "CORRETTO_11" || "NODEJS_16" || "GO_1" || "DOTNET_6" || "PHP_81" || "RUBY_31" || "PYTHON_311" || "NODEJS_18", // required
* BuildCommand: "STRING_VALUE",
* StartCommand: "STRING_VALUE",
* Port: "STRING_VALUE",
Expand Down Expand Up @@ -142,7 +142,7 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
* // CodeConfiguration: { // CodeConfiguration
* // ConfigurationSource: "REPOSITORY" || "API", // required
* // CodeConfigurationValues: { // CodeConfigurationValues
* // Runtime: "PYTHON_3" || "NODEJS_12" || "NODEJS_14" || "CORRETTO_8" || "CORRETTO_11" || "NODEJS_16" || "GO_1" || "DOTNET_6" || "PHP_81" || "RUBY_31", // required
* // Runtime: "PYTHON_3" || "NODEJS_12" || "NODEJS_14" || "CORRETTO_8" || "CORRETTO_11" || "NODEJS_16" || "GO_1" || "DOTNET_6" || "PHP_81" || "RUBY_31" || "PYTHON_311" || "NODEJS_18", // required
* // BuildCommand: "STRING_VALUE",
* // StartCommand: "STRING_VALUE",
* // Port: "STRING_VALUE",
Expand Down
6 changes: 4 additions & 2 deletions clients/client-apprunner/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -917,12 +917,12 @@ export interface NetworkConfiguration {

/**
* @public
* <p>App Runner provides you with the option to choose between <i>Internet Protocol version 4 (IPv4)</i> and <i>dual-stack</i> (IPv4 and IPv6)
* <p>App Runner provides you with the option to choose between <i>Internet Protocol version 4 (IPv4)</i> and <i>dual stack</i> (IPv4 and IPv6)
* for your incoming public network configuration. This is an optional parameter.
* If you do not specify an <code>IpAddressType</code>, it defaults to select IPv4.</p>
* <note>
* <p>
* Currently, App Runner supports dual-stack for only Public endpoint. Only IPv4 is supported for Private endpoint.
* Currently, App Runner supports dual stack for only Public endpoint. Only IPv4 is supported for Private endpoint.
* If you update a service that's using dual-stack Public endpoint to a Private endpoint, your App Runner service will default to support only IPv4 for Private endpoint and fail to receive traffic originating from IPv6 endpoint.
* </p>
* </note>
Expand Down Expand Up @@ -989,8 +989,10 @@ export const Runtime = {
NODEJS_12: "NODEJS_12",
NODEJS_14: "NODEJS_14",
NODEJS_16: "NODEJS_16",
NODEJS_18: "NODEJS_18",
PHP_81: "PHP_81",
PYTHON_3: "PYTHON_3",
PYTHON_311: "PYTHON_311",
RUBY_31: "RUBY_31",
} as const;

Expand Down
14 changes: 13 additions & 1 deletion codegen/sdk-codegen/aws-models/apprunner.json
Original file line number Diff line number Diff line change
Expand Up @@ -3989,7 +3989,7 @@
"IpAddressType": {
"target": "com.amazonaws.apprunner#IpAddressType",
"traits": {
"smithy.api#documentation": "<p>App Runner provides you with the option to choose between <i>Internet Protocol version 4 (IPv4)</i> and <i>dual-stack</i> (IPv4 and IPv6) \n for your incoming public network configuration. This is an optional parameter. \n If you do not specify an <code>IpAddressType</code>, it defaults to select IPv4.</p>\n <note>\n <p>\n Currently, App Runner supports dual-stack for only Public endpoint. Only IPv4 is supported for Private endpoint. \n If you update a service that's using dual-stack Public endpoint to a Private endpoint, your App Runner service will default to support only IPv4 for Private endpoint and fail to receive traffic originating from IPv6 endpoint. \n </p>\n </note>"
"smithy.api#documentation": "<p>App Runner provides you with the option to choose between <i>Internet Protocol version 4 (IPv4)</i> and <i>dual stack</i> (IPv4 and IPv6) \n for your incoming public network configuration. This is an optional parameter. \n If you do not specify an <code>IpAddressType</code>, it defaults to select IPv4.</p>\n <note>\n <p>\n Currently, App Runner supports dual stack for only Public endpoint. Only IPv4 is supported for Private endpoint. \n If you update a service that's using dual-stack Public endpoint to a Private endpoint, your App Runner service will default to support only IPv4 for Private endpoint and fail to receive traffic originating from IPv6 endpoint. \n </p>\n </note>"
}
}
},
Expand Down Expand Up @@ -4502,6 +4502,18 @@
"traits": {
"smithy.api#enumValue": "RUBY_31"
}
},
"PYTHON_311": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "PYTHON_311"
}
},
"NODEJS_18": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "NODEJS_18"
}
}
}
},
Expand Down

0 comments on commit edf4079

Please sign in to comment.