@aws-sdk/client-lambda 3.254.0 → 3.257.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/Lambda.js +30 -0
- package/dist-cjs/commands/GetRuntimeManagementConfigCommand.js +46 -0
- package/dist-cjs/commands/PutRuntimeManagementConfigCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +40 -5
- package/dist-cjs/protocols/Aws_restJson1.js +181 -3
- package/dist-es/Lambda.js +30 -0
- package/dist-es/commands/GetRuntimeManagementConfigCommand.js +42 -0
- package/dist-es/commands/PutRuntimeManagementConfigCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +29 -0
- package/dist-es/protocols/Aws_restJson1.js +174 -0
- package/dist-types/Lambda.d.ts +23 -6
- package/dist-types/LambdaClient.d.ts +7 -5
- package/dist-types/commands/CreateAliasCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAliasCommand.d.ts +1 -1
- package/dist-types/commands/GetAliasCommand.d.ts +1 -1
- package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +39 -0
- package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
- package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +38 -0
- package/dist-types/commands/UpdateAliasCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +179 -3
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/Lambda.d.ts +34 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +14 -2
- package/dist-types/ts3.4/commands/GetRuntimeManagementConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutRuntimeManagementConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +51 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +30 -30
|
@@ -30,6 +30,7 @@ export * from "./GetLayerVersionCommand";
|
|
|
30
30
|
export * from "./GetLayerVersionPolicyCommand";
|
|
31
31
|
export * from "./GetPolicyCommand";
|
|
32
32
|
export * from "./GetProvisionedConcurrencyConfigCommand";
|
|
33
|
+
export * from "./GetRuntimeManagementConfigCommand";
|
|
33
34
|
export * from "./InvokeAsyncCommand";
|
|
34
35
|
export * from "./InvokeCommand";
|
|
35
36
|
export * from "./ListAliasesCommand";
|
|
@@ -50,6 +51,7 @@ export * from "./PutFunctionCodeSigningConfigCommand";
|
|
|
50
51
|
export * from "./PutFunctionConcurrencyCommand";
|
|
51
52
|
export * from "./PutFunctionEventInvokeConfigCommand";
|
|
52
53
|
export * from "./PutProvisionedConcurrencyConfigCommand";
|
|
54
|
+
export * from "./PutRuntimeManagementConfigCommand";
|
|
53
55
|
export * from "./RemoveLayerVersionPermissionCommand";
|
|
54
56
|
export * from "./RemovePermissionCommand";
|
|
55
57
|
export * from "./TagResourceCommand";
|
|
@@ -448,6 +448,14 @@ export interface Layer {
|
|
|
448
448
|
SigningProfileVersionArn?: string;
|
|
449
449
|
SigningJobArn?: string;
|
|
450
450
|
}
|
|
451
|
+
export interface RuntimeVersionError {
|
|
452
|
+
ErrorCode?: string;
|
|
453
|
+
Message?: string;
|
|
454
|
+
}
|
|
455
|
+
export interface RuntimeVersionConfig {
|
|
456
|
+
RuntimeVersionArn?: string;
|
|
457
|
+
Error?: RuntimeVersionError;
|
|
458
|
+
}
|
|
451
459
|
export declare enum SnapStartOptimizationStatus {
|
|
452
460
|
Off = "Off",
|
|
453
461
|
On = "On",
|
|
@@ -531,6 +539,7 @@ export interface FunctionConfiguration {
|
|
|
531
539
|
Architectures?: (Architecture | string)[];
|
|
532
540
|
EphemeralStorage?: EphemeralStorage;
|
|
533
541
|
SnapStart?: SnapStartResponse;
|
|
542
|
+
RuntimeVersionConfig?: RuntimeVersionConfig;
|
|
534
543
|
}
|
|
535
544
|
export declare class InvalidCodeSignatureException extends __BaseException {
|
|
536
545
|
readonly name: "InvalidCodeSignatureException";
|
|
@@ -754,6 +763,19 @@ export declare class ProvisionedConcurrencyConfigNotFoundException extends __Bas
|
|
|
754
763
|
>
|
|
755
764
|
);
|
|
756
765
|
}
|
|
766
|
+
export interface GetRuntimeManagementConfigRequest {
|
|
767
|
+
FunctionName: string | undefined;
|
|
768
|
+
Qualifier?: string;
|
|
769
|
+
}
|
|
770
|
+
export declare enum UpdateRuntimeOn {
|
|
771
|
+
Auto = "Auto",
|
|
772
|
+
FunctionUpdate = "FunctionUpdate",
|
|
773
|
+
Manual = "Manual",
|
|
774
|
+
}
|
|
775
|
+
export interface GetRuntimeManagementConfigResponse {
|
|
776
|
+
UpdateRuntimeOn?: UpdateRuntimeOn | string;
|
|
777
|
+
RuntimeVersionArn?: string;
|
|
778
|
+
}
|
|
757
779
|
export declare class EC2AccessDeniedException extends __BaseException {
|
|
758
780
|
readonly name: "EC2AccessDeniedException";
|
|
759
781
|
readonly $fault: "server";
|
|
@@ -1207,6 +1229,17 @@ export interface PutProvisionedConcurrencyConfigResponse {
|
|
|
1207
1229
|
StatusReason?: string;
|
|
1208
1230
|
LastModified?: string;
|
|
1209
1231
|
}
|
|
1232
|
+
export interface PutRuntimeManagementConfigRequest {
|
|
1233
|
+
FunctionName: string | undefined;
|
|
1234
|
+
Qualifier?: string;
|
|
1235
|
+
UpdateRuntimeOn: UpdateRuntimeOn | string | undefined;
|
|
1236
|
+
RuntimeVersionArn?: string;
|
|
1237
|
+
}
|
|
1238
|
+
export interface PutRuntimeManagementConfigResponse {
|
|
1239
|
+
UpdateRuntimeOn: UpdateRuntimeOn | string | undefined;
|
|
1240
|
+
FunctionArn: string | undefined;
|
|
1241
|
+
RuntimeVersionArn?: string;
|
|
1242
|
+
}
|
|
1210
1243
|
export interface RemoveLayerVersionPermissionRequest {
|
|
1211
1244
|
LayerName: string | undefined;
|
|
1212
1245
|
VersionNumber: number | undefined;
|
|
@@ -1415,6 +1448,12 @@ export declare const ImageConfigResponseFilterSensitiveLog: (
|
|
|
1415
1448
|
obj: ImageConfigResponse
|
|
1416
1449
|
) => any;
|
|
1417
1450
|
export declare const LayerFilterSensitiveLog: (obj: Layer) => any;
|
|
1451
|
+
export declare const RuntimeVersionErrorFilterSensitiveLog: (
|
|
1452
|
+
obj: RuntimeVersionError
|
|
1453
|
+
) => any;
|
|
1454
|
+
export declare const RuntimeVersionConfigFilterSensitiveLog: (
|
|
1455
|
+
obj: RuntimeVersionConfig
|
|
1456
|
+
) => any;
|
|
1418
1457
|
export declare const SnapStartResponseFilterSensitiveLog: (
|
|
1419
1458
|
obj: SnapStartResponse
|
|
1420
1459
|
) => any;
|
|
@@ -1552,6 +1591,12 @@ export declare const GetProvisionedConcurrencyConfigRequestFilterSensitiveLog: (
|
|
|
1552
1591
|
export declare const GetProvisionedConcurrencyConfigResponseFilterSensitiveLog: (
|
|
1553
1592
|
obj: GetProvisionedConcurrencyConfigResponse
|
|
1554
1593
|
) => any;
|
|
1594
|
+
export declare const GetRuntimeManagementConfigRequestFilterSensitiveLog: (
|
|
1595
|
+
obj: GetRuntimeManagementConfigRequest
|
|
1596
|
+
) => any;
|
|
1597
|
+
export declare const GetRuntimeManagementConfigResponseFilterSensitiveLog: (
|
|
1598
|
+
obj: GetRuntimeManagementConfigResponse
|
|
1599
|
+
) => any;
|
|
1555
1600
|
export declare const InvocationRequestFilterSensitiveLog: (
|
|
1556
1601
|
obj: InvocationRequest
|
|
1557
1602
|
) => any;
|
|
@@ -1678,6 +1723,12 @@ export declare const PutProvisionedConcurrencyConfigRequestFilterSensitiveLog: (
|
|
|
1678
1723
|
export declare const PutProvisionedConcurrencyConfigResponseFilterSensitiveLog: (
|
|
1679
1724
|
obj: PutProvisionedConcurrencyConfigResponse
|
|
1680
1725
|
) => any;
|
|
1726
|
+
export declare const PutRuntimeManagementConfigRequestFilterSensitiveLog: (
|
|
1727
|
+
obj: PutRuntimeManagementConfigRequest
|
|
1728
|
+
) => any;
|
|
1729
|
+
export declare const PutRuntimeManagementConfigResponseFilterSensitiveLog: (
|
|
1730
|
+
obj: PutRuntimeManagementConfigResponse
|
|
1731
|
+
) => any;
|
|
1681
1732
|
export declare const RemoveLayerVersionPermissionRequestFilterSensitiveLog: (
|
|
1682
1733
|
obj: RemoveLayerVersionPermissionRequest
|
|
1683
1734
|
) => any;
|
|
@@ -131,6 +131,10 @@ import {
|
|
|
131
131
|
GetProvisionedConcurrencyConfigCommandInput,
|
|
132
132
|
GetProvisionedConcurrencyConfigCommandOutput,
|
|
133
133
|
} from "../commands/GetProvisionedConcurrencyConfigCommand";
|
|
134
|
+
import {
|
|
135
|
+
GetRuntimeManagementConfigCommandInput,
|
|
136
|
+
GetRuntimeManagementConfigCommandOutput,
|
|
137
|
+
} from "../commands/GetRuntimeManagementConfigCommand";
|
|
134
138
|
import {
|
|
135
139
|
InvokeAsyncCommandInput,
|
|
136
140
|
InvokeAsyncCommandOutput,
|
|
@@ -211,6 +215,10 @@ import {
|
|
|
211
215
|
PutProvisionedConcurrencyConfigCommandInput,
|
|
212
216
|
PutProvisionedConcurrencyConfigCommandOutput,
|
|
213
217
|
} from "../commands/PutProvisionedConcurrencyConfigCommand";
|
|
218
|
+
import {
|
|
219
|
+
PutRuntimeManagementConfigCommandInput,
|
|
220
|
+
PutRuntimeManagementConfigCommandOutput,
|
|
221
|
+
} from "../commands/PutRuntimeManagementConfigCommand";
|
|
214
222
|
import {
|
|
215
223
|
RemoveLayerVersionPermissionCommandInput,
|
|
216
224
|
RemoveLayerVersionPermissionCommandOutput,
|
|
@@ -383,6 +391,10 @@ export declare const serializeAws_restJson1GetProvisionedConcurrencyConfigComman
|
|
|
383
391
|
input: GetProvisionedConcurrencyConfigCommandInput,
|
|
384
392
|
context: __SerdeContext
|
|
385
393
|
) => Promise<__HttpRequest>;
|
|
394
|
+
export declare const serializeAws_restJson1GetRuntimeManagementConfigCommand: (
|
|
395
|
+
input: GetRuntimeManagementConfigCommandInput,
|
|
396
|
+
context: __SerdeContext
|
|
397
|
+
) => Promise<__HttpRequest>;
|
|
386
398
|
export declare const serializeAws_restJson1InvokeCommand: (
|
|
387
399
|
input: InvokeCommandInput,
|
|
388
400
|
context: __SerdeContext
|
|
@@ -463,6 +475,10 @@ export declare const serializeAws_restJson1PutProvisionedConcurrencyConfigComman
|
|
|
463
475
|
input: PutProvisionedConcurrencyConfigCommandInput,
|
|
464
476
|
context: __SerdeContext
|
|
465
477
|
) => Promise<__HttpRequest>;
|
|
478
|
+
export declare const serializeAws_restJson1PutRuntimeManagementConfigCommand: (
|
|
479
|
+
input: PutRuntimeManagementConfigCommandInput,
|
|
480
|
+
context: __SerdeContext
|
|
481
|
+
) => Promise<__HttpRequest>;
|
|
466
482
|
export declare const serializeAws_restJson1RemoveLayerVersionPermissionCommand: (
|
|
467
483
|
input: RemoveLayerVersionPermissionCommandInput,
|
|
468
484
|
context: __SerdeContext
|
|
@@ -635,6 +651,10 @@ export declare const deserializeAws_restJson1GetProvisionedConcurrencyConfigComm
|
|
|
635
651
|
output: __HttpResponse,
|
|
636
652
|
context: __SerdeContext
|
|
637
653
|
) => Promise<GetProvisionedConcurrencyConfigCommandOutput>;
|
|
654
|
+
export declare const deserializeAws_restJson1GetRuntimeManagementConfigCommand: (
|
|
655
|
+
output: __HttpResponse,
|
|
656
|
+
context: __SerdeContext
|
|
657
|
+
) => Promise<GetRuntimeManagementConfigCommandOutput>;
|
|
638
658
|
export declare const deserializeAws_restJson1InvokeCommand: (
|
|
639
659
|
output: __HttpResponse,
|
|
640
660
|
context: __SerdeContext
|
|
@@ -715,6 +735,10 @@ export declare const deserializeAws_restJson1PutProvisionedConcurrencyConfigComm
|
|
|
715
735
|
output: __HttpResponse,
|
|
716
736
|
context: __SerdeContext
|
|
717
737
|
) => Promise<PutProvisionedConcurrencyConfigCommandOutput>;
|
|
738
|
+
export declare const deserializeAws_restJson1PutRuntimeManagementConfigCommand: (
|
|
739
|
+
output: __HttpResponse,
|
|
740
|
+
context: __SerdeContext
|
|
741
|
+
) => Promise<PutRuntimeManagementConfigCommandOutput>;
|
|
718
742
|
export declare const deserializeAws_restJson1RemoveLayerVersionPermissionCommand: (
|
|
719
743
|
output: __HttpResponse,
|
|
720
744
|
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.257.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",
|
|
@@ -20,40 +20,40 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.257.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.257.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.257.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.257.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.257.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.257.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.257.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.257.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.257.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.257.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.257.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.257.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.257.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.257.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.257.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.257.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.257.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.257.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.257.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.257.0",
|
|
43
|
+
"@aws-sdk/types": "3.257.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.257.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.257.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.257.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.257.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.257.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.257.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.257.0",
|
|
54
54
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
55
55
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
56
|
-
"@aws-sdk/util-waiter": "3.
|
|
56
|
+
"@aws-sdk/util-waiter": "3.257.0",
|
|
57
57
|
"tslib": "^2.3.1"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|