@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,89 @@
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 { GetRuntimeManagementConfigRequest, GetRuntimeManagementConfigResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetRuntimeManagementConfigCommand}.
14
+ */
15
+ export interface GetRuntimeManagementConfigCommandInput extends GetRuntimeManagementConfigRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetRuntimeManagementConfigCommand}.
21
+ */
22
+ export interface GetRuntimeManagementConfigCommandOutput extends GetRuntimeManagementConfigResponse, __MetadataBearer {
23
+ }
24
+ declare const GetRuntimeManagementConfigCommand_base: {
25
+ new (input: GetRuntimeManagementConfigCommandInput): import("@smithy/smithy-client").CommandImpl<GetRuntimeManagementConfigCommandInput, GetRuntimeManagementConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetRuntimeManagementConfigCommandInput): import("@smithy/smithy-client").CommandImpl<GetRuntimeManagementConfigCommandInput, GetRuntimeManagementConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves the runtime management configuration for a function's version. If the runtime update mode is <b>Manual</b>, this includes the ARN of the runtime version and the runtime update mode. If the runtime update mode is <b>Auto</b> or <b>Function update</b>, this includes the runtime update mode and <code>null</code> is returned for the ARN. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html">Runtime updates</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, GetRuntimeManagementConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
35
+ * // const { LambdaClient, GetRuntimeManagementConfigCommand } = 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 = { // GetRuntimeManagementConfigRequest
40
+ * FunctionName: "STRING_VALUE", // required
41
+ * Qualifier: "STRING_VALUE",
42
+ * };
43
+ * const command = new GetRuntimeManagementConfigCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // GetRuntimeManagementConfigResponse
46
+ * // UpdateRuntimeOn: "Auto" || "Manual" || "FunctionUpdate",
47
+ * // RuntimeVersionArn: "STRING_VALUE",
48
+ * // FunctionArn: "STRING_VALUE",
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param GetRuntimeManagementConfigCommandInput - {@link GetRuntimeManagementConfigCommandInput}
54
+ * @returns {@link GetRuntimeManagementConfigCommandOutput}
55
+ * @see {@link GetRuntimeManagementConfigCommandInput} for command's `input` shape.
56
+ * @see {@link GetRuntimeManagementConfigCommandOutput} for command's `response` shape.
57
+ * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
58
+ *
59
+ * @throws {@link InvalidParameterValueException} (client fault)
60
+ * <p>One of the parameters in the request is not valid.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>The resource specified in the request does not exist.</p>
64
+ *
65
+ * @throws {@link ServiceException} (server fault)
66
+ * <p>The Lambda service encountered an internal error.</p>
67
+ *
68
+ * @throws {@link TooManyRequestsException} (client fault)
69
+ * <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>
70
+ *
71
+ * @throws {@link LambdaServiceException}
72
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
73
+ *
74
+ *
75
+ * @public
76
+ */
77
+ export declare class GetRuntimeManagementConfigCommand extends GetRuntimeManagementConfigCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: GetRuntimeManagementConfigRequest;
82
+ output: GetRuntimeManagementConfigResponse;
83
+ };
84
+ sdk: {
85
+ input: GetRuntimeManagementConfigCommandInput;
86
+ output: GetRuntimeManagementConfigCommandOutput;
87
+ };
88
+ };
89
+ }
@@ -0,0 +1,109 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } from "@smithy/types";
3
+ import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
4
+ import { type InvokeAsyncResponse, InvokeAsyncRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link InvokeAsyncCommand}.
14
+ */
15
+ export interface InvokeAsyncCommandInput extends Omit<InvokeAsyncRequest, "InvokeArgs"> {
16
+ InvokeArgs: StreamingBlobPayloadInputTypes;
17
+ }
18
+ /**
19
+ * @public
20
+ *
21
+ * The output of {@link InvokeAsyncCommand}.
22
+ */
23
+ export interface InvokeAsyncCommandOutput extends InvokeAsyncResponse, __MetadataBearer {
24
+ }
25
+ declare const InvokeAsyncCommand_base: {
26
+ new (input: InvokeAsyncCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeAsyncCommandInput, InvokeAsyncCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ new (input: InvokeAsyncCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeAsyncCommandInput, InvokeAsyncCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ /**
31
+ * <note> <p>For asynchronous function invocation, use <a>Invoke</a>.</p> </note> <p>Invokes a function asynchronously.</p> <note> <p>The payload limit is 256KB. For larger payloads, for up to 1MB, use <a>Invoke</a>.</p> </note> <note> <p>If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not propagated to the function, even if X-Ray active tracing is turned on.</p> </note>
32
+ *
33
+ * @deprecated deprecated.
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { LambdaClient, InvokeAsyncCommand } from "@aws-sdk/client-lambda"; // ES Modules import
38
+ * // const { LambdaClient, InvokeAsyncCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
39
+ * // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
40
+ * const config = {}; // type is LambdaClientConfig
41
+ * const client = new LambdaClient(config);
42
+ * const input = { // InvokeAsyncRequest
43
+ * FunctionName: "STRING_VALUE", // required
44
+ * InvokeArgs: "MULTIPLE_TYPES_ACCEPTED", // see \@smithy/types -> StreamingBlobPayloadInputTypes // required
45
+ * };
46
+ * const command = new InvokeAsyncCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // InvokeAsyncResponse
49
+ * // Status: Number("int"),
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param InvokeAsyncCommandInput - {@link InvokeAsyncCommandInput}
55
+ * @returns {@link InvokeAsyncCommandOutput}
56
+ * @see {@link InvokeAsyncCommandInput} for command's `input` shape.
57
+ * @see {@link InvokeAsyncCommandOutput} for command's `response` shape.
58
+ * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
59
+ *
60
+ * @throws {@link InvalidRequestContentException} (client fault)
61
+ * <p>The request body could not be parsed as JSON, or a request header is invalid. For example, the 'x-amzn-RequestId' header is not a valid UUID string.</p>
62
+ *
63
+ * @throws {@link InvalidRuntimeException} (server fault)
64
+ * <p>The runtime or runtime version specified is not supported.</p>
65
+ *
66
+ * @throws {@link ResourceConflictException} (client fault)
67
+ * <p>The resource already exists, or another operation is in progress.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>The resource specified in the request does not exist.</p>
71
+ *
72
+ * @throws {@link ServiceException} (server fault)
73
+ * <p>The Lambda service encountered an internal error.</p>
74
+ *
75
+ * @throws {@link LambdaServiceException}
76
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
77
+ *
78
+ *
79
+ * @example To invoke a Lambda function asynchronously
80
+ * ```javascript
81
+ * // The following example invokes a Lambda function asynchronously
82
+ * const input = {
83
+ * FunctionName: "my-function",
84
+ * InvokeArgs: "{}"
85
+ * };
86
+ * const command = new InvokeAsyncCommand(input);
87
+ * const response = await client.send(command);
88
+ * /* response is
89
+ * {
90
+ * Status: 202
91
+ * }
92
+ * *\/
93
+ * ```
94
+ *
95
+ * @public
96
+ */
97
+ export declare class InvokeAsyncCommand extends InvokeAsyncCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: InvokeAsyncRequest;
102
+ output: InvokeAsyncResponse;
103
+ };
104
+ sdk: {
105
+ input: InvokeAsyncCommandInput;
106
+ output: InvokeAsyncCommandOutput;
107
+ };
108
+ };
109
+ }
@@ -0,0 +1,237 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
4
+ import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
5
+ import { InvocationRequest, InvocationResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export type { __MetadataBearer };
10
+ export { $Command };
11
+ /**
12
+ * @public
13
+ */
14
+ export type InvokeCommandInputType = Omit<InvocationRequest, "Payload"> & {
15
+ Payload?: BlobPayloadInputTypes;
16
+ };
17
+ /**
18
+ * @public
19
+ *
20
+ * The input for {@link InvokeCommand}.
21
+ */
22
+ export interface InvokeCommandInput extends InvokeCommandInputType {
23
+ }
24
+ /**
25
+ * @public
26
+ */
27
+ export type InvokeCommandOutputType = Omit<InvocationResponse, "Payload"> & {
28
+ Payload?: Uint8ArrayBlobAdapter;
29
+ };
30
+ /**
31
+ * @public
32
+ *
33
+ * The output of {@link InvokeCommand}.
34
+ */
35
+ export interface InvokeCommandOutput extends InvokeCommandOutputType, __MetadataBearer {
36
+ }
37
+ declare const InvokeCommand_base: {
38
+ new (input: InvokeCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeCommandInput, InvokeCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
39
+ new (input: InvokeCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeCommandInput, InvokeCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
40
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
41
+ };
42
+ /**
43
+ * <p>Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. By default, Lambda invokes your function synchronously (i.e. the<code>InvocationType</code> is <code>RequestResponse</code>). To invoke a function asynchronously, set <code>InvocationType</code> to <code>Event</code>. Lambda passes the <code>ClientContext</code> object to your function for synchronous invocations only.</p> <p>For synchronous invocations, the maximum payload size is 6 MB. For asynchronous invocations, the maximum payload size is 1 MB.</p> <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-sync.html">synchronous invocation</a>, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the <a href="https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions.html">execution log</a> and <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html">trace</a>.</p> <p>When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-retries.html">Error handling and automatic retries in Lambda</a>.</p> <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html">asynchronous invocation</a>, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq">dead-letter queue</a>.</p> <p>The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">quota</a> errors, or issues with your function's code and configuration. For example, Lambda returns <code>TooManyRequestsException</code> if running the function would cause you to exceed a concurrency limit at either the account level (<code>ConcurrentInvocationLimitExceeded</code>) or function level (<code>ReservedFunctionConcurrentInvocationLimitExceeded</code>).</p> <p>For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings.</p> <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action. For details on how to set up permissions for cross-account invocations, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke">Granting function access to other accounts</a>.</p>
44
+ * @example
45
+ * Use a bare-bones client and the command you need to make an API call.
46
+ * ```javascript
47
+ * import { LambdaClient, InvokeCommand } from "@aws-sdk/client-lambda"; // ES Modules import
48
+ * // const { LambdaClient, InvokeCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
49
+ * // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
50
+ * const config = {}; // type is LambdaClientConfig
51
+ * const client = new LambdaClient(config);
52
+ * const input = { // InvocationRequest
53
+ * FunctionName: "STRING_VALUE", // required
54
+ * InvocationType: "Event" || "RequestResponse" || "DryRun",
55
+ * LogType: "None" || "Tail",
56
+ * ClientContext: "STRING_VALUE",
57
+ * DurableExecutionName: "STRING_VALUE",
58
+ * Payload: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
59
+ * Qualifier: "STRING_VALUE",
60
+ * TenantId: "STRING_VALUE",
61
+ * };
62
+ * const command = new InvokeCommand(input);
63
+ * const response = await client.send(command);
64
+ * // { // InvocationResponse
65
+ * // StatusCode: Number("int"),
66
+ * // FunctionError: "STRING_VALUE",
67
+ * // LogResult: "STRING_VALUE",
68
+ * // Payload: new Uint8Array(),
69
+ * // ExecutedVersion: "STRING_VALUE",
70
+ * // DurableExecutionArn: "STRING_VALUE",
71
+ * // };
72
+ *
73
+ * ```
74
+ *
75
+ * @param InvokeCommandInput - {@link InvokeCommandInput}
76
+ * @returns {@link InvokeCommandOutput}
77
+ * @see {@link InvokeCommandInput} for command's `input` shape.
78
+ * @see {@link InvokeCommandOutput} for command's `response` shape.
79
+ * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
80
+ *
81
+ * @throws {@link DurableExecutionAlreadyStartedException} (client fault)
82
+ * <p>The durable execution with the specified name has already been started. Each durable execution name must be unique within the function. Use a different name or check the status of the existing execution.</p>
83
+ *
84
+ * @throws {@link EC2AccessDeniedException} (server fault)
85
+ * <p>Need additional permissions to configure VPC settings.</p>
86
+ *
87
+ * @throws {@link EC2ThrottledException} (server fault)
88
+ * <p>Amazon EC2 throttled Lambda during Lambda function initialization using the execution role provided for the function.</p>
89
+ *
90
+ * @throws {@link EC2UnexpectedException} (server fault)
91
+ * <p>Lambda received an unexpected Amazon EC2 client exception while setting up for the Lambda function.</p>
92
+ *
93
+ * @throws {@link EFSIOException} (client fault)
94
+ * <p>An error occurred when reading from or writing to a connected file system.</p>
95
+ *
96
+ * @throws {@link EFSMountConnectivityException} (client fault)
97
+ * <p>The Lambda function couldn't make a network connection to the configured file system.</p>
98
+ *
99
+ * @throws {@link EFSMountFailureException} (client fault)
100
+ * <p>The Lambda function couldn't mount the configured file system due to a permission or configuration issue.</p>
101
+ *
102
+ * @throws {@link EFSMountTimeoutException} (client fault)
103
+ * <p>The Lambda function made a network connection to the configured file system, but the mount operation timed out.</p>
104
+ *
105
+ * @throws {@link ENILimitReachedException} (server fault)
106
+ * <p>Lambda couldn't create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
107
+ *
108
+ * @throws {@link InvalidParameterValueException} (client fault)
109
+ * <p>One of the parameters in the request is not valid.</p>
110
+ *
111
+ * @throws {@link InvalidRequestContentException} (client fault)
112
+ * <p>The request body could not be parsed as JSON, or a request header is invalid. For example, the 'x-amzn-RequestId' header is not a valid UUID string.</p>
113
+ *
114
+ * @throws {@link InvalidRuntimeException} (server fault)
115
+ * <p>The runtime or runtime version specified is not supported.</p>
116
+ *
117
+ * @throws {@link InvalidSecurityGroupIDException} (server fault)
118
+ * <p>The security group ID provided in the Lambda function VPC configuration is not valid.</p>
119
+ *
120
+ * @throws {@link InvalidSubnetIDException} (server fault)
121
+ * <p>The subnet ID provided in the Lambda function VPC configuration is not valid.</p>
122
+ *
123
+ * @throws {@link InvalidZipFileException} (server fault)
124
+ * <p>Lambda could not unzip the deployment package.</p>
125
+ *
126
+ * @throws {@link KMSAccessDeniedException} (server fault)
127
+ * <p>Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.</p>
128
+ *
129
+ * @throws {@link KMSDisabledException} (server fault)
130
+ * <p>Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.</p>
131
+ *
132
+ * @throws {@link KMSInvalidStateException} (server fault)
133
+ * <p>Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.</p>
134
+ *
135
+ * @throws {@link KMSNotFoundException} (server fault)
136
+ * <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
137
+ *
138
+ * @throws {@link NoPublishedVersionException} (client fault)
139
+ * <p>The function has no published versions available.</p>
140
+ *
141
+ * @throws {@link RecursiveInvocationException} (client fault)
142
+ * <p>Lambda has detected your function being invoked in a recursive loop with other Amazon Web Services resources and stopped your function's invocation.</p>
143
+ *
144
+ * @throws {@link RequestTooLargeException} (client fault)
145
+ * <p>The request payload exceeded the <code>Invoke</code> request body JSON input quota. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
146
+ *
147
+ * @throws {@link ResourceConflictException} (client fault)
148
+ * <p>The resource already exists, or another operation is in progress.</p>
149
+ *
150
+ * @throws {@link ResourceNotFoundException} (client fault)
151
+ * <p>The resource specified in the request does not exist.</p>
152
+ *
153
+ * @throws {@link ResourceNotReadyException} (server fault)
154
+ * <p>The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to reestablish and try again.</p>
155
+ *
156
+ * @throws {@link SerializedRequestEntityTooLargeException} (client fault)
157
+ * <p>The request payload exceeded the maximum allowed size for serialized request entities.</p>
158
+ *
159
+ * @throws {@link ServiceException} (server fault)
160
+ * <p>The Lambda service encountered an internal error.</p>
161
+ *
162
+ * @throws {@link SnapStartException} (client fault)
163
+ * <p>The <code>afterRestore()</code> <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html">runtime hook</a> encountered an error. For more information, check the Amazon CloudWatch logs.</p>
164
+ *
165
+ * @throws {@link SnapStartNotReadyException} (client fault)
166
+ * <p>Lambda is initializing your function. You can invoke the function when the <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">function state</a> becomes <code>Active</code>.</p>
167
+ *
168
+ * @throws {@link SnapStartTimeoutException} (client fault)
169
+ * <p>Lambda couldn't restore the snapshot within the timeout limit.</p>
170
+ *
171
+ * @throws {@link SubnetIPAddressLimitReachedException} (server fault)
172
+ * <p>Lambda couldn't set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.</p>
173
+ *
174
+ * @throws {@link TooManyRequestsException} (client fault)
175
+ * <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>
176
+ *
177
+ * @throws {@link UnsupportedMediaTypeException} (client fault)
178
+ * <p>The content type of the <code>Invoke</code> request body is not JSON.</p>
179
+ *
180
+ * @throws {@link LambdaServiceException}
181
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
182
+ *
183
+ *
184
+ * @example To invoke a Lambda function
185
+ * ```javascript
186
+ * // The following example invokes version 1 of a function named my-function with an empty event payload.
187
+ * const input = {
188
+ * DurableExecutionName: "myExecution",
189
+ * FunctionName: "my-function",
190
+ * InvocationType: "Event",
191
+ * Payload: "{}",
192
+ * Qualifier: "1"
193
+ * };
194
+ * const command = new InvokeCommand(input);
195
+ * const response = await client.send(command);
196
+ * /* response is
197
+ * {
198
+ * Payload: "200 SUCCESS",
199
+ * StatusCode: 200
200
+ * }
201
+ * *\/
202
+ * ```
203
+ *
204
+ * @example To invoke a Lambda function asynchronously
205
+ * ```javascript
206
+ * // The following example invokes version 1 of a function named my-function asynchronously.
207
+ * const input = {
208
+ * FunctionName: "my-function",
209
+ * InvocationType: "Event",
210
+ * Payload: "{}",
211
+ * Qualifier: "1"
212
+ * };
213
+ * const command = new InvokeCommand(input);
214
+ * const response = await client.send(command);
215
+ * /* response is
216
+ * {
217
+ * Payload: "",
218
+ * StatusCode: 202
219
+ * }
220
+ * *\/
221
+ * ```
222
+ *
223
+ * @public
224
+ */
225
+ export declare class InvokeCommand extends InvokeCommand_base {
226
+ /** @internal type navigation helper, not in runtime. */
227
+ protected static __types: {
228
+ api: {
229
+ input: InvocationRequest;
230
+ output: InvocationResponse;
231
+ };
232
+ sdk: {
233
+ input: InvokeCommandInput;
234
+ output: InvokeCommandOutput;
235
+ };
236
+ };
237
+ }
@@ -0,0 +1,194 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { BlobPayloadInputTypes, MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
4
+ import { type InvokeWithResponseStreamResponse, InvokeWithResponseStreamRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ */
13
+ export type InvokeWithResponseStreamCommandInputType = Omit<InvokeWithResponseStreamRequest, "Payload"> & {
14
+ Payload?: BlobPayloadInputTypes;
15
+ };
16
+ /**
17
+ * @public
18
+ *
19
+ * The input for {@link InvokeWithResponseStreamCommand}.
20
+ */
21
+ export interface InvokeWithResponseStreamCommandInput extends InvokeWithResponseStreamCommandInputType {
22
+ }
23
+ /**
24
+ * @public
25
+ *
26
+ * The output of {@link InvokeWithResponseStreamCommand}.
27
+ */
28
+ export interface InvokeWithResponseStreamCommandOutput extends InvokeWithResponseStreamResponse, __MetadataBearer {
29
+ }
30
+ declare const InvokeWithResponseStreamCommand_base: {
31
+ new (input: InvokeWithResponseStreamCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeWithResponseStreamCommandInput, InvokeWithResponseStreamCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
32
+ new (input: InvokeWithResponseStreamCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeWithResponseStreamCommandInput, InvokeWithResponseStreamCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
33
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
34
+ };
35
+ /**
36
+ * <p>Configure your Lambda functions to stream response payloads back to clients. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-response-streaming.html">Configuring a Lambda function to stream responses</a>.</p> <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action. For details on how to set up permissions for cross-account invocations, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke">Granting function access to other accounts</a>.</p>
37
+ * @example
38
+ * Use a bare-bones client and the command you need to make an API call.
39
+ * ```javascript
40
+ * import { LambdaClient, InvokeWithResponseStreamCommand } from "@aws-sdk/client-lambda"; // ES Modules import
41
+ * // const { LambdaClient, InvokeWithResponseStreamCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
42
+ * // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
43
+ * const config = {}; // type is LambdaClientConfig
44
+ * const client = new LambdaClient(config);
45
+ * const input = { // InvokeWithResponseStreamRequest
46
+ * FunctionName: "STRING_VALUE", // required
47
+ * InvocationType: "RequestResponse" || "DryRun",
48
+ * LogType: "None" || "Tail",
49
+ * ClientContext: "STRING_VALUE",
50
+ * Qualifier: "STRING_VALUE",
51
+ * Payload: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
52
+ * TenantId: "STRING_VALUE",
53
+ * };
54
+ * const command = new InvokeWithResponseStreamCommand(input);
55
+ * const response = await client.send(command);
56
+ * // { // InvokeWithResponseStreamResponse
57
+ * // StatusCode: Number("int"),
58
+ * // ExecutedVersion: "STRING_VALUE",
59
+ * // EventStream: { // InvokeWithResponseStreamResponseEvent Union: only one key present
60
+ * // PayloadChunk: { // InvokeResponseStreamUpdate
61
+ * // Payload: new Uint8Array(),
62
+ * // },
63
+ * // InvokeComplete: { // InvokeWithResponseStreamCompleteEvent
64
+ * // ErrorCode: "STRING_VALUE",
65
+ * // ErrorDetails: "STRING_VALUE",
66
+ * // LogResult: "STRING_VALUE",
67
+ * // },
68
+ * // },
69
+ * // ResponseStreamContentType: "STRING_VALUE",
70
+ * // };
71
+ *
72
+ * ```
73
+ *
74
+ * @param InvokeWithResponseStreamCommandInput - {@link InvokeWithResponseStreamCommandInput}
75
+ * @returns {@link InvokeWithResponseStreamCommandOutput}
76
+ * @see {@link InvokeWithResponseStreamCommandInput} for command's `input` shape.
77
+ * @see {@link InvokeWithResponseStreamCommandOutput} for command's `response` shape.
78
+ * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
79
+ *
80
+ * @throws {@link EC2AccessDeniedException} (server fault)
81
+ * <p>Need additional permissions to configure VPC settings.</p>
82
+ *
83
+ * @throws {@link EC2ThrottledException} (server fault)
84
+ * <p>Amazon EC2 throttled Lambda during Lambda function initialization using the execution role provided for the function.</p>
85
+ *
86
+ * @throws {@link EC2UnexpectedException} (server fault)
87
+ * <p>Lambda received an unexpected Amazon EC2 client exception while setting up for the Lambda function.</p>
88
+ *
89
+ * @throws {@link EFSIOException} (client fault)
90
+ * <p>An error occurred when reading from or writing to a connected file system.</p>
91
+ *
92
+ * @throws {@link EFSMountConnectivityException} (client fault)
93
+ * <p>The Lambda function couldn't make a network connection to the configured file system.</p>
94
+ *
95
+ * @throws {@link EFSMountFailureException} (client fault)
96
+ * <p>The Lambda function couldn't mount the configured file system due to a permission or configuration issue.</p>
97
+ *
98
+ * @throws {@link EFSMountTimeoutException} (client fault)
99
+ * <p>The Lambda function made a network connection to the configured file system, but the mount operation timed out.</p>
100
+ *
101
+ * @throws {@link ENILimitReachedException} (server fault)
102
+ * <p>Lambda couldn't create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
103
+ *
104
+ * @throws {@link InvalidParameterValueException} (client fault)
105
+ * <p>One of the parameters in the request is not valid.</p>
106
+ *
107
+ * @throws {@link InvalidRequestContentException} (client fault)
108
+ * <p>The request body could not be parsed as JSON, or a request header is invalid. For example, the 'x-amzn-RequestId' header is not a valid UUID string.</p>
109
+ *
110
+ * @throws {@link InvalidRuntimeException} (server fault)
111
+ * <p>The runtime or runtime version specified is not supported.</p>
112
+ *
113
+ * @throws {@link InvalidSecurityGroupIDException} (server fault)
114
+ * <p>The security group ID provided in the Lambda function VPC configuration is not valid.</p>
115
+ *
116
+ * @throws {@link InvalidSubnetIDException} (server fault)
117
+ * <p>The subnet ID provided in the Lambda function VPC configuration is not valid.</p>
118
+ *
119
+ * @throws {@link InvalidZipFileException} (server fault)
120
+ * <p>Lambda could not unzip the deployment package.</p>
121
+ *
122
+ * @throws {@link KMSAccessDeniedException} (server fault)
123
+ * <p>Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.</p>
124
+ *
125
+ * @throws {@link KMSDisabledException} (server fault)
126
+ * <p>Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.</p>
127
+ *
128
+ * @throws {@link KMSInvalidStateException} (server fault)
129
+ * <p>Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.</p>
130
+ *
131
+ * @throws {@link KMSNotFoundException} (server fault)
132
+ * <p>Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.</p>
133
+ *
134
+ * @throws {@link NoPublishedVersionException} (client fault)
135
+ * <p>The function has no published versions available.</p>
136
+ *
137
+ * @throws {@link RecursiveInvocationException} (client fault)
138
+ * <p>Lambda has detected your function being invoked in a recursive loop with other Amazon Web Services resources and stopped your function's invocation.</p>
139
+ *
140
+ * @throws {@link RequestTooLargeException} (client fault)
141
+ * <p>The request payload exceeded the <code>Invoke</code> request body JSON input quota. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
142
+ *
143
+ * @throws {@link ResourceConflictException} (client fault)
144
+ * <p>The resource already exists, or another operation is in progress.</p>
145
+ *
146
+ * @throws {@link ResourceNotFoundException} (client fault)
147
+ * <p>The resource specified in the request does not exist.</p>
148
+ *
149
+ * @throws {@link ResourceNotReadyException} (server fault)
150
+ * <p>The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to reestablish and try again.</p>
151
+ *
152
+ * @throws {@link SerializedRequestEntityTooLargeException} (client fault)
153
+ * <p>The request payload exceeded the maximum allowed size for serialized request entities.</p>
154
+ *
155
+ * @throws {@link ServiceException} (server fault)
156
+ * <p>The Lambda service encountered an internal error.</p>
157
+ *
158
+ * @throws {@link SnapStartException} (client fault)
159
+ * <p>The <code>afterRestore()</code> <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html">runtime hook</a> encountered an error. For more information, check the Amazon CloudWatch logs.</p>
160
+ *
161
+ * @throws {@link SnapStartNotReadyException} (client fault)
162
+ * <p>Lambda is initializing your function. You can invoke the function when the <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">function state</a> becomes <code>Active</code>.</p>
163
+ *
164
+ * @throws {@link SnapStartTimeoutException} (client fault)
165
+ * <p>Lambda couldn't restore the snapshot within the timeout limit.</p>
166
+ *
167
+ * @throws {@link SubnetIPAddressLimitReachedException} (server fault)
168
+ * <p>Lambda couldn't set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.</p>
169
+ *
170
+ * @throws {@link TooManyRequestsException} (client fault)
171
+ * <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>
172
+ *
173
+ * @throws {@link UnsupportedMediaTypeException} (client fault)
174
+ * <p>The content type of the <code>Invoke</code> request body is not JSON.</p>
175
+ *
176
+ * @throws {@link LambdaServiceException}
177
+ * <p>Base exception class for all service exceptions from Lambda service.</p>
178
+ *
179
+ *
180
+ * @public
181
+ */
182
+ export declare class InvokeWithResponseStreamCommand extends InvokeWithResponseStreamCommand_base {
183
+ /** @internal type navigation helper, not in runtime. */
184
+ protected static __types: {
185
+ api: {
186
+ input: InvokeWithResponseStreamRequest;
187
+ output: InvokeWithResponseStreamResponse;
188
+ };
189
+ sdk: {
190
+ input: InvokeWithResponseStreamCommandInput;
191
+ output: InvokeWithResponseStreamCommandOutput;
192
+ };
193
+ };
194
+ }