@aws-sdk/client-lambda 3.314.0 → 3.316.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.
@@ -65,7 +65,7 @@ export interface CreateFunctionCommandOutput extends FunctionConfiguration, __Me
65
65
  * const client = new LambdaClient(config);
66
66
  * const input = { // CreateFunctionRequest
67
67
  * FunctionName: "STRING_VALUE", // required
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",
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",
69
69
  * Role: "STRING_VALUE", // required
70
70
  * Handler: "STRING_VALUE",
71
71
  * Code: { // FunctionCode
@@ -30,7 +30,7 @@ export interface ListLayerVersionsCommandOutput extends ListLayerVersionsRespons
30
30
  * // const { LambdaClient, ListLayerVersionsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
31
31
  * const client = new LambdaClient(config);
32
32
  * const input = { // ListLayerVersionsRequest
33
- * 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",
33
+ * 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",
34
34
  * LayerName: "STRING_VALUE", // required
35
35
  * Marker: "STRING_VALUE",
36
36
  * MaxItems: Number("int"),
@@ -32,7 +32,7 @@ export interface ListLayersCommandOutput extends ListLayersResponse, __MetadataB
32
32
  * // const { LambdaClient, ListLayersCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
33
33
  * const client = new LambdaClient(config);
34
34
  * const input = { // ListLayersRequest
35
- * 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",
35
+ * 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",
36
36
  * Marker: "STRING_VALUE",
37
37
  * MaxItems: Number("int"),
38
38
  * CompatibleArchitecture: "x86_64" || "arm64",
@@ -39,7 +39,7 @@ export interface PublishLayerVersionCommandOutput extends PublishLayerVersionRes
39
39
  * ZipFile: "BLOB_VALUE",
40
40
  * },
41
41
  * CompatibleRuntimes: [ // CompatibleRuntimes
42
- * "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",
42
+ * "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",
43
43
  * ],
44
44
  * LicenseInfo: "STRING_VALUE",
45
45
  * CompatibleArchitectures: [ // CompatibleArchitectures
@@ -57,7 +57,7 @@ export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfig
57
57
  * "<keys>": "STRING_VALUE",
58
58
  * },
59
59
  * },
60
- * 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",
60
+ * 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",
61
61
  * DeadLetterConfig: { // DeadLetterConfig
62
62
  * TargetArn: "STRING_VALUE",
63
63
  * },
@@ -1266,6 +1266,7 @@ export declare const Runtime: {
1266
1266
  readonly provided: "provided";
1267
1267
  readonly providedal2: "provided.al2";
1268
1268
  readonly python27: "python2.7";
1269
+ readonly python310: "python3.10";
1269
1270
  readonly python36: "python3.6";
1270
1271
  readonly python37: "python3.7";
1271
1272
  readonly python38: "python3.8";
@@ -264,7 +264,7 @@ import {
264
264
  UpdateFunctionUrlConfigCommandOutput,
265
265
  } from "./commands/UpdateFunctionUrlConfigCommand";
266
266
  import { LambdaClient } from "./LambdaClient";
267
- export declare class Lambda extends LambdaClient {
267
+ export interface Lambda {
268
268
  addLayerVersionPermission(
269
269
  args: AddLayerVersionPermissionCommandInput,
270
270
  options?: __HttpHandlerOptions
@@ -1136,3 +1136,4 @@ export declare class Lambda extends LambdaClient {
1136
1136
  cb: (err: any, data?: UpdateFunctionUrlConfigCommandOutput) => void
1137
1137
  ): void;
1138
1138
  }
1139
+ export declare class Lambda extends LambdaClient implements Lambda {}
@@ -375,6 +375,7 @@ export declare const Runtime: {
375
375
  readonly provided: "provided";
376
376
  readonly providedal2: "provided.al2";
377
377
  readonly python27: "python2.7";
378
+ readonly python310: "python3.10";
378
379
  readonly python36: "python3.6";
379
380
  readonly python37: "python3.7";
380
381
  readonly python38: "python3.8";
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.314.0",
4
+ "version": "3.316.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",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.312.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.310.0",
26
+ "@aws-sdk/credential-provider-node": "3.316.0",
27
27
  "@aws-sdk/eventstream-serde-browser": "3.310.0",
28
28
  "@aws-sdk/eventstream-serde-config-resolver": "3.310.0",
29
29
  "@aws-sdk/eventstream-serde-node": "3.310.0",
@@ -43,14 +43,14 @@
43
43
  "@aws-sdk/node-config-provider": "3.310.0",
44
44
  "@aws-sdk/node-http-handler": "3.310.0",
45
45
  "@aws-sdk/protocol-http": "3.310.0",
46
- "@aws-sdk/smithy-client": "3.310.0",
46
+ "@aws-sdk/smithy-client": "3.316.0",
47
47
  "@aws-sdk/types": "3.310.0",
48
48
  "@aws-sdk/url-parser": "3.310.0",
49
49
  "@aws-sdk/util-base64": "3.310.0",
50
50
  "@aws-sdk/util-body-length-browser": "3.310.0",
51
51
  "@aws-sdk/util-body-length-node": "3.310.0",
52
- "@aws-sdk/util-defaults-mode-browser": "3.310.0",
53
- "@aws-sdk/util-defaults-mode-node": "3.310.0",
52
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
53
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
54
54
  "@aws-sdk/util-endpoints": "3.310.0",
55
55
  "@aws-sdk/util-retry": "3.310.0",
56
56
  "@aws-sdk/util-user-agent-browser": "3.310.0",