@aws-sdk/client-lambda 3.934.0 → 3.935.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/index.js +262 -236
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +237 -0
- package/dist-es/models/errors.js +607 -0
- package/dist-es/models/models_0.js +1 -841
- package/dist-es/schemas/schemas_0.js +24 -3
- package/dist-types/commands/CreateFunctionCommand.d.ts +8 -2
- package/dist-types/commands/GetFunctionCommand.d.ts +4 -1
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -1
- package/dist-types/commands/GetLayerVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/dist-types/commands/InvokeCommand.d.ts +1 -0
- package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +1 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +4 -1
- package/dist-types/commands/ListLayerVersionsCommand.d.ts +2 -2
- package/dist-types/commands/ListLayersCommand.d.ts +2 -2
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +4 -1
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +2 -2
- package/dist-types/commands/PublishVersionCommand.d.ts +4 -1
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +4 -1
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +5 -2
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +509 -0
- package/dist-types/models/errors.d.ts +580 -0
- package/dist-types/models/models_0.d.ts +34 -1079
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +294 -0
- package/dist-types/ts3.4/models/errors.d.ts +357 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -645
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,580 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ThrottleReason } from "./enums";
|
|
3
|
+
import { LambdaServiceException as __BaseException } from "./LambdaServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class InvalidParameterValueException extends __BaseException {
|
|
9
|
+
readonly name: "InvalidParameterValueException";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
/**
|
|
12
|
+
* <p>The exception type.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
Type?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* <p>The permissions policy for the resource is too large. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export declare class PolicyLengthExceededException extends __BaseException {
|
|
26
|
+
readonly name: "PolicyLengthExceededException";
|
|
27
|
+
readonly $fault: "client";
|
|
28
|
+
Type?: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
constructor(opts: __ExceptionOptionType<PolicyLengthExceededException, __BaseException>);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.</p> <ul> <li> <p> <b>For AddPermission and RemovePermission API operations:</b> Call <code>GetPolicy</code> to retrieve the latest RevisionId for your resource.</p> </li> <li> <p> <b>For all other API operations:</b> Call <code>GetFunction</code> or <code>GetAlias</code> to retrieve the latest RevisionId for your resource.</p> </li> </ul>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export declare class PreconditionFailedException extends __BaseException {
|
|
39
|
+
readonly name: "PreconditionFailedException";
|
|
40
|
+
readonly $fault: "client";
|
|
41
|
+
/**
|
|
42
|
+
* <p>The exception type.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
Type?: string | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
constructor(opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
export declare class ResourceConflictException extends __BaseException {
|
|
56
|
+
readonly name: "ResourceConflictException";
|
|
57
|
+
readonly $fault: "client";
|
|
58
|
+
/**
|
|
59
|
+
* <p>The exception type.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
Type?: string | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
73
|
+
readonly name: "ResourceNotFoundException";
|
|
74
|
+
readonly $fault: "client";
|
|
75
|
+
Type?: string | undefined;
|
|
76
|
+
Message?: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class ServiceException extends __BaseException {
|
|
87
|
+
readonly name: "ServiceException";
|
|
88
|
+
readonly $fault: "server";
|
|
89
|
+
Type?: string | undefined;
|
|
90
|
+
Message?: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
101
|
+
readonly name: "TooManyRequestsException";
|
|
102
|
+
readonly $fault: "client";
|
|
103
|
+
/**
|
|
104
|
+
* <p>The number of seconds the caller should wait before retrying.</p>
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
retryAfterSeconds?: string | undefined;
|
|
108
|
+
Type?: string | undefined;
|
|
109
|
+
Reason?: ThrottleReason | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* <p>The operation conflicts with the resource's availability. For example, you tried to update an event source mapping in the CREATING state, or you tried to delete an event source mapping currently UPDATING.</p>
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
120
|
+
readonly name: "ResourceInUseException";
|
|
121
|
+
readonly $fault: "client";
|
|
122
|
+
Type?: string | undefined;
|
|
123
|
+
Message?: string | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* <p>The specified code signing configuration does not exist.</p>
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
export declare class CodeSigningConfigNotFoundException extends __BaseException {
|
|
134
|
+
readonly name: "CodeSigningConfigNotFoundException";
|
|
135
|
+
readonly $fault: "client";
|
|
136
|
+
Type?: string | undefined;
|
|
137
|
+
Message?: string | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* @internal
|
|
140
|
+
*/
|
|
141
|
+
constructor(opts: __ExceptionOptionType<CodeSigningConfigNotFoundException, __BaseException>);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* <p>Your Amazon Web Services account has exceeded its maximum total code size. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
export declare class CodeStorageExceededException extends __BaseException {
|
|
148
|
+
readonly name: "CodeStorageExceededException";
|
|
149
|
+
readonly $fault: "client";
|
|
150
|
+
/**
|
|
151
|
+
* <p>The exception type.</p>
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
Type?: string | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* @internal
|
|
157
|
+
*/
|
|
158
|
+
constructor(opts: __ExceptionOptionType<CodeStorageExceededException, __BaseException>);
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* <p>The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda blocks the deployment.</p>
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
export declare class CodeVerificationFailedException extends __BaseException {
|
|
165
|
+
readonly name: "CodeVerificationFailedException";
|
|
166
|
+
readonly $fault: "client";
|
|
167
|
+
Type?: string | undefined;
|
|
168
|
+
Message?: string | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* @internal
|
|
171
|
+
*/
|
|
172
|
+
constructor(opts: __ExceptionOptionType<CodeVerificationFailedException, __BaseException>);
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* <p>The code signature failed the integrity check. If the integrity check fails, then Lambda blocks deployment, even if the code signing policy is set to WARN.</p>
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
export declare class InvalidCodeSignatureException extends __BaseException {
|
|
179
|
+
readonly name: "InvalidCodeSignatureException";
|
|
180
|
+
readonly $fault: "client";
|
|
181
|
+
Type?: string | undefined;
|
|
182
|
+
Message?: string | undefined;
|
|
183
|
+
/**
|
|
184
|
+
* @internal
|
|
185
|
+
*/
|
|
186
|
+
constructor(opts: __ExceptionOptionType<InvalidCodeSignatureException, __BaseException>);
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* <p>Need additional permissions to configure VPC settings.</p>
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
export declare class EC2AccessDeniedException extends __BaseException {
|
|
193
|
+
readonly name: "EC2AccessDeniedException";
|
|
194
|
+
readonly $fault: "server";
|
|
195
|
+
Type?: string | undefined;
|
|
196
|
+
Message?: string | undefined;
|
|
197
|
+
/**
|
|
198
|
+
* @internal
|
|
199
|
+
*/
|
|
200
|
+
constructor(opts: __ExceptionOptionType<EC2AccessDeniedException, __BaseException>);
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* <p>Amazon EC2 throttled Lambda during Lambda function initialization using the execution role provided for the function.</p>
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
export declare class EC2ThrottledException extends __BaseException {
|
|
207
|
+
readonly name: "EC2ThrottledException";
|
|
208
|
+
readonly $fault: "server";
|
|
209
|
+
Type?: string | undefined;
|
|
210
|
+
Message?: string | undefined;
|
|
211
|
+
/**
|
|
212
|
+
* @internal
|
|
213
|
+
*/
|
|
214
|
+
constructor(opts: __ExceptionOptionType<EC2ThrottledException, __BaseException>);
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* <p>Lambda received an unexpected Amazon EC2 client exception while setting up for the Lambda function.</p>
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
export declare class EC2UnexpectedException extends __BaseException {
|
|
221
|
+
readonly name: "EC2UnexpectedException";
|
|
222
|
+
readonly $fault: "server";
|
|
223
|
+
Type?: string | undefined;
|
|
224
|
+
Message?: string | undefined;
|
|
225
|
+
EC2ErrorCode?: string | undefined;
|
|
226
|
+
/**
|
|
227
|
+
* @internal
|
|
228
|
+
*/
|
|
229
|
+
constructor(opts: __ExceptionOptionType<EC2UnexpectedException, __BaseException>);
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* <p>An error occurred when reading from or writing to a connected file system.</p>
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
235
|
+
export declare class EFSIOException extends __BaseException {
|
|
236
|
+
readonly name: "EFSIOException";
|
|
237
|
+
readonly $fault: "client";
|
|
238
|
+
Type?: string | undefined;
|
|
239
|
+
Message?: string | undefined;
|
|
240
|
+
/**
|
|
241
|
+
* @internal
|
|
242
|
+
*/
|
|
243
|
+
constructor(opts: __ExceptionOptionType<EFSIOException, __BaseException>);
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* <p>The Lambda function couldn't make a network connection to the configured file system.</p>
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
export declare class EFSMountConnectivityException extends __BaseException {
|
|
250
|
+
readonly name: "EFSMountConnectivityException";
|
|
251
|
+
readonly $fault: "client";
|
|
252
|
+
Type?: string | undefined;
|
|
253
|
+
Message?: string | undefined;
|
|
254
|
+
/**
|
|
255
|
+
* @internal
|
|
256
|
+
*/
|
|
257
|
+
constructor(opts: __ExceptionOptionType<EFSMountConnectivityException, __BaseException>);
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* <p>The Lambda function couldn't mount the configured file system due to a permission or configuration issue.</p>
|
|
261
|
+
* @public
|
|
262
|
+
*/
|
|
263
|
+
export declare class EFSMountFailureException extends __BaseException {
|
|
264
|
+
readonly name: "EFSMountFailureException";
|
|
265
|
+
readonly $fault: "client";
|
|
266
|
+
Type?: string | undefined;
|
|
267
|
+
Message?: string | undefined;
|
|
268
|
+
/**
|
|
269
|
+
* @internal
|
|
270
|
+
*/
|
|
271
|
+
constructor(opts: __ExceptionOptionType<EFSMountFailureException, __BaseException>);
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* <p>The Lambda function made a network connection to the configured file system, but the mount operation timed out.</p>
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
export declare class EFSMountTimeoutException extends __BaseException {
|
|
278
|
+
readonly name: "EFSMountTimeoutException";
|
|
279
|
+
readonly $fault: "client";
|
|
280
|
+
Type?: string | undefined;
|
|
281
|
+
Message?: string | undefined;
|
|
282
|
+
/**
|
|
283
|
+
* @internal
|
|
284
|
+
*/
|
|
285
|
+
constructor(opts: __ExceptionOptionType<EFSMountTimeoutException, __BaseException>);
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* <p>Lambda couldn't create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
|
|
289
|
+
* @public
|
|
290
|
+
*/
|
|
291
|
+
export declare class ENILimitReachedException extends __BaseException {
|
|
292
|
+
readonly name: "ENILimitReachedException";
|
|
293
|
+
readonly $fault: "server";
|
|
294
|
+
Type?: string | undefined;
|
|
295
|
+
Message?: string | undefined;
|
|
296
|
+
/**
|
|
297
|
+
* @internal
|
|
298
|
+
*/
|
|
299
|
+
constructor(opts: __ExceptionOptionType<ENILimitReachedException, __BaseException>);
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* <p>The request body could not be parsed as JSON, or a request header is invalid. For example, the 'x-amzn-RequestId' header is not a valid UUID string.</p>
|
|
303
|
+
* @public
|
|
304
|
+
*/
|
|
305
|
+
export declare class InvalidRequestContentException extends __BaseException {
|
|
306
|
+
readonly name: "InvalidRequestContentException";
|
|
307
|
+
readonly $fault: "client";
|
|
308
|
+
/**
|
|
309
|
+
* <p>The exception type.</p>
|
|
310
|
+
* @public
|
|
311
|
+
*/
|
|
312
|
+
Type?: string | undefined;
|
|
313
|
+
/**
|
|
314
|
+
* @internal
|
|
315
|
+
*/
|
|
316
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestContentException, __BaseException>);
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* <p>The runtime or runtime version specified is not supported.</p>
|
|
320
|
+
* @public
|
|
321
|
+
*/
|
|
322
|
+
export declare class InvalidRuntimeException extends __BaseException {
|
|
323
|
+
readonly name: "InvalidRuntimeException";
|
|
324
|
+
readonly $fault: "server";
|
|
325
|
+
Type?: string | undefined;
|
|
326
|
+
Message?: string | undefined;
|
|
327
|
+
/**
|
|
328
|
+
* @internal
|
|
329
|
+
*/
|
|
330
|
+
constructor(opts: __ExceptionOptionType<InvalidRuntimeException, __BaseException>);
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* <p>The security group ID provided in the Lambda function VPC configuration is not valid.</p>
|
|
334
|
+
* @public
|
|
335
|
+
*/
|
|
336
|
+
export declare class InvalidSecurityGroupIDException extends __BaseException {
|
|
337
|
+
readonly name: "InvalidSecurityGroupIDException";
|
|
338
|
+
readonly $fault: "server";
|
|
339
|
+
Type?: string | undefined;
|
|
340
|
+
Message?: string | undefined;
|
|
341
|
+
/**
|
|
342
|
+
* @internal
|
|
343
|
+
*/
|
|
344
|
+
constructor(opts: __ExceptionOptionType<InvalidSecurityGroupIDException, __BaseException>);
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* <p>The subnet ID provided in the Lambda function VPC configuration is not valid.</p>
|
|
348
|
+
* @public
|
|
349
|
+
*/
|
|
350
|
+
export declare class InvalidSubnetIDException extends __BaseException {
|
|
351
|
+
readonly name: "InvalidSubnetIDException";
|
|
352
|
+
readonly $fault: "server";
|
|
353
|
+
Type?: string | undefined;
|
|
354
|
+
Message?: string | undefined;
|
|
355
|
+
/**
|
|
356
|
+
* @internal
|
|
357
|
+
*/
|
|
358
|
+
constructor(opts: __ExceptionOptionType<InvalidSubnetIDException, __BaseException>);
|
|
359
|
+
}
|
|
360
|
+
/**
|
|
361
|
+
* <p>Lambda could not unzip the deployment package.</p>
|
|
362
|
+
* @public
|
|
363
|
+
*/
|
|
364
|
+
export declare class InvalidZipFileException extends __BaseException {
|
|
365
|
+
readonly name: "InvalidZipFileException";
|
|
366
|
+
readonly $fault: "server";
|
|
367
|
+
Type?: string | undefined;
|
|
368
|
+
Message?: string | undefined;
|
|
369
|
+
/**
|
|
370
|
+
* @internal
|
|
371
|
+
*/
|
|
372
|
+
constructor(opts: __ExceptionOptionType<InvalidZipFileException, __BaseException>);
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* <p>Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.</p>
|
|
376
|
+
* @public
|
|
377
|
+
*/
|
|
378
|
+
export declare class KMSAccessDeniedException extends __BaseException {
|
|
379
|
+
readonly name: "KMSAccessDeniedException";
|
|
380
|
+
readonly $fault: "server";
|
|
381
|
+
Type?: string | undefined;
|
|
382
|
+
Message?: string | undefined;
|
|
383
|
+
/**
|
|
384
|
+
* @internal
|
|
385
|
+
*/
|
|
386
|
+
constructor(opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>);
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.</p>
|
|
390
|
+
* @public
|
|
391
|
+
*/
|
|
392
|
+
export declare class KMSDisabledException extends __BaseException {
|
|
393
|
+
readonly name: "KMSDisabledException";
|
|
394
|
+
readonly $fault: "server";
|
|
395
|
+
Type?: string | undefined;
|
|
396
|
+
Message?: string | undefined;
|
|
397
|
+
/**
|
|
398
|
+
* @internal
|
|
399
|
+
*/
|
|
400
|
+
constructor(opts: __ExceptionOptionType<KMSDisabledException, __BaseException>);
|
|
401
|
+
}
|
|
402
|
+
/**
|
|
403
|
+
* <p>Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.</p>
|
|
404
|
+
* @public
|
|
405
|
+
*/
|
|
406
|
+
export declare class KMSInvalidStateException extends __BaseException {
|
|
407
|
+
readonly name: "KMSInvalidStateException";
|
|
408
|
+
readonly $fault: "server";
|
|
409
|
+
Type?: string | undefined;
|
|
410
|
+
Message?: string | undefined;
|
|
411
|
+
/**
|
|
412
|
+
* @internal
|
|
413
|
+
*/
|
|
414
|
+
constructor(opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>);
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
|
|
418
|
+
* @public
|
|
419
|
+
*/
|
|
420
|
+
export declare class KMSNotFoundException extends __BaseException {
|
|
421
|
+
readonly name: "KMSNotFoundException";
|
|
422
|
+
readonly $fault: "server";
|
|
423
|
+
Type?: string | undefined;
|
|
424
|
+
Message?: string | undefined;
|
|
425
|
+
/**
|
|
426
|
+
* @internal
|
|
427
|
+
*/
|
|
428
|
+
constructor(opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>);
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
* <p>Lambda has detected your function being invoked in a recursive loop with other Amazon Web Services resources and stopped your function's invocation.</p>
|
|
432
|
+
* @public
|
|
433
|
+
*/
|
|
434
|
+
export declare class RecursiveInvocationException extends __BaseException {
|
|
435
|
+
readonly name: "RecursiveInvocationException";
|
|
436
|
+
readonly $fault: "client";
|
|
437
|
+
/**
|
|
438
|
+
* <p>The exception type.</p>
|
|
439
|
+
* @public
|
|
440
|
+
*/
|
|
441
|
+
Type?: string | undefined;
|
|
442
|
+
/**
|
|
443
|
+
* <p>The exception message.</p>
|
|
444
|
+
* @public
|
|
445
|
+
*/
|
|
446
|
+
Message?: string | undefined;
|
|
447
|
+
/**
|
|
448
|
+
* @internal
|
|
449
|
+
*/
|
|
450
|
+
constructor(opts: __ExceptionOptionType<RecursiveInvocationException, __BaseException>);
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* <p>The request payload exceeded the <code>Invoke</code> request body JSON input quota. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
|
|
454
|
+
* @public
|
|
455
|
+
*/
|
|
456
|
+
export declare class RequestTooLargeException extends __BaseException {
|
|
457
|
+
readonly name: "RequestTooLargeException";
|
|
458
|
+
readonly $fault: "client";
|
|
459
|
+
Type?: string | undefined;
|
|
460
|
+
/**
|
|
461
|
+
* @internal
|
|
462
|
+
*/
|
|
463
|
+
constructor(opts: __ExceptionOptionType<RequestTooLargeException, __BaseException>);
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* <p>The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to reestablish and try again.</p>
|
|
467
|
+
* @public
|
|
468
|
+
*/
|
|
469
|
+
export declare class ResourceNotReadyException extends __BaseException {
|
|
470
|
+
readonly name: "ResourceNotReadyException";
|
|
471
|
+
readonly $fault: "server";
|
|
472
|
+
/**
|
|
473
|
+
* <p>The exception type.</p>
|
|
474
|
+
* @public
|
|
475
|
+
*/
|
|
476
|
+
Type?: string | undefined;
|
|
477
|
+
/**
|
|
478
|
+
* @internal
|
|
479
|
+
*/
|
|
480
|
+
constructor(opts: __ExceptionOptionType<ResourceNotReadyException, __BaseException>);
|
|
481
|
+
}
|
|
482
|
+
/**
|
|
483
|
+
* <p>The processed request payload exceeded the <code>Invoke</code> request body size limit for asynchronous invocations. While the event payload may be under 1 MB, the size after internal serialization exceeds the maximum allowed size for asynchronous invocations.</p>
|
|
484
|
+
* @public
|
|
485
|
+
*/
|
|
486
|
+
export declare class SerializedRequestEntityTooLargeException extends __BaseException {
|
|
487
|
+
readonly name: "SerializedRequestEntityTooLargeException";
|
|
488
|
+
readonly $fault: "client";
|
|
489
|
+
/**
|
|
490
|
+
* <p>The error type.</p>
|
|
491
|
+
* @public
|
|
492
|
+
*/
|
|
493
|
+
Type?: string | undefined;
|
|
494
|
+
/**
|
|
495
|
+
* @internal
|
|
496
|
+
*/
|
|
497
|
+
constructor(opts: __ExceptionOptionType<SerializedRequestEntityTooLargeException, __BaseException>);
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* <p>The <code>afterRestore()</code> <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html">runtime hook</a> encountered an error. For more information, check the Amazon CloudWatch logs.</p>
|
|
501
|
+
* @public
|
|
502
|
+
*/
|
|
503
|
+
export declare class SnapStartException extends __BaseException {
|
|
504
|
+
readonly name: "SnapStartException";
|
|
505
|
+
readonly $fault: "client";
|
|
506
|
+
Type?: string | undefined;
|
|
507
|
+
Message?: string | undefined;
|
|
508
|
+
/**
|
|
509
|
+
* @internal
|
|
510
|
+
*/
|
|
511
|
+
constructor(opts: __ExceptionOptionType<SnapStartException, __BaseException>);
|
|
512
|
+
}
|
|
513
|
+
/**
|
|
514
|
+
* <p>Lambda is initializing your function. You can invoke the function when the <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">function state</a> becomes <code>Active</code>.</p>
|
|
515
|
+
* @public
|
|
516
|
+
*/
|
|
517
|
+
export declare class SnapStartNotReadyException extends __BaseException {
|
|
518
|
+
readonly name: "SnapStartNotReadyException";
|
|
519
|
+
readonly $fault: "client";
|
|
520
|
+
Type?: string | undefined;
|
|
521
|
+
Message?: string | undefined;
|
|
522
|
+
/**
|
|
523
|
+
* @internal
|
|
524
|
+
*/
|
|
525
|
+
constructor(opts: __ExceptionOptionType<SnapStartNotReadyException, __BaseException>);
|
|
526
|
+
}
|
|
527
|
+
/**
|
|
528
|
+
* <p>Lambda couldn't restore the snapshot within the timeout limit.</p>
|
|
529
|
+
* @public
|
|
530
|
+
*/
|
|
531
|
+
export declare class SnapStartTimeoutException extends __BaseException {
|
|
532
|
+
readonly name: "SnapStartTimeoutException";
|
|
533
|
+
readonly $fault: "client";
|
|
534
|
+
Type?: string | undefined;
|
|
535
|
+
Message?: string | undefined;
|
|
536
|
+
/**
|
|
537
|
+
* @internal
|
|
538
|
+
*/
|
|
539
|
+
constructor(opts: __ExceptionOptionType<SnapStartTimeoutException, __BaseException>);
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
* <p>Lambda couldn't set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.</p>
|
|
543
|
+
* @public
|
|
544
|
+
*/
|
|
545
|
+
export declare class SubnetIPAddressLimitReachedException extends __BaseException {
|
|
546
|
+
readonly name: "SubnetIPAddressLimitReachedException";
|
|
547
|
+
readonly $fault: "server";
|
|
548
|
+
Type?: string | undefined;
|
|
549
|
+
Message?: string | undefined;
|
|
550
|
+
/**
|
|
551
|
+
* @internal
|
|
552
|
+
*/
|
|
553
|
+
constructor(opts: __ExceptionOptionType<SubnetIPAddressLimitReachedException, __BaseException>);
|
|
554
|
+
}
|
|
555
|
+
/**
|
|
556
|
+
* <p>The content type of the <code>Invoke</code> request body is not JSON.</p>
|
|
557
|
+
* @public
|
|
558
|
+
*/
|
|
559
|
+
export declare class UnsupportedMediaTypeException extends __BaseException {
|
|
560
|
+
readonly name: "UnsupportedMediaTypeException";
|
|
561
|
+
readonly $fault: "client";
|
|
562
|
+
Type?: string | undefined;
|
|
563
|
+
/**
|
|
564
|
+
* @internal
|
|
565
|
+
*/
|
|
566
|
+
constructor(opts: __ExceptionOptionType<UnsupportedMediaTypeException, __BaseException>);
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* <p>The specified configuration does not exist.</p>
|
|
570
|
+
* @public
|
|
571
|
+
*/
|
|
572
|
+
export declare class ProvisionedConcurrencyConfigNotFoundException extends __BaseException {
|
|
573
|
+
readonly name: "ProvisionedConcurrencyConfigNotFoundException";
|
|
574
|
+
readonly $fault: "client";
|
|
575
|
+
Type?: string | undefined;
|
|
576
|
+
/**
|
|
577
|
+
* @internal
|
|
578
|
+
*/
|
|
579
|
+
constructor(opts: __ExceptionOptionType<ProvisionedConcurrencyConfigNotFoundException, __BaseException>);
|
|
580
|
+
}
|