@aws-sdk/client-greengrassv2 3.35.0 → 3.38.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 (256) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/GreengrassV2.js +0 -14
  3. package/dist-cjs/GreengrassV2Client.js +0 -19
  4. package/dist-cjs/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +0 -37
  5. package/dist-cjs/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +0 -27
  6. package/dist-cjs/commands/CancelDeploymentCommand.js +0 -27
  7. package/dist-cjs/commands/CreateComponentVersionCommand.js +0 -78
  8. package/dist-cjs/commands/CreateDeploymentCommand.js +0 -35
  9. package/dist-cjs/commands/DeleteComponentCommand.js +0 -31
  10. package/dist-cjs/commands/DeleteCoreDeviceCommand.js +0 -28
  11. package/dist-cjs/commands/DescribeComponentCommand.js +0 -25
  12. package/dist-cjs/commands/GetComponentCommand.js +0 -26
  13. package/dist-cjs/commands/GetComponentVersionArtifactCommand.js +0 -26
  14. package/dist-cjs/commands/GetCoreDeviceCommand.js +0 -25
  15. package/dist-cjs/commands/GetDeploymentCommand.js +0 -25
  16. package/dist-cjs/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +0 -26
  17. package/dist-cjs/commands/ListComponentVersionsCommand.js +0 -25
  18. package/dist-cjs/commands/ListComponentsCommand.js +0 -26
  19. package/dist-cjs/commands/ListCoreDevicesCommand.js +0 -25
  20. package/dist-cjs/commands/ListDeploymentsCommand.js +0 -25
  21. package/dist-cjs/commands/ListEffectiveDeploymentsCommand.js +0 -26
  22. package/dist-cjs/commands/ListInstalledComponentsCommand.js +0 -25
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  24. package/dist-cjs/commands/ResolveComponentCandidatesCommand.js +0 -39
  25. package/dist-cjs/commands/TagResourceCommand.js +0 -26
  26. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  27. package/dist-cjs/commands/index.js +26 -0
  28. package/dist-cjs/endpoints.js +1 -2
  29. package/dist-cjs/index.js +4 -34
  30. package/dist-cjs/models/index.js +0 -1
  31. package/dist-cjs/models/models_0.js +0 -274
  32. package/dist-cjs/pagination/Interfaces.js +0 -1
  33. package/dist-cjs/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js +0 -11
  34. package/dist-cjs/pagination/ListComponentVersionsPaginator.js +0 -11
  35. package/dist-cjs/pagination/ListComponentsPaginator.js +0 -11
  36. package/dist-cjs/pagination/ListCoreDevicesPaginator.js +0 -11
  37. package/dist-cjs/pagination/ListDeploymentsPaginator.js +0 -11
  38. package/dist-cjs/pagination/ListEffectiveDeploymentsPaginator.js +0 -11
  39. package/dist-cjs/pagination/ListInstalledComponentsPaginator.js +0 -11
  40. package/dist-cjs/pagination/index.js +11 -0
  41. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  42. package/dist-cjs/runtimeConfig.browser.js +1 -6
  43. package/dist-cjs/runtimeConfig.js +2 -7
  44. package/dist-cjs/runtimeConfig.native.js +0 -4
  45. package/dist-cjs/runtimeConfig.shared.js +0 -4
  46. package/dist-es/GreengrassV2.js +0 -1
  47. package/dist-es/GreengrassV2Client.js +0 -1
  48. package/dist-es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +0 -1
  49. package/dist-es/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +0 -1
  50. package/dist-es/commands/CancelDeploymentCommand.js +0 -1
  51. package/dist-es/commands/CreateComponentVersionCommand.js +0 -1
  52. package/dist-es/commands/CreateDeploymentCommand.js +0 -1
  53. package/dist-es/commands/DeleteComponentCommand.js +0 -1
  54. package/dist-es/commands/DeleteCoreDeviceCommand.js +0 -1
  55. package/dist-es/commands/DescribeComponentCommand.js +0 -1
  56. package/dist-es/commands/GetComponentCommand.js +0 -1
  57. package/dist-es/commands/GetComponentVersionArtifactCommand.js +0 -1
  58. package/dist-es/commands/GetCoreDeviceCommand.js +0 -1
  59. package/dist-es/commands/GetDeploymentCommand.js +0 -1
  60. package/dist-es/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +0 -1
  61. package/dist-es/commands/ListComponentVersionsCommand.js +0 -1
  62. package/dist-es/commands/ListComponentsCommand.js +0 -1
  63. package/dist-es/commands/ListCoreDevicesCommand.js +0 -1
  64. package/dist-es/commands/ListDeploymentsCommand.js +0 -1
  65. package/dist-es/commands/ListEffectiveDeploymentsCommand.js +0 -1
  66. package/dist-es/commands/ListInstalledComponentsCommand.js +0 -1
  67. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  68. package/dist-es/commands/ResolveComponentCandidatesCommand.js +0 -1
  69. package/dist-es/commands/TagResourceCommand.js +0 -1
  70. package/dist-es/commands/UntagResourceCommand.js +0 -1
  71. package/dist-es/commands/index.js +23 -0
  72. package/dist-es/endpoints.js +1 -2
  73. package/dist-es/index.js +4 -34
  74. package/dist-es/models/index.js +0 -1
  75. package/dist-es/models/models_0.js +0 -1
  76. package/dist-es/pagination/Interfaces.js +0 -1
  77. package/dist-es/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js +0 -1
  78. package/dist-es/pagination/ListComponentVersionsPaginator.js +0 -1
  79. package/dist-es/pagination/ListComponentsPaginator.js +0 -1
  80. package/dist-es/pagination/ListCoreDevicesPaginator.js +0 -1
  81. package/dist-es/pagination/ListDeploymentsPaginator.js +0 -1
  82. package/dist-es/pagination/ListEffectiveDeploymentsPaginator.js +0 -1
  83. package/dist-es/pagination/ListInstalledComponentsPaginator.js +0 -1
  84. package/dist-es/pagination/index.js +8 -0
  85. package/dist-es/protocols/Aws_restJson1.js +0 -1
  86. package/dist-es/runtimeConfig.browser.js +1 -2
  87. package/dist-es/runtimeConfig.js +2 -3
  88. package/dist-es/runtimeConfig.native.js +0 -1
  89. package/dist-es/runtimeConfig.shared.js +0 -1
  90. package/dist-types/commands/index.d.ts +23 -0
  91. package/dist-types/index.d.ts +4 -33
  92. package/dist-types/pagination/index.d.ts +8 -0
  93. package/dist-types/ts3.4/GreengrassV2.d.ts +24 -190
  94. package/dist-types/ts3.4/GreengrassV2Client.d.ts +24 -99
  95. package/dist-types/ts3.4/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.d.ts +2 -32
  96. package/dist-types/ts3.4/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.d.ts +2 -22
  97. package/dist-types/ts3.4/commands/CancelDeploymentCommand.d.ts +2 -22
  98. package/dist-types/ts3.4/commands/CreateComponentVersionCommand.d.ts +2 -73
  99. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +2 -30
  100. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +2 -26
  101. package/dist-types/ts3.4/commands/DeleteCoreDeviceCommand.d.ts +2 -23
  102. package/dist-types/ts3.4/commands/DescribeComponentCommand.d.ts +2 -20
  103. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +2 -21
  104. package/dist-types/ts3.4/commands/GetComponentVersionArtifactCommand.d.ts +2 -21
  105. package/dist-types/ts3.4/commands/GetCoreDeviceCommand.d.ts +2 -20
  106. package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +2 -20
  107. package/dist-types/ts3.4/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.d.ts +2 -21
  108. package/dist-types/ts3.4/commands/ListComponentVersionsCommand.d.ts +2 -20
  109. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +2 -21
  110. package/dist-types/ts3.4/commands/ListCoreDevicesCommand.d.ts +2 -20
  111. package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/ListEffectiveDeploymentsCommand.d.ts +2 -21
  113. package/dist-types/ts3.4/commands/ListInstalledComponentsCommand.d.ts +2 -20
  114. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/ResolveComponentCandidatesCommand.d.ts +2 -34
  116. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
  117. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  118. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  119. package/dist-types/ts3.4/index.d.ts +4 -33
  120. package/dist-types/ts3.4/models/models_0.d.ts +393 -1492
  121. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  122. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  123. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  124. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  125. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  126. package/package.json +33 -30
  127. package/dist-cjs/GreengrassV2.js.map +0 -1
  128. package/dist-cjs/GreengrassV2Client.js.map +0 -1
  129. package/dist-cjs/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js.map +0 -1
  130. package/dist-cjs/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js.map +0 -1
  131. package/dist-cjs/commands/CancelDeploymentCommand.js.map +0 -1
  132. package/dist-cjs/commands/CreateComponentVersionCommand.js.map +0 -1
  133. package/dist-cjs/commands/CreateDeploymentCommand.js.map +0 -1
  134. package/dist-cjs/commands/DeleteComponentCommand.js.map +0 -1
  135. package/dist-cjs/commands/DeleteCoreDeviceCommand.js.map +0 -1
  136. package/dist-cjs/commands/DescribeComponentCommand.js.map +0 -1
  137. package/dist-cjs/commands/GetComponentCommand.js.map +0 -1
  138. package/dist-cjs/commands/GetComponentVersionArtifactCommand.js.map +0 -1
  139. package/dist-cjs/commands/GetCoreDeviceCommand.js.map +0 -1
  140. package/dist-cjs/commands/GetDeploymentCommand.js.map +0 -1
  141. package/dist-cjs/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js.map +0 -1
  142. package/dist-cjs/commands/ListComponentVersionsCommand.js.map +0 -1
  143. package/dist-cjs/commands/ListComponentsCommand.js.map +0 -1
  144. package/dist-cjs/commands/ListCoreDevicesCommand.js.map +0 -1
  145. package/dist-cjs/commands/ListDeploymentsCommand.js.map +0 -1
  146. package/dist-cjs/commands/ListEffectiveDeploymentsCommand.js.map +0 -1
  147. package/dist-cjs/commands/ListInstalledComponentsCommand.js.map +0 -1
  148. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  149. package/dist-cjs/commands/ResolveComponentCandidatesCommand.js.map +0 -1
  150. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  151. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  152. package/dist-cjs/endpoints.js.map +0 -1
  153. package/dist-cjs/index.js.map +0 -1
  154. package/dist-cjs/models/index.js.map +0 -1
  155. package/dist-cjs/models/models_0.js.map +0 -1
  156. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  157. package/dist-cjs/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js.map +0 -1
  158. package/dist-cjs/pagination/ListComponentVersionsPaginator.js.map +0 -1
  159. package/dist-cjs/pagination/ListComponentsPaginator.js.map +0 -1
  160. package/dist-cjs/pagination/ListCoreDevicesPaginator.js.map +0 -1
  161. package/dist-cjs/pagination/ListDeploymentsPaginator.js.map +0 -1
  162. package/dist-cjs/pagination/ListEffectiveDeploymentsPaginator.js.map +0 -1
  163. package/dist-cjs/pagination/ListInstalledComponentsPaginator.js.map +0 -1
  164. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  165. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  166. package/dist-cjs/runtimeConfig.js.map +0 -1
  167. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  168. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  169. package/dist-es/GreengrassV2.js.map +0 -1
  170. package/dist-es/GreengrassV2Client.js.map +0 -1
  171. package/dist-es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js.map +0 -1
  172. package/dist-es/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js.map +0 -1
  173. package/dist-es/commands/CancelDeploymentCommand.js.map +0 -1
  174. package/dist-es/commands/CreateComponentVersionCommand.js.map +0 -1
  175. package/dist-es/commands/CreateDeploymentCommand.js.map +0 -1
  176. package/dist-es/commands/DeleteComponentCommand.js.map +0 -1
  177. package/dist-es/commands/DeleteCoreDeviceCommand.js.map +0 -1
  178. package/dist-es/commands/DescribeComponentCommand.js.map +0 -1
  179. package/dist-es/commands/GetComponentCommand.js.map +0 -1
  180. package/dist-es/commands/GetComponentVersionArtifactCommand.js.map +0 -1
  181. package/dist-es/commands/GetCoreDeviceCommand.js.map +0 -1
  182. package/dist-es/commands/GetDeploymentCommand.js.map +0 -1
  183. package/dist-es/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js.map +0 -1
  184. package/dist-es/commands/ListComponentVersionsCommand.js.map +0 -1
  185. package/dist-es/commands/ListComponentsCommand.js.map +0 -1
  186. package/dist-es/commands/ListCoreDevicesCommand.js.map +0 -1
  187. package/dist-es/commands/ListDeploymentsCommand.js.map +0 -1
  188. package/dist-es/commands/ListEffectiveDeploymentsCommand.js.map +0 -1
  189. package/dist-es/commands/ListInstalledComponentsCommand.js.map +0 -1
  190. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  191. package/dist-es/commands/ResolveComponentCandidatesCommand.js.map +0 -1
  192. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  193. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  194. package/dist-es/endpoints.js.map +0 -1
  195. package/dist-es/index.js.map +0 -1
  196. package/dist-es/models/index.js.map +0 -1
  197. package/dist-es/models/models_0.js.map +0 -1
  198. package/dist-es/pagination/Interfaces.js.map +0 -1
  199. package/dist-es/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js.map +0 -1
  200. package/dist-es/pagination/ListComponentVersionsPaginator.js.map +0 -1
  201. package/dist-es/pagination/ListComponentsPaginator.js.map +0 -1
  202. package/dist-es/pagination/ListCoreDevicesPaginator.js.map +0 -1
  203. package/dist-es/pagination/ListDeploymentsPaginator.js.map +0 -1
  204. package/dist-es/pagination/ListEffectiveDeploymentsPaginator.js.map +0 -1
  205. package/dist-es/pagination/ListInstalledComponentsPaginator.js.map +0 -1
  206. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  207. package/dist-es/runtimeConfig.browser.js.map +0 -1
  208. package/dist-es/runtimeConfig.js.map +0 -1
  209. package/dist-es/runtimeConfig.native.js.map +0 -1
  210. package/dist-es/runtimeConfig.shared.js.map +0 -1
  211. package/jest.config.js +0 -4
  212. package/src/GreengrassV2.ts +0 -970
  213. package/src/GreengrassV2Client.ts +0 -345
  214. package/src/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.ts +0 -122
  215. package/src/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.ts +0 -112
  216. package/src/commands/CancelDeploymentCommand.ts +0 -97
  217. package/src/commands/CreateComponentVersionCommand.ts +0 -148
  218. package/src/commands/CreateDeploymentCommand.ts +0 -105
  219. package/src/commands/DeleteComponentCommand.ts +0 -101
  220. package/src/commands/DeleteCoreDeviceCommand.ts +0 -98
  221. package/src/commands/DescribeComponentCommand.ts +0 -95
  222. package/src/commands/GetComponentCommand.ts +0 -96
  223. package/src/commands/GetComponentVersionArtifactCommand.ts +0 -101
  224. package/src/commands/GetCoreDeviceCommand.ts +0 -95
  225. package/src/commands/GetDeploymentCommand.ts +0 -95
  226. package/src/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.ts +0 -111
  227. package/src/commands/ListComponentVersionsCommand.ts +0 -95
  228. package/src/commands/ListComponentsCommand.ts +0 -96
  229. package/src/commands/ListCoreDevicesCommand.ts +0 -95
  230. package/src/commands/ListDeploymentsCommand.ts +0 -95
  231. package/src/commands/ListEffectiveDeploymentsCommand.ts +0 -96
  232. package/src/commands/ListInstalledComponentsCommand.ts +0 -95
  233. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  234. package/src/commands/ResolveComponentCandidatesCommand.ts +0 -112
  235. package/src/commands/TagResourceCommand.ts +0 -96
  236. package/src/commands/UntagResourceCommand.ts +0 -95
  237. package/src/endpoints.ts +0 -84
  238. package/src/index.ts +0 -34
  239. package/src/models/index.ts +0 -1
  240. package/src/models/models_0.ts +0 -2867
  241. package/src/pagination/Interfaces.ts +0 -8
  242. package/src/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.ts +0 -59
  243. package/src/pagination/ListComponentVersionsPaginator.ts +0 -59
  244. package/src/pagination/ListComponentsPaginator.ts +0 -59
  245. package/src/pagination/ListCoreDevicesPaginator.ts +0 -59
  246. package/src/pagination/ListDeploymentsPaginator.ts +0 -59
  247. package/src/pagination/ListEffectiveDeploymentsPaginator.ts +0 -59
  248. package/src/pagination/ListInstalledComponentsPaginator.ts +0 -59
  249. package/src/protocols/Aws_restJson1.ts +0 -4401
  250. package/src/runtimeConfig.browser.ts +0 -41
  251. package/src/runtimeConfig.native.ts +0 -17
  252. package/src/runtimeConfig.shared.ts +0 -17
  253. package/src/runtimeConfig.ts +0 -46
  254. package/tsconfig.es.json +0 -10
  255. package/tsconfig.json +0 -33
  256. package/tsconfig.types.json +0 -9
package/CHANGELOG.md CHANGED
@@ -3,6 +3,53 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
12
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
13
+
14
+
15
+
16
+
17
+
18
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
19
+
20
+
21
+ ### Features
22
+
23
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
24
+
25
+
26
+
27
+
28
+
29
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
35
+
36
+
37
+
38
+
39
+
40
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
41
+
42
+
43
+ ### Features
44
+
45
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
46
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
47
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
7
54
 
8
55
 
@@ -25,19 +25,6 @@ const ResolveComponentCandidatesCommand_1 = require("./commands/ResolveComponent
25
25
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
26
26
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
27
27
  const GreengrassV2Client_1 = require("./GreengrassV2Client");
28
- /**
29
- * <p>IoT Greengrass brings local compute, messaging, data management, sync, and ML inference capabilities
30
- * to edge devices. This enables devices to collect and analyze data closer to the source of
31
- * information, react autonomously to local events, and communicate securely with each other on
32
- * local networks. Local devices can also communicate securely with Amazon Web Services IoT Core and export IoT data
33
- * to the Amazon Web Services Cloud. IoT Greengrass developers can use Lambda functions and components to create and
34
- * deploy applications to fleets of edge devices for local operation.</p>
35
- * <p>IoT Greengrass Version 2 provides a new major version of the IoT Greengrass Core software, new APIs, and a new console.
36
- * Use this API reference to learn how to use the IoT Greengrass V2 API operations to manage components,
37
- * manage deployments, and core devices.</p>
38
- * <p>For more information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/what-is-iot-greengrass.html">What is IoT Greengrass?</a> in
39
- * the <i>IoT Greengrass V2 Developer Guide</i>.</p>
40
- */
41
28
  class GreengrassV2 extends GreengrassV2Client_1.GreengrassV2Client {
42
29
  batchAssociateClientDeviceWithCoreDevice(args, optionsOrCb, cb) {
43
30
  const command = new BatchAssociateClientDeviceWithCoreDeviceCommand_1.BatchAssociateClientDeviceWithCoreDeviceCommand(args);
@@ -363,4 +350,3 @@ class GreengrassV2 extends GreengrassV2Client_1.GreengrassV2Client {
363
350
  }
364
351
  }
365
352
  exports.GreengrassV2 = GreengrassV2;
366
- //# sourceMappingURL=GreengrassV2.js.map
@@ -10,19 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <p>IoT Greengrass brings local compute, messaging, data management, sync, and ML inference capabilities
15
- * to edge devices. This enables devices to collect and analyze data closer to the source of
16
- * information, react autonomously to local events, and communicate securely with each other on
17
- * local networks. Local devices can also communicate securely with Amazon Web Services IoT Core and export IoT data
18
- * to the Amazon Web Services Cloud. IoT Greengrass developers can use Lambda functions and components to create and
19
- * deploy applications to fleets of edge devices for local operation.</p>
20
- * <p>IoT Greengrass Version 2 provides a new major version of the IoT Greengrass Core software, new APIs, and a new console.
21
- * Use this API reference to learn how to use the IoT Greengrass V2 API operations to manage components,
22
- * manage deployments, and core devices.</p>
23
- * <p>For more information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/what-is-iot-greengrass.html">What is IoT Greengrass?</a> in
24
- * the <i>IoT Greengrass V2 Developer Guide</i>.</p>
25
- */
26
13
  class GreengrassV2Client extends smithy_client_1.Client {
27
14
  constructor(configuration) {
28
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -41,14 +28,8 @@ class GreengrassV2Client extends smithy_client_1.Client {
41
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
42
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
43
30
  }
44
- /**
45
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
46
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
47
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
48
- */
49
31
  destroy() {
50
32
  super.destroy();
51
33
  }
52
34
  }
53
35
  exports.GreengrassV2Client = GreengrassV2Client;
54
- //# sourceMappingURL=GreengrassV2Client.js.map
@@ -5,47 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Associate a list of client devices with a core device. Use this API operation to specify
10
- * which client devices can discover a core device through cloud discovery. With cloud discovery,
11
- * client devices connect to IoT Greengrass to retrieve associated core devices' connectivity information
12
- * and certificates. For more information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-cloud-discovery.html">Configure cloud
13
- * discovery</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>
14
- *
15
- * <note>
16
- * <p>Client devices are local IoT devices that connect to and communicate with an IoT Greengrass core
17
- * device over MQTT. You can connect client devices to a core device to sync MQTT messages and
18
- * data to Amazon Web Services IoT Core and interact with client devices in Greengrass components. For more information,
19
- * see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/interact-with-local-iot-devices.html">Interact with
20
- * local IoT devices</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>
21
- * </note>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { GreengrassV2Client, BatchAssociateClientDeviceWithCoreDeviceCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
26
- * // const { GreengrassV2Client, BatchAssociateClientDeviceWithCoreDeviceCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
27
- * const client = new GreengrassV2Client(config);
28
- * const command = new BatchAssociateClientDeviceWithCoreDeviceCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link BatchAssociateClientDeviceWithCoreDeviceCommandInput} for command's `input` shape.
33
- * @see {@link BatchAssociateClientDeviceWithCoreDeviceCommandOutput} for command's `response` shape.
34
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
8
  class BatchAssociateClientDeviceWithCoreDeviceCommand extends smithy_client_1.Command {
38
- // Start section: command_properties
39
- // End section: command_properties
40
9
  constructor(input) {
41
- // Start section: command_constructor
42
10
  super();
43
11
  this.input = input;
44
- // End section: command_constructor
45
12
  }
46
- /**
47
- * @internal
48
- */
49
13
  resolveMiddleware(clientStack, configuration, options) {
50
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
51
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -70,4 +34,3 @@ class BatchAssociateClientDeviceWithCoreDeviceCommand extends smithy_client_1.Co
70
34
  }
71
35
  }
72
36
  exports.BatchAssociateClientDeviceWithCoreDeviceCommand = BatchAssociateClientDeviceWithCoreDeviceCommand;
73
- //# sourceMappingURL=BatchAssociateClientDeviceWithCoreDeviceCommand.js.map
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Disassociate a list of client devices from a core device. After you disassociate a client
10
- * device from a core device, the client device won't be able to use cloud discovery to retrieve
11
- * the core device's connectivity information and certificates.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { GreengrassV2Client, BatchDisassociateClientDeviceFromCoreDeviceCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
16
- * // const { GreengrassV2Client, BatchDisassociateClientDeviceFromCoreDeviceCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
17
- * const client = new GreengrassV2Client(config);
18
- * const command = new BatchDisassociateClientDeviceFromCoreDeviceCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link BatchDisassociateClientDeviceFromCoreDeviceCommandInput} for command's `input` shape.
23
- * @see {@link BatchDisassociateClientDeviceFromCoreDeviceCommandOutput} for command's `response` shape.
24
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class BatchDisassociateClientDeviceFromCoreDeviceCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class BatchDisassociateClientDeviceFromCoreDeviceCommand extends smithy_client_1
60
34
  }
61
35
  }
62
36
  exports.BatchDisassociateClientDeviceFromCoreDeviceCommand = BatchDisassociateClientDeviceFromCoreDeviceCommand;
63
- //# sourceMappingURL=BatchDisassociateClientDeviceFromCoreDeviceCommand.js.map
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Cancels a deployment. This operation cancels the deployment for devices that haven't yet
10
- * received it. If a device already received the deployment, this operation doesn't change
11
- * anything for that device.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { GreengrassV2Client, CancelDeploymentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
16
- * // const { GreengrassV2Client, CancelDeploymentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
17
- * const client = new GreengrassV2Client(config);
18
- * const command = new CancelDeploymentCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link CancelDeploymentCommandInput} for command's `input` shape.
23
- * @see {@link CancelDeploymentCommandOutput} for command's `response` shape.
24
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class CancelDeploymentCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class CancelDeploymentCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.CancelDeploymentCommand = CancelDeploymentCommand;
63
- //# sourceMappingURL=CancelDeploymentCommand.js.map
@@ -5,88 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Creates a component. Components are software that run on Greengrass core devices. After you
10
- * develop and test a component on your core device, you can use this operation to upload your
11
- * component to IoT Greengrass. Then, you can deploy the component to other core devices.</p>
12
- * <p>You can use this operation to do the following:</p>
13
- * <ul>
14
- * <li>
15
- * <p>
16
- * <b>Create components from recipes</b>
17
- * </p>
18
- * <p>Create a component from a recipe, which is a file that defines the component's
19
- * metadata, parameters, dependencies, lifecycle, artifacts, and platform capability. For
20
- * more information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/component-recipe-reference.html">IoT Greengrass component recipe
21
- * reference</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>
22
- * <p>To create a component from a recipe, specify <code>inlineRecipe</code> when you call
23
- * this operation.</p>
24
- * </li>
25
- * <li>
26
- * <p>
27
- * <b>Create components from Lambda functions</b>
28
- * </p>
29
- * <p>Create a component from an Lambda function that runs on IoT Greengrass. This creates a recipe
30
- * and artifacts from the Lambda function's deployment package. You can use this operation to
31
- * migrate Lambda functions from IoT Greengrass V1 to IoT Greengrass V2.</p>
32
- * <p>This function only accepts Lambda functions that use the following runtimes:</p>
33
- * <ul>
34
- * <li>
35
- * <p>Python 2.7 – <code>python2.7</code>
36
- * </p>
37
- * </li>
38
- * <li>
39
- * <p>Python 3.7 – <code>python3.7</code>
40
- * </p>
41
- * </li>
42
- * <li>
43
- * <p>Python 3.8 – <code>python3.8</code>
44
- * </p>
45
- * </li>
46
- * <li>
47
- * <p>Java 8 – <code>java8</code>
48
- * </p>
49
- * </li>
50
- * <li>
51
- * <p>Node.js 10 – <code>nodejs10.x</code>
52
- * </p>
53
- * </li>
54
- * <li>
55
- * <p>Node.js 12 – <code>nodejs12.x</code>
56
- * </p>
57
- * </li>
58
- * </ul>
59
- * <p>To create a component from a Lambda function, specify <code>lambdaFunction</code>
60
- * when you call this operation.</p>
61
- * </li>
62
- * </ul>
63
- * @example
64
- * Use a bare-bones client and the command you need to make an API call.
65
- * ```javascript
66
- * import { GreengrassV2Client, CreateComponentVersionCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
67
- * // const { GreengrassV2Client, CreateComponentVersionCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
68
- * const client = new GreengrassV2Client(config);
69
- * const command = new CreateComponentVersionCommand(input);
70
- * const response = await client.send(command);
71
- * ```
72
- *
73
- * @see {@link CreateComponentVersionCommandInput} for command's `input` shape.
74
- * @see {@link CreateComponentVersionCommandOutput} for command's `response` shape.
75
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
76
- *
77
- */
78
8
  class CreateComponentVersionCommand extends smithy_client_1.Command {
79
- // Start section: command_properties
80
- // End section: command_properties
81
9
  constructor(input) {
82
- // Start section: command_constructor
83
10
  super();
84
11
  this.input = input;
85
- // End section: command_constructor
86
12
  }
87
- /**
88
- * @internal
89
- */
90
13
  resolveMiddleware(clientStack, configuration, options) {
91
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
92
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -111,4 +34,3 @@ class CreateComponentVersionCommand extends smithy_client_1.Command {
111
34
  }
112
35
  }
113
36
  exports.CreateComponentVersionCommand = CreateComponentVersionCommand;
114
- //# sourceMappingURL=CreateComponentVersionCommand.js.map
@@ -5,45 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Creates a continuous deployment for a target, which is a Greengrass core device or group of core
10
- * devices. When you add a new core device to a group of core devices that has a deployment, IoT Greengrass
11
- * deploys that group's deployment to the new device.</p>
12
- * <p>You can define one deployment for each target. When you create a new deployment for a
13
- * target that has an existing deployment, you replace the previous deployment. IoT Greengrass applies the
14
- * new deployment to the target devices.</p>
15
- * <p>Every deployment has a revision number that indicates how many deployment revisions you
16
- * define for a target. Use this operation to create a new revision of an existing deployment.
17
- * This operation returns the revision number of the new deployment when you create it.</p>
18
- * <p>For more information, see the <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/create-deployments.html">Create deployments</a> in the
19
- * <i>IoT Greengrass V2 Developer Guide</i>.</p>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { GreengrassV2Client, CreateDeploymentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
24
- * // const { GreengrassV2Client, CreateDeploymentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
25
- * const client = new GreengrassV2Client(config);
26
- * const command = new CreateDeploymentCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link CreateDeploymentCommandInput} for command's `input` shape.
31
- * @see {@link CreateDeploymentCommandOutput} for command's `response` shape.
32
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
35
8
  class CreateDeploymentCommand extends smithy_client_1.Command {
36
- // Start section: command_properties
37
- // End section: command_properties
38
9
  constructor(input) {
39
- // Start section: command_constructor
40
10
  super();
41
11
  this.input = input;
42
- // End section: command_constructor
43
12
  }
44
- /**
45
- * @internal
46
- */
47
13
  resolveMiddleware(clientStack, configuration, options) {
48
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
49
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -68,4 +34,3 @@ class CreateDeploymentCommand extends smithy_client_1.Command {
68
34
  }
69
35
  }
70
36
  exports.CreateDeploymentCommand = CreateDeploymentCommand;
71
- //# sourceMappingURL=CreateDeploymentCommand.js.map
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Deletes a version of a component from IoT Greengrass.</p>
10
- * <note>
11
- * <p>This operation deletes the component's recipe and artifacts. As a result, deployments
12
- * that refer to this component version will fail. If you have deployments that use this
13
- * component version, you can remove the component from the deployment or update the deployment
14
- * to use a valid version.</p>
15
- * </note>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { GreengrassV2Client, DeleteComponentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
20
- * // const { GreengrassV2Client, DeleteComponentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
21
- * const client = new GreengrassV2Client(config);
22
- * const command = new DeleteComponentCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link DeleteComponentCommandInput} for command's `input` shape.
27
- * @see {@link DeleteComponentCommandOutput} for command's `response` shape.
28
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class DeleteComponentCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -64,4 +34,3 @@ class DeleteComponentCommand extends smithy_client_1.Command {
64
34
  }
65
35
  }
66
36
  exports.DeleteComponentCommand = DeleteComponentCommand;
67
- //# sourceMappingURL=DeleteComponentCommand.js.map
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Deletes a Greengrass core device, which is an IoT thing. This operation removes the core
10
- * device from the list of core devices. This operation doesn't delete the IoT thing. For more
11
- * 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
12
- * <i>IoT API Reference</i>.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { GreengrassV2Client, DeleteCoreDeviceCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
17
- * // const { GreengrassV2Client, DeleteCoreDeviceCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
18
- * const client = new GreengrassV2Client(config);
19
- * const command = new DeleteCoreDeviceCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DeleteCoreDeviceCommandInput} for command's `input` shape.
24
- * @see {@link DeleteCoreDeviceCommandOutput} for command's `response` shape.
25
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class DeleteCoreDeviceCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class DeleteCoreDeviceCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.DeleteCoreDeviceCommand = DeleteCoreDeviceCommand;
64
- //# sourceMappingURL=DeleteCoreDeviceCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Retrieves metadata for a version of a component.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GreengrassV2Client, DescribeComponentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
14
- * // const { GreengrassV2Client, DescribeComponentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
15
- * const client = new GreengrassV2Client(config);
16
- * const command = new DescribeComponentCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeComponentCommandInput} for command's `input` shape.
21
- * @see {@link DescribeComponentCommandOutput} for command's `response` shape.
22
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeComponentCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class DescribeComponentCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.DescribeComponentCommand = DescribeComponentCommand;
61
- //# sourceMappingURL=DescribeComponentCommand.js.map
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets the recipe for a version of a component. Core devices can call this operation to
10
- * identify the artifacts and requirements to install a component.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { GreengrassV2Client, GetComponentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
15
- * // const { GreengrassV2Client, GetComponentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
16
- * const client = new GreengrassV2Client(config);
17
- * const command = new GetComponentCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetComponentCommandInput} for command's `input` shape.
22
- * @see {@link GetComponentCommandOutput} for command's `response` shape.
23
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class GetComponentCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class GetComponentCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.GetComponentCommand = GetComponentCommand;
62
- //# sourceMappingURL=GetComponentCommand.js.map
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets the pre-signed URL to download a public component artifact. Core devices call this
10
- * operation to identify the URL that they can use to download an artifact to install.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { GreengrassV2Client, GetComponentVersionArtifactCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
15
- * // const { GreengrassV2Client, GetComponentVersionArtifactCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
16
- * const client = new GreengrassV2Client(config);
17
- * const command = new GetComponentVersionArtifactCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetComponentVersionArtifactCommandInput} for command's `input` shape.
22
- * @see {@link GetComponentVersionArtifactCommandOutput} for command's `response` shape.
23
- * @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class GetComponentVersionArtifactCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class GetComponentVersionArtifactCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.GetComponentVersionArtifactCommand = GetComponentVersionArtifactCommand;
62
- //# sourceMappingURL=GetComponentVersionArtifactCommand.js.map