@aws-sdk/client-lambda 3.515.0 → 3.518.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.
package/dist-cjs/index.js CHANGED
@@ -636,6 +636,7 @@ var PackageType = {
636
636
  };
637
637
  var Runtime = {
638
638
  dotnet6: "dotnet6",
639
+ dotnet8: "dotnet8",
639
640
  dotnetcore10: "dotnetcore1.0",
640
641
  dotnetcore20: "dotnetcore2.0",
641
642
  dotnetcore21: "dotnetcore2.1",
@@ -204,6 +204,7 @@ export const PackageType = {
204
204
  };
205
205
  export const Runtime = {
206
206
  dotnet6: "dotnet6",
207
+ dotnet8: "dotnet8",
207
208
  dotnetcore10: "dotnetcore1.0",
208
209
  dotnetcore20: "dotnetcore2.0",
209
210
  dotnetcore21: "dotnetcore2.1",
@@ -72,7 +72,7 @@ declare const CreateFunctionCommand_base: {
72
72
  * const client = new LambdaClient(config);
73
73
  * const input = { // CreateFunctionRequest
74
74
  * FunctionName: "STRING_VALUE", // required
75
- * 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" || "python3.12" || "java21",
75
+ * Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
76
76
  * Role: "STRING_VALUE", // required
77
77
  * Handler: "STRING_VALUE",
78
78
  * Code: { // FunctionCode
@@ -151,7 +151,7 @@ declare const CreateFunctionCommand_base: {
151
151
  * // { // FunctionConfiguration
152
152
  * // FunctionName: "STRING_VALUE",
153
153
  * // FunctionArn: "STRING_VALUE",
154
- * // 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" || "python3.12" || "java21",
154
+ * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
155
155
  * // Role: "STRING_VALUE",
156
156
  * // Handler: "STRING_VALUE",
157
157
  * // CodeSize: Number("long"),
@@ -45,7 +45,7 @@ declare const GetFunctionCommand_base: {
45
45
  * // Configuration: { // FunctionConfiguration
46
46
  * // FunctionName: "STRING_VALUE",
47
47
  * // FunctionArn: "STRING_VALUE",
48
- * // 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" || "python3.12" || "java21",
48
+ * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
49
49
  * // Role: "STRING_VALUE",
50
50
  * // Handler: "STRING_VALUE",
51
51
  * // CodeSize: Number("long"),
@@ -44,7 +44,7 @@ declare const GetFunctionConfigurationCommand_base: {
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" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
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" || "dotnet8" || "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" || "python3.12" || "java21",
48
48
  * // Role: "STRING_VALUE",
49
49
  * // Handler: "STRING_VALUE",
50
50
  * // CodeSize: Number("long"),
@@ -54,7 +54,7 @@ declare const GetLayerVersionByArnCommand_base: {
54
54
  * // CreatedDate: "STRING_VALUE",
55
55
  * // Version: Number("long"),
56
56
  * // CompatibleRuntimes: [ // CompatibleRuntimes
57
- * // "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" || "python3.12" || "java21",
57
+ * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
58
58
  * // ],
59
59
  * // LicenseInfo: "STRING_VALUE",
60
60
  * // CompatibleArchitectures: [ // CompatibleArchitectures
@@ -55,7 +55,7 @@ declare const GetLayerVersionCommand_base: {
55
55
  * // CreatedDate: "STRING_VALUE",
56
56
  * // Version: Number("long"),
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" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
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" || "dotnet8" || "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" || "python3.12" || "java21",
59
59
  * // ],
60
60
  * // LicenseInfo: "STRING_VALUE",
61
61
  * // CompatibleArchitectures: [ // CompatibleArchitectures
@@ -33,6 +33,10 @@ declare const InvokeAsyncCommand_base: {
33
33
  * <p>For asynchronous function invocation, use <a>Invoke</a>.</p>
34
34
  * </important>
35
35
  * <p>Invokes a function asynchronously.</p>
36
+ * <note>
37
+ * <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
38
+ * propagated to the function, even if X-Ray active tracing is turned on.</p>
39
+ * </note>
36
40
  * @example
37
41
  * Use a bare-bones client and the command you need to make an API call.
38
42
  * ```javascript
@@ -55,7 +55,7 @@ declare const ListFunctionsCommand_base: {
55
55
  * // { // FunctionConfiguration
56
56
  * // FunctionName: "STRING_VALUE",
57
57
  * // FunctionArn: "STRING_VALUE",
58
- * // 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" || "python3.12" || "java21",
58
+ * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
59
59
  * // Role: "STRING_VALUE",
60
60
  * // Handler: "STRING_VALUE",
61
61
  * // CodeSize: Number("long"),
@@ -37,7 +37,7 @@ declare const ListLayerVersionsCommand_base: {
37
37
  * // const { LambdaClient, ListLayerVersionsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
38
38
  * const client = new LambdaClient(config);
39
39
  * const input = { // ListLayerVersionsRequest
40
- * 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" || "python3.12" || "java21",
40
+ * CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
41
41
  * LayerName: "STRING_VALUE", // required
42
42
  * Marker: "STRING_VALUE",
43
43
  * MaxItems: Number("int"),
@@ -54,7 +54,7 @@ declare const ListLayerVersionsCommand_base: {
54
54
  * // Description: "STRING_VALUE",
55
55
  * // CreatedDate: "STRING_VALUE",
56
56
  * // CompatibleRuntimes: [ // CompatibleRuntimes
57
- * // "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" || "python3.12" || "java21",
57
+ * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
58
58
  * // ],
59
59
  * // LicenseInfo: "STRING_VALUE",
60
60
  * // CompatibleArchitectures: [ // CompatibleArchitectures
@@ -39,7 +39,7 @@ declare const ListLayersCommand_base: {
39
39
  * // const { LambdaClient, ListLayersCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
40
40
  * const client = new LambdaClient(config);
41
41
  * const input = { // ListLayersRequest
42
- * 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" || "python3.12" || "java21",
42
+ * CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
43
43
  * Marker: "STRING_VALUE",
44
44
  * MaxItems: Number("int"),
45
45
  * CompatibleArchitecture: "x86_64" || "arm64",
@@ -58,7 +58,7 @@ declare const ListLayersCommand_base: {
58
58
  * // Description: "STRING_VALUE",
59
59
  * // CreatedDate: "STRING_VALUE",
60
60
  * // CompatibleRuntimes: [ // CompatibleRuntimes
61
- * // "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" || "python3.12" || "java21",
61
+ * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
62
62
  * // ],
63
63
  * // LicenseInfo: "STRING_VALUE",
64
64
  * // CompatibleArchitectures: [ // CompatibleArchitectures
@@ -47,7 +47,7 @@ declare const ListVersionsByFunctionCommand_base: {
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" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
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" || "dotnet8" || "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" || "python3.12" || "java21",
51
51
  * // Role: "STRING_VALUE",
52
52
  * // Handler: "STRING_VALUE",
53
53
  * // CodeSize: Number("long"),
@@ -46,7 +46,7 @@ declare const PublishLayerVersionCommand_base: {
46
46
  * ZipFile: "BLOB_VALUE",
47
47
  * },
48
48
  * CompatibleRuntimes: [ // CompatibleRuntimes
49
- * "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" || "python3.12" || "java21",
49
+ * "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
50
50
  * ],
51
51
  * LicenseInfo: "STRING_VALUE",
52
52
  * CompatibleArchitectures: [ // CompatibleArchitectures
@@ -69,7 +69,7 @@ declare const PublishLayerVersionCommand_base: {
69
69
  * // CreatedDate: "STRING_VALUE",
70
70
  * // Version: Number("long"),
71
71
  * // CompatibleRuntimes: [ // CompatibleRuntimes
72
- * // "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" || "python3.12" || "java21",
72
+ * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
73
73
  * // ],
74
74
  * // LicenseInfo: "STRING_VALUE",
75
75
  * // CompatibleArchitectures: [ // CompatibleArchitectures
@@ -50,7 +50,7 @@ declare const PublishVersionCommand_base: {
50
50
  * // { // FunctionConfiguration
51
51
  * // FunctionName: "STRING_VALUE",
52
52
  * // FunctionArn: "STRING_VALUE",
53
- * // 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" || "python3.12" || "java21",
53
+ * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
54
54
  * // Role: "STRING_VALUE",
55
55
  * // Handler: "STRING_VALUE",
56
56
  * // CodeSize: Number("long"),
@@ -67,7 +67,7 @@ declare const UpdateFunctionCodeCommand_base: {
67
67
  * // { // FunctionConfiguration
68
68
  * // FunctionName: "STRING_VALUE",
69
69
  * // FunctionArn: "STRING_VALUE",
70
- * // 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" || "python3.12" || "java21",
70
+ * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
71
71
  * // Role: "STRING_VALUE",
72
72
  * // Handler: "STRING_VALUE",
73
73
  * // CodeSize: Number("long"),
@@ -65,7 +65,7 @@ declare const UpdateFunctionConfigurationCommand_base: {
65
65
  * "<keys>": "STRING_VALUE",
66
66
  * },
67
67
  * },
68
- * 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" || "python3.12" || "java21",
68
+ * Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
69
69
  * DeadLetterConfig: { // DeadLetterConfig
70
70
  * TargetArn: "STRING_VALUE",
71
71
  * },
@@ -110,7 +110,7 @@ declare const UpdateFunctionConfigurationCommand_base: {
110
110
  * // { // FunctionConfiguration
111
111
  * // FunctionName: "STRING_VALUE",
112
112
  * // FunctionArn: "STRING_VALUE",
113
- * // 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" || "python3.12" || "java21",
113
+ * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
114
114
  * // Role: "STRING_VALUE",
115
115
  * // Handler: "STRING_VALUE",
116
116
  * // CodeSize: Number("long"),
@@ -603,6 +603,15 @@ export interface OnFailure {
603
603
  /**
604
604
  * @public
605
605
  * <p>The Amazon Resource Name (ARN) of the destination resource.</p>
606
+ * <p>To retain records of <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations">asynchronous invocations</a>,
607
+ * you can configure an Amazon SNS topic, Amazon SQS queue, Lambda function,
608
+ * or Amazon EventBridge event bus as the destination.</p>
609
+ * <p>To retain records of failed invocations from <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#event-source-mapping-destinations">Kinesis and
610
+ * DynamoDB event sources</a>, you can configure an Amazon SNS topic or
611
+ * Amazon SQS queue as the destination.</p>
612
+ * <p>To retain records of failed invocations from <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination">self-managed Kafka</a> or
613
+ * <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination">Amazon MSK</a>,
614
+ * you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.</p>
606
615
  */
607
616
  Destination?: string;
608
617
  }
@@ -874,7 +883,7 @@ export interface CreateEventSourceMappingRequest {
874
883
  * </li>
875
884
  * <li>
876
885
  * <p>
877
- * <b>Amazon Managed Streaming for Apache Kafka</b> – The ARN of the cluster.</p>
886
+ * <b>Amazon Managed Streaming for Apache Kafka</b> – The ARN of the cluster or the ARN of the VPC connection (for <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#msk-multi-vpc">cross-account event source mappings</a>).</p>
878
887
  * </li>
879
888
  * <li>
880
889
  * <p>
@@ -993,7 +1002,7 @@ export interface CreateEventSourceMappingRequest {
993
1002
  StartingPositionTimestamp?: Date;
994
1003
  /**
995
1004
  * @public
996
- * <p>(Kinesis and DynamoDB Streams only) A standard Amazon SQS queue or standard Amazon SNS topic destination for discarded records.</p>
1005
+ * <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only) A configuration object that specifies the destination of an event after Lambda processes it.</p>
997
1006
  */
998
1007
  DestinationConfig?: DestinationConfig;
999
1008
  /**
@@ -1147,7 +1156,7 @@ export interface EventSourceMappingConfiguration {
1147
1156
  StateTransitionReason?: string;
1148
1157
  /**
1149
1158
  * @public
1150
- * <p>(Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.</p>
1159
+ * <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event sources only) A configuration object that specifies the destination of an event after Lambda processes it.</p>
1151
1160
  */
1152
1161
  DestinationConfig?: DestinationConfig;
1153
1162
  /**
@@ -1328,8 +1337,8 @@ export interface Environment {
1328
1337
  }
1329
1338
  /**
1330
1339
  * @public
1331
- * <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but it can be any
1332
- * whole number between 512 and 10,240 MB.</p>
1340
+ * <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
1341
+ * 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>
1333
1342
  */
1334
1343
  export interface EphemeralStorage {
1335
1344
  /**
@@ -1417,13 +1426,13 @@ export interface LoggingConfig {
1417
1426
  /**
1418
1427
  * @public
1419
1428
  * <p>Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the
1420
- * selected level and lower.</p>
1429
+ * selected level of detail and lower, where <code>TRACE</code> is the highest level and <code>FATAL</code> is the lowest.</p>
1421
1430
  */
1422
1431
  ApplicationLogLevel?: ApplicationLogLevel;
1423
1432
  /**
1424
1433
  * @public
1425
1434
  * <p>Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the
1426
- * selected level and lower.</p>
1435
+ * selected level of detail and lower, where <code>DEBUG</code> is the highest level and <code>WARN</code> is the lowest.</p>
1427
1436
  */
1428
1437
  SystemLogLevel?: SystemLogLevel;
1429
1438
  /**
@@ -1451,6 +1460,7 @@ export type PackageType = (typeof PackageType)[keyof typeof PackageType];
1451
1460
  */
1452
1461
  export declare const Runtime: {
1453
1462
  readonly dotnet6: "dotnet6";
1463
+ readonly dotnet8: "dotnet8";
1454
1464
  readonly dotnetcore10: "dotnetcore1.0";
1455
1465
  readonly dotnetcore20: "dotnetcore2.0";
1456
1466
  readonly dotnetcore21: "dotnetcore2.1";
@@ -1713,7 +1723,7 @@ export interface CreateFunctionRequest {
1713
1723
  /**
1714
1724
  * @public
1715
1725
  * <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
1716
- * number between 512 and 10,240 MB.</p>
1726
+ * 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>
1717
1727
  */
1718
1728
  EphemeralStorage?: EphemeralStorage;
1719
1729
  /**
@@ -2181,8 +2191,8 @@ export interface FunctionConfiguration {
2181
2191
  Architectures?: Architecture[];
2182
2192
  /**
2183
2193
  * @public
2184
- * <p>The size of the functions <code>/tmp</code> directory in MB. The default value is 512, but it can be any
2185
- * whole number between 512 and 10,240 MB.</p>
2194
+ * <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
2195
+ * 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>
2186
2196
  */
2187
2197
  EphemeralStorage?: EphemeralStorage;
2188
2198
  /**
@@ -3791,7 +3801,8 @@ export interface InvocationRequest {
3791
3801
  /**
3792
3802
  * @public
3793
3803
  * <p>Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context
3794
- * object.</p>
3804
+ * object. Lambda passes the <code>ClientContext</code> object to your function for
3805
+ * synchronous invocations only.</p>
3795
3806
  */
3796
3807
  ClientContext?: string;
3797
3808
  /**
@@ -4368,7 +4379,7 @@ export interface ListEventSourceMappingsRequest {
4368
4379
  * </li>
4369
4380
  * <li>
4370
4381
  * <p>
4371
- * <b>Amazon Managed Streaming for Apache Kafka</b> – The ARN of the cluster.</p>
4382
+ * <b>Amazon Managed Streaming for Apache Kafka</b> – The ARN of the cluster or the ARN of the VPC connection (for <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#msk-multi-vpc">cross-account event source mappings</a>).</p>
4372
4383
  * </li>
4373
4384
  * <li>
4374
4385
  * <p>
@@ -4700,7 +4711,7 @@ export interface ListFunctionUrlConfigsResponse {
4700
4711
  export interface ListLayersRequest {
4701
4712
  /**
4702
4713
  * @public
4703
- * <p>A runtime identifier. For example, <code>go1.x</code>.</p>
4714
+ * <p>A runtime identifier. For example, <code>java21</code>.</p>
4704
4715
  * <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>
4705
4716
  */
4706
4717
  CompatibleRuntime?: Runtime;
@@ -4808,7 +4819,7 @@ export interface ListLayersResponse {
4808
4819
  export interface ListLayerVersionsRequest {
4809
4820
  /**
4810
4821
  * @public
4811
- * <p>A runtime identifier. For example, <code>go1.x</code>.</p>
4822
+ * <p>A runtime identifier. For example, <code>java21</code>.</p>
4812
4823
  * <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>
4813
4824
  */
4814
4825
  CompatibleRuntime?: Runtime;
@@ -5822,7 +5833,7 @@ export interface UpdateEventSourceMappingRequest {
5822
5833
  MaximumBatchingWindowInSeconds?: number;
5823
5834
  /**
5824
5835
  * @public
5825
- * <p>(Kinesis and DynamoDB Streams only) A standard Amazon SQS queue or standard Amazon SNS topic destination for discarded records.</p>
5836
+ * <p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only) A configuration object that specifies the destination of an event after Lambda processes it.</p>
5826
5837
  */
5827
5838
  DestinationConfig?: DestinationConfig;
5828
5839
  /**
@@ -6077,7 +6088,7 @@ export interface UpdateFunctionConfigurationRequest {
6077
6088
  /**
6078
6089
  * @public
6079
6090
  * <p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole
6080
- * number between 512 and 10,240 MB.</p>
6091
+ * 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>
6081
6092
  */
6082
6093
  EphemeralStorage?: EphemeralStorage;
6083
6094
  /**
@@ -382,6 +382,7 @@ export declare const PackageType: {
382
382
  export type PackageType = (typeof PackageType)[keyof typeof PackageType];
383
383
  export declare const Runtime: {
384
384
  readonly dotnet6: "dotnet6";
385
+ readonly dotnet8: "dotnet8";
385
386
  readonly dotnetcore10: "dotnetcore1.0";
386
387
  readonly dotnetcore20: "dotnetcore2.0";
387
388
  readonly dotnetcore21: "dotnetcore2.1";
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.515.0",
4
+ "version": "3.518.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-lambda",