From e88b05c55fb46805d796ef060d249b33533d06c7 Mon Sep 17 00:00:00 2001 From: awstools Date: Mon, 11 Nov 2024 19:12:23 +0000 Subject: [PATCH] feat(client-lambda): Add Python 3.13 (python3.13) support to AWS Lambda --- .../src/commands/CreateFunctionCommand.ts | 4 ++-- .../client-lambda/src/commands/GetFunctionCommand.ts | 2 +- .../src/commands/GetFunctionConfigurationCommand.ts | 2 +- .../src/commands/GetLayerVersionByArnCommand.ts | 2 +- .../src/commands/GetLayerVersionCommand.ts | 2 +- .../GetProvisionedConcurrencyConfigCommand.ts | 12 ++++++------ .../src/commands/ListFunctionsCommand.ts | 2 +- .../src/commands/ListLayerVersionsCommand.ts | 4 ++-- .../client-lambda/src/commands/ListLayersCommand.ts | 4 ++-- .../src/commands/ListVersionsByFunctionCommand.ts | 2 +- .../src/commands/PublishLayerVersionCommand.ts | 4 ++-- .../src/commands/PublishVersionCommand.ts | 2 +- .../src/commands/UpdateFunctionCodeCommand.ts | 2 +- .../commands/UpdateFunctionConfigurationCommand.ts | 4 ++-- clients/client-lambda/src/models/models_0.ts | 1 + codegen/sdk-codegen/aws-models/lambda.json | 6 ++++++ 16 files changed, 31 insertions(+), 24 deletions(-) diff --git a/clients/client-lambda/src/commands/CreateFunctionCommand.ts b/clients/client-lambda/src/commands/CreateFunctionCommand.ts index 30028ab7cb72..b249d286c61a 100644 --- a/clients/client-lambda/src/commands/CreateFunctionCommand.ts +++ b/clients/client-lambda/src/commands/CreateFunctionCommand.ts @@ -79,7 +79,7 @@ export interface CreateFunctionCommandOutput extends FunctionConfiguration, __Me * const client = new LambdaClient(config); * const input = { // CreateFunctionRequest * FunctionName: "STRING_VALUE", // required - * Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", + * Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13", * Role: "STRING_VALUE", // required * Handler: "STRING_VALUE", * Code: { // FunctionCode @@ -159,7 +159,7 @@ export interface CreateFunctionCommandOutput extends FunctionConfiguration, __Me * // { // FunctionConfiguration * // FunctionName: "STRING_VALUE", * // FunctionArn: "STRING_VALUE", - * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", + * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13", * // Role: "STRING_VALUE", * // Handler: "STRING_VALUE", * // CodeSize: Number("long"), diff --git a/clients/client-lambda/src/commands/GetFunctionCommand.ts b/clients/client-lambda/src/commands/GetFunctionCommand.ts index ab3cac5d387e..0e90a9db2aa9 100644 --- a/clients/client-lambda/src/commands/GetFunctionCommand.ts +++ b/clients/client-lambda/src/commands/GetFunctionCommand.ts @@ -47,7 +47,7 @@ export interface GetFunctionCommandOutput extends GetFunctionResponse, __Metadat * // Configuration: { // FunctionConfiguration * // FunctionName: "STRING_VALUE", * // FunctionArn: "STRING_VALUE", - * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", + * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13", * // Role: "STRING_VALUE", * // Handler: "STRING_VALUE", * // CodeSize: Number("long"), diff --git a/clients/client-lambda/src/commands/GetFunctionConfigurationCommand.ts b/clients/client-lambda/src/commands/GetFunctionConfigurationCommand.ts index ee71b1cd0b02..c05ef98a2535 100644 --- a/clients/client-lambda/src/commands/GetFunctionConfigurationCommand.ts +++ b/clients/client-lambda/src/commands/GetFunctionConfigurationCommand.ts @@ -50,7 +50,7 @@ export interface GetFunctionConfigurationCommandOutput extends FunctionConfigura * // { // FunctionConfiguration * // FunctionName: "STRING_VALUE", * // FunctionArn: "STRING_VALUE", - * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", + * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13", * // Role: "STRING_VALUE", * // Handler: "STRING_VALUE", * // CodeSize: Number("long"), diff --git a/clients/client-lambda/src/commands/GetLayerVersionByArnCommand.ts b/clients/client-lambda/src/commands/GetLayerVersionByArnCommand.ts index 43314e2f97fc..68093e2be400 100644 --- a/clients/client-lambda/src/commands/GetLayerVersionByArnCommand.ts +++ b/clients/client-lambda/src/commands/GetLayerVersionByArnCommand.ts @@ -56,7 +56,7 @@ export interface GetLayerVersionByArnCommandOutput extends GetLayerVersionRespon * // CreatedDate: "STRING_VALUE", * // Version: Number("long"), * // CompatibleRuntimes: [ // CompatibleRuntimes - * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", + * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13", * // ], * // LicenseInfo: "STRING_VALUE", * // CompatibleArchitectures: [ // CompatibleArchitectures diff --git a/clients/client-lambda/src/commands/GetLayerVersionCommand.ts b/clients/client-lambda/src/commands/GetLayerVersionCommand.ts index 7cd28befbd48..31a91d095db2 100644 --- a/clients/client-lambda/src/commands/GetLayerVersionCommand.ts +++ b/clients/client-lambda/src/commands/GetLayerVersionCommand.ts @@ -57,7 +57,7 @@ export interface GetLayerVersionCommandOutput extends GetLayerVersionResponse, _ * // CreatedDate: "STRING_VALUE", * // Version: Number("long"), * // CompatibleRuntimes: [ // CompatibleRuntimes - * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", + * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13", * // ], * // LicenseInfo: "STRING_VALUE", * // CompatibleArchitectures: [ // CompatibleArchitectures diff --git a/clients/client-lambda/src/commands/GetProvisionedConcurrencyConfigCommand.ts b/clients/client-lambda/src/commands/GetProvisionedConcurrencyConfigCommand.ts index 9a6dea44d948..670cc43d90bf 100644 --- a/clients/client-lambda/src/commands/GetProvisionedConcurrencyConfigCommand.ts +++ b/clients/client-lambda/src/commands/GetProvisionedConcurrencyConfigCommand.ts @@ -82,9 +82,9 @@ export interface GetProvisionedConcurrencyConfigCommandOutput *

Base exception class for all service exceptions from Lambda service.

* * @public - * @example To get a provisioned concurrency configuration + * @example To view a provisioned concurrency configuration * ```javascript - * // The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified function. + * // The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified function. * const input = { * "FunctionName": "my-function", * "Qualifier": "BLUE" @@ -100,12 +100,12 @@ export interface GetProvisionedConcurrencyConfigCommandOutput * "Status": "READY" * } * *\/ - * // example id: to-get-a-provisioned-concurrency-configuration-1586490192690 + * // example id: to-view-a-provisioned-concurrency-configuration-1586490192690 * ``` * - * @example To view a provisioned concurrency configuration + * @example To get a provisioned concurrency configuration * ```javascript - * // The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified function. + * // The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified function. * const input = { * "FunctionName": "my-function", * "Qualifier": "BLUE" @@ -121,7 +121,7 @@ export interface GetProvisionedConcurrencyConfigCommandOutput * "Status": "READY" * } * *\/ - * // example id: to-view-a-provisioned-concurrency-configuration-1586490192690 + * // example id: to-get-a-provisioned-concurrency-configuration-1586490192690 * ``` * */ diff --git a/clients/client-lambda/src/commands/ListFunctionsCommand.ts b/clients/client-lambda/src/commands/ListFunctionsCommand.ts index 492e103486d1..af92c7293239 100644 --- a/clients/client-lambda/src/commands/ListFunctionsCommand.ts +++ b/clients/client-lambda/src/commands/ListFunctionsCommand.ts @@ -61,7 +61,7 @@ export interface ListFunctionsCommandOutput extends ListFunctionsResponse, __Met * // { // FunctionConfiguration * // FunctionName: "STRING_VALUE", * // FunctionArn: "STRING_VALUE", - * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", + * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13", * // Role: "STRING_VALUE", * // Handler: "STRING_VALUE", * // CodeSize: Number("long"), diff --git a/clients/client-lambda/src/commands/ListLayerVersionsCommand.ts b/clients/client-lambda/src/commands/ListLayerVersionsCommand.ts index f071a9d1cc5f..eae953c51cae 100644 --- a/clients/client-lambda/src/commands/ListLayerVersionsCommand.ts +++ b/clients/client-lambda/src/commands/ListLayerVersionsCommand.ts @@ -39,7 +39,7 @@ export interface ListLayerVersionsCommandOutput extends ListLayerVersionsRespons * // const { LambdaClient, ListLayerVersionsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import * const client = new LambdaClient(config); * const input = { // ListLayerVersionsRequest - * CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", + * CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13", * LayerName: "STRING_VALUE", // required * Marker: "STRING_VALUE", * MaxItems: Number("int"), @@ -56,7 +56,7 @@ export interface ListLayerVersionsCommandOutput extends ListLayerVersionsRespons * // Description: "STRING_VALUE", * // CreatedDate: "STRING_VALUE", * // CompatibleRuntimes: [ // CompatibleRuntimes - * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", + * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13", * // ], * // LicenseInfo: "STRING_VALUE", * // CompatibleArchitectures: [ // CompatibleArchitectures diff --git a/clients/client-lambda/src/commands/ListLayersCommand.ts b/clients/client-lambda/src/commands/ListLayersCommand.ts index 62f5acd29bf7..5cf16992c647 100644 --- a/clients/client-lambda/src/commands/ListLayersCommand.ts +++ b/clients/client-lambda/src/commands/ListLayersCommand.ts @@ -41,7 +41,7 @@ export interface ListLayersCommandOutput extends ListLayersResponse, __MetadataB * // const { LambdaClient, ListLayersCommand } = require("@aws-sdk/client-lambda"); // CommonJS import * const client = new LambdaClient(config); * const input = { // ListLayersRequest - * CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", + * CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13", * Marker: "STRING_VALUE", * MaxItems: Number("int"), * CompatibleArchitecture: "x86_64" || "arm64", @@ -60,7 +60,7 @@ export interface ListLayersCommandOutput extends ListLayersResponse, __MetadataB * // Description: "STRING_VALUE", * // CreatedDate: "STRING_VALUE", * // CompatibleRuntimes: [ // CompatibleRuntimes - * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", + * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13", * // ], * // LicenseInfo: "STRING_VALUE", * // CompatibleArchitectures: [ // CompatibleArchitectures diff --git a/clients/client-lambda/src/commands/ListVersionsByFunctionCommand.ts b/clients/client-lambda/src/commands/ListVersionsByFunctionCommand.ts index 29cc2ba8cd2e..efadb94577f7 100644 --- a/clients/client-lambda/src/commands/ListVersionsByFunctionCommand.ts +++ b/clients/client-lambda/src/commands/ListVersionsByFunctionCommand.ts @@ -53,7 +53,7 @@ export interface ListVersionsByFunctionCommandOutput extends ListVersionsByFunct * // { // FunctionConfiguration * // FunctionName: "STRING_VALUE", * // FunctionArn: "STRING_VALUE", - * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", + * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13", * // Role: "STRING_VALUE", * // Handler: "STRING_VALUE", * // CodeSize: Number("long"), diff --git a/clients/client-lambda/src/commands/PublishLayerVersionCommand.ts b/clients/client-lambda/src/commands/PublishLayerVersionCommand.ts index 25ec75eb4a5d..cb546dd68e1a 100644 --- a/clients/client-lambda/src/commands/PublishLayerVersionCommand.ts +++ b/clients/client-lambda/src/commands/PublishLayerVersionCommand.ts @@ -52,7 +52,7 @@ export interface PublishLayerVersionCommandOutput extends PublishLayerVersionRes * ZipFile: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") * }, * CompatibleRuntimes: [ // CompatibleRuntimes - * "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", + * "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13", * ], * LicenseInfo: "STRING_VALUE", * CompatibleArchitectures: [ // CompatibleArchitectures @@ -75,7 +75,7 @@ export interface PublishLayerVersionCommandOutput extends PublishLayerVersionRes * // CreatedDate: "STRING_VALUE", * // Version: Number("long"), * // CompatibleRuntimes: [ // CompatibleRuntimes - * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", + * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13", * // ], * // LicenseInfo: "STRING_VALUE", * // CompatibleArchitectures: [ // CompatibleArchitectures diff --git a/clients/client-lambda/src/commands/PublishVersionCommand.ts b/clients/client-lambda/src/commands/PublishVersionCommand.ts index a93c44cfa76d..50ae04f5d86e 100644 --- a/clients/client-lambda/src/commands/PublishVersionCommand.ts +++ b/clients/client-lambda/src/commands/PublishVersionCommand.ts @@ -56,7 +56,7 @@ export interface PublishVersionCommandOutput extends FunctionConfiguration, __Me * // { // FunctionConfiguration * // FunctionName: "STRING_VALUE", * // FunctionArn: "STRING_VALUE", - * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", + * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13", * // Role: "STRING_VALUE", * // Handler: "STRING_VALUE", * // CodeSize: Number("long"), diff --git a/clients/client-lambda/src/commands/UpdateFunctionCodeCommand.ts b/clients/client-lambda/src/commands/UpdateFunctionCodeCommand.ts index 24ee05bde236..abcc81d64a39 100644 --- a/clients/client-lambda/src/commands/UpdateFunctionCodeCommand.ts +++ b/clients/client-lambda/src/commands/UpdateFunctionCodeCommand.ts @@ -75,7 +75,7 @@ export interface UpdateFunctionCodeCommandOutput extends FunctionConfiguration, * // { // FunctionConfiguration * // FunctionName: "STRING_VALUE", * // FunctionArn: "STRING_VALUE", - * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", + * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13", * // Role: "STRING_VALUE", * // Handler: "STRING_VALUE", * // CodeSize: Number("long"), diff --git a/clients/client-lambda/src/commands/UpdateFunctionConfigurationCommand.ts b/clients/client-lambda/src/commands/UpdateFunctionConfigurationCommand.ts index e756e1cee4b9..85c8dfe799c4 100644 --- a/clients/client-lambda/src/commands/UpdateFunctionConfigurationCommand.ts +++ b/clients/client-lambda/src/commands/UpdateFunctionConfigurationCommand.ts @@ -75,7 +75,7 @@ export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfig * "": "STRING_VALUE", * }, * }, - * Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", + * Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13", * DeadLetterConfig: { // DeadLetterConfig * TargetArn: "STRING_VALUE", * }, @@ -120,7 +120,7 @@ export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfig * // { // FunctionConfiguration * // FunctionName: "STRING_VALUE", * // FunctionArn: "STRING_VALUE", - * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", + * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13", * // Role: "STRING_VALUE", * // Handler: "STRING_VALUE", * // CodeSize: Number("long"), diff --git a/clients/client-lambda/src/models/models_0.ts b/clients/client-lambda/src/models/models_0.ts index f36ee3d6bd14..de883d083b25 100644 --- a/clients/client-lambda/src/models/models_0.ts +++ b/clients/client-lambda/src/models/models_0.ts @@ -1835,6 +1835,7 @@ export const Runtime = { python310: "python3.10", python311: "python3.11", python312: "python3.12", + python313: "python3.13", python36: "python3.6", python37: "python3.7", python38: "python3.8", diff --git a/codegen/sdk-codegen/aws-models/lambda.json b/codegen/sdk-codegen/aws-models/lambda.json index 2f1bd5adeda2..76bce97ea304 100644 --- a/codegen/sdk-codegen/aws-models/lambda.json +++ b/codegen/sdk-codegen/aws-models/lambda.json @@ -11238,6 +11238,12 @@ "traits": { "smithy.api#enumValue": "java21" } + }, + "python313": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "python3.13" + } } } },