@aws-sdk/client-lambda 3.445.0 → 3.446.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.
@@ -216,6 +216,7 @@ exports.Runtime = {
216
216
  nodejs14x: "nodejs14.x",
217
217
  nodejs16x: "nodejs16.x",
218
218
  nodejs18x: "nodejs18.x",
219
+ nodejs20x: "nodejs20.x",
219
220
  nodejs43: "nodejs4.3",
220
221
  nodejs43edge: "nodejs4.3-edge",
221
222
  nodejs610: "nodejs6.10",
@@ -202,6 +202,7 @@ export const Runtime = {
202
202
  nodejs14x: "nodejs14.x",
203
203
  nodejs16x: "nodejs16.x",
204
204
  nodejs18x: "nodejs18.x",
205
+ nodejs20x: "nodejs20.x",
205
206
  nodejs43: "nodejs4.3",
206
207
  nodejs43edge: "nodejs4.3-edge",
207
208
  nodejs610: "nodejs6.10",
@@ -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" || "ruby3.2" || "python3.11",
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" || "python3.11" || "nodejs20.x",
73
73
  * Role: "STRING_VALUE", // required
74
74
  * Handler: "STRING_VALUE",
75
75
  * Code: { // FunctionCode
@@ -142,7 +142,7 @@ export interface CreateFunctionCommandOutput extends FunctionConfiguration, __Me
142
142
  * // { // FunctionConfiguration
143
143
  * // FunctionName: "STRING_VALUE",
144
144
  * // FunctionArn: "STRING_VALUE",
145
- * // 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" || "python3.11",
145
+ * // 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" || "python3.11" || "nodejs20.x",
146
146
  * // Role: "STRING_VALUE",
147
147
  * // Handler: "STRING_VALUE",
148
148
  * // 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" || "ruby3.2" || "python3.11",
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" || "python3.11" || "nodejs20.x",
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" || "ruby3.2" || "python3.11",
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" || "python3.11" || "nodejs20.x",
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" || "ruby3.2" || "python3.11",
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" || "python3.11" || "nodejs20.x",
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" || "ruby3.2" || "python3.11",
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" || "python3.11" || "nodejs20.x",
56
56
  * // ],
57
57
  * // LicenseInfo: "STRING_VALUE",
58
58
  * // CompatibleArchitectures: [ // CompatibleArchitectures
@@ -30,6 +30,10 @@ export interface InvokeAsyncCommandOutput extends InvokeAsyncResponse, __Metadat
30
30
  * <p>For asynchronous function invocation, use <a>Invoke</a>.</p>
31
31
  * </important>
32
32
  * <p>Invokes a function asynchronously.</p>
33
+ * <note>
34
+ * <p>If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not
35
+ * propagated to the function, even if X-Ray active tracing is turned on.</p>
36
+ * </note>
33
37
  * @example
34
38
  * Use a bare-bones client and the command you need to make an API call.
35
39
  * ```javascript
@@ -37,7 +37,10 @@ export interface InvokeCommandOutput extends InvokeCommandOutputType, __Metadata
37
37
  /**
38
38
  * @public
39
39
  * <p>Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or
40
- * asynchronously. To invoke a function asynchronously, set <code>InvocationType</code> to <code>Event</code>.</p>
40
+ * asynchronously. By default, Lambda invokes your function synchronously (i.e. the<code>InvocationType</code>
41
+ * is <code>RequestResponse</code>). To invoke a function asynchronously, set <code>InvocationType</code> to
42
+ * <code>Event</code>. Lambda passes the <code>ClientContext</code> object to your function for
43
+ * synchronous invocations only.</p>
41
44
  * <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-sync.html">synchronous invocation</a>,
42
45
  * details about the function response, including errors, are included in the response body and headers. For either
43
46
  * invocation type, you can find more information in the <a href="https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions.html">execution log</a> and <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html">trace</a>.</p>
@@ -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" || "ruby3.2" || "python3.11",
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" || "python3.11" || "nodejs20.x",
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" || "ruby3.2" || "python3.11",
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" || "python3.11" || "nodejs20.x",
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" || "ruby3.2" || "python3.11",
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" || "python3.11" || "nodejs20.x",
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" || "ruby3.2" || "python3.11",
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" || "python3.11" || "nodejs20.x",
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" || "ruby3.2" || "python3.11",
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" || "python3.11" || "nodejs20.x",
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" || "ruby3.2" || "python3.11",
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" || "python3.11" || "nodejs20.x",
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" || "ruby3.2" || "python3.11",
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" || "python3.11" || "nodejs20.x",
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" || "ruby3.2" || "python3.11",
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" || "python3.11" || "nodejs20.x",
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" || "ruby3.2" || "python3.11",
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" || "python3.11" || "nodejs20.x",
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" || "ruby3.2" || "python3.11",
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" || "python3.11" || "nodejs20.x",
68
68
  * // Role: "STRING_VALUE",
69
69
  * // Handler: "STRING_VALUE",
70
70
  * // CodeSize: Number("long"),
@@ -62,7 +62,7 @@ export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfig
62
62
  * "<keys>": "STRING_VALUE",
63
63
  * },
64
64
  * },
65
- * 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" || "python3.11",
65
+ * 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" || "python3.11" || "nodejs20.x",
66
66
  * DeadLetterConfig: { // DeadLetterConfig
67
67
  * TargetArn: "STRING_VALUE",
68
68
  * },
@@ -101,7 +101,7 @@ export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfig
101
101
  * // { // FunctionConfiguration
102
102
  * // FunctionName: "STRING_VALUE",
103
103
  * // FunctionArn: "STRING_VALUE",
104
- * // 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" || "python3.11",
104
+ * // 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" || "python3.11" || "nodejs20.x",
105
105
  * // Role: "STRING_VALUE",
106
106
  * // Handler: "STRING_VALUE",
107
107
  * // CodeSize: Number("long"),
@@ -1312,8 +1312,8 @@ export interface Environment {
1312
1312
  }
1313
1313
  /**
1314
1314
  * @public
1315
- * <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but it can be any
1316
- * whole number between 512 and 10,240 MB.</p>
1315
+ * <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
1316
+ * number between 512 and 10,240 MB. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage">Configuring ephemeral storage (console)</a>.</p>
1317
1317
  */
1318
1318
  export interface EphemeralStorage {
1319
1319
  /**
@@ -1395,6 +1395,7 @@ export declare const Runtime: {
1395
1395
  readonly nodejs14x: "nodejs14.x";
1396
1396
  readonly nodejs16x: "nodejs16.x";
1397
1397
  readonly nodejs18x: "nodejs18.x";
1398
+ readonly nodejs20x: "nodejs20.x";
1398
1399
  readonly nodejs43: "nodejs4.3";
1399
1400
  readonly nodejs43edge: "nodejs4.3-edge";
1400
1401
  readonly nodejs610: "nodejs6.10";
@@ -1638,7 +1639,7 @@ export interface CreateFunctionRequest {
1638
1639
  /**
1639
1640
  * @public
1640
1641
  * <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
1641
- * number between 512 and 10,240 MB.</p>
1642
+ * number between 512 and 10,240 MB. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage">Configuring ephemeral storage (console)</a>.</p>
1642
1643
  */
1643
1644
  EphemeralStorage?: EphemeralStorage;
1644
1645
  /**
@@ -2101,8 +2102,8 @@ export interface FunctionConfiguration {
2101
2102
  Architectures?: Architecture[];
2102
2103
  /**
2103
2104
  * @public
2104
- * <p>The size of the functions <code>/tmp</code> directory in MB. The default value is 512, but it can be any
2105
- * whole number between 512 and 10,240 MB.</p>
2105
+ * <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
2106
+ * number between 512 and 10,240 MB. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage">Configuring ephemeral storage (console)</a>.</p>
2106
2107
  */
2107
2108
  EphemeralStorage?: EphemeralStorage;
2108
2109
  /**
@@ -5992,7 +5993,7 @@ export interface UpdateFunctionConfigurationRequest {
5992
5993
  /**
5993
5994
  * @public
5994
5995
  * <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
5995
- * number between 512 and 10,240 MB.</p>
5996
+ * number between 512 and 10,240 MB. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage">Configuring ephemeral storage (console)</a>.</p>
5996
5997
  */
5997
5998
  EphemeralStorage?: EphemeralStorage;
5998
5999
  /**
@@ -369,6 +369,7 @@ export declare const Runtime: {
369
369
  readonly nodejs14x: "nodejs14.x";
370
370
  readonly nodejs16x: "nodejs16.x";
371
371
  readonly nodejs18x: "nodejs18.x";
372
+ readonly nodejs20x: "nodejs20.x";
372
373
  readonly nodejs43: "nodejs4.3";
373
374
  readonly nodejs43edge: "nodejs4.3-edge";
374
375
  readonly nodejs610: "nodejs6.10";
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.445.0",
4
+ "version": "3.446.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",