@effect-aws/client-lambda 1.10.3 → 1.10.7
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/Errors.d.ts +8 -2
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/cjs/Errors.js +6 -0
- package/dist/cjs/Errors.js.map +1 -1
- package/dist/cjs/LambdaService.d.ts +74 -6
- package/dist/cjs/LambdaService.d.ts.map +1 -1
- package/dist/cjs/LambdaService.js +17 -0
- package/dist/cjs/LambdaService.js.map +1 -1
- package/dist/dts/Errors.d.ts +8 -2
- package/dist/dts/Errors.d.ts.map +1 -1
- package/dist/dts/LambdaService.d.ts +74 -6
- package/dist/dts/LambdaService.d.ts.map +1 -1
- package/dist/esm/Errors.js +6 -0
- package/dist/esm/Errors.js.map +1 -1
- package/dist/esm/LambdaService.js +18 -1
- package/dist/esm/LambdaService.js.map +1 -1
- package/package.json +1 -1
- package/src/Errors.ts +20 -0
- package/src/LambdaService.ts +342 -0
package/src/LambdaService.ts
CHANGED
|
@@ -8,9 +8,15 @@ import {
|
|
|
8
8
|
AddPermissionCommand,
|
|
9
9
|
type AddPermissionCommandInput,
|
|
10
10
|
type AddPermissionCommandOutput,
|
|
11
|
+
CheckpointDurableExecutionCommand,
|
|
12
|
+
type CheckpointDurableExecutionCommandInput,
|
|
13
|
+
type CheckpointDurableExecutionCommandOutput,
|
|
11
14
|
CreateAliasCommand,
|
|
12
15
|
type CreateAliasCommandInput,
|
|
13
16
|
type CreateAliasCommandOutput,
|
|
17
|
+
CreateCapacityProviderCommand,
|
|
18
|
+
type CreateCapacityProviderCommandInput,
|
|
19
|
+
type CreateCapacityProviderCommandOutput,
|
|
14
20
|
CreateCodeSigningConfigCommand,
|
|
15
21
|
type CreateCodeSigningConfigCommandInput,
|
|
16
22
|
type CreateCodeSigningConfigCommandOutput,
|
|
@@ -26,6 +32,9 @@ import {
|
|
|
26
32
|
DeleteAliasCommand,
|
|
27
33
|
type DeleteAliasCommandInput,
|
|
28
34
|
type DeleteAliasCommandOutput,
|
|
35
|
+
DeleteCapacityProviderCommand,
|
|
36
|
+
type DeleteCapacityProviderCommandInput,
|
|
37
|
+
type DeleteCapacityProviderCommandOutput,
|
|
29
38
|
DeleteCodeSigningConfigCommand,
|
|
30
39
|
type DeleteCodeSigningConfigCommandInput,
|
|
31
40
|
type DeleteCodeSigningConfigCommandOutput,
|
|
@@ -59,9 +68,21 @@ import {
|
|
|
59
68
|
GetAliasCommand,
|
|
60
69
|
type GetAliasCommandInput,
|
|
61
70
|
type GetAliasCommandOutput,
|
|
71
|
+
GetCapacityProviderCommand,
|
|
72
|
+
type GetCapacityProviderCommandInput,
|
|
73
|
+
type GetCapacityProviderCommandOutput,
|
|
62
74
|
GetCodeSigningConfigCommand,
|
|
63
75
|
type GetCodeSigningConfigCommandInput,
|
|
64
76
|
type GetCodeSigningConfigCommandOutput,
|
|
77
|
+
GetDurableExecutionCommand,
|
|
78
|
+
type GetDurableExecutionCommandInput,
|
|
79
|
+
type GetDurableExecutionCommandOutput,
|
|
80
|
+
GetDurableExecutionHistoryCommand,
|
|
81
|
+
type GetDurableExecutionHistoryCommandInput,
|
|
82
|
+
type GetDurableExecutionHistoryCommandOutput,
|
|
83
|
+
GetDurableExecutionStateCommand,
|
|
84
|
+
type GetDurableExecutionStateCommandInput,
|
|
85
|
+
type GetDurableExecutionStateCommandOutput,
|
|
65
86
|
GetEventSourceMappingCommand,
|
|
66
87
|
type GetEventSourceMappingCommandInput,
|
|
67
88
|
type GetEventSourceMappingCommandOutput,
|
|
@@ -83,6 +104,9 @@ import {
|
|
|
83
104
|
GetFunctionRecursionConfigCommand,
|
|
84
105
|
type GetFunctionRecursionConfigCommandInput,
|
|
85
106
|
type GetFunctionRecursionConfigCommandOutput,
|
|
107
|
+
GetFunctionScalingConfigCommand,
|
|
108
|
+
type GetFunctionScalingConfigCommandInput,
|
|
109
|
+
type GetFunctionScalingConfigCommandOutput,
|
|
86
110
|
GetFunctionUrlConfigCommand,
|
|
87
111
|
type GetFunctionUrlConfigCommandInput,
|
|
88
112
|
type GetFunctionUrlConfigCommandOutput,
|
|
@@ -118,9 +142,15 @@ import {
|
|
|
118
142
|
ListAliasesCommand,
|
|
119
143
|
type ListAliasesCommandInput,
|
|
120
144
|
type ListAliasesCommandOutput,
|
|
145
|
+
ListCapacityProvidersCommand,
|
|
146
|
+
type ListCapacityProvidersCommandInput,
|
|
147
|
+
type ListCapacityProvidersCommandOutput,
|
|
121
148
|
ListCodeSigningConfigsCommand,
|
|
122
149
|
type ListCodeSigningConfigsCommandInput,
|
|
123
150
|
type ListCodeSigningConfigsCommandOutput,
|
|
151
|
+
ListDurableExecutionsByFunctionCommand,
|
|
152
|
+
type ListDurableExecutionsByFunctionCommandInput,
|
|
153
|
+
type ListDurableExecutionsByFunctionCommandOutput,
|
|
124
154
|
ListEventSourceMappingsCommand,
|
|
125
155
|
type ListEventSourceMappingsCommandInput,
|
|
126
156
|
type ListEventSourceMappingsCommandOutput,
|
|
@@ -136,6 +166,9 @@ import {
|
|
|
136
166
|
ListFunctionUrlConfigsCommand,
|
|
137
167
|
type ListFunctionUrlConfigsCommandInput,
|
|
138
168
|
type ListFunctionUrlConfigsCommandOutput,
|
|
169
|
+
ListFunctionVersionsByCapacityProviderCommand,
|
|
170
|
+
type ListFunctionVersionsByCapacityProviderCommandInput,
|
|
171
|
+
type ListFunctionVersionsByCapacityProviderCommandOutput,
|
|
139
172
|
ListLayersCommand,
|
|
140
173
|
type ListLayersCommandInput,
|
|
141
174
|
type ListLayersCommandOutput,
|
|
@@ -169,6 +202,9 @@ import {
|
|
|
169
202
|
PutFunctionRecursionConfigCommand,
|
|
170
203
|
type PutFunctionRecursionConfigCommandInput,
|
|
171
204
|
type PutFunctionRecursionConfigCommandOutput,
|
|
205
|
+
PutFunctionScalingConfigCommand,
|
|
206
|
+
type PutFunctionScalingConfigCommandInput,
|
|
207
|
+
type PutFunctionScalingConfigCommandOutput,
|
|
172
208
|
PutProvisionedConcurrencyConfigCommand,
|
|
173
209
|
type PutProvisionedConcurrencyConfigCommandInput,
|
|
174
210
|
type PutProvisionedConcurrencyConfigCommandOutput,
|
|
@@ -181,6 +217,18 @@ import {
|
|
|
181
217
|
RemovePermissionCommand,
|
|
182
218
|
type RemovePermissionCommandInput,
|
|
183
219
|
type RemovePermissionCommandOutput,
|
|
220
|
+
SendDurableExecutionCallbackFailureCommand,
|
|
221
|
+
type SendDurableExecutionCallbackFailureCommandInput,
|
|
222
|
+
type SendDurableExecutionCallbackFailureCommandOutput,
|
|
223
|
+
SendDurableExecutionCallbackHeartbeatCommand,
|
|
224
|
+
type SendDurableExecutionCallbackHeartbeatCommandInput,
|
|
225
|
+
type SendDurableExecutionCallbackHeartbeatCommandOutput,
|
|
226
|
+
SendDurableExecutionCallbackSuccessCommand,
|
|
227
|
+
type SendDurableExecutionCallbackSuccessCommandInput,
|
|
228
|
+
type SendDurableExecutionCallbackSuccessCommandOutput,
|
|
229
|
+
StopDurableExecutionCommand,
|
|
230
|
+
type StopDurableExecutionCommandInput,
|
|
231
|
+
type StopDurableExecutionCommandOutput,
|
|
184
232
|
TagResourceCommand,
|
|
185
233
|
type TagResourceCommandInput,
|
|
186
234
|
type TagResourceCommandOutput,
|
|
@@ -190,6 +238,9 @@ import {
|
|
|
190
238
|
UpdateAliasCommand,
|
|
191
239
|
type UpdateAliasCommandInput,
|
|
192
240
|
type UpdateAliasCommandOutput,
|
|
241
|
+
UpdateCapacityProviderCommand,
|
|
242
|
+
type UpdateCapacityProviderCommandInput,
|
|
243
|
+
type UpdateCapacityProviderCommandOutput,
|
|
193
244
|
UpdateCodeSigningConfigCommand,
|
|
194
245
|
type UpdateCodeSigningConfigCommandInput,
|
|
195
246
|
type UpdateCodeSigningConfigCommandOutput,
|
|
@@ -214,9 +265,12 @@ import { Service } from "@effect-aws/commons";
|
|
|
214
265
|
import type { Cause } from "effect";
|
|
215
266
|
import { Effect, Layer } from "effect";
|
|
216
267
|
import type {
|
|
268
|
+
CallbackTimeoutError,
|
|
269
|
+
CapacityProviderLimitExceededError,
|
|
217
270
|
CodeSigningConfigNotFoundError,
|
|
218
271
|
CodeStorageExceededError,
|
|
219
272
|
CodeVerificationFailedError,
|
|
273
|
+
DurableExecutionAlreadyStartedError,
|
|
220
274
|
EC2AccessDeniedError,
|
|
221
275
|
EC2ThrottledError,
|
|
222
276
|
EC2UnexpectedError,
|
|
@@ -225,6 +279,7 @@ import type {
|
|
|
225
279
|
EFSMountFailureError,
|
|
226
280
|
EFSMountTimeoutError,
|
|
227
281
|
ENILimitReachedError,
|
|
282
|
+
FunctionVersionsPerCapacityProviderLimitExceededError,
|
|
228
283
|
InvalidCodeSignatureError,
|
|
229
284
|
InvalidParameterValueError,
|
|
230
285
|
InvalidRequestContentError,
|
|
@@ -236,6 +291,7 @@ import type {
|
|
|
236
291
|
KMSDisabledError,
|
|
237
292
|
KMSInvalidStateError,
|
|
238
293
|
KMSNotFoundError,
|
|
294
|
+
NoPublishedVersionError,
|
|
239
295
|
PolicyLengthExceededError,
|
|
240
296
|
PreconditionFailedError,
|
|
241
297
|
ProvisionedConcurrencyConfigNotFoundError,
|
|
@@ -246,6 +302,7 @@ import type {
|
|
|
246
302
|
ResourceNotFoundError,
|
|
247
303
|
ResourceNotReadyError,
|
|
248
304
|
SdkError,
|
|
305
|
+
SerializedRequestEntityTooLargeError,
|
|
249
306
|
ServiceError,
|
|
250
307
|
SnapStartError,
|
|
251
308
|
SnapStartNotReadyError,
|
|
@@ -261,12 +318,15 @@ import * as LambdaServiceConfig from "./LambdaServiceConfig.js";
|
|
|
261
318
|
const commands = {
|
|
262
319
|
AddLayerVersionPermissionCommand,
|
|
263
320
|
AddPermissionCommand,
|
|
321
|
+
CheckpointDurableExecutionCommand,
|
|
264
322
|
CreateAliasCommand,
|
|
323
|
+
CreateCapacityProviderCommand,
|
|
265
324
|
CreateCodeSigningConfigCommand,
|
|
266
325
|
CreateEventSourceMappingCommand,
|
|
267
326
|
CreateFunctionCommand,
|
|
268
327
|
CreateFunctionUrlConfigCommand,
|
|
269
328
|
DeleteAliasCommand,
|
|
329
|
+
DeleteCapacityProviderCommand,
|
|
270
330
|
DeleteCodeSigningConfigCommand,
|
|
271
331
|
DeleteEventSourceMappingCommand,
|
|
272
332
|
DeleteFunctionCommand,
|
|
@@ -278,7 +338,11 @@ const commands = {
|
|
|
278
338
|
DeleteProvisionedConcurrencyConfigCommand,
|
|
279
339
|
GetAccountSettingsCommand,
|
|
280
340
|
GetAliasCommand,
|
|
341
|
+
GetCapacityProviderCommand,
|
|
281
342
|
GetCodeSigningConfigCommand,
|
|
343
|
+
GetDurableExecutionCommand,
|
|
344
|
+
GetDurableExecutionHistoryCommand,
|
|
345
|
+
GetDurableExecutionStateCommand,
|
|
282
346
|
GetEventSourceMappingCommand,
|
|
283
347
|
GetFunctionCommand,
|
|
284
348
|
GetFunctionCodeSigningConfigCommand,
|
|
@@ -286,6 +350,7 @@ const commands = {
|
|
|
286
350
|
GetFunctionConfigurationCommand,
|
|
287
351
|
GetFunctionEventInvokeConfigCommand,
|
|
288
352
|
GetFunctionRecursionConfigCommand,
|
|
353
|
+
GetFunctionScalingConfigCommand,
|
|
289
354
|
GetFunctionUrlConfigCommand,
|
|
290
355
|
GetLayerVersionCommand,
|
|
291
356
|
GetLayerVersionByArnCommand,
|
|
@@ -297,10 +362,13 @@ const commands = {
|
|
|
297
362
|
InvokeAsyncCommand,
|
|
298
363
|
InvokeWithResponseStreamCommand,
|
|
299
364
|
ListAliasesCommand,
|
|
365
|
+
ListCapacityProvidersCommand,
|
|
300
366
|
ListCodeSigningConfigsCommand,
|
|
367
|
+
ListDurableExecutionsByFunctionCommand,
|
|
301
368
|
ListEventSourceMappingsCommand,
|
|
302
369
|
ListFunctionEventInvokeConfigsCommand,
|
|
303
370
|
ListFunctionUrlConfigsCommand,
|
|
371
|
+
ListFunctionVersionsByCapacityProviderCommand,
|
|
304
372
|
ListFunctionsCommand,
|
|
305
373
|
ListFunctionsByCodeSigningConfigCommand,
|
|
306
374
|
ListLayerVersionsCommand,
|
|
@@ -314,13 +382,19 @@ const commands = {
|
|
|
314
382
|
PutFunctionConcurrencyCommand,
|
|
315
383
|
PutFunctionEventInvokeConfigCommand,
|
|
316
384
|
PutFunctionRecursionConfigCommand,
|
|
385
|
+
PutFunctionScalingConfigCommand,
|
|
317
386
|
PutProvisionedConcurrencyConfigCommand,
|
|
318
387
|
PutRuntimeManagementConfigCommand,
|
|
319
388
|
RemoveLayerVersionPermissionCommand,
|
|
320
389
|
RemovePermissionCommand,
|
|
390
|
+
SendDurableExecutionCallbackFailureCommand,
|
|
391
|
+
SendDurableExecutionCallbackHeartbeatCommand,
|
|
392
|
+
SendDurableExecutionCallbackSuccessCommand,
|
|
393
|
+
StopDurableExecutionCommand,
|
|
321
394
|
TagResourceCommand,
|
|
322
395
|
UntagResourceCommand,
|
|
323
396
|
UpdateAliasCommand,
|
|
397
|
+
UpdateCapacityProviderCommand,
|
|
324
398
|
UpdateCodeSigningConfigCommand,
|
|
325
399
|
UpdateEventSourceMappingCommand,
|
|
326
400
|
UpdateFunctionCodeCommand,
|
|
@@ -370,6 +444,17 @@ interface LambdaService$ {
|
|
|
370
444
|
| TooManyRequestsError
|
|
371
445
|
>;
|
|
372
446
|
|
|
447
|
+
/**
|
|
448
|
+
* @see {@link CheckpointDurableExecutionCommand}
|
|
449
|
+
*/
|
|
450
|
+
checkpointDurableExecution(
|
|
451
|
+
args: CheckpointDurableExecutionCommandInput,
|
|
452
|
+
options?: HttpHandlerOptions,
|
|
453
|
+
): Effect.Effect<
|
|
454
|
+
CheckpointDurableExecutionCommandOutput,
|
|
455
|
+
Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
|
|
456
|
+
>;
|
|
457
|
+
|
|
373
458
|
/**
|
|
374
459
|
* @see {@link CreateAliasCommand}
|
|
375
460
|
*/
|
|
@@ -387,6 +472,23 @@ interface LambdaService$ {
|
|
|
387
472
|
| TooManyRequestsError
|
|
388
473
|
>;
|
|
389
474
|
|
|
475
|
+
/**
|
|
476
|
+
* @see {@link CreateCapacityProviderCommand}
|
|
477
|
+
*/
|
|
478
|
+
createCapacityProvider(
|
|
479
|
+
args: CreateCapacityProviderCommandInput,
|
|
480
|
+
options?: HttpHandlerOptions,
|
|
481
|
+
): Effect.Effect<
|
|
482
|
+
CreateCapacityProviderCommandOutput,
|
|
483
|
+
| Cause.TimeoutException
|
|
484
|
+
| SdkError
|
|
485
|
+
| CapacityProviderLimitExceededError
|
|
486
|
+
| InvalidParameterValueError
|
|
487
|
+
| ResourceConflictError
|
|
488
|
+
| ServiceError
|
|
489
|
+
| TooManyRequestsError
|
|
490
|
+
>;
|
|
491
|
+
|
|
390
492
|
/**
|
|
391
493
|
* @see {@link CreateCodeSigningConfigCommand}
|
|
392
494
|
*/
|
|
@@ -428,6 +530,7 @@ interface LambdaService$ {
|
|
|
428
530
|
| CodeSigningConfigNotFoundError
|
|
429
531
|
| CodeStorageExceededError
|
|
430
532
|
| CodeVerificationFailedError
|
|
533
|
+
| FunctionVersionsPerCapacityProviderLimitExceededError
|
|
431
534
|
| InvalidCodeSignatureError
|
|
432
535
|
| InvalidParameterValueError
|
|
433
536
|
| ResourceConflictError
|
|
@@ -469,6 +572,23 @@ interface LambdaService$ {
|
|
|
469
572
|
| TooManyRequestsError
|
|
470
573
|
>;
|
|
471
574
|
|
|
575
|
+
/**
|
|
576
|
+
* @see {@link DeleteCapacityProviderCommand}
|
|
577
|
+
*/
|
|
578
|
+
deleteCapacityProvider(
|
|
579
|
+
args: DeleteCapacityProviderCommandInput,
|
|
580
|
+
options?: HttpHandlerOptions,
|
|
581
|
+
): Effect.Effect<
|
|
582
|
+
DeleteCapacityProviderCommandOutput,
|
|
583
|
+
| Cause.TimeoutException
|
|
584
|
+
| SdkError
|
|
585
|
+
| InvalidParameterValueError
|
|
586
|
+
| ResourceConflictError
|
|
587
|
+
| ResourceNotFoundError
|
|
588
|
+
| ServiceError
|
|
589
|
+
| TooManyRequestsError
|
|
590
|
+
>;
|
|
591
|
+
|
|
472
592
|
/**
|
|
473
593
|
* @see {@link DeleteCodeSigningConfigCommand}
|
|
474
594
|
*/
|
|
@@ -643,6 +763,22 @@ interface LambdaService$ {
|
|
|
643
763
|
| TooManyRequestsError
|
|
644
764
|
>;
|
|
645
765
|
|
|
766
|
+
/**
|
|
767
|
+
* @see {@link GetCapacityProviderCommand}
|
|
768
|
+
*/
|
|
769
|
+
getCapacityProvider(
|
|
770
|
+
args: GetCapacityProviderCommandInput,
|
|
771
|
+
options?: HttpHandlerOptions,
|
|
772
|
+
): Effect.Effect<
|
|
773
|
+
GetCapacityProviderCommandOutput,
|
|
774
|
+
| Cause.TimeoutException
|
|
775
|
+
| SdkError
|
|
776
|
+
| InvalidParameterValueError
|
|
777
|
+
| ResourceNotFoundError
|
|
778
|
+
| ServiceError
|
|
779
|
+
| TooManyRequestsError
|
|
780
|
+
>;
|
|
781
|
+
|
|
646
782
|
/**
|
|
647
783
|
* @see {@link GetCodeSigningConfigCommand}
|
|
648
784
|
*/
|
|
@@ -654,6 +790,49 @@ interface LambdaService$ {
|
|
|
654
790
|
Cause.TimeoutException | SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError
|
|
655
791
|
>;
|
|
656
792
|
|
|
793
|
+
/**
|
|
794
|
+
* @see {@link GetDurableExecutionCommand}
|
|
795
|
+
*/
|
|
796
|
+
getDurableExecution(
|
|
797
|
+
args: GetDurableExecutionCommandInput,
|
|
798
|
+
options?: HttpHandlerOptions,
|
|
799
|
+
): Effect.Effect<
|
|
800
|
+
GetDurableExecutionCommandOutput,
|
|
801
|
+
| Cause.TimeoutException
|
|
802
|
+
| SdkError
|
|
803
|
+
| InvalidParameterValueError
|
|
804
|
+
| ResourceNotFoundError
|
|
805
|
+
| ServiceError
|
|
806
|
+
| TooManyRequestsError
|
|
807
|
+
>;
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* @see {@link GetDurableExecutionHistoryCommand}
|
|
811
|
+
*/
|
|
812
|
+
getDurableExecutionHistory(
|
|
813
|
+
args: GetDurableExecutionHistoryCommandInput,
|
|
814
|
+
options?: HttpHandlerOptions,
|
|
815
|
+
): Effect.Effect<
|
|
816
|
+
GetDurableExecutionHistoryCommandOutput,
|
|
817
|
+
| Cause.TimeoutException
|
|
818
|
+
| SdkError
|
|
819
|
+
| InvalidParameterValueError
|
|
820
|
+
| ResourceNotFoundError
|
|
821
|
+
| ServiceError
|
|
822
|
+
| TooManyRequestsError
|
|
823
|
+
>;
|
|
824
|
+
|
|
825
|
+
/**
|
|
826
|
+
* @see {@link GetDurableExecutionStateCommand}
|
|
827
|
+
*/
|
|
828
|
+
getDurableExecutionState(
|
|
829
|
+
args: GetDurableExecutionStateCommandInput,
|
|
830
|
+
options?: HttpHandlerOptions,
|
|
831
|
+
): Effect.Effect<
|
|
832
|
+
GetDurableExecutionStateCommandOutput,
|
|
833
|
+
Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
|
|
834
|
+
>;
|
|
835
|
+
|
|
657
836
|
/**
|
|
658
837
|
* @see {@link GetEventSourceMappingCommand}
|
|
659
838
|
*/
|
|
@@ -766,6 +945,22 @@ interface LambdaService$ {
|
|
|
766
945
|
| TooManyRequestsError
|
|
767
946
|
>;
|
|
768
947
|
|
|
948
|
+
/**
|
|
949
|
+
* @see {@link GetFunctionScalingConfigCommand}
|
|
950
|
+
*/
|
|
951
|
+
getFunctionScalingConfig(
|
|
952
|
+
args: GetFunctionScalingConfigCommandInput,
|
|
953
|
+
options?: HttpHandlerOptions,
|
|
954
|
+
): Effect.Effect<
|
|
955
|
+
GetFunctionScalingConfigCommandOutput,
|
|
956
|
+
| Cause.TimeoutException
|
|
957
|
+
| SdkError
|
|
958
|
+
| InvalidParameterValueError
|
|
959
|
+
| ResourceNotFoundError
|
|
960
|
+
| ServiceError
|
|
961
|
+
| TooManyRequestsError
|
|
962
|
+
>;
|
|
963
|
+
|
|
769
964
|
/**
|
|
770
965
|
* @see {@link GetFunctionUrlConfigCommand}
|
|
771
966
|
*/
|
|
@@ -889,6 +1084,7 @@ interface LambdaService$ {
|
|
|
889
1084
|
InvokeCommandOutput,
|
|
890
1085
|
| Cause.TimeoutException
|
|
891
1086
|
| SdkError
|
|
1087
|
+
| DurableExecutionAlreadyStartedError
|
|
892
1088
|
| EC2AccessDeniedError
|
|
893
1089
|
| EC2ThrottledError
|
|
894
1090
|
| EC2UnexpectedError
|
|
@@ -907,11 +1103,13 @@ interface LambdaService$ {
|
|
|
907
1103
|
| KMSDisabledError
|
|
908
1104
|
| KMSInvalidStateError
|
|
909
1105
|
| KMSNotFoundError
|
|
1106
|
+
| NoPublishedVersionError
|
|
910
1107
|
| RecursiveInvocationError
|
|
911
1108
|
| RequestTooLargeError
|
|
912
1109
|
| ResourceConflictError
|
|
913
1110
|
| ResourceNotFoundError
|
|
914
1111
|
| ResourceNotReadyError
|
|
1112
|
+
| SerializedRequestEntityTooLargeError
|
|
915
1113
|
| ServiceError
|
|
916
1114
|
| SnapStartError
|
|
917
1115
|
| SnapStartNotReadyError
|
|
@@ -966,11 +1164,13 @@ interface LambdaService$ {
|
|
|
966
1164
|
| KMSDisabledError
|
|
967
1165
|
| KMSInvalidStateError
|
|
968
1166
|
| KMSNotFoundError
|
|
1167
|
+
| NoPublishedVersionError
|
|
969
1168
|
| RecursiveInvocationError
|
|
970
1169
|
| RequestTooLargeError
|
|
971
1170
|
| ResourceConflictError
|
|
972
1171
|
| ResourceNotFoundError
|
|
973
1172
|
| ResourceNotReadyError
|
|
1173
|
+
| SerializedRequestEntityTooLargeError
|
|
974
1174
|
| ServiceError
|
|
975
1175
|
| SnapStartError
|
|
976
1176
|
| SnapStartNotReadyError
|
|
@@ -996,6 +1196,17 @@ interface LambdaService$ {
|
|
|
996
1196
|
| TooManyRequestsError
|
|
997
1197
|
>;
|
|
998
1198
|
|
|
1199
|
+
/**
|
|
1200
|
+
* @see {@link ListCapacityProvidersCommand}
|
|
1201
|
+
*/
|
|
1202
|
+
listCapacityProviders(
|
|
1203
|
+
args: ListCapacityProvidersCommandInput,
|
|
1204
|
+
options?: HttpHandlerOptions,
|
|
1205
|
+
): Effect.Effect<
|
|
1206
|
+
ListCapacityProvidersCommandOutput,
|
|
1207
|
+
Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
|
|
1208
|
+
>;
|
|
1209
|
+
|
|
999
1210
|
/**
|
|
1000
1211
|
* @see {@link ListCodeSigningConfigsCommand}
|
|
1001
1212
|
*/
|
|
@@ -1007,6 +1218,22 @@ interface LambdaService$ {
|
|
|
1007
1218
|
Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceError
|
|
1008
1219
|
>;
|
|
1009
1220
|
|
|
1221
|
+
/**
|
|
1222
|
+
* @see {@link ListDurableExecutionsByFunctionCommand}
|
|
1223
|
+
*/
|
|
1224
|
+
listDurableExecutionsByFunction(
|
|
1225
|
+
args: ListDurableExecutionsByFunctionCommandInput,
|
|
1226
|
+
options?: HttpHandlerOptions,
|
|
1227
|
+
): Effect.Effect<
|
|
1228
|
+
ListDurableExecutionsByFunctionCommandOutput,
|
|
1229
|
+
| Cause.TimeoutException
|
|
1230
|
+
| SdkError
|
|
1231
|
+
| InvalidParameterValueError
|
|
1232
|
+
| ResourceNotFoundError
|
|
1233
|
+
| ServiceError
|
|
1234
|
+
| TooManyRequestsError
|
|
1235
|
+
>;
|
|
1236
|
+
|
|
1010
1237
|
/**
|
|
1011
1238
|
* @see {@link ListEventSourceMappingsCommand}
|
|
1012
1239
|
*/
|
|
@@ -1055,6 +1282,22 @@ interface LambdaService$ {
|
|
|
1055
1282
|
| TooManyRequestsError
|
|
1056
1283
|
>;
|
|
1057
1284
|
|
|
1285
|
+
/**
|
|
1286
|
+
* @see {@link ListFunctionVersionsByCapacityProviderCommand}
|
|
1287
|
+
*/
|
|
1288
|
+
listFunctionVersionsByCapacityProvider(
|
|
1289
|
+
args: ListFunctionVersionsByCapacityProviderCommandInput,
|
|
1290
|
+
options?: HttpHandlerOptions,
|
|
1291
|
+
): Effect.Effect<
|
|
1292
|
+
ListFunctionVersionsByCapacityProviderCommandOutput,
|
|
1293
|
+
| Cause.TimeoutException
|
|
1294
|
+
| SdkError
|
|
1295
|
+
| InvalidParameterValueError
|
|
1296
|
+
| ResourceNotFoundError
|
|
1297
|
+
| ServiceError
|
|
1298
|
+
| TooManyRequestsError
|
|
1299
|
+
>;
|
|
1300
|
+
|
|
1058
1301
|
/**
|
|
1059
1302
|
* @see {@link ListFunctionsCommand}
|
|
1060
1303
|
*/
|
|
@@ -1180,6 +1423,7 @@ interface LambdaService$ {
|
|
|
1180
1423
|
| Cause.TimeoutException
|
|
1181
1424
|
| SdkError
|
|
1182
1425
|
| CodeStorageExceededError
|
|
1426
|
+
| FunctionVersionsPerCapacityProviderLimitExceededError
|
|
1183
1427
|
| InvalidParameterValueError
|
|
1184
1428
|
| PreconditionFailedError
|
|
1185
1429
|
| ResourceConflictError
|
|
@@ -1257,6 +1501,23 @@ interface LambdaService$ {
|
|
|
1257
1501
|
| TooManyRequestsError
|
|
1258
1502
|
>;
|
|
1259
1503
|
|
|
1504
|
+
/**
|
|
1505
|
+
* @see {@link PutFunctionScalingConfigCommand}
|
|
1506
|
+
*/
|
|
1507
|
+
putFunctionScalingConfig(
|
|
1508
|
+
args: PutFunctionScalingConfigCommandInput,
|
|
1509
|
+
options?: HttpHandlerOptions,
|
|
1510
|
+
): Effect.Effect<
|
|
1511
|
+
PutFunctionScalingConfigCommandOutput,
|
|
1512
|
+
| Cause.TimeoutException
|
|
1513
|
+
| SdkError
|
|
1514
|
+
| InvalidParameterValueError
|
|
1515
|
+
| ResourceConflictError
|
|
1516
|
+
| ResourceNotFoundError
|
|
1517
|
+
| ServiceError
|
|
1518
|
+
| TooManyRequestsError
|
|
1519
|
+
>;
|
|
1520
|
+
|
|
1260
1521
|
/**
|
|
1261
1522
|
* @see {@link PutProvisionedConcurrencyConfigCommand}
|
|
1262
1523
|
*/
|
|
@@ -1325,6 +1586,70 @@ interface LambdaService$ {
|
|
|
1325
1586
|
| TooManyRequestsError
|
|
1326
1587
|
>;
|
|
1327
1588
|
|
|
1589
|
+
/**
|
|
1590
|
+
* @see {@link SendDurableExecutionCallbackFailureCommand}
|
|
1591
|
+
*/
|
|
1592
|
+
sendDurableExecutionCallbackFailure(
|
|
1593
|
+
args: SendDurableExecutionCallbackFailureCommandInput,
|
|
1594
|
+
options?: HttpHandlerOptions,
|
|
1595
|
+
): Effect.Effect<
|
|
1596
|
+
SendDurableExecutionCallbackFailureCommandOutput,
|
|
1597
|
+
| Cause.TimeoutException
|
|
1598
|
+
| SdkError
|
|
1599
|
+
| CallbackTimeoutError
|
|
1600
|
+
| InvalidParameterValueError
|
|
1601
|
+
| ServiceError
|
|
1602
|
+
| TooManyRequestsError
|
|
1603
|
+
>;
|
|
1604
|
+
|
|
1605
|
+
/**
|
|
1606
|
+
* @see {@link SendDurableExecutionCallbackHeartbeatCommand}
|
|
1607
|
+
*/
|
|
1608
|
+
sendDurableExecutionCallbackHeartbeat(
|
|
1609
|
+
args: SendDurableExecutionCallbackHeartbeatCommandInput,
|
|
1610
|
+
options?: HttpHandlerOptions,
|
|
1611
|
+
): Effect.Effect<
|
|
1612
|
+
SendDurableExecutionCallbackHeartbeatCommandOutput,
|
|
1613
|
+
| Cause.TimeoutException
|
|
1614
|
+
| SdkError
|
|
1615
|
+
| CallbackTimeoutError
|
|
1616
|
+
| InvalidParameterValueError
|
|
1617
|
+
| ServiceError
|
|
1618
|
+
| TooManyRequestsError
|
|
1619
|
+
>;
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
* @see {@link SendDurableExecutionCallbackSuccessCommand}
|
|
1623
|
+
*/
|
|
1624
|
+
sendDurableExecutionCallbackSuccess(
|
|
1625
|
+
args: SendDurableExecutionCallbackSuccessCommandInput,
|
|
1626
|
+
options?: HttpHandlerOptions,
|
|
1627
|
+
): Effect.Effect<
|
|
1628
|
+
SendDurableExecutionCallbackSuccessCommandOutput,
|
|
1629
|
+
| Cause.TimeoutException
|
|
1630
|
+
| SdkError
|
|
1631
|
+
| CallbackTimeoutError
|
|
1632
|
+
| InvalidParameterValueError
|
|
1633
|
+
| ServiceError
|
|
1634
|
+
| TooManyRequestsError
|
|
1635
|
+
>;
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* @see {@link StopDurableExecutionCommand}
|
|
1639
|
+
*/
|
|
1640
|
+
stopDurableExecution(
|
|
1641
|
+
args: StopDurableExecutionCommandInput,
|
|
1642
|
+
options?: HttpHandlerOptions,
|
|
1643
|
+
): Effect.Effect<
|
|
1644
|
+
StopDurableExecutionCommandOutput,
|
|
1645
|
+
| Cause.TimeoutException
|
|
1646
|
+
| SdkError
|
|
1647
|
+
| InvalidParameterValueError
|
|
1648
|
+
| ResourceNotFoundError
|
|
1649
|
+
| ServiceError
|
|
1650
|
+
| TooManyRequestsError
|
|
1651
|
+
>;
|
|
1652
|
+
|
|
1328
1653
|
/**
|
|
1329
1654
|
* @see {@link TagResourceCommand}
|
|
1330
1655
|
*/
|
|
@@ -1377,6 +1702,23 @@ interface LambdaService$ {
|
|
|
1377
1702
|
| TooManyRequestsError
|
|
1378
1703
|
>;
|
|
1379
1704
|
|
|
1705
|
+
/**
|
|
1706
|
+
* @see {@link UpdateCapacityProviderCommand}
|
|
1707
|
+
*/
|
|
1708
|
+
updateCapacityProvider(
|
|
1709
|
+
args: UpdateCapacityProviderCommandInput,
|
|
1710
|
+
options?: HttpHandlerOptions,
|
|
1711
|
+
): Effect.Effect<
|
|
1712
|
+
UpdateCapacityProviderCommandOutput,
|
|
1713
|
+
| Cause.TimeoutException
|
|
1714
|
+
| SdkError
|
|
1715
|
+
| InvalidParameterValueError
|
|
1716
|
+
| ResourceConflictError
|
|
1717
|
+
| ResourceNotFoundError
|
|
1718
|
+
| ServiceError
|
|
1719
|
+
| TooManyRequestsError
|
|
1720
|
+
>;
|
|
1721
|
+
|
|
1380
1722
|
/**
|
|
1381
1723
|
* @see {@link UpdateCodeSigningConfigCommand}
|
|
1382
1724
|
*/
|