@depup/aws-sdk__client-lambda 3.1010.0-depup.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 (405) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +40 -0
  3. package/changes.json +46 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  5. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  6. package/dist-cjs/endpoint/ruleset.js +7 -0
  7. package/dist-cjs/index.js +2089 -0
  8. package/dist-cjs/models/LambdaServiceException.js +12 -0
  9. package/dist-cjs/models/errors.js +730 -0
  10. package/dist-cjs/runtimeConfig.browser.js +40 -0
  11. package/dist-cjs/runtimeConfig.js +55 -0
  12. package/dist-cjs/runtimeConfig.native.js +15 -0
  13. package/dist-cjs/runtimeConfig.shared.js +43 -0
  14. package/dist-cjs/schemas/schemas_0.js +2680 -0
  15. package/dist-es/Lambda.js +225 -0
  16. package/dist-es/LambdaClient.js +52 -0
  17. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  18. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  19. package/dist-es/commands/AddLayerVersionPermissionCommand.js +16 -0
  20. package/dist-es/commands/AddPermissionCommand.js +16 -0
  21. package/dist-es/commands/CheckpointDurableExecutionCommand.js +16 -0
  22. package/dist-es/commands/CreateAliasCommand.js +16 -0
  23. package/dist-es/commands/CreateCapacityProviderCommand.js +16 -0
  24. package/dist-es/commands/CreateCodeSigningConfigCommand.js +16 -0
  25. package/dist-es/commands/CreateEventSourceMappingCommand.js +16 -0
  26. package/dist-es/commands/CreateFunctionCommand.js +16 -0
  27. package/dist-es/commands/CreateFunctionUrlConfigCommand.js +16 -0
  28. package/dist-es/commands/DeleteAliasCommand.js +16 -0
  29. package/dist-es/commands/DeleteCapacityProviderCommand.js +16 -0
  30. package/dist-es/commands/DeleteCodeSigningConfigCommand.js +16 -0
  31. package/dist-es/commands/DeleteEventSourceMappingCommand.js +16 -0
  32. package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js +16 -0
  33. package/dist-es/commands/DeleteFunctionCommand.js +16 -0
  34. package/dist-es/commands/DeleteFunctionConcurrencyCommand.js +16 -0
  35. package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js +16 -0
  36. package/dist-es/commands/DeleteFunctionUrlConfigCommand.js +16 -0
  37. package/dist-es/commands/DeleteLayerVersionCommand.js +16 -0
  38. package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js +16 -0
  39. package/dist-es/commands/GetAccountSettingsCommand.js +16 -0
  40. package/dist-es/commands/GetAliasCommand.js +16 -0
  41. package/dist-es/commands/GetCapacityProviderCommand.js +16 -0
  42. package/dist-es/commands/GetCodeSigningConfigCommand.js +16 -0
  43. package/dist-es/commands/GetDurableExecutionCommand.js +16 -0
  44. package/dist-es/commands/GetDurableExecutionHistoryCommand.js +16 -0
  45. package/dist-es/commands/GetDurableExecutionStateCommand.js +16 -0
  46. package/dist-es/commands/GetEventSourceMappingCommand.js +16 -0
  47. package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js +16 -0
  48. package/dist-es/commands/GetFunctionCommand.js +16 -0
  49. package/dist-es/commands/GetFunctionConcurrencyCommand.js +16 -0
  50. package/dist-es/commands/GetFunctionConfigurationCommand.js +16 -0
  51. package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js +16 -0
  52. package/dist-es/commands/GetFunctionRecursionConfigCommand.js +16 -0
  53. package/dist-es/commands/GetFunctionScalingConfigCommand.js +16 -0
  54. package/dist-es/commands/GetFunctionUrlConfigCommand.js +16 -0
  55. package/dist-es/commands/GetLayerVersionByArnCommand.js +16 -0
  56. package/dist-es/commands/GetLayerVersionCommand.js +16 -0
  57. package/dist-es/commands/GetLayerVersionPolicyCommand.js +16 -0
  58. package/dist-es/commands/GetPolicyCommand.js +16 -0
  59. package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js +16 -0
  60. package/dist-es/commands/GetRuntimeManagementConfigCommand.js +16 -0
  61. package/dist-es/commands/InvokeAsyncCommand.js +16 -0
  62. package/dist-es/commands/InvokeCommand.js +16 -0
  63. package/dist-es/commands/InvokeWithResponseStreamCommand.js +20 -0
  64. package/dist-es/commands/ListAliasesCommand.js +16 -0
  65. package/dist-es/commands/ListCapacityProvidersCommand.js +16 -0
  66. package/dist-es/commands/ListCodeSigningConfigsCommand.js +16 -0
  67. package/dist-es/commands/ListDurableExecutionsByFunctionCommand.js +16 -0
  68. package/dist-es/commands/ListEventSourceMappingsCommand.js +16 -0
  69. package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js +16 -0
  70. package/dist-es/commands/ListFunctionUrlConfigsCommand.js +16 -0
  71. package/dist-es/commands/ListFunctionVersionsByCapacityProviderCommand.js +16 -0
  72. package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js +16 -0
  73. package/dist-es/commands/ListFunctionsCommand.js +16 -0
  74. package/dist-es/commands/ListLayerVersionsCommand.js +16 -0
  75. package/dist-es/commands/ListLayersCommand.js +16 -0
  76. package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js +16 -0
  77. package/dist-es/commands/ListTagsCommand.js +16 -0
  78. package/dist-es/commands/ListVersionsByFunctionCommand.js +16 -0
  79. package/dist-es/commands/PublishLayerVersionCommand.js +16 -0
  80. package/dist-es/commands/PublishVersionCommand.js +16 -0
  81. package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js +16 -0
  82. package/dist-es/commands/PutFunctionConcurrencyCommand.js +16 -0
  83. package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js +16 -0
  84. package/dist-es/commands/PutFunctionRecursionConfigCommand.js +16 -0
  85. package/dist-es/commands/PutFunctionScalingConfigCommand.js +16 -0
  86. package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js +16 -0
  87. package/dist-es/commands/PutRuntimeManagementConfigCommand.js +16 -0
  88. package/dist-es/commands/RemoveLayerVersionPermissionCommand.js +16 -0
  89. package/dist-es/commands/RemovePermissionCommand.js +16 -0
  90. package/dist-es/commands/SendDurableExecutionCallbackFailureCommand.js +16 -0
  91. package/dist-es/commands/SendDurableExecutionCallbackHeartbeatCommand.js +16 -0
  92. package/dist-es/commands/SendDurableExecutionCallbackSuccessCommand.js +16 -0
  93. package/dist-es/commands/StopDurableExecutionCommand.js +16 -0
  94. package/dist-es/commands/TagResourceCommand.js +16 -0
  95. package/dist-es/commands/UntagResourceCommand.js +16 -0
  96. package/dist-es/commands/UpdateAliasCommand.js +16 -0
  97. package/dist-es/commands/UpdateCapacityProviderCommand.js +16 -0
  98. package/dist-es/commands/UpdateCodeSigningConfigCommand.js +16 -0
  99. package/dist-es/commands/UpdateEventSourceMappingCommand.js +16 -0
  100. package/dist-es/commands/UpdateFunctionCodeCommand.js +16 -0
  101. package/dist-es/commands/UpdateFunctionConfigurationCommand.js +16 -0
  102. package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js +16 -0
  103. package/dist-es/commands/UpdateFunctionUrlConfigCommand.js +16 -0
  104. package/dist-es/commands/index.js +85 -0
  105. package/dist-es/endpoint/EndpointParameters.js +13 -0
  106. package/dist-es/endpoint/endpointResolver.js +14 -0
  107. package/dist-es/endpoint/ruleset.js +4 -0
  108. package/dist-es/extensionConfiguration.js +1 -0
  109. package/dist-es/index.js +10 -0
  110. package/dist-es/models/LambdaServiceException.js +8 -0
  111. package/dist-es/models/enums.js +350 -0
  112. package/dist-es/models/errors.js +683 -0
  113. package/dist-es/models/models_0.js +1 -0
  114. package/dist-es/pagination/GetDurableExecutionHistoryPaginator.js +4 -0
  115. package/dist-es/pagination/GetDurableExecutionStatePaginator.js +4 -0
  116. package/dist-es/pagination/Interfaces.js +1 -0
  117. package/dist-es/pagination/ListAliasesPaginator.js +4 -0
  118. package/dist-es/pagination/ListCapacityProvidersPaginator.js +4 -0
  119. package/dist-es/pagination/ListCodeSigningConfigsPaginator.js +4 -0
  120. package/dist-es/pagination/ListDurableExecutionsByFunctionPaginator.js +4 -0
  121. package/dist-es/pagination/ListEventSourceMappingsPaginator.js +4 -0
  122. package/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js +4 -0
  123. package/dist-es/pagination/ListFunctionUrlConfigsPaginator.js +4 -0
  124. package/dist-es/pagination/ListFunctionVersionsByCapacityProviderPaginator.js +4 -0
  125. package/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js +4 -0
  126. package/dist-es/pagination/ListFunctionsPaginator.js +4 -0
  127. package/dist-es/pagination/ListLayerVersionsPaginator.js +4 -0
  128. package/dist-es/pagination/ListLayersPaginator.js +4 -0
  129. package/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js +4 -0
  130. package/dist-es/pagination/ListVersionsByFunctionPaginator.js +4 -0
  131. package/dist-es/pagination/index.js +17 -0
  132. package/dist-es/runtimeConfig.browser.js +35 -0
  133. package/dist-es/runtimeConfig.js +50 -0
  134. package/dist-es/runtimeConfig.native.js +11 -0
  135. package/dist-es/runtimeConfig.shared.js +39 -0
  136. package/dist-es/runtimeExtensions.js +9 -0
  137. package/dist-es/schemas/schemas_0.js +2670 -0
  138. package/dist-es/waiters/index.js +6 -0
  139. package/dist-es/waiters/waitForFunctionActive.js +49 -0
  140. package/dist-es/waiters/waitForFunctionActiveV2.js +49 -0
  141. package/dist-es/waiters/waitForFunctionExists.js +26 -0
  142. package/dist-es/waiters/waitForFunctionUpdated.js +49 -0
  143. package/dist-es/waiters/waitForFunctionUpdatedV2.js +49 -0
  144. package/dist-es/waiters/waitForPublishedVersionActive.js +49 -0
  145. package/dist-types/Lambda.d.ts +760 -0
  146. package/dist-types/LambdaClient.d.ts +277 -0
  147. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  148. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  149. package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +122 -0
  150. package/dist-types/commands/AddPermissionCommand.d.ts +144 -0
  151. package/dist-types/commands/CheckpointDurableExecutionCommand.d.ts +190 -0
  152. package/dist-types/commands/CreateAliasCommand.d.ts +128 -0
  153. package/dist-types/commands/CreateCapacityProviderCommand.d.ts +162 -0
  154. package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +104 -0
  155. package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +336 -0
  156. package/dist-types/commands/CreateFunctionCommand.d.ts +379 -0
  157. package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +128 -0
  158. package/dist-types/commands/DeleteAliasCommand.d.ts +99 -0
  159. package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +126 -0
  160. package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +84 -0
  161. package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +228 -0
  162. package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +90 -0
  163. package/dist-types/commands/DeleteFunctionCommand.d.ts +104 -0
  164. package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +100 -0
  165. package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +102 -0
  166. package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +85 -0
  167. package/dist-types/commands/DeleteLayerVersionCommand.d.ts +93 -0
  168. package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +102 -0
  169. package/dist-types/commands/GetAccountSettingsCommand.d.ts +111 -0
  170. package/dist-types/commands/GetAliasCommand.d.ts +116 -0
  171. package/dist-types/commands/GetCapacityProviderCommand.d.ts +123 -0
  172. package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +96 -0
  173. package/dist-types/commands/GetDurableExecutionCommand.d.ts +105 -0
  174. package/dist-types/commands/GetDurableExecutionHistoryCommand.d.ts +259 -0
  175. package/dist-types/commands/GetDurableExecutionStateCommand.d.ts +152 -0
  176. package/dist-types/commands/GetEventSourceMappingCommand.d.ts +227 -0
  177. package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +87 -0
  178. package/dist-types/commands/GetFunctionCommand.d.ts +274 -0
  179. package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +101 -0
  180. package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +246 -0
  181. package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +123 -0
  182. package/dist-types/commands/GetFunctionRecursionConfigCommand.d.ts +86 -0
  183. package/dist-types/commands/GetFunctionScalingConfigCommand.d.ts +95 -0
  184. package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +108 -0
  185. package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +131 -0
  186. package/dist-types/commands/GetLayerVersionCommand.d.ts +135 -0
  187. package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +88 -0
  188. package/dist-types/commands/GetPolicyCommand.d.ts +105 -0
  189. package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +135 -0
  190. package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +89 -0
  191. package/dist-types/commands/InvokeAsyncCommand.d.ts +109 -0
  192. package/dist-types/commands/InvokeCommand.d.ts +237 -0
  193. package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +194 -0
  194. package/dist-types/commands/ListAliasesCommand.d.ts +138 -0
  195. package/dist-types/commands/ListCapacityProvidersCommand.d.ts +125 -0
  196. package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +97 -0
  197. package/dist-types/commands/ListDurableExecutionsByFunctionCommand.d.ts +106 -0
  198. package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +234 -0
  199. package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +132 -0
  200. package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +114 -0
  201. package/dist-types/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +95 -0
  202. package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +88 -0
  203. package/dist-types/commands/ListFunctionsCommand.d.ts +266 -0
  204. package/dist-types/commands/ListLayerVersionsCommand.d.ts +139 -0
  205. package/dist-types/commands/ListLayersCommand.d.ts +135 -0
  206. package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +131 -0
  207. package/dist-types/commands/ListTagsCommand.d.ts +106 -0
  208. package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +282 -0
  209. package/dist-types/commands/PublishLayerVersionCommand.d.ts +160 -0
  210. package/dist-types/commands/PublishVersionCommand.d.ts +258 -0
  211. package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +94 -0
  212. package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +106 -0
  213. package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +135 -0
  214. package/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +90 -0
  215. package/dist-types/commands/PutFunctionScalingConfigCommand.d.ts +94 -0
  216. package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +116 -0
  217. package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +94 -0
  218. package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +105 -0
  219. package/dist-types/commands/RemovePermissionCommand.d.ts +105 -0
  220. package/dist-types/commands/SendDurableExecutionCallbackFailureCommand.d.ts +92 -0
  221. package/dist-types/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +84 -0
  222. package/dist-types/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +91 -0
  223. package/dist-types/commands/StopDurableExecutionCommand.d.ts +94 -0
  224. package/dist-types/commands/TagResourceCommand.d.ts +106 -0
  225. package/dist-types/commands/UntagResourceCommand.d.ts +106 -0
  226. package/dist-types/commands/UpdateAliasCommand.d.ts +141 -0
  227. package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +136 -0
  228. package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +105 -0
  229. package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +323 -0
  230. package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +264 -0
  231. package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +324 -0
  232. package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +140 -0
  233. package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +129 -0
  234. package/dist-types/commands/index.d.ts +85 -0
  235. package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
  236. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  237. package/dist-types/endpoint/ruleset.d.ts +2 -0
  238. package/dist-types/extensionConfiguration.d.ts +9 -0
  239. package/dist-types/index.d.ts +18 -0
  240. package/dist-types/models/LambdaServiceException.d.ts +14 -0
  241. package/dist-types/models/enums.d.ts +702 -0
  242. package/dist-types/models/errors.d.ts +668 -0
  243. package/dist-types/models/models_0.d.ts +5953 -0
  244. package/dist-types/pagination/GetDurableExecutionHistoryPaginator.d.ts +7 -0
  245. package/dist-types/pagination/GetDurableExecutionStatePaginator.d.ts +7 -0
  246. package/dist-types/pagination/Interfaces.d.ts +8 -0
  247. package/dist-types/pagination/ListAliasesPaginator.d.ts +7 -0
  248. package/dist-types/pagination/ListCapacityProvidersPaginator.d.ts +7 -0
  249. package/dist-types/pagination/ListCodeSigningConfigsPaginator.d.ts +7 -0
  250. package/dist-types/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +7 -0
  251. package/dist-types/pagination/ListEventSourceMappingsPaginator.d.ts +7 -0
  252. package/dist-types/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts +7 -0
  253. package/dist-types/pagination/ListFunctionUrlConfigsPaginator.d.ts +7 -0
  254. package/dist-types/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +7 -0
  255. package/dist-types/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts +7 -0
  256. package/dist-types/pagination/ListFunctionsPaginator.d.ts +7 -0
  257. package/dist-types/pagination/ListLayerVersionsPaginator.d.ts +7 -0
  258. package/dist-types/pagination/ListLayersPaginator.d.ts +7 -0
  259. package/dist-types/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts +7 -0
  260. package/dist-types/pagination/ListVersionsByFunctionPaginator.d.ts +7 -0
  261. package/dist-types/pagination/index.d.ts +17 -0
  262. package/dist-types/runtimeConfig.browser.d.ts +56 -0
  263. package/dist-types/runtimeConfig.d.ts +56 -0
  264. package/dist-types/runtimeConfig.native.d.ts +55 -0
  265. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  266. package/dist-types/runtimeExtensions.d.ts +17 -0
  267. package/dist-types/schemas/schemas_0.d.ts +399 -0
  268. package/dist-types/ts3.4/Lambda.d.ts +1664 -0
  269. package/dist-types/ts3.4/LambdaClient.d.ts +637 -0
  270. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  271. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  272. package/dist-types/ts3.4/commands/AddLayerVersionPermissionCommand.d.ts +51 -0
  273. package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +50 -0
  274. package/dist-types/ts3.4/commands/CheckpointDurableExecutionCommand.d.ts +51 -0
  275. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +47 -0
  276. package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +51 -0
  277. package/dist-types/ts3.4/commands/CreateCodeSigningConfigCommand.d.ts +51 -0
  278. package/dist-types/ts3.4/commands/CreateEventSourceMappingCommand.d.ts +51 -0
  279. package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +50 -0
  280. package/dist-types/ts3.4/commands/CreateFunctionUrlConfigCommand.d.ts +51 -0
  281. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +45 -0
  282. package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +51 -0
  283. package/dist-types/ts3.4/commands/DeleteCodeSigningConfigCommand.d.ts +51 -0
  284. package/dist-types/ts3.4/commands/DeleteEventSourceMappingCommand.d.ts +51 -0
  285. package/dist-types/ts3.4/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +47 -0
  286. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +50 -0
  287. package/dist-types/ts3.4/commands/DeleteFunctionConcurrencyCommand.d.ts +47 -0
  288. package/dist-types/ts3.4/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +47 -0
  289. package/dist-types/ts3.4/commands/DeleteFunctionUrlConfigCommand.d.ts +47 -0
  290. package/dist-types/ts3.4/commands/DeleteLayerVersionCommand.d.ts +46 -0
  291. package/dist-types/ts3.4/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +47 -0
  292. package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +51 -0
  293. package/dist-types/ts3.4/commands/GetAliasCommand.d.ts +47 -0
  294. package/dist-types/ts3.4/commands/GetCapacityProviderCommand.d.ts +51 -0
  295. package/dist-types/ts3.4/commands/GetCodeSigningConfigCommand.d.ts +51 -0
  296. package/dist-types/ts3.4/commands/GetDurableExecutionCommand.d.ts +51 -0
  297. package/dist-types/ts3.4/commands/GetDurableExecutionHistoryCommand.d.ts +51 -0
  298. package/dist-types/ts3.4/commands/GetDurableExecutionStateCommand.d.ts +51 -0
  299. package/dist-types/ts3.4/commands/GetEventSourceMappingCommand.d.ts +51 -0
  300. package/dist-types/ts3.4/commands/GetFunctionCodeSigningConfigCommand.d.ts +51 -0
  301. package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +47 -0
  302. package/dist-types/ts3.4/commands/GetFunctionConcurrencyCommand.d.ts +51 -0
  303. package/dist-types/ts3.4/commands/GetFunctionConfigurationCommand.d.ts +51 -0
  304. package/dist-types/ts3.4/commands/GetFunctionEventInvokeConfigCommand.d.ts +51 -0
  305. package/dist-types/ts3.4/commands/GetFunctionRecursionConfigCommand.d.ts +51 -0
  306. package/dist-types/ts3.4/commands/GetFunctionScalingConfigCommand.d.ts +51 -0
  307. package/dist-types/ts3.4/commands/GetFunctionUrlConfigCommand.d.ts +51 -0
  308. package/dist-types/ts3.4/commands/GetLayerVersionByArnCommand.d.ts +51 -0
  309. package/dist-types/ts3.4/commands/GetLayerVersionCommand.d.ts +50 -0
  310. package/dist-types/ts3.4/commands/GetLayerVersionPolicyCommand.d.ts +51 -0
  311. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +47 -0
  312. package/dist-types/ts3.4/commands/GetProvisionedConcurrencyConfigCommand.d.ts +51 -0
  313. package/dist-types/ts3.4/commands/GetRuntimeManagementConfigCommand.d.ts +51 -0
  314. package/dist-types/ts3.4/commands/InvokeAsyncCommand.d.ts +56 -0
  315. package/dist-types/ts3.4/commands/InvokeCommand.d.ts +59 -0
  316. package/dist-types/ts3.4/commands/InvokeWithResponseStreamCommand.d.ts +60 -0
  317. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +47 -0
  318. package/dist-types/ts3.4/commands/ListCapacityProvidersCommand.d.ts +51 -0
  319. package/dist-types/ts3.4/commands/ListCodeSigningConfigsCommand.d.ts +51 -0
  320. package/dist-types/ts3.4/commands/ListDurableExecutionsByFunctionCommand.d.ts +51 -0
  321. package/dist-types/ts3.4/commands/ListEventSourceMappingsCommand.d.ts +51 -0
  322. package/dist-types/ts3.4/commands/ListFunctionEventInvokeConfigsCommand.d.ts +51 -0
  323. package/dist-types/ts3.4/commands/ListFunctionUrlConfigsCommand.d.ts +51 -0
  324. package/dist-types/ts3.4/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +51 -0
  325. package/dist-types/ts3.4/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +51 -0
  326. package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +50 -0
  327. package/dist-types/ts3.4/commands/ListLayerVersionsCommand.d.ts +51 -0
  328. package/dist-types/ts3.4/commands/ListLayersCommand.d.ts +47 -0
  329. package/dist-types/ts3.4/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +51 -0
  330. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +47 -0
  331. package/dist-types/ts3.4/commands/ListVersionsByFunctionCommand.d.ts +51 -0
  332. package/dist-types/ts3.4/commands/PublishLayerVersionCommand.d.ts +51 -0
  333. package/dist-types/ts3.4/commands/PublishVersionCommand.d.ts +50 -0
  334. package/dist-types/ts3.4/commands/PutFunctionCodeSigningConfigCommand.d.ts +51 -0
  335. package/dist-types/ts3.4/commands/PutFunctionConcurrencyCommand.d.ts +48 -0
  336. package/dist-types/ts3.4/commands/PutFunctionEventInvokeConfigCommand.d.ts +51 -0
  337. package/dist-types/ts3.4/commands/PutFunctionRecursionConfigCommand.d.ts +51 -0
  338. package/dist-types/ts3.4/commands/PutFunctionScalingConfigCommand.d.ts +51 -0
  339. package/dist-types/ts3.4/commands/PutProvisionedConcurrencyConfigCommand.d.ts +51 -0
  340. package/dist-types/ts3.4/commands/PutRuntimeManagementConfigCommand.d.ts +51 -0
  341. package/dist-types/ts3.4/commands/RemoveLayerVersionPermissionCommand.d.ts +47 -0
  342. package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +45 -0
  343. package/dist-types/ts3.4/commands/SendDurableExecutionCallbackFailureCommand.d.ts +51 -0
  344. package/dist-types/ts3.4/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +51 -0
  345. package/dist-types/ts3.4/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +60 -0
  346. package/dist-types/ts3.4/commands/StopDurableExecutionCommand.d.ts +51 -0
  347. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
  348. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
  349. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +47 -0
  350. package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +51 -0
  351. package/dist-types/ts3.4/commands/UpdateCodeSigningConfigCommand.d.ts +51 -0
  352. package/dist-types/ts3.4/commands/UpdateEventSourceMappingCommand.d.ts +51 -0
  353. package/dist-types/ts3.4/commands/UpdateFunctionCodeCommand.d.ts +51 -0
  354. package/dist-types/ts3.4/commands/UpdateFunctionConfigurationCommand.d.ts +51 -0
  355. package/dist-types/ts3.4/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +51 -0
  356. package/dist-types/ts3.4/commands/UpdateFunctionUrlConfigCommand.d.ts +51 -0
  357. package/dist-types/ts3.4/commands/index.d.ts +85 -0
  358. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  359. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  360. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  361. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  362. package/dist-types/ts3.4/index.d.ts +13 -0
  363. package/dist-types/ts3.4/models/LambdaServiceException.d.ts +9 -0
  364. package/dist-types/ts3.4/models/enums.d.ts +425 -0
  365. package/dist-types/ts3.4/models/errors.d.ts +409 -0
  366. package/dist-types/ts3.4/models/models_0.d.ts +1499 -0
  367. package/dist-types/ts3.4/pagination/GetDurableExecutionHistoryPaginator.d.ts +11 -0
  368. package/dist-types/ts3.4/pagination/GetDurableExecutionStatePaginator.d.ts +11 -0
  369. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  370. package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +11 -0
  371. package/dist-types/ts3.4/pagination/ListCapacityProvidersPaginator.d.ts +11 -0
  372. package/dist-types/ts3.4/pagination/ListCodeSigningConfigsPaginator.d.ts +11 -0
  373. package/dist-types/ts3.4/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +11 -0
  374. package/dist-types/ts3.4/pagination/ListEventSourceMappingsPaginator.d.ts +11 -0
  375. package/dist-types/ts3.4/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts +11 -0
  376. package/dist-types/ts3.4/pagination/ListFunctionUrlConfigsPaginator.d.ts +11 -0
  377. package/dist-types/ts3.4/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +11 -0
  378. package/dist-types/ts3.4/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts +11 -0
  379. package/dist-types/ts3.4/pagination/ListFunctionsPaginator.d.ts +11 -0
  380. package/dist-types/ts3.4/pagination/ListLayerVersionsPaginator.d.ts +11 -0
  381. package/dist-types/ts3.4/pagination/ListLayersPaginator.d.ts +11 -0
  382. package/dist-types/ts3.4/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts +11 -0
  383. package/dist-types/ts3.4/pagination/ListVersionsByFunctionPaginator.d.ts +11 -0
  384. package/dist-types/ts3.4/pagination/index.d.ts +17 -0
  385. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +101 -0
  386. package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
  387. package/dist-types/ts3.4/runtimeConfig.native.d.ts +105 -0
  388. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  389. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  390. package/dist-types/ts3.4/schemas/schemas_0.d.ts +399 -0
  391. package/dist-types/ts3.4/waiters/index.d.ts +6 -0
  392. package/dist-types/ts3.4/waiters/waitForFunctionActive.d.ts +11 -0
  393. package/dist-types/ts3.4/waiters/waitForFunctionActiveV2.d.ts +11 -0
  394. package/dist-types/ts3.4/waiters/waitForFunctionExists.d.ts +11 -0
  395. package/dist-types/ts3.4/waiters/waitForFunctionUpdated.d.ts +11 -0
  396. package/dist-types/ts3.4/waiters/waitForFunctionUpdatedV2.d.ts +11 -0
  397. package/dist-types/ts3.4/waiters/waitForPublishedVersionActive.d.ts +11 -0
  398. package/dist-types/waiters/index.d.ts +6 -0
  399. package/dist-types/waiters/waitForFunctionActive.d.ts +14 -0
  400. package/dist-types/waiters/waitForFunctionActiveV2.d.ts +14 -0
  401. package/dist-types/waiters/waitForFunctionExists.d.ts +14 -0
  402. package/dist-types/waiters/waitForFunctionUpdated.d.ts +14 -0
  403. package/dist-types/waiters/waitForFunctionUpdatedV2.d.ts +14 -0
  404. package/dist-types/waiters/waitForPublishedVersionActive.d.ts +14 -0
  405. package/package.json +164 -0
@@ -0,0 +1,160 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
4
+ import type { PublishLayerVersionRequest, PublishLayerVersionResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PublishLayerVersionCommand}.
14
+ */
15
+ export interface PublishLayerVersionCommandInput extends PublishLayerVersionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PublishLayerVersionCommand}.
21
+ */
22
+ export interface PublishLayerVersionCommandOutput extends PublishLayerVersionResponse, __MetadataBearer {
23
+ }
24
+ declare const PublishLayerVersionCommand_base: {
25
+ new (input: PublishLayerVersionCommandInput): import("@smithy/smithy-client").CommandImpl<PublishLayerVersionCommandInput, PublishLayerVersionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: PublishLayerVersionCommandInput): import("@smithy/smithy-client").CommandImpl<PublishLayerVersionCommandInput, PublishLayerVersionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda layer</a> from a ZIP archive. Each time you call <code>PublishLayerVersion</code> with the same layer name, a new version is created.</p> <p>Add layers to your function with <a>CreateFunction</a> or <a>UpdateFunctionConfiguration</a>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LambdaClient, PublishLayerVersionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
35
+ * // const { LambdaClient, PublishLayerVersionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
36
+ * // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
37
+ * const config = {}; // type is LambdaClientConfig
38
+ * const client = new LambdaClient(config);
39
+ * const input = { // PublishLayerVersionRequest
40
+ * LayerName: "STRING_VALUE", // required
41
+ * Description: "STRING_VALUE",
42
+ * Content: { // LayerVersionContentInput
43
+ * S3Bucket: "STRING_VALUE",
44
+ * S3Key: "STRING_VALUE",
45
+ * S3ObjectVersion: "STRING_VALUE",
46
+ * ZipFile: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
47
+ * },
48
+ * CompatibleRuntimes: [ // CompatibleRuntimes
49
+ * "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "ruby3.4" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x" || "nodejs24.x" || "python3.14" || "java25" || "dotnet10",
50
+ * ],
51
+ * LicenseInfo: "STRING_VALUE",
52
+ * CompatibleArchitectures: [ // CompatibleArchitectures
53
+ * "x86_64" || "arm64",
54
+ * ],
55
+ * };
56
+ * const command = new PublishLayerVersionCommand(input);
57
+ * const response = await client.send(command);
58
+ * // { // PublishLayerVersionResponse
59
+ * // Content: { // LayerVersionContentOutput
60
+ * // Location: "STRING_VALUE",
61
+ * // CodeSha256: "STRING_VALUE",
62
+ * // CodeSize: Number("long"),
63
+ * // SigningProfileVersionArn: "STRING_VALUE",
64
+ * // SigningJobArn: "STRING_VALUE",
65
+ * // },
66
+ * // LayerArn: "STRING_VALUE",
67
+ * // LayerVersionArn: "STRING_VALUE",
68
+ * // Description: "STRING_VALUE",
69
+ * // CreatedDate: "STRING_VALUE",
70
+ * // Version: Number("long"),
71
+ * // CompatibleRuntimes: [ // CompatibleRuntimes
72
+ * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "ruby3.4" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x" || "nodejs24.x" || "python3.14" || "java25" || "dotnet10",
73
+ * // ],
74
+ * // LicenseInfo: "STRING_VALUE",
75
+ * // CompatibleArchitectures: [ // CompatibleArchitectures
76
+ * // "x86_64" || "arm64",
77
+ * // ],
78
+ * // };
79
+ *
80
+ * ```
81
+ *
82
+ * @param PublishLayerVersionCommandInput - {@link PublishLayerVersionCommandInput}
83
+ * @returns {@link PublishLayerVersionCommandOutput}
84
+ * @see {@link PublishLayerVersionCommandInput} for command's `input` shape.
85
+ * @see {@link PublishLayerVersionCommandOutput} for command's `response` shape.
86
+ * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
87
+ *
88
+ * @throws {@link CodeStorageExceededException} (client fault)
89
+ * <p>Your Amazon Web Services account has exceeded its maximum total code size. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
90
+ *
91
+ * @throws {@link InvalidParameterValueException} (client fault)
92
+ * <p>One of the parameters in the request is not valid.</p>
93
+ *
94
+ * @throws {@link ResourceNotFoundException} (client fault)
95
+ * <p>The resource specified in the request does not exist.</p>
96
+ *
97
+ * @throws {@link ServiceException} (server fault)
98
+ * <p>The Lambda service encountered an internal error.</p>
99
+ *
100
+ * @throws {@link TooManyRequestsException} (client fault)
101
+ * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
102
+ *
103
+ * @throws {@link LambdaServiceException}
104
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
105
+ *
106
+ *
107
+ * @example To create a Lambda layer version
108
+ * ```javascript
109
+ * // The following example creates a new Python library layer version. The command retrieves the layer content a file named layer.zip in the specified S3 bucket.
110
+ * const input = {
111
+ * CompatibleRuntimes: [
112
+ * "python3.6",
113
+ * "python3.7"
114
+ * ],
115
+ * Content: {
116
+ * S3Bucket: "lambda-layers-us-west-2-123456789012",
117
+ * S3Key: "layer.zip"
118
+ * },
119
+ * Description: "My Python layer",
120
+ * LayerName: "my-layer",
121
+ * LicenseInfo: "MIT"
122
+ * };
123
+ * const command = new PublishLayerVersionCommand(input);
124
+ * const response = await client.send(command);
125
+ * /* response is
126
+ * {
127
+ * CompatibleRuntimes: [
128
+ * "python3.6",
129
+ * "python3.7"
130
+ * ],
131
+ * Content: {
132
+ * CodeSha256: "tv9jJO+rPbXUUXuRKi7CwHzKtLDkDRJLB3cC3Z/ouXo=",
133
+ * CodeSize: 169,
134
+ * Location: "https://awslambda-us-west-2-layers.s3.us-west-2.amazonaws.com/snapshots/123456789012/my-layer-4aaa2fbb-ff77-4b0a-ad92-5b78a716a96a?versionId=27iWyA73cCAYqyH..."
135
+ * },
136
+ * CreatedDate: "2018-11-14T23:03:52.894+0000",
137
+ * Description: "My Python layer",
138
+ * LayerArn: "arn:aws:lambda:us-west-2:123456789012:layer:my-layer",
139
+ * LayerVersionArn: "arn:aws:lambda:us-west-2:123456789012:layer:my-layer:1",
140
+ * LicenseInfo: "MIT",
141
+ * Version: 1
142
+ * }
143
+ * *\/
144
+ * ```
145
+ *
146
+ * @public
147
+ */
148
+ export declare class PublishLayerVersionCommand extends PublishLayerVersionCommand_base {
149
+ /** @internal type navigation helper, not in runtime. */
150
+ protected static __types: {
151
+ api: {
152
+ input: PublishLayerVersionRequest;
153
+ output: PublishLayerVersionResponse;
154
+ };
155
+ sdk: {
156
+ input: PublishLayerVersionCommandInput;
157
+ output: PublishLayerVersionCommandOutput;
158
+ };
159
+ };
160
+ }
@@ -0,0 +1,258 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
4
+ import type { FunctionConfiguration, PublishVersionRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PublishVersionCommand}.
14
+ */
15
+ export interface PublishVersionCommandInput extends PublishVersionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PublishVersionCommand}.
21
+ */
22
+ export interface PublishVersionCommandOutput extends FunctionConfiguration, __MetadataBearer {
23
+ }
24
+ declare const PublishVersionCommand_base: {
25
+ new (input: PublishVersionCommandInput): import("@smithy/smithy-client").CommandImpl<PublishVersionCommandInput, PublishVersionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: PublishVersionCommandInput): import("@smithy/smithy-client").CommandImpl<PublishVersionCommandInput, PublishVersionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">version</a> from the current code and configuration of a function. Use versions to create a snapshot of your function code and configuration that doesn't change.</p> <p>Lambda doesn't publish a version if the function's configuration and code haven't changed since the last version. Use <a>UpdateFunctionCode</a> or <a>UpdateFunctionConfiguration</a> to update the function before publishing a version.</p> <p>Clients can invoke versions directly or with an alias. To create an alias, use <a>CreateAlias</a>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LambdaClient, PublishVersionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
35
+ * // const { LambdaClient, PublishVersionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
36
+ * // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
37
+ * const config = {}; // type is LambdaClientConfig
38
+ * const client = new LambdaClient(config);
39
+ * const input = { // PublishVersionRequest
40
+ * FunctionName: "STRING_VALUE", // required
41
+ * CodeSha256: "STRING_VALUE",
42
+ * Description: "STRING_VALUE",
43
+ * RevisionId: "STRING_VALUE",
44
+ * PublishTo: "LATEST_PUBLISHED",
45
+ * };
46
+ * const command = new PublishVersionCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // FunctionConfiguration
49
+ * // FunctionName: "STRING_VALUE",
50
+ * // FunctionArn: "STRING_VALUE",
51
+ * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "ruby3.4" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x" || "nodejs24.x" || "python3.14" || "java25" || "dotnet10",
52
+ * // Role: "STRING_VALUE",
53
+ * // Handler: "STRING_VALUE",
54
+ * // CodeSize: Number("long"),
55
+ * // Description: "STRING_VALUE",
56
+ * // Timeout: Number("int"),
57
+ * // MemorySize: Number("int"),
58
+ * // LastModified: "STRING_VALUE",
59
+ * // CodeSha256: "STRING_VALUE",
60
+ * // Version: "STRING_VALUE",
61
+ * // VpcConfig: { // VpcConfigResponse
62
+ * // SubnetIds: [ // SubnetIds
63
+ * // "STRING_VALUE",
64
+ * // ],
65
+ * // SecurityGroupIds: [ // SecurityGroupIds
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // VpcId: "STRING_VALUE",
69
+ * // Ipv6AllowedForDualStack: true || false,
70
+ * // },
71
+ * // DeadLetterConfig: { // DeadLetterConfig
72
+ * // TargetArn: "STRING_VALUE",
73
+ * // },
74
+ * // Environment: { // EnvironmentResponse
75
+ * // Variables: { // EnvironmentVariables
76
+ * // "<keys>": "STRING_VALUE",
77
+ * // },
78
+ * // Error: { // EnvironmentError
79
+ * // ErrorCode: "STRING_VALUE",
80
+ * // Message: "STRING_VALUE",
81
+ * // },
82
+ * // },
83
+ * // KMSKeyArn: "STRING_VALUE",
84
+ * // TracingConfig: { // TracingConfigResponse
85
+ * // Mode: "Active" || "PassThrough",
86
+ * // },
87
+ * // MasterArn: "STRING_VALUE",
88
+ * // RevisionId: "STRING_VALUE",
89
+ * // Layers: [ // LayersReferenceList
90
+ * // { // Layer
91
+ * // Arn: "STRING_VALUE",
92
+ * // CodeSize: Number("long"),
93
+ * // SigningProfileVersionArn: "STRING_VALUE",
94
+ * // SigningJobArn: "STRING_VALUE",
95
+ * // },
96
+ * // ],
97
+ * // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
98
+ * // StateReason: "STRING_VALUE",
99
+ * // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "DrainingDurableExecutions" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl",
100
+ * // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
101
+ * // LastUpdateStatusReason: "STRING_VALUE",
102
+ * // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl",
103
+ * // FileSystemConfigs: [ // FileSystemConfigList
104
+ * // { // FileSystemConfig
105
+ * // Arn: "STRING_VALUE", // required
106
+ * // LocalMountPath: "STRING_VALUE", // required
107
+ * // },
108
+ * // ],
109
+ * // PackageType: "Zip" || "Image",
110
+ * // ImageConfigResponse: { // ImageConfigResponse
111
+ * // ImageConfig: { // ImageConfig
112
+ * // EntryPoint: [ // StringList
113
+ * // "STRING_VALUE",
114
+ * // ],
115
+ * // Command: [
116
+ * // "STRING_VALUE",
117
+ * // ],
118
+ * // WorkingDirectory: "STRING_VALUE",
119
+ * // },
120
+ * // Error: { // ImageConfigError
121
+ * // ErrorCode: "STRING_VALUE",
122
+ * // Message: "STRING_VALUE",
123
+ * // },
124
+ * // },
125
+ * // SigningProfileVersionArn: "STRING_VALUE",
126
+ * // SigningJobArn: "STRING_VALUE",
127
+ * // Architectures: [ // ArchitecturesList
128
+ * // "x86_64" || "arm64",
129
+ * // ],
130
+ * // EphemeralStorage: { // EphemeralStorage
131
+ * // Size: Number("int"), // required
132
+ * // },
133
+ * // SnapStart: { // SnapStartResponse
134
+ * // ApplyOn: "PublishedVersions" || "None",
135
+ * // OptimizationStatus: "On" || "Off",
136
+ * // },
137
+ * // RuntimeVersionConfig: { // RuntimeVersionConfig
138
+ * // RuntimeVersionArn: "STRING_VALUE",
139
+ * // Error: { // RuntimeVersionError
140
+ * // ErrorCode: "STRING_VALUE",
141
+ * // Message: "STRING_VALUE",
142
+ * // },
143
+ * // },
144
+ * // LoggingConfig: { // LoggingConfig
145
+ * // LogFormat: "JSON" || "Text",
146
+ * // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL",
147
+ * // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
148
+ * // LogGroup: "STRING_VALUE",
149
+ * // },
150
+ * // CapacityProviderConfig: { // CapacityProviderConfig
151
+ * // LambdaManagedInstancesCapacityProviderConfig: { // LambdaManagedInstancesCapacityProviderConfig
152
+ * // CapacityProviderArn: "STRING_VALUE", // required
153
+ * // PerExecutionEnvironmentMaxConcurrency: Number("int"),
154
+ * // ExecutionEnvironmentMemoryGiBPerVCpu: Number("double"),
155
+ * // },
156
+ * // },
157
+ * // ConfigSha256: "STRING_VALUE",
158
+ * // DurableConfig: { // DurableConfig
159
+ * // RetentionPeriodInDays: Number("int"),
160
+ * // ExecutionTimeout: Number("int"),
161
+ * // },
162
+ * // TenancyConfig: { // TenancyConfig
163
+ * // TenantIsolationMode: "PER_TENANT", // required
164
+ * // },
165
+ * // };
166
+ *
167
+ * ```
168
+ *
169
+ * @param PublishVersionCommandInput - {@link PublishVersionCommandInput}
170
+ * @returns {@link PublishVersionCommandOutput}
171
+ * @see {@link PublishVersionCommandInput} for command's `input` shape.
172
+ * @see {@link PublishVersionCommandOutput} for command's `response` shape.
173
+ * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
174
+ *
175
+ * @throws {@link CodeStorageExceededException} (client fault)
176
+ * <p>Your Amazon Web Services account has exceeded its maximum total code size. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
177
+ *
178
+ * @throws {@link FunctionVersionsPerCapacityProviderLimitExceededException} (client fault)
179
+ * <p>The maximum number of function versions that can be associated with a single capacity provider has been exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
180
+ *
181
+ * @throws {@link InvalidParameterValueException} (client fault)
182
+ * <p>One of the parameters in the request is not valid.</p>
183
+ *
184
+ * @throws {@link PreconditionFailedException} (client fault)
185
+ * <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.</p> <ul> <li> <p> <b>For AddPermission and RemovePermission API operations:</b> Call <code>GetPolicy</code> to retrieve the latest RevisionId for your resource.</p> </li> <li> <p> <b>For all other API operations:</b> Call <code>GetFunction</code> or <code>GetAlias</code> to retrieve the latest RevisionId for your resource.</p> </li> </ul>
186
+ *
187
+ * @throws {@link ResourceConflictException} (client fault)
188
+ * <p>The resource already exists, or another operation is in progress.</p>
189
+ *
190
+ * @throws {@link ResourceNotFoundException} (client fault)
191
+ * <p>The resource specified in the request does not exist.</p>
192
+ *
193
+ * @throws {@link ServiceException} (server fault)
194
+ * <p>The Lambda service encountered an internal error.</p>
195
+ *
196
+ * @throws {@link TooManyRequestsException} (client fault)
197
+ * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
198
+ *
199
+ * @throws {@link LambdaServiceException}
200
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
201
+ *
202
+ *
203
+ * @example To publish a version of a Lambda function
204
+ * ```javascript
205
+ * // This operation publishes a version of a Lambda function
206
+ * const input = {
207
+ * CodeSha256: "",
208
+ * Description: "",
209
+ * FunctionName: "myFunction"
210
+ * };
211
+ * const command = new PublishVersionCommand(input);
212
+ * const response = await client.send(command);
213
+ * /* response is
214
+ * {
215
+ * CodeSha256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
216
+ * CodeSize: 5797206,
217
+ * Description: "Process image objects from Amazon S3.",
218
+ * Environment: {
219
+ * Variables: {
220
+ * BUCKET: "my-bucket-1xpuxmplzrlbh",
221
+ * PREFIX: "inbound"
222
+ * }
223
+ * },
224
+ * FunctionArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
225
+ * FunctionName: "my-function",
226
+ * Handler: "index.handler",
227
+ * KMSKeyArn: "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
228
+ * LastModified: "2020-04-10T19:06:32.563+0000",
229
+ * LastUpdateStatus: "Successful",
230
+ * MemorySize: 256,
231
+ * RevisionId: "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
232
+ * Role: "arn:aws:iam::123456789012:role/lambda-role",
233
+ * Runtime: "nodejs12.x",
234
+ * State: "Active",
235
+ * Timeout: 5,
236
+ * TracingConfig: {
237
+ * Mode: "Active"
238
+ * },
239
+ * Version: "1"
240
+ * }
241
+ * *\/
242
+ * ```
243
+ *
244
+ * @public
245
+ */
246
+ export declare class PublishVersionCommand extends PublishVersionCommand_base {
247
+ /** @internal type navigation helper, not in runtime. */
248
+ protected static __types: {
249
+ api: {
250
+ input: PublishVersionRequest;
251
+ output: FunctionConfiguration;
252
+ };
253
+ sdk: {
254
+ input: PublishVersionCommandInput;
255
+ output: PublishVersionCommandOutput;
256
+ };
257
+ };
258
+ }
@@ -0,0 +1,94 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
4
+ import type { PutFunctionCodeSigningConfigRequest, PutFunctionCodeSigningConfigResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutFunctionCodeSigningConfigCommand}.
14
+ */
15
+ export interface PutFunctionCodeSigningConfigCommandInput extends PutFunctionCodeSigningConfigRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutFunctionCodeSigningConfigCommand}.
21
+ */
22
+ export interface PutFunctionCodeSigningConfigCommandOutput extends PutFunctionCodeSigningConfigResponse, __MetadataBearer {
23
+ }
24
+ declare const PutFunctionCodeSigningConfigCommand_base: {
25
+ new (input: PutFunctionCodeSigningConfigCommandInput): import("@smithy/smithy-client").CommandImpl<PutFunctionCodeSigningConfigCommandInput, PutFunctionCodeSigningConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: PutFunctionCodeSigningConfigCommandInput): import("@smithy/smithy-client").CommandImpl<PutFunctionCodeSigningConfigCommandInput, PutFunctionCodeSigningConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Update the code signing configuration for the function. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the function. </p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LambdaClient, PutFunctionCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
35
+ * // const { LambdaClient, PutFunctionCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
36
+ * // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
37
+ * const config = {}; // type is LambdaClientConfig
38
+ * const client = new LambdaClient(config);
39
+ * const input = { // PutFunctionCodeSigningConfigRequest
40
+ * CodeSigningConfigArn: "STRING_VALUE", // required
41
+ * FunctionName: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new PutFunctionCodeSigningConfigCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // PutFunctionCodeSigningConfigResponse
46
+ * // CodeSigningConfigArn: "STRING_VALUE", // required
47
+ * // FunctionName: "STRING_VALUE", // required
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param PutFunctionCodeSigningConfigCommandInput - {@link PutFunctionCodeSigningConfigCommandInput}
53
+ * @returns {@link PutFunctionCodeSigningConfigCommandOutput}
54
+ * @see {@link PutFunctionCodeSigningConfigCommandInput} for command's `input` shape.
55
+ * @see {@link PutFunctionCodeSigningConfigCommandOutput} for command's `response` shape.
56
+ * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
57
+ *
58
+ * @throws {@link CodeSigningConfigNotFoundException} (client fault)
59
+ * <p>The specified code signing configuration does not exist.</p>
60
+ *
61
+ * @throws {@link InvalidParameterValueException} (client fault)
62
+ * <p>One of the parameters in the request is not valid.</p>
63
+ *
64
+ * @throws {@link ResourceConflictException} (client fault)
65
+ * <p>The resource already exists, or another operation is in progress.</p>
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>The resource specified in the request does not exist.</p>
69
+ *
70
+ * @throws {@link ServiceException} (server fault)
71
+ * <p>The Lambda service encountered an internal error.</p>
72
+ *
73
+ * @throws {@link TooManyRequestsException} (client fault)
74
+ * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
75
+ *
76
+ * @throws {@link LambdaServiceException}
77
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class PutFunctionCodeSigningConfigCommand extends PutFunctionCodeSigningConfigCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: PutFunctionCodeSigningConfigRequest;
87
+ output: PutFunctionCodeSigningConfigResponse;
88
+ };
89
+ sdk: {
90
+ input: PutFunctionCodeSigningConfigCommandInput;
91
+ output: PutFunctionCodeSigningConfigCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -0,0 +1,106 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
4
+ import type { Concurrency, PutFunctionConcurrencyRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutFunctionConcurrencyCommand}.
14
+ */
15
+ export interface PutFunctionConcurrencyCommandInput extends PutFunctionConcurrencyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutFunctionConcurrencyCommand}.
21
+ */
22
+ export interface PutFunctionConcurrencyCommandOutput extends Concurrency, __MetadataBearer {
23
+ }
24
+ declare const PutFunctionConcurrencyCommand_base: {
25
+ new (input: PutFunctionConcurrencyCommandInput): import("@smithy/smithy-client").CommandImpl<PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: PutFunctionConcurrencyCommandInput): import("@smithy/smithy-client").CommandImpl<PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency level.</p> <p>Concurrency settings apply to the function as a whole, including all published versions and the unpublished version. Reserving concurrency both ensures that your function has capacity to process the specified number of events simultaneously, and prevents it from scaling beyond that level. Use <a>GetFunction</a> to see the current setting for a function.</p> <p>Use <a>GetAccountSettings</a> to see your Regional concurrency limit. You can reserve concurrency for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for functions that aren't configured with a per-function limit. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-scaling.html">Lambda function scaling</a>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LambdaClient, PutFunctionConcurrencyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
35
+ * // const { LambdaClient, PutFunctionConcurrencyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
36
+ * // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
37
+ * const config = {}; // type is LambdaClientConfig
38
+ * const client = new LambdaClient(config);
39
+ * const input = { // PutFunctionConcurrencyRequest
40
+ * FunctionName: "STRING_VALUE", // required
41
+ * ReservedConcurrentExecutions: Number("int"), // required
42
+ * };
43
+ * const command = new PutFunctionConcurrencyCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // Concurrency
46
+ * // ReservedConcurrentExecutions: Number("int"),
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param PutFunctionConcurrencyCommandInput - {@link PutFunctionConcurrencyCommandInput}
52
+ * @returns {@link PutFunctionConcurrencyCommandOutput}
53
+ * @see {@link PutFunctionConcurrencyCommandInput} for command's `input` shape.
54
+ * @see {@link PutFunctionConcurrencyCommandOutput} for command's `response` shape.
55
+ * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
56
+ *
57
+ * @throws {@link InvalidParameterValueException} (client fault)
58
+ * <p>One of the parameters in the request is not valid.</p>
59
+ *
60
+ * @throws {@link ResourceConflictException} (client fault)
61
+ * <p>The resource already exists, or another operation is in progress.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The resource specified in the request does not exist.</p>
65
+ *
66
+ * @throws {@link ServiceException} (server fault)
67
+ * <p>The Lambda service encountered an internal error.</p>
68
+ *
69
+ * @throws {@link TooManyRequestsException} (client fault)
70
+ * <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
71
+ *
72
+ * @throws {@link LambdaServiceException}
73
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
74
+ *
75
+ *
76
+ * @example To configure a reserved concurrency limit for a function
77
+ * ```javascript
78
+ * // The following example configures 100 reserved concurrent executions for the my-function function.
79
+ * const input = {
80
+ * FunctionName: "my-function",
81
+ * ReservedConcurrentExecutions: 100
82
+ * };
83
+ * const command = new PutFunctionConcurrencyCommand(input);
84
+ * const response = await client.send(command);
85
+ * /* response is
86
+ * {
87
+ * ReservedConcurrentExecutions: 100
88
+ * }
89
+ * *\/
90
+ * ```
91
+ *
92
+ * @public
93
+ */
94
+ export declare class PutFunctionConcurrencyCommand extends PutFunctionConcurrencyCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: PutFunctionConcurrencyRequest;
99
+ output: Concurrency;
100
+ };
101
+ sdk: {
102
+ input: PutFunctionConcurrencyCommandInput;
103
+ output: PutFunctionConcurrencyCommandOutput;
104
+ };
105
+ };
106
+ }