@aws-sdk/client-lambda 3.632.0 → 3.634.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/README.md +16 -0
- package/dist-cjs/index.js +97 -0
- package/dist-es/Lambda.js +4 -0
- package/dist-es/commands/GetFunctionRecursionConfigCommand.js +24 -0
- package/dist-es/commands/PutFunctionRecursionConfigCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +51 -0
- package/dist-types/Lambda.d.ts +14 -0
- package/dist-types/LambdaClient.d.ts +4 -2
- package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +11 -2
- package/dist-types/commands/AddPermissionCommand.d.ts +11 -2
- package/dist-types/commands/GetFunctionRecursionConfigCommand.d.ts +73 -0
- package/dist-types/commands/PublishVersionCommand.d.ts +11 -2
- package/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +82 -0
- package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +11 -2
- package/dist-types/commands/RemovePermissionCommand.d.ts +11 -2
- package/dist-types/commands/UpdateAliasCommand.d.ts +11 -2
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +11 -2
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +11 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +158 -19
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Lambda.d.ts +34 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetFunctionRecursionConfigCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/PutFunctionRecursionConfigCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +18 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +1 -1
|
@@ -154,6 +154,10 @@ import {
|
|
|
154
154
|
GetFunctionEventInvokeConfigCommandInput,
|
|
155
155
|
GetFunctionEventInvokeConfigCommandOutput,
|
|
156
156
|
} from "./commands/GetFunctionEventInvokeConfigCommand";
|
|
157
|
+
import {
|
|
158
|
+
GetFunctionRecursionConfigCommandInput,
|
|
159
|
+
GetFunctionRecursionConfigCommandOutput,
|
|
160
|
+
} from "./commands/GetFunctionRecursionConfigCommand";
|
|
157
161
|
import {
|
|
158
162
|
GetFunctionUrlConfigCommandInput,
|
|
159
163
|
GetFunctionUrlConfigCommandOutput,
|
|
@@ -262,6 +266,10 @@ import {
|
|
|
262
266
|
PutFunctionEventInvokeConfigCommandInput,
|
|
263
267
|
PutFunctionEventInvokeConfigCommandOutput,
|
|
264
268
|
} from "./commands/PutFunctionEventInvokeConfigCommand";
|
|
269
|
+
import {
|
|
270
|
+
PutFunctionRecursionConfigCommandInput,
|
|
271
|
+
PutFunctionRecursionConfigCommandOutput,
|
|
272
|
+
} from "./commands/PutFunctionRecursionConfigCommand";
|
|
265
273
|
import {
|
|
266
274
|
PutProvisionedConcurrencyConfigCommandInput,
|
|
267
275
|
PutProvisionedConcurrencyConfigCommandOutput,
|
|
@@ -348,6 +356,7 @@ export type ServiceInputTypes =
|
|
|
348
356
|
| GetFunctionConcurrencyCommandInput
|
|
349
357
|
| GetFunctionConfigurationCommandInput
|
|
350
358
|
| GetFunctionEventInvokeConfigCommandInput
|
|
359
|
+
| GetFunctionRecursionConfigCommandInput
|
|
351
360
|
| GetFunctionUrlConfigCommandInput
|
|
352
361
|
| GetLayerVersionByArnCommandInput
|
|
353
362
|
| GetLayerVersionCommandInput
|
|
@@ -375,6 +384,7 @@ export type ServiceInputTypes =
|
|
|
375
384
|
| PutFunctionCodeSigningConfigCommandInput
|
|
376
385
|
| PutFunctionConcurrencyCommandInput
|
|
377
386
|
| PutFunctionEventInvokeConfigCommandInput
|
|
387
|
+
| PutFunctionRecursionConfigCommandInput
|
|
378
388
|
| PutProvisionedConcurrencyConfigCommandInput
|
|
379
389
|
| PutRuntimeManagementConfigCommandInput
|
|
380
390
|
| RemoveLayerVersionPermissionCommandInput
|
|
@@ -415,6 +425,7 @@ export type ServiceOutputTypes =
|
|
|
415
425
|
| GetFunctionConcurrencyCommandOutput
|
|
416
426
|
| GetFunctionConfigurationCommandOutput
|
|
417
427
|
| GetFunctionEventInvokeConfigCommandOutput
|
|
428
|
+
| GetFunctionRecursionConfigCommandOutput
|
|
418
429
|
| GetFunctionUrlConfigCommandOutput
|
|
419
430
|
| GetLayerVersionByArnCommandOutput
|
|
420
431
|
| GetLayerVersionCommandOutput
|
|
@@ -442,6 +453,7 @@ export type ServiceOutputTypes =
|
|
|
442
453
|
| PutFunctionCodeSigningConfigCommandOutput
|
|
443
454
|
| PutFunctionConcurrencyCommandOutput
|
|
444
455
|
| PutFunctionEventInvokeConfigCommandOutput
|
|
456
|
+
| PutFunctionRecursionConfigCommandOutput
|
|
445
457
|
| PutProvisionedConcurrencyConfigCommandOutput
|
|
446
458
|
| PutRuntimeManagementConfigCommandOutput
|
|
447
459
|
| RemoveLayerVersionPermissionCommandOutput
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
LambdaClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../LambdaClient";
|
|
8
|
+
import {
|
|
9
|
+
GetFunctionRecursionConfigRequest,
|
|
10
|
+
GetFunctionRecursionConfigResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetFunctionRecursionConfigCommandInput
|
|
15
|
+
extends GetFunctionRecursionConfigRequest {}
|
|
16
|
+
export interface GetFunctionRecursionConfigCommandOutput
|
|
17
|
+
extends GetFunctionRecursionConfigResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetFunctionRecursionConfigCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetFunctionRecursionConfigCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetFunctionRecursionConfigCommandInput,
|
|
24
|
+
GetFunctionRecursionConfigCommandOutput,
|
|
25
|
+
LambdaClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: GetFunctionRecursionConfigCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetFunctionRecursionConfigCommandInput,
|
|
33
|
+
GetFunctionRecursionConfigCommandOutput,
|
|
34
|
+
LambdaClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetFunctionRecursionConfigCommand extends GetFunctionRecursionConfigCommand_base {}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
LambdaClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../LambdaClient";
|
|
8
|
+
import {
|
|
9
|
+
PutFunctionRecursionConfigRequest,
|
|
10
|
+
PutFunctionRecursionConfigResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface PutFunctionRecursionConfigCommandInput
|
|
15
|
+
extends PutFunctionRecursionConfigRequest {}
|
|
16
|
+
export interface PutFunctionRecursionConfigCommandOutput
|
|
17
|
+
extends PutFunctionRecursionConfigResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const PutFunctionRecursionConfigCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: PutFunctionRecursionConfigCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
PutFunctionRecursionConfigCommandInput,
|
|
24
|
+
PutFunctionRecursionConfigCommandOutput,
|
|
25
|
+
LambdaClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: PutFunctionRecursionConfigCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
PutFunctionRecursionConfigCommandInput,
|
|
33
|
+
PutFunctionRecursionConfigCommandOutput,
|
|
34
|
+
LambdaClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class PutFunctionRecursionConfigCommand extends PutFunctionRecursionConfigCommand_base {}
|
|
@@ -24,6 +24,7 @@ export * from "./GetFunctionCommand";
|
|
|
24
24
|
export * from "./GetFunctionConcurrencyCommand";
|
|
25
25
|
export * from "./GetFunctionConfigurationCommand";
|
|
26
26
|
export * from "./GetFunctionEventInvokeConfigCommand";
|
|
27
|
+
export * from "./GetFunctionRecursionConfigCommand";
|
|
27
28
|
export * from "./GetFunctionUrlConfigCommand";
|
|
28
29
|
export * from "./GetLayerVersionByArnCommand";
|
|
29
30
|
export * from "./GetLayerVersionCommand";
|
|
@@ -51,6 +52,7 @@ export * from "./PublishVersionCommand";
|
|
|
51
52
|
export * from "./PutFunctionCodeSigningConfigCommand";
|
|
52
53
|
export * from "./PutFunctionConcurrencyCommand";
|
|
53
54
|
export * from "./PutFunctionEventInvokeConfigCommand";
|
|
55
|
+
export * from "./PutFunctionRecursionConfigCommand";
|
|
54
56
|
export * from "./PutProvisionedConcurrencyConfigCommand";
|
|
55
57
|
export * from "./PutRuntimeManagementConfigCommand";
|
|
56
58
|
export * from "./RemoveLayerVersionPermissionCommand";
|
|
@@ -771,6 +771,17 @@ export interface GetFunctionEventInvokeConfigRequest {
|
|
|
771
771
|
FunctionName: string | undefined;
|
|
772
772
|
Qualifier?: string;
|
|
773
773
|
}
|
|
774
|
+
export interface GetFunctionRecursionConfigRequest {
|
|
775
|
+
FunctionName: string | undefined;
|
|
776
|
+
}
|
|
777
|
+
export declare const RecursiveLoop: {
|
|
778
|
+
readonly Allow: "Allow";
|
|
779
|
+
readonly Terminate: "Terminate";
|
|
780
|
+
};
|
|
781
|
+
export type RecursiveLoop = (typeof RecursiveLoop)[keyof typeof RecursiveLoop];
|
|
782
|
+
export interface GetFunctionRecursionConfigResponse {
|
|
783
|
+
RecursiveLoop?: RecursiveLoop;
|
|
784
|
+
}
|
|
774
785
|
export interface GetFunctionUrlConfigRequest {
|
|
775
786
|
FunctionName: string | undefined;
|
|
776
787
|
Qualifier?: string;
|
|
@@ -1384,6 +1395,13 @@ export interface PutFunctionEventInvokeConfigRequest {
|
|
|
1384
1395
|
MaximumEventAgeInSeconds?: number;
|
|
1385
1396
|
DestinationConfig?: DestinationConfig;
|
|
1386
1397
|
}
|
|
1398
|
+
export interface PutFunctionRecursionConfigRequest {
|
|
1399
|
+
FunctionName: string | undefined;
|
|
1400
|
+
RecursiveLoop: RecursiveLoop | undefined;
|
|
1401
|
+
}
|
|
1402
|
+
export interface PutFunctionRecursionConfigResponse {
|
|
1403
|
+
RecursiveLoop?: RecursiveLoop;
|
|
1404
|
+
}
|
|
1387
1405
|
export interface PutProvisionedConcurrencyConfigRequest {
|
|
1388
1406
|
FunctionName: string | undefined;
|
|
1389
1407
|
Qualifier: string | undefined;
|
|
@@ -110,6 +110,10 @@ import {
|
|
|
110
110
|
GetFunctionEventInvokeConfigCommandInput,
|
|
111
111
|
GetFunctionEventInvokeConfigCommandOutput,
|
|
112
112
|
} from "../commands/GetFunctionEventInvokeConfigCommand";
|
|
113
|
+
import {
|
|
114
|
+
GetFunctionRecursionConfigCommandInput,
|
|
115
|
+
GetFunctionRecursionConfigCommandOutput,
|
|
116
|
+
} from "../commands/GetFunctionRecursionConfigCommand";
|
|
113
117
|
import {
|
|
114
118
|
GetFunctionUrlConfigCommandInput,
|
|
115
119
|
GetFunctionUrlConfigCommandOutput,
|
|
@@ -218,6 +222,10 @@ import {
|
|
|
218
222
|
PutFunctionEventInvokeConfigCommandInput,
|
|
219
223
|
PutFunctionEventInvokeConfigCommandOutput,
|
|
220
224
|
} from "../commands/PutFunctionEventInvokeConfigCommand";
|
|
225
|
+
import {
|
|
226
|
+
PutFunctionRecursionConfigCommandInput,
|
|
227
|
+
PutFunctionRecursionConfigCommandOutput,
|
|
228
|
+
} from "../commands/PutFunctionRecursionConfigCommand";
|
|
221
229
|
import {
|
|
222
230
|
PutProvisionedConcurrencyConfigCommandInput,
|
|
223
231
|
PutProvisionedConcurrencyConfigCommandOutput,
|
|
@@ -374,6 +382,10 @@ export declare const se_GetFunctionEventInvokeConfigCommand: (
|
|
|
374
382
|
input: GetFunctionEventInvokeConfigCommandInput,
|
|
375
383
|
context: __SerdeContext
|
|
376
384
|
) => Promise<__HttpRequest>;
|
|
385
|
+
export declare const se_GetFunctionRecursionConfigCommand: (
|
|
386
|
+
input: GetFunctionRecursionConfigCommandInput,
|
|
387
|
+
context: __SerdeContext
|
|
388
|
+
) => Promise<__HttpRequest>;
|
|
377
389
|
export declare const se_GetFunctionUrlConfigCommand: (
|
|
378
390
|
input: GetFunctionUrlConfigCommandInput,
|
|
379
391
|
context: __SerdeContext
|
|
@@ -482,6 +494,10 @@ export declare const se_PutFunctionEventInvokeConfigCommand: (
|
|
|
482
494
|
input: PutFunctionEventInvokeConfigCommandInput,
|
|
483
495
|
context: __SerdeContext
|
|
484
496
|
) => Promise<__HttpRequest>;
|
|
497
|
+
export declare const se_PutFunctionRecursionConfigCommand: (
|
|
498
|
+
input: PutFunctionRecursionConfigCommandInput,
|
|
499
|
+
context: __SerdeContext
|
|
500
|
+
) => Promise<__HttpRequest>;
|
|
485
501
|
export declare const se_PutProvisionedConcurrencyConfigCommand: (
|
|
486
502
|
input: PutProvisionedConcurrencyConfigCommandInput,
|
|
487
503
|
context: __SerdeContext
|
|
@@ -638,6 +654,10 @@ export declare const de_GetFunctionEventInvokeConfigCommand: (
|
|
|
638
654
|
output: __HttpResponse,
|
|
639
655
|
context: __SerdeContext
|
|
640
656
|
) => Promise<GetFunctionEventInvokeConfigCommandOutput>;
|
|
657
|
+
export declare const de_GetFunctionRecursionConfigCommand: (
|
|
658
|
+
output: __HttpResponse,
|
|
659
|
+
context: __SerdeContext
|
|
660
|
+
) => Promise<GetFunctionRecursionConfigCommandOutput>;
|
|
641
661
|
export declare const de_GetFunctionUrlConfigCommand: (
|
|
642
662
|
output: __HttpResponse,
|
|
643
663
|
context: __SerdeContext
|
|
@@ -746,6 +766,10 @@ export declare const de_PutFunctionEventInvokeConfigCommand: (
|
|
|
746
766
|
output: __HttpResponse,
|
|
747
767
|
context: __SerdeContext
|
|
748
768
|
) => Promise<PutFunctionEventInvokeConfigCommandOutput>;
|
|
769
|
+
export declare const de_PutFunctionRecursionConfigCommand: (
|
|
770
|
+
output: __HttpResponse,
|
|
771
|
+
context: __SerdeContext
|
|
772
|
+
) => Promise<PutFunctionRecursionConfigCommandOutput>;
|
|
749
773
|
export declare const de_PutProvisionedConcurrencyConfigCommand: (
|
|
750
774
|
output: __HttpResponse,
|
|
751
775
|
context: __SerdeContext
|
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.634.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",
|