@aws-sdk/client-greengrassv2 3.32.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 (306) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/GreengrassV2.js +2 -3
  3. package/{dist/cjs → dist-cjs}/GreengrassV2Client.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/CancelDeploymentCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/CreateComponentVersionCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/CreateDeploymentCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/DeleteComponentCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/DeleteCoreDeviceCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/DescribeComponentCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/GetComponentCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/GetComponentVersionArtifactCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/GetCoreDeviceCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/GetDeploymentCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/ListComponentVersionsCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/ListComponentsCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/ListCoreDevicesCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/ListDeploymentsCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/ListEffectiveDeploymentsCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/ListInstalledComponentsCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/ResolveComponentCandidatesCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  28. package/{dist/cjs → dist-cjs}/index.js +0 -1
  29. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  30. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  31. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  32. package/{dist/cjs → dist-cjs}/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js +1 -2
  33. package/{dist/cjs → dist-cjs}/pagination/ListComponentVersionsPaginator.js +1 -2
  34. package/{dist/cjs → dist-cjs}/pagination/ListComponentsPaginator.js +1 -2
  35. package/{dist/cjs → dist-cjs}/pagination/ListCoreDevicesPaginator.js +1 -2
  36. package/{dist/cjs → dist-cjs}/pagination/ListDeploymentsPaginator.js +1 -2
  37. package/{dist/cjs → dist-cjs}/pagination/ListEffectiveDeploymentsPaginator.js +1 -2
  38. package/{dist/cjs → dist-cjs}/pagination/ListInstalledComponentsPaginator.js +1 -2
  39. package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +6 -7
  40. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  41. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  42. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  43. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  44. package/{dist/es → dist-es}/GreengrassV2.js +3 -17
  45. package/{dist/es → dist-es}/GreengrassV2Client.js +2 -21
  46. package/dist-es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +39 -0
  47. package/{dist/es → dist-es}/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +4 -32
  48. package/{dist/es → dist-es}/commands/CancelDeploymentCommand.js +4 -32
  49. package/dist-es/commands/CreateComponentVersionCommand.js +39 -0
  50. package/dist-es/commands/CreateDeploymentCommand.js +39 -0
  51. package/{dist/es → dist-es}/commands/DeleteComponentCommand.js +4 -36
  52. package/{dist/es → dist-es}/commands/DeleteCoreDeviceCommand.js +4 -33
  53. package/{dist/es → dist-es}/commands/DescribeComponentCommand.js +4 -30
  54. package/{dist/es → dist-es}/commands/GetComponentCommand.js +4 -31
  55. package/{dist/es → dist-es}/commands/GetComponentVersionArtifactCommand.js +4 -31
  56. package/{dist/es → dist-es}/commands/GetCoreDeviceCommand.js +4 -30
  57. package/{dist/es → dist-es}/commands/GetDeploymentCommand.js +4 -30
  58. package/{dist/es → dist-es}/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +4 -31
  59. package/{dist/es → dist-es}/commands/ListComponentVersionsCommand.js +4 -30
  60. package/{dist/es → dist-es}/commands/ListComponentsCommand.js +4 -31
  61. package/{dist/es → dist-es}/commands/ListCoreDevicesCommand.js +4 -30
  62. package/{dist/es → dist-es}/commands/ListDeploymentsCommand.js +4 -30
  63. package/{dist/es → dist-es}/commands/ListEffectiveDeploymentsCommand.js +4 -31
  64. package/{dist/es → dist-es}/commands/ListInstalledComponentsCommand.js +4 -30
  65. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  66. package/dist-es/commands/ResolveComponentCandidatesCommand.js +39 -0
  67. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -31
  68. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  69. package/{dist/es → dist-es}/endpoints.js +1 -2
  70. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  71. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  72. package/{dist/es → dist-es}/models/models_0.js +0 -274
  73. package/dist-es/pagination/Interfaces.js +1 -0
  74. package/{dist/es → dist-es}/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js +17 -30
  75. package/{dist/es → dist-es}/pagination/ListComponentVersionsPaginator.js +17 -30
  76. package/{dist/es → dist-es}/pagination/ListComponentsPaginator.js +17 -30
  77. package/{dist/es → dist-es}/pagination/ListCoreDevicesPaginator.js +17 -30
  78. package/{dist/es → dist-es}/pagination/ListDeploymentsPaginator.js +17 -30
  79. package/{dist/es → dist-es}/pagination/ListEffectiveDeploymentsPaginator.js +17 -30
  80. package/{dist/es → dist-es}/pagination/ListInstalledComponentsPaginator.js +17 -30
  81. package/{dist/es → dist-es}/protocols/Aws_restJson1.js +667 -673
  82. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  83. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  84. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  85. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  86. package/{dist/types → dist-types}/GreengrassV2.d.ts +3 -3
  87. package/{dist/types → dist-types}/GreengrassV2Client.d.ts +9 -9
  88. package/{dist/types → dist-types}/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.d.ts +2 -2
  89. package/{dist/types → dist-types}/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.d.ts +2 -2
  90. package/{dist/types → dist-types}/commands/CancelDeploymentCommand.d.ts +2 -2
  91. package/{dist/types → dist-types}/commands/CreateComponentVersionCommand.d.ts +2 -2
  92. package/{dist/types → dist-types}/commands/CreateDeploymentCommand.d.ts +2 -2
  93. package/{dist/types → dist-types}/commands/DeleteComponentCommand.d.ts +2 -2
  94. package/{dist/types → dist-types}/commands/DeleteCoreDeviceCommand.d.ts +2 -2
  95. package/{dist/types → dist-types}/commands/DescribeComponentCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/GetComponentCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/GetComponentVersionArtifactCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/GetCoreDeviceCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/commands/GetDeploymentCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/ListComponentVersionsCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/ListComponentsCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/ListCoreDevicesCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/ListDeploymentsCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/ListEffectiveDeploymentsCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/ListInstalledComponentsCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/ResolveComponentCandidatesCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  112. package/{index.ts → dist-types/index.d.ts} +0 -0
  113. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  114. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  115. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  116. package/{dist/types → dist-types}/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.d.ts +1 -1
  117. package/{dist/types → dist-types}/pagination/ListComponentVersionsPaginator.d.ts +1 -1
  118. package/{dist/types → dist-types}/pagination/ListComponentsPaginator.d.ts +1 -1
  119. package/{dist/types → dist-types}/pagination/ListCoreDevicesPaginator.d.ts +1 -1
  120. package/{dist/types → dist-types}/pagination/ListDeploymentsPaginator.d.ts +1 -1
  121. package/{dist/types → dist-types}/pagination/ListEffectiveDeploymentsPaginator.d.ts +1 -1
  122. package/{dist/types → dist-types}/pagination/ListInstalledComponentsPaginator.d.ts +1 -1
  123. package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +3 -3
  124. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  125. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  126. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  127. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  128. package/{dist/types → dist-types}/ts3.4/GreengrassV2.d.ts +3 -3
  129. package/{dist/types → dist-types}/ts3.4/GreengrassV2Client.d.ts +9 -9
  130. package/{dist/types → dist-types}/ts3.4/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.d.ts +2 -2
  131. package/{dist/types → dist-types}/ts3.4/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.d.ts +2 -2
  132. package/{dist/types → dist-types}/ts3.4/commands/CancelDeploymentCommand.d.ts +2 -2
  133. package/{dist/types → dist-types}/ts3.4/commands/CreateComponentVersionCommand.d.ts +2 -2
  134. package/{dist/types → dist-types}/ts3.4/commands/CreateDeploymentCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/ts3.4/commands/DeleteComponentCommand.d.ts +2 -2
  136. package/{dist/types → dist-types}/ts3.4/commands/DeleteCoreDeviceCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/ts3.4/commands/DescribeComponentCommand.d.ts +2 -2
  138. package/{dist/types → dist-types}/ts3.4/commands/GetComponentCommand.d.ts +2 -2
  139. package/{dist/types → dist-types}/ts3.4/commands/GetComponentVersionArtifactCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/ts3.4/commands/GetCoreDeviceCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/ts3.4/commands/GetDeploymentCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/ts3.4/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.d.ts +2 -2
  143. package/{dist/types → dist-types}/ts3.4/commands/ListComponentVersionsCommand.d.ts +2 -2
  144. package/{dist/types → dist-types}/ts3.4/commands/ListComponentsCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/ts3.4/commands/ListCoreDevicesCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/ts3.4/commands/ListDeploymentsCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/ts3.4/commands/ListEffectiveDeploymentsCommand.d.ts +2 -2
  148. package/{dist/types → dist-types}/ts3.4/commands/ListInstalledComponentsCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/ts3.4/commands/ResolveComponentCandidatesCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  152. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  153. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  154. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  155. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  156. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  157. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  158. package/{dist/types → dist-types}/ts3.4/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.d.ts +1 -1
  159. package/{dist/types → dist-types}/ts3.4/pagination/ListComponentVersionsPaginator.d.ts +1 -1
  160. package/{dist/types → dist-types}/ts3.4/pagination/ListComponentsPaginator.d.ts +1 -1
  161. package/{dist/types → dist-types}/ts3.4/pagination/ListCoreDevicesPaginator.d.ts +1 -1
  162. package/{dist/types → dist-types}/ts3.4/pagination/ListDeploymentsPaginator.d.ts +1 -1
  163. package/{dist/types → dist-types}/ts3.4/pagination/ListEffectiveDeploymentsPaginator.d.ts +1 -1
  164. package/{dist/types → dist-types}/ts3.4/pagination/ListInstalledComponentsPaginator.d.ts +1 -1
  165. package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +3 -3
  166. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  167. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  168. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  169. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  170. package/package.json +52 -49
  171. package/GreengrassV2.ts +0 -969
  172. package/GreengrassV2Client.ts +0 -344
  173. package/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.ts +0 -121
  174. package/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.ts +0 -111
  175. package/commands/CancelDeploymentCommand.ts +0 -96
  176. package/commands/CreateComponentVersionCommand.ts +0 -147
  177. package/commands/CreateDeploymentCommand.ts +0 -104
  178. package/commands/DeleteComponentCommand.ts +0 -100
  179. package/commands/DeleteCoreDeviceCommand.ts +0 -97
  180. package/commands/DescribeComponentCommand.ts +0 -94
  181. package/commands/GetComponentCommand.ts +0 -95
  182. package/commands/GetComponentVersionArtifactCommand.ts +0 -100
  183. package/commands/GetCoreDeviceCommand.ts +0 -94
  184. package/commands/GetDeploymentCommand.ts +0 -94
  185. package/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.ts +0 -110
  186. package/commands/ListComponentVersionsCommand.ts +0 -94
  187. package/commands/ListComponentsCommand.ts +0 -95
  188. package/commands/ListCoreDevicesCommand.ts +0 -94
  189. package/commands/ListDeploymentsCommand.ts +0 -94
  190. package/commands/ListEffectiveDeploymentsCommand.ts +0 -95
  191. package/commands/ListInstalledComponentsCommand.ts +0 -94
  192. package/commands/ListTagsForResourceCommand.ts +0 -94
  193. package/commands/ResolveComponentCandidatesCommand.ts +0 -111
  194. package/commands/TagResourceCommand.ts +0 -95
  195. package/commands/UntagResourceCommand.ts +0 -94
  196. package/dist/cjs/GreengrassV2.js.map +0 -1
  197. package/dist/cjs/GreengrassV2Client.js.map +0 -1
  198. package/dist/cjs/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js.map +0 -1
  199. package/dist/cjs/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js.map +0 -1
  200. package/dist/cjs/commands/CancelDeploymentCommand.js.map +0 -1
  201. package/dist/cjs/commands/CreateComponentVersionCommand.js.map +0 -1
  202. package/dist/cjs/commands/CreateDeploymentCommand.js.map +0 -1
  203. package/dist/cjs/commands/DeleteComponentCommand.js.map +0 -1
  204. package/dist/cjs/commands/DeleteCoreDeviceCommand.js.map +0 -1
  205. package/dist/cjs/commands/DescribeComponentCommand.js.map +0 -1
  206. package/dist/cjs/commands/GetComponentCommand.js.map +0 -1
  207. package/dist/cjs/commands/GetComponentVersionArtifactCommand.js.map +0 -1
  208. package/dist/cjs/commands/GetCoreDeviceCommand.js.map +0 -1
  209. package/dist/cjs/commands/GetDeploymentCommand.js.map +0 -1
  210. package/dist/cjs/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js.map +0 -1
  211. package/dist/cjs/commands/ListComponentVersionsCommand.js.map +0 -1
  212. package/dist/cjs/commands/ListComponentsCommand.js.map +0 -1
  213. package/dist/cjs/commands/ListCoreDevicesCommand.js.map +0 -1
  214. package/dist/cjs/commands/ListDeploymentsCommand.js.map +0 -1
  215. package/dist/cjs/commands/ListEffectiveDeploymentsCommand.js.map +0 -1
  216. package/dist/cjs/commands/ListInstalledComponentsCommand.js.map +0 -1
  217. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  218. package/dist/cjs/commands/ResolveComponentCandidatesCommand.js.map +0 -1
  219. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  220. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  221. package/dist/cjs/endpoints.js.map +0 -1
  222. package/dist/cjs/index.js.map +0 -1
  223. package/dist/cjs/models/index.js.map +0 -1
  224. package/dist/cjs/models/models_0.js.map +0 -1
  225. package/dist/cjs/package.json +0 -93
  226. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  227. package/dist/cjs/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js.map +0 -1
  228. package/dist/cjs/pagination/ListComponentVersionsPaginator.js.map +0 -1
  229. package/dist/cjs/pagination/ListComponentsPaginator.js.map +0 -1
  230. package/dist/cjs/pagination/ListCoreDevicesPaginator.js.map +0 -1
  231. package/dist/cjs/pagination/ListDeploymentsPaginator.js.map +0 -1
  232. package/dist/cjs/pagination/ListEffectiveDeploymentsPaginator.js.map +0 -1
  233. package/dist/cjs/pagination/ListInstalledComponentsPaginator.js.map +0 -1
  234. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  235. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  236. package/dist/cjs/runtimeConfig.js.map +0 -1
  237. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  238. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  239. package/dist/es/GreengrassV2.js.map +0 -1
  240. package/dist/es/GreengrassV2Client.js.map +0 -1
  241. package/dist/es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +0 -77
  242. package/dist/es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js.map +0 -1
  243. package/dist/es/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js.map +0 -1
  244. package/dist/es/commands/CancelDeploymentCommand.js.map +0 -1
  245. package/dist/es/commands/CreateComponentVersionCommand.js +0 -118
  246. package/dist/es/commands/CreateComponentVersionCommand.js.map +0 -1
  247. package/dist/es/commands/CreateDeploymentCommand.js +0 -75
  248. package/dist/es/commands/CreateDeploymentCommand.js.map +0 -1
  249. package/dist/es/commands/DeleteComponentCommand.js.map +0 -1
  250. package/dist/es/commands/DeleteCoreDeviceCommand.js.map +0 -1
  251. package/dist/es/commands/DescribeComponentCommand.js.map +0 -1
  252. package/dist/es/commands/GetComponentCommand.js.map +0 -1
  253. package/dist/es/commands/GetComponentVersionArtifactCommand.js.map +0 -1
  254. package/dist/es/commands/GetCoreDeviceCommand.js.map +0 -1
  255. package/dist/es/commands/GetDeploymentCommand.js.map +0 -1
  256. package/dist/es/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js.map +0 -1
  257. package/dist/es/commands/ListComponentVersionsCommand.js.map +0 -1
  258. package/dist/es/commands/ListComponentsCommand.js.map +0 -1
  259. package/dist/es/commands/ListCoreDevicesCommand.js.map +0 -1
  260. package/dist/es/commands/ListDeploymentsCommand.js.map +0 -1
  261. package/dist/es/commands/ListEffectiveDeploymentsCommand.js.map +0 -1
  262. package/dist/es/commands/ListInstalledComponentsCommand.js.map +0 -1
  263. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  264. package/dist/es/commands/ResolveComponentCandidatesCommand.js +0 -79
  265. package/dist/es/commands/ResolveComponentCandidatesCommand.js.map +0 -1
  266. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  267. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  268. package/dist/es/endpoints.js.map +0 -1
  269. package/dist/es/index.js +0 -35
  270. package/dist/es/index.js.map +0 -1
  271. package/dist/es/models/index.js +0 -2
  272. package/dist/es/models/index.js.map +0 -1
  273. package/dist/es/models/models_0.js.map +0 -1
  274. package/dist/es/package.json +0 -93
  275. package/dist/es/pagination/Interfaces.js +0 -2
  276. package/dist/es/pagination/Interfaces.js.map +0 -1
  277. package/dist/es/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js.map +0 -1
  278. package/dist/es/pagination/ListComponentVersionsPaginator.js.map +0 -1
  279. package/dist/es/pagination/ListComponentsPaginator.js.map +0 -1
  280. package/dist/es/pagination/ListCoreDevicesPaginator.js.map +0 -1
  281. package/dist/es/pagination/ListDeploymentsPaginator.js.map +0 -1
  282. package/dist/es/pagination/ListEffectiveDeploymentsPaginator.js.map +0 -1
  283. package/dist/es/pagination/ListInstalledComponentsPaginator.js.map +0 -1
  284. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  285. package/dist/es/runtimeConfig.browser.js.map +0 -1
  286. package/dist/es/runtimeConfig.js.map +0 -1
  287. package/dist/es/runtimeConfig.native.js.map +0 -1
  288. package/dist/es/runtimeConfig.shared.js.map +0 -1
  289. package/endpoints.ts +0 -84
  290. package/jest.config.js +0 -4
  291. package/models/models_0.ts +0 -2867
  292. package/pagination/Interfaces.ts +0 -7
  293. package/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.ts +0 -58
  294. package/pagination/ListComponentVersionsPaginator.ts +0 -58
  295. package/pagination/ListComponentsPaginator.ts +0 -58
  296. package/pagination/ListCoreDevicesPaginator.ts +0 -58
  297. package/pagination/ListDeploymentsPaginator.ts +0 -58
  298. package/pagination/ListEffectiveDeploymentsPaginator.ts +0 -58
  299. package/pagination/ListInstalledComponentsPaginator.ts +0 -58
  300. package/protocols/Aws_restJson1.ts +0 -4400
  301. package/runtimeConfig.browser.ts +0 -40
  302. package/runtimeConfig.native.ts +0 -16
  303. package/runtimeConfig.shared.ts +0 -16
  304. package/runtimeConfig.ts +0 -45
  305. package/tsconfig.es.json +0 -12
  306. package/tsconfig.json +0 -32
@@ -1,147 +0,0 @@
1
- import { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
2
- import { CreateComponentVersionRequest, CreateComponentVersionResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateComponentVersionCommand,
5
- serializeAws_restJson1CreateComponentVersionCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateComponentVersionCommandInput extends CreateComponentVersionRequest {}
21
- export interface CreateComponentVersionCommandOutput extends CreateComponentVersionResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a component. Components are software that run on Greengrass core devices. After you
25
- * develop and test a component on your core device, you can use this operation to upload your
26
- * component to IoT Greengrass. Then, you can deploy the component to other core devices.</p>
27
- * <p>You can use this operation to do the following:</p>
28
- * <ul>
29
- * <li>
30
- * <p>
31
- * <b>Create components from recipes</b>
32
- * </p>
33
- * <p>Create a component from a recipe, which is a file that defines the component's
34
- * metadata, parameters, dependencies, lifecycle, artifacts, and platform capability. For
35
- * more information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/component-recipe-reference.html">IoT Greengrass component recipe
36
- * reference</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>
37
- * <p>To create a component from a recipe, specify <code>inlineRecipe</code> when you call
38
- * this operation.</p>
39
- * </li>
40
- * <li>
41
- * <p>
42
- * <b>Create components from Lambda functions</b>
43
- * </p>
44
- * <p>Create a component from an Lambda function that runs on IoT Greengrass. This creates a recipe
45
- * and artifacts from the Lambda function's deployment package. You can use this operation to
46
- * migrate Lambda functions from IoT Greengrass V1 to IoT Greengrass V2.</p>
47
- * <p>This function only accepts Lambda functions that use the following runtimes:</p>
48
- * <ul>
49
- * <li>
50
- * <p>Python 2.7 – <code>python2.7</code>
51
- * </p>
52
- * </li>
53
- * <li>
54
- * <p>Python 3.7 – <code>python3.7</code>
55
- * </p>
56
- * </li>
57
- * <li>
58
- * <p>Python 3.8 – <code>python3.8</code>
59
- * </p>
60
- * </li>
61
- * <li>
62
- * <p>Java 8 – <code>java8</code>
63
- * </p>
64
- * </li>
65
- * <li>
66
- * <p>Node.js 10 – <code>nodejs10.x</code>
67
- * </p>
68
- * </li>
69
- * <li>
70
- * <p>Node.js 12 – <code>nodejs12.x</code>
71
- * </p>
72
- * </li>
73
- * </ul>
74
- * <p>To create a component from a Lambda function, specify <code>lambdaFunction</code>
75
- * when you call this operation.</p>
76
- * </li>
77
- * </ul>
78
- * @example
79
- * Use a bare-bones client and the command you need to make an API call.
80
- * ```javascript
81
- * import { GreengrassV2Client, CreateComponentVersionCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
82
- * // const { GreengrassV2Client, CreateComponentVersionCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
83
- * const client = new GreengrassV2Client(config);
84
- * const command = new CreateComponentVersionCommand(input);
85
- * const response = await client.send(command);
86
- * ```
87
- *
88
- * @see {@link CreateComponentVersionCommandInput} for command's `input` shape.
89
- * @see {@link CreateComponentVersionCommandOutput} for command's `response` shape.
90
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
91
- *
92
- */
93
- export class CreateComponentVersionCommand extends $Command<
94
- CreateComponentVersionCommandInput,
95
- CreateComponentVersionCommandOutput,
96
- GreengrassV2ClientResolvedConfig
97
- > {
98
- // Start section: command_properties
99
- // End section: command_properties
100
-
101
- constructor(readonly input: CreateComponentVersionCommandInput) {
102
- // Start section: command_constructor
103
- super();
104
- // End section: command_constructor
105
- }
106
-
107
- /**
108
- * @internal
109
- */
110
- resolveMiddleware(
111
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
112
- configuration: GreengrassV2ClientResolvedConfig,
113
- options?: __HttpHandlerOptions
114
- ): Handler<CreateComponentVersionCommandInput, CreateComponentVersionCommandOutput> {
115
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
116
-
117
- const stack = clientStack.concat(this.middlewareStack);
118
-
119
- const { logger } = configuration;
120
- const clientName = "GreengrassV2Client";
121
- const commandName = "CreateComponentVersionCommand";
122
- const handlerExecutionContext: HandlerExecutionContext = {
123
- logger,
124
- clientName,
125
- commandName,
126
- inputFilterSensitiveLog: CreateComponentVersionRequest.filterSensitiveLog,
127
- outputFilterSensitiveLog: CreateComponentVersionResponse.filterSensitiveLog,
128
- };
129
- const { requestHandler } = configuration;
130
- return stack.resolve(
131
- (request: FinalizeHandlerArguments<any>) =>
132
- requestHandler.handle(request.request as __HttpRequest, options || {}),
133
- handlerExecutionContext
134
- );
135
- }
136
-
137
- private serialize(input: CreateComponentVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
138
- return serializeAws_restJson1CreateComponentVersionCommand(input, context);
139
- }
140
-
141
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateComponentVersionCommandOutput> {
142
- return deserializeAws_restJson1CreateComponentVersionCommand(output, context);
143
- }
144
-
145
- // Start section: command_body_extra
146
- // End section: command_body_extra
147
- }
@@ -1,104 +0,0 @@
1
- import { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
2
- import { CreateDeploymentRequest, CreateDeploymentResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1CreateDeploymentCommand,
5
- serializeAws_restJson1CreateDeploymentCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateDeploymentCommandInput extends CreateDeploymentRequest {}
21
- export interface CreateDeploymentCommandOutput extends CreateDeploymentResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates a continuous deployment for a target, which is a Greengrass core device or group of core
25
- * devices. When you add a new core device to a group of core devices that has a deployment, IoT Greengrass
26
- * deploys that group's deployment to the new device.</p>
27
- * <p>You can define one deployment for each target. When you create a new deployment for a
28
- * target that has an existing deployment, you replace the previous deployment. IoT Greengrass applies the
29
- * new deployment to the target devices.</p>
30
- * <p>Every deployment has a revision number that indicates how many deployment revisions you
31
- * define for a target. Use this operation to create a new revision of an existing deployment.
32
- * This operation returns the revision number of the new deployment when you create it.</p>
33
- * <p>For more information, see the <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/create-deployments.html">Create deployments</a> in the
34
- * <i>IoT Greengrass V2 Developer Guide</i>.</p>
35
- * @example
36
- * Use a bare-bones client and the command you need to make an API call.
37
- * ```javascript
38
- * import { GreengrassV2Client, CreateDeploymentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
39
- * // const { GreengrassV2Client, CreateDeploymentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
40
- * const client = new GreengrassV2Client(config);
41
- * const command = new CreateDeploymentCommand(input);
42
- * const response = await client.send(command);
43
- * ```
44
- *
45
- * @see {@link CreateDeploymentCommandInput} for command's `input` shape.
46
- * @see {@link CreateDeploymentCommandOutput} for command's `response` shape.
47
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
48
- *
49
- */
50
- export class CreateDeploymentCommand extends $Command<
51
- CreateDeploymentCommandInput,
52
- CreateDeploymentCommandOutput,
53
- GreengrassV2ClientResolvedConfig
54
- > {
55
- // Start section: command_properties
56
- // End section: command_properties
57
-
58
- constructor(readonly input: CreateDeploymentCommandInput) {
59
- // Start section: command_constructor
60
- super();
61
- // End section: command_constructor
62
- }
63
-
64
- /**
65
- * @internal
66
- */
67
- resolveMiddleware(
68
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
69
- configuration: GreengrassV2ClientResolvedConfig,
70
- options?: __HttpHandlerOptions
71
- ): Handler<CreateDeploymentCommandInput, CreateDeploymentCommandOutput> {
72
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
73
-
74
- const stack = clientStack.concat(this.middlewareStack);
75
-
76
- const { logger } = configuration;
77
- const clientName = "GreengrassV2Client";
78
- const commandName = "CreateDeploymentCommand";
79
- const handlerExecutionContext: HandlerExecutionContext = {
80
- logger,
81
- clientName,
82
- commandName,
83
- inputFilterSensitiveLog: CreateDeploymentRequest.filterSensitiveLog,
84
- outputFilterSensitiveLog: CreateDeploymentResponse.filterSensitiveLog,
85
- };
86
- const { requestHandler } = configuration;
87
- return stack.resolve(
88
- (request: FinalizeHandlerArguments<any>) =>
89
- requestHandler.handle(request.request as __HttpRequest, options || {}),
90
- handlerExecutionContext
91
- );
92
- }
93
-
94
- private serialize(input: CreateDeploymentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
95
- return serializeAws_restJson1CreateDeploymentCommand(input, context);
96
- }
97
-
98
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateDeploymentCommandOutput> {
99
- return deserializeAws_restJson1CreateDeploymentCommand(output, context);
100
- }
101
-
102
- // Start section: command_body_extra
103
- // End section: command_body_extra
104
- }
@@ -1,100 +0,0 @@
1
- import { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
2
- import { DeleteComponentRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteComponentCommand,
5
- serializeAws_restJson1DeleteComponentCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeleteComponentCommandInput extends DeleteComponentRequest {}
21
- export interface DeleteComponentCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes a version of a component from IoT Greengrass.</p>
25
- * <note>
26
- * <p>This operation deletes the component's recipe and artifacts. As a result, deployments
27
- * that refer to this component version will fail. If you have deployments that use this
28
- * component version, you can remove the component from the deployment or update the deployment
29
- * to use a valid version.</p>
30
- * </note>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { GreengrassV2Client, DeleteComponentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
35
- * // const { GreengrassV2Client, DeleteComponentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
36
- * const client = new GreengrassV2Client(config);
37
- * const command = new DeleteComponentCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link DeleteComponentCommandInput} for command's `input` shape.
42
- * @see {@link DeleteComponentCommandOutput} for command's `response` shape.
43
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class DeleteComponentCommand extends $Command<
47
- DeleteComponentCommandInput,
48
- DeleteComponentCommandOutput,
49
- GreengrassV2ClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: DeleteComponentCommandInput) {
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: GreengrassV2ClientResolvedConfig,
66
- options?: __HttpHandlerOptions
67
- ): Handler<DeleteComponentCommandInput, DeleteComponentCommandOutput> {
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 = "GreengrassV2Client";
74
- const commandName = "DeleteComponentCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: DeleteComponentRequest.filterSensitiveLog,
80
- outputFilterSensitiveLog: (output: any) => output,
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: DeleteComponentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
91
- return serializeAws_restJson1DeleteComponentCommand(input, context);
92
- }
93
-
94
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteComponentCommandOutput> {
95
- return deserializeAws_restJson1DeleteComponentCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }
@@ -1,97 +0,0 @@
1
- import { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
2
- import { DeleteCoreDeviceRequest } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DeleteCoreDeviceCommand,
5
- serializeAws_restJson1DeleteCoreDeviceCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeleteCoreDeviceCommandInput extends DeleteCoreDeviceRequest {}
21
- export interface DeleteCoreDeviceCommandOutput extends __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes a Greengrass core device, which is an IoT thing. This operation removes the core
25
- * device from the list of core devices. This operation doesn't delete the IoT thing. For more
26
- * information about how to delete the IoT thing, see <a href="https://docs.aws.amazon.com/iot/latest/apireference/API_DeleteThing.html">DeleteThing</a> in the
27
- * <i>IoT API Reference</i>.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { GreengrassV2Client, DeleteCoreDeviceCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
32
- * // const { GreengrassV2Client, DeleteCoreDeviceCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
33
- * const client = new GreengrassV2Client(config);
34
- * const command = new DeleteCoreDeviceCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DeleteCoreDeviceCommandInput} for command's `input` shape.
39
- * @see {@link DeleteCoreDeviceCommandOutput} for command's `response` shape.
40
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DeleteCoreDeviceCommand extends $Command<
44
- DeleteCoreDeviceCommandInput,
45
- DeleteCoreDeviceCommandOutput,
46
- GreengrassV2ClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DeleteCoreDeviceCommandInput) {
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: GreengrassV2ClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DeleteCoreDeviceCommandInput, DeleteCoreDeviceCommandOutput> {
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 = "GreengrassV2Client";
71
- const commandName = "DeleteCoreDeviceCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DeleteCoreDeviceRequest.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: DeleteCoreDeviceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1DeleteCoreDeviceCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteCoreDeviceCommandOutput> {
92
- return deserializeAws_restJson1DeleteCoreDeviceCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,94 +0,0 @@
1
- import { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
2
- import { DescribeComponentRequest, DescribeComponentResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1DescribeComponentCommand,
5
- serializeAws_restJson1DescribeComponentCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DescribeComponentCommandInput extends DescribeComponentRequest {}
21
- export interface DescribeComponentCommandOutput extends DescribeComponentResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves metadata for a version of a component.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { GreengrassV2Client, DescribeComponentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
29
- * // const { GreengrassV2Client, DescribeComponentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
30
- * const client = new GreengrassV2Client(config);
31
- * const command = new DescribeComponentCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DescribeComponentCommandInput} for command's `input` shape.
36
- * @see {@link DescribeComponentCommandOutput} for command's `response` shape.
37
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DescribeComponentCommand extends $Command<
41
- DescribeComponentCommandInput,
42
- DescribeComponentCommandOutput,
43
- GreengrassV2ClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DescribeComponentCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: GreengrassV2ClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DescribeComponentCommandInput, DescribeComponentCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "GreengrassV2Client";
68
- const commandName = "DescribeComponentCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DescribeComponentRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DescribeComponentResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DescribeComponentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_restJson1DescribeComponentCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeComponentCommandOutput> {
89
- return deserializeAws_restJson1DescribeComponentCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,95 +0,0 @@
1
- import { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
2
- import { GetComponentRequest, GetComponentResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_restJson1GetComponentCommand,
5
- serializeAws_restJson1GetComponentCommand,
6
- } from "../protocols/Aws_restJson1";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface GetComponentCommandInput extends GetComponentRequest {}
21
- export interface GetComponentCommandOutput extends GetComponentResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Gets the recipe for a version of a component. Core devices can call this operation to
25
- * identify the artifacts and requirements to install a component.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { GreengrassV2Client, GetComponentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
30
- * // const { GreengrassV2Client, GetComponentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
31
- * const client = new GreengrassV2Client(config);
32
- * const command = new GetComponentCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetComponentCommandInput} for command's `input` shape.
37
- * @see {@link GetComponentCommandOutput} for command's `response` shape.
38
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetComponentCommand extends $Command<
42
- GetComponentCommandInput,
43
- GetComponentCommandOutput,
44
- GreengrassV2ClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetComponentCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: GreengrassV2ClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GetComponentCommandInput, GetComponentCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "GreengrassV2Client";
69
- const commandName = "GetComponentCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetComponentRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetComponentResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: GetComponentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetComponentCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetComponentCommandOutput> {
90
- return deserializeAws_restJson1GetComponentCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }