@aws-sdk/client-lambda 3.1080.0 → 3.1082.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 +74 -73
- package/dist-es/models/errors.js +64 -64
- package/dist-es/schemas/schemas_0.js +9 -8
- package/dist-types/commands/CheckpointDurableExecutionCommand.d.ts +12 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +2 -0
- package/dist-types/commands/GetDurableExecutionCommand.d.ts +19 -0
- package/dist-types/commands/GetDurableExecutionHistoryCommand.d.ts +12 -0
- package/dist-types/commands/GetDurableExecutionStateCommand.d.ts +12 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +1 -0
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/dist-types/commands/ListDurableExecutionsByFunctionCommand.d.ts +1 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +1 -0
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +1 -0
- package/dist-types/commands/PublishVersionCommand.d.ts +1 -0
- package/dist-types/commands/SendDurableExecutionCallbackFailureCommand.d.ts +12 -0
- package/dist-types/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +12 -0
- package/dist-types/commands/StopDurableExecutionCommand.d.ts +12 -0
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +1 -0
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +2 -0
- package/dist-types/models/errors.d.ts +56 -56
- package/dist-types/models/models_0.d.ts +28 -3
- package/dist-types/ts3.4/models/errors.d.ts +36 -36
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/package.json +9 -9
package/dist-cjs/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1081.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -289,6 +289,70 @@ class CapacityProviderLimitExceededException extends LambdaServiceException {
|
|
|
289
289
|
this.Type = opts.Type;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
+
class KMSAccessDeniedException extends LambdaServiceException {
|
|
293
|
+
name = "KMSAccessDeniedException";
|
|
294
|
+
$fault = "server";
|
|
295
|
+
Type;
|
|
296
|
+
Message;
|
|
297
|
+
constructor(opts) {
|
|
298
|
+
super({
|
|
299
|
+
name: "KMSAccessDeniedException",
|
|
300
|
+
$fault: "server",
|
|
301
|
+
...opts,
|
|
302
|
+
});
|
|
303
|
+
Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
|
|
304
|
+
this.Type = opts.Type;
|
|
305
|
+
this.Message = opts.Message;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
class KMSDisabledException extends LambdaServiceException {
|
|
309
|
+
name = "KMSDisabledException";
|
|
310
|
+
$fault = "server";
|
|
311
|
+
Type;
|
|
312
|
+
Message;
|
|
313
|
+
constructor(opts) {
|
|
314
|
+
super({
|
|
315
|
+
name: "KMSDisabledException",
|
|
316
|
+
$fault: "server",
|
|
317
|
+
...opts,
|
|
318
|
+
});
|
|
319
|
+
Object.setPrototypeOf(this, KMSDisabledException.prototype);
|
|
320
|
+
this.Type = opts.Type;
|
|
321
|
+
this.Message = opts.Message;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
class KMSInvalidStateException extends LambdaServiceException {
|
|
325
|
+
name = "KMSInvalidStateException";
|
|
326
|
+
$fault = "server";
|
|
327
|
+
Type;
|
|
328
|
+
Message;
|
|
329
|
+
constructor(opts) {
|
|
330
|
+
super({
|
|
331
|
+
name: "KMSInvalidStateException",
|
|
332
|
+
$fault: "server",
|
|
333
|
+
...opts,
|
|
334
|
+
});
|
|
335
|
+
Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
|
|
336
|
+
this.Type = opts.Type;
|
|
337
|
+
this.Message = opts.Message;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
class KMSNotFoundException extends LambdaServiceException {
|
|
341
|
+
name = "KMSNotFoundException";
|
|
342
|
+
$fault = "server";
|
|
343
|
+
Type;
|
|
344
|
+
Message;
|
|
345
|
+
constructor(opts) {
|
|
346
|
+
super({
|
|
347
|
+
name: "KMSNotFoundException",
|
|
348
|
+
$fault: "server",
|
|
349
|
+
...opts,
|
|
350
|
+
});
|
|
351
|
+
Object.setPrototypeOf(this, KMSNotFoundException.prototype);
|
|
352
|
+
this.Type = opts.Type;
|
|
353
|
+
this.Message = opts.Message;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
292
356
|
class ResourceInUseException extends LambdaServiceException {
|
|
293
357
|
name = "ResourceInUseException";
|
|
294
358
|
$fault = "client";
|
|
@@ -663,70 +727,6 @@ class InvalidZipFileException extends LambdaServiceException {
|
|
|
663
727
|
this.Message = opts.Message;
|
|
664
728
|
}
|
|
665
729
|
}
|
|
666
|
-
class KMSAccessDeniedException extends LambdaServiceException {
|
|
667
|
-
name = "KMSAccessDeniedException";
|
|
668
|
-
$fault = "server";
|
|
669
|
-
Type;
|
|
670
|
-
Message;
|
|
671
|
-
constructor(opts) {
|
|
672
|
-
super({
|
|
673
|
-
name: "KMSAccessDeniedException",
|
|
674
|
-
$fault: "server",
|
|
675
|
-
...opts,
|
|
676
|
-
});
|
|
677
|
-
Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
|
|
678
|
-
this.Type = opts.Type;
|
|
679
|
-
this.Message = opts.Message;
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
class KMSDisabledException extends LambdaServiceException {
|
|
683
|
-
name = "KMSDisabledException";
|
|
684
|
-
$fault = "server";
|
|
685
|
-
Type;
|
|
686
|
-
Message;
|
|
687
|
-
constructor(opts) {
|
|
688
|
-
super({
|
|
689
|
-
name: "KMSDisabledException",
|
|
690
|
-
$fault: "server",
|
|
691
|
-
...opts,
|
|
692
|
-
});
|
|
693
|
-
Object.setPrototypeOf(this, KMSDisabledException.prototype);
|
|
694
|
-
this.Type = opts.Type;
|
|
695
|
-
this.Message = opts.Message;
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
class KMSInvalidStateException extends LambdaServiceException {
|
|
699
|
-
name = "KMSInvalidStateException";
|
|
700
|
-
$fault = "server";
|
|
701
|
-
Type;
|
|
702
|
-
Message;
|
|
703
|
-
constructor(opts) {
|
|
704
|
-
super({
|
|
705
|
-
name: "KMSInvalidStateException",
|
|
706
|
-
$fault: "server",
|
|
707
|
-
...opts,
|
|
708
|
-
});
|
|
709
|
-
Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
|
|
710
|
-
this.Type = opts.Type;
|
|
711
|
-
this.Message = opts.Message;
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
class KMSNotFoundException extends LambdaServiceException {
|
|
715
|
-
name = "KMSNotFoundException";
|
|
716
|
-
$fault = "server";
|
|
717
|
-
Type;
|
|
718
|
-
Message;
|
|
719
|
-
constructor(opts) {
|
|
720
|
-
super({
|
|
721
|
-
name: "KMSNotFoundException",
|
|
722
|
-
$fault: "server",
|
|
723
|
-
...opts,
|
|
724
|
-
});
|
|
725
|
-
Object.setPrototypeOf(this, KMSNotFoundException.prototype);
|
|
726
|
-
this.Type = opts.Type;
|
|
727
|
-
this.Message = opts.Message;
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
730
|
class ModeNotSupportedException extends LambdaServiceException {
|
|
731
731
|
name = "ModeNotSupportedException";
|
|
732
732
|
$fault = "client";
|
|
@@ -1176,6 +1176,7 @@ const _ECEC = "EC2ErrorCode";
|
|
|
1176
1176
|
const _ECTE = "EC2ThrottledException";
|
|
1177
1177
|
const _ECUE = "EC2UnexpectedException";
|
|
1178
1178
|
const _ED = "ErrorData";
|
|
1179
|
+
const _EDI = "ExecutionDataIncluded";
|
|
1179
1180
|
const _EDr = "ErrorDetails";
|
|
1180
1181
|
const _EDx = "ExecutionDetails";
|
|
1181
1182
|
const _EE = "EnvironmentError";
|
|
@@ -2427,8 +2428,8 @@ var DocumentDBEventSourceConfig$ = [3, n0, _DDBESC,
|
|
|
2427
2428
|
];
|
|
2428
2429
|
var DurableConfig$ = [3, n0, _DCu,
|
|
2429
2430
|
0,
|
|
2430
|
-
[_RPID, _ETx],
|
|
2431
|
-
[1, 1]
|
|
2431
|
+
[_KMSKA, _RPID, _ETx],
|
|
2432
|
+
[0, 1, 1]
|
|
2432
2433
|
];
|
|
2433
2434
|
var Environment$ = [3, n0, _Env,
|
|
2434
2435
|
0,
|
|
@@ -2492,8 +2493,8 @@ var EventSourceMappingMetricsConfig$ = [3, n0, _ESMMC,
|
|
|
2492
2493
|
];
|
|
2493
2494
|
var Execution$ = [3, n0, _Ex,
|
|
2494
2495
|
0,
|
|
2495
|
-
[_DEA, _DEN, _FA, _Sta, _STt, _ETn],
|
|
2496
|
-
[0, 0, 0, 0, 4, 4], 5
|
|
2496
|
+
[_DEA, _DEN, _FA, _Sta, _STt, _ETn, _KMSKA],
|
|
2497
|
+
[0, 0, 0, 0, 4, 4, 0], 5
|
|
2497
2498
|
];
|
|
2498
2499
|
var ExecutionDetails$ = [3, n0, _EDx,
|
|
2499
2500
|
0,
|
|
@@ -2632,13 +2633,13 @@ var GetDurableExecutionHistoryResponse$ = [3, n0, _GDEHRe,
|
|
|
2632
2633
|
];
|
|
2633
2634
|
var GetDurableExecutionRequest$ = [3, n0, _GDER,
|
|
2634
2635
|
0,
|
|
2635
|
-
[_DEA],
|
|
2636
|
-
[[0, 1]], 1
|
|
2636
|
+
[_DEA, _IED],
|
|
2637
|
+
[[0, 1], [2, { [_hQ]: _IED }]], 1
|
|
2637
2638
|
];
|
|
2638
2639
|
var GetDurableExecutionResponse$ = [3, n0, _GDERe,
|
|
2639
2640
|
0,
|
|
2640
|
-
[_DEA, _DEN, _FA, _STt, _Sta, _IP, _Re, _E, _ETn, _Ve, _TH],
|
|
2641
|
-
[0, 0, 0, 4, 0, [() => InputPayload, 0], [() => OutputPayload, 0], [() => ErrorObject$, 0], 4, 0, () => TraceHeader$], 5
|
|
2641
|
+
[_DEA, _DEN, _FA, _STt, _Sta, _IP, _Re, _E, _ETn, _Ve, _TH, _EDI, _DCu],
|
|
2642
|
+
[0, 0, 0, 4, 0, [() => InputPayload, 0], [() => OutputPayload, 0], [() => ErrorObject$, 0], 4, 0, () => TraceHeader$, 2, () => DurableConfig$], 5
|
|
2642
2643
|
];
|
|
2643
2644
|
var GetDurableExecutionStateRequest$ = [3, n0, _GDESR,
|
|
2644
2645
|
0,
|
package/dist-es/models/errors.js
CHANGED
|
@@ -149,6 +149,70 @@ export class CapacityProviderLimitExceededException extends __BaseException {
|
|
|
149
149
|
this.Type = opts.Type;
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
+
export class KMSAccessDeniedException extends __BaseException {
|
|
153
|
+
name = "KMSAccessDeniedException";
|
|
154
|
+
$fault = "server";
|
|
155
|
+
Type;
|
|
156
|
+
Message;
|
|
157
|
+
constructor(opts) {
|
|
158
|
+
super({
|
|
159
|
+
name: "KMSAccessDeniedException",
|
|
160
|
+
$fault: "server",
|
|
161
|
+
...opts,
|
|
162
|
+
});
|
|
163
|
+
Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
|
|
164
|
+
this.Type = opts.Type;
|
|
165
|
+
this.Message = opts.Message;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
export class KMSDisabledException extends __BaseException {
|
|
169
|
+
name = "KMSDisabledException";
|
|
170
|
+
$fault = "server";
|
|
171
|
+
Type;
|
|
172
|
+
Message;
|
|
173
|
+
constructor(opts) {
|
|
174
|
+
super({
|
|
175
|
+
name: "KMSDisabledException",
|
|
176
|
+
$fault: "server",
|
|
177
|
+
...opts,
|
|
178
|
+
});
|
|
179
|
+
Object.setPrototypeOf(this, KMSDisabledException.prototype);
|
|
180
|
+
this.Type = opts.Type;
|
|
181
|
+
this.Message = opts.Message;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
export class KMSInvalidStateException extends __BaseException {
|
|
185
|
+
name = "KMSInvalidStateException";
|
|
186
|
+
$fault = "server";
|
|
187
|
+
Type;
|
|
188
|
+
Message;
|
|
189
|
+
constructor(opts) {
|
|
190
|
+
super({
|
|
191
|
+
name: "KMSInvalidStateException",
|
|
192
|
+
$fault: "server",
|
|
193
|
+
...opts,
|
|
194
|
+
});
|
|
195
|
+
Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
|
|
196
|
+
this.Type = opts.Type;
|
|
197
|
+
this.Message = opts.Message;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
export class KMSNotFoundException extends __BaseException {
|
|
201
|
+
name = "KMSNotFoundException";
|
|
202
|
+
$fault = "server";
|
|
203
|
+
Type;
|
|
204
|
+
Message;
|
|
205
|
+
constructor(opts) {
|
|
206
|
+
super({
|
|
207
|
+
name: "KMSNotFoundException",
|
|
208
|
+
$fault: "server",
|
|
209
|
+
...opts,
|
|
210
|
+
});
|
|
211
|
+
Object.setPrototypeOf(this, KMSNotFoundException.prototype);
|
|
212
|
+
this.Type = opts.Type;
|
|
213
|
+
this.Message = opts.Message;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
152
216
|
export class ResourceInUseException extends __BaseException {
|
|
153
217
|
name = "ResourceInUseException";
|
|
154
218
|
$fault = "client";
|
|
@@ -523,70 +587,6 @@ export class InvalidZipFileException extends __BaseException {
|
|
|
523
587
|
this.Message = opts.Message;
|
|
524
588
|
}
|
|
525
589
|
}
|
|
526
|
-
export class KMSAccessDeniedException extends __BaseException {
|
|
527
|
-
name = "KMSAccessDeniedException";
|
|
528
|
-
$fault = "server";
|
|
529
|
-
Type;
|
|
530
|
-
Message;
|
|
531
|
-
constructor(opts) {
|
|
532
|
-
super({
|
|
533
|
-
name: "KMSAccessDeniedException",
|
|
534
|
-
$fault: "server",
|
|
535
|
-
...opts,
|
|
536
|
-
});
|
|
537
|
-
Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
|
|
538
|
-
this.Type = opts.Type;
|
|
539
|
-
this.Message = opts.Message;
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
export class KMSDisabledException extends __BaseException {
|
|
543
|
-
name = "KMSDisabledException";
|
|
544
|
-
$fault = "server";
|
|
545
|
-
Type;
|
|
546
|
-
Message;
|
|
547
|
-
constructor(opts) {
|
|
548
|
-
super({
|
|
549
|
-
name: "KMSDisabledException",
|
|
550
|
-
$fault: "server",
|
|
551
|
-
...opts,
|
|
552
|
-
});
|
|
553
|
-
Object.setPrototypeOf(this, KMSDisabledException.prototype);
|
|
554
|
-
this.Type = opts.Type;
|
|
555
|
-
this.Message = opts.Message;
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
export class KMSInvalidStateException extends __BaseException {
|
|
559
|
-
name = "KMSInvalidStateException";
|
|
560
|
-
$fault = "server";
|
|
561
|
-
Type;
|
|
562
|
-
Message;
|
|
563
|
-
constructor(opts) {
|
|
564
|
-
super({
|
|
565
|
-
name: "KMSInvalidStateException",
|
|
566
|
-
$fault: "server",
|
|
567
|
-
...opts,
|
|
568
|
-
});
|
|
569
|
-
Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
|
|
570
|
-
this.Type = opts.Type;
|
|
571
|
-
this.Message = opts.Message;
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
export class KMSNotFoundException extends __BaseException {
|
|
575
|
-
name = "KMSNotFoundException";
|
|
576
|
-
$fault = "server";
|
|
577
|
-
Type;
|
|
578
|
-
Message;
|
|
579
|
-
constructor(opts) {
|
|
580
|
-
super({
|
|
581
|
-
name: "KMSNotFoundException",
|
|
582
|
-
$fault: "server",
|
|
583
|
-
...opts,
|
|
584
|
-
});
|
|
585
|
-
Object.setPrototypeOf(this, KMSNotFoundException.prototype);
|
|
586
|
-
this.Type = opts.Type;
|
|
587
|
-
this.Message = opts.Message;
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
590
|
export class ModeNotSupportedException extends __BaseException {
|
|
591
591
|
name = "ModeNotSupportedException";
|
|
592
592
|
$fault = "client";
|
|
@@ -170,6 +170,7 @@ const _ECEC = "EC2ErrorCode";
|
|
|
170
170
|
const _ECTE = "EC2ThrottledException";
|
|
171
171
|
const _ECUE = "EC2UnexpectedException";
|
|
172
172
|
const _ED = "ErrorData";
|
|
173
|
+
const _EDI = "ExecutionDataIncluded";
|
|
173
174
|
const _EDr = "ErrorDetails";
|
|
174
175
|
const _EDx = "ExecutionDetails";
|
|
175
176
|
const _EE = "EnvironmentError";
|
|
@@ -1424,8 +1425,8 @@ export var DocumentDBEventSourceConfig$ = [3, n0, _DDBESC,
|
|
|
1424
1425
|
];
|
|
1425
1426
|
export var DurableConfig$ = [3, n0, _DCu,
|
|
1426
1427
|
0,
|
|
1427
|
-
[_RPID, _ETx],
|
|
1428
|
-
[1, 1]
|
|
1428
|
+
[_KMSKA, _RPID, _ETx],
|
|
1429
|
+
[0, 1, 1]
|
|
1429
1430
|
];
|
|
1430
1431
|
export var Environment$ = [3, n0, _Env,
|
|
1431
1432
|
0,
|
|
@@ -1489,8 +1490,8 @@ export var EventSourceMappingMetricsConfig$ = [3, n0, _ESMMC,
|
|
|
1489
1490
|
];
|
|
1490
1491
|
export var Execution$ = [3, n0, _Ex,
|
|
1491
1492
|
0,
|
|
1492
|
-
[_DEA, _DEN, _FA, _Sta, _STt, _ETn],
|
|
1493
|
-
[0, 0, 0, 0, 4, 4], 5
|
|
1493
|
+
[_DEA, _DEN, _FA, _Sta, _STt, _ETn, _KMSKA],
|
|
1494
|
+
[0, 0, 0, 0, 4, 4, 0], 5
|
|
1494
1495
|
];
|
|
1495
1496
|
export var ExecutionDetails$ = [3, n0, _EDx,
|
|
1496
1497
|
0,
|
|
@@ -1629,13 +1630,13 @@ export var GetDurableExecutionHistoryResponse$ = [3, n0, _GDEHRe,
|
|
|
1629
1630
|
];
|
|
1630
1631
|
export var GetDurableExecutionRequest$ = [3, n0, _GDER,
|
|
1631
1632
|
0,
|
|
1632
|
-
[_DEA],
|
|
1633
|
-
[[0, 1]], 1
|
|
1633
|
+
[_DEA, _IED],
|
|
1634
|
+
[[0, 1], [2, { [_hQ]: _IED }]], 1
|
|
1634
1635
|
];
|
|
1635
1636
|
export var GetDurableExecutionResponse$ = [3, n0, _GDERe,
|
|
1636
1637
|
0,
|
|
1637
|
-
[_DEA, _DEN, _FA, _STt, _Sta, _IP, _Re, _E, _ETn, _Ve, _TH],
|
|
1638
|
-
[0, 0, 0, 4, 0, [() => InputPayload, 0], [() => OutputPayload, 0], [() => ErrorObject$, 0], 4, 0, () => TraceHeader$], 5
|
|
1638
|
+
[_DEA, _DEN, _FA, _STt, _Sta, _IP, _Re, _E, _ETn, _Ve, _TH, _EDI, _DCu],
|
|
1639
|
+
[0, 0, 0, 4, 0, [() => InputPayload, 0], [() => OutputPayload, 0], [() => ErrorObject$, 0], 4, 0, () => TraceHeader$, 2, () => DurableConfig$], 5
|
|
1639
1640
|
];
|
|
1640
1641
|
export var GetDurableExecutionStateRequest$ = [3, n0, _GDESR,
|
|
1641
1642
|
0,
|
|
@@ -160,6 +160,18 @@ declare const CheckpointDurableExecutionCommand_base: {
|
|
|
160
160
|
* @throws {@link InvalidParameterValueException} (client fault)
|
|
161
161
|
* <p>One of the parameters in the request is not valid.</p>
|
|
162
162
|
*
|
|
163
|
+
* @throws {@link KMSAccessDeniedException} (server fault)
|
|
164
|
+
* <p>Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.</p>
|
|
165
|
+
*
|
|
166
|
+
* @throws {@link KMSDisabledException} (server fault)
|
|
167
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.</p>
|
|
168
|
+
*
|
|
169
|
+
* @throws {@link KMSInvalidStateException} (server fault)
|
|
170
|
+
* <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>
|
|
171
|
+
*
|
|
172
|
+
* @throws {@link KMSNotFoundException} (server fault)
|
|
173
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
|
|
174
|
+
*
|
|
163
175
|
* @throws {@link ServiceException} (server fault)
|
|
164
176
|
* <p>The Lambda service encountered an internal error.</p>
|
|
165
177
|
*
|
|
@@ -122,6 +122,7 @@ declare const CreateFunctionCommand_base: {
|
|
|
122
122
|
* },
|
|
123
123
|
* },
|
|
124
124
|
* DurableConfig: { // DurableConfig
|
|
125
|
+
* KMSKeyArn: "STRING_VALUE",
|
|
125
126
|
* RetentionPeriodInDays: Number("int"),
|
|
126
127
|
* ExecutionTimeout: Number("int"),
|
|
127
128
|
* },
|
|
@@ -242,6 +243,7 @@ declare const CreateFunctionCommand_base: {
|
|
|
242
243
|
* // },
|
|
243
244
|
* // ConfigSha256: "STRING_VALUE",
|
|
244
245
|
* // DurableConfig: { // DurableConfig
|
|
246
|
+
* // KMSKeyArn: "STRING_VALUE",
|
|
245
247
|
* // RetentionPeriodInDays: Number("int"),
|
|
246
248
|
* // ExecutionTimeout: Number("int"),
|
|
247
249
|
* // },
|
|
@@ -35,6 +35,7 @@ declare const GetDurableExecutionCommand_base: {
|
|
|
35
35
|
* const client = new LambdaClient(config);
|
|
36
36
|
* const input = { // GetDurableExecutionRequest
|
|
37
37
|
* DurableExecutionArn: "STRING_VALUE", // required
|
|
38
|
+
* IncludeExecutionData: true || false,
|
|
38
39
|
* };
|
|
39
40
|
* const command = new GetDurableExecutionCommand(input);
|
|
40
41
|
* const response = await client.send(command);
|
|
@@ -59,6 +60,12 @@ declare const GetDurableExecutionCommand_base: {
|
|
|
59
60
|
* // TraceHeader: { // TraceHeader
|
|
60
61
|
* // XAmznTraceId: "STRING_VALUE",
|
|
61
62
|
* // },
|
|
63
|
+
* // ExecutionDataIncluded: true || false,
|
|
64
|
+
* // DurableConfig: { // DurableConfig
|
|
65
|
+
* // KMSKeyArn: "STRING_VALUE",
|
|
66
|
+
* // RetentionPeriodInDays: Number("int"),
|
|
67
|
+
* // ExecutionTimeout: Number("int"),
|
|
68
|
+
* // },
|
|
62
69
|
* // };
|
|
63
70
|
*
|
|
64
71
|
* ```
|
|
@@ -72,6 +79,18 @@ declare const GetDurableExecutionCommand_base: {
|
|
|
72
79
|
* @throws {@link InvalidParameterValueException} (client fault)
|
|
73
80
|
* <p>One of the parameters in the request is not valid.</p>
|
|
74
81
|
*
|
|
82
|
+
* @throws {@link KMSAccessDeniedException} (server fault)
|
|
83
|
+
* <p>Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link KMSDisabledException} (server fault)
|
|
86
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link KMSInvalidStateException} (server fault)
|
|
89
|
+
* <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>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link KMSNotFoundException} (server fault)
|
|
92
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
|
|
93
|
+
*
|
|
75
94
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
95
|
* <p>The resource specified in the request does not exist.</p>
|
|
77
96
|
*
|
|
@@ -226,6 +226,18 @@ declare const GetDurableExecutionHistoryCommand_base: {
|
|
|
226
226
|
* @throws {@link InvalidParameterValueException} (client fault)
|
|
227
227
|
* <p>One of the parameters in the request is not valid.</p>
|
|
228
228
|
*
|
|
229
|
+
* @throws {@link KMSAccessDeniedException} (server fault)
|
|
230
|
+
* <p>Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.</p>
|
|
231
|
+
*
|
|
232
|
+
* @throws {@link KMSDisabledException} (server fault)
|
|
233
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.</p>
|
|
234
|
+
*
|
|
235
|
+
* @throws {@link KMSInvalidStateException} (server fault)
|
|
236
|
+
* <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>
|
|
237
|
+
*
|
|
238
|
+
* @throws {@link KMSNotFoundException} (server fault)
|
|
239
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
|
|
240
|
+
*
|
|
229
241
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
230
242
|
* <p>The resource specified in the request does not exist.</p>
|
|
231
243
|
*
|
|
@@ -122,6 +122,18 @@ declare const GetDurableExecutionStateCommand_base: {
|
|
|
122
122
|
* @throws {@link InvalidParameterValueException} (client fault)
|
|
123
123
|
* <p>One of the parameters in the request is not valid.</p>
|
|
124
124
|
*
|
|
125
|
+
* @throws {@link KMSAccessDeniedException} (server fault)
|
|
126
|
+
* <p>Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link KMSDisabledException} (server fault)
|
|
129
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.</p>
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link KMSInvalidStateException} (server fault)
|
|
132
|
+
* <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>
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link KMSNotFoundException} (server fault)
|
|
135
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
|
|
136
|
+
*
|
|
125
137
|
* @throws {@link ServiceException} (server fault)
|
|
126
138
|
* <p>The Lambda service encountered an internal error.</p>
|
|
127
139
|
*
|
|
@@ -154,6 +154,7 @@ declare const GetFunctionCommand_base: {
|
|
|
154
154
|
* // },
|
|
155
155
|
* // ConfigSha256: "STRING_VALUE",
|
|
156
156
|
* // DurableConfig: { // DurableConfig
|
|
157
|
+
* // KMSKeyArn: "STRING_VALUE",
|
|
157
158
|
* // RetentionPeriodInDays: Number("int"),
|
|
158
159
|
* // ExecutionTimeout: Number("int"),
|
|
159
160
|
* // },
|
|
@@ -153,6 +153,7 @@ declare const GetFunctionConfigurationCommand_base: {
|
|
|
153
153
|
* // },
|
|
154
154
|
* // ConfigSha256: "STRING_VALUE",
|
|
155
155
|
* // DurableConfig: { // DurableConfig
|
|
156
|
+
* // KMSKeyArn: "STRING_VALUE",
|
|
156
157
|
* // RetentionPeriodInDays: Number("int"),
|
|
157
158
|
* // ExecutionTimeout: Number("int"),
|
|
158
159
|
* // },
|
|
@@ -75,9 +75,9 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
|
|
|
75
75
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
76
76
|
*
|
|
77
77
|
*
|
|
78
|
-
* @example To
|
|
78
|
+
* @example To view a provisioned concurrency configuration
|
|
79
79
|
* ```javascript
|
|
80
|
-
* // The following example
|
|
80
|
+
* // The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified function.
|
|
81
81
|
* const input = {
|
|
82
82
|
* FunctionName: "my-function",
|
|
83
83
|
* Qualifier: "BLUE"
|
|
@@ -95,9 +95,9 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
|
|
|
95
95
|
* *\/
|
|
96
96
|
* ```
|
|
97
97
|
*
|
|
98
|
-
* @example To
|
|
98
|
+
* @example To get a provisioned concurrency configuration
|
|
99
99
|
* ```javascript
|
|
100
|
-
* // The following example
|
|
100
|
+
* // The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified function.
|
|
101
101
|
* const input = {
|
|
102
102
|
* FunctionName: "my-function",
|
|
103
103
|
* Qualifier: "BLUE"
|
|
@@ -57,6 +57,7 @@ declare const ListDurableExecutionsByFunctionCommand_base: {
|
|
|
57
57
|
* // Status: "RUNNING" || "SUCCEEDED" || "FAILED" || "TIMED_OUT" || "STOPPED", // required
|
|
58
58
|
* // StartTimestamp: new Date("TIMESTAMP"), // required
|
|
59
59
|
* // EndTimestamp: new Date("TIMESTAMP"),
|
|
60
|
+
* // KMSKeyArn: "STRING_VALUE",
|
|
60
61
|
* // },
|
|
61
62
|
* // ],
|
|
62
63
|
* // NextMarker: "STRING_VALUE",
|
|
@@ -158,6 +158,7 @@ declare const ListFunctionsCommand_base: {
|
|
|
158
158
|
* // },
|
|
159
159
|
* // ConfigSha256: "STRING_VALUE",
|
|
160
160
|
* // DurableConfig: { // DurableConfig
|
|
161
|
+
* // KMSKeyArn: "STRING_VALUE",
|
|
161
162
|
* // RetentionPeriodInDays: Number("int"),
|
|
162
163
|
* // ExecutionTimeout: Number("int"),
|
|
163
164
|
* // },
|
|
@@ -157,6 +157,7 @@ declare const ListVersionsByFunctionCommand_base: {
|
|
|
157
157
|
* // },
|
|
158
158
|
* // ConfigSha256: "STRING_VALUE",
|
|
159
159
|
* // DurableConfig: { // DurableConfig
|
|
160
|
+
* // KMSKeyArn: "STRING_VALUE",
|
|
160
161
|
* // RetentionPeriodInDays: Number("int"),
|
|
161
162
|
* // ExecutionTimeout: Number("int"),
|
|
162
163
|
* // },
|
|
@@ -156,6 +156,7 @@ declare const PublishVersionCommand_base: {
|
|
|
156
156
|
* // },
|
|
157
157
|
* // ConfigSha256: "STRING_VALUE",
|
|
158
158
|
* // DurableConfig: { // DurableConfig
|
|
159
|
+
* // KMSKeyArn: "STRING_VALUE",
|
|
159
160
|
* // RetentionPeriodInDays: Number("int"),
|
|
160
161
|
* // ExecutionTimeout: Number("int"),
|
|
161
162
|
* // },
|
|
@@ -62,6 +62,18 @@ declare const SendDurableExecutionCallbackFailureCommand_base: {
|
|
|
62
62
|
* @throws {@link InvalidParameterValueException} (client fault)
|
|
63
63
|
* <p>One of the parameters in the request is not valid.</p>
|
|
64
64
|
*
|
|
65
|
+
* @throws {@link KMSAccessDeniedException} (server fault)
|
|
66
|
+
* <p>Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link KMSDisabledException} (server fault)
|
|
69
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link KMSInvalidStateException} (server fault)
|
|
72
|
+
* <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>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link KMSNotFoundException} (server fault)
|
|
75
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
|
|
76
|
+
*
|
|
65
77
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
78
|
* <p>The resource specified in the request does not exist.</p>
|
|
67
79
|
*
|
|
@@ -61,6 +61,18 @@ declare const SendDurableExecutionCallbackSuccessCommand_base: {
|
|
|
61
61
|
* @throws {@link InvalidParameterValueException} (client fault)
|
|
62
62
|
* <p>One of the parameters in the request is not valid.</p>
|
|
63
63
|
*
|
|
64
|
+
* @throws {@link KMSAccessDeniedException} (server fault)
|
|
65
|
+
* <p>Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link KMSDisabledException} (server fault)
|
|
68
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link KMSInvalidStateException} (server fault)
|
|
71
|
+
* <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>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link KMSNotFoundException} (server fault)
|
|
74
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
|
|
75
|
+
*
|
|
64
76
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
77
|
* <p>The resource specified in the request does not exist.</p>
|
|
66
78
|
*
|
|
@@ -61,6 +61,18 @@ declare const StopDurableExecutionCommand_base: {
|
|
|
61
61
|
* @throws {@link InvalidParameterValueException} (client fault)
|
|
62
62
|
* <p>One of the parameters in the request is not valid.</p>
|
|
63
63
|
*
|
|
64
|
+
* @throws {@link KMSAccessDeniedException} (server fault)
|
|
65
|
+
* <p>Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link KMSDisabledException} (server fault)
|
|
68
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link KMSInvalidStateException} (server fault)
|
|
71
|
+
* <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>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link KMSNotFoundException} (server fault)
|
|
74
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
|
|
75
|
+
*
|
|
64
76
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
77
|
* <p>The resource specified in the request does not exist.</p>
|
|
66
78
|
*
|
|
@@ -166,6 +166,7 @@ declare const UpdateFunctionCodeCommand_base: {
|
|
|
166
166
|
* // },
|
|
167
167
|
* // ConfigSha256: "STRING_VALUE",
|
|
168
168
|
* // DurableConfig: { // DurableConfig
|
|
169
|
+
* // KMSKeyArn: "STRING_VALUE",
|
|
169
170
|
* // RetentionPeriodInDays: Number("int"),
|
|
170
171
|
* // ExecutionTimeout: Number("int"),
|
|
171
172
|
* // },
|
|
@@ -101,6 +101,7 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
101
101
|
* },
|
|
102
102
|
* },
|
|
103
103
|
* DurableConfig: { // DurableConfig
|
|
104
|
+
* KMSKeyArn: "STRING_VALUE",
|
|
104
105
|
* RetentionPeriodInDays: Number("int"),
|
|
105
106
|
* ExecutionTimeout: Number("int"),
|
|
106
107
|
* },
|
|
@@ -221,6 +222,7 @@ declare const UpdateFunctionConfigurationCommand_base: {
|
|
|
221
222
|
* // },
|
|
222
223
|
* // ConfigSha256: "STRING_VALUE",
|
|
223
224
|
* // DurableConfig: { // DurableConfig
|
|
225
|
+
* // KMSKeyArn: "STRING_VALUE",
|
|
224
226
|
* // RetentionPeriodInDays: Number("int"),
|
|
225
227
|
* // ExecutionTimeout: Number("int"),
|
|
226
228
|
* // },
|
|
@@ -168,6 +168,62 @@ export declare class CapacityProviderLimitExceededException extends __BaseExcept
|
|
|
168
168
|
*/
|
|
169
169
|
constructor(opts: __ExceptionOptionType<CapacityProviderLimitExceededException, __BaseException>);
|
|
170
170
|
}
|
|
171
|
+
/**
|
|
172
|
+
* <p>Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.</p>
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
export declare class KMSAccessDeniedException extends __BaseException {
|
|
176
|
+
readonly name: "KMSAccessDeniedException";
|
|
177
|
+
readonly $fault: "server";
|
|
178
|
+
Type?: string | undefined;
|
|
179
|
+
Message?: string | undefined;
|
|
180
|
+
/**
|
|
181
|
+
* @internal
|
|
182
|
+
*/
|
|
183
|
+
constructor(opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>);
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.</p>
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
export declare class KMSDisabledException extends __BaseException {
|
|
190
|
+
readonly name: "KMSDisabledException";
|
|
191
|
+
readonly $fault: "server";
|
|
192
|
+
Type?: string | undefined;
|
|
193
|
+
Message?: string | undefined;
|
|
194
|
+
/**
|
|
195
|
+
* @internal
|
|
196
|
+
*/
|
|
197
|
+
constructor(opts: __ExceptionOptionType<KMSDisabledException, __BaseException>);
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* <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>
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
203
|
+
export declare class KMSInvalidStateException extends __BaseException {
|
|
204
|
+
readonly name: "KMSInvalidStateException";
|
|
205
|
+
readonly $fault: "server";
|
|
206
|
+
Type?: string | undefined;
|
|
207
|
+
Message?: string | undefined;
|
|
208
|
+
/**
|
|
209
|
+
* @internal
|
|
210
|
+
*/
|
|
211
|
+
constructor(opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>);
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
217
|
+
export declare class KMSNotFoundException extends __BaseException {
|
|
218
|
+
readonly name: "KMSNotFoundException";
|
|
219
|
+
readonly $fault: "server";
|
|
220
|
+
Type?: string | undefined;
|
|
221
|
+
Message?: string | undefined;
|
|
222
|
+
/**
|
|
223
|
+
* @internal
|
|
224
|
+
*/
|
|
225
|
+
constructor(opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>);
|
|
226
|
+
}
|
|
171
227
|
/**
|
|
172
228
|
* <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>
|
|
173
229
|
* @public
|
|
@@ -535,62 +591,6 @@ export declare class InvalidZipFileException extends __BaseException {
|
|
|
535
591
|
*/
|
|
536
592
|
constructor(opts: __ExceptionOptionType<InvalidZipFileException, __BaseException>);
|
|
537
593
|
}
|
|
538
|
-
/**
|
|
539
|
-
* <p>Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.</p>
|
|
540
|
-
* @public
|
|
541
|
-
*/
|
|
542
|
-
export declare class KMSAccessDeniedException extends __BaseException {
|
|
543
|
-
readonly name: "KMSAccessDeniedException";
|
|
544
|
-
readonly $fault: "server";
|
|
545
|
-
Type?: string | undefined;
|
|
546
|
-
Message?: string | undefined;
|
|
547
|
-
/**
|
|
548
|
-
* @internal
|
|
549
|
-
*/
|
|
550
|
-
constructor(opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>);
|
|
551
|
-
}
|
|
552
|
-
/**
|
|
553
|
-
* <p>Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.</p>
|
|
554
|
-
* @public
|
|
555
|
-
*/
|
|
556
|
-
export declare class KMSDisabledException extends __BaseException {
|
|
557
|
-
readonly name: "KMSDisabledException";
|
|
558
|
-
readonly $fault: "server";
|
|
559
|
-
Type?: string | undefined;
|
|
560
|
-
Message?: string | undefined;
|
|
561
|
-
/**
|
|
562
|
-
* @internal
|
|
563
|
-
*/
|
|
564
|
-
constructor(opts: __ExceptionOptionType<KMSDisabledException, __BaseException>);
|
|
565
|
-
}
|
|
566
|
-
/**
|
|
567
|
-
* <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>
|
|
568
|
-
* @public
|
|
569
|
-
*/
|
|
570
|
-
export declare class KMSInvalidStateException extends __BaseException {
|
|
571
|
-
readonly name: "KMSInvalidStateException";
|
|
572
|
-
readonly $fault: "server";
|
|
573
|
-
Type?: string | undefined;
|
|
574
|
-
Message?: string | undefined;
|
|
575
|
-
/**
|
|
576
|
-
* @internal
|
|
577
|
-
*/
|
|
578
|
-
constructor(opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>);
|
|
579
|
-
}
|
|
580
|
-
/**
|
|
581
|
-
* <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
|
|
582
|
-
* @public
|
|
583
|
-
*/
|
|
584
|
-
export declare class KMSNotFoundException extends __BaseException {
|
|
585
|
-
readonly name: "KMSNotFoundException";
|
|
586
|
-
readonly $fault: "server";
|
|
587
|
-
Type?: string | undefined;
|
|
588
|
-
Message?: string | undefined;
|
|
589
|
-
/**
|
|
590
|
-
* @internal
|
|
591
|
-
*/
|
|
592
|
-
constructor(opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>);
|
|
593
|
-
}
|
|
594
594
|
/**
|
|
595
595
|
* <p>The Lambda function doesn't support the invocation mode requested. For example, calling <code>Invoke</code> with <code>InvocationType=RequestResponse</code> on a function configured for asynchronous-only invocation, or vice versa. For more information about invocation types, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-options.html">Invoking Lambda functions</a>.</p>
|
|
596
596
|
* @public
|
|
@@ -2100,10 +2100,15 @@ export interface DeadLetterConfig {
|
|
|
2100
2100
|
TargetArn?: string | undefined;
|
|
2101
2101
|
}
|
|
2102
2102
|
/**
|
|
2103
|
-
* <p>Configuration settings for <a href="https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html">durable functions</a>, including execution timeout
|
|
2103
|
+
* <p>Configuration settings for <a href="https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html">durable functions</a>, including execution timeout, retention period for execution history, and an optional ARN of the Key Management Service (KMS) customer managed key that is used to encrypt your durable execution's payload data, including input, output, and error payloads.</p>
|
|
2104
2104
|
* @public
|
|
2105
2105
|
*/
|
|
2106
2106
|
export interface DurableConfig {
|
|
2107
|
+
/**
|
|
2108
|
+
* <p>The ARN of the Key Management Service (KMS) customer managed key that is used to encrypt your durable execution's payload data, including input, output, and error payloads.</p>
|
|
2109
|
+
* @public
|
|
2110
|
+
*/
|
|
2111
|
+
KMSKeyArn?: string | undefined;
|
|
2107
2112
|
/**
|
|
2108
2113
|
* <p>The number of days to retain execution history after a durable execution completes. After this period, execution history is no longer available through the GetDurableExecutionHistory API.</p>
|
|
2109
2114
|
* @public
|
|
@@ -3341,7 +3346,7 @@ export interface InvocationRequest {
|
|
|
3341
3346
|
*/
|
|
3342
3347
|
ClientContext?: string | undefined;
|
|
3343
3348
|
/**
|
|
3344
|
-
* <p>
|
|
3349
|
+
* <p>A unique name for the durable execution. If you invoke a durable function using a name that already exists with the same payload, Lambda returns the existing execution instead of creating a duplicate. If the payload differs, Lambda returns a <code>DurableExecutionAlreadyStartedException</code> error.</p> <p>If not specified, Lambda generates a unique identifier automatically. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/durable-execution-idempotency.html#durable-idempotency-execution-names">Execution names</a>.</p>
|
|
3345
3350
|
* @public
|
|
3346
3351
|
*/
|
|
3347
3352
|
DurableExecutionName?: string | undefined;
|
|
@@ -4080,7 +4085,7 @@ export interface UpdateFunctionConfigurationRequest {
|
|
|
4080
4085
|
*/
|
|
4081
4086
|
CapacityProviderConfig?: CapacityProviderConfig | undefined;
|
|
4082
4087
|
/**
|
|
4083
|
-
* <p>Configuration settings for durable
|
|
4088
|
+
* <p>Configuration settings for <a href="https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html">durable functions</a>, including execution timeout, retention period for execution history, and an optional ARN of the Key Management Service (KMS) customer managed key that is used to encrypt your durable execution's payload data, including input, output, and error payloads.</p>
|
|
4084
4089
|
* @public
|
|
4085
4090
|
*/
|
|
4086
4091
|
DurableConfig?: DurableConfig | undefined;
|
|
@@ -4384,6 +4389,11 @@ export interface GetDurableExecutionRequest {
|
|
|
4384
4389
|
* @public
|
|
4385
4390
|
*/
|
|
4386
4391
|
DurableExecutionArn: string | undefined;
|
|
4392
|
+
/**
|
|
4393
|
+
* <p>Specifies whether to include execution data such as input payload, result, and error information in the response. Set to <code>false</code> for a more compact response that includes only execution metadata. The default value is set to <code>true</code>.</p>
|
|
4394
|
+
* @public
|
|
4395
|
+
*/
|
|
4396
|
+
IncludeExecutionData?: boolean | undefined;
|
|
4387
4397
|
}
|
|
4388
4398
|
/**
|
|
4389
4399
|
* <p>Contains trace headers for the Lambda durable execution.</p>
|
|
@@ -4456,6 +4466,16 @@ export interface GetDurableExecutionResponse {
|
|
|
4456
4466
|
* @public
|
|
4457
4467
|
*/
|
|
4458
4468
|
TraceHeader?: TraceHeader | undefined;
|
|
4469
|
+
/**
|
|
4470
|
+
* <p>Indicates whether execution data is included in this response. Returns <code>false</code> when <code>IncludeExecutionData</code> is set to <code>false</code> in the request.</p>
|
|
4471
|
+
* @public
|
|
4472
|
+
*/
|
|
4473
|
+
ExecutionDataIncluded?: boolean | undefined;
|
|
4474
|
+
/**
|
|
4475
|
+
* <p>Configuration settings for the durable execution, including execution timeout, retention period for execution history, and an optional ARN of the Key Management Service (KMS) customer managed key that is used to encrypt your durable execution's payload data, including input, output, and error payloads.</p>
|
|
4476
|
+
* @public
|
|
4477
|
+
*/
|
|
4478
|
+
DurableConfig?: DurableConfig | undefined;
|
|
4459
4479
|
}
|
|
4460
4480
|
/**
|
|
4461
4481
|
* @public
|
|
@@ -5662,6 +5682,11 @@ export interface Execution {
|
|
|
5662
5682
|
* @public
|
|
5663
5683
|
*/
|
|
5664
5684
|
EndTimestamp?: Date | undefined;
|
|
5685
|
+
/**
|
|
5686
|
+
* <p>The ARN of the Key Management Service (KMS) customer managed key that is used to encrypt your durable execution's payload data, including input, output, and error payloads.</p>
|
|
5687
|
+
* @public
|
|
5688
|
+
*/
|
|
5689
|
+
KMSKeyArn?: string | undefined;
|
|
5665
5690
|
}
|
|
5666
5691
|
/**
|
|
5667
5692
|
* <p>The response from the ListDurableExecutionsByFunction operation, containing a list of durable executions and pagination information.</p>
|
|
@@ -87,6 +87,42 @@ export declare class CapacityProviderLimitExceededException extends __BaseExcept
|
|
|
87
87
|
>
|
|
88
88
|
);
|
|
89
89
|
}
|
|
90
|
+
export declare class KMSAccessDeniedException extends __BaseException {
|
|
91
|
+
readonly name: "KMSAccessDeniedException";
|
|
92
|
+
readonly $fault: "server";
|
|
93
|
+
Type?: string | undefined;
|
|
94
|
+
Message?: string | undefined;
|
|
95
|
+
constructor(
|
|
96
|
+
opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>
|
|
97
|
+
);
|
|
98
|
+
}
|
|
99
|
+
export declare class KMSDisabledException extends __BaseException {
|
|
100
|
+
readonly name: "KMSDisabledException";
|
|
101
|
+
readonly $fault: "server";
|
|
102
|
+
Type?: string | undefined;
|
|
103
|
+
Message?: string | undefined;
|
|
104
|
+
constructor(
|
|
105
|
+
opts: __ExceptionOptionType<KMSDisabledException, __BaseException>
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
export declare class KMSInvalidStateException extends __BaseException {
|
|
109
|
+
readonly name: "KMSInvalidStateException";
|
|
110
|
+
readonly $fault: "server";
|
|
111
|
+
Type?: string | undefined;
|
|
112
|
+
Message?: string | undefined;
|
|
113
|
+
constructor(
|
|
114
|
+
opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
export declare class KMSNotFoundException extends __BaseException {
|
|
118
|
+
readonly name: "KMSNotFoundException";
|
|
119
|
+
readonly $fault: "server";
|
|
120
|
+
Type?: string | undefined;
|
|
121
|
+
Message?: string | undefined;
|
|
122
|
+
constructor(
|
|
123
|
+
opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>
|
|
124
|
+
);
|
|
125
|
+
}
|
|
90
126
|
export declare class ResourceInUseException extends __BaseException {
|
|
91
127
|
readonly name: "ResourceInUseException";
|
|
92
128
|
readonly $fault: "client";
|
|
@@ -320,42 +356,6 @@ export declare class InvalidZipFileException extends __BaseException {
|
|
|
320
356
|
opts: __ExceptionOptionType<InvalidZipFileException, __BaseException>
|
|
321
357
|
);
|
|
322
358
|
}
|
|
323
|
-
export declare class KMSAccessDeniedException extends __BaseException {
|
|
324
|
-
readonly name: "KMSAccessDeniedException";
|
|
325
|
-
readonly $fault: "server";
|
|
326
|
-
Type?: string | undefined;
|
|
327
|
-
Message?: string | undefined;
|
|
328
|
-
constructor(
|
|
329
|
-
opts: __ExceptionOptionType<KMSAccessDeniedException, __BaseException>
|
|
330
|
-
);
|
|
331
|
-
}
|
|
332
|
-
export declare class KMSDisabledException extends __BaseException {
|
|
333
|
-
readonly name: "KMSDisabledException";
|
|
334
|
-
readonly $fault: "server";
|
|
335
|
-
Type?: string | undefined;
|
|
336
|
-
Message?: string | undefined;
|
|
337
|
-
constructor(
|
|
338
|
-
opts: __ExceptionOptionType<KMSDisabledException, __BaseException>
|
|
339
|
-
);
|
|
340
|
-
}
|
|
341
|
-
export declare class KMSInvalidStateException extends __BaseException {
|
|
342
|
-
readonly name: "KMSInvalidStateException";
|
|
343
|
-
readonly $fault: "server";
|
|
344
|
-
Type?: string | undefined;
|
|
345
|
-
Message?: string | undefined;
|
|
346
|
-
constructor(
|
|
347
|
-
opts: __ExceptionOptionType<KMSInvalidStateException, __BaseException>
|
|
348
|
-
);
|
|
349
|
-
}
|
|
350
|
-
export declare class KMSNotFoundException extends __BaseException {
|
|
351
|
-
readonly name: "KMSNotFoundException";
|
|
352
|
-
readonly $fault: "server";
|
|
353
|
-
Type?: string | undefined;
|
|
354
|
-
Message?: string | undefined;
|
|
355
|
-
constructor(
|
|
356
|
-
opts: __ExceptionOptionType<KMSNotFoundException, __BaseException>
|
|
357
|
-
);
|
|
358
|
-
}
|
|
359
359
|
export declare class ModeNotSupportedException extends __BaseException {
|
|
360
360
|
readonly name: "ModeNotSupportedException";
|
|
361
361
|
readonly $fault: "client";
|
|
@@ -561,6 +561,7 @@ export interface DeadLetterConfig {
|
|
|
561
561
|
TargetArn?: string | undefined;
|
|
562
562
|
}
|
|
563
563
|
export interface DurableConfig {
|
|
564
|
+
KMSKeyArn?: string | undefined;
|
|
564
565
|
RetentionPeriodInDays?: number | undefined;
|
|
565
566
|
ExecutionTimeout?: number | undefined;
|
|
566
567
|
}
|
|
@@ -1121,6 +1122,7 @@ export interface GetAccountSettingsResponse {
|
|
|
1121
1122
|
}
|
|
1122
1123
|
export interface GetDurableExecutionRequest {
|
|
1123
1124
|
DurableExecutionArn: string | undefined;
|
|
1125
|
+
IncludeExecutionData?: boolean | undefined;
|
|
1124
1126
|
}
|
|
1125
1127
|
export interface TraceHeader {
|
|
1126
1128
|
XAmznTraceId?: string | undefined;
|
|
@@ -1137,6 +1139,8 @@ export interface GetDurableExecutionResponse {
|
|
|
1137
1139
|
EndTimestamp?: Date | undefined;
|
|
1138
1140
|
Version?: string | undefined;
|
|
1139
1141
|
TraceHeader?: TraceHeader | undefined;
|
|
1142
|
+
ExecutionDataIncluded?: boolean | undefined;
|
|
1143
|
+
DurableConfig?: DurableConfig | undefined;
|
|
1140
1144
|
}
|
|
1141
1145
|
export interface GetDurableExecutionHistoryRequest {
|
|
1142
1146
|
DurableExecutionArn: string | undefined;
|
|
@@ -1423,6 +1427,7 @@ export interface Execution {
|
|
|
1423
1427
|
Status: ExecutionStatus | undefined;
|
|
1424
1428
|
StartTimestamp: Date | undefined;
|
|
1425
1429
|
EndTimestamp?: Date | undefined;
|
|
1430
|
+
KMSKeyArn?: string | undefined;
|
|
1426
1431
|
}
|
|
1427
1432
|
export interface ListDurableExecutionsByFunctionResponse {
|
|
1428
1433
|
DurableExecutions?: Execution[] | undefined;
|
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.1082.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"module": "./dist-es/index.js",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "^3.
|
|
29
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
30
|
-
"@aws-sdk/types": "^3.
|
|
31
|
-
"@smithy/core": "^3.29.
|
|
32
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
33
|
-
"@smithy/node-http-handler": "^4.9.
|
|
34
|
-
"@smithy/types": "^4.
|
|
28
|
+
"@aws-sdk/core": "^3.975.0",
|
|
29
|
+
"@aws-sdk/credential-provider-node": "^3.972.65",
|
|
30
|
+
"@aws-sdk/types": "^3.974.0",
|
|
31
|
+
"@smithy/core": "^3.29.2",
|
|
32
|
+
"@smithy/fetch-http-handler": "^5.6.4",
|
|
33
|
+
"@smithy/node-http-handler": "^4.9.4",
|
|
34
|
+
"@smithy/types": "^4.16.0",
|
|
35
35
|
"tslib": "^2.6.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@smithy/snapshot-testing": "^2.2.
|
|
38
|
+
"@smithy/snapshot-testing": "^2.2.7",
|
|
39
39
|
"@tsconfig/node20": "20.1.8",
|
|
40
40
|
"@types/node": "^20.14.8",
|
|
41
41
|
"concurrently": "7.0.0",
|