@aws-sdk/client-lambda 3.42.0 → 3.47.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/CHANGELOG.md +51 -0
- package/README.md +62 -3
- package/dist-cjs/endpoints.js +176 -23
- package/dist-cjs/models/models_0.js +17 -208
- package/dist-cjs/protocols/Aws_restJson1.js +70 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +176 -23
- package/dist-es/models/models_0.js +10 -136
- package/dist-es/protocols/Aws_restJson1.js +68 -4
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/Lambda.d.ts +189 -13
- package/dist-types/LambdaClient.d.ts +67 -4
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +49 -10
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +78 -0
- package/dist-types/models/models_0.d.ts +98 -219
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +26 -136
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { LambdaClientConfig } from "./LambdaClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { LambdaClientConfig } from "./LambdaClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AddLayerVersionPermissionCommandInput, AddLayerVersionPermissionCommandOutput } from "./commands/AddLayerVersionPermissionCommand";
|
|
10
10
|
import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
|
|
@@ -109,6 +109,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
109
109
|
regionInfoProvider?: RegionInfoProvider;
|
|
110
110
|
|
|
111
111
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
112
|
+
|
|
113
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
112
114
|
}
|
|
113
115
|
declare type LambdaClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
114
116
|
|
|
@@ -68,10 +68,6 @@ export interface InvalidParameterValueException extends __SmithyException, $Meta
|
|
|
68
68
|
|
|
69
69
|
message?: string;
|
|
70
70
|
}
|
|
71
|
-
export declare namespace InvalidParameterValueException {
|
|
72
|
-
|
|
73
|
-
const filterSensitiveLog: (obj: InvalidParameterValueException) => any;
|
|
74
|
-
}
|
|
75
71
|
|
|
76
72
|
export interface PolicyLengthExceededException extends __SmithyException, $MetadataBearer {
|
|
77
73
|
name: "PolicyLengthExceededException";
|
|
@@ -79,10 +75,6 @@ export interface PolicyLengthExceededException extends __SmithyException, $Metad
|
|
|
79
75
|
Type?: string;
|
|
80
76
|
message?: string;
|
|
81
77
|
}
|
|
82
|
-
export declare namespace PolicyLengthExceededException {
|
|
83
|
-
|
|
84
|
-
const filterSensitiveLog: (obj: PolicyLengthExceededException) => any;
|
|
85
|
-
}
|
|
86
78
|
|
|
87
79
|
export interface PreconditionFailedException extends __SmithyException, $MetadataBearer {
|
|
88
80
|
name: "PreconditionFailedException";
|
|
@@ -92,10 +84,6 @@ export interface PreconditionFailedException extends __SmithyException, $Metadat
|
|
|
92
84
|
|
|
93
85
|
message?: string;
|
|
94
86
|
}
|
|
95
|
-
export declare namespace PreconditionFailedException {
|
|
96
|
-
|
|
97
|
-
const filterSensitiveLog: (obj: PreconditionFailedException) => any;
|
|
98
|
-
}
|
|
99
87
|
|
|
100
88
|
export interface ResourceConflictException extends __SmithyException, $MetadataBearer {
|
|
101
89
|
name: "ResourceConflictException";
|
|
@@ -105,10 +93,6 @@ export interface ResourceConflictException extends __SmithyException, $MetadataB
|
|
|
105
93
|
|
|
106
94
|
message?: string;
|
|
107
95
|
}
|
|
108
|
-
export declare namespace ResourceConflictException {
|
|
109
|
-
|
|
110
|
-
const filterSensitiveLog: (obj: ResourceConflictException) => any;
|
|
111
|
-
}
|
|
112
96
|
|
|
113
97
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
114
98
|
name: "ResourceNotFoundException";
|
|
@@ -116,10 +100,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
116
100
|
Type?: string;
|
|
117
101
|
Message?: string;
|
|
118
102
|
}
|
|
119
|
-
export declare namespace ResourceNotFoundException {
|
|
120
|
-
|
|
121
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
122
|
-
}
|
|
123
103
|
|
|
124
104
|
export interface ServiceException extends __SmithyException, $MetadataBearer {
|
|
125
105
|
name: "ServiceException";
|
|
@@ -127,10 +107,6 @@ export interface ServiceException extends __SmithyException, $MetadataBearer {
|
|
|
127
107
|
Type?: string;
|
|
128
108
|
Message?: string;
|
|
129
109
|
}
|
|
130
|
-
export declare namespace ServiceException {
|
|
131
|
-
|
|
132
|
-
const filterSensitiveLog: (obj: ServiceException) => any;
|
|
133
|
-
}
|
|
134
110
|
export declare enum ThrottleReason {
|
|
135
111
|
CallerRateLimitExceeded = "CallerRateLimitExceeded",
|
|
136
112
|
ConcurrentInvocationLimitExceeded = "ConcurrentInvocationLimitExceeded",
|
|
@@ -148,10 +124,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
|
|
|
148
124
|
message?: string;
|
|
149
125
|
Reason?: ThrottleReason | string;
|
|
150
126
|
}
|
|
151
|
-
export declare namespace TooManyRequestsException {
|
|
152
|
-
|
|
153
|
-
const filterSensitiveLog: (obj: TooManyRequestsException) => any;
|
|
154
|
-
}
|
|
155
127
|
export interface AddPermissionRequest {
|
|
156
128
|
|
|
157
129
|
FunctionName: string | undefined;
|
|
@@ -324,6 +296,24 @@ export declare namespace DestinationConfig {
|
|
|
324
296
|
|
|
325
297
|
const filterSensitiveLog: (obj: DestinationConfig) => any;
|
|
326
298
|
}
|
|
299
|
+
|
|
300
|
+
export interface Filter {
|
|
301
|
+
|
|
302
|
+
Pattern?: string;
|
|
303
|
+
}
|
|
304
|
+
export declare namespace Filter {
|
|
305
|
+
|
|
306
|
+
const filterSensitiveLog: (obj: Filter) => any;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export interface FilterCriteria {
|
|
310
|
+
|
|
311
|
+
Filters?: Filter[];
|
|
312
|
+
}
|
|
313
|
+
export declare namespace FilterCriteria {
|
|
314
|
+
|
|
315
|
+
const filterSensitiveLog: (obj: FilterCriteria) => any;
|
|
316
|
+
}
|
|
327
317
|
export declare enum FunctionResponseType {
|
|
328
318
|
ReportBatchItemFailures = "ReportBatchItemFailures"
|
|
329
319
|
}
|
|
@@ -343,8 +333,10 @@ export declare namespace SelfManagedEventSource {
|
|
|
343
333
|
}
|
|
344
334
|
export declare enum SourceAccessType {
|
|
345
335
|
BASIC_AUTH = "BASIC_AUTH",
|
|
336
|
+
CLIENT_CERTIFICATE_TLS_AUTH = "CLIENT_CERTIFICATE_TLS_AUTH",
|
|
346
337
|
SASL_SCRAM_256_AUTH = "SASL_SCRAM_256_AUTH",
|
|
347
338
|
SASL_SCRAM_512_AUTH = "SASL_SCRAM_512_AUTH",
|
|
339
|
+
SERVER_ROOT_CA_CERTIFICATE = "SERVER_ROOT_CA_CERTIFICATE",
|
|
348
340
|
VIRTUAL_HOST = "VIRTUAL_HOST",
|
|
349
341
|
VPC_SECURITY_GROUP = "VPC_SECURITY_GROUP",
|
|
350
342
|
VPC_SUBNET = "VPC_SUBNET"
|
|
@@ -375,6 +367,8 @@ export interface CreateEventSourceMappingRequest {
|
|
|
375
367
|
|
|
376
368
|
BatchSize?: number;
|
|
377
369
|
|
|
370
|
+
FilterCriteria?: FilterCriteria;
|
|
371
|
+
|
|
378
372
|
MaximumBatchingWindowInSeconds?: number;
|
|
379
373
|
|
|
380
374
|
ParallelizationFactor?: number;
|
|
@@ -424,6 +418,8 @@ export interface EventSourceMappingConfiguration {
|
|
|
424
418
|
|
|
425
419
|
EventSourceArn?: string;
|
|
426
420
|
|
|
421
|
+
FilterCriteria?: FilterCriteria;
|
|
422
|
+
|
|
427
423
|
FunctionArn?: string;
|
|
428
424
|
|
|
429
425
|
LastModified?: Date;
|
|
@@ -465,10 +461,6 @@ export interface CodeSigningConfigNotFoundException extends __SmithyException, $
|
|
|
465
461
|
Type?: string;
|
|
466
462
|
Message?: string;
|
|
467
463
|
}
|
|
468
|
-
export declare namespace CodeSigningConfigNotFoundException {
|
|
469
|
-
|
|
470
|
-
const filterSensitiveLog: (obj: CodeSigningConfigNotFoundException) => any;
|
|
471
|
-
}
|
|
472
464
|
|
|
473
465
|
export interface CodeStorageExceededException extends __SmithyException, $MetadataBearer {
|
|
474
466
|
name: "CodeStorageExceededException";
|
|
@@ -477,10 +469,6 @@ export interface CodeStorageExceededException extends __SmithyException, $Metada
|
|
|
477
469
|
Type?: string;
|
|
478
470
|
message?: string;
|
|
479
471
|
}
|
|
480
|
-
export declare namespace CodeStorageExceededException {
|
|
481
|
-
|
|
482
|
-
const filterSensitiveLog: (obj: CodeStorageExceededException) => any;
|
|
483
|
-
}
|
|
484
472
|
|
|
485
473
|
export interface CodeVerificationFailedException extends __SmithyException, $MetadataBearer {
|
|
486
474
|
name: "CodeVerificationFailedException";
|
|
@@ -488,10 +476,6 @@ export interface CodeVerificationFailedException extends __SmithyException, $Met
|
|
|
488
476
|
Type?: string;
|
|
489
477
|
Message?: string;
|
|
490
478
|
}
|
|
491
|
-
export declare namespace CodeVerificationFailedException {
|
|
492
|
-
|
|
493
|
-
const filterSensitiveLog: (obj: CodeVerificationFailedException) => any;
|
|
494
|
-
}
|
|
495
479
|
|
|
496
480
|
export interface FunctionCode {
|
|
497
481
|
|
|
@@ -857,10 +841,6 @@ export interface InvalidCodeSignatureException extends __SmithyException, $Metad
|
|
|
857
841
|
Type?: string;
|
|
858
842
|
Message?: string;
|
|
859
843
|
}
|
|
860
|
-
export declare namespace InvalidCodeSignatureException {
|
|
861
|
-
|
|
862
|
-
const filterSensitiveLog: (obj: InvalidCodeSignatureException) => any;
|
|
863
|
-
}
|
|
864
844
|
export interface DeleteAliasRequest {
|
|
865
845
|
|
|
866
846
|
FunctionName: string | undefined;
|
|
@@ -900,10 +880,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
900
880
|
Type?: string;
|
|
901
881
|
Message?: string;
|
|
902
882
|
}
|
|
903
|
-
export declare namespace ResourceInUseException {
|
|
904
|
-
|
|
905
|
-
const filterSensitiveLog: (obj: ResourceInUseException) => any;
|
|
906
|
-
}
|
|
907
883
|
export interface DeleteFunctionRequest {
|
|
908
884
|
|
|
909
885
|
FunctionName: string | undefined;
|
|
@@ -1268,10 +1244,6 @@ export interface ProvisionedConcurrencyConfigNotFoundException extends __SmithyE
|
|
|
1268
1244
|
Type?: string;
|
|
1269
1245
|
message?: string;
|
|
1270
1246
|
}
|
|
1271
|
-
export declare namespace ProvisionedConcurrencyConfigNotFoundException {
|
|
1272
|
-
|
|
1273
|
-
const filterSensitiveLog: (obj: ProvisionedConcurrencyConfigNotFoundException) => any;
|
|
1274
|
-
}
|
|
1275
1247
|
|
|
1276
1248
|
export interface EC2AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
1277
1249
|
name: "EC2AccessDeniedException";
|
|
@@ -1279,10 +1251,6 @@ export interface EC2AccessDeniedException extends __SmithyException, $MetadataBe
|
|
|
1279
1251
|
Type?: string;
|
|
1280
1252
|
Message?: string;
|
|
1281
1253
|
}
|
|
1282
|
-
export declare namespace EC2AccessDeniedException {
|
|
1283
|
-
|
|
1284
|
-
const filterSensitiveLog: (obj: EC2AccessDeniedException) => any;
|
|
1285
|
-
}
|
|
1286
1254
|
|
|
1287
1255
|
export interface EC2ThrottledException extends __SmithyException, $MetadataBearer {
|
|
1288
1256
|
name: "EC2ThrottledException";
|
|
@@ -1290,10 +1258,6 @@ export interface EC2ThrottledException extends __SmithyException, $MetadataBeare
|
|
|
1290
1258
|
Type?: string;
|
|
1291
1259
|
Message?: string;
|
|
1292
1260
|
}
|
|
1293
|
-
export declare namespace EC2ThrottledException {
|
|
1294
|
-
|
|
1295
|
-
const filterSensitiveLog: (obj: EC2ThrottledException) => any;
|
|
1296
|
-
}
|
|
1297
1261
|
|
|
1298
1262
|
export interface EC2UnexpectedException extends __SmithyException, $MetadataBearer {
|
|
1299
1263
|
name: "EC2UnexpectedException";
|
|
@@ -1302,10 +1266,6 @@ export interface EC2UnexpectedException extends __SmithyException, $MetadataBear
|
|
|
1302
1266
|
Message?: string;
|
|
1303
1267
|
EC2ErrorCode?: string;
|
|
1304
1268
|
}
|
|
1305
|
-
export declare namespace EC2UnexpectedException {
|
|
1306
|
-
|
|
1307
|
-
const filterSensitiveLog: (obj: EC2UnexpectedException) => any;
|
|
1308
|
-
}
|
|
1309
1269
|
|
|
1310
1270
|
export interface EFSIOException extends __SmithyException, $MetadataBearer {
|
|
1311
1271
|
name: "EFSIOException";
|
|
@@ -1313,10 +1273,6 @@ export interface EFSIOException extends __SmithyException, $MetadataBearer {
|
|
|
1313
1273
|
Type?: string;
|
|
1314
1274
|
Message?: string;
|
|
1315
1275
|
}
|
|
1316
|
-
export declare namespace EFSIOException {
|
|
1317
|
-
|
|
1318
|
-
const filterSensitiveLog: (obj: EFSIOException) => any;
|
|
1319
|
-
}
|
|
1320
1276
|
|
|
1321
1277
|
export interface EFSMountConnectivityException extends __SmithyException, $MetadataBearer {
|
|
1322
1278
|
name: "EFSMountConnectivityException";
|
|
@@ -1324,10 +1280,6 @@ export interface EFSMountConnectivityException extends __SmithyException, $Metad
|
|
|
1324
1280
|
Type?: string;
|
|
1325
1281
|
Message?: string;
|
|
1326
1282
|
}
|
|
1327
|
-
export declare namespace EFSMountConnectivityException {
|
|
1328
|
-
|
|
1329
|
-
const filterSensitiveLog: (obj: EFSMountConnectivityException) => any;
|
|
1330
|
-
}
|
|
1331
1283
|
|
|
1332
1284
|
export interface EFSMountFailureException extends __SmithyException, $MetadataBearer {
|
|
1333
1285
|
name: "EFSMountFailureException";
|
|
@@ -1335,10 +1287,6 @@ export interface EFSMountFailureException extends __SmithyException, $MetadataBe
|
|
|
1335
1287
|
Type?: string;
|
|
1336
1288
|
Message?: string;
|
|
1337
1289
|
}
|
|
1338
|
-
export declare namespace EFSMountFailureException {
|
|
1339
|
-
|
|
1340
|
-
const filterSensitiveLog: (obj: EFSMountFailureException) => any;
|
|
1341
|
-
}
|
|
1342
1290
|
|
|
1343
1291
|
export interface EFSMountTimeoutException extends __SmithyException, $MetadataBearer {
|
|
1344
1292
|
name: "EFSMountTimeoutException";
|
|
@@ -1346,10 +1294,6 @@ export interface EFSMountTimeoutException extends __SmithyException, $MetadataBe
|
|
|
1346
1294
|
Type?: string;
|
|
1347
1295
|
Message?: string;
|
|
1348
1296
|
}
|
|
1349
|
-
export declare namespace EFSMountTimeoutException {
|
|
1350
|
-
|
|
1351
|
-
const filterSensitiveLog: (obj: EFSMountTimeoutException) => any;
|
|
1352
|
-
}
|
|
1353
1297
|
|
|
1354
1298
|
export interface ENILimitReachedException extends __SmithyException, $MetadataBearer {
|
|
1355
1299
|
name: "ENILimitReachedException";
|
|
@@ -1357,10 +1301,6 @@ export interface ENILimitReachedException extends __SmithyException, $MetadataBe
|
|
|
1357
1301
|
Type?: string;
|
|
1358
1302
|
Message?: string;
|
|
1359
1303
|
}
|
|
1360
|
-
export declare namespace ENILimitReachedException {
|
|
1361
|
-
|
|
1362
|
-
const filterSensitiveLog: (obj: ENILimitReachedException) => any;
|
|
1363
|
-
}
|
|
1364
1304
|
|
|
1365
1305
|
export interface InvalidRequestContentException extends __SmithyException, $MetadataBearer {
|
|
1366
1306
|
name: "InvalidRequestContentException";
|
|
@@ -1370,10 +1310,6 @@ export interface InvalidRequestContentException extends __SmithyException, $Meta
|
|
|
1370
1310
|
|
|
1371
1311
|
message?: string;
|
|
1372
1312
|
}
|
|
1373
|
-
export declare namespace InvalidRequestContentException {
|
|
1374
|
-
|
|
1375
|
-
const filterSensitiveLog: (obj: InvalidRequestContentException) => any;
|
|
1376
|
-
}
|
|
1377
1313
|
|
|
1378
1314
|
export interface InvalidRuntimeException extends __SmithyException, $MetadataBearer {
|
|
1379
1315
|
name: "InvalidRuntimeException";
|
|
@@ -1381,10 +1317,6 @@ export interface InvalidRuntimeException extends __SmithyException, $MetadataBea
|
|
|
1381
1317
|
Type?: string;
|
|
1382
1318
|
Message?: string;
|
|
1383
1319
|
}
|
|
1384
|
-
export declare namespace InvalidRuntimeException {
|
|
1385
|
-
|
|
1386
|
-
const filterSensitiveLog: (obj: InvalidRuntimeException) => any;
|
|
1387
|
-
}
|
|
1388
1320
|
|
|
1389
1321
|
export interface InvalidSecurityGroupIDException extends __SmithyException, $MetadataBearer {
|
|
1390
1322
|
name: "InvalidSecurityGroupIDException";
|
|
@@ -1392,10 +1324,6 @@ export interface InvalidSecurityGroupIDException extends __SmithyException, $Met
|
|
|
1392
1324
|
Type?: string;
|
|
1393
1325
|
Message?: string;
|
|
1394
1326
|
}
|
|
1395
|
-
export declare namespace InvalidSecurityGroupIDException {
|
|
1396
|
-
|
|
1397
|
-
const filterSensitiveLog: (obj: InvalidSecurityGroupIDException) => any;
|
|
1398
|
-
}
|
|
1399
1327
|
|
|
1400
1328
|
export interface InvalidSubnetIDException extends __SmithyException, $MetadataBearer {
|
|
1401
1329
|
name: "InvalidSubnetIDException";
|
|
@@ -1403,10 +1331,6 @@ export interface InvalidSubnetIDException extends __SmithyException, $MetadataBe
|
|
|
1403
1331
|
Type?: string;
|
|
1404
1332
|
Message?: string;
|
|
1405
1333
|
}
|
|
1406
|
-
export declare namespace InvalidSubnetIDException {
|
|
1407
|
-
|
|
1408
|
-
const filterSensitiveLog: (obj: InvalidSubnetIDException) => any;
|
|
1409
|
-
}
|
|
1410
1334
|
|
|
1411
1335
|
export interface InvalidZipFileException extends __SmithyException, $MetadataBearer {
|
|
1412
1336
|
name: "InvalidZipFileException";
|
|
@@ -1414,10 +1338,6 @@ export interface InvalidZipFileException extends __SmithyException, $MetadataBea
|
|
|
1414
1338
|
Type?: string;
|
|
1415
1339
|
Message?: string;
|
|
1416
1340
|
}
|
|
1417
|
-
export declare namespace InvalidZipFileException {
|
|
1418
|
-
|
|
1419
|
-
const filterSensitiveLog: (obj: InvalidZipFileException) => any;
|
|
1420
|
-
}
|
|
1421
1341
|
export declare enum InvocationType {
|
|
1422
1342
|
DryRun = "DryRun",
|
|
1423
1343
|
Event = "Event",
|
|
@@ -1468,10 +1388,6 @@ export interface KMSAccessDeniedException extends __SmithyException, $MetadataBe
|
|
|
1468
1388
|
Type?: string;
|
|
1469
1389
|
Message?: string;
|
|
1470
1390
|
}
|
|
1471
|
-
export declare namespace KMSAccessDeniedException {
|
|
1472
|
-
|
|
1473
|
-
const filterSensitiveLog: (obj: KMSAccessDeniedException) => any;
|
|
1474
|
-
}
|
|
1475
1391
|
|
|
1476
1392
|
export interface KMSDisabledException extends __SmithyException, $MetadataBearer {
|
|
1477
1393
|
name: "KMSDisabledException";
|
|
@@ -1479,10 +1395,6 @@ export interface KMSDisabledException extends __SmithyException, $MetadataBearer
|
|
|
1479
1395
|
Type?: string;
|
|
1480
1396
|
Message?: string;
|
|
1481
1397
|
}
|
|
1482
|
-
export declare namespace KMSDisabledException {
|
|
1483
|
-
|
|
1484
|
-
const filterSensitiveLog: (obj: KMSDisabledException) => any;
|
|
1485
|
-
}
|
|
1486
1398
|
|
|
1487
1399
|
export interface KMSInvalidStateException extends __SmithyException, $MetadataBearer {
|
|
1488
1400
|
name: "KMSInvalidStateException";
|
|
@@ -1490,10 +1402,6 @@ export interface KMSInvalidStateException extends __SmithyException, $MetadataBe
|
|
|
1490
1402
|
Type?: string;
|
|
1491
1403
|
Message?: string;
|
|
1492
1404
|
}
|
|
1493
|
-
export declare namespace KMSInvalidStateException {
|
|
1494
|
-
|
|
1495
|
-
const filterSensitiveLog: (obj: KMSInvalidStateException) => any;
|
|
1496
|
-
}
|
|
1497
1405
|
|
|
1498
1406
|
export interface KMSNotFoundException extends __SmithyException, $MetadataBearer {
|
|
1499
1407
|
name: "KMSNotFoundException";
|
|
@@ -1501,10 +1409,6 @@ export interface KMSNotFoundException extends __SmithyException, $MetadataBearer
|
|
|
1501
1409
|
Type?: string;
|
|
1502
1410
|
Message?: string;
|
|
1503
1411
|
}
|
|
1504
|
-
export declare namespace KMSNotFoundException {
|
|
1505
|
-
|
|
1506
|
-
const filterSensitiveLog: (obj: KMSNotFoundException) => any;
|
|
1507
|
-
}
|
|
1508
1412
|
|
|
1509
1413
|
export interface RequestTooLargeException extends __SmithyException, $MetadataBearer {
|
|
1510
1414
|
name: "RequestTooLargeException";
|
|
@@ -1512,10 +1416,6 @@ export interface RequestTooLargeException extends __SmithyException, $MetadataBe
|
|
|
1512
1416
|
Type?: string;
|
|
1513
1417
|
message?: string;
|
|
1514
1418
|
}
|
|
1515
|
-
export declare namespace RequestTooLargeException {
|
|
1516
|
-
|
|
1517
|
-
const filterSensitiveLog: (obj: RequestTooLargeException) => any;
|
|
1518
|
-
}
|
|
1519
1419
|
|
|
1520
1420
|
export interface ResourceNotReadyException extends __SmithyException, $MetadataBearer {
|
|
1521
1421
|
name: "ResourceNotReadyException";
|
|
@@ -1525,10 +1425,6 @@ export interface ResourceNotReadyException extends __SmithyException, $MetadataB
|
|
|
1525
1425
|
|
|
1526
1426
|
message?: string;
|
|
1527
1427
|
}
|
|
1528
|
-
export declare namespace ResourceNotReadyException {
|
|
1529
|
-
|
|
1530
|
-
const filterSensitiveLog: (obj: ResourceNotReadyException) => any;
|
|
1531
|
-
}
|
|
1532
1428
|
|
|
1533
1429
|
export interface SubnetIPAddressLimitReachedException extends __SmithyException, $MetadataBearer {
|
|
1534
1430
|
name: "SubnetIPAddressLimitReachedException";
|
|
@@ -1536,10 +1432,6 @@ export interface SubnetIPAddressLimitReachedException extends __SmithyException,
|
|
|
1536
1432
|
Type?: string;
|
|
1537
1433
|
Message?: string;
|
|
1538
1434
|
}
|
|
1539
|
-
export declare namespace SubnetIPAddressLimitReachedException {
|
|
1540
|
-
|
|
1541
|
-
const filterSensitiveLog: (obj: SubnetIPAddressLimitReachedException) => any;
|
|
1542
|
-
}
|
|
1543
1435
|
|
|
1544
1436
|
export interface UnsupportedMediaTypeException extends __SmithyException, $MetadataBearer {
|
|
1545
1437
|
name: "UnsupportedMediaTypeException";
|
|
@@ -1547,10 +1439,6 @@ export interface UnsupportedMediaTypeException extends __SmithyException, $Metad
|
|
|
1547
1439
|
Type?: string;
|
|
1548
1440
|
message?: string;
|
|
1549
1441
|
}
|
|
1550
|
-
export declare namespace UnsupportedMediaTypeException {
|
|
1551
|
-
|
|
1552
|
-
const filterSensitiveLog: (obj: UnsupportedMediaTypeException) => any;
|
|
1553
|
-
}
|
|
1554
1442
|
export interface InvokeAsyncRequest {
|
|
1555
1443
|
|
|
1556
1444
|
FunctionName: string | undefined;
|
|
@@ -2124,6 +2012,8 @@ export interface UpdateEventSourceMappingRequest {
|
|
|
2124
2012
|
|
|
2125
2013
|
BatchSize?: number;
|
|
2126
2014
|
|
|
2015
|
+
FilterCriteria?: FilterCriteria;
|
|
2016
|
+
|
|
2127
2017
|
MaximumBatchingWindowInSeconds?: number;
|
|
2128
2018
|
|
|
2129
2019
|
DestinationConfig?: DestinationConfig;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { LambdaClientConfig } from "./LambdaClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { LambdaClientConfig } from "./LambdaClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
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.47.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
-
"
|
|
12
|
-
"clean
|
|
13
|
-
"clean:docs": "rimraf ./docs",
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"test": "exit 0"
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
16
13
|
},
|
|
17
14
|
"main": "./dist-cjs/index.js",
|
|
18
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,49 +18,45 @@
|
|
|
21
18
|
"dependencies": {
|
|
22
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-
|
|
52
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.0",
|
|
39
|
+
"@aws-sdk/types": "3.47.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.0",
|
|
51
|
+
"@aws-sdk/util-waiter": "3.47.0",
|
|
53
52
|
"tslib": "^2.3.0"
|
|
54
53
|
},
|
|
55
54
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
57
|
-
"@types/node": "^12.7.5"
|
|
58
|
-
"downlevel-dts": "0.7.0",
|
|
59
|
-
"jest": "^26.1.0",
|
|
60
|
-
"rimraf": "^3.0.0",
|
|
61
|
-
"ts-jest": "^26.4.1",
|
|
62
|
-
"typedoc": "^0.19.2",
|
|
63
|
-
"typescript": "~4.3.5"
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.0",
|
|
56
|
+
"@types/node": "^12.7.5"
|
|
64
57
|
},
|
|
65
58
|
"engines": {
|
|
66
|
-
"node": ">=
|
|
59
|
+
"node": ">=12.0.0"
|
|
67
60
|
},
|
|
68
61
|
"typesVersions": {
|
|
69
62
|
"<4.0": {
|