@aws-sdk/client-lambda 3.300.0 → 3.303.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/models/models_0.js +173 -196
- package/dist-es/models/models_0.js +173 -196
- package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +1 -1
- package/dist-types/commands/AddPermissionCommand.d.ts +1 -1
- package/dist-types/commands/CreateAliasCommand.d.ts +3 -3
- package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +4 -4
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +19 -19
- package/dist-types/commands/CreateFunctionCommand.d.ts +18 -18
- package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +5 -5
- package/dist-types/commands/DeleteAliasCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLayerVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetAliasCommand.d.ts +1 -1
- package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetEventSourceMappingCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -1
- package/dist-types/commands/GetLayerVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +1 -1
- package/dist-types/commands/InvokeAsyncCommand.d.ts +1 -1
- package/dist-types/commands/InvokeCommand.d.ts +1 -1
- package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
- package/dist-types/commands/ListLayerVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListLayersCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +1 -1
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +4 -4
- package/dist-types/commands/PublishVersionCommand.d.ts +1 -1
- package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +1 -1
- package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +4 -4
- package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +1 -1
- package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +1 -1
- package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +1 -1
- package/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAliasCommand.d.ts +3 -3
- package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +4 -4
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +12 -12
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +2 -2
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +15 -15
- package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +4 -4
- package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +5 -5
- package/dist-types/models/models_0.d.ts +288 -173
- package/dist-types/ts3.4/models/models_0.d.ts +211 -173
- package/package.json +35 -35
|
@@ -73,14 +73,16 @@ export declare class ServiceException extends __BaseException {
|
|
|
73
73
|
Message?: string;
|
|
74
74
|
constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
|
|
75
75
|
}
|
|
76
|
-
export declare
|
|
77
|
-
CallerRateLimitExceeded
|
|
78
|
-
ConcurrentInvocationLimitExceeded
|
|
79
|
-
ConcurrentSnapshotCreateLimitExceeded
|
|
80
|
-
FunctionInvocationRateLimitExceeded
|
|
81
|
-
ReservedFunctionConcurrentInvocationLimitExceeded
|
|
82
|
-
ReservedFunctionInvocationRateLimitExceeded
|
|
83
|
-
}
|
|
76
|
+
export declare const ThrottleReason: {
|
|
77
|
+
readonly CallerRateLimitExceeded: "CallerRateLimitExceeded";
|
|
78
|
+
readonly ConcurrentInvocationLimitExceeded: "ConcurrentInvocationLimitExceeded";
|
|
79
|
+
readonly ConcurrentSnapshotCreateLimitExceeded: "ConcurrentSnapshotCreateLimitExceeded";
|
|
80
|
+
readonly FunctionInvocationRateLimitExceeded: "FunctionInvocationRateLimitExceeded";
|
|
81
|
+
readonly ReservedFunctionConcurrentInvocationLimitExceeded: "ReservedFunctionConcurrentInvocationLimitExceeded";
|
|
82
|
+
readonly ReservedFunctionInvocationRateLimitExceeded: "ReservedFunctionInvocationRateLimitExceeded";
|
|
83
|
+
};
|
|
84
|
+
export type ThrottleReason =
|
|
85
|
+
(typeof ThrottleReason)[keyof typeof ThrottleReason];
|
|
84
86
|
export declare class TooManyRequestsException extends __BaseException {
|
|
85
87
|
readonly name: "TooManyRequestsException";
|
|
86
88
|
readonly $fault: "client";
|
|
@@ -91,10 +93,12 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
91
93
|
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
92
94
|
);
|
|
93
95
|
}
|
|
94
|
-
export declare
|
|
95
|
-
AWS_IAM
|
|
96
|
-
NONE
|
|
97
|
-
}
|
|
96
|
+
export declare const FunctionUrlAuthType: {
|
|
97
|
+
readonly AWS_IAM: "AWS_IAM";
|
|
98
|
+
readonly NONE: "NONE";
|
|
99
|
+
};
|
|
100
|
+
export type FunctionUrlAuthType =
|
|
101
|
+
(typeof FunctionUrlAuthType)[keyof typeof FunctionUrlAuthType];
|
|
98
102
|
export interface AddPermissionRequest {
|
|
99
103
|
FunctionName: string | undefined;
|
|
100
104
|
StatementId: string | undefined;
|
|
@@ -128,10 +132,11 @@ export interface AllowedPublishers {
|
|
|
128
132
|
export interface AmazonManagedKafkaEventSourceConfig {
|
|
129
133
|
ConsumerGroupId?: string;
|
|
130
134
|
}
|
|
131
|
-
export declare
|
|
132
|
-
arm64
|
|
133
|
-
x86_64
|
|
134
|
-
}
|
|
135
|
+
export declare const Architecture: {
|
|
136
|
+
readonly arm64: "arm64";
|
|
137
|
+
readonly x86_64: "x86_64";
|
|
138
|
+
};
|
|
139
|
+
export type Architecture = (typeof Architecture)[keyof typeof Architecture];
|
|
135
140
|
export interface CreateAliasRequest {
|
|
136
141
|
FunctionName: string | undefined;
|
|
137
142
|
Name: string | undefined;
|
|
@@ -139,10 +144,12 @@ export interface CreateAliasRequest {
|
|
|
139
144
|
Description?: string;
|
|
140
145
|
RoutingConfig?: AliasRoutingConfiguration;
|
|
141
146
|
}
|
|
142
|
-
export declare
|
|
143
|
-
Enforce
|
|
144
|
-
Warn
|
|
145
|
-
}
|
|
147
|
+
export declare const CodeSigningPolicy: {
|
|
148
|
+
readonly Enforce: "Enforce";
|
|
149
|
+
readonly Warn: "Warn";
|
|
150
|
+
};
|
|
151
|
+
export type CodeSigningPolicy =
|
|
152
|
+
(typeof CodeSigningPolicy)[keyof typeof CodeSigningPolicy];
|
|
146
153
|
export interface CodeSigningPolicies {
|
|
147
154
|
UntrustedArtifactOnDeployment?: CodeSigningPolicy | string;
|
|
148
155
|
}
|
|
@@ -172,10 +179,11 @@ export interface DestinationConfig {
|
|
|
172
179
|
OnSuccess?: OnSuccess;
|
|
173
180
|
OnFailure?: OnFailure;
|
|
174
181
|
}
|
|
175
|
-
export declare
|
|
176
|
-
Default
|
|
177
|
-
UpdateLookup
|
|
178
|
-
}
|
|
182
|
+
export declare const FullDocument: {
|
|
183
|
+
readonly Default: "Default";
|
|
184
|
+
readonly UpdateLookup: "UpdateLookup";
|
|
185
|
+
};
|
|
186
|
+
export type FullDocument = (typeof FullDocument)[keyof typeof FullDocument];
|
|
179
187
|
export interface DocumentDBEventSourceConfig {
|
|
180
188
|
DatabaseName?: string;
|
|
181
189
|
CollectionName?: string;
|
|
@@ -187,40 +195,47 @@ export interface Filter {
|
|
|
187
195
|
export interface FilterCriteria {
|
|
188
196
|
Filters?: Filter[];
|
|
189
197
|
}
|
|
190
|
-
export declare
|
|
191
|
-
ReportBatchItemFailures
|
|
192
|
-
}
|
|
198
|
+
export declare const FunctionResponseType: {
|
|
199
|
+
readonly ReportBatchItemFailures: "ReportBatchItemFailures";
|
|
200
|
+
};
|
|
201
|
+
export type FunctionResponseType =
|
|
202
|
+
(typeof FunctionResponseType)[keyof typeof FunctionResponseType];
|
|
193
203
|
export interface ScalingConfig {
|
|
194
204
|
MaximumConcurrency?: number;
|
|
195
205
|
}
|
|
196
|
-
export declare
|
|
197
|
-
KAFKA_BOOTSTRAP_SERVERS
|
|
198
|
-
}
|
|
206
|
+
export declare const EndPointType: {
|
|
207
|
+
readonly KAFKA_BOOTSTRAP_SERVERS: "KAFKA_BOOTSTRAP_SERVERS";
|
|
208
|
+
};
|
|
209
|
+
export type EndPointType = (typeof EndPointType)[keyof typeof EndPointType];
|
|
199
210
|
export interface SelfManagedEventSource {
|
|
200
211
|
Endpoints?: Record<string, string[]>;
|
|
201
212
|
}
|
|
202
213
|
export interface SelfManagedKafkaEventSourceConfig {
|
|
203
214
|
ConsumerGroupId?: string;
|
|
204
215
|
}
|
|
205
|
-
export declare
|
|
206
|
-
BASIC_AUTH
|
|
207
|
-
CLIENT_CERTIFICATE_TLS_AUTH
|
|
208
|
-
SASL_SCRAM_256_AUTH
|
|
209
|
-
SASL_SCRAM_512_AUTH
|
|
210
|
-
SERVER_ROOT_CA_CERTIFICATE
|
|
211
|
-
VIRTUAL_HOST
|
|
212
|
-
VPC_SECURITY_GROUP
|
|
213
|
-
VPC_SUBNET
|
|
214
|
-
}
|
|
216
|
+
export declare const SourceAccessType: {
|
|
217
|
+
readonly BASIC_AUTH: "BASIC_AUTH";
|
|
218
|
+
readonly CLIENT_CERTIFICATE_TLS_AUTH: "CLIENT_CERTIFICATE_TLS_AUTH";
|
|
219
|
+
readonly SASL_SCRAM_256_AUTH: "SASL_SCRAM_256_AUTH";
|
|
220
|
+
readonly SASL_SCRAM_512_AUTH: "SASL_SCRAM_512_AUTH";
|
|
221
|
+
readonly SERVER_ROOT_CA_CERTIFICATE: "SERVER_ROOT_CA_CERTIFICATE";
|
|
222
|
+
readonly VIRTUAL_HOST: "VIRTUAL_HOST";
|
|
223
|
+
readonly VPC_SECURITY_GROUP: "VPC_SECURITY_GROUP";
|
|
224
|
+
readonly VPC_SUBNET: "VPC_SUBNET";
|
|
225
|
+
};
|
|
226
|
+
export type SourceAccessType =
|
|
227
|
+
(typeof SourceAccessType)[keyof typeof SourceAccessType];
|
|
215
228
|
export interface SourceAccessConfiguration {
|
|
216
229
|
Type?: SourceAccessType | string;
|
|
217
230
|
URI?: string;
|
|
218
231
|
}
|
|
219
|
-
export declare
|
|
220
|
-
AT_TIMESTAMP
|
|
221
|
-
LATEST
|
|
222
|
-
TRIM_HORIZON
|
|
223
|
-
}
|
|
232
|
+
export declare const EventSourcePosition: {
|
|
233
|
+
readonly AT_TIMESTAMP: "AT_TIMESTAMP";
|
|
234
|
+
readonly LATEST: "LATEST";
|
|
235
|
+
readonly TRIM_HORIZON: "TRIM_HORIZON";
|
|
236
|
+
};
|
|
237
|
+
export type EventSourcePosition =
|
|
238
|
+
(typeof EventSourcePosition)[keyof typeof EventSourcePosition];
|
|
224
239
|
export interface CreateEventSourceMappingRequest {
|
|
225
240
|
EventSourceArn?: string;
|
|
226
241
|
FunctionName: string | undefined;
|
|
@@ -332,51 +347,56 @@ export interface ImageConfig {
|
|
|
332
347
|
Command?: string[];
|
|
333
348
|
WorkingDirectory?: string;
|
|
334
349
|
}
|
|
335
|
-
export declare
|
|
336
|
-
Image
|
|
337
|
-
Zip
|
|
338
|
-
}
|
|
339
|
-
export
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
350
|
+
export declare const PackageType: {
|
|
351
|
+
readonly Image: "Image";
|
|
352
|
+
readonly Zip: "Zip";
|
|
353
|
+
};
|
|
354
|
+
export type PackageType = (typeof PackageType)[keyof typeof PackageType];
|
|
355
|
+
export declare const Runtime: {
|
|
356
|
+
readonly dotnet6: "dotnet6";
|
|
357
|
+
readonly dotnetcore10: "dotnetcore1.0";
|
|
358
|
+
readonly dotnetcore20: "dotnetcore2.0";
|
|
359
|
+
readonly dotnetcore21: "dotnetcore2.1";
|
|
360
|
+
readonly dotnetcore31: "dotnetcore3.1";
|
|
361
|
+
readonly go1x: "go1.x";
|
|
362
|
+
readonly java11: "java11";
|
|
363
|
+
readonly java8: "java8";
|
|
364
|
+
readonly java8al2: "java8.al2";
|
|
365
|
+
readonly nodejs: "nodejs";
|
|
366
|
+
readonly nodejs10x: "nodejs10.x";
|
|
367
|
+
readonly nodejs12x: "nodejs12.x";
|
|
368
|
+
readonly nodejs14x: "nodejs14.x";
|
|
369
|
+
readonly nodejs16x: "nodejs16.x";
|
|
370
|
+
readonly nodejs18x: "nodejs18.x";
|
|
371
|
+
readonly nodejs43: "nodejs4.3";
|
|
372
|
+
readonly nodejs43edge: "nodejs4.3-edge";
|
|
373
|
+
readonly nodejs610: "nodejs6.10";
|
|
374
|
+
readonly nodejs810: "nodejs8.10";
|
|
375
|
+
readonly provided: "provided";
|
|
376
|
+
readonly providedal2: "provided.al2";
|
|
377
|
+
readonly python27: "python2.7";
|
|
378
|
+
readonly python36: "python3.6";
|
|
379
|
+
readonly python37: "python3.7";
|
|
380
|
+
readonly python38: "python3.8";
|
|
381
|
+
readonly python39: "python3.9";
|
|
382
|
+
readonly ruby25: "ruby2.5";
|
|
383
|
+
readonly ruby27: "ruby2.7";
|
|
384
|
+
};
|
|
385
|
+
export type Runtime = (typeof Runtime)[keyof typeof Runtime];
|
|
386
|
+
export declare const SnapStartApplyOn: {
|
|
387
|
+
readonly None: "None";
|
|
388
|
+
readonly PublishedVersions: "PublishedVersions";
|
|
389
|
+
};
|
|
390
|
+
export type SnapStartApplyOn =
|
|
391
|
+
(typeof SnapStartApplyOn)[keyof typeof SnapStartApplyOn];
|
|
373
392
|
export interface SnapStart {
|
|
374
393
|
ApplyOn?: SnapStartApplyOn | string;
|
|
375
394
|
}
|
|
376
|
-
export declare
|
|
377
|
-
Active
|
|
378
|
-
PassThrough
|
|
379
|
-
}
|
|
395
|
+
export declare const TracingMode: {
|
|
396
|
+
readonly Active: "Active";
|
|
397
|
+
readonly PassThrough: "PassThrough";
|
|
398
|
+
};
|
|
399
|
+
export type TracingMode = (typeof TracingMode)[keyof typeof TracingMode];
|
|
380
400
|
export interface TracingConfig {
|
|
381
401
|
Mode?: TracingMode | string;
|
|
382
402
|
}
|
|
@@ -425,34 +445,38 @@ export interface ImageConfigResponse {
|
|
|
425
445
|
ImageConfig?: ImageConfig;
|
|
426
446
|
Error?: ImageConfigError;
|
|
427
447
|
}
|
|
428
|
-
export declare
|
|
429
|
-
Failed
|
|
430
|
-
InProgress
|
|
431
|
-
Successful
|
|
432
|
-
}
|
|
433
|
-
export
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
448
|
+
export declare const LastUpdateStatus: {
|
|
449
|
+
readonly Failed: "Failed";
|
|
450
|
+
readonly InProgress: "InProgress";
|
|
451
|
+
readonly Successful: "Successful";
|
|
452
|
+
};
|
|
453
|
+
export type LastUpdateStatus =
|
|
454
|
+
(typeof LastUpdateStatus)[keyof typeof LastUpdateStatus];
|
|
455
|
+
export declare const LastUpdateStatusReasonCode: {
|
|
456
|
+
readonly DisabledKMSKey: "DisabledKMSKey";
|
|
457
|
+
readonly EFSIOError: "EFSIOError";
|
|
458
|
+
readonly EFSMountConnectivityError: "EFSMountConnectivityError";
|
|
459
|
+
readonly EFSMountFailure: "EFSMountFailure";
|
|
460
|
+
readonly EFSMountTimeout: "EFSMountTimeout";
|
|
461
|
+
readonly EniLimitExceeded: "EniLimitExceeded";
|
|
462
|
+
readonly FunctionError: "FunctionError";
|
|
463
|
+
readonly ImageAccessDenied: "ImageAccessDenied";
|
|
464
|
+
readonly ImageDeleted: "ImageDeleted";
|
|
465
|
+
readonly InsufficientRolePermissions: "InsufficientRolePermissions";
|
|
466
|
+
readonly InternalError: "InternalError";
|
|
467
|
+
readonly InvalidConfiguration: "InvalidConfiguration";
|
|
468
|
+
readonly InvalidImage: "InvalidImage";
|
|
469
|
+
readonly InvalidRuntime: "InvalidRuntime";
|
|
470
|
+
readonly InvalidSecurityGroup: "InvalidSecurityGroup";
|
|
471
|
+
readonly InvalidStateKMSKey: "InvalidStateKMSKey";
|
|
472
|
+
readonly InvalidSubnet: "InvalidSubnet";
|
|
473
|
+
readonly InvalidZipFileException: "InvalidZipFileException";
|
|
474
|
+
readonly KMSKeyAccessDenied: "KMSKeyAccessDenied";
|
|
475
|
+
readonly KMSKeyNotFound: "KMSKeyNotFound";
|
|
476
|
+
readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses";
|
|
477
|
+
};
|
|
478
|
+
export type LastUpdateStatusReasonCode =
|
|
479
|
+
(typeof LastUpdateStatusReasonCode)[keyof typeof LastUpdateStatusReasonCode];
|
|
456
480
|
export interface Layer {
|
|
457
481
|
Arn?: string;
|
|
458
482
|
CodeSize?: number;
|
|
@@ -467,46 +491,51 @@ export interface RuntimeVersionConfig {
|
|
|
467
491
|
RuntimeVersionArn?: string;
|
|
468
492
|
Error?: RuntimeVersionError;
|
|
469
493
|
}
|
|
470
|
-
export declare
|
|
471
|
-
Off
|
|
472
|
-
On
|
|
473
|
-
}
|
|
494
|
+
export declare const SnapStartOptimizationStatus: {
|
|
495
|
+
readonly Off: "Off";
|
|
496
|
+
readonly On: "On";
|
|
497
|
+
};
|
|
498
|
+
export type SnapStartOptimizationStatus =
|
|
499
|
+
(typeof SnapStartOptimizationStatus)[keyof typeof SnapStartOptimizationStatus];
|
|
474
500
|
export interface SnapStartResponse {
|
|
475
501
|
ApplyOn?: SnapStartApplyOn | string;
|
|
476
502
|
OptimizationStatus?: SnapStartOptimizationStatus | string;
|
|
477
503
|
}
|
|
478
|
-
export declare
|
|
479
|
-
Active
|
|
480
|
-
Failed
|
|
481
|
-
Inactive
|
|
482
|
-
Pending
|
|
483
|
-
}
|
|
484
|
-
export
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
504
|
+
export declare const State: {
|
|
505
|
+
readonly Active: "Active";
|
|
506
|
+
readonly Failed: "Failed";
|
|
507
|
+
readonly Inactive: "Inactive";
|
|
508
|
+
readonly Pending: "Pending";
|
|
509
|
+
};
|
|
510
|
+
export type State = (typeof State)[keyof typeof State];
|
|
511
|
+
export declare const StateReasonCode: {
|
|
512
|
+
readonly Creating: "Creating";
|
|
513
|
+
readonly DisabledKMSKey: "DisabledKMSKey";
|
|
514
|
+
readonly EFSIOError: "EFSIOError";
|
|
515
|
+
readonly EFSMountConnectivityError: "EFSMountConnectivityError";
|
|
516
|
+
readonly EFSMountFailure: "EFSMountFailure";
|
|
517
|
+
readonly EFSMountTimeout: "EFSMountTimeout";
|
|
518
|
+
readonly EniLimitExceeded: "EniLimitExceeded";
|
|
519
|
+
readonly FunctionError: "FunctionError";
|
|
520
|
+
readonly Idle: "Idle";
|
|
521
|
+
readonly ImageAccessDenied: "ImageAccessDenied";
|
|
522
|
+
readonly ImageDeleted: "ImageDeleted";
|
|
523
|
+
readonly InsufficientRolePermissions: "InsufficientRolePermissions";
|
|
524
|
+
readonly InternalError: "InternalError";
|
|
525
|
+
readonly InvalidConfiguration: "InvalidConfiguration";
|
|
526
|
+
readonly InvalidImage: "InvalidImage";
|
|
527
|
+
readonly InvalidRuntime: "InvalidRuntime";
|
|
528
|
+
readonly InvalidSecurityGroup: "InvalidSecurityGroup";
|
|
529
|
+
readonly InvalidStateKMSKey: "InvalidStateKMSKey";
|
|
530
|
+
readonly InvalidSubnet: "InvalidSubnet";
|
|
531
|
+
readonly InvalidZipFileException: "InvalidZipFileException";
|
|
532
|
+
readonly KMSKeyAccessDenied: "KMSKeyAccessDenied";
|
|
533
|
+
readonly KMSKeyNotFound: "KMSKeyNotFound";
|
|
534
|
+
readonly Restoring: "Restoring";
|
|
535
|
+
readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses";
|
|
536
|
+
};
|
|
537
|
+
export type StateReasonCode =
|
|
538
|
+
(typeof StateReasonCode)[keyof typeof StateReasonCode];
|
|
510
539
|
export interface TracingConfigResponse {
|
|
511
540
|
Mode?: TracingMode | string;
|
|
512
541
|
}
|
|
@@ -750,11 +779,13 @@ export interface GetProvisionedConcurrencyConfigRequest {
|
|
|
750
779
|
FunctionName: string | undefined;
|
|
751
780
|
Qualifier: string | undefined;
|
|
752
781
|
}
|
|
753
|
-
export declare
|
|
754
|
-
FAILED
|
|
755
|
-
IN_PROGRESS
|
|
756
|
-
READY
|
|
757
|
-
}
|
|
782
|
+
export declare const ProvisionedConcurrencyStatusEnum: {
|
|
783
|
+
readonly FAILED: "FAILED";
|
|
784
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
785
|
+
readonly READY: "READY";
|
|
786
|
+
};
|
|
787
|
+
export type ProvisionedConcurrencyStatusEnum =
|
|
788
|
+
(typeof ProvisionedConcurrencyStatusEnum)[keyof typeof ProvisionedConcurrencyStatusEnum];
|
|
758
789
|
export interface GetProvisionedConcurrencyConfigResponse {
|
|
759
790
|
RequestedProvisionedConcurrentExecutions?: number;
|
|
760
791
|
AvailableProvisionedConcurrentExecutions?: number;
|
|
@@ -778,11 +809,13 @@ export interface GetRuntimeManagementConfigRequest {
|
|
|
778
809
|
FunctionName: string | undefined;
|
|
779
810
|
Qualifier?: string;
|
|
780
811
|
}
|
|
781
|
-
export declare
|
|
782
|
-
Auto
|
|
783
|
-
FunctionUpdate
|
|
784
|
-
Manual
|
|
785
|
-
}
|
|
812
|
+
export declare const UpdateRuntimeOn: {
|
|
813
|
+
readonly Auto: "Auto";
|
|
814
|
+
readonly FunctionUpdate: "FunctionUpdate";
|
|
815
|
+
readonly Manual: "Manual";
|
|
816
|
+
};
|
|
817
|
+
export type UpdateRuntimeOn =
|
|
818
|
+
(typeof UpdateRuntimeOn)[keyof typeof UpdateRuntimeOn];
|
|
786
819
|
export interface GetRuntimeManagementConfigResponse {
|
|
787
820
|
UpdateRuntimeOn?: UpdateRuntimeOn | string;
|
|
788
821
|
RuntimeVersionArn?: string;
|
|
@@ -906,15 +939,18 @@ export declare class InvalidZipFileException extends __BaseException {
|
|
|
906
939
|
opts: __ExceptionOptionType<InvalidZipFileException, __BaseException>
|
|
907
940
|
);
|
|
908
941
|
}
|
|
909
|
-
export declare
|
|
910
|
-
DryRun
|
|
911
|
-
Event
|
|
912
|
-
RequestResponse
|
|
913
|
-
}
|
|
914
|
-
export
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
942
|
+
export declare const InvocationType: {
|
|
943
|
+
readonly DryRun: "DryRun";
|
|
944
|
+
readonly Event: "Event";
|
|
945
|
+
readonly RequestResponse: "RequestResponse";
|
|
946
|
+
};
|
|
947
|
+
export type InvocationType =
|
|
948
|
+
(typeof InvocationType)[keyof typeof InvocationType];
|
|
949
|
+
export declare const LogType: {
|
|
950
|
+
readonly None: "None";
|
|
951
|
+
readonly Tail: "Tail";
|
|
952
|
+
};
|
|
953
|
+
export type LogType = (typeof LogType)[keyof typeof LogType];
|
|
918
954
|
export interface InvocationRequest {
|
|
919
955
|
FunctionName: string | undefined;
|
|
920
956
|
InvocationType?: InvocationType | string;
|
|
@@ -1071,9 +1107,11 @@ export interface ListFunctionEventInvokeConfigsResponse {
|
|
|
1071
1107
|
FunctionEventInvokeConfigs?: FunctionEventInvokeConfig[];
|
|
1072
1108
|
NextMarker?: string;
|
|
1073
1109
|
}
|
|
1074
|
-
export declare
|
|
1075
|
-
ALL
|
|
1076
|
-
}
|
|
1110
|
+
export declare const FunctionVersion: {
|
|
1111
|
+
readonly ALL: "ALL";
|
|
1112
|
+
};
|
|
1113
|
+
export type FunctionVersion =
|
|
1114
|
+
(typeof FunctionVersion)[keyof typeof FunctionVersion];
|
|
1077
1115
|
export interface ListFunctionsRequest {
|
|
1078
1116
|
MasterRegion?: string;
|
|
1079
1117
|
FunctionVersion?: FunctionVersion | string;
|
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.303.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",
|
|
@@ -21,43 +21,43 @@
|
|
|
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/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-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
56
|
-
"@aws-sdk/util-waiter": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
|
+
"@aws-sdk/util-waiter": "3.303.0",
|
|
57
57
|
"tslib": "^2.5.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
60
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
61
61
|
"@tsconfig/node14": "1.0.3",
|
|
62
62
|
"@types/node": "^14.14.31",
|
|
63
63
|
"concurrently": "7.0.0",
|