@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,107 +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 { AddPermissionRequest, AddPermissionResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1AddPermissionCommand,
18
- serializeAws_restJson1AddPermissionCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface AddPermissionCommandInput extends AddPermissionRequest {}
22
- export interface AddPermissionCommandOutput extends AddPermissionResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Grants an Amazon Web Services service or another account permission to use a function. You can apply the policy at the
26
- * function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier,
27
- * the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function.
28
- * Note: Lambda does not support adding policies to version $LATEST.</p>
29
- *
30
- * <p>To grant permission to another account, specify the account ID as the <code>Principal</code>. For Amazon Web Services
31
- * services, the principal is a domain-style identifier defined by the service, like <code>s3.amazonaws.com</code> or
32
- * <code>sns.amazonaws.com</code>. For Amazon Web Services services, you can also specify the ARN of the associated resource as the
33
- * <code>SourceArn</code>. If you grant permission to a service principal without specifying the source, other
34
- * accounts could potentially configure resources in their account to invoke your Lambda function.</p>
35
- *
36
- * <p>This action adds a statement to a resource-based permissions policy for the function. For more information
37
- * about function policies, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">Lambda Function Policies</a>. </p>
38
- * @example
39
- * Use a bare-bones client and the command you need to make an API call.
40
- * ```javascript
41
- * import { LambdaClient, AddPermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
42
- * // const { LambdaClient, AddPermissionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
43
- * const client = new LambdaClient(config);
44
- * const command = new AddPermissionCommand(input);
45
- * const response = await client.send(command);
46
- * ```
47
- *
48
- * @see {@link AddPermissionCommandInput} for command's `input` shape.
49
- * @see {@link AddPermissionCommandOutput} for command's `response` shape.
50
- * @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
51
- *
52
- */
53
- export class AddPermissionCommand extends $Command<
54
- AddPermissionCommandInput,
55
- AddPermissionCommandOutput,
56
- LambdaClientResolvedConfig
57
- > {
58
- // Start section: command_properties
59
- // End section: command_properties
60
-
61
- constructor(readonly input: AddPermissionCommandInput) {
62
- // Start section: command_constructor
63
- super();
64
- // End section: command_constructor
65
- }
66
-
67
- /**
68
- * @internal
69
- */
70
- resolveMiddleware(
71
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
72
- configuration: LambdaClientResolvedConfig,
73
- options?: __HttpHandlerOptions
74
- ): Handler<AddPermissionCommandInput, AddPermissionCommandOutput> {
75
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
76
-
77
- const stack = clientStack.concat(this.middlewareStack);
78
-
79
- const { logger } = configuration;
80
- const clientName = "LambdaClient";
81
- const commandName = "AddPermissionCommand";
82
- const handlerExecutionContext: HandlerExecutionContext = {
83
- logger,
84
- clientName,
85
- commandName,
86
- inputFilterSensitiveLog: AddPermissionRequest.filterSensitiveLog,
87
- outputFilterSensitiveLog: AddPermissionResponse.filterSensitiveLog,
88
- };
89
- const { requestHandler } = configuration;
90
- return stack.resolve(
91
- (request: FinalizeHandlerArguments<any>) =>
92
- requestHandler.handle(request.request as __HttpRequest, options || {}),
93
- handlerExecutionContext
94
- );
95
- }
96
-
97
- private serialize(input: AddPermissionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
98
- return serializeAws_restJson1AddPermissionCommand(input, context);
99
- }
100
-
101
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AddPermissionCommandOutput> {
102
- return deserializeAws_restJson1AddPermissionCommand(output, context);
103
- }
104
-
105
- // Start section: command_body_extra
106
- // End section: command_body_extra
107
- }
@@ -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 { AliasConfiguration, CreateAliasRequest } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CreateAliasCommand,
18
- serializeAws_restJson1CreateAliasCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CreateAliasCommandInput extends CreateAliasRequest {}
22
- export interface CreateAliasCommandOutput extends AliasConfiguration, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">alias</a> for a
26
- * Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a
27
- * different version.</p>
28
- * <p>You can also map an alias to split invocation requests between two versions. Use the
29
- * <code>RoutingConfig</code> parameter to specify a second version and the percentage of invocation requests that
30
- * it receives.</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { LambdaClient, CreateAliasCommand } from "@aws-sdk/client-lambda"; // ES Modules import
35
- * // const { LambdaClient, CreateAliasCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
36
- * const client = new LambdaClient(config);
37
- * const command = new CreateAliasCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link CreateAliasCommandInput} for command's `input` shape.
42
- * @see {@link CreateAliasCommandOutput} for command's `response` shape.
43
- * @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class CreateAliasCommand extends $Command<
47
- CreateAliasCommandInput,
48
- CreateAliasCommandOutput,
49
- LambdaClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: CreateAliasCommandInput) {
55
- // Start section: command_constructor
56
- super();
57
- // End section: command_constructor
58
- }
59
-
60
- /**
61
- * @internal
62
- */
63
- resolveMiddleware(
64
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
65
- configuration: LambdaClientResolvedConfig,
66
- options?: __HttpHandlerOptions
67
- ): Handler<CreateAliasCommandInput, CreateAliasCommandOutput> {
68
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
-
70
- const stack = clientStack.concat(this.middlewareStack);
71
-
72
- const { logger } = configuration;
73
- const clientName = "LambdaClient";
74
- const commandName = "CreateAliasCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: CreateAliasRequest.filterSensitiveLog,
80
- outputFilterSensitiveLog: AliasConfiguration.filterSensitiveLog,
81
- };
82
- const { requestHandler } = configuration;
83
- return stack.resolve(
84
- (request: FinalizeHandlerArguments<any>) =>
85
- requestHandler.handle(request.request as __HttpRequest, options || {}),
86
- handlerExecutionContext
87
- );
88
- }
89
-
90
- private serialize(input: CreateAliasCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
91
- return serializeAws_restJson1CreateAliasCommand(input, context);
92
- }
93
-
94
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateAliasCommandOutput> {
95
- return deserializeAws_restJson1CreateAliasCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }
@@ -1,97 +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 { CreateCodeSigningConfigRequest, CreateCodeSigningConfigResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CreateCodeSigningConfigCommand,
18
- serializeAws_restJson1CreateCodeSigningConfigCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CreateCodeSigningConfigCommandInput extends CreateCodeSigningConfigRequest {}
22
- export interface CreateCodeSigningConfigCommandOutput extends CreateCodeSigningConfigResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Creates a code signing configuration. A <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-trustedcode.html">code signing configuration</a> defines a list of
26
- * allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment
27
- * validation checks fail). </p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { LambdaClient, CreateCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
32
- * // const { LambdaClient, CreateCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
33
- * const client = new LambdaClient(config);
34
- * const command = new CreateCodeSigningConfigCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link CreateCodeSigningConfigCommandInput} for command's `input` shape.
39
- * @see {@link CreateCodeSigningConfigCommandOutput} for command's `response` shape.
40
- * @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class CreateCodeSigningConfigCommand extends $Command<
44
- CreateCodeSigningConfigCommandInput,
45
- CreateCodeSigningConfigCommandOutput,
46
- LambdaClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: CreateCodeSigningConfigCommandInput) {
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<CreateCodeSigningConfigCommandInput, CreateCodeSigningConfigCommandOutput> {
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 = "CreateCodeSigningConfigCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: CreateCodeSigningConfigRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: CreateCodeSigningConfigResponse.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(input: CreateCodeSigningConfigCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1CreateCodeSigningConfigCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateCodeSigningConfigCommandOutput> {
92
- return deserializeAws_restJson1CreateCodeSigningConfigCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,159 +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 { CreateEventSourceMappingRequest, EventSourceMappingConfiguration } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CreateEventSourceMappingCommand,
18
- serializeAws_restJson1CreateEventSourceMappingCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CreateEventSourceMappingCommandInput extends CreateEventSourceMappingRequest {}
22
- export interface CreateEventSourceMappingCommandOutput extends EventSourceMappingConfiguration, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Creates a mapping between an event source and an Lambda function. Lambda reads items from the
26
- * event source and triggers the function.</p>
27
- * <p>For details about each event source type, see the following topics. </p>
28
- * <ul>
29
- * <li>
30
- * <p>
31
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping">
32
- * Configuring a Dynamo DB stream as an event source</a>
33
- * </p>
34
- * </li>
35
- * <li>
36
- * <p>
37
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping">
38
- * Configuring a Kinesis stream as an event source</a>
39
- * </p>
40
- * </li>
41
- * <li>
42
- * <p>
43
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource"> Configuring an
44
- * Amazon SQS queue as an event source</a>
45
- * </p>
46
- * </li>
47
- * <li>
48
- * <p>
49
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping">
50
- * Configuring an MQ broker as an event source</a>
51
- * </p>
52
- * </li>
53
- * <li>
54
- * <p>
55
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html"> Configuring MSK as an event
56
- * source</a>
57
- * </p>
58
- * </li>
59
- * <li>
60
- * <p>
61
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html"> Configuring Self-Managed Apache Kafka
62
- * as an event source</a>
63
- * </p>
64
- * </li>
65
- * </ul>
66
- *
67
- * <p>The following error handling options are only available for stream sources (DynamoDB and Kinesis):</p>
68
- * <ul>
69
- * <li>
70
- * <p>
71
- * <code>BisectBatchOnFunctionError</code> - If the function returns an error, split the batch in two and retry.</p>
72
- * </li>
73
- * <li>
74
- * <p>
75
- * <code>DestinationConfig</code> - Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p>
76
- * </li>
77
- * <li>
78
- * <p>
79
- * <code>MaximumRecordAgeInSeconds</code> - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p>
80
- * </li>
81
- * <li>
82
- * <p>
83
- * <code>MaximumRetryAttempts</code> - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
84
- * </li>
85
- * <li>
86
- * <p>
87
- * <code>ParallelizationFactor</code> - Process multiple batches from each shard concurrently.</p>
88
- * </li>
89
- * </ul>
90
- * @example
91
- * Use a bare-bones client and the command you need to make an API call.
92
- * ```javascript
93
- * import { LambdaClient, CreateEventSourceMappingCommand } from "@aws-sdk/client-lambda"; // ES Modules import
94
- * // const { LambdaClient, CreateEventSourceMappingCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
95
- * const client = new LambdaClient(config);
96
- * const command = new CreateEventSourceMappingCommand(input);
97
- * const response = await client.send(command);
98
- * ```
99
- *
100
- * @see {@link CreateEventSourceMappingCommandInput} for command's `input` shape.
101
- * @see {@link CreateEventSourceMappingCommandOutput} for command's `response` shape.
102
- * @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
103
- *
104
- */
105
- export class CreateEventSourceMappingCommand extends $Command<
106
- CreateEventSourceMappingCommandInput,
107
- CreateEventSourceMappingCommandOutput,
108
- LambdaClientResolvedConfig
109
- > {
110
- // Start section: command_properties
111
- // End section: command_properties
112
-
113
- constructor(readonly input: CreateEventSourceMappingCommandInput) {
114
- // Start section: command_constructor
115
- super();
116
- // End section: command_constructor
117
- }
118
-
119
- /**
120
- * @internal
121
- */
122
- resolveMiddleware(
123
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
124
- configuration: LambdaClientResolvedConfig,
125
- options?: __HttpHandlerOptions
126
- ): Handler<CreateEventSourceMappingCommandInput, CreateEventSourceMappingCommandOutput> {
127
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
128
-
129
- const stack = clientStack.concat(this.middlewareStack);
130
-
131
- const { logger } = configuration;
132
- const clientName = "LambdaClient";
133
- const commandName = "CreateEventSourceMappingCommand";
134
- const handlerExecutionContext: HandlerExecutionContext = {
135
- logger,
136
- clientName,
137
- commandName,
138
- inputFilterSensitiveLog: CreateEventSourceMappingRequest.filterSensitiveLog,
139
- outputFilterSensitiveLog: EventSourceMappingConfiguration.filterSensitiveLog,
140
- };
141
- const { requestHandler } = configuration;
142
- return stack.resolve(
143
- (request: FinalizeHandlerArguments<any>) =>
144
- requestHandler.handle(request.request as __HttpRequest, options || {}),
145
- handlerExecutionContext
146
- );
147
- }
148
-
149
- private serialize(input: CreateEventSourceMappingCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
150
- return serializeAws_restJson1CreateEventSourceMappingCommand(input, context);
151
- }
152
-
153
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateEventSourceMappingCommandOutput> {
154
- return deserializeAws_restJson1CreateEventSourceMappingCommand(output, context);
155
- }
156
-
157
- // Start section: command_body_extra
158
- // End section: command_body_extra
159
- }
@@ -1,141 +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 { CreateFunctionRequest, FunctionConfiguration } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1CreateFunctionCommand,
18
- serializeAws_restJson1CreateFunctionCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface CreateFunctionCommandInput extends CreateFunctionRequest {}
22
- export interface CreateFunctionCommandOutput extends FunctionConfiguration, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Creates a Lambda function. To create a function, you need a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html">deployment package</a> and an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role">execution role</a>. The
26
- * deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services
27
- * services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing.</p>
28
- *
29
- * <p>You set the package type to <code>Image</code> if the deployment package is a
30
- * <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container image</a>. For a container image,
31
- * the code property must include the URI of a container image in the Amazon ECR registry.
32
- * You do not need to specify the handler and runtime properties. </p>
33
- *
34
- * <p>You set the package type to <code>Zip</code> if the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip">.zip file
35
- * archive</a>. For a .zip file archive, the code property specifies the location of the
36
- * .zip file. You must also specify the handler and runtime properties. The code in the
37
- * deployment package must be compatible with the target instruction set architecture of the
38
- * function (<code>x86-64</code> or <code>arm64</code>). If you do not specify the architecture, the default value is
39
- * <code>x86-64</code>.</p>
40
- *
41
- * <p>When you create a function, Lambda provisions an instance of the function and its supporting resources. If
42
- * your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or
43
- * modify the function. The <code>State</code>, <code>StateReason</code>, and <code>StateReasonCode</code> fields in
44
- * the response from <a>GetFunctionConfiguration</a> indicate when the function is ready to invoke. For
45
- * more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">Function
46
- * States</a>.</p>
47
- *
48
- * <p>A function has an unpublished version, and can have published versions and aliases. The unpublished version
49
- * changes when you update your function's code and configuration. A published version is a snapshot of your function
50
- * code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be
51
- * changed to map to a different version. Use the <code>Publish</code> parameter to create version <code>1</code> of
52
- * your function from its initial configuration.</p>
53
- *
54
- * <p>The other parameters let you configure version-specific and function-level settings. You can modify
55
- * version-specific settings later with <a>UpdateFunctionConfiguration</a>. Function-level settings apply
56
- * to both the unpublished and published versions of the function, and include tags (<a>TagResource</a>)
57
- * and per-function concurrency limits (<a>PutFunctionConcurrency</a>).</p>
58
- *
59
- * <p>You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function,
60
- * specify the ARN of a code-signing configuration. When a user
61
- * attempts to deploy a code package with <a>UpdateFunctionCode</a>, Lambda checks that the code
62
- * package has a valid signature from a trusted publisher. The code-signing configuration
63
- * includes set set of signing profiles, which define the trusted publishers for this function.</p>
64
- *
65
- * <p>If another account or an Amazon Web Services service invokes your function, use <a>AddPermission</a> to grant
66
- * permission by creating a resource-based IAM policy. You can grant permissions at the function level, on a version,
67
- * or on an alias.</p>
68
- *
69
- * <p>To invoke your function directly, use <a>Invoke</a>. To invoke your function in response to events
70
- * in other Amazon Web Services services, create an event source mapping (<a>CreateEventSourceMapping</a>), or configure a
71
- * function trigger in the other service. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html">Invoking Functions</a>.</p>
72
- * @example
73
- * Use a bare-bones client and the command you need to make an API call.
74
- * ```javascript
75
- * import { LambdaClient, CreateFunctionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
76
- * // const { LambdaClient, CreateFunctionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
77
- * const client = new LambdaClient(config);
78
- * const command = new CreateFunctionCommand(input);
79
- * const response = await client.send(command);
80
- * ```
81
- *
82
- * @see {@link CreateFunctionCommandInput} for command's `input` shape.
83
- * @see {@link CreateFunctionCommandOutput} for command's `response` shape.
84
- * @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
85
- *
86
- */
87
- export class CreateFunctionCommand extends $Command<
88
- CreateFunctionCommandInput,
89
- CreateFunctionCommandOutput,
90
- LambdaClientResolvedConfig
91
- > {
92
- // Start section: command_properties
93
- // End section: command_properties
94
-
95
- constructor(readonly input: CreateFunctionCommandInput) {
96
- // Start section: command_constructor
97
- super();
98
- // End section: command_constructor
99
- }
100
-
101
- /**
102
- * @internal
103
- */
104
- resolveMiddleware(
105
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
106
- configuration: LambdaClientResolvedConfig,
107
- options?: __HttpHandlerOptions
108
- ): Handler<CreateFunctionCommandInput, CreateFunctionCommandOutput> {
109
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
110
-
111
- const stack = clientStack.concat(this.middlewareStack);
112
-
113
- const { logger } = configuration;
114
- const clientName = "LambdaClient";
115
- const commandName = "CreateFunctionCommand";
116
- const handlerExecutionContext: HandlerExecutionContext = {
117
- logger,
118
- clientName,
119
- commandName,
120
- inputFilterSensitiveLog: CreateFunctionRequest.filterSensitiveLog,
121
- outputFilterSensitiveLog: FunctionConfiguration.filterSensitiveLog,
122
- };
123
- const { requestHandler } = configuration;
124
- return stack.resolve(
125
- (request: FinalizeHandlerArguments<any>) =>
126
- requestHandler.handle(request.request as __HttpRequest, options || {}),
127
- handlerExecutionContext
128
- );
129
- }
130
-
131
- private serialize(input: CreateFunctionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
132
- return serializeAws_restJson1CreateFunctionCommand(input, context);
133
- }
134
-
135
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateFunctionCommandOutput> {
136
- return deserializeAws_restJson1CreateFunctionCommand(output, context);
137
- }
138
-
139
- // Start section: command_body_extra
140
- // End section: command_body_extra
141
- }