@effect-aws/client-lambda 1.6.0 → 1.9.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.
Files changed (69) hide show
  1. package/Errors/package.json +6 -0
  2. package/LICENSE +1 -1
  3. package/LambdaClientInstance/package.json +6 -0
  4. package/LambdaService/package.json +6 -0
  5. package/LambdaServiceConfig/package.json +6 -0
  6. package/{lib → dist/cjs}/Errors.d.ts +6 -11
  7. package/dist/cjs/Errors.d.ts.map +1 -0
  8. package/dist/cjs/Errors.js +46 -0
  9. package/dist/cjs/Errors.js.map +1 -0
  10. package/dist/cjs/LambdaClientInstance.d.ts +24 -0
  11. package/dist/cjs/LambdaClientInstance.d.ts.map +1 -0
  12. package/dist/cjs/LambdaClientInstance.js +50 -0
  13. package/dist/cjs/LambdaClientInstance.js.map +1 -0
  14. package/{lib → dist/cjs}/LambdaService.d.ts +16 -38
  15. package/dist/cjs/LambdaService.d.ts.map +1 -0
  16. package/dist/cjs/LambdaService.js +124 -0
  17. package/dist/cjs/LambdaService.js.map +1 -0
  18. package/dist/cjs/LambdaServiceConfig.d.ts +25 -0
  19. package/dist/cjs/LambdaServiceConfig.d.ts.map +1 -0
  20. package/dist/cjs/LambdaServiceConfig.js +35 -0
  21. package/dist/cjs/LambdaServiceConfig.js.map +1 -0
  22. package/dist/cjs/index.d.ts +39 -0
  23. package/dist/cjs/index.d.ts.map +1 -0
  24. package/dist/cjs/index.js +56 -0
  25. package/dist/cjs/index.js.map +1 -0
  26. package/dist/dts/Errors.d.ts +45 -0
  27. package/dist/dts/Errors.d.ts.map +1 -0
  28. package/dist/dts/LambdaClientInstance.d.ts +24 -0
  29. package/dist/dts/LambdaClientInstance.d.ts.map +1 -0
  30. package/dist/dts/LambdaService.d.ts +383 -0
  31. package/dist/dts/LambdaService.d.ts.map +1 -0
  32. package/dist/dts/LambdaServiceConfig.d.ts +25 -0
  33. package/dist/dts/LambdaServiceConfig.d.ts.map +1 -0
  34. package/dist/dts/index.d.ts +39 -0
  35. package/dist/dts/index.d.ts.map +1 -0
  36. package/dist/esm/Errors.js +43 -0
  37. package/dist/esm/Errors.js.map +1 -0
  38. package/dist/esm/LambdaClientInstance.js +23 -0
  39. package/dist/esm/LambdaClientInstance.js.map +1 -0
  40. package/dist/esm/LambdaService.js +97 -0
  41. package/dist/esm/LambdaService.js.map +1 -0
  42. package/dist/esm/LambdaServiceConfig.js +31 -0
  43. package/dist/esm/LambdaServiceConfig.js.map +1 -0
  44. package/dist/esm/index.js +27 -0
  45. package/dist/esm/index.js.map +1 -0
  46. package/dist/esm/package.json +4 -0
  47. package/package.json +60 -43
  48. package/src/Errors.ts +125 -0
  49. package/src/LambdaClientInstance.ts +33 -0
  50. package/src/LambdaService.ts +1373 -0
  51. package/src/LambdaServiceConfig.ts +52 -0
  52. package/src/index.ts +44 -0
  53. package/CHANGELOG.md +0 -103
  54. package/docgen.json +0 -8
  55. package/lib/Errors.js +0 -46
  56. package/lib/LambdaClientInstance.d.ts +0 -31
  57. package/lib/LambdaClientInstance.js +0 -57
  58. package/lib/LambdaClientInstanceConfig.d.ts +0 -23
  59. package/lib/LambdaClientInstanceConfig.js +0 -44
  60. package/lib/LambdaService.js +0 -156
  61. package/lib/esm/Errors.js +0 -43
  62. package/lib/esm/LambdaClientInstance.js +0 -30
  63. package/lib/esm/LambdaClientInstanceConfig.js +0 -40
  64. package/lib/esm/LambdaService.js +0 -152
  65. package/lib/esm/index.js +0 -5
  66. package/lib/index.d.ts +0 -4
  67. package/lib/index.js +0 -21
  68. package/project.json +0 -77
  69. package/vitest.config.ts +0 -3
@@ -0,0 +1,1373 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import {
5
+ AddLayerVersionPermissionCommand,
6
+ type AddLayerVersionPermissionCommandInput,
7
+ type AddLayerVersionPermissionCommandOutput,
8
+ AddPermissionCommand,
9
+ type AddPermissionCommandInput,
10
+ type AddPermissionCommandOutput,
11
+ CreateAliasCommand,
12
+ type CreateAliasCommandInput,
13
+ type CreateAliasCommandOutput,
14
+ CreateCodeSigningConfigCommand,
15
+ type CreateCodeSigningConfigCommandInput,
16
+ type CreateCodeSigningConfigCommandOutput,
17
+ CreateEventSourceMappingCommand,
18
+ type CreateEventSourceMappingCommandInput,
19
+ type CreateEventSourceMappingCommandOutput,
20
+ CreateFunctionCommand,
21
+ type CreateFunctionCommandInput,
22
+ type CreateFunctionCommandOutput,
23
+ CreateFunctionUrlConfigCommand,
24
+ type CreateFunctionUrlConfigCommandInput,
25
+ type CreateFunctionUrlConfigCommandOutput,
26
+ DeleteAliasCommand,
27
+ type DeleteAliasCommandInput,
28
+ type DeleteAliasCommandOutput,
29
+ DeleteCodeSigningConfigCommand,
30
+ type DeleteCodeSigningConfigCommandInput,
31
+ type DeleteCodeSigningConfigCommandOutput,
32
+ DeleteEventSourceMappingCommand,
33
+ type DeleteEventSourceMappingCommandInput,
34
+ type DeleteEventSourceMappingCommandOutput,
35
+ DeleteFunctionCodeSigningConfigCommand,
36
+ type DeleteFunctionCodeSigningConfigCommandInput,
37
+ type DeleteFunctionCodeSigningConfigCommandOutput,
38
+ DeleteFunctionCommand,
39
+ type DeleteFunctionCommandInput,
40
+ type DeleteFunctionCommandOutput,
41
+ DeleteFunctionConcurrencyCommand,
42
+ type DeleteFunctionConcurrencyCommandInput,
43
+ type DeleteFunctionConcurrencyCommandOutput,
44
+ DeleteFunctionEventInvokeConfigCommand,
45
+ type DeleteFunctionEventInvokeConfigCommandInput,
46
+ type DeleteFunctionEventInvokeConfigCommandOutput,
47
+ DeleteFunctionUrlConfigCommand,
48
+ type DeleteFunctionUrlConfigCommandInput,
49
+ type DeleteFunctionUrlConfigCommandOutput,
50
+ DeleteLayerVersionCommand,
51
+ type DeleteLayerVersionCommandInput,
52
+ type DeleteLayerVersionCommandOutput,
53
+ DeleteProvisionedConcurrencyConfigCommand,
54
+ type DeleteProvisionedConcurrencyConfigCommandInput,
55
+ type DeleteProvisionedConcurrencyConfigCommandOutput,
56
+ GetAccountSettingsCommand,
57
+ type GetAccountSettingsCommandInput,
58
+ type GetAccountSettingsCommandOutput,
59
+ GetAliasCommand,
60
+ type GetAliasCommandInput,
61
+ type GetAliasCommandOutput,
62
+ GetCodeSigningConfigCommand,
63
+ type GetCodeSigningConfigCommandInput,
64
+ type GetCodeSigningConfigCommandOutput,
65
+ GetEventSourceMappingCommand,
66
+ type GetEventSourceMappingCommandInput,
67
+ type GetEventSourceMappingCommandOutput,
68
+ GetFunctionCodeSigningConfigCommand,
69
+ type GetFunctionCodeSigningConfigCommandInput,
70
+ type GetFunctionCodeSigningConfigCommandOutput,
71
+ GetFunctionCommand,
72
+ type GetFunctionCommandInput,
73
+ type GetFunctionCommandOutput,
74
+ GetFunctionConcurrencyCommand,
75
+ type GetFunctionConcurrencyCommandInput,
76
+ type GetFunctionConcurrencyCommandOutput,
77
+ GetFunctionConfigurationCommand,
78
+ type GetFunctionConfigurationCommandInput,
79
+ type GetFunctionConfigurationCommandOutput,
80
+ GetFunctionEventInvokeConfigCommand,
81
+ type GetFunctionEventInvokeConfigCommandInput,
82
+ type GetFunctionEventInvokeConfigCommandOutput,
83
+ GetFunctionRecursionConfigCommand,
84
+ type GetFunctionRecursionConfigCommandInput,
85
+ type GetFunctionRecursionConfigCommandOutput,
86
+ GetFunctionUrlConfigCommand,
87
+ type GetFunctionUrlConfigCommandInput,
88
+ type GetFunctionUrlConfigCommandOutput,
89
+ GetLayerVersionByArnCommand,
90
+ type GetLayerVersionByArnCommandInput,
91
+ type GetLayerVersionByArnCommandOutput,
92
+ GetLayerVersionCommand,
93
+ type GetLayerVersionCommandInput,
94
+ type GetLayerVersionCommandOutput,
95
+ GetLayerVersionPolicyCommand,
96
+ type GetLayerVersionPolicyCommandInput,
97
+ type GetLayerVersionPolicyCommandOutput,
98
+ GetPolicyCommand,
99
+ type GetPolicyCommandInput,
100
+ type GetPolicyCommandOutput,
101
+ GetProvisionedConcurrencyConfigCommand,
102
+ type GetProvisionedConcurrencyConfigCommandInput,
103
+ type GetProvisionedConcurrencyConfigCommandOutput,
104
+ GetRuntimeManagementConfigCommand,
105
+ type GetRuntimeManagementConfigCommandInput,
106
+ type GetRuntimeManagementConfigCommandOutput,
107
+ InvokeAsyncCommand,
108
+ type InvokeAsyncCommandInput,
109
+ type InvokeAsyncCommandOutput,
110
+ InvokeCommand,
111
+ type InvokeCommandInput,
112
+ type InvokeCommandOutput,
113
+ InvokeWithResponseStreamCommand,
114
+ type InvokeWithResponseStreamCommandInput,
115
+ type InvokeWithResponseStreamCommandOutput,
116
+ type LambdaClient,
117
+ type LambdaClientConfig,
118
+ ListAliasesCommand,
119
+ type ListAliasesCommandInput,
120
+ type ListAliasesCommandOutput,
121
+ ListCodeSigningConfigsCommand,
122
+ type ListCodeSigningConfigsCommandInput,
123
+ type ListCodeSigningConfigsCommandOutput,
124
+ ListEventSourceMappingsCommand,
125
+ type ListEventSourceMappingsCommandInput,
126
+ type ListEventSourceMappingsCommandOutput,
127
+ ListFunctionEventInvokeConfigsCommand,
128
+ type ListFunctionEventInvokeConfigsCommandInput,
129
+ type ListFunctionEventInvokeConfigsCommandOutput,
130
+ ListFunctionsByCodeSigningConfigCommand,
131
+ type ListFunctionsByCodeSigningConfigCommandInput,
132
+ type ListFunctionsByCodeSigningConfigCommandOutput,
133
+ ListFunctionsCommand,
134
+ type ListFunctionsCommandInput,
135
+ type ListFunctionsCommandOutput,
136
+ ListFunctionUrlConfigsCommand,
137
+ type ListFunctionUrlConfigsCommandInput,
138
+ type ListFunctionUrlConfigsCommandOutput,
139
+ ListLayersCommand,
140
+ type ListLayersCommandInput,
141
+ type ListLayersCommandOutput,
142
+ ListLayerVersionsCommand,
143
+ type ListLayerVersionsCommandInput,
144
+ type ListLayerVersionsCommandOutput,
145
+ ListProvisionedConcurrencyConfigsCommand,
146
+ type ListProvisionedConcurrencyConfigsCommandInput,
147
+ type ListProvisionedConcurrencyConfigsCommandOutput,
148
+ ListTagsCommand,
149
+ type ListTagsCommandInput,
150
+ type ListTagsCommandOutput,
151
+ ListVersionsByFunctionCommand,
152
+ type ListVersionsByFunctionCommandInput,
153
+ type ListVersionsByFunctionCommandOutput,
154
+ PublishLayerVersionCommand,
155
+ type PublishLayerVersionCommandInput,
156
+ type PublishLayerVersionCommandOutput,
157
+ PublishVersionCommand,
158
+ type PublishVersionCommandInput,
159
+ type PublishVersionCommandOutput,
160
+ PutFunctionCodeSigningConfigCommand,
161
+ type PutFunctionCodeSigningConfigCommandInput,
162
+ type PutFunctionCodeSigningConfigCommandOutput,
163
+ PutFunctionConcurrencyCommand,
164
+ type PutFunctionConcurrencyCommandInput,
165
+ type PutFunctionConcurrencyCommandOutput,
166
+ PutFunctionEventInvokeConfigCommand,
167
+ type PutFunctionEventInvokeConfigCommandInput,
168
+ type PutFunctionEventInvokeConfigCommandOutput,
169
+ PutFunctionRecursionConfigCommand,
170
+ type PutFunctionRecursionConfigCommandInput,
171
+ type PutFunctionRecursionConfigCommandOutput,
172
+ PutProvisionedConcurrencyConfigCommand,
173
+ type PutProvisionedConcurrencyConfigCommandInput,
174
+ type PutProvisionedConcurrencyConfigCommandOutput,
175
+ PutRuntimeManagementConfigCommand,
176
+ type PutRuntimeManagementConfigCommandInput,
177
+ type PutRuntimeManagementConfigCommandOutput,
178
+ RemoveLayerVersionPermissionCommand,
179
+ type RemoveLayerVersionPermissionCommandInput,
180
+ type RemoveLayerVersionPermissionCommandOutput,
181
+ RemovePermissionCommand,
182
+ type RemovePermissionCommandInput,
183
+ type RemovePermissionCommandOutput,
184
+ TagResourceCommand,
185
+ type TagResourceCommandInput,
186
+ type TagResourceCommandOutput,
187
+ UntagResourceCommand,
188
+ type UntagResourceCommandInput,
189
+ type UntagResourceCommandOutput,
190
+ UpdateAliasCommand,
191
+ type UpdateAliasCommandInput,
192
+ type UpdateAliasCommandOutput,
193
+ UpdateCodeSigningConfigCommand,
194
+ type UpdateCodeSigningConfigCommandInput,
195
+ type UpdateCodeSigningConfigCommandOutput,
196
+ UpdateEventSourceMappingCommand,
197
+ type UpdateEventSourceMappingCommandInput,
198
+ type UpdateEventSourceMappingCommandOutput,
199
+ UpdateFunctionCodeCommand,
200
+ type UpdateFunctionCodeCommandInput,
201
+ type UpdateFunctionCodeCommandOutput,
202
+ UpdateFunctionConfigurationCommand,
203
+ type UpdateFunctionConfigurationCommandInput,
204
+ type UpdateFunctionConfigurationCommandOutput,
205
+ UpdateFunctionEventInvokeConfigCommand,
206
+ type UpdateFunctionEventInvokeConfigCommandInput,
207
+ type UpdateFunctionEventInvokeConfigCommandOutput,
208
+ UpdateFunctionUrlConfigCommand,
209
+ type UpdateFunctionUrlConfigCommandInput,
210
+ type UpdateFunctionUrlConfigCommandOutput,
211
+ } from "@aws-sdk/client-lambda";
212
+ import type { HttpHandlerOptions, SdkError, ServiceLogger } from "@effect-aws/commons";
213
+ import { Service } from "@effect-aws/commons";
214
+ import { Effect, Layer } from "effect";
215
+ import type {
216
+ CodeSigningConfigNotFoundError,
217
+ CodeStorageExceededError,
218
+ CodeVerificationFailedError,
219
+ EC2AccessDeniedError,
220
+ EC2ThrottledError,
221
+ EC2UnexpectedError,
222
+ EFSIOError,
223
+ EFSMountConnectivityError,
224
+ EFSMountFailureError,
225
+ EFSMountTimeoutError,
226
+ ENILimitReachedError,
227
+ InvalidCodeSignatureError,
228
+ InvalidParameterValueError,
229
+ InvalidRequestContentError,
230
+ InvalidRuntimeError,
231
+ InvalidSecurityGroupIDError,
232
+ InvalidSubnetIDError,
233
+ InvalidZipFileError,
234
+ KMSAccessDeniedError,
235
+ KMSDisabledError,
236
+ KMSInvalidStateError,
237
+ KMSNotFoundError,
238
+ PolicyLengthExceededError,
239
+ PreconditionFailedError,
240
+ ProvisionedConcurrencyConfigNotFoundError,
241
+ RecursiveInvocationError,
242
+ RequestTooLargeError,
243
+ ResourceConflictError,
244
+ ResourceInUseError,
245
+ ResourceNotFoundError,
246
+ ResourceNotReadyError,
247
+ ServiceError,
248
+ SnapStartError,
249
+ SnapStartNotReadyError,
250
+ SnapStartTimeoutError,
251
+ SubnetIPAddressLimitReachedError,
252
+ TooManyRequestsError,
253
+ UnsupportedMediaTypeError,
254
+ } from "./Errors.js";
255
+ import { AllServiceErrors } from "./Errors.js";
256
+ import * as Instance from "./LambdaClientInstance.js";
257
+ import * as LambdaServiceConfig from "./LambdaServiceConfig.js";
258
+
259
+ const commands = {
260
+ AddLayerVersionPermissionCommand,
261
+ AddPermissionCommand,
262
+ CreateAliasCommand,
263
+ CreateCodeSigningConfigCommand,
264
+ CreateEventSourceMappingCommand,
265
+ CreateFunctionCommand,
266
+ CreateFunctionUrlConfigCommand,
267
+ DeleteAliasCommand,
268
+ DeleteCodeSigningConfigCommand,
269
+ DeleteEventSourceMappingCommand,
270
+ DeleteFunctionCommand,
271
+ DeleteFunctionCodeSigningConfigCommand,
272
+ DeleteFunctionConcurrencyCommand,
273
+ DeleteFunctionEventInvokeConfigCommand,
274
+ DeleteFunctionUrlConfigCommand,
275
+ DeleteLayerVersionCommand,
276
+ DeleteProvisionedConcurrencyConfigCommand,
277
+ GetAccountSettingsCommand,
278
+ GetAliasCommand,
279
+ GetCodeSigningConfigCommand,
280
+ GetEventSourceMappingCommand,
281
+ GetFunctionCommand,
282
+ GetFunctionCodeSigningConfigCommand,
283
+ GetFunctionConcurrencyCommand,
284
+ GetFunctionConfigurationCommand,
285
+ GetFunctionEventInvokeConfigCommand,
286
+ GetFunctionRecursionConfigCommand,
287
+ GetFunctionUrlConfigCommand,
288
+ GetLayerVersionCommand,
289
+ GetLayerVersionByArnCommand,
290
+ GetLayerVersionPolicyCommand,
291
+ GetPolicyCommand,
292
+ GetProvisionedConcurrencyConfigCommand,
293
+ GetRuntimeManagementConfigCommand,
294
+ InvokeCommand,
295
+ InvokeAsyncCommand,
296
+ InvokeWithResponseStreamCommand,
297
+ ListAliasesCommand,
298
+ ListCodeSigningConfigsCommand,
299
+ ListEventSourceMappingsCommand,
300
+ ListFunctionEventInvokeConfigsCommand,
301
+ ListFunctionUrlConfigsCommand,
302
+ ListFunctionsCommand,
303
+ ListFunctionsByCodeSigningConfigCommand,
304
+ ListLayerVersionsCommand,
305
+ ListLayersCommand,
306
+ ListProvisionedConcurrencyConfigsCommand,
307
+ ListTagsCommand,
308
+ ListVersionsByFunctionCommand,
309
+ PublishLayerVersionCommand,
310
+ PublishVersionCommand,
311
+ PutFunctionCodeSigningConfigCommand,
312
+ PutFunctionConcurrencyCommand,
313
+ PutFunctionEventInvokeConfigCommand,
314
+ PutFunctionRecursionConfigCommand,
315
+ PutProvisionedConcurrencyConfigCommand,
316
+ PutRuntimeManagementConfigCommand,
317
+ RemoveLayerVersionPermissionCommand,
318
+ RemovePermissionCommand,
319
+ TagResourceCommand,
320
+ UntagResourceCommand,
321
+ UpdateAliasCommand,
322
+ UpdateCodeSigningConfigCommand,
323
+ UpdateEventSourceMappingCommand,
324
+ UpdateFunctionCodeCommand,
325
+ UpdateFunctionConfigurationCommand,
326
+ UpdateFunctionEventInvokeConfigCommand,
327
+ UpdateFunctionUrlConfigCommand,
328
+ };
329
+
330
+ interface LambdaService$ {
331
+ readonly _: unique symbol;
332
+
333
+ /**
334
+ * @see {@link AddLayerVersionPermissionCommand}
335
+ */
336
+ addLayerVersionPermission(
337
+ args: AddLayerVersionPermissionCommandInput,
338
+ options?: HttpHandlerOptions,
339
+ ): Effect.Effect<
340
+ AddLayerVersionPermissionCommandOutput,
341
+ | SdkError
342
+ | InvalidParameterValueError
343
+ | PolicyLengthExceededError
344
+ | PreconditionFailedError
345
+ | ResourceConflictError
346
+ | ResourceNotFoundError
347
+ | ServiceError
348
+ | TooManyRequestsError
349
+ >;
350
+
351
+ /**
352
+ * @see {@link AddPermissionCommand}
353
+ */
354
+ addPermission(
355
+ args: AddPermissionCommandInput,
356
+ options?: HttpHandlerOptions,
357
+ ): Effect.Effect<
358
+ AddPermissionCommandOutput,
359
+ | SdkError
360
+ | InvalidParameterValueError
361
+ | PolicyLengthExceededError
362
+ | PreconditionFailedError
363
+ | ResourceConflictError
364
+ | ResourceNotFoundError
365
+ | ServiceError
366
+ | TooManyRequestsError
367
+ >;
368
+
369
+ /**
370
+ * @see {@link CreateAliasCommand}
371
+ */
372
+ createAlias(
373
+ args: CreateAliasCommandInput,
374
+ options?: HttpHandlerOptions,
375
+ ): Effect.Effect<
376
+ CreateAliasCommandOutput,
377
+ | SdkError
378
+ | InvalidParameterValueError
379
+ | ResourceConflictError
380
+ | ResourceNotFoundError
381
+ | ServiceError
382
+ | TooManyRequestsError
383
+ >;
384
+
385
+ /**
386
+ * @see {@link CreateCodeSigningConfigCommand}
387
+ */
388
+ createCodeSigningConfig(
389
+ args: CreateCodeSigningConfigCommandInput,
390
+ options?: HttpHandlerOptions,
391
+ ): Effect.Effect<
392
+ CreateCodeSigningConfigCommandOutput,
393
+ SdkError | InvalidParameterValueError | ServiceError
394
+ >;
395
+
396
+ /**
397
+ * @see {@link CreateEventSourceMappingCommand}
398
+ */
399
+ createEventSourceMapping(
400
+ args: CreateEventSourceMappingCommandInput,
401
+ options?: HttpHandlerOptions,
402
+ ): Effect.Effect<
403
+ CreateEventSourceMappingCommandOutput,
404
+ | SdkError
405
+ | InvalidParameterValueError
406
+ | ResourceConflictError
407
+ | ResourceNotFoundError
408
+ | ServiceError
409
+ | TooManyRequestsError
410
+ >;
411
+
412
+ /**
413
+ * @see {@link CreateFunctionCommand}
414
+ */
415
+ createFunction(
416
+ args: CreateFunctionCommandInput,
417
+ options?: HttpHandlerOptions,
418
+ ): Effect.Effect<
419
+ CreateFunctionCommandOutput,
420
+ | SdkError
421
+ | CodeSigningConfigNotFoundError
422
+ | CodeStorageExceededError
423
+ | CodeVerificationFailedError
424
+ | InvalidCodeSignatureError
425
+ | InvalidParameterValueError
426
+ | ResourceConflictError
427
+ | ResourceNotFoundError
428
+ | ServiceError
429
+ | TooManyRequestsError
430
+ >;
431
+
432
+ /**
433
+ * @see {@link CreateFunctionUrlConfigCommand}
434
+ */
435
+ createFunctionUrlConfig(
436
+ args: CreateFunctionUrlConfigCommandInput,
437
+ options?: HttpHandlerOptions,
438
+ ): Effect.Effect<
439
+ CreateFunctionUrlConfigCommandOutput,
440
+ | SdkError
441
+ | InvalidParameterValueError
442
+ | ResourceConflictError
443
+ | ResourceNotFoundError
444
+ | ServiceError
445
+ | TooManyRequestsError
446
+ >;
447
+
448
+ /**
449
+ * @see {@link DeleteAliasCommand}
450
+ */
451
+ deleteAlias(
452
+ args: DeleteAliasCommandInput,
453
+ options?: HttpHandlerOptions,
454
+ ): Effect.Effect<
455
+ DeleteAliasCommandOutput,
456
+ SdkError | InvalidParameterValueError | ResourceConflictError | ServiceError | TooManyRequestsError
457
+ >;
458
+
459
+ /**
460
+ * @see {@link DeleteCodeSigningConfigCommand}
461
+ */
462
+ deleteCodeSigningConfig(
463
+ args: DeleteCodeSigningConfigCommandInput,
464
+ options?: HttpHandlerOptions,
465
+ ): Effect.Effect<
466
+ DeleteCodeSigningConfigCommandOutput,
467
+ SdkError | InvalidParameterValueError | ResourceConflictError | ResourceNotFoundError | ServiceError
468
+ >;
469
+
470
+ /**
471
+ * @see {@link DeleteEventSourceMappingCommand}
472
+ */
473
+ deleteEventSourceMapping(
474
+ args: DeleteEventSourceMappingCommandInput,
475
+ options?: HttpHandlerOptions,
476
+ ): Effect.Effect<
477
+ DeleteEventSourceMappingCommandOutput,
478
+ | SdkError
479
+ | InvalidParameterValueError
480
+ | ResourceConflictError
481
+ | ResourceInUseError
482
+ | ResourceNotFoundError
483
+ | ServiceError
484
+ | TooManyRequestsError
485
+ >;
486
+
487
+ /**
488
+ * @see {@link DeleteFunctionCommand}
489
+ */
490
+ deleteFunction(
491
+ args: DeleteFunctionCommandInput,
492
+ options?: HttpHandlerOptions,
493
+ ): Effect.Effect<
494
+ DeleteFunctionCommandOutput,
495
+ | SdkError
496
+ | InvalidParameterValueError
497
+ | ResourceConflictError
498
+ | ResourceNotFoundError
499
+ | ServiceError
500
+ | TooManyRequestsError
501
+ >;
502
+
503
+ /**
504
+ * @see {@link DeleteFunctionCodeSigningConfigCommand}
505
+ */
506
+ deleteFunctionCodeSigningConfig(
507
+ args: DeleteFunctionCodeSigningConfigCommandInput,
508
+ options?: HttpHandlerOptions,
509
+ ): Effect.Effect<
510
+ DeleteFunctionCodeSigningConfigCommandOutput,
511
+ | SdkError
512
+ | CodeSigningConfigNotFoundError
513
+ | InvalidParameterValueError
514
+ | ResourceConflictError
515
+ | ResourceNotFoundError
516
+ | ServiceError
517
+ | TooManyRequestsError
518
+ >;
519
+
520
+ /**
521
+ * @see {@link DeleteFunctionConcurrencyCommand}
522
+ */
523
+ deleteFunctionConcurrency(
524
+ args: DeleteFunctionConcurrencyCommandInput,
525
+ options?: HttpHandlerOptions,
526
+ ): Effect.Effect<
527
+ DeleteFunctionConcurrencyCommandOutput,
528
+ | SdkError
529
+ | InvalidParameterValueError
530
+ | ResourceConflictError
531
+ | ResourceNotFoundError
532
+ | ServiceError
533
+ | TooManyRequestsError
534
+ >;
535
+
536
+ /**
537
+ * @see {@link DeleteFunctionEventInvokeConfigCommand}
538
+ */
539
+ deleteFunctionEventInvokeConfig(
540
+ args: DeleteFunctionEventInvokeConfigCommandInput,
541
+ options?: HttpHandlerOptions,
542
+ ): Effect.Effect<
543
+ DeleteFunctionEventInvokeConfigCommandOutput,
544
+ | SdkError
545
+ | InvalidParameterValueError
546
+ | ResourceConflictError
547
+ | ResourceNotFoundError
548
+ | ServiceError
549
+ | TooManyRequestsError
550
+ >;
551
+
552
+ /**
553
+ * @see {@link DeleteFunctionUrlConfigCommand}
554
+ */
555
+ deleteFunctionUrlConfig(
556
+ args: DeleteFunctionUrlConfigCommandInput,
557
+ options?: HttpHandlerOptions,
558
+ ): Effect.Effect<
559
+ DeleteFunctionUrlConfigCommandOutput,
560
+ SdkError | ResourceConflictError | ResourceNotFoundError | ServiceError | TooManyRequestsError
561
+ >;
562
+
563
+ /**
564
+ * @see {@link DeleteLayerVersionCommand}
565
+ */
566
+ deleteLayerVersion(
567
+ args: DeleteLayerVersionCommandInput,
568
+ options?: HttpHandlerOptions,
569
+ ): Effect.Effect<
570
+ DeleteLayerVersionCommandOutput,
571
+ SdkError | ServiceError | TooManyRequestsError
572
+ >;
573
+
574
+ /**
575
+ * @see {@link DeleteProvisionedConcurrencyConfigCommand}
576
+ */
577
+ deleteProvisionedConcurrencyConfig(
578
+ args: DeleteProvisionedConcurrencyConfigCommandInput,
579
+ options?: HttpHandlerOptions,
580
+ ): Effect.Effect<
581
+ DeleteProvisionedConcurrencyConfigCommandOutput,
582
+ | SdkError
583
+ | InvalidParameterValueError
584
+ | ResourceConflictError
585
+ | ResourceNotFoundError
586
+ | ServiceError
587
+ | TooManyRequestsError
588
+ >;
589
+
590
+ /**
591
+ * @see {@link GetAccountSettingsCommand}
592
+ */
593
+ getAccountSettings(
594
+ args: GetAccountSettingsCommandInput,
595
+ options?: HttpHandlerOptions,
596
+ ): Effect.Effect<
597
+ GetAccountSettingsCommandOutput,
598
+ SdkError | ServiceError | TooManyRequestsError
599
+ >;
600
+
601
+ /**
602
+ * @see {@link GetAliasCommand}
603
+ */
604
+ getAlias(
605
+ args: GetAliasCommandInput,
606
+ options?: HttpHandlerOptions,
607
+ ): Effect.Effect<
608
+ GetAliasCommandOutput,
609
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
610
+ >;
611
+
612
+ /**
613
+ * @see {@link GetCodeSigningConfigCommand}
614
+ */
615
+ getCodeSigningConfig(
616
+ args: GetCodeSigningConfigCommandInput,
617
+ options?: HttpHandlerOptions,
618
+ ): Effect.Effect<
619
+ GetCodeSigningConfigCommandOutput,
620
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError
621
+ >;
622
+
623
+ /**
624
+ * @see {@link GetEventSourceMappingCommand}
625
+ */
626
+ getEventSourceMapping(
627
+ args: GetEventSourceMappingCommandInput,
628
+ options?: HttpHandlerOptions,
629
+ ): Effect.Effect<
630
+ GetEventSourceMappingCommandOutput,
631
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
632
+ >;
633
+
634
+ /**
635
+ * @see {@link GetFunctionCommand}
636
+ */
637
+ getFunction(
638
+ args: GetFunctionCommandInput,
639
+ options?: HttpHandlerOptions,
640
+ ): Effect.Effect<
641
+ GetFunctionCommandOutput,
642
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
643
+ >;
644
+
645
+ /**
646
+ * @see {@link GetFunctionCodeSigningConfigCommand}
647
+ */
648
+ getFunctionCodeSigningConfig(
649
+ args: GetFunctionCodeSigningConfigCommandInput,
650
+ options?: HttpHandlerOptions,
651
+ ): Effect.Effect<
652
+ GetFunctionCodeSigningConfigCommandOutput,
653
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
654
+ >;
655
+
656
+ /**
657
+ * @see {@link GetFunctionConcurrencyCommand}
658
+ */
659
+ getFunctionConcurrency(
660
+ args: GetFunctionConcurrencyCommandInput,
661
+ options?: HttpHandlerOptions,
662
+ ): Effect.Effect<
663
+ GetFunctionConcurrencyCommandOutput,
664
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
665
+ >;
666
+
667
+ /**
668
+ * @see {@link GetFunctionConfigurationCommand}
669
+ */
670
+ getFunctionConfiguration(
671
+ args: GetFunctionConfigurationCommandInput,
672
+ options?: HttpHandlerOptions,
673
+ ): Effect.Effect<
674
+ GetFunctionConfigurationCommandOutput,
675
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
676
+ >;
677
+
678
+ /**
679
+ * @see {@link GetFunctionEventInvokeConfigCommand}
680
+ */
681
+ getFunctionEventInvokeConfig(
682
+ args: GetFunctionEventInvokeConfigCommandInput,
683
+ options?: HttpHandlerOptions,
684
+ ): Effect.Effect<
685
+ GetFunctionEventInvokeConfigCommandOutput,
686
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
687
+ >;
688
+
689
+ /**
690
+ * @see {@link GetFunctionRecursionConfigCommand}
691
+ */
692
+ getFunctionRecursionConfig(
693
+ args: GetFunctionRecursionConfigCommandInput,
694
+ options?: HttpHandlerOptions,
695
+ ): Effect.Effect<
696
+ GetFunctionRecursionConfigCommandOutput,
697
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
698
+ >;
699
+
700
+ /**
701
+ * @see {@link GetFunctionUrlConfigCommand}
702
+ */
703
+ getFunctionUrlConfig(
704
+ args: GetFunctionUrlConfigCommandInput,
705
+ options?: HttpHandlerOptions,
706
+ ): Effect.Effect<
707
+ GetFunctionUrlConfigCommandOutput,
708
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
709
+ >;
710
+
711
+ /**
712
+ * @see {@link GetLayerVersionCommand}
713
+ */
714
+ getLayerVersion(
715
+ args: GetLayerVersionCommandInput,
716
+ options?: HttpHandlerOptions,
717
+ ): Effect.Effect<
718
+ GetLayerVersionCommandOutput,
719
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
720
+ >;
721
+
722
+ /**
723
+ * @see {@link GetLayerVersionByArnCommand}
724
+ */
725
+ getLayerVersionByArn(
726
+ args: GetLayerVersionByArnCommandInput,
727
+ options?: HttpHandlerOptions,
728
+ ): Effect.Effect<
729
+ GetLayerVersionByArnCommandOutput,
730
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
731
+ >;
732
+
733
+ /**
734
+ * @see {@link GetLayerVersionPolicyCommand}
735
+ */
736
+ getLayerVersionPolicy(
737
+ args: GetLayerVersionPolicyCommandInput,
738
+ options?: HttpHandlerOptions,
739
+ ): Effect.Effect<
740
+ GetLayerVersionPolicyCommandOutput,
741
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
742
+ >;
743
+
744
+ /**
745
+ * @see {@link GetPolicyCommand}
746
+ */
747
+ getPolicy(
748
+ args: GetPolicyCommandInput,
749
+ options?: HttpHandlerOptions,
750
+ ): Effect.Effect<
751
+ GetPolicyCommandOutput,
752
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
753
+ >;
754
+
755
+ /**
756
+ * @see {@link GetProvisionedConcurrencyConfigCommand}
757
+ */
758
+ getProvisionedConcurrencyConfig(
759
+ args: GetProvisionedConcurrencyConfigCommandInput,
760
+ options?: HttpHandlerOptions,
761
+ ): Effect.Effect<
762
+ GetProvisionedConcurrencyConfigCommandOutput,
763
+ | SdkError
764
+ | InvalidParameterValueError
765
+ | ProvisionedConcurrencyConfigNotFoundError
766
+ | ResourceNotFoundError
767
+ | ServiceError
768
+ | TooManyRequestsError
769
+ >;
770
+
771
+ /**
772
+ * @see {@link GetRuntimeManagementConfigCommand}
773
+ */
774
+ getRuntimeManagementConfig(
775
+ args: GetRuntimeManagementConfigCommandInput,
776
+ options?: HttpHandlerOptions,
777
+ ): Effect.Effect<
778
+ GetRuntimeManagementConfigCommandOutput,
779
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
780
+ >;
781
+
782
+ /**
783
+ * @see {@link InvokeCommand}
784
+ */
785
+ invoke(
786
+ args: InvokeCommandInput,
787
+ options?: HttpHandlerOptions,
788
+ ): Effect.Effect<
789
+ InvokeCommandOutput,
790
+ | SdkError
791
+ | EC2AccessDeniedError
792
+ | EC2ThrottledError
793
+ | EC2UnexpectedError
794
+ | EFSIOError
795
+ | EFSMountConnectivityError
796
+ | EFSMountFailureError
797
+ | EFSMountTimeoutError
798
+ | ENILimitReachedError
799
+ | InvalidParameterValueError
800
+ | InvalidRequestContentError
801
+ | InvalidRuntimeError
802
+ | InvalidSecurityGroupIDError
803
+ | InvalidSubnetIDError
804
+ | InvalidZipFileError
805
+ | KMSAccessDeniedError
806
+ | KMSDisabledError
807
+ | KMSInvalidStateError
808
+ | KMSNotFoundError
809
+ | RecursiveInvocationError
810
+ | RequestTooLargeError
811
+ | ResourceConflictError
812
+ | ResourceNotFoundError
813
+ | ResourceNotReadyError
814
+ | ServiceError
815
+ | SnapStartError
816
+ | SnapStartNotReadyError
817
+ | SnapStartTimeoutError
818
+ | SubnetIPAddressLimitReachedError
819
+ | TooManyRequestsError
820
+ | UnsupportedMediaTypeError
821
+ >;
822
+
823
+ /**
824
+ * @see {@link InvokeAsyncCommand}
825
+ */
826
+ invokeAsync(
827
+ args: InvokeAsyncCommandInput,
828
+ options?: HttpHandlerOptions,
829
+ ): Effect.Effect<
830
+ InvokeAsyncCommandOutput,
831
+ | SdkError
832
+ | InvalidRequestContentError
833
+ | InvalidRuntimeError
834
+ | ResourceConflictError
835
+ | ResourceNotFoundError
836
+ | ServiceError
837
+ >;
838
+
839
+ /**
840
+ * @see {@link InvokeWithResponseStreamCommand}
841
+ */
842
+ invokeWithResponseStream(
843
+ args: InvokeWithResponseStreamCommandInput,
844
+ options?: HttpHandlerOptions,
845
+ ): Effect.Effect<
846
+ InvokeWithResponseStreamCommandOutput,
847
+ | SdkError
848
+ | EC2AccessDeniedError
849
+ | EC2ThrottledError
850
+ | EC2UnexpectedError
851
+ | EFSIOError
852
+ | EFSMountConnectivityError
853
+ | EFSMountFailureError
854
+ | EFSMountTimeoutError
855
+ | ENILimitReachedError
856
+ | InvalidParameterValueError
857
+ | InvalidRequestContentError
858
+ | InvalidRuntimeError
859
+ | InvalidSecurityGroupIDError
860
+ | InvalidSubnetIDError
861
+ | InvalidZipFileError
862
+ | KMSAccessDeniedError
863
+ | KMSDisabledError
864
+ | KMSInvalidStateError
865
+ | KMSNotFoundError
866
+ | RecursiveInvocationError
867
+ | RequestTooLargeError
868
+ | ResourceConflictError
869
+ | ResourceNotFoundError
870
+ | ResourceNotReadyError
871
+ | ServiceError
872
+ | SnapStartError
873
+ | SnapStartNotReadyError
874
+ | SnapStartTimeoutError
875
+ | SubnetIPAddressLimitReachedError
876
+ | TooManyRequestsError
877
+ | UnsupportedMediaTypeError
878
+ >;
879
+
880
+ /**
881
+ * @see {@link ListAliasesCommand}
882
+ */
883
+ listAliases(
884
+ args: ListAliasesCommandInput,
885
+ options?: HttpHandlerOptions,
886
+ ): Effect.Effect<
887
+ ListAliasesCommandOutput,
888
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
889
+ >;
890
+
891
+ /**
892
+ * @see {@link ListCodeSigningConfigsCommand}
893
+ */
894
+ listCodeSigningConfigs(
895
+ args: ListCodeSigningConfigsCommandInput,
896
+ options?: HttpHandlerOptions,
897
+ ): Effect.Effect<
898
+ ListCodeSigningConfigsCommandOutput,
899
+ SdkError | InvalidParameterValueError | ServiceError
900
+ >;
901
+
902
+ /**
903
+ * @see {@link ListEventSourceMappingsCommand}
904
+ */
905
+ listEventSourceMappings(
906
+ args: ListEventSourceMappingsCommandInput,
907
+ options?: HttpHandlerOptions,
908
+ ): Effect.Effect<
909
+ ListEventSourceMappingsCommandOutput,
910
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
911
+ >;
912
+
913
+ /**
914
+ * @see {@link ListFunctionEventInvokeConfigsCommand}
915
+ */
916
+ listFunctionEventInvokeConfigs(
917
+ args: ListFunctionEventInvokeConfigsCommandInput,
918
+ options?: HttpHandlerOptions,
919
+ ): Effect.Effect<
920
+ ListFunctionEventInvokeConfigsCommandOutput,
921
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
922
+ >;
923
+
924
+ /**
925
+ * @see {@link ListFunctionUrlConfigsCommand}
926
+ */
927
+ listFunctionUrlConfigs(
928
+ args: ListFunctionUrlConfigsCommandInput,
929
+ options?: HttpHandlerOptions,
930
+ ): Effect.Effect<
931
+ ListFunctionUrlConfigsCommandOutput,
932
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
933
+ >;
934
+
935
+ /**
936
+ * @see {@link ListFunctionsCommand}
937
+ */
938
+ listFunctions(
939
+ args: ListFunctionsCommandInput,
940
+ options?: HttpHandlerOptions,
941
+ ): Effect.Effect<
942
+ ListFunctionsCommandOutput,
943
+ SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
944
+ >;
945
+
946
+ /**
947
+ * @see {@link ListFunctionsByCodeSigningConfigCommand}
948
+ */
949
+ listFunctionsByCodeSigningConfig(
950
+ args: ListFunctionsByCodeSigningConfigCommandInput,
951
+ options?: HttpHandlerOptions,
952
+ ): Effect.Effect<
953
+ ListFunctionsByCodeSigningConfigCommandOutput,
954
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError
955
+ >;
956
+
957
+ /**
958
+ * @see {@link ListLayerVersionsCommand}
959
+ */
960
+ listLayerVersions(
961
+ args: ListLayerVersionsCommandInput,
962
+ options?: HttpHandlerOptions,
963
+ ): Effect.Effect<
964
+ ListLayerVersionsCommandOutput,
965
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
966
+ >;
967
+
968
+ /**
969
+ * @see {@link ListLayersCommand}
970
+ */
971
+ listLayers(
972
+ args: ListLayersCommandInput,
973
+ options?: HttpHandlerOptions,
974
+ ): Effect.Effect<
975
+ ListLayersCommandOutput,
976
+ SdkError | InvalidParameterValueError | ServiceError | TooManyRequestsError
977
+ >;
978
+
979
+ /**
980
+ * @see {@link ListProvisionedConcurrencyConfigsCommand}
981
+ */
982
+ listProvisionedConcurrencyConfigs(
983
+ args: ListProvisionedConcurrencyConfigsCommandInput,
984
+ options?: HttpHandlerOptions,
985
+ ): Effect.Effect<
986
+ ListProvisionedConcurrencyConfigsCommandOutput,
987
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
988
+ >;
989
+
990
+ /**
991
+ * @see {@link ListTagsCommand}
992
+ */
993
+ listTags(
994
+ args: ListTagsCommandInput,
995
+ options?: HttpHandlerOptions,
996
+ ): Effect.Effect<
997
+ ListTagsCommandOutput,
998
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
999
+ >;
1000
+
1001
+ /**
1002
+ * @see {@link ListVersionsByFunctionCommand}
1003
+ */
1004
+ listVersionsByFunction(
1005
+ args: ListVersionsByFunctionCommandInput,
1006
+ options?: HttpHandlerOptions,
1007
+ ): Effect.Effect<
1008
+ ListVersionsByFunctionCommandOutput,
1009
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError | TooManyRequestsError
1010
+ >;
1011
+
1012
+ /**
1013
+ * @see {@link PublishLayerVersionCommand}
1014
+ */
1015
+ publishLayerVersion(
1016
+ args: PublishLayerVersionCommandInput,
1017
+ options?: HttpHandlerOptions,
1018
+ ): Effect.Effect<
1019
+ PublishLayerVersionCommandOutput,
1020
+ | SdkError
1021
+ | CodeStorageExceededError
1022
+ | InvalidParameterValueError
1023
+ | ResourceNotFoundError
1024
+ | ServiceError
1025
+ | TooManyRequestsError
1026
+ >;
1027
+
1028
+ /**
1029
+ * @see {@link PublishVersionCommand}
1030
+ */
1031
+ publishVersion(
1032
+ args: PublishVersionCommandInput,
1033
+ options?: HttpHandlerOptions,
1034
+ ): Effect.Effect<
1035
+ PublishVersionCommandOutput,
1036
+ | SdkError
1037
+ | CodeStorageExceededError
1038
+ | InvalidParameterValueError
1039
+ | PreconditionFailedError
1040
+ | ResourceConflictError
1041
+ | ResourceNotFoundError
1042
+ | ServiceError
1043
+ | TooManyRequestsError
1044
+ >;
1045
+
1046
+ /**
1047
+ * @see {@link PutFunctionCodeSigningConfigCommand}
1048
+ */
1049
+ putFunctionCodeSigningConfig(
1050
+ args: PutFunctionCodeSigningConfigCommandInput,
1051
+ options?: HttpHandlerOptions,
1052
+ ): Effect.Effect<
1053
+ PutFunctionCodeSigningConfigCommandOutput,
1054
+ | SdkError
1055
+ | CodeSigningConfigNotFoundError
1056
+ | InvalidParameterValueError
1057
+ | ResourceConflictError
1058
+ | ResourceNotFoundError
1059
+ | ServiceError
1060
+ | TooManyRequestsError
1061
+ >;
1062
+
1063
+ /**
1064
+ * @see {@link PutFunctionConcurrencyCommand}
1065
+ */
1066
+ putFunctionConcurrency(
1067
+ args: PutFunctionConcurrencyCommandInput,
1068
+ options?: HttpHandlerOptions,
1069
+ ): Effect.Effect<
1070
+ PutFunctionConcurrencyCommandOutput,
1071
+ | SdkError
1072
+ | InvalidParameterValueError
1073
+ | ResourceConflictError
1074
+ | ResourceNotFoundError
1075
+ | ServiceError
1076
+ | TooManyRequestsError
1077
+ >;
1078
+
1079
+ /**
1080
+ * @see {@link PutFunctionEventInvokeConfigCommand}
1081
+ */
1082
+ putFunctionEventInvokeConfig(
1083
+ args: PutFunctionEventInvokeConfigCommandInput,
1084
+ options?: HttpHandlerOptions,
1085
+ ): Effect.Effect<
1086
+ PutFunctionEventInvokeConfigCommandOutput,
1087
+ | SdkError
1088
+ | InvalidParameterValueError
1089
+ | ResourceConflictError
1090
+ | ResourceNotFoundError
1091
+ | ServiceError
1092
+ | TooManyRequestsError
1093
+ >;
1094
+
1095
+ /**
1096
+ * @see {@link PutFunctionRecursionConfigCommand}
1097
+ */
1098
+ putFunctionRecursionConfig(
1099
+ args: PutFunctionRecursionConfigCommandInput,
1100
+ options?: HttpHandlerOptions,
1101
+ ): Effect.Effect<
1102
+ PutFunctionRecursionConfigCommandOutput,
1103
+ | SdkError
1104
+ | InvalidParameterValueError
1105
+ | ResourceConflictError
1106
+ | ResourceNotFoundError
1107
+ | ServiceError
1108
+ | TooManyRequestsError
1109
+ >;
1110
+
1111
+ /**
1112
+ * @see {@link PutProvisionedConcurrencyConfigCommand}
1113
+ */
1114
+ putProvisionedConcurrencyConfig(
1115
+ args: PutProvisionedConcurrencyConfigCommandInput,
1116
+ options?: HttpHandlerOptions,
1117
+ ): Effect.Effect<
1118
+ PutProvisionedConcurrencyConfigCommandOutput,
1119
+ | SdkError
1120
+ | InvalidParameterValueError
1121
+ | ResourceConflictError
1122
+ | ResourceNotFoundError
1123
+ | ServiceError
1124
+ | TooManyRequestsError
1125
+ >;
1126
+
1127
+ /**
1128
+ * @see {@link PutRuntimeManagementConfigCommand}
1129
+ */
1130
+ putRuntimeManagementConfig(
1131
+ args: PutRuntimeManagementConfigCommandInput,
1132
+ options?: HttpHandlerOptions,
1133
+ ): Effect.Effect<
1134
+ PutRuntimeManagementConfigCommandOutput,
1135
+ | SdkError
1136
+ | InvalidParameterValueError
1137
+ | ResourceConflictError
1138
+ | ResourceNotFoundError
1139
+ | ServiceError
1140
+ | TooManyRequestsError
1141
+ >;
1142
+
1143
+ /**
1144
+ * @see {@link RemoveLayerVersionPermissionCommand}
1145
+ */
1146
+ removeLayerVersionPermission(
1147
+ args: RemoveLayerVersionPermissionCommandInput,
1148
+ options?: HttpHandlerOptions,
1149
+ ): Effect.Effect<
1150
+ RemoveLayerVersionPermissionCommandOutput,
1151
+ | SdkError
1152
+ | InvalidParameterValueError
1153
+ | PreconditionFailedError
1154
+ | ResourceNotFoundError
1155
+ | ServiceError
1156
+ | TooManyRequestsError
1157
+ >;
1158
+
1159
+ /**
1160
+ * @see {@link RemovePermissionCommand}
1161
+ */
1162
+ removePermission(
1163
+ args: RemovePermissionCommandInput,
1164
+ options?: HttpHandlerOptions,
1165
+ ): Effect.Effect<
1166
+ RemovePermissionCommandOutput,
1167
+ | SdkError
1168
+ | InvalidParameterValueError
1169
+ | PreconditionFailedError
1170
+ | ResourceNotFoundError
1171
+ | ServiceError
1172
+ | TooManyRequestsError
1173
+ >;
1174
+
1175
+ /**
1176
+ * @see {@link TagResourceCommand}
1177
+ */
1178
+ tagResource(
1179
+ args: TagResourceCommandInput,
1180
+ options?: HttpHandlerOptions,
1181
+ ): Effect.Effect<
1182
+ TagResourceCommandOutput,
1183
+ | SdkError
1184
+ | InvalidParameterValueError
1185
+ | ResourceConflictError
1186
+ | ResourceNotFoundError
1187
+ | ServiceError
1188
+ | TooManyRequestsError
1189
+ >;
1190
+
1191
+ /**
1192
+ * @see {@link UntagResourceCommand}
1193
+ */
1194
+ untagResource(
1195
+ args: UntagResourceCommandInput,
1196
+ options?: HttpHandlerOptions,
1197
+ ): Effect.Effect<
1198
+ UntagResourceCommandOutput,
1199
+ | SdkError
1200
+ | InvalidParameterValueError
1201
+ | ResourceConflictError
1202
+ | ResourceNotFoundError
1203
+ | ServiceError
1204
+ | TooManyRequestsError
1205
+ >;
1206
+
1207
+ /**
1208
+ * @see {@link UpdateAliasCommand}
1209
+ */
1210
+ updateAlias(
1211
+ args: UpdateAliasCommandInput,
1212
+ options?: HttpHandlerOptions,
1213
+ ): Effect.Effect<
1214
+ UpdateAliasCommandOutput,
1215
+ | SdkError
1216
+ | InvalidParameterValueError
1217
+ | PreconditionFailedError
1218
+ | ResourceConflictError
1219
+ | ResourceNotFoundError
1220
+ | ServiceError
1221
+ | TooManyRequestsError
1222
+ >;
1223
+
1224
+ /**
1225
+ * @see {@link UpdateCodeSigningConfigCommand}
1226
+ */
1227
+ updateCodeSigningConfig(
1228
+ args: UpdateCodeSigningConfigCommandInput,
1229
+ options?: HttpHandlerOptions,
1230
+ ): Effect.Effect<
1231
+ UpdateCodeSigningConfigCommandOutput,
1232
+ SdkError | InvalidParameterValueError | ResourceNotFoundError | ServiceError
1233
+ >;
1234
+
1235
+ /**
1236
+ * @see {@link UpdateEventSourceMappingCommand}
1237
+ */
1238
+ updateEventSourceMapping(
1239
+ args: UpdateEventSourceMappingCommandInput,
1240
+ options?: HttpHandlerOptions,
1241
+ ): Effect.Effect<
1242
+ UpdateEventSourceMappingCommandOutput,
1243
+ | SdkError
1244
+ | InvalidParameterValueError
1245
+ | ResourceConflictError
1246
+ | ResourceInUseError
1247
+ | ResourceNotFoundError
1248
+ | ServiceError
1249
+ | TooManyRequestsError
1250
+ >;
1251
+
1252
+ /**
1253
+ * @see {@link UpdateFunctionCodeCommand}
1254
+ */
1255
+ updateFunctionCode(
1256
+ args: UpdateFunctionCodeCommandInput,
1257
+ options?: HttpHandlerOptions,
1258
+ ): Effect.Effect<
1259
+ UpdateFunctionCodeCommandOutput,
1260
+ | SdkError
1261
+ | CodeSigningConfigNotFoundError
1262
+ | CodeStorageExceededError
1263
+ | CodeVerificationFailedError
1264
+ | InvalidCodeSignatureError
1265
+ | InvalidParameterValueError
1266
+ | PreconditionFailedError
1267
+ | ResourceConflictError
1268
+ | ResourceNotFoundError
1269
+ | ServiceError
1270
+ | TooManyRequestsError
1271
+ >;
1272
+
1273
+ /**
1274
+ * @see {@link UpdateFunctionConfigurationCommand}
1275
+ */
1276
+ updateFunctionConfiguration(
1277
+ args: UpdateFunctionConfigurationCommandInput,
1278
+ options?: HttpHandlerOptions,
1279
+ ): Effect.Effect<
1280
+ UpdateFunctionConfigurationCommandOutput,
1281
+ | SdkError
1282
+ | CodeSigningConfigNotFoundError
1283
+ | CodeVerificationFailedError
1284
+ | InvalidCodeSignatureError
1285
+ | InvalidParameterValueError
1286
+ | PreconditionFailedError
1287
+ | ResourceConflictError
1288
+ | ResourceNotFoundError
1289
+ | ServiceError
1290
+ | TooManyRequestsError
1291
+ >;
1292
+
1293
+ /**
1294
+ * @see {@link UpdateFunctionEventInvokeConfigCommand}
1295
+ */
1296
+ updateFunctionEventInvokeConfig(
1297
+ args: UpdateFunctionEventInvokeConfigCommandInput,
1298
+ options?: HttpHandlerOptions,
1299
+ ): Effect.Effect<
1300
+ UpdateFunctionEventInvokeConfigCommandOutput,
1301
+ | SdkError
1302
+ | InvalidParameterValueError
1303
+ | ResourceConflictError
1304
+ | ResourceNotFoundError
1305
+ | ServiceError
1306
+ | TooManyRequestsError
1307
+ >;
1308
+
1309
+ /**
1310
+ * @see {@link UpdateFunctionUrlConfigCommand}
1311
+ */
1312
+ updateFunctionUrlConfig(
1313
+ args: UpdateFunctionUrlConfigCommandInput,
1314
+ options?: HttpHandlerOptions,
1315
+ ): Effect.Effect<
1316
+ UpdateFunctionUrlConfigCommandOutput,
1317
+ | SdkError
1318
+ | InvalidParameterValueError
1319
+ | ResourceConflictError
1320
+ | ResourceNotFoundError
1321
+ | ServiceError
1322
+ | TooManyRequestsError
1323
+ >;
1324
+ }
1325
+
1326
+ /**
1327
+ * @since 1.0.0
1328
+ * @category constructors
1329
+ */
1330
+ export const makeLambdaService = Effect.gen(function*() {
1331
+ const client = yield* Instance.LambdaClientInstance;
1332
+
1333
+ return Service.fromClientAndCommands<LambdaService$>(client, commands, AllServiceErrors);
1334
+ });
1335
+
1336
+ /**
1337
+ * @since 1.0.0
1338
+ * @category models
1339
+ */
1340
+ export class LambdaService extends Effect.Tag("@effect-aws/client-lambda/LambdaService")<
1341
+ LambdaService,
1342
+ LambdaService$
1343
+ >() {
1344
+ static readonly defaultLayer = Layer.effect(this, makeLambdaService).pipe(Layer.provide(Instance.layer));
1345
+ static readonly layer = (config: LambdaService.Config) =>
1346
+ Layer.effect(this, makeLambdaService).pipe(
1347
+ Layer.provide(Instance.layer),
1348
+ Layer.provide(LambdaServiceConfig.setLambdaServiceConfig(config)),
1349
+ );
1350
+ static readonly baseLayer = (
1351
+ evaluate: (defaultConfig: LambdaClientConfig) => LambdaClient,
1352
+ ) =>
1353
+ Layer.effect(this, makeLambdaService).pipe(
1354
+ Layer.provide(
1355
+ Layer.effect(
1356
+ Instance.LambdaClientInstance,
1357
+ Effect.map(LambdaServiceConfig.toLambdaClientConfig, evaluate),
1358
+ ),
1359
+ ),
1360
+ );
1361
+ }
1362
+
1363
+ /**
1364
+ * @since 1.0.0
1365
+ */
1366
+ export declare namespace LambdaService {
1367
+ /**
1368
+ * @since 1.0.0
1369
+ */
1370
+ export interface Config extends Omit<LambdaClientConfig, "logger"> {
1371
+ readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
1372
+ }
1373
+ }