@aws-sdk/client-lambda 3.35.0 → 3.36.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 (421) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/Lambda.js +0 -1
  3. package/dist-cjs/LambdaClient.js +0 -1
  4. package/dist-cjs/commands/AddLayerVersionPermissionCommand.js +0 -1
  5. package/dist-cjs/commands/AddPermissionCommand.js +0 -1
  6. package/dist-cjs/commands/CreateAliasCommand.js +0 -1
  7. package/dist-cjs/commands/CreateCodeSigningConfigCommand.js +0 -1
  8. package/dist-cjs/commands/CreateEventSourceMappingCommand.js +0 -1
  9. package/dist-cjs/commands/CreateFunctionCommand.js +0 -1
  10. package/dist-cjs/commands/DeleteAliasCommand.js +0 -1
  11. package/dist-cjs/commands/DeleteCodeSigningConfigCommand.js +0 -1
  12. package/dist-cjs/commands/DeleteEventSourceMappingCommand.js +0 -1
  13. package/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js +0 -1
  14. package/dist-cjs/commands/DeleteFunctionCommand.js +0 -1
  15. package/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js +0 -1
  16. package/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js +0 -1
  17. package/dist-cjs/commands/DeleteLayerVersionCommand.js +0 -1
  18. package/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js +0 -1
  19. package/dist-cjs/commands/GetAccountSettingsCommand.js +0 -1
  20. package/dist-cjs/commands/GetAliasCommand.js +0 -1
  21. package/dist-cjs/commands/GetCodeSigningConfigCommand.js +0 -1
  22. package/dist-cjs/commands/GetEventSourceMappingCommand.js +0 -1
  23. package/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js +0 -1
  24. package/dist-cjs/commands/GetFunctionCommand.js +0 -1
  25. package/dist-cjs/commands/GetFunctionConcurrencyCommand.js +0 -1
  26. package/dist-cjs/commands/GetFunctionConfigurationCommand.js +0 -1
  27. package/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js +0 -1
  28. package/dist-cjs/commands/GetLayerVersionByArnCommand.js +0 -1
  29. package/dist-cjs/commands/GetLayerVersionCommand.js +0 -1
  30. package/dist-cjs/commands/GetLayerVersionPolicyCommand.js +0 -1
  31. package/dist-cjs/commands/GetPolicyCommand.js +0 -1
  32. package/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js +0 -1
  33. package/dist-cjs/commands/InvokeAsyncCommand.js +0 -1
  34. package/dist-cjs/commands/InvokeCommand.js +0 -1
  35. package/dist-cjs/commands/ListAliasesCommand.js +0 -1
  36. package/dist-cjs/commands/ListCodeSigningConfigsCommand.js +0 -1
  37. package/dist-cjs/commands/ListEventSourceMappingsCommand.js +0 -1
  38. package/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js +0 -1
  39. package/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js +0 -1
  40. package/dist-cjs/commands/ListFunctionsCommand.js +0 -1
  41. package/dist-cjs/commands/ListLayerVersionsCommand.js +0 -1
  42. package/dist-cjs/commands/ListLayersCommand.js +0 -1
  43. package/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js +0 -1
  44. package/dist-cjs/commands/ListTagsCommand.js +0 -1
  45. package/dist-cjs/commands/ListVersionsByFunctionCommand.js +0 -1
  46. package/dist-cjs/commands/PublishLayerVersionCommand.js +0 -1
  47. package/dist-cjs/commands/PublishVersionCommand.js +0 -1
  48. package/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js +0 -1
  49. package/dist-cjs/commands/PutFunctionConcurrencyCommand.js +0 -1
  50. package/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js +0 -1
  51. package/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js +0 -1
  52. package/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js +0 -1
  53. package/dist-cjs/commands/RemovePermissionCommand.js +0 -1
  54. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  55. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  56. package/dist-cjs/commands/UpdateAliasCommand.js +0 -1
  57. package/dist-cjs/commands/UpdateCodeSigningConfigCommand.js +0 -1
  58. package/dist-cjs/commands/UpdateEventSourceMappingCommand.js +0 -1
  59. package/dist-cjs/commands/UpdateFunctionCodeCommand.js +0 -1
  60. package/dist-cjs/commands/UpdateFunctionConfigurationCommand.js +0 -1
  61. package/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js +0 -1
  62. package/dist-cjs/endpoints.js +0 -1
  63. package/dist-cjs/index.js +0 -1
  64. package/dist-cjs/models/index.js +0 -1
  65. package/dist-cjs/models/models_0.js +0 -1
  66. package/dist-cjs/pagination/Interfaces.js +0 -1
  67. package/dist-cjs/pagination/ListAliasesPaginator.js +0 -1
  68. package/dist-cjs/pagination/ListCodeSigningConfigsPaginator.js +0 -1
  69. package/dist-cjs/pagination/ListEventSourceMappingsPaginator.js +0 -1
  70. package/dist-cjs/pagination/ListFunctionEventInvokeConfigsPaginator.js +0 -1
  71. package/dist-cjs/pagination/ListFunctionsByCodeSigningConfigPaginator.js +0 -1
  72. package/dist-cjs/pagination/ListFunctionsPaginator.js +0 -1
  73. package/dist-cjs/pagination/ListLayerVersionsPaginator.js +0 -1
  74. package/dist-cjs/pagination/ListLayersPaginator.js +0 -1
  75. package/dist-cjs/pagination/ListProvisionedConcurrencyConfigsPaginator.js +0 -1
  76. package/dist-cjs/pagination/ListVersionsByFunctionPaginator.js +0 -1
  77. package/dist-cjs/protocols/Aws_restJson1.js +0 -1
  78. package/dist-cjs/runtimeConfig.browser.js +2 -3
  79. package/dist-cjs/runtimeConfig.js +3 -4
  80. package/dist-cjs/runtimeConfig.native.js +0 -1
  81. package/dist-cjs/runtimeConfig.shared.js +0 -1
  82. package/dist-cjs/waiters/waitForFunctionActive.js +0 -1
  83. package/dist-cjs/waiters/waitForFunctionExists.js +0 -1
  84. package/dist-cjs/waiters/waitForFunctionUpdated.js +0 -1
  85. package/dist-es/Lambda.js +0 -1
  86. package/dist-es/LambdaClient.js +0 -1
  87. package/dist-es/commands/AddLayerVersionPermissionCommand.js +0 -1
  88. package/dist-es/commands/AddPermissionCommand.js +0 -1
  89. package/dist-es/commands/CreateAliasCommand.js +0 -1
  90. package/dist-es/commands/CreateCodeSigningConfigCommand.js +0 -1
  91. package/dist-es/commands/CreateEventSourceMappingCommand.js +0 -1
  92. package/dist-es/commands/CreateFunctionCommand.js +0 -1
  93. package/dist-es/commands/DeleteAliasCommand.js +0 -1
  94. package/dist-es/commands/DeleteCodeSigningConfigCommand.js +0 -1
  95. package/dist-es/commands/DeleteEventSourceMappingCommand.js +0 -1
  96. package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js +0 -1
  97. package/dist-es/commands/DeleteFunctionCommand.js +0 -1
  98. package/dist-es/commands/DeleteFunctionConcurrencyCommand.js +0 -1
  99. package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js +0 -1
  100. package/dist-es/commands/DeleteLayerVersionCommand.js +0 -1
  101. package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js +0 -1
  102. package/dist-es/commands/GetAccountSettingsCommand.js +0 -1
  103. package/dist-es/commands/GetAliasCommand.js +0 -1
  104. package/dist-es/commands/GetCodeSigningConfigCommand.js +0 -1
  105. package/dist-es/commands/GetEventSourceMappingCommand.js +0 -1
  106. package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js +0 -1
  107. package/dist-es/commands/GetFunctionCommand.js +0 -1
  108. package/dist-es/commands/GetFunctionConcurrencyCommand.js +0 -1
  109. package/dist-es/commands/GetFunctionConfigurationCommand.js +0 -1
  110. package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js +0 -1
  111. package/dist-es/commands/GetLayerVersionByArnCommand.js +0 -1
  112. package/dist-es/commands/GetLayerVersionCommand.js +0 -1
  113. package/dist-es/commands/GetLayerVersionPolicyCommand.js +0 -1
  114. package/dist-es/commands/GetPolicyCommand.js +0 -1
  115. package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js +0 -1
  116. package/dist-es/commands/InvokeAsyncCommand.js +0 -1
  117. package/dist-es/commands/InvokeCommand.js +0 -1
  118. package/dist-es/commands/ListAliasesCommand.js +0 -1
  119. package/dist-es/commands/ListCodeSigningConfigsCommand.js +0 -1
  120. package/dist-es/commands/ListEventSourceMappingsCommand.js +0 -1
  121. package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js +0 -1
  122. package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js +0 -1
  123. package/dist-es/commands/ListFunctionsCommand.js +0 -1
  124. package/dist-es/commands/ListLayerVersionsCommand.js +0 -1
  125. package/dist-es/commands/ListLayersCommand.js +0 -1
  126. package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js +0 -1
  127. package/dist-es/commands/ListTagsCommand.js +0 -1
  128. package/dist-es/commands/ListVersionsByFunctionCommand.js +0 -1
  129. package/dist-es/commands/PublishLayerVersionCommand.js +0 -1
  130. package/dist-es/commands/PublishVersionCommand.js +0 -1
  131. package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js +0 -1
  132. package/dist-es/commands/PutFunctionConcurrencyCommand.js +0 -1
  133. package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js +0 -1
  134. package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js +0 -1
  135. package/dist-es/commands/RemoveLayerVersionPermissionCommand.js +0 -1
  136. package/dist-es/commands/RemovePermissionCommand.js +0 -1
  137. package/dist-es/commands/TagResourceCommand.js +0 -1
  138. package/dist-es/commands/UntagResourceCommand.js +0 -1
  139. package/dist-es/commands/UpdateAliasCommand.js +0 -1
  140. package/dist-es/commands/UpdateCodeSigningConfigCommand.js +0 -1
  141. package/dist-es/commands/UpdateEventSourceMappingCommand.js +0 -1
  142. package/dist-es/commands/UpdateFunctionCodeCommand.js +0 -1
  143. package/dist-es/commands/UpdateFunctionConfigurationCommand.js +0 -1
  144. package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js +0 -1
  145. package/dist-es/endpoints.js +0 -1
  146. package/dist-es/index.js +0 -1
  147. package/dist-es/models/index.js +0 -1
  148. package/dist-es/models/models_0.js +0 -1
  149. package/dist-es/pagination/Interfaces.js +0 -1
  150. package/dist-es/pagination/ListAliasesPaginator.js +0 -1
  151. package/dist-es/pagination/ListCodeSigningConfigsPaginator.js +0 -1
  152. package/dist-es/pagination/ListEventSourceMappingsPaginator.js +0 -1
  153. package/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js +0 -1
  154. package/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js +0 -1
  155. package/dist-es/pagination/ListFunctionsPaginator.js +0 -1
  156. package/dist-es/pagination/ListLayerVersionsPaginator.js +0 -1
  157. package/dist-es/pagination/ListLayersPaginator.js +0 -1
  158. package/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js +0 -1
  159. package/dist-es/pagination/ListVersionsByFunctionPaginator.js +0 -1
  160. package/dist-es/protocols/Aws_restJson1.js +0 -1
  161. package/dist-es/runtimeConfig.browser.js +1 -2
  162. package/dist-es/runtimeConfig.js +2 -3
  163. package/dist-es/runtimeConfig.native.js +0 -1
  164. package/dist-es/runtimeConfig.shared.js +0 -1
  165. package/dist-es/waiters/waitForFunctionActive.js +0 -1
  166. package/dist-es/waiters/waitForFunctionExists.js +0 -1
  167. package/dist-es/waiters/waitForFunctionUpdated.js +0 -1
  168. package/package.json +34 -31
  169. package/dist-cjs/Lambda.js.map +0 -1
  170. package/dist-cjs/LambdaClient.js.map +0 -1
  171. package/dist-cjs/commands/AddLayerVersionPermissionCommand.js.map +0 -1
  172. package/dist-cjs/commands/AddPermissionCommand.js.map +0 -1
  173. package/dist-cjs/commands/CreateAliasCommand.js.map +0 -1
  174. package/dist-cjs/commands/CreateCodeSigningConfigCommand.js.map +0 -1
  175. package/dist-cjs/commands/CreateEventSourceMappingCommand.js.map +0 -1
  176. package/dist-cjs/commands/CreateFunctionCommand.js.map +0 -1
  177. package/dist-cjs/commands/DeleteAliasCommand.js.map +0 -1
  178. package/dist-cjs/commands/DeleteCodeSigningConfigCommand.js.map +0 -1
  179. package/dist-cjs/commands/DeleteEventSourceMappingCommand.js.map +0 -1
  180. package/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js.map +0 -1
  181. package/dist-cjs/commands/DeleteFunctionCommand.js.map +0 -1
  182. package/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js.map +0 -1
  183. package/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js.map +0 -1
  184. package/dist-cjs/commands/DeleteLayerVersionCommand.js.map +0 -1
  185. package/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js.map +0 -1
  186. package/dist-cjs/commands/GetAccountSettingsCommand.js.map +0 -1
  187. package/dist-cjs/commands/GetAliasCommand.js.map +0 -1
  188. package/dist-cjs/commands/GetCodeSigningConfigCommand.js.map +0 -1
  189. package/dist-cjs/commands/GetEventSourceMappingCommand.js.map +0 -1
  190. package/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js.map +0 -1
  191. package/dist-cjs/commands/GetFunctionCommand.js.map +0 -1
  192. package/dist-cjs/commands/GetFunctionConcurrencyCommand.js.map +0 -1
  193. package/dist-cjs/commands/GetFunctionConfigurationCommand.js.map +0 -1
  194. package/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js.map +0 -1
  195. package/dist-cjs/commands/GetLayerVersionByArnCommand.js.map +0 -1
  196. package/dist-cjs/commands/GetLayerVersionCommand.js.map +0 -1
  197. package/dist-cjs/commands/GetLayerVersionPolicyCommand.js.map +0 -1
  198. package/dist-cjs/commands/GetPolicyCommand.js.map +0 -1
  199. package/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js.map +0 -1
  200. package/dist-cjs/commands/InvokeAsyncCommand.js.map +0 -1
  201. package/dist-cjs/commands/InvokeCommand.js.map +0 -1
  202. package/dist-cjs/commands/ListAliasesCommand.js.map +0 -1
  203. package/dist-cjs/commands/ListCodeSigningConfigsCommand.js.map +0 -1
  204. package/dist-cjs/commands/ListEventSourceMappingsCommand.js.map +0 -1
  205. package/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js.map +0 -1
  206. package/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js.map +0 -1
  207. package/dist-cjs/commands/ListFunctionsCommand.js.map +0 -1
  208. package/dist-cjs/commands/ListLayerVersionsCommand.js.map +0 -1
  209. package/dist-cjs/commands/ListLayersCommand.js.map +0 -1
  210. package/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js.map +0 -1
  211. package/dist-cjs/commands/ListTagsCommand.js.map +0 -1
  212. package/dist-cjs/commands/ListVersionsByFunctionCommand.js.map +0 -1
  213. package/dist-cjs/commands/PublishLayerVersionCommand.js.map +0 -1
  214. package/dist-cjs/commands/PublishVersionCommand.js.map +0 -1
  215. package/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js.map +0 -1
  216. package/dist-cjs/commands/PutFunctionConcurrencyCommand.js.map +0 -1
  217. package/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js.map +0 -1
  218. package/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js.map +0 -1
  219. package/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js.map +0 -1
  220. package/dist-cjs/commands/RemovePermissionCommand.js.map +0 -1
  221. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  222. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  223. package/dist-cjs/commands/UpdateAliasCommand.js.map +0 -1
  224. package/dist-cjs/commands/UpdateCodeSigningConfigCommand.js.map +0 -1
  225. package/dist-cjs/commands/UpdateEventSourceMappingCommand.js.map +0 -1
  226. package/dist-cjs/commands/UpdateFunctionCodeCommand.js.map +0 -1
  227. package/dist-cjs/commands/UpdateFunctionConfigurationCommand.js.map +0 -1
  228. package/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js.map +0 -1
  229. package/dist-cjs/endpoints.js.map +0 -1
  230. package/dist-cjs/index.js.map +0 -1
  231. package/dist-cjs/models/index.js.map +0 -1
  232. package/dist-cjs/models/models_0.js.map +0 -1
  233. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  234. package/dist-cjs/pagination/ListAliasesPaginator.js.map +0 -1
  235. package/dist-cjs/pagination/ListCodeSigningConfigsPaginator.js.map +0 -1
  236. package/dist-cjs/pagination/ListEventSourceMappingsPaginator.js.map +0 -1
  237. package/dist-cjs/pagination/ListFunctionEventInvokeConfigsPaginator.js.map +0 -1
  238. package/dist-cjs/pagination/ListFunctionsByCodeSigningConfigPaginator.js.map +0 -1
  239. package/dist-cjs/pagination/ListFunctionsPaginator.js.map +0 -1
  240. package/dist-cjs/pagination/ListLayerVersionsPaginator.js.map +0 -1
  241. package/dist-cjs/pagination/ListLayersPaginator.js.map +0 -1
  242. package/dist-cjs/pagination/ListProvisionedConcurrencyConfigsPaginator.js.map +0 -1
  243. package/dist-cjs/pagination/ListVersionsByFunctionPaginator.js.map +0 -1
  244. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  245. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  246. package/dist-cjs/runtimeConfig.js.map +0 -1
  247. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  248. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  249. package/dist-cjs/waiters/waitForFunctionActive.js.map +0 -1
  250. package/dist-cjs/waiters/waitForFunctionExists.js.map +0 -1
  251. package/dist-cjs/waiters/waitForFunctionUpdated.js.map +0 -1
  252. package/dist-es/Lambda.js.map +0 -1
  253. package/dist-es/LambdaClient.js.map +0 -1
  254. package/dist-es/commands/AddLayerVersionPermissionCommand.js.map +0 -1
  255. package/dist-es/commands/AddPermissionCommand.js.map +0 -1
  256. package/dist-es/commands/CreateAliasCommand.js.map +0 -1
  257. package/dist-es/commands/CreateCodeSigningConfigCommand.js.map +0 -1
  258. package/dist-es/commands/CreateEventSourceMappingCommand.js.map +0 -1
  259. package/dist-es/commands/CreateFunctionCommand.js.map +0 -1
  260. package/dist-es/commands/DeleteAliasCommand.js.map +0 -1
  261. package/dist-es/commands/DeleteCodeSigningConfigCommand.js.map +0 -1
  262. package/dist-es/commands/DeleteEventSourceMappingCommand.js.map +0 -1
  263. package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js.map +0 -1
  264. package/dist-es/commands/DeleteFunctionCommand.js.map +0 -1
  265. package/dist-es/commands/DeleteFunctionConcurrencyCommand.js.map +0 -1
  266. package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js.map +0 -1
  267. package/dist-es/commands/DeleteLayerVersionCommand.js.map +0 -1
  268. package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js.map +0 -1
  269. package/dist-es/commands/GetAccountSettingsCommand.js.map +0 -1
  270. package/dist-es/commands/GetAliasCommand.js.map +0 -1
  271. package/dist-es/commands/GetCodeSigningConfigCommand.js.map +0 -1
  272. package/dist-es/commands/GetEventSourceMappingCommand.js.map +0 -1
  273. package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js.map +0 -1
  274. package/dist-es/commands/GetFunctionCommand.js.map +0 -1
  275. package/dist-es/commands/GetFunctionConcurrencyCommand.js.map +0 -1
  276. package/dist-es/commands/GetFunctionConfigurationCommand.js.map +0 -1
  277. package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js.map +0 -1
  278. package/dist-es/commands/GetLayerVersionByArnCommand.js.map +0 -1
  279. package/dist-es/commands/GetLayerVersionCommand.js.map +0 -1
  280. package/dist-es/commands/GetLayerVersionPolicyCommand.js.map +0 -1
  281. package/dist-es/commands/GetPolicyCommand.js.map +0 -1
  282. package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js.map +0 -1
  283. package/dist-es/commands/InvokeAsyncCommand.js.map +0 -1
  284. package/dist-es/commands/InvokeCommand.js.map +0 -1
  285. package/dist-es/commands/ListAliasesCommand.js.map +0 -1
  286. package/dist-es/commands/ListCodeSigningConfigsCommand.js.map +0 -1
  287. package/dist-es/commands/ListEventSourceMappingsCommand.js.map +0 -1
  288. package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js.map +0 -1
  289. package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js.map +0 -1
  290. package/dist-es/commands/ListFunctionsCommand.js.map +0 -1
  291. package/dist-es/commands/ListLayerVersionsCommand.js.map +0 -1
  292. package/dist-es/commands/ListLayersCommand.js.map +0 -1
  293. package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js.map +0 -1
  294. package/dist-es/commands/ListTagsCommand.js.map +0 -1
  295. package/dist-es/commands/ListVersionsByFunctionCommand.js.map +0 -1
  296. package/dist-es/commands/PublishLayerVersionCommand.js.map +0 -1
  297. package/dist-es/commands/PublishVersionCommand.js.map +0 -1
  298. package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js.map +0 -1
  299. package/dist-es/commands/PutFunctionConcurrencyCommand.js.map +0 -1
  300. package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js.map +0 -1
  301. package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js.map +0 -1
  302. package/dist-es/commands/RemoveLayerVersionPermissionCommand.js.map +0 -1
  303. package/dist-es/commands/RemovePermissionCommand.js.map +0 -1
  304. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  305. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  306. package/dist-es/commands/UpdateAliasCommand.js.map +0 -1
  307. package/dist-es/commands/UpdateCodeSigningConfigCommand.js.map +0 -1
  308. package/dist-es/commands/UpdateEventSourceMappingCommand.js.map +0 -1
  309. package/dist-es/commands/UpdateFunctionCodeCommand.js.map +0 -1
  310. package/dist-es/commands/UpdateFunctionConfigurationCommand.js.map +0 -1
  311. package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js.map +0 -1
  312. package/dist-es/endpoints.js.map +0 -1
  313. package/dist-es/index.js.map +0 -1
  314. package/dist-es/models/index.js.map +0 -1
  315. package/dist-es/models/models_0.js.map +0 -1
  316. package/dist-es/pagination/Interfaces.js.map +0 -1
  317. package/dist-es/pagination/ListAliasesPaginator.js.map +0 -1
  318. package/dist-es/pagination/ListCodeSigningConfigsPaginator.js.map +0 -1
  319. package/dist-es/pagination/ListEventSourceMappingsPaginator.js.map +0 -1
  320. package/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js.map +0 -1
  321. package/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js.map +0 -1
  322. package/dist-es/pagination/ListFunctionsPaginator.js.map +0 -1
  323. package/dist-es/pagination/ListLayerVersionsPaginator.js.map +0 -1
  324. package/dist-es/pagination/ListLayersPaginator.js.map +0 -1
  325. package/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js.map +0 -1
  326. package/dist-es/pagination/ListVersionsByFunctionPaginator.js.map +0 -1
  327. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  328. package/dist-es/runtimeConfig.browser.js.map +0 -1
  329. package/dist-es/runtimeConfig.js.map +0 -1
  330. package/dist-es/runtimeConfig.native.js.map +0 -1
  331. package/dist-es/runtimeConfig.shared.js.map +0 -1
  332. package/dist-es/waiters/waitForFunctionActive.js.map +0 -1
  333. package/dist-es/waiters/waitForFunctionExists.js.map +0 -1
  334. package/dist-es/waiters/waitForFunctionUpdated.js.map +0 -1
  335. package/jest.config.js +0 -4
  336. package/src/Lambda.ts +0 -2335
  337. package/src/LambdaClient.ts +0 -518
  338. package/src/commands/AddLayerVersionPermissionCommand.ts +0 -103
  339. package/src/commands/AddPermissionCommand.ts +0 -107
  340. package/src/commands/CreateAliasCommand.ts +0 -100
  341. package/src/commands/CreateCodeSigningConfigCommand.ts +0 -97
  342. package/src/commands/CreateEventSourceMappingCommand.ts +0 -159
  343. package/src/commands/CreateFunctionCommand.ts +0 -141
  344. package/src/commands/DeleteAliasCommand.ts +0 -95
  345. package/src/commands/DeleteCodeSigningConfigCommand.ts +0 -96
  346. package/src/commands/DeleteEventSourceMappingCommand.ts +0 -98
  347. package/src/commands/DeleteFunctionCodeSigningConfigCommand.ts +0 -101
  348. package/src/commands/DeleteFunctionCommand.ts +0 -100
  349. package/src/commands/DeleteFunctionConcurrencyCommand.ts +0 -98
  350. package/src/commands/DeleteFunctionEventInvokeConfigCommand.ts +0 -102
  351. package/src/commands/DeleteLayerVersionCommand.ts +0 -97
  352. package/src/commands/DeleteProvisionedConcurrencyConfigCommand.ts +0 -101
  353. package/src/commands/GetAccountSettingsCommand.ts +0 -95
  354. package/src/commands/GetAliasCommand.ts +0 -91
  355. package/src/commands/GetCodeSigningConfigCommand.ts +0 -95
  356. package/src/commands/GetEventSourceMappingCommand.ts +0 -96
  357. package/src/commands/GetFunctionCodeSigningConfigCommand.ts +0 -100
  358. package/src/commands/GetFunctionCommand.ts +0 -97
  359. package/src/commands/GetFunctionConcurrencyCommand.ts +0 -96
  360. package/src/commands/GetFunctionConfigurationCommand.ts +0 -97
  361. package/src/commands/GetFunctionEventInvokeConfigCommand.ts +0 -99
  362. package/src/commands/GetLayerVersionByArnCommand.ts +0 -97
  363. package/src/commands/GetLayerVersionCommand.ts +0 -97
  364. package/src/commands/GetLayerVersionPolicyCommand.ts +0 -96
  365. package/src/commands/GetPolicyCommand.ts +0 -95
  366. package/src/commands/GetProvisionedConcurrencyConfigCommand.ts +0 -103
  367. package/src/commands/InvokeAsyncCommand.ts +0 -109
  368. package/src/commands/InvokeCommand.ts +0 -114
  369. package/src/commands/ListAliasesCommand.ts +0 -96
  370. package/src/commands/ListCodeSigningConfigsCommand.ts +0 -97
  371. package/src/commands/ListEventSourceMappingsCommand.ts +0 -96
  372. package/src/commands/ListFunctionEventInvokeConfigsCommand.ts +0 -104
  373. package/src/commands/ListFunctionsByCodeSigningConfigCommand.ts +0 -104
  374. package/src/commands/ListFunctionsCommand.ts +0 -103
  375. package/src/commands/ListLayerVersionsCommand.ts +0 -98
  376. package/src/commands/ListLayersCommand.ts +0 -100
  377. package/src/commands/ListProvisionedConcurrencyConfigsCommand.ts +0 -106
  378. package/src/commands/ListTagsCommand.ts +0 -92
  379. package/src/commands/ListVersionsByFunctionCommand.ts +0 -96
  380. package/src/commands/PublishLayerVersionCommand.ts +0 -98
  381. package/src/commands/PublishVersionCommand.ts +0 -103
  382. package/src/commands/PutFunctionCodeSigningConfigCommand.ts +0 -101
  383. package/src/commands/PutFunctionConcurrencyCommand.ts +0 -103
  384. package/src/commands/PutFunctionEventInvokeConfigCommand.ts +0 -108
  385. package/src/commands/PutProvisionedConcurrencyConfigCommand.ts +0 -103
  386. package/src/commands/RemoveLayerVersionPermissionCommand.ts +0 -100
  387. package/src/commands/RemovePermissionCommand.ts +0 -96
  388. package/src/commands/TagResourceCommand.ts +0 -95
  389. package/src/commands/UntagResourceCommand.ts +0 -95
  390. package/src/commands/UpdateAliasCommand.ts +0 -95
  391. package/src/commands/UpdateCodeSigningConfigCommand.ts +0 -96
  392. package/src/commands/UpdateEventSourceMappingCommand.ts +0 -120
  393. package/src/commands/UpdateFunctionCodeCommand.ts +0 -103
  394. package/src/commands/UpdateFunctionConfigurationCommand.ts +0 -112
  395. package/src/commands/UpdateFunctionEventInvokeConfigCommand.ts +0 -102
  396. package/src/endpoints.ts +0 -86
  397. package/src/index.ts +0 -75
  398. package/src/models/index.ts +0 -1
  399. package/src/models/models_0.ts +0 -5703
  400. package/src/pagination/Interfaces.ts +0 -8
  401. package/src/pagination/ListAliasesPaginator.ts +0 -55
  402. package/src/pagination/ListCodeSigningConfigsPaginator.ts +0 -59
  403. package/src/pagination/ListEventSourceMappingsPaginator.ts +0 -59
  404. package/src/pagination/ListFunctionEventInvokeConfigsPaginator.ts +0 -59
  405. package/src/pagination/ListFunctionsByCodeSigningConfigPaginator.ts +0 -59
  406. package/src/pagination/ListFunctionsPaginator.ts +0 -59
  407. package/src/pagination/ListLayerVersionsPaginator.ts +0 -59
  408. package/src/pagination/ListLayersPaginator.ts +0 -55
  409. package/src/pagination/ListProvisionedConcurrencyConfigsPaginator.ts +0 -59
  410. package/src/pagination/ListVersionsByFunctionPaginator.ts +0 -59
  411. package/src/protocols/Aws_restJson1.ts +0 -10745
  412. package/src/runtimeConfig.browser.ts +0 -41
  413. package/src/runtimeConfig.native.ts +0 -17
  414. package/src/runtimeConfig.shared.ts +0 -17
  415. package/src/runtimeConfig.ts +0 -46
  416. package/src/waiters/waitForFunctionActive.ts +0 -66
  417. package/src/waiters/waitForFunctionExists.ts +0 -43
  418. package/src/waiters/waitForFunctionUpdated.ts +0 -66
  419. package/tsconfig.es.json +0 -10
  420. package/tsconfig.json +0 -33
  421. package/tsconfig.types.json +0 -9
@@ -1,101 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
15
- import { PutFunctionCodeSigningConfigRequest, PutFunctionCodeSigningConfigResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1PutFunctionCodeSigningConfigCommand,
18
- serializeAws_restJson1PutFunctionCodeSigningConfigCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface PutFunctionCodeSigningConfigCommandInput extends PutFunctionCodeSigningConfigRequest {}
22
- export interface PutFunctionCodeSigningConfigCommandOutput
23
- extends PutFunctionCodeSigningConfigResponse,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>Update the code signing configuration for the function. Changes to the code signing configuration take effect the
28
- * next time a user tries to deploy a code package to the function. </p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { LambdaClient, PutFunctionCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
33
- * // const { LambdaClient, PutFunctionCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
34
- * const client = new LambdaClient(config);
35
- * const command = new PutFunctionCodeSigningConfigCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link PutFunctionCodeSigningConfigCommandInput} for command's `input` shape.
40
- * @see {@link PutFunctionCodeSigningConfigCommandOutput} for command's `response` shape.
41
- * @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class PutFunctionCodeSigningConfigCommand extends $Command<
45
- PutFunctionCodeSigningConfigCommandInput,
46
- PutFunctionCodeSigningConfigCommandOutput,
47
- LambdaClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: PutFunctionCodeSigningConfigCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: LambdaClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<PutFunctionCodeSigningConfigCommandInput, PutFunctionCodeSigningConfigCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "LambdaClient";
72
- const commandName = "PutFunctionCodeSigningConfigCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: PutFunctionCodeSigningConfigRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: PutFunctionCodeSigningConfigResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: PutFunctionCodeSigningConfigCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1PutFunctionCodeSigningConfigCommand(input, context);
90
- }
91
-
92
- private deserialize(
93
- output: __HttpResponse,
94
- context: __SerdeContext
95
- ): Promise<PutFunctionCodeSigningConfigCommandOutput> {
96
- return deserializeAws_restJson1PutFunctionCodeSigningConfigCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,103 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
15
- import { Concurrency, PutFunctionConcurrencyRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1PutFunctionConcurrencyCommand,
18
- serializeAws_restJson1PutFunctionConcurrencyCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface PutFunctionConcurrencyCommandInput extends PutFunctionConcurrencyRequest {}
22
- export interface PutFunctionConcurrencyCommandOutput extends Concurrency, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency
26
- * level.</p>
27
- * <p>Concurrency settings apply to the function as a whole, including all published versions and the unpublished
28
- * version. Reserving concurrency both ensures that your function has capacity to process the specified number of
29
- * events simultaneously, and prevents it from scaling beyond that level. Use <a>GetFunction</a> to see
30
- * the current setting for a function.</p>
31
- * <p>Use <a>GetAccountSettings</a> to see your Regional concurrency limit. You can reserve concurrency
32
- * for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for
33
- * functions that aren't configured with a per-function limit. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html">Managing Concurrency</a>.</p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { LambdaClient, PutFunctionConcurrencyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
38
- * // const { LambdaClient, PutFunctionConcurrencyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
39
- * const client = new LambdaClient(config);
40
- * const command = new PutFunctionConcurrencyCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link PutFunctionConcurrencyCommandInput} for command's `input` shape.
45
- * @see {@link PutFunctionConcurrencyCommandOutput} for command's `response` shape.
46
- * @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class PutFunctionConcurrencyCommand extends $Command<
50
- PutFunctionConcurrencyCommandInput,
51
- PutFunctionConcurrencyCommandOutput,
52
- LambdaClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: PutFunctionConcurrencyCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: LambdaClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "LambdaClient";
77
- const commandName = "PutFunctionConcurrencyCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: PutFunctionConcurrencyRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: Concurrency.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(input: PutFunctionConcurrencyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
94
- return serializeAws_restJson1PutFunctionConcurrencyCommand(input, context);
95
- }
96
-
97
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutFunctionConcurrencyCommandOutput> {
98
- return deserializeAws_restJson1PutFunctionConcurrencyCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }
@@ -1,108 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
15
- import { FunctionEventInvokeConfig, PutFunctionEventInvokeConfigRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1PutFunctionEventInvokeConfigCommand,
18
- serializeAws_restJson1PutFunctionEventInvokeConfigCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface PutFunctionEventInvokeConfigCommandInput extends PutFunctionEventInvokeConfigRequest {}
22
- export interface PutFunctionEventInvokeConfigCommandOutput extends FunctionEventInvokeConfig, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Configures options for <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html">asynchronous
26
- * invocation</a> on a function, version, or alias. If a configuration already exists for a function, version,
27
- * or alias, this operation overwrites it. If you exclude any settings, they are removed. To set one option without
28
- * affecting existing settings for other options, use <a>UpdateFunctionEventInvokeConfig</a>.</p>
29
- * <p>By default, Lambda retries an asynchronous invocation twice if the function returns an error. It retains
30
- * events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous
31
- * invocation queue for too long, Lambda discards it. To retain discarded events, configure a dead-letter queue with
32
- * <a>UpdateFunctionConfiguration</a>.</p>
33
- * <p>To send an invocation record to a queue, topic, function, or event bus, specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations">destination</a>. You can configure separate destinations for successful invocations (on-success) and events
34
- * that fail all processing attempts (on-failure). You can configure destinations in addition to or instead of a
35
- * dead-letter queue.</p>
36
- * @example
37
- * Use a bare-bones client and the command you need to make an API call.
38
- * ```javascript
39
- * import { LambdaClient, PutFunctionEventInvokeConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
40
- * // const { LambdaClient, PutFunctionEventInvokeConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
41
- * const client = new LambdaClient(config);
42
- * const command = new PutFunctionEventInvokeConfigCommand(input);
43
- * const response = await client.send(command);
44
- * ```
45
- *
46
- * @see {@link PutFunctionEventInvokeConfigCommandInput} for command's `input` shape.
47
- * @see {@link PutFunctionEventInvokeConfigCommandOutput} for command's `response` shape.
48
- * @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
49
- *
50
- */
51
- export class PutFunctionEventInvokeConfigCommand extends $Command<
52
- PutFunctionEventInvokeConfigCommandInput,
53
- PutFunctionEventInvokeConfigCommandOutput,
54
- LambdaClientResolvedConfig
55
- > {
56
- // Start section: command_properties
57
- // End section: command_properties
58
-
59
- constructor(readonly input: PutFunctionEventInvokeConfigCommandInput) {
60
- // Start section: command_constructor
61
- super();
62
- // End section: command_constructor
63
- }
64
-
65
- /**
66
- * @internal
67
- */
68
- resolveMiddleware(
69
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
70
- configuration: LambdaClientResolvedConfig,
71
- options?: __HttpHandlerOptions
72
- ): Handler<PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput> {
73
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
74
-
75
- const stack = clientStack.concat(this.middlewareStack);
76
-
77
- const { logger } = configuration;
78
- const clientName = "LambdaClient";
79
- const commandName = "PutFunctionEventInvokeConfigCommand";
80
- const handlerExecutionContext: HandlerExecutionContext = {
81
- logger,
82
- clientName,
83
- commandName,
84
- inputFilterSensitiveLog: PutFunctionEventInvokeConfigRequest.filterSensitiveLog,
85
- outputFilterSensitiveLog: FunctionEventInvokeConfig.filterSensitiveLog,
86
- };
87
- const { requestHandler } = configuration;
88
- return stack.resolve(
89
- (request: FinalizeHandlerArguments<any>) =>
90
- requestHandler.handle(request.request as __HttpRequest, options || {}),
91
- handlerExecutionContext
92
- );
93
- }
94
-
95
- private serialize(input: PutFunctionEventInvokeConfigCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
96
- return serializeAws_restJson1PutFunctionEventInvokeConfigCommand(input, context);
97
- }
98
-
99
- private deserialize(
100
- output: __HttpResponse,
101
- context: __SerdeContext
102
- ): Promise<PutFunctionEventInvokeConfigCommandOutput> {
103
- return deserializeAws_restJson1PutFunctionEventInvokeConfigCommand(output, context);
104
- }
105
-
106
- // Start section: command_body_extra
107
- // End section: command_body_extra
108
- }
@@ -1,103 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
15
- import { PutProvisionedConcurrencyConfigRequest, PutProvisionedConcurrencyConfigResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1PutProvisionedConcurrencyConfigCommand,
18
- serializeAws_restJson1PutProvisionedConcurrencyConfigCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface PutProvisionedConcurrencyConfigCommandInput extends PutProvisionedConcurrencyConfigRequest {}
22
- export interface PutProvisionedConcurrencyConfigCommandOutput
23
- extends PutProvisionedConcurrencyConfigResponse,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>Adds a provisioned concurrency configuration to a function's alias or version.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { LambdaClient, PutProvisionedConcurrencyConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
32
- * // const { LambdaClient, PutProvisionedConcurrencyConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
33
- * const client = new LambdaClient(config);
34
- * const command = new PutProvisionedConcurrencyConfigCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link PutProvisionedConcurrencyConfigCommandInput} for command's `input` shape.
39
- * @see {@link PutProvisionedConcurrencyConfigCommandOutput} for command's `response` shape.
40
- * @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class PutProvisionedConcurrencyConfigCommand extends $Command<
44
- PutProvisionedConcurrencyConfigCommandInput,
45
- PutProvisionedConcurrencyConfigCommandOutput,
46
- LambdaClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: PutProvisionedConcurrencyConfigCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: LambdaClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "LambdaClient";
71
- const commandName = "PutProvisionedConcurrencyConfigCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: PutProvisionedConcurrencyConfigRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: PutProvisionedConcurrencyConfigResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(
88
- input: PutProvisionedConcurrencyConfigCommandInput,
89
- context: __SerdeContext
90
- ): Promise<__HttpRequest> {
91
- return serializeAws_restJson1PutProvisionedConcurrencyConfigCommand(input, context);
92
- }
93
-
94
- private deserialize(
95
- output: __HttpResponse,
96
- context: __SerdeContext
97
- ): Promise<PutProvisionedConcurrencyConfigCommandOutput> {
98
- return deserializeAws_restJson1PutProvisionedConcurrencyConfigCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }
@@ -1,100 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
15
- import { RemoveLayerVersionPermissionRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1RemoveLayerVersionPermissionCommand,
18
- serializeAws_restJson1RemoveLayerVersionPermissionCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface RemoveLayerVersionPermissionCommandInput extends RemoveLayerVersionPermissionRequest {}
22
- export interface RemoveLayerVersionPermissionCommandOutput extends __MetadataBearer {}
23
-
24
- /**
25
- * <p>Removes a statement from the permissions policy for a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
26
- * layer</a>. For more information, see
27
- * <a>AddLayerVersionPermission</a>.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { LambdaClient, RemoveLayerVersionPermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
32
- * // const { LambdaClient, RemoveLayerVersionPermissionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
33
- * const client = new LambdaClient(config);
34
- * const command = new RemoveLayerVersionPermissionCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link RemoveLayerVersionPermissionCommandInput} for command's `input` shape.
39
- * @see {@link RemoveLayerVersionPermissionCommandOutput} for command's `response` shape.
40
- * @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class RemoveLayerVersionPermissionCommand extends $Command<
44
- RemoveLayerVersionPermissionCommandInput,
45
- RemoveLayerVersionPermissionCommandOutput,
46
- LambdaClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: RemoveLayerVersionPermissionCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: LambdaClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "LambdaClient";
71
- const commandName = "RemoveLayerVersionPermissionCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: RemoveLayerVersionPermissionRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: (output: any) => output,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: RemoveLayerVersionPermissionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1RemoveLayerVersionPermissionCommand(input, context);
89
- }
90
-
91
- private deserialize(
92
- output: __HttpResponse,
93
- context: __SerdeContext
94
- ): Promise<RemoveLayerVersionPermissionCommandOutput> {
95
- return deserializeAws_restJson1RemoveLayerVersionPermissionCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
15
- import { RemovePermissionRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1RemovePermissionCommand,
18
- serializeAws_restJson1RemovePermissionCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface RemovePermissionCommandInput extends RemovePermissionRequest {}
22
- export interface RemovePermissionCommandOutput extends __MetadataBearer {}
23
-
24
- /**
25
- * <p>Revokes function-use permission from an Amazon Web Services service or another account. You can get the ID of the statement
26
- * from the output of <a>GetPolicy</a>.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { LambdaClient, RemovePermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
31
- * // const { LambdaClient, RemovePermissionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
32
- * const client = new LambdaClient(config);
33
- * const command = new RemovePermissionCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link RemovePermissionCommandInput} for command's `input` shape.
38
- * @see {@link RemovePermissionCommandOutput} for command's `response` shape.
39
- * @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class RemovePermissionCommand extends $Command<
43
- RemovePermissionCommandInput,
44
- RemovePermissionCommandOutput,
45
- LambdaClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: RemovePermissionCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: LambdaClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<RemovePermissionCommandInput, RemovePermissionCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "LambdaClient";
70
- const commandName = "RemovePermissionCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: RemovePermissionRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: (output: any) => output,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: RemovePermissionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1RemovePermissionCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RemovePermissionCommandOutput> {
91
- return deserializeAws_restJson1RemovePermissionCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }