@aws-sdk/client-lambda 3.687.0 → 3.689.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 +3 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +3 -2
- package/dist-types/commands/GetFunctionCommand.d.ts +2 -1
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -1
- package/dist-types/commands/GetLayerVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +6 -6
- package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
- package/dist-types/commands/ListLayerVersionsCommand.d.ts +2 -2
- package/dist-types/commands/ListLayersCommand.d.ts +2 -2
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +1 -1
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +2 -2
- package/dist-types/commands/PublishVersionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +2 -1
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +71 -15
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -662,6 +662,7 @@ var Runtime = {
|
|
|
662
662
|
python310: "python3.10",
|
|
663
663
|
python311: "python3.11",
|
|
664
664
|
python312: "python3.12",
|
|
665
|
+
python313: "python3.13",
|
|
665
666
|
python36: "python3.6",
|
|
666
667
|
python37: "python3.7",
|
|
667
668
|
python38: "python3.8",
|
|
@@ -2393,6 +2394,7 @@ var se_UpdateFunctionCodeCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
2393
2394
|
S3Bucket: [],
|
|
2394
2395
|
S3Key: [],
|
|
2395
2396
|
S3ObjectVersion: [],
|
|
2397
|
+
SourceKMSKeyArn: [],
|
|
2396
2398
|
ZipFile: (_) => context.base64Encoder(_)
|
|
2397
2399
|
})
|
|
2398
2400
|
);
|
|
@@ -4485,6 +4487,7 @@ var se_FunctionCode = /* @__PURE__ */ __name((input, context) => {
|
|
|
4485
4487
|
S3Bucket: [],
|
|
4486
4488
|
S3Key: [],
|
|
4487
4489
|
S3ObjectVersion: [],
|
|
4490
|
+
SourceKMSKeyArn: [],
|
|
4488
4491
|
ZipFile: context.base64Encoder
|
|
4489
4492
|
});
|
|
4490
4493
|
}, "se_FunctionCode");
|
|
@@ -933,6 +933,7 @@ export const se_UpdateFunctionCodeCommand = async (input, context) => {
|
|
|
933
933
|
S3Bucket: [],
|
|
934
934
|
S3Key: [],
|
|
935
935
|
S3ObjectVersion: [],
|
|
936
|
+
SourceKMSKeyArn: [],
|
|
936
937
|
ZipFile: (_) => context.base64Encoder(_),
|
|
937
938
|
}));
|
|
938
939
|
b.m("PUT").h(headers).b(body);
|
|
@@ -3018,6 +3019,7 @@ const se_FunctionCode = (input, context) => {
|
|
|
3018
3019
|
S3Bucket: [],
|
|
3019
3020
|
S3Key: [],
|
|
3020
3021
|
S3ObjectVersion: [],
|
|
3022
|
+
SourceKMSKeyArn: [],
|
|
3021
3023
|
ZipFile: context.base64Encoder,
|
|
3022
3024
|
});
|
|
3023
3025
|
};
|
|
@@ -73,7 +73,7 @@ declare const CreateFunctionCommand_base: {
|
|
|
73
73
|
* const client = new LambdaClient(config);
|
|
74
74
|
* const input = { // CreateFunctionRequest
|
|
75
75
|
* FunctionName: "STRING_VALUE", // required
|
|
76
|
-
* Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
76
|
+
* Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
77
77
|
* Role: "STRING_VALUE", // required
|
|
78
78
|
* Handler: "STRING_VALUE",
|
|
79
79
|
* Code: { // FunctionCode
|
|
@@ -82,6 +82,7 @@ declare const CreateFunctionCommand_base: {
|
|
|
82
82
|
* S3Key: "STRING_VALUE",
|
|
83
83
|
* S3ObjectVersion: "STRING_VALUE",
|
|
84
84
|
* ImageUri: "STRING_VALUE",
|
|
85
|
+
* SourceKMSKeyArn: "STRING_VALUE",
|
|
85
86
|
* },
|
|
86
87
|
* Description: "STRING_VALUE",
|
|
87
88
|
* Timeout: Number("int"),
|
|
@@ -152,7 +153,7 @@ declare const CreateFunctionCommand_base: {
|
|
|
152
153
|
* // { // FunctionConfiguration
|
|
153
154
|
* // FunctionName: "STRING_VALUE",
|
|
154
155
|
* // FunctionArn: "STRING_VALUE",
|
|
155
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
156
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
156
157
|
* // Role: "STRING_VALUE",
|
|
157
158
|
* // Handler: "STRING_VALUE",
|
|
158
159
|
* // CodeSize: Number("long"),
|
|
@@ -46,7 +46,7 @@ declare const GetFunctionCommand_base: {
|
|
|
46
46
|
* // Configuration: { // FunctionConfiguration
|
|
47
47
|
* // FunctionName: "STRING_VALUE",
|
|
48
48
|
* // FunctionArn: "STRING_VALUE",
|
|
49
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
49
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
50
50
|
* // Role: "STRING_VALUE",
|
|
51
51
|
* // Handler: "STRING_VALUE",
|
|
52
52
|
* // CodeSize: Number("long"),
|
|
@@ -151,6 +151,7 @@ declare const GetFunctionCommand_base: {
|
|
|
151
151
|
* // Location: "STRING_VALUE",
|
|
152
152
|
* // ImageUri: "STRING_VALUE",
|
|
153
153
|
* // ResolvedImageUri: "STRING_VALUE",
|
|
154
|
+
* // SourceKMSKeyArn: "STRING_VALUE",
|
|
154
155
|
* // },
|
|
155
156
|
* // Tags: { // Tags
|
|
156
157
|
* // "<keys>": "STRING_VALUE",
|
|
@@ -45,7 +45,7 @@ declare const GetFunctionConfigurationCommand_base: {
|
|
|
45
45
|
* // { // 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" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
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" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
49
49
|
* // Role: "STRING_VALUE",
|
|
50
50
|
* // Handler: "STRING_VALUE",
|
|
51
51
|
* // CodeSize: Number("long"),
|
|
@@ -55,7 +55,7 @@ declare const GetLayerVersionByArnCommand_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" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
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" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
59
59
|
* // ],
|
|
60
60
|
* // LicenseInfo: "STRING_VALUE",
|
|
61
61
|
* // CompatibleArchitectures: [ // CompatibleArchitectures
|
|
@@ -56,7 +56,7 @@ declare const GetLayerVersionCommand_base: {
|
|
|
56
56
|
* // CreatedDate: "STRING_VALUE",
|
|
57
57
|
* // Version: Number("long"),
|
|
58
58
|
* // CompatibleRuntimes: [ // CompatibleRuntimes
|
|
59
|
-
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
59
|
+
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
60
60
|
* // ],
|
|
61
61
|
* // LicenseInfo: "STRING_VALUE",
|
|
62
62
|
* // CompatibleArchitectures: [ // CompatibleArchitectures
|
|
@@ -76,9 +76,9 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
|
|
|
76
76
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
77
77
|
*
|
|
78
78
|
* @public
|
|
79
|
-
* @example To
|
|
79
|
+
* @example To view a provisioned concurrency configuration
|
|
80
80
|
* ```javascript
|
|
81
|
-
* // The following example
|
|
81
|
+
* // The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified function.
|
|
82
82
|
* const input = {
|
|
83
83
|
* "FunctionName": "my-function",
|
|
84
84
|
* "Qualifier": "BLUE"
|
|
@@ -94,12 +94,12 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
|
|
|
94
94
|
* "Status": "READY"
|
|
95
95
|
* }
|
|
96
96
|
* *\/
|
|
97
|
-
* // example id: to-
|
|
97
|
+
* // example id: to-view-a-provisioned-concurrency-configuration-1586490192690
|
|
98
98
|
* ```
|
|
99
99
|
*
|
|
100
|
-
* @example To
|
|
100
|
+
* @example To get a provisioned concurrency configuration
|
|
101
101
|
* ```javascript
|
|
102
|
-
* // The following example
|
|
102
|
+
* // The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified function.
|
|
103
103
|
* const input = {
|
|
104
104
|
* "FunctionName": "my-function",
|
|
105
105
|
* "Qualifier": "BLUE"
|
|
@@ -115,7 +115,7 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
|
|
|
115
115
|
* "Status": "READY"
|
|
116
116
|
* }
|
|
117
117
|
* *\/
|
|
118
|
-
* // example id: to-
|
|
118
|
+
* // example id: to-get-a-provisioned-concurrency-configuration-1586490192690
|
|
119
119
|
* ```
|
|
120
120
|
*
|
|
121
121
|
*/
|
|
@@ -56,7 +56,7 @@ declare const ListFunctionsCommand_base: {
|
|
|
56
56
|
* // { // FunctionConfiguration
|
|
57
57
|
* // FunctionName: "STRING_VALUE",
|
|
58
58
|
* // FunctionArn: "STRING_VALUE",
|
|
59
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
59
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
60
60
|
* // Role: "STRING_VALUE",
|
|
61
61
|
* // Handler: "STRING_VALUE",
|
|
62
62
|
* // CodeSize: Number("long"),
|
|
@@ -38,7 +38,7 @@ declare const ListLayerVersionsCommand_base: {
|
|
|
38
38
|
* // const { LambdaClient, ListLayerVersionsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
39
39
|
* const client = new LambdaClient(config);
|
|
40
40
|
* const input = { // ListLayerVersionsRequest
|
|
41
|
-
* CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
41
|
+
* CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
42
42
|
* LayerName: "STRING_VALUE", // required
|
|
43
43
|
* Marker: "STRING_VALUE",
|
|
44
44
|
* MaxItems: Number("int"),
|
|
@@ -55,7 +55,7 @@ declare const ListLayerVersionsCommand_base: {
|
|
|
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" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
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" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
59
59
|
* // ],
|
|
60
60
|
* // LicenseInfo: "STRING_VALUE",
|
|
61
61
|
* // CompatibleArchitectures: [ // CompatibleArchitectures
|
|
@@ -40,7 +40,7 @@ declare const ListLayersCommand_base: {
|
|
|
40
40
|
* // const { LambdaClient, ListLayersCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
41
41
|
* const client = new LambdaClient(config);
|
|
42
42
|
* const input = { // ListLayersRequest
|
|
43
|
-
* CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
43
|
+
* CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
44
44
|
* Marker: "STRING_VALUE",
|
|
45
45
|
* MaxItems: Number("int"),
|
|
46
46
|
* CompatibleArchitecture: "x86_64" || "arm64",
|
|
@@ -59,7 +59,7 @@ declare const ListLayersCommand_base: {
|
|
|
59
59
|
* // Description: "STRING_VALUE",
|
|
60
60
|
* // CreatedDate: "STRING_VALUE",
|
|
61
61
|
* // CompatibleRuntimes: [ // CompatibleRuntimes
|
|
62
|
-
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
62
|
+
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
63
63
|
* // ],
|
|
64
64
|
* // LicenseInfo: "STRING_VALUE",
|
|
65
65
|
* // CompatibleArchitectures: [ // CompatibleArchitectures
|
|
@@ -48,7 +48,7 @@ declare const ListVersionsByFunctionCommand_base: {
|
|
|
48
48
|
* // { // FunctionConfiguration
|
|
49
49
|
* // FunctionName: "STRING_VALUE",
|
|
50
50
|
* // FunctionArn: "STRING_VALUE",
|
|
51
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
51
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
52
52
|
* // Role: "STRING_VALUE",
|
|
53
53
|
* // Handler: "STRING_VALUE",
|
|
54
54
|
* // CodeSize: Number("long"),
|
|
@@ -47,7 +47,7 @@ declare const PublishLayerVersionCommand_base: {
|
|
|
47
47
|
* ZipFile: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
|
|
48
48
|
* },
|
|
49
49
|
* CompatibleRuntimes: [ // CompatibleRuntimes
|
|
50
|
-
* "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
50
|
+
* "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
51
51
|
* ],
|
|
52
52
|
* LicenseInfo: "STRING_VALUE",
|
|
53
53
|
* CompatibleArchitectures: [ // CompatibleArchitectures
|
|
@@ -70,7 +70,7 @@ declare const PublishLayerVersionCommand_base: {
|
|
|
70
70
|
* // CreatedDate: "STRING_VALUE",
|
|
71
71
|
* // Version: Number("long"),
|
|
72
72
|
* // CompatibleRuntimes: [ // CompatibleRuntimes
|
|
73
|
-
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
73
|
+
* // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
74
74
|
* // ],
|
|
75
75
|
* // LicenseInfo: "STRING_VALUE",
|
|
76
76
|
* // CompatibleArchitectures: [ // CompatibleArchitectures
|
|
@@ -51,7 +51,7 @@ declare const PublishVersionCommand_base: {
|
|
|
51
51
|
* // { // FunctionConfiguration
|
|
52
52
|
* // FunctionName: "STRING_VALUE",
|
|
53
53
|
* // FunctionArn: "STRING_VALUE",
|
|
54
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
54
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
55
55
|
* // Role: "STRING_VALUE",
|
|
56
56
|
* // Handler: "STRING_VALUE",
|
|
57
57
|
* // CodeSize: Number("long"),
|
|
@@ -62,13 +62,14 @@ declare const UpdateFunctionCodeCommand_base: {
|
|
|
62
62
|
* Architectures: [ // ArchitecturesList
|
|
63
63
|
* "x86_64" || "arm64",
|
|
64
64
|
* ],
|
|
65
|
+
* SourceKMSKeyArn: "STRING_VALUE",
|
|
65
66
|
* };
|
|
66
67
|
* const command = new UpdateFunctionCodeCommand(input);
|
|
67
68
|
* const response = await client.send(command);
|
|
68
69
|
* // { // FunctionConfiguration
|
|
69
70
|
* // FunctionName: "STRING_VALUE",
|
|
70
71
|
* // FunctionArn: "STRING_VALUE",
|
|
71
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
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" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
72
73
|
* // Role: "STRING_VALUE",
|
|
73
74
|
* // Handler: "STRING_VALUE",
|
|
74
75
|
* // CodeSize: Number("long"),
|
|
@@ -66,7 +66,7 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
66
66
|
* "<keys>": "STRING_VALUE",
|
|
67
67
|
* },
|
|
68
68
|
* },
|
|
69
|
-
* Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
69
|
+
* Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
70
70
|
* DeadLetterConfig: { // DeadLetterConfig
|
|
71
71
|
* TargetArn: "STRING_VALUE",
|
|
72
72
|
* },
|
|
@@ -111,7 +111,7 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
111
111
|
* // { // FunctionConfiguration
|
|
112
112
|
* // FunctionName: "STRING_VALUE",
|
|
113
113
|
* // FunctionArn: "STRING_VALUE",
|
|
114
|
-
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
|
|
114
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13",
|
|
115
115
|
* // Role: "STRING_VALUE",
|
|
116
116
|
* // Handler: "STRING_VALUE",
|
|
117
117
|
* // CodeSize: Number("long"),
|
|
@@ -1375,6 +1375,12 @@ export interface FunctionCode {
|
|
|
1375
1375
|
* @public
|
|
1376
1376
|
*/
|
|
1377
1377
|
ImageUri?: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* <p>The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's
|
|
1380
|
+
* .zip deployment package. If you don't provide a customer managed key, Lambda uses an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk">Amazon Web Services owned key</a>.</p>
|
|
1381
|
+
* @public
|
|
1382
|
+
*/
|
|
1383
|
+
SourceKMSKeyArn?: string;
|
|
1378
1384
|
}
|
|
1379
1385
|
/**
|
|
1380
1386
|
* <p>The <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq">dead-letter queue</a> for
|
|
@@ -1555,6 +1561,7 @@ export declare const Runtime: {
|
|
|
1555
1561
|
readonly python310: "python3.10";
|
|
1556
1562
|
readonly python311: "python3.11";
|
|
1557
1563
|
readonly python312: "python3.12";
|
|
1564
|
+
readonly python313: "python3.13";
|
|
1558
1565
|
readonly python36: "python3.6";
|
|
1559
1566
|
readonly python37: "python3.7";
|
|
1560
1567
|
readonly python38: "python3.8";
|
|
@@ -1743,12 +1750,23 @@ export interface CreateFunctionRequest {
|
|
|
1743
1750
|
*/
|
|
1744
1751
|
Environment?: Environment;
|
|
1745
1752
|
/**
|
|
1746
|
-
* <p>The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt
|
|
1747
|
-
*
|
|
1748
|
-
*
|
|
1749
|
-
*
|
|
1750
|
-
*
|
|
1751
|
-
*
|
|
1753
|
+
* <p>The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt the following resources:</p>
|
|
1754
|
+
* <ul>
|
|
1755
|
+
* <li>
|
|
1756
|
+
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption">environment variables</a>.</p>
|
|
1757
|
+
* </li>
|
|
1758
|
+
* <li>
|
|
1759
|
+
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html">Lambda SnapStart</a> snapshots.</p>
|
|
1760
|
+
* </li>
|
|
1761
|
+
* <li>
|
|
1762
|
+
* <p>When used with <code>SourceKMSKeyArn</code>, the unzipped version of the .zip deployment package that's used for function invocations. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption">
|
|
1763
|
+
* Specifying a customer managed key for Lambda</a>.</p>
|
|
1764
|
+
* </li>
|
|
1765
|
+
* <li>
|
|
1766
|
+
* <p>The optimized version of the container image that's used for function invocations. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle">Function lifecycle</a>.</p>
|
|
1767
|
+
* </li>
|
|
1768
|
+
* </ul>
|
|
1769
|
+
* <p>If you don't provide a customer managed key, Lambda uses an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk">Amazon Web Services owned key</a> or an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">Amazon Web Services managed key</a>.</p>
|
|
1752
1770
|
* @public
|
|
1753
1771
|
*/
|
|
1754
1772
|
KMSKeyArn?: string;
|
|
@@ -2179,8 +2197,23 @@ export interface FunctionConfiguration {
|
|
|
2179
2197
|
*/
|
|
2180
2198
|
Environment?: EnvironmentResponse;
|
|
2181
2199
|
/**
|
|
2182
|
-
* <p>The
|
|
2183
|
-
*
|
|
2200
|
+
* <p>The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt the following resources:</p>
|
|
2201
|
+
* <ul>
|
|
2202
|
+
* <li>
|
|
2203
|
+
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption">environment variables</a>.</p>
|
|
2204
|
+
* </li>
|
|
2205
|
+
* <li>
|
|
2206
|
+
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html">Lambda SnapStart</a> snapshots.</p>
|
|
2207
|
+
* </li>
|
|
2208
|
+
* <li>
|
|
2209
|
+
* <p>When used with <code>SourceKMSKeyArn</code>, the unzipped version of the .zip deployment package that's used for function invocations. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption">
|
|
2210
|
+
* Specifying a customer managed key for Lambda</a>.</p>
|
|
2211
|
+
* </li>
|
|
2212
|
+
* <li>
|
|
2213
|
+
* <p>The optimized version of the container image that's used for function invocations. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle">Function lifecycle</a>.</p>
|
|
2214
|
+
* </li>
|
|
2215
|
+
* </ul>
|
|
2216
|
+
* <p>If you don't provide a customer managed key, Lambda uses an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk">Amazon Web Services owned key</a> or an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">Amazon Web Services managed key</a>.</p>
|
|
2184
2217
|
* @public
|
|
2185
2218
|
*/
|
|
2186
2219
|
KMSKeyArn?: string;
|
|
@@ -2904,6 +2937,12 @@ export interface FunctionCodeLocation {
|
|
|
2904
2937
|
* @public
|
|
2905
2938
|
*/
|
|
2906
2939
|
ResolvedImageUri?: string;
|
|
2940
|
+
/**
|
|
2941
|
+
* <p>The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's
|
|
2942
|
+
* .zip deployment package. If you don't provide a customer managed key, Lambda uses an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk">Amazon Web Services owned key</a>.</p>
|
|
2943
|
+
* @public
|
|
2944
|
+
*/
|
|
2945
|
+
SourceKMSKeyArn?: string;
|
|
2907
2946
|
}
|
|
2908
2947
|
/**
|
|
2909
2948
|
* @public
|
|
@@ -2948,7 +2987,7 @@ export interface GetFunctionResponse {
|
|
|
2948
2987
|
Code?: FunctionCodeLocation;
|
|
2949
2988
|
/**
|
|
2950
2989
|
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a>. Lambda
|
|
2951
|
-
* returns tag data only if you have explicit allow permissions for <a href="https://docs.aws.amazon.com/
|
|
2990
|
+
* returns tag data only if you have explicit allow permissions for <a href="https://docs.aws.amazon.com/lambda/latest/api/API_ListTags.html">lambda:ListTags</a>.</p>
|
|
2952
2991
|
* @public
|
|
2953
2992
|
*/
|
|
2954
2993
|
Tags?: Record<string, string>;
|
|
@@ -6185,6 +6224,12 @@ export interface UpdateFunctionCodeRequest {
|
|
|
6185
6224
|
* @public
|
|
6186
6225
|
*/
|
|
6187
6226
|
Architectures?: Architecture[];
|
|
6227
|
+
/**
|
|
6228
|
+
* <p>The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's
|
|
6229
|
+
* .zip deployment package. If you don't provide a customer managed key, Lambda uses an Amazon Web Services managed key.</p>
|
|
6230
|
+
* @public
|
|
6231
|
+
*/
|
|
6232
|
+
SourceKMSKeyArn?: string;
|
|
6188
6233
|
}
|
|
6189
6234
|
/**
|
|
6190
6235
|
* @public
|
|
@@ -6275,12 +6320,23 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
6275
6320
|
*/
|
|
6276
6321
|
DeadLetterConfig?: DeadLetterConfig;
|
|
6277
6322
|
/**
|
|
6278
|
-
* <p>The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt
|
|
6279
|
-
*
|
|
6280
|
-
*
|
|
6281
|
-
*
|
|
6282
|
-
*
|
|
6283
|
-
*
|
|
6323
|
+
* <p>The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt the following resources:</p>
|
|
6324
|
+
* <ul>
|
|
6325
|
+
* <li>
|
|
6326
|
+
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption">environment variables</a>.</p>
|
|
6327
|
+
* </li>
|
|
6328
|
+
* <li>
|
|
6329
|
+
* <p>The function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html">Lambda SnapStart</a> snapshots.</p>
|
|
6330
|
+
* </li>
|
|
6331
|
+
* <li>
|
|
6332
|
+
* <p>When used with <code>SourceKMSKeyArn</code>, the unzipped version of the .zip deployment package that's used for function invocations. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption">
|
|
6333
|
+
* Specifying a customer managed key for Lambda</a>.</p>
|
|
6334
|
+
* </li>
|
|
6335
|
+
* <li>
|
|
6336
|
+
* <p>The optimized version of the container image that's used for function invocations. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle">Function lifecycle</a>.</p>
|
|
6337
|
+
* </li>
|
|
6338
|
+
* </ul>
|
|
6339
|
+
* <p>If you don't provide a customer managed key, Lambda uses an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk">Amazon Web Services owned key</a> or an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">Amazon Web Services managed key</a>.</p>
|
|
6284
6340
|
* @public
|
|
6285
6341
|
*/
|
|
6286
6342
|
KMSKeyArn?: string;
|
|
@@ -348,6 +348,7 @@ export interface FunctionCode {
|
|
|
348
348
|
S3Key?: string;
|
|
349
349
|
S3ObjectVersion?: string;
|
|
350
350
|
ImageUri?: string;
|
|
351
|
+
SourceKMSKeyArn?: string;
|
|
351
352
|
}
|
|
352
353
|
export interface DeadLetterConfig {
|
|
353
354
|
TargetArn?: string;
|
|
@@ -421,6 +422,7 @@ export declare const Runtime: {
|
|
|
421
422
|
readonly python310: "python3.10";
|
|
422
423
|
readonly python311: "python3.11";
|
|
423
424
|
readonly python312: "python3.12";
|
|
425
|
+
readonly python313: "python3.13";
|
|
424
426
|
readonly python36: "python3.6";
|
|
425
427
|
readonly python37: "python3.7";
|
|
426
428
|
readonly python38: "python3.8";
|
|
@@ -743,6 +745,7 @@ export interface FunctionCodeLocation {
|
|
|
743
745
|
Location?: string;
|
|
744
746
|
ImageUri?: string;
|
|
745
747
|
ResolvedImageUri?: string;
|
|
748
|
+
SourceKMSKeyArn?: string;
|
|
746
749
|
}
|
|
747
750
|
export interface Concurrency {
|
|
748
751
|
ReservedConcurrentExecutions?: number;
|
|
@@ -1508,6 +1511,7 @@ export interface UpdateFunctionCodeRequest {
|
|
|
1508
1511
|
DryRun?: boolean;
|
|
1509
1512
|
RevisionId?: string;
|
|
1510
1513
|
Architectures?: Architecture[];
|
|
1514
|
+
SourceKMSKeyArn?: string;
|
|
1511
1515
|
}
|
|
1512
1516
|
export interface UpdateFunctionConfigurationRequest {
|
|
1513
1517
|
FunctionName: string | undefined;
|
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.
|
|
4
|
+
"version": "3.689.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",
|