@aws-sdk/client-lambda 3.445.0 → 3.448.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,12 +216,14 @@ 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",
222
223
  nodejs810: "nodejs8.10",
223
224
  provided: "provided",
224
225
  providedal2: "provided.al2",
226
+ providedal2023: "provided.al2023",
225
227
  python27: "python2.7",
226
228
  python310: "python3.10",
227
229
  python311: "python3.11",
@@ -202,12 +202,14 @@ 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",
208
209
  nodejs810: "nodejs8.10",
209
210
  provided: "provided",
210
211
  providedal2: "provided.al2",
212
+ providedal2023: "provided.al2023",
211
213
  python27: "python2.7",
212
214
  python310: "python3.10",
213
215
  python311: "python3.11",
@@ -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" || "provided.al2023",
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" || "provided.al2023",
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" || "provided.al2023",
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" || "provided.al2023",
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" || "provided.al2023",
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" || "provided.al2023",
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" || "provided.al2023",
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" || "provided.al2023",
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" || "provided.al2023",
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" || "provided.al2023",
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" || "provided.al2023",
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" || "provided.al2023",
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" || "provided.al2023",
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" || "provided.al2023",
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" || "provided.al2023",
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" || "provided.al2023",
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" || "provided.al2023",
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" || "provided.al2023",
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,12 +1395,14 @@ 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";
1401
1402
  readonly nodejs810: "nodejs8.10";
1402
1403
  readonly provided: "provided";
1403
1404
  readonly providedal2: "provided.al2";
1405
+ readonly providedal2023: "provided.al2023";
1404
1406
  readonly python27: "python2.7";
1405
1407
  readonly python310: "python3.10";
1406
1408
  readonly python311: "python3.11";
@@ -1638,7 +1640,7 @@ export interface CreateFunctionRequest {
1638
1640
  /**
1639
1641
  * @public
1640
1642
  * <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>
1643
+ * 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
1644
  */
1643
1645
  EphemeralStorage?: EphemeralStorage;
1644
1646
  /**
@@ -2101,8 +2103,8 @@ export interface FunctionConfiguration {
2101
2103
  Architectures?: Architecture[];
2102
2104
  /**
2103
2105
  * @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>
2106
+ * <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
2107
+ * 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
2108
  */
2107
2109
  EphemeralStorage?: EphemeralStorage;
2108
2110
  /**
@@ -5992,7 +5994,7 @@ export interface UpdateFunctionConfigurationRequest {
5992
5994
  /**
5993
5995
  * @public
5994
5996
  * <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>
5997
+ * 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
5998
  */
5997
5999
  EphemeralStorage?: EphemeralStorage;
5998
6000
  /**
@@ -369,12 +369,14 @@ 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";
375
376
  readonly nodejs810: "nodejs8.10";
376
377
  readonly provided: "provided";
377
378
  readonly providedal2: "provided.al2";
379
+ readonly providedal2023: "provided.al2023";
378
380
  readonly python27: "python2.7";
379
381
  readonly python310: "python3.10";
380
382
  readonly python311: "python3.11";
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.448.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",