@aws-sdk/client-lambda 3.377.0 → 3.379.1
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-types/commands/InvokeAsyncCommand.d.ts +3 -9
- package/dist-types/commands/InvokeCommand.d.ts +2 -3
- package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +2 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +3 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2 -3
- package/dist-types/ts3.4/commands/InvokeAsyncCommand.d.ts +8 -7
- package/dist-types/ts3.4/commands/InvokeCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/InvokeWithResponseStreamCommand.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -2
- package/package.json +40 -40
|
@@ -1,25 +1,19 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, StreamingBlobPayloadInputTypes } from "@smithy/types";
|
|
5
4
|
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
6
5
|
import { InvokeAsyncRequest, InvokeAsyncResponse } from "../models/models_0";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
10
9
|
export { __MetadataBearer, $Command };
|
|
11
|
-
export type InvokeAsyncCommandInputType = Omit<InvokeAsyncRequest, "InvokeArgs"> & {
|
|
12
|
-
/**
|
|
13
|
-
* For *`InvokeAsyncRequest["InvokeArgs"]`*, see {@link InvokeAsyncRequest.InvokeArgs}.
|
|
14
|
-
*/
|
|
15
|
-
InvokeArgs: InvokeAsyncRequest["InvokeArgs"] | string | Uint8Array | Buffer;
|
|
16
|
-
};
|
|
17
10
|
/**
|
|
18
11
|
* @public
|
|
19
12
|
*
|
|
20
13
|
* The input for {@link InvokeAsyncCommand}.
|
|
21
14
|
*/
|
|
22
|
-
export interface InvokeAsyncCommandInput extends
|
|
15
|
+
export interface InvokeAsyncCommandInput extends Omit<InvokeAsyncRequest, "InvokeArgs"> {
|
|
16
|
+
InvokeArgs: StreamingBlobPayloadInputTypes;
|
|
23
17
|
}
|
|
24
18
|
/**
|
|
25
19
|
* @public
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { BlobTypes } from "@aws-sdk/types";
|
|
2
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
3
|
+
import { BlobPayloadInputTypes, Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
5
4
|
import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
|
|
6
5
|
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
7
6
|
import { InvocationRequest, InvocationResponse } from "../models/models_0";
|
|
@@ -13,7 +12,7 @@ export { __MetadataBearer, $Command };
|
|
|
13
12
|
* @public
|
|
14
13
|
*/
|
|
15
14
|
export type InvokeCommandInputType = Omit<InvocationRequest, "Payload"> & {
|
|
16
|
-
Payload?:
|
|
15
|
+
Payload?: BlobPayloadInputTypes;
|
|
17
16
|
};
|
|
18
17
|
/**
|
|
19
18
|
* @public
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { BlobTypes } from "@aws-sdk/types";
|
|
2
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
3
|
+
import { BlobPayloadInputTypes, Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
5
4
|
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
6
5
|
import { InvokeWithResponseStreamRequest, InvokeWithResponseStreamResponse } from "../models/models_0";
|
|
7
6
|
/**
|
|
@@ -12,7 +11,7 @@ export { __MetadataBearer, $Command };
|
|
|
12
11
|
* @public
|
|
13
12
|
*/
|
|
14
13
|
export type InvokeWithResponseStreamCommandInputType = Omit<InvokeWithResponseStreamRequest, "Payload"> & {
|
|
15
|
-
Payload?:
|
|
14
|
+
Payload?: BlobPayloadInputTypes;
|
|
16
15
|
};
|
|
17
16
|
/**
|
|
18
17
|
* @public
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
2
5
|
export interface ClientInputEndpointParameters {
|
|
3
6
|
region?: string | Provider<string>;
|
|
4
7
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { StreamingBlobTypes } from "@smithy/types";
|
|
4
3
|
import { LambdaServiceException as __BaseException } from "./LambdaServiceException";
|
|
5
4
|
/**
|
|
6
5
|
* @public
|
|
@@ -3615,7 +3614,7 @@ export interface InvokeAsyncRequest {
|
|
|
3615
3614
|
/**
|
|
3616
3615
|
* <p>The JSON that you want to provide to your Lambda function as input.</p>
|
|
3617
3616
|
*/
|
|
3618
|
-
InvokeArgs:
|
|
3617
|
+
InvokeArgs: StreamingBlobTypes | undefined;
|
|
3619
3618
|
}
|
|
3620
3619
|
/**
|
|
3621
3620
|
* @public
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
|
+
StreamingBlobPayloadInputTypes,
|
|
8
9
|
} from "@smithy/types";
|
|
9
10
|
import {
|
|
10
11
|
LambdaClientResolvedConfig,
|
|
@@ -13,13 +14,13 @@ import {
|
|
|
13
14
|
} from "../LambdaClient";
|
|
14
15
|
import { InvokeAsyncRequest, InvokeAsyncResponse } from "../models/models_0";
|
|
15
16
|
export { __MetadataBearer, $Command };
|
|
16
|
-
export
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
export interface InvokeAsyncCommandInput
|
|
18
|
+
extends Pick<
|
|
19
|
+
InvokeAsyncRequest,
|
|
20
|
+
Exclude<keyof InvokeAsyncRequest, "InvokeArgs">
|
|
21
|
+
> {
|
|
22
|
+
InvokeArgs: StreamingBlobPayloadInputTypes;
|
|
23
|
+
}
|
|
23
24
|
export interface InvokeAsyncCommandOutput
|
|
24
25
|
extends InvokeAsyncResponse,
|
|
25
26
|
__MetadataBearer {}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BlobTypes } from "@aws-sdk/types";
|
|
2
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import {
|
|
4
|
+
BlobPayloadInputTypes,
|
|
5
5
|
Handler,
|
|
6
6
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
7
7
|
MetadataBearer as __MetadataBearer,
|
|
@@ -19,7 +19,7 @@ export type InvokeCommandInputType = Pick<
|
|
|
19
19
|
InvocationRequest,
|
|
20
20
|
Exclude<keyof InvocationRequest, "Payload">
|
|
21
21
|
> & {
|
|
22
|
-
Payload?:
|
|
22
|
+
Payload?: BlobPayloadInputTypes;
|
|
23
23
|
};
|
|
24
24
|
export interface InvokeCommandInput extends InvokeCommandInputType {}
|
|
25
25
|
export type InvokeCommandOutputType = Pick<
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BlobTypes } from "@aws-sdk/types";
|
|
2
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import {
|
|
4
|
+
BlobPayloadInputTypes,
|
|
5
5
|
Handler,
|
|
6
6
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
7
7
|
MetadataBearer as __MetadataBearer,
|
|
@@ -21,7 +21,7 @@ export type InvokeWithResponseStreamCommandInputType = Pick<
|
|
|
21
21
|
InvokeWithResponseStreamRequest,
|
|
22
22
|
Exclude<keyof InvokeWithResponseStreamRequest, "Payload">
|
|
23
23
|
> & {
|
|
24
|
-
Payload?:
|
|
24
|
+
Payload?: BlobPayloadInputTypes;
|
|
25
25
|
};
|
|
26
26
|
export interface InvokeWithResponseStreamCommandInput
|
|
27
27
|
extends InvokeWithResponseStreamCommandInputType {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import {
|
|
2
|
+
import { StreamingBlobTypes } from "@smithy/types";
|
|
3
3
|
import { LambdaServiceException as __BaseException } from "./LambdaServiceException";
|
|
4
4
|
export interface AccountLimit {
|
|
5
5
|
TotalCodeSize?: number;
|
|
@@ -1086,7 +1086,7 @@ export declare class UnsupportedMediaTypeException extends __BaseException {
|
|
|
1086
1086
|
}
|
|
1087
1087
|
export interface InvokeAsyncRequest {
|
|
1088
1088
|
FunctionName: string | undefined;
|
|
1089
|
-
InvokeArgs:
|
|
1089
|
+
InvokeArgs: StreamingBlobTypes | undefined;
|
|
1090
1090
|
}
|
|
1091
1091
|
export interface InvokeAsyncResponse {
|
|
1092
1092
|
Status?: number;
|
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.379.1",
|
|
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,48 +21,48 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^
|
|
36
|
-
"@smithy/eventstream-serde-browser": "^
|
|
37
|
-
"@smithy/eventstream-serde-config-resolver": "^
|
|
38
|
-
"@smithy/eventstream-serde-node": "^
|
|
39
|
-
"@smithy/fetch-http-handler": "^
|
|
40
|
-
"@smithy/hash-node": "^
|
|
41
|
-
"@smithy/invalid-dependency": "^
|
|
42
|
-
"@smithy/middleware-content-length": "^
|
|
43
|
-
"@smithy/middleware-endpoint": "^
|
|
44
|
-
"@smithy/middleware-retry": "^
|
|
45
|
-
"@smithy/middleware-serde": "^
|
|
46
|
-
"@smithy/middleware-stack": "^
|
|
47
|
-
"@smithy/node-config-provider": "^
|
|
48
|
-
"@smithy/node-http-handler": "^
|
|
49
|
-
"@smithy/protocol-http": "^
|
|
50
|
-
"@smithy/smithy-client": "^
|
|
51
|
-
"@smithy/types": "^
|
|
52
|
-
"@smithy/url-parser": "^
|
|
53
|
-
"@smithy/util-base64": "^
|
|
54
|
-
"@smithy/util-body-length-browser": "^
|
|
55
|
-
"@smithy/util-body-length-node": "^
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^
|
|
58
|
-
"@smithy/util-retry": "^
|
|
59
|
-
"@smithy/util-stream": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
61
|
-
"@smithy/util-waiter": "^
|
|
24
|
+
"@aws-sdk/client-sts": "3.379.1",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.379.1",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.379.1",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.379.1",
|
|
31
|
+
"@aws-sdk/types": "3.378.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.378.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.0.1",
|
|
36
|
+
"@smithy/eventstream-serde-browser": "^2.0.1",
|
|
37
|
+
"@smithy/eventstream-serde-config-resolver": "^2.0.1",
|
|
38
|
+
"@smithy/eventstream-serde-node": "^2.0.1",
|
|
39
|
+
"@smithy/fetch-http-handler": "^2.0.1",
|
|
40
|
+
"@smithy/hash-node": "^2.0.1",
|
|
41
|
+
"@smithy/invalid-dependency": "^2.0.1",
|
|
42
|
+
"@smithy/middleware-content-length": "^2.0.1",
|
|
43
|
+
"@smithy/middleware-endpoint": "^2.0.1",
|
|
44
|
+
"@smithy/middleware-retry": "^2.0.1",
|
|
45
|
+
"@smithy/middleware-serde": "^2.0.1",
|
|
46
|
+
"@smithy/middleware-stack": "^2.0.0",
|
|
47
|
+
"@smithy/node-config-provider": "^2.0.1",
|
|
48
|
+
"@smithy/node-http-handler": "^2.0.1",
|
|
49
|
+
"@smithy/protocol-http": "^2.0.1",
|
|
50
|
+
"@smithy/smithy-client": "^2.0.1",
|
|
51
|
+
"@smithy/types": "^2.0.2",
|
|
52
|
+
"@smithy/url-parser": "^2.0.1",
|
|
53
|
+
"@smithy/util-base64": "^2.0.0",
|
|
54
|
+
"@smithy/util-body-length-browser": "^2.0.0",
|
|
55
|
+
"@smithy/util-body-length-node": "^2.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^2.0.1",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^2.0.1",
|
|
58
|
+
"@smithy/util-retry": "^2.0.0",
|
|
59
|
+
"@smithy/util-stream": "^2.0.1",
|
|
60
|
+
"@smithy/util-utf8": "^2.0.0",
|
|
61
|
+
"@smithy/util-waiter": "^2.0.1",
|
|
62
62
|
"tslib": "^2.5.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@smithy/service-client-documentation-generator": "^
|
|
65
|
+
"@smithy/service-client-documentation-generator": "^2.0.0",
|
|
66
66
|
"@tsconfig/node14": "1.0.3",
|
|
67
67
|
"@types/node": "^14.14.31",
|
|
68
68
|
"concurrently": "7.0.0",
|