@aws-sdk/client-lambda 3.940.0 → 3.942.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 (68) hide show
  1. package/README.md +64 -0
  2. package/dist-cjs/index.js +630 -21
  3. package/dist-es/Lambda.js +16 -0
  4. package/dist-es/commands/CreateCapacityProviderCommand.js +16 -0
  5. package/dist-es/commands/DeleteCapacityProviderCommand.js +16 -0
  6. package/dist-es/commands/GetCapacityProviderCommand.js +16 -0
  7. package/dist-es/commands/GetFunctionScalingConfigCommand.js +16 -0
  8. package/dist-es/commands/ListCapacityProvidersCommand.js +16 -0
  9. package/dist-es/commands/ListFunctionVersionsByCapacityProviderCommand.js +16 -0
  10. package/dist-es/commands/PutFunctionScalingConfigCommand.js +16 -0
  11. package/dist-es/commands/UpdateCapacityProviderCommand.js +16 -0
  12. package/dist-es/commands/index.js +8 -0
  13. package/dist-es/models/enums.js +50 -6
  14. package/dist-es/models/errors.js +44 -0
  15. package/dist-es/pagination/ListCapacityProvidersPaginator.js +4 -0
  16. package/dist-es/pagination/ListFunctionVersionsByCapacityProviderPaginator.js +4 -0
  17. package/dist-es/pagination/index.js +2 -0
  18. package/dist-es/schemas/schemas_0.js +415 -16
  19. package/dist-types/Lambda.d.ts +57 -0
  20. package/dist-types/LambdaClient.d.ts +10 -2
  21. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +162 -0
  22. package/dist-types/commands/CreateFunctionCommand.d.ts +22 -3
  23. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +126 -0
  24. package/dist-types/commands/DeleteFunctionCommand.d.ts +6 -4
  25. package/dist-types/commands/GetCapacityProviderCommand.d.ts +123 -0
  26. package/dist-types/commands/GetFunctionCommand.d.ts +11 -3
  27. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +11 -3
  28. package/dist-types/commands/GetFunctionScalingConfigCommand.d.ts +95 -0
  29. package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
  30. package/dist-types/commands/InvokeCommand.d.ts +4 -1
  31. package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +4 -1
  32. package/dist-types/commands/ListCapacityProvidersCommand.d.ts +125 -0
  33. package/dist-types/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +95 -0
  34. package/dist-types/commands/ListFunctionsCommand.d.ts +11 -3
  35. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +11 -3
  36. package/dist-types/commands/PublishVersionCommand.d.ts +15 -3
  37. package/dist-types/commands/PutFunctionScalingConfigCommand.d.ts +94 -0
  38. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +136 -0
  39. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +12 -3
  40. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +18 -3
  41. package/dist-types/commands/index.d.ts +8 -0
  42. package/dist-types/models/enums.d.ts +90 -14
  43. package/dist-types/models/errors.d.ts +53 -1
  44. package/dist-types/models/models_0.d.ts +642 -147
  45. package/dist-types/pagination/ListCapacityProvidersPaginator.d.ts +7 -0
  46. package/dist-types/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +7 -0
  47. package/dist-types/pagination/index.d.ts +2 -0
  48. package/dist-types/schemas/schemas_0.d.ts +44 -0
  49. package/dist-types/ts3.4/Lambda.d.ts +143 -0
  50. package/dist-types/ts3.4/LambdaClient.d.ts +48 -0
  51. package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +51 -0
  52. package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +8 -3
  54. package/dist-types/ts3.4/commands/GetCapacityProviderCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/GetFunctionScalingConfigCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/ListCapacityProvidersCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/PutFunctionScalingConfigCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  61. package/dist-types/ts3.4/models/enums.d.ts +59 -7
  62. package/dist-types/ts3.4/models/errors.d.ts +31 -0
  63. package/dist-types/ts3.4/models/models_0.d.ts +172 -42
  64. package/dist-types/ts3.4/pagination/ListCapacityProvidersPaginator.d.ts +11 -0
  65. package/dist-types/ts3.4/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +11 -0
  66. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  67. package/dist-types/ts3.4/schemas/schemas_0.d.ts +44 -0
  68. package/package.json +1 -1
package/README.md CHANGED
@@ -226,6 +226,14 @@ CreateAlias
226
226
 
227
227
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/CreateAliasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/CreateAliasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/CreateAliasCommandOutput/)
228
228
 
229
+ </details>
230
+ <details>
231
+ <summary>
232
+ CreateCapacityProvider
233
+ </summary>
234
+
235
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/CreateCapacityProviderCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/CreateCapacityProviderCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/CreateCapacityProviderCommandOutput/)
236
+
229
237
  </details>
230
238
  <details>
231
239
  <summary>
@@ -266,6 +274,14 @@ DeleteAlias
266
274
 
267
275
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/DeleteAliasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/DeleteAliasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/DeleteAliasCommandOutput/)
268
276
 
277
+ </details>
278
+ <details>
279
+ <summary>
280
+ DeleteCapacityProvider
281
+ </summary>
282
+
283
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/DeleteCapacityProviderCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/DeleteCapacityProviderCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/DeleteCapacityProviderCommandOutput/)
284
+
269
285
  </details>
270
286
  <details>
271
287
  <summary>
@@ -354,6 +370,14 @@ GetAlias
354
370
 
355
371
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/GetAliasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/GetAliasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/GetAliasCommandOutput/)
356
372
 
373
+ </details>
374
+ <details>
375
+ <summary>
376
+ GetCapacityProvider
377
+ </summary>
378
+
379
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/GetCapacityProviderCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/GetCapacityProviderCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/GetCapacityProviderCommandOutput/)
380
+
357
381
  </details>
358
382
  <details>
359
383
  <summary>
@@ -418,6 +442,14 @@ GetFunctionRecursionConfig
418
442
 
419
443
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/GetFunctionRecursionConfigCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/GetFunctionRecursionConfigCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/GetFunctionRecursionConfigCommandOutput/)
420
444
 
445
+ </details>
446
+ <details>
447
+ <summary>
448
+ GetFunctionScalingConfig
449
+ </summary>
450
+
451
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/GetFunctionScalingConfigCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/GetFunctionScalingConfigCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/GetFunctionScalingConfigCommandOutput/)
452
+
421
453
  </details>
422
454
  <details>
423
455
  <summary>
@@ -506,6 +538,14 @@ ListAliases
506
538
 
507
539
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/ListAliasesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/ListAliasesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/ListAliasesCommandOutput/)
508
540
 
541
+ </details>
542
+ <details>
543
+ <summary>
544
+ ListCapacityProviders
545
+ </summary>
546
+
547
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/ListCapacityProvidersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/ListCapacityProvidersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/ListCapacityProvidersCommandOutput/)
548
+
509
549
  </details>
510
550
  <details>
511
551
  <summary>
@@ -554,6 +594,14 @@ ListFunctionUrlConfigs
554
594
 
555
595
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/ListFunctionUrlConfigsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/ListFunctionUrlConfigsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/ListFunctionUrlConfigsCommandOutput/)
556
596
 
597
+ </details>
598
+ <details>
599
+ <summary>
600
+ ListFunctionVersionsByCapacityProvider
601
+ </summary>
602
+
603
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/ListFunctionVersionsByCapacityProviderCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/ListFunctionVersionsByCapacityProviderCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/ListFunctionVersionsByCapacityProviderCommandOutput/)
604
+
557
605
  </details>
558
606
  <details>
559
607
  <summary>
@@ -642,6 +690,14 @@ PutFunctionRecursionConfig
642
690
 
643
691
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/PutFunctionRecursionConfigCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/PutFunctionRecursionConfigCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/PutFunctionRecursionConfigCommandOutput/)
644
692
 
693
+ </details>
694
+ <details>
695
+ <summary>
696
+ PutFunctionScalingConfig
697
+ </summary>
698
+
699
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/PutFunctionScalingConfigCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/PutFunctionScalingConfigCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/PutFunctionScalingConfigCommandOutput/)
700
+
645
701
  </details>
646
702
  <details>
647
703
  <summary>
@@ -698,6 +754,14 @@ UpdateAlias
698
754
 
699
755
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/UpdateAliasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/UpdateAliasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/UpdateAliasCommandOutput/)
700
756
 
757
+ </details>
758
+ <details>
759
+ <summary>
760
+ UpdateCapacityProvider
761
+ </summary>
762
+
763
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/lambda/command/UpdateCapacityProviderCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/UpdateCapacityProviderCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-lambda/Interface/UpdateCapacityProviderCommandOutput/)
764
+
701
765
  </details>
702
766
  <details>
703
767
  <summary>