@aws-sdk/client-lambda 3.529.0 → 3.533.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.
@@ -76,7 +76,7 @@ declare const CreateFunctionCommand_base: {
76
76
  * Role: "STRING_VALUE", // required
77
77
  * Handler: "STRING_VALUE",
78
78
  * Code: { // FunctionCode
79
- * ZipFile: "BLOB_VALUE",
79
+ * ZipFile: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
80
80
  * S3Bucket: "STRING_VALUE",
81
81
  * S3Key: "STRING_VALUE",
82
82
  * S3ObjectVersion: "STRING_VALUE",
@@ -45,7 +45,7 @@ declare const InvokeAsyncCommand_base: {
45
45
  * const client = new LambdaClient(config);
46
46
  * const input = { // InvokeAsyncRequest
47
47
  * FunctionName: "STRING_VALUE", // required
48
- * InvokeArgs: "STREAMING_BLOB_VALUE", // required
48
+ * InvokeArgs: "MULTIPLE_TYPES_ACCEPTED", // see \@smithy/types -> StreamingBlobPayloadInputTypes // required
49
49
  * };
50
50
  * const command = new InvokeAsyncCommand(input);
51
51
  * const response = await client.send(command);
@@ -78,7 +78,7 @@ declare const InvokeCommand_base: {
78
78
  * InvocationType: "Event" || "RequestResponse" || "DryRun",
79
79
  * LogType: "None" || "Tail",
80
80
  * ClientContext: "STRING_VALUE",
81
- * Payload: "BLOB_VALUE",
81
+ * Payload: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
82
82
  * Qualifier: "STRING_VALUE",
83
83
  * };
84
84
  * const command = new InvokeCommand(input);
@@ -87,7 +87,7 @@ declare const InvokeCommand_base: {
87
87
  * // StatusCode: Number("int"),
88
88
  * // FunctionError: "STRING_VALUE",
89
89
  * // LogResult: "STRING_VALUE",
90
- * // Payload: "BLOB_VALUE",
90
+ * // Payload: new Uint8Array(),
91
91
  * // ExecutedVersion: "STRING_VALUE",
92
92
  * // };
93
93
  *
@@ -48,7 +48,7 @@ declare const InvokeWithResponseStreamCommand_base: {
48
48
  * LogType: "None" || "Tail",
49
49
  * ClientContext: "STRING_VALUE",
50
50
  * Qualifier: "STRING_VALUE",
51
- * Payload: "BLOB_VALUE",
51
+ * Payload: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
52
52
  * };
53
53
  * const command = new InvokeWithResponseStreamCommand(input);
54
54
  * const response = await client.send(command);
@@ -57,7 +57,7 @@ declare const InvokeWithResponseStreamCommand_base: {
57
57
  * // ExecutedVersion: "STRING_VALUE",
58
58
  * // EventStream: { // InvokeWithResponseStreamResponseEvent Union: only one key present
59
59
  * // PayloadChunk: { // InvokeResponseStreamUpdate
60
- * // Payload: "BLOB_VALUE",
60
+ * // Payload: new Uint8Array(),
61
61
  * // },
62
62
  * // InvokeComplete: { // InvokeWithResponseStreamCompleteEvent
63
63
  * // ErrorCode: "STRING_VALUE",
@@ -43,7 +43,7 @@ declare const PublishLayerVersionCommand_base: {
43
43
  * S3Bucket: "STRING_VALUE",
44
44
  * S3Key: "STRING_VALUE",
45
45
  * S3ObjectVersion: "STRING_VALUE",
46
- * ZipFile: "BLOB_VALUE",
46
+ * ZipFile: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
47
47
  * },
48
48
  * CompatibleRuntimes: [ // CompatibleRuntimes
49
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,7 +50,7 @@ declare const UpdateFunctionCodeCommand_base: {
50
50
  * const client = new LambdaClient(config);
51
51
  * const input = { // UpdateFunctionCodeRequest
52
52
  * FunctionName: "STRING_VALUE", // required
53
- * ZipFile: "BLOB_VALUE",
53
+ * ZipFile: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
54
54
  * S3Bucket: "STRING_VALUE",
55
55
  * S3Key: "STRING_VALUE",
56
56
  * S3ObjectVersion: "STRING_VALUE",
@@ -21,9 +21,9 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
21
21
  apiVersion: string;
22
22
  urlParser: import("@smithy/types").UrlParser;
23
23
  base64Decoder: import("@smithy/types").Decoder;
24
- base64Encoder: import("@smithy/types").Encoder;
24
+ base64Encoder: (_input: string | Uint8Array) => string;
25
25
  utf8Decoder: import("@smithy/types").Decoder;
26
- utf8Encoder: import("@smithy/types").Encoder;
26
+ utf8Encoder: (input: string | Uint8Array) => string;
27
27
  disableHostPrefix: boolean;
28
28
  serviceId: string;
29
29
  logger: import("@smithy/types").Logger;
@@ -21,9 +21,9 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
21
21
  apiVersion: string;
22
22
  urlParser: import("@smithy/types").UrlParser;
23
23
  base64Decoder: import("@smithy/types").Decoder;
24
- base64Encoder: import("@smithy/types").Encoder;
24
+ base64Encoder: (_input: string | Uint8Array) => string;
25
25
  utf8Decoder: import("@smithy/types").Decoder;
26
- utf8Encoder: import("@smithy/types").Encoder;
26
+ utf8Encoder: (input: string | Uint8Array) => string;
27
27
  disableHostPrefix: boolean;
28
28
  serviceId: string;
29
29
  logger: import("@smithy/types").Logger;
@@ -11,9 +11,9 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
11
11
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
12
  streamCollector: import("@smithy/types").StreamCollector;
13
13
  base64Decoder: import("@smithy/types").Decoder;
14
- base64Encoder: import("@smithy/types").Encoder;
14
+ base64Encoder: (_input: string | Uint8Array) => string;
15
15
  utf8Decoder: import("@smithy/types").Decoder;
16
- utf8Encoder: import("@smithy/types").Encoder;
16
+ utf8Encoder: (input: string | Uint8Array) => string;
17
17
  disableHostPrefix: boolean;
18
18
  serviceId: string;
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -5,7 +5,7 @@ import { LambdaClientConfig } from "./LambdaClient";
5
5
  export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
6
6
  apiVersion: string;
7
7
  base64Decoder: import("@smithy/types").Decoder;
8
- base64Encoder: import("@smithy/types").Encoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
11
  logger?: import("@smithy/types").Logger | undefined;
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: import("@smithy/types").Encoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
21
  };
@@ -26,9 +26,9 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
26
26
  apiVersion: string;
27
27
  urlParser: import("@smithy/types").UrlParser;
28
28
  base64Decoder: import("@smithy/types").Decoder;
29
- base64Encoder: import("@smithy/types").Encoder;
29
+ base64Encoder: (_input: string | Uint8Array) => string;
30
30
  utf8Decoder: import("@smithy/types").Decoder;
31
- utf8Encoder: import("@smithy/types").Encoder;
31
+ utf8Encoder: (input: string | Uint8Array) => string;
32
32
  disableHostPrefix: boolean;
33
33
  serviceId: string;
34
34
  logger: import("@smithy/types").Logger;
@@ -30,9 +30,9 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
30
30
  apiVersion: string;
31
31
  urlParser: import("@smithy/types").UrlParser;
32
32
  base64Decoder: import("@smithy/types").Decoder;
33
- base64Encoder: import("@smithy/types").Encoder;
33
+ base64Encoder: (_input: string | Uint8Array) => string;
34
34
  utf8Decoder: import("@smithy/types").Decoder;
35
- utf8Encoder: import("@smithy/types").Encoder;
35
+ utf8Encoder: (input: string | Uint8Array) => string;
36
36
  disableHostPrefix: boolean;
37
37
  serviceId: string;
38
38
  logger: import("@smithy/types").Logger;
@@ -13,9 +13,9 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
13
13
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
14
  streamCollector: import("@smithy/types").StreamCollector;
15
15
  base64Decoder: import("@smithy/types").Decoder;
16
- base64Encoder: import("@smithy/types").Encoder;
16
+ base64Encoder: (_input: string | Uint8Array) => string;
17
17
  utf8Decoder: import("@smithy/types").Decoder;
18
- utf8Encoder: import("@smithy/types").Encoder;
18
+ utf8Encoder: (input: string | Uint8Array) => string;
19
19
  disableHostPrefix: boolean;
20
20
  serviceId: string;
21
21
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -2,7 +2,7 @@ import { LambdaClientConfig } from "./LambdaClient";
2
2
  export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
3
3
  apiVersion: string;
4
4
  base64Decoder: import("@smithy/types").Decoder;
5
- base64Encoder: import("@smithy/types").Encoder;
5
+ base64Encoder: (_input: string | Uint8Array) => string;
6
6
  disableHostPrefix: boolean;
7
7
  endpointProvider: (
8
8
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: import("@smithy/types").Encoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
21
  };
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.529.0",
4
+ "version": "3.533.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",
@@ -20,48 +20,48 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.529.0",
24
- "@aws-sdk/core": "3.529.0",
25
- "@aws-sdk/credential-provider-node": "3.529.0",
26
- "@aws-sdk/middleware-host-header": "3.523.0",
27
- "@aws-sdk/middleware-logger": "3.523.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.523.0",
29
- "@aws-sdk/middleware-user-agent": "3.525.0",
30
- "@aws-sdk/region-config-resolver": "3.525.0",
31
- "@aws-sdk/types": "3.523.0",
32
- "@aws-sdk/util-endpoints": "3.525.0",
33
- "@aws-sdk/util-user-agent-browser": "3.523.0",
34
- "@aws-sdk/util-user-agent-node": "3.525.0",
35
- "@smithy/config-resolver": "^2.1.4",
36
- "@smithy/core": "^1.3.5",
37
- "@smithy/eventstream-serde-browser": "^2.1.3",
38
- "@smithy/eventstream-serde-config-resolver": "^2.1.3",
39
- "@smithy/eventstream-serde-node": "^2.1.3",
40
- "@smithy/fetch-http-handler": "^2.4.3",
41
- "@smithy/hash-node": "^2.1.3",
42
- "@smithy/invalid-dependency": "^2.1.3",
43
- "@smithy/middleware-content-length": "^2.1.3",
44
- "@smithy/middleware-endpoint": "^2.4.4",
45
- "@smithy/middleware-retry": "^2.1.4",
46
- "@smithy/middleware-serde": "^2.1.3",
47
- "@smithy/middleware-stack": "^2.1.3",
48
- "@smithy/node-config-provider": "^2.2.4",
49
- "@smithy/node-http-handler": "^2.4.1",
50
- "@smithy/protocol-http": "^3.2.1",
51
- "@smithy/smithy-client": "^2.4.2",
52
- "@smithy/types": "^2.10.1",
53
- "@smithy/url-parser": "^2.1.3",
54
- "@smithy/util-base64": "^2.1.1",
23
+ "@aws-sdk/client-sts": "3.533.0",
24
+ "@aws-sdk/core": "3.533.0",
25
+ "@aws-sdk/credential-provider-node": "3.533.0",
26
+ "@aws-sdk/middleware-host-header": "3.533.0",
27
+ "@aws-sdk/middleware-logger": "3.533.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
+ "@aws-sdk/middleware-user-agent": "3.533.0",
30
+ "@aws-sdk/region-config-resolver": "3.533.0",
31
+ "@aws-sdk/types": "3.533.0",
32
+ "@aws-sdk/util-endpoints": "3.533.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.533.0",
34
+ "@aws-sdk/util-user-agent-node": "3.533.0",
35
+ "@smithy/config-resolver": "^2.1.5",
36
+ "@smithy/core": "^1.3.8",
37
+ "@smithy/eventstream-serde-browser": "^2.1.4",
38
+ "@smithy/eventstream-serde-config-resolver": "^2.1.4",
39
+ "@smithy/eventstream-serde-node": "^2.1.4",
40
+ "@smithy/fetch-http-handler": "^2.4.5",
41
+ "@smithy/hash-node": "^2.1.4",
42
+ "@smithy/invalid-dependency": "^2.1.4",
43
+ "@smithy/middleware-content-length": "^2.1.4",
44
+ "@smithy/middleware-endpoint": "^2.4.6",
45
+ "@smithy/middleware-retry": "^2.1.7",
46
+ "@smithy/middleware-serde": "^2.2.1",
47
+ "@smithy/middleware-stack": "^2.1.4",
48
+ "@smithy/node-config-provider": "^2.2.5",
49
+ "@smithy/node-http-handler": "^2.4.3",
50
+ "@smithy/protocol-http": "^3.2.2",
51
+ "@smithy/smithy-client": "^2.4.5",
52
+ "@smithy/types": "^2.11.0",
53
+ "@smithy/url-parser": "^2.1.4",
54
+ "@smithy/util-base64": "^2.2.1",
55
55
  "@smithy/util-body-length-browser": "^2.1.1",
56
- "@smithy/util-body-length-node": "^2.2.1",
57
- "@smithy/util-defaults-mode-browser": "^2.1.4",
58
- "@smithy/util-defaults-mode-node": "^2.2.3",
59
- "@smithy/util-endpoints": "^1.1.4",
60
- "@smithy/util-middleware": "^2.1.3",
61
- "@smithy/util-retry": "^2.1.3",
62
- "@smithy/util-stream": "^2.1.3",
63
- "@smithy/util-utf8": "^2.1.1",
64
- "@smithy/util-waiter": "^2.1.3",
56
+ "@smithy/util-body-length-node": "^2.2.2",
57
+ "@smithy/util-defaults-mode-browser": "^2.1.7",
58
+ "@smithy/util-defaults-mode-node": "^2.2.7",
59
+ "@smithy/util-endpoints": "^1.1.5",
60
+ "@smithy/util-middleware": "^2.1.4",
61
+ "@smithy/util-retry": "^2.1.4",
62
+ "@smithy/util-stream": "^2.1.5",
63
+ "@smithy/util-utf8": "^2.2.0",
64
+ "@smithy/util-waiter": "^2.1.4",
65
65
  "tslib": "^2.5.0"
66
66
  },
67
67
  "devDependencies": {