@aws-sdk/client-lambda 3.345.0 → 3.346.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -230,6 +230,7 @@ exports.Runtime = {
230
230
  python39: "python3.9",
231
231
  ruby25: "ruby2.5",
232
232
  ruby27: "ruby2.7",
233
+ ruby32: "ruby3.2",
233
234
  };
234
235
  exports.SnapStartApplyOn = {
235
236
  None: "None",
@@ -216,6 +216,7 @@ export const Runtime = {
216
216
  python39: "python3.9",
217
217
  ruby25: "ruby2.5",
218
218
  ruby27: "ruby2.7",
219
+ ruby32: "ruby3.2",
219
220
  };
220
221
  export const SnapStartApplyOn = {
221
222
  None: "None",
@@ -69,7 +69,7 @@ export interface CreateFunctionCommandOutput extends FunctionConfiguration, __Me
69
69
  * const client = new LambdaClient(config);
70
70
  * const input = { // CreateFunctionRequest
71
71
  * FunctionName: "STRING_VALUE", // required
72
- * 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
72
+ * 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2",
73
73
  * Role: "STRING_VALUE", // required
74
74
  * Handler: "STRING_VALUE",
75
75
  * Code: { // FunctionCode
@@ -141,7 +141,7 @@ export interface CreateFunctionCommandOutput extends FunctionConfiguration, __Me
141
141
  * // { // FunctionConfiguration
142
142
  * // FunctionName: "STRING_VALUE",
143
143
  * // FunctionArn: "STRING_VALUE",
144
- * // 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
144
+ * // 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2",
145
145
  * // Role: "STRING_VALUE",
146
146
  * // Handler: "STRING_VALUE",
147
147
  * // CodeSize: Number("long"),
@@ -42,7 +42,7 @@ export interface GetFunctionCommandOutput extends GetFunctionResponse, __Metadat
42
42
  * // Configuration: { // FunctionConfiguration
43
43
  * // FunctionName: "STRING_VALUE",
44
44
  * // FunctionArn: "STRING_VALUE",
45
- * // 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
45
+ * // 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2",
46
46
  * // Role: "STRING_VALUE",
47
47
  * // Handler: "STRING_VALUE",
48
48
  * // CodeSize: Number("long"),
@@ -41,7 +41,7 @@ export interface GetFunctionConfigurationCommandOutput extends FunctionConfigura
41
41
  * // { // FunctionConfiguration
42
42
  * // FunctionName: "STRING_VALUE",
43
43
  * // FunctionArn: "STRING_VALUE",
44
- * // 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
44
+ * // 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2",
45
45
  * // Role: "STRING_VALUE",
46
46
  * // Handler: "STRING_VALUE",
47
47
  * // CodeSize: Number("long"),
@@ -51,7 +51,7 @@ export interface GetLayerVersionByArnCommandOutput extends GetLayerVersionRespon
51
51
  * // CreatedDate: "STRING_VALUE",
52
52
  * // Version: Number("long"),
53
53
  * // CompatibleRuntimes: [ // CompatibleRuntimes
54
- * // "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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
54
+ * // "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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2",
55
55
  * // ],
56
56
  * // LicenseInfo: "STRING_VALUE",
57
57
  * // CompatibleArchitectures: [ // CompatibleArchitectures
@@ -52,7 +52,7 @@ export interface GetLayerVersionCommandOutput extends GetLayerVersionResponse, _
52
52
  * // CreatedDate: "STRING_VALUE",
53
53
  * // Version: Number("long"),
54
54
  * // CompatibleRuntimes: [ // CompatibleRuntimes
55
- * // "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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
55
+ * // "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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2",
56
56
  * // ],
57
57
  * // LicenseInfo: "STRING_VALUE",
58
58
  * // CompatibleArchitectures: [ // CompatibleArchitectures
@@ -52,7 +52,7 @@ export interface ListFunctionsCommandOutput extends ListFunctionsResponse, __Met
52
52
  * // { // FunctionConfiguration
53
53
  * // FunctionName: "STRING_VALUE",
54
54
  * // FunctionArn: "STRING_VALUE",
55
- * // 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
55
+ * // 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2",
56
56
  * // Role: "STRING_VALUE",
57
57
  * // Handler: "STRING_VALUE",
58
58
  * // CodeSize: Number("long"),
@@ -34,7 +34,7 @@ export interface ListLayerVersionsCommandOutput extends ListLayerVersionsRespons
34
34
  * // const { LambdaClient, ListLayerVersionsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
35
35
  * const client = new LambdaClient(config);
36
36
  * const input = { // ListLayerVersionsRequest
37
- * 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
37
+ * 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2",
38
38
  * LayerName: "STRING_VALUE", // required
39
39
  * Marker: "STRING_VALUE",
40
40
  * MaxItems: Number("int"),
@@ -51,7 +51,7 @@ export interface ListLayerVersionsCommandOutput extends ListLayerVersionsRespons
51
51
  * // Description: "STRING_VALUE",
52
52
  * // CreatedDate: "STRING_VALUE",
53
53
  * // CompatibleRuntimes: [ // CompatibleRuntimes
54
- * // "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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
54
+ * // "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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2",
55
55
  * // ],
56
56
  * // LicenseInfo: "STRING_VALUE",
57
57
  * // CompatibleArchitectures: [ // CompatibleArchitectures
@@ -36,7 +36,7 @@ export interface ListLayersCommandOutput extends ListLayersResponse, __MetadataB
36
36
  * // const { LambdaClient, ListLayersCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
37
37
  * const client = new LambdaClient(config);
38
38
  * const input = { // ListLayersRequest
39
- * 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
39
+ * 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2",
40
40
  * Marker: "STRING_VALUE",
41
41
  * MaxItems: Number("int"),
42
42
  * CompatibleArchitecture: "x86_64" || "arm64",
@@ -55,7 +55,7 @@ export interface ListLayersCommandOutput extends ListLayersResponse, __MetadataB
55
55
  * // Description: "STRING_VALUE",
56
56
  * // CreatedDate: "STRING_VALUE",
57
57
  * // CompatibleRuntimes: [ // CompatibleRuntimes
58
- * // "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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
58
+ * // "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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2",
59
59
  * // ],
60
60
  * // LicenseInfo: "STRING_VALUE",
61
61
  * // CompatibleArchitectures: [ // CompatibleArchitectures
@@ -44,7 +44,7 @@ export interface ListVersionsByFunctionCommandOutput extends ListVersionsByFunct
44
44
  * // { // FunctionConfiguration
45
45
  * // FunctionName: "STRING_VALUE",
46
46
  * // FunctionArn: "STRING_VALUE",
47
- * // 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
47
+ * // 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2",
48
48
  * // Role: "STRING_VALUE",
49
49
  * // Handler: "STRING_VALUE",
50
50
  * // CodeSize: Number("long"),
@@ -43,7 +43,7 @@ export interface PublishLayerVersionCommandOutput extends PublishLayerVersionRes
43
43
  * ZipFile: "BLOB_VALUE",
44
44
  * },
45
45
  * CompatibleRuntimes: [ // CompatibleRuntimes
46
- * "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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
46
+ * "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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2",
47
47
  * ],
48
48
  * LicenseInfo: "STRING_VALUE",
49
49
  * CompatibleArchitectures: [ // CompatibleArchitectures
@@ -66,7 +66,7 @@ export interface PublishLayerVersionCommandOutput extends PublishLayerVersionRes
66
66
  * // CreatedDate: "STRING_VALUE",
67
67
  * // Version: Number("long"),
68
68
  * // CompatibleRuntimes: [ // CompatibleRuntimes
69
- * // "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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
69
+ * // "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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2",
70
70
  * // ],
71
71
  * // LicenseInfo: "STRING_VALUE",
72
72
  * // CompatibleArchitectures: [ // CompatibleArchitectures
@@ -47,7 +47,7 @@ export interface PublishVersionCommandOutput extends FunctionConfiguration, __Me
47
47
  * // { // FunctionConfiguration
48
48
  * // FunctionName: "STRING_VALUE",
49
49
  * // FunctionArn: "STRING_VALUE",
50
- * // 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
50
+ * // 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2",
51
51
  * // Role: "STRING_VALUE",
52
52
  * // Handler: "STRING_VALUE",
53
53
  * // CodeSize: Number("long"),
@@ -64,7 +64,7 @@ export interface UpdateFunctionCodeCommandOutput extends FunctionConfiguration,
64
64
  * // { // FunctionConfiguration
65
65
  * // FunctionName: "STRING_VALUE",
66
66
  * // FunctionArn: "STRING_VALUE",
67
- * // 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
67
+ * // 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2",
68
68
  * // Role: "STRING_VALUE",
69
69
  * // Handler: "STRING_VALUE",
70
70
  * // CodeSize: Number("long"),
@@ -61,7 +61,7 @@ export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfig
61
61
  * "<keys>": "STRING_VALUE",
62
62
  * },
63
63
  * },
64
- * 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
64
+ * 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2",
65
65
  * DeadLetterConfig: { // DeadLetterConfig
66
66
  * TargetArn: "STRING_VALUE",
67
67
  * },
@@ -100,7 +100,7 @@ export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfig
100
100
  * // { // FunctionConfiguration
101
101
  * // FunctionName: "STRING_VALUE",
102
102
  * // FunctionArn: "STRING_VALUE",
103
- * // 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17",
103
+ * // 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" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2",
104
104
  * // Role: "STRING_VALUE",
105
105
  * // Handler: "STRING_VALUE",
106
106
  * // CodeSize: Number("long"),
@@ -1046,7 +1046,7 @@ export interface EventSourceMappingConfiguration {
1046
1046
  * <p>(Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is -1,
1047
1047
  * which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.</p>
1048
1048
  * <note>
1049
- * <p>The minimum value that can be set is 60 seconds.</p>
1049
+ * <p>The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall within the parameter's absolute range, they are not allowed</p>
1050
1050
  * </note>
1051
1051
  */
1052
1052
  MaximumRecordAgeInSeconds?: number;
@@ -1274,6 +1274,7 @@ export declare const Runtime: {
1274
1274
  readonly python39: "python3.9";
1275
1275
  readonly ruby25: "ruby2.5";
1276
1276
  readonly ruby27: "ruby2.7";
1277
+ readonly ruby32: "ruby3.2";
1277
1278
  };
1278
1279
  /**
1279
1280
  * @public
@@ -1429,7 +1430,12 @@ export interface CreateFunctionRequest {
1429
1430
  */
1430
1431
  Environment?: Environment;
1431
1432
  /**
1432
- * <p>The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption">environment variables</a>. When <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html">Lambda SnapStart</a> is activated, this key is also used to encrypt your function's snapshot. If you don't provide a customer managed key, Lambda uses a default service key.</p>
1433
+ * <p>The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's
1434
+ * <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption">environment variables</a>. When
1435
+ * <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html">Lambda SnapStart</a> is activated, Lambda also uses
1436
+ * this key is to encrypt your function's snapshot. If you deploy your function using a container image, Lambda also uses this key to
1437
+ * encrypt your function when it's deployed. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR).
1438
+ * If you don't provide a customer managed key, Lambda uses a default service key.</p>
1433
1439
  */
1434
1440
  KMSKeyArn?: string;
1435
1441
  /**
@@ -2841,6 +2847,7 @@ export interface GetLayerVersionResponse {
2841
2847
  Version?: number;
2842
2848
  /**
2843
2849
  * <p>The layer's compatible runtimes.</p>
2850
+ * <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
2844
2851
  */
2845
2852
  CompatibleRuntimes?: (Runtime | string)[];
2846
2853
  /**
@@ -4168,6 +4175,7 @@ export interface ListFunctionUrlConfigsResponse {
4168
4175
  export interface ListLayersRequest {
4169
4176
  /**
4170
4177
  * <p>A runtime identifier. For example, <code>go1.x</code>.</p>
4178
+ * <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
4171
4179
  */
4172
4180
  CompatibleRuntime?: Runtime | string;
4173
4181
  /**
@@ -4208,6 +4216,7 @@ export interface LayerVersionsListItem {
4208
4216
  CreatedDate?: string;
4209
4217
  /**
4210
4218
  * <p>The layer's compatible runtimes.</p>
4219
+ * <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
4211
4220
  */
4212
4221
  CompatibleRuntimes?: (Runtime | string)[];
4213
4222
  /**
@@ -4258,6 +4267,7 @@ export interface ListLayersResponse {
4258
4267
  export interface ListLayerVersionsRequest {
4259
4268
  /**
4260
4269
  * <p>A runtime identifier. For example, <code>go1.x</code>.</p>
4270
+ * <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
4261
4271
  */
4262
4272
  CompatibleRuntime?: Runtime | string;
4263
4273
  /**
@@ -4487,6 +4497,7 @@ export interface PublishLayerVersionRequest {
4487
4497
  /**
4488
4498
  * <p>A list of compatible <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">function
4489
4499
  * runtimes</a>. Used for filtering with <a>ListLayers</a> and <a>ListLayerVersions</a>.</p>
4500
+ * <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
4490
4501
  */
4491
4502
  CompatibleRuntimes?: (Runtime | string)[];
4492
4503
  /**
@@ -4542,6 +4553,7 @@ export interface PublishLayerVersionResponse {
4542
4553
  Version?: number;
4543
4554
  /**
4544
4555
  * <p>The layer's compatible runtimes.</p>
4556
+ * <p>The following list includes deprecated runtimes. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy">Runtime deprecation policy</a>.</p>
4545
4557
  */
4546
4558
  CompatibleRuntimes?: (Runtime | string)[];
4547
4559
  /**
@@ -5347,7 +5359,12 @@ export interface UpdateFunctionConfigurationRequest {
5347
5359
  */
5348
5360
  DeadLetterConfig?: DeadLetterConfig;
5349
5361
  /**
5350
- * <p>The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption">environment variables</a>. When <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html">Lambda SnapStart</a> is activated, this key is also used to encrypt your function's snapshot. If you don't provide a customer managed key, Lambda uses a default service key.</p>
5362
+ * <p>The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's
5363
+ * <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption">environment variables</a>. When
5364
+ * <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html">Lambda SnapStart</a> is activated, Lambda also uses
5365
+ * this key is to encrypt your function's snapshot. If you deploy your function using a container image, Lambda also uses this key to
5366
+ * encrypt your function when it's deployed. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR).
5367
+ * If you don't provide a customer managed key, Lambda uses a default service key.</p>
5351
5368
  */
5352
5369
  KMSKeyArn?: string;
5353
5370
  /**
@@ -383,6 +383,7 @@ export declare const Runtime: {
383
383
  readonly python39: "python3.9";
384
384
  readonly ruby25: "ruby2.5";
385
385
  readonly ruby27: "ruby2.7";
386
+ readonly ruby32: "ruby3.2";
386
387
  };
387
388
  export type Runtime = (typeof Runtime)[keyof typeof Runtime];
388
389
  export declare const SnapStartApplyOn: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lambda",
3
3
  "description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
4
- "version": "3.345.0",
4
+ "version": "3.346.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",