@effect-aws/client-lambda 1.10.6 → 1.10.9
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 +7 -2
- package/dist/cjs/Errors.d.ts.map +1 -1
- package/dist/cjs/Errors.js +5 -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 +7 -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 +5 -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 +2 -2
- package/src/Errors.ts +17 -0
- package/src/LambdaService.ts +339 -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,
|
|
@@ -262,12 +318,15 @@ import * as LambdaServiceConfig from "./LambdaServiceConfig.js";
|
|
|
262
318
|
const commands = {
|
|
263
319
|
AddLayerVersionPermissionCommand,
|
|
264
320
|
AddPermissionCommand,
|
|
321
|
+
CheckpointDurableExecutionCommand,
|
|
265
322
|
CreateAliasCommand,
|
|
323
|
+
CreateCapacityProviderCommand,
|
|
266
324
|
CreateCodeSigningConfigCommand,
|
|
267
325
|
CreateEventSourceMappingCommand,
|
|
268
326
|
CreateFunctionCommand,
|
|
269
327
|
CreateFunctionUrlConfigCommand,
|
|
270
328
|
DeleteAliasCommand,
|
|
329
|
+
DeleteCapacityProviderCommand,
|
|
271
330
|
DeleteCodeSigningConfigCommand,
|
|
272
331
|
DeleteEventSourceMappingCommand,
|
|
273
332
|
DeleteFunctionCommand,
|
|
@@ -279,7 +338,11 @@ const commands = {
|
|
|
279
338
|
DeleteProvisionedConcurrencyConfigCommand,
|
|
280
339
|
GetAccountSettingsCommand,
|
|
281
340
|
GetAliasCommand,
|
|
341
|
+
GetCapacityProviderCommand,
|
|
282
342
|
GetCodeSigningConfigCommand,
|
|
343
|
+
GetDurableExecutionCommand,
|
|
344
|
+
GetDurableExecutionHistoryCommand,
|
|
345
|
+
GetDurableExecutionStateCommand,
|
|
283
346
|
GetEventSourceMappingCommand,
|
|
284
347
|
GetFunctionCommand,
|
|
285
348
|
GetFunctionCodeSigningConfigCommand,
|
|
@@ -287,6 +350,7 @@ const commands = {
|
|
|
287
350
|
GetFunctionConfigurationCommand,
|
|
288
351
|
GetFunctionEventInvokeConfigCommand,
|
|
289
352
|
GetFunctionRecursionConfigCommand,
|
|
353
|
+
GetFunctionScalingConfigCommand,
|
|
290
354
|
GetFunctionUrlConfigCommand,
|
|
291
355
|
GetLayerVersionCommand,
|
|
292
356
|
GetLayerVersionByArnCommand,
|
|
@@ -298,10 +362,13 @@ const commands = {
|
|
|
298
362
|
InvokeAsyncCommand,
|
|
299
363
|
InvokeWithResponseStreamCommand,
|
|
300
364
|
ListAliasesCommand,
|
|
365
|
+
ListCapacityProvidersCommand,
|
|
301
366
|
ListCodeSigningConfigsCommand,
|
|
367
|
+
ListDurableExecutionsByFunctionCommand,
|
|
302
368
|
ListEventSourceMappingsCommand,
|
|
303
369
|
ListFunctionEventInvokeConfigsCommand,
|
|
304
370
|
ListFunctionUrlConfigsCommand,
|
|
371
|
+
ListFunctionVersionsByCapacityProviderCommand,
|
|
305
372
|
ListFunctionsCommand,
|
|
306
373
|
ListFunctionsByCodeSigningConfigCommand,
|
|
307
374
|
ListLayerVersionsCommand,
|
|
@@ -315,13 +382,19 @@ const commands = {
|
|
|
315
382
|
PutFunctionConcurrencyCommand,
|
|
316
383
|
PutFunctionEventInvokeConfigCommand,
|
|
317
384
|
PutFunctionRecursionConfigCommand,
|
|
385
|
+
PutFunctionScalingConfigCommand,
|
|
318
386
|
PutProvisionedConcurrencyConfigCommand,
|
|
319
387
|
PutRuntimeManagementConfigCommand,
|
|
320
388
|
RemoveLayerVersionPermissionCommand,
|
|
321
389
|
RemovePermissionCommand,
|
|
390
|
+
SendDurableExecutionCallbackFailureCommand,
|
|
391
|
+
SendDurableExecutionCallbackHeartbeatCommand,
|
|
392
|
+
SendDurableExecutionCallbackSuccessCommand,
|
|
393
|
+
StopDurableExecutionCommand,
|
|
322
394
|
TagResourceCommand,
|
|
323
395
|
UntagResourceCommand,
|
|
324
396
|
UpdateAliasCommand,
|
|
397
|
+
UpdateCapacityProviderCommand,
|
|
325
398
|
UpdateCodeSigningConfigCommand,
|
|
326
399
|
UpdateEventSourceMappingCommand,
|
|
327
400
|
UpdateFunctionCodeCommand,
|
|
@@ -371,6 +444,17 @@ interface LambdaService$ {
|
|
|
371
444
|
| TooManyRequestsError
|
|
372
445
|
>;
|
|
373
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
|
+
|
|
374
458
|
/**
|
|
375
459
|
* @see {@link CreateAliasCommand}
|
|
376
460
|
*/
|
|
@@ -388,6 +472,23 @@ interface LambdaService$ {
|
|
|
388
472
|
| TooManyRequestsError
|
|
389
473
|
>;
|
|
390
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
|
+
|
|
391
492
|
/**
|
|
392
493
|
* @see {@link CreateCodeSigningConfigCommand}
|
|
393
494
|
*/
|
|
@@ -429,6 +530,7 @@ interface LambdaService$ {
|
|
|
429
530
|
| CodeSigningConfigNotFoundError
|
|
430
531
|
| CodeStorageExceededError
|
|
431
532
|
| CodeVerificationFailedError
|
|
533
|
+
| FunctionVersionsPerCapacityProviderLimitExceededError
|
|
432
534
|
| InvalidCodeSignatureError
|
|
433
535
|
| InvalidParameterValueError
|
|
434
536
|
| ResourceConflictError
|
|
@@ -470,6 +572,23 @@ interface LambdaService$ {
|
|
|
470
572
|
| TooManyRequestsError
|
|
471
573
|
>;
|
|
472
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
|
+
|
|
473
592
|
/**
|
|
474
593
|
* @see {@link DeleteCodeSigningConfigCommand}
|
|
475
594
|
*/
|
|
@@ -644,6 +763,22 @@ interface LambdaService$ {
|
|
|
644
763
|
| TooManyRequestsError
|
|
645
764
|
>;
|
|
646
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
|
+
|
|
647
782
|
/**
|
|
648
783
|
* @see {@link GetCodeSigningConfigCommand}
|
|
649
784
|
*/
|
|
@@ -655,6 +790,49 @@ interface LambdaService$ {
|
|
|
655
790
|
Cause.TimeoutException | SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError
|
|
656
791
|
>;
|
|
657
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
|
+
|
|
658
836
|
/**
|
|
659
837
|
* @see {@link GetEventSourceMappingCommand}
|
|
660
838
|
*/
|
|
@@ -767,6 +945,22 @@ interface LambdaService$ {
|
|
|
767
945
|
| TooManyRequestsError
|
|
768
946
|
>;
|
|
769
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
|
+
|
|
770
964
|
/**
|
|
771
965
|
* @see {@link GetFunctionUrlConfigCommand}
|
|
772
966
|
*/
|
|
@@ -890,6 +1084,7 @@ interface LambdaService$ {
|
|
|
890
1084
|
InvokeCommandOutput,
|
|
891
1085
|
| Cause.TimeoutException
|
|
892
1086
|
| SdkError
|
|
1087
|
+
| DurableExecutionAlreadyStartedError
|
|
893
1088
|
| EC2AccessDeniedError
|
|
894
1089
|
| EC2ThrottledError
|
|
895
1090
|
| EC2UnexpectedError
|
|
@@ -908,6 +1103,7 @@ interface LambdaService$ {
|
|
|
908
1103
|
| KMSDisabledError
|
|
909
1104
|
| KMSInvalidStateError
|
|
910
1105
|
| KMSNotFoundError
|
|
1106
|
+
| NoPublishedVersionError
|
|
911
1107
|
| RecursiveInvocationError
|
|
912
1108
|
| RequestTooLargeError
|
|
913
1109
|
| ResourceConflictError
|
|
@@ -968,6 +1164,7 @@ interface LambdaService$ {
|
|
|
968
1164
|
| KMSDisabledError
|
|
969
1165
|
| KMSInvalidStateError
|
|
970
1166
|
| KMSNotFoundError
|
|
1167
|
+
| NoPublishedVersionError
|
|
971
1168
|
| RecursiveInvocationError
|
|
972
1169
|
| RequestTooLargeError
|
|
973
1170
|
| ResourceConflictError
|
|
@@ -999,6 +1196,17 @@ interface LambdaService$ {
|
|
|
999
1196
|
| TooManyRequestsError
|
|
1000
1197
|
>;
|
|
1001
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
|
+
|
|
1002
1210
|
/**
|
|
1003
1211
|
* @see {@link ListCodeSigningConfigsCommand}
|
|
1004
1212
|
*/
|
|
@@ -1010,6 +1218,22 @@ interface LambdaService$ {
|
|
|
1010
1218
|
Cause.TimeoutException | SdkError | InvalidParameterValueError | ServiceError
|
|
1011
1219
|
>;
|
|
1012
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
|
+
|
|
1013
1237
|
/**
|
|
1014
1238
|
* @see {@link ListEventSourceMappingsCommand}
|
|
1015
1239
|
*/
|
|
@@ -1058,6 +1282,22 @@ interface LambdaService$ {
|
|
|
1058
1282
|
| TooManyRequestsError
|
|
1059
1283
|
>;
|
|
1060
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
|
+
|
|
1061
1301
|
/**
|
|
1062
1302
|
* @see {@link ListFunctionsCommand}
|
|
1063
1303
|
*/
|
|
@@ -1183,6 +1423,7 @@ interface LambdaService$ {
|
|
|
1183
1423
|
| Cause.TimeoutException
|
|
1184
1424
|
| SdkError
|
|
1185
1425
|
| CodeStorageExceededError
|
|
1426
|
+
| FunctionVersionsPerCapacityProviderLimitExceededError
|
|
1186
1427
|
| InvalidParameterValueError
|
|
1187
1428
|
| PreconditionFailedError
|
|
1188
1429
|
| ResourceConflictError
|
|
@@ -1260,6 +1501,23 @@ interface LambdaService$ {
|
|
|
1260
1501
|
| TooManyRequestsError
|
|
1261
1502
|
>;
|
|
1262
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
|
+
|
|
1263
1521
|
/**
|
|
1264
1522
|
* @see {@link PutProvisionedConcurrencyConfigCommand}
|
|
1265
1523
|
*/
|
|
@@ -1328,6 +1586,70 @@ interface LambdaService$ {
|
|
|
1328
1586
|
| TooManyRequestsError
|
|
1329
1587
|
>;
|
|
1330
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
|
+
|
|
1331
1653
|
/**
|
|
1332
1654
|
* @see {@link TagResourceCommand}
|
|
1333
1655
|
*/
|
|
@@ -1380,6 +1702,23 @@ interface LambdaService$ {
|
|
|
1380
1702
|
| TooManyRequestsError
|
|
1381
1703
|
>;
|
|
1382
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
|
+
|
|
1383
1722
|
/**
|
|
1384
1723
|
* @see {@link UpdateCodeSigningConfigCommand}
|
|
1385
1724
|
*/
|