@aws-sdk/client-iotthingsgraph 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 (411) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/IoTThingsGraph.js +1 -2
  3. package/{dist/cjs → dist-cjs}/IoTThingsGraphClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/AssociateEntityToThingCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/CreateFlowTemplateCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/CreateSystemInstanceCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/CreateSystemTemplateCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/DeleteFlowTemplateCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/DeleteNamespaceCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/DeleteSystemInstanceCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/DeleteSystemTemplateCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/DeploySystemInstanceCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/DeprecateFlowTemplateCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/DeprecateSystemTemplateCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/DescribeNamespaceCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/DissociateEntityFromThingCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/GetEntitiesCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/GetFlowTemplateCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/GetFlowTemplateRevisionsCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/GetNamespaceDeletionStatusCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/GetSystemInstanceCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/GetSystemTemplateCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/GetSystemTemplateRevisionsCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/GetUploadStatusCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/ListFlowExecutionMessagesCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/commands/SearchEntitiesCommand.js +2 -3
  28. package/{dist/cjs → dist-cjs}/commands/SearchFlowExecutionsCommand.js +2 -3
  29. package/{dist/cjs → dist-cjs}/commands/SearchFlowTemplatesCommand.js +2 -3
  30. package/{dist/cjs → dist-cjs}/commands/SearchSystemInstancesCommand.js +2 -3
  31. package/{dist/cjs → dist-cjs}/commands/SearchSystemTemplatesCommand.js +2 -3
  32. package/{dist/cjs → dist-cjs}/commands/SearchThingsCommand.js +2 -3
  33. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  34. package/{dist/cjs → dist-cjs}/commands/UndeploySystemInstanceCommand.js +2 -3
  35. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  36. package/{dist/cjs → dist-cjs}/commands/UpdateFlowTemplateCommand.js +2 -3
  37. package/{dist/cjs → dist-cjs}/commands/UpdateSystemTemplateCommand.js +2 -3
  38. package/{dist/cjs → dist-cjs}/commands/UploadEntityDefinitionsCommand.js +2 -3
  39. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  40. package/{dist/cjs → dist-cjs}/index.js +0 -1
  41. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  42. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  43. package/{dist/cjs → dist-cjs}/pagination/GetFlowTemplateRevisionsPaginator.js +1 -2
  44. package/{dist/cjs → dist-cjs}/pagination/GetSystemTemplateRevisionsPaginator.js +1 -2
  45. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  46. package/{dist/cjs → dist-cjs}/pagination/ListFlowExecutionMessagesPaginator.js +1 -2
  47. package/{dist/cjs → dist-cjs}/pagination/ListTagsForResourcePaginator.js +1 -2
  48. package/{dist/cjs → dist-cjs}/pagination/SearchEntitiesPaginator.js +1 -2
  49. package/{dist/cjs → dist-cjs}/pagination/SearchFlowExecutionsPaginator.js +1 -2
  50. package/{dist/cjs → dist-cjs}/pagination/SearchFlowTemplatesPaginator.js +1 -2
  51. package/{dist/cjs → dist-cjs}/pagination/SearchSystemInstancesPaginator.js +1 -2
  52. package/{dist/cjs → dist-cjs}/pagination/SearchSystemTemplatesPaginator.js +1 -2
  53. package/{dist/cjs → dist-cjs}/pagination/SearchThingsPaginator.js +1 -2
  54. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
  55. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  56. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  57. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  58. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  59. package/{dist/es → dist-es}/IoTThingsGraph.js +2 -10
  60. package/{dist/es → dist-es}/IoTThingsGraphClient.js +2 -15
  61. package/{dist/es → dist-es}/commands/AssociateEntityToThingCommand.js +4 -31
  62. package/{dist/es → dist-es}/commands/CreateFlowTemplateCommand.js +4 -32
  63. package/dist-es/commands/CreateSystemInstanceCommand.js +39 -0
  64. package/{dist/es → dist-es}/commands/CreateSystemTemplateCommand.js +4 -31
  65. package/{dist/es → dist-es}/commands/DeleteFlowTemplateCommand.js +4 -31
  66. package/{dist/es → dist-es}/commands/DeleteNamespaceCommand.js +4 -30
  67. package/{dist/es → dist-es}/commands/DeleteSystemInstanceCommand.js +4 -32
  68. package/{dist/es → dist-es}/commands/DeleteSystemTemplateCommand.js +4 -31
  69. package/dist-es/commands/DeploySystemInstanceCommand.js +39 -0
  70. package/{dist/es → dist-es}/commands/DeprecateFlowTemplateCommand.js +4 -30
  71. package/{dist/es → dist-es}/commands/DeprecateSystemTemplateCommand.js +4 -30
  72. package/{dist/es → dist-es}/commands/DescribeNamespaceCommand.js +4 -30
  73. package/{dist/es → dist-es}/commands/DissociateEntityFromThingCommand.js +4 -31
  74. package/dist-es/commands/GetEntitiesCommand.js +39 -0
  75. package/{dist/es → dist-es}/commands/GetFlowTemplateCommand.js +4 -30
  76. package/{dist/es → dist-es}/commands/GetFlowTemplateRevisionsCommand.js +4 -31
  77. package/{dist/es → dist-es}/commands/GetNamespaceDeletionStatusCommand.js +4 -30
  78. package/{dist/es → dist-es}/commands/GetSystemInstanceCommand.js +4 -30
  79. package/{dist/es → dist-es}/commands/GetSystemTemplateCommand.js +4 -30
  80. package/{dist/es → dist-es}/commands/GetSystemTemplateRevisionsCommand.js +4 -31
  81. package/{dist/es → dist-es}/commands/GetUploadStatusCommand.js +4 -30
  82. package/{dist/es → dist-es}/commands/ListFlowExecutionMessagesCommand.js +4 -30
  83. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  84. package/{dist/es → dist-es}/commands/SearchEntitiesCommand.js +4 -30
  85. package/{dist/es → dist-es}/commands/SearchFlowExecutionsCommand.js +4 -30
  86. package/{dist/es → dist-es}/commands/SearchFlowTemplatesCommand.js +4 -30
  87. package/{dist/es → dist-es}/commands/SearchSystemInstancesCommand.js +4 -30
  88. package/{dist/es → dist-es}/commands/SearchSystemTemplatesCommand.js +4 -30
  89. package/{dist/es → dist-es}/commands/SearchThingsCommand.js +4 -33
  90. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
  91. package/{dist/es → dist-es}/commands/UndeploySystemInstanceCommand.js +4 -30
  92. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  93. package/{dist/es → dist-es}/commands/UpdateFlowTemplateCommand.js +4 -31
  94. package/{dist/es → dist-es}/commands/UpdateSystemTemplateCommand.js +4 -30
  95. package/dist-es/commands/UploadEntityDefinitionsCommand.js +39 -0
  96. package/{dist/es → dist-es}/endpoints.js +1 -2
  97. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  98. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  99. package/{dist/es → dist-es}/models/models_0.js +0 -286
  100. package/{dist/es → dist-es}/pagination/GetFlowTemplateRevisionsPaginator.js +17 -30
  101. package/{dist/es → dist-es}/pagination/GetSystemTemplateRevisionsPaginator.js +17 -30
  102. package/dist-es/pagination/Interfaces.js +1 -0
  103. package/{dist/es → dist-es}/pagination/ListFlowExecutionMessagesPaginator.js +17 -30
  104. package/{dist/es → dist-es}/pagination/ListTagsForResourcePaginator.js +17 -30
  105. package/{dist/es → dist-es}/pagination/SearchEntitiesPaginator.js +17 -30
  106. package/{dist/es → dist-es}/pagination/SearchFlowExecutionsPaginator.js +17 -30
  107. package/{dist/es → dist-es}/pagination/SearchFlowTemplatesPaginator.js +17 -30
  108. package/{dist/es → dist-es}/pagination/SearchSystemInstancesPaginator.js +17 -30
  109. package/{dist/es → dist-es}/pagination/SearchSystemTemplatesPaginator.js +17 -30
  110. package/{dist/es → dist-es}/pagination/SearchThingsPaginator.js +17 -30
  111. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +832 -838
  112. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  113. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  114. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  115. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  116. package/{dist/types → dist-types}/IoTThingsGraph.d.ts +2 -2
  117. package/{dist/types → dist-types}/IoTThingsGraphClient.d.ts +8 -8
  118. package/{dist/types → dist-types}/commands/AssociateEntityToThingCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/commands/CreateFlowTemplateCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/commands/CreateSystemInstanceCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/commands/CreateSystemTemplateCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/commands/DeleteFlowTemplateCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/DeleteNamespaceCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/commands/DeleteSystemInstanceCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/commands/DeleteSystemTemplateCommand.d.ts +2 -2
  126. package/{dist/types → dist-types}/commands/DeploySystemInstanceCommand.d.ts +2 -2
  127. package/{dist/types → dist-types}/commands/DeprecateFlowTemplateCommand.d.ts +2 -2
  128. package/{dist/types → dist-types}/commands/DeprecateSystemTemplateCommand.d.ts +2 -2
  129. package/{dist/types → dist-types}/commands/DescribeNamespaceCommand.d.ts +2 -2
  130. package/{dist/types → dist-types}/commands/DissociateEntityFromThingCommand.d.ts +2 -2
  131. package/{dist/types → dist-types}/commands/GetEntitiesCommand.d.ts +2 -2
  132. package/{dist/types → dist-types}/commands/GetFlowTemplateCommand.d.ts +2 -2
  133. package/{dist/types → dist-types}/commands/GetFlowTemplateRevisionsCommand.d.ts +2 -2
  134. package/{dist/types → dist-types}/commands/GetNamespaceDeletionStatusCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/commands/GetSystemInstanceCommand.d.ts +2 -2
  136. package/{dist/types → dist-types}/commands/GetSystemTemplateCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/commands/GetSystemTemplateRevisionsCommand.d.ts +2 -2
  138. package/{dist/types → dist-types}/commands/GetUploadStatusCommand.d.ts +2 -2
  139. package/{dist/types → dist-types}/commands/ListFlowExecutionMessagesCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/commands/SearchEntitiesCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/commands/SearchFlowExecutionsCommand.d.ts +2 -2
  143. package/{dist/types → dist-types}/commands/SearchFlowTemplatesCommand.d.ts +2 -2
  144. package/{dist/types → dist-types}/commands/SearchSystemInstancesCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/commands/SearchSystemTemplatesCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/commands/SearchThingsCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  148. package/{dist/types → dist-types}/commands/UndeploySystemInstanceCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/commands/UpdateFlowTemplateCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/commands/UpdateSystemTemplateCommand.d.ts +2 -2
  152. package/{dist/types → dist-types}/commands/UploadEntityDefinitionsCommand.d.ts +2 -2
  153. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  154. package/{index.ts → dist-types/index.d.ts} +0 -0
  155. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  156. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  157. package/{dist/types → dist-types}/pagination/GetFlowTemplateRevisionsPaginator.d.ts +1 -1
  158. package/{dist/types → dist-types}/pagination/GetSystemTemplateRevisionsPaginator.d.ts +1 -1
  159. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  160. package/{dist/types → dist-types}/pagination/ListFlowExecutionMessagesPaginator.d.ts +1 -1
  161. package/{dist/types → dist-types}/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  162. package/{dist/types → dist-types}/pagination/SearchEntitiesPaginator.d.ts +1 -1
  163. package/{dist/types → dist-types}/pagination/SearchFlowExecutionsPaginator.d.ts +1 -1
  164. package/{dist/types → dist-types}/pagination/SearchFlowTemplatesPaginator.d.ts +1 -1
  165. package/{dist/types → dist-types}/pagination/SearchSystemInstancesPaginator.d.ts +1 -1
  166. package/{dist/types → dist-types}/pagination/SearchSystemTemplatesPaginator.d.ts +1 -1
  167. package/{dist/types → dist-types}/pagination/SearchThingsPaginator.d.ts +1 -1
  168. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  169. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  170. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  171. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  172. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  173. package/{dist/types → dist-types}/ts3.4/IoTThingsGraph.d.ts +2 -2
  174. package/{dist/types → dist-types}/ts3.4/IoTThingsGraphClient.d.ts +8 -8
  175. package/{dist/types → dist-types}/ts3.4/commands/AssociateEntityToThingCommand.d.ts +2 -2
  176. package/{dist/types → dist-types}/ts3.4/commands/CreateFlowTemplateCommand.d.ts +2 -2
  177. package/{dist/types → dist-types}/ts3.4/commands/CreateSystemInstanceCommand.d.ts +2 -2
  178. package/{dist/types → dist-types}/ts3.4/commands/CreateSystemTemplateCommand.d.ts +2 -2
  179. package/{dist/types → dist-types}/ts3.4/commands/DeleteFlowTemplateCommand.d.ts +2 -2
  180. package/{dist/types → dist-types}/ts3.4/commands/DeleteNamespaceCommand.d.ts +2 -2
  181. package/{dist/types → dist-types}/ts3.4/commands/DeleteSystemInstanceCommand.d.ts +2 -2
  182. package/{dist/types → dist-types}/ts3.4/commands/DeleteSystemTemplateCommand.d.ts +2 -2
  183. package/{dist/types → dist-types}/ts3.4/commands/DeploySystemInstanceCommand.d.ts +2 -2
  184. package/{dist/types → dist-types}/ts3.4/commands/DeprecateFlowTemplateCommand.d.ts +2 -2
  185. package/{dist/types → dist-types}/ts3.4/commands/DeprecateSystemTemplateCommand.d.ts +2 -2
  186. package/{dist/types → dist-types}/ts3.4/commands/DescribeNamespaceCommand.d.ts +2 -2
  187. package/{dist/types → dist-types}/ts3.4/commands/DissociateEntityFromThingCommand.d.ts +2 -2
  188. package/{dist/types → dist-types}/ts3.4/commands/GetEntitiesCommand.d.ts +2 -2
  189. package/{dist/types → dist-types}/ts3.4/commands/GetFlowTemplateCommand.d.ts +2 -2
  190. package/{dist/types → dist-types}/ts3.4/commands/GetFlowTemplateRevisionsCommand.d.ts +2 -2
  191. package/{dist/types → dist-types}/ts3.4/commands/GetNamespaceDeletionStatusCommand.d.ts +2 -2
  192. package/{dist/types → dist-types}/ts3.4/commands/GetSystemInstanceCommand.d.ts +2 -2
  193. package/{dist/types → dist-types}/ts3.4/commands/GetSystemTemplateCommand.d.ts +2 -2
  194. package/{dist/types → dist-types}/ts3.4/commands/GetSystemTemplateRevisionsCommand.d.ts +2 -2
  195. package/{dist/types → dist-types}/ts3.4/commands/GetUploadStatusCommand.d.ts +2 -2
  196. package/{dist/types → dist-types}/ts3.4/commands/ListFlowExecutionMessagesCommand.d.ts +2 -2
  197. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  198. package/{dist/types → dist-types}/ts3.4/commands/SearchEntitiesCommand.d.ts +2 -2
  199. package/{dist/types → dist-types}/ts3.4/commands/SearchFlowExecutionsCommand.d.ts +2 -2
  200. package/{dist/types → dist-types}/ts3.4/commands/SearchFlowTemplatesCommand.d.ts +2 -2
  201. package/{dist/types → dist-types}/ts3.4/commands/SearchSystemInstancesCommand.d.ts +2 -2
  202. package/{dist/types → dist-types}/ts3.4/commands/SearchSystemTemplatesCommand.d.ts +2 -2
  203. package/{dist/types → dist-types}/ts3.4/commands/SearchThingsCommand.d.ts +2 -2
  204. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  205. package/{dist/types → dist-types}/ts3.4/commands/UndeploySystemInstanceCommand.d.ts +2 -2
  206. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  207. package/{dist/types → dist-types}/ts3.4/commands/UpdateFlowTemplateCommand.d.ts +2 -2
  208. package/{dist/types → dist-types}/ts3.4/commands/UpdateSystemTemplateCommand.d.ts +2 -2
  209. package/{dist/types → dist-types}/ts3.4/commands/UploadEntityDefinitionsCommand.d.ts +2 -2
  210. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  211. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  212. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  213. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  214. package/{dist/types → dist-types}/ts3.4/pagination/GetFlowTemplateRevisionsPaginator.d.ts +1 -1
  215. package/{dist/types → dist-types}/ts3.4/pagination/GetSystemTemplateRevisionsPaginator.d.ts +1 -1
  216. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  217. package/{dist/types → dist-types}/ts3.4/pagination/ListFlowExecutionMessagesPaginator.d.ts +1 -1
  218. package/{dist/types → dist-types}/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  219. package/{dist/types → dist-types}/ts3.4/pagination/SearchEntitiesPaginator.d.ts +1 -1
  220. package/{dist/types → dist-types}/ts3.4/pagination/SearchFlowExecutionsPaginator.d.ts +1 -1
  221. package/{dist/types → dist-types}/ts3.4/pagination/SearchFlowTemplatesPaginator.d.ts +1 -1
  222. package/{dist/types → dist-types}/ts3.4/pagination/SearchSystemInstancesPaginator.d.ts +1 -1
  223. package/{dist/types → dist-types}/ts3.4/pagination/SearchSystemTemplatesPaginator.d.ts +1 -1
  224. package/{dist/types → dist-types}/ts3.4/pagination/SearchThingsPaginator.d.ts +1 -1
  225. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  226. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  227. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  228. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  229. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  230. package/package.json +52 -49
  231. package/IoTThingsGraph.ts +0 -1358
  232. package/IoTThingsGraphClient.ts +0 -407
  233. package/commands/AssociateEntityToThingCommand.ts +0 -95
  234. package/commands/CreateFlowTemplateCommand.ts +0 -96
  235. package/commands/CreateSystemInstanceCommand.ts +0 -102
  236. package/commands/CreateSystemTemplateCommand.ts +0 -95
  237. package/commands/DeleteFlowTemplateCommand.ts +0 -95
  238. package/commands/DeleteNamespaceCommand.ts +0 -94
  239. package/commands/DeleteSystemInstanceCommand.ts +0 -96
  240. package/commands/DeleteSystemTemplateCommand.ts +0 -95
  241. package/commands/DeploySystemInstanceCommand.ts +0 -105
  242. package/commands/DeprecateFlowTemplateCommand.ts +0 -94
  243. package/commands/DeprecateSystemTemplateCommand.ts +0 -94
  244. package/commands/DescribeNamespaceCommand.ts +0 -94
  245. package/commands/DissociateEntityFromThingCommand.ts +0 -98
  246. package/commands/GetEntitiesCommand.ts +0 -125
  247. package/commands/GetFlowTemplateCommand.ts +0 -94
  248. package/commands/GetFlowTemplateRevisionsCommand.ts +0 -95
  249. package/commands/GetNamespaceDeletionStatusCommand.ts +0 -97
  250. package/commands/GetSystemInstanceCommand.ts +0 -94
  251. package/commands/GetSystemTemplateCommand.ts +0 -94
  252. package/commands/GetSystemTemplateRevisionsCommand.ts +0 -98
  253. package/commands/GetUploadStatusCommand.ts +0 -94
  254. package/commands/ListFlowExecutionMessagesCommand.ts +0 -97
  255. package/commands/ListTagsForResourceCommand.ts +0 -94
  256. package/commands/SearchEntitiesCommand.ts +0 -94
  257. package/commands/SearchFlowExecutionsCommand.ts +0 -94
  258. package/commands/SearchFlowTemplatesCommand.ts +0 -94
  259. package/commands/SearchSystemInstancesCommand.ts +0 -94
  260. package/commands/SearchSystemTemplatesCommand.ts +0 -94
  261. package/commands/SearchThingsCommand.ts +0 -97
  262. package/commands/TagResourceCommand.ts +0 -94
  263. package/commands/UndeploySystemInstanceCommand.ts +0 -94
  264. package/commands/UntagResourceCommand.ts +0 -94
  265. package/commands/UpdateFlowTemplateCommand.ts +0 -95
  266. package/commands/UpdateSystemTemplateCommand.ts +0 -94
  267. package/commands/UploadEntityDefinitionsCommand.ts +0 -104
  268. package/dist/cjs/IoTThingsGraph.js.map +0 -1
  269. package/dist/cjs/IoTThingsGraphClient.js.map +0 -1
  270. package/dist/cjs/commands/AssociateEntityToThingCommand.js.map +0 -1
  271. package/dist/cjs/commands/CreateFlowTemplateCommand.js.map +0 -1
  272. package/dist/cjs/commands/CreateSystemInstanceCommand.js.map +0 -1
  273. package/dist/cjs/commands/CreateSystemTemplateCommand.js.map +0 -1
  274. package/dist/cjs/commands/DeleteFlowTemplateCommand.js.map +0 -1
  275. package/dist/cjs/commands/DeleteNamespaceCommand.js.map +0 -1
  276. package/dist/cjs/commands/DeleteSystemInstanceCommand.js.map +0 -1
  277. package/dist/cjs/commands/DeleteSystemTemplateCommand.js.map +0 -1
  278. package/dist/cjs/commands/DeploySystemInstanceCommand.js.map +0 -1
  279. package/dist/cjs/commands/DeprecateFlowTemplateCommand.js.map +0 -1
  280. package/dist/cjs/commands/DeprecateSystemTemplateCommand.js.map +0 -1
  281. package/dist/cjs/commands/DescribeNamespaceCommand.js.map +0 -1
  282. package/dist/cjs/commands/DissociateEntityFromThingCommand.js.map +0 -1
  283. package/dist/cjs/commands/GetEntitiesCommand.js.map +0 -1
  284. package/dist/cjs/commands/GetFlowTemplateCommand.js.map +0 -1
  285. package/dist/cjs/commands/GetFlowTemplateRevisionsCommand.js.map +0 -1
  286. package/dist/cjs/commands/GetNamespaceDeletionStatusCommand.js.map +0 -1
  287. package/dist/cjs/commands/GetSystemInstanceCommand.js.map +0 -1
  288. package/dist/cjs/commands/GetSystemTemplateCommand.js.map +0 -1
  289. package/dist/cjs/commands/GetSystemTemplateRevisionsCommand.js.map +0 -1
  290. package/dist/cjs/commands/GetUploadStatusCommand.js.map +0 -1
  291. package/dist/cjs/commands/ListFlowExecutionMessagesCommand.js.map +0 -1
  292. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  293. package/dist/cjs/commands/SearchEntitiesCommand.js.map +0 -1
  294. package/dist/cjs/commands/SearchFlowExecutionsCommand.js.map +0 -1
  295. package/dist/cjs/commands/SearchFlowTemplatesCommand.js.map +0 -1
  296. package/dist/cjs/commands/SearchSystemInstancesCommand.js.map +0 -1
  297. package/dist/cjs/commands/SearchSystemTemplatesCommand.js.map +0 -1
  298. package/dist/cjs/commands/SearchThingsCommand.js.map +0 -1
  299. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  300. package/dist/cjs/commands/UndeploySystemInstanceCommand.js.map +0 -1
  301. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  302. package/dist/cjs/commands/UpdateFlowTemplateCommand.js.map +0 -1
  303. package/dist/cjs/commands/UpdateSystemTemplateCommand.js.map +0 -1
  304. package/dist/cjs/commands/UploadEntityDefinitionsCommand.js.map +0 -1
  305. package/dist/cjs/endpoints.js.map +0 -1
  306. package/dist/cjs/index.js.map +0 -1
  307. package/dist/cjs/models/index.js.map +0 -1
  308. package/dist/cjs/models/models_0.js.map +0 -1
  309. package/dist/cjs/package.json +0 -91
  310. package/dist/cjs/pagination/GetFlowTemplateRevisionsPaginator.js.map +0 -1
  311. package/dist/cjs/pagination/GetSystemTemplateRevisionsPaginator.js.map +0 -1
  312. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  313. package/dist/cjs/pagination/ListFlowExecutionMessagesPaginator.js.map +0 -1
  314. package/dist/cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  315. package/dist/cjs/pagination/SearchEntitiesPaginator.js.map +0 -1
  316. package/dist/cjs/pagination/SearchFlowExecutionsPaginator.js.map +0 -1
  317. package/dist/cjs/pagination/SearchFlowTemplatesPaginator.js.map +0 -1
  318. package/dist/cjs/pagination/SearchSystemInstancesPaginator.js.map +0 -1
  319. package/dist/cjs/pagination/SearchSystemTemplatesPaginator.js.map +0 -1
  320. package/dist/cjs/pagination/SearchThingsPaginator.js.map +0 -1
  321. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  322. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  323. package/dist/cjs/runtimeConfig.js.map +0 -1
  324. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  325. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  326. package/dist/es/IoTThingsGraph.js.map +0 -1
  327. package/dist/es/IoTThingsGraphClient.js.map +0 -1
  328. package/dist/es/commands/AssociateEntityToThingCommand.js.map +0 -1
  329. package/dist/es/commands/CreateFlowTemplateCommand.js.map +0 -1
  330. package/dist/es/commands/CreateSystemInstanceCommand.js +0 -73
  331. package/dist/es/commands/CreateSystemInstanceCommand.js.map +0 -1
  332. package/dist/es/commands/CreateSystemTemplateCommand.js.map +0 -1
  333. package/dist/es/commands/DeleteFlowTemplateCommand.js.map +0 -1
  334. package/dist/es/commands/DeleteNamespaceCommand.js.map +0 -1
  335. package/dist/es/commands/DeleteSystemInstanceCommand.js.map +0 -1
  336. package/dist/es/commands/DeleteSystemTemplateCommand.js.map +0 -1
  337. package/dist/es/commands/DeploySystemInstanceCommand.js +0 -76
  338. package/dist/es/commands/DeploySystemInstanceCommand.js.map +0 -1
  339. package/dist/es/commands/DeprecateFlowTemplateCommand.js.map +0 -1
  340. package/dist/es/commands/DeprecateSystemTemplateCommand.js.map +0 -1
  341. package/dist/es/commands/DescribeNamespaceCommand.js.map +0 -1
  342. package/dist/es/commands/DissociateEntityFromThingCommand.js.map +0 -1
  343. package/dist/es/commands/GetEntitiesCommand.js +0 -96
  344. package/dist/es/commands/GetEntitiesCommand.js.map +0 -1
  345. package/dist/es/commands/GetFlowTemplateCommand.js.map +0 -1
  346. package/dist/es/commands/GetFlowTemplateRevisionsCommand.js.map +0 -1
  347. package/dist/es/commands/GetNamespaceDeletionStatusCommand.js.map +0 -1
  348. package/dist/es/commands/GetSystemInstanceCommand.js.map +0 -1
  349. package/dist/es/commands/GetSystemTemplateCommand.js.map +0 -1
  350. package/dist/es/commands/GetSystemTemplateRevisionsCommand.js.map +0 -1
  351. package/dist/es/commands/GetUploadStatusCommand.js.map +0 -1
  352. package/dist/es/commands/ListFlowExecutionMessagesCommand.js.map +0 -1
  353. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  354. package/dist/es/commands/SearchEntitiesCommand.js.map +0 -1
  355. package/dist/es/commands/SearchFlowExecutionsCommand.js.map +0 -1
  356. package/dist/es/commands/SearchFlowTemplatesCommand.js.map +0 -1
  357. package/dist/es/commands/SearchSystemInstancesCommand.js.map +0 -1
  358. package/dist/es/commands/SearchSystemTemplatesCommand.js.map +0 -1
  359. package/dist/es/commands/SearchThingsCommand.js.map +0 -1
  360. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  361. package/dist/es/commands/UndeploySystemInstanceCommand.js.map +0 -1
  362. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  363. package/dist/es/commands/UpdateFlowTemplateCommand.js.map +0 -1
  364. package/dist/es/commands/UpdateSystemTemplateCommand.js.map +0 -1
  365. package/dist/es/commands/UploadEntityDefinitionsCommand.js +0 -75
  366. package/dist/es/commands/UploadEntityDefinitionsCommand.js.map +0 -1
  367. package/dist/es/endpoints.js.map +0 -1
  368. package/dist/es/index.js +0 -50
  369. package/dist/es/index.js.map +0 -1
  370. package/dist/es/models/index.js +0 -2
  371. package/dist/es/models/index.js.map +0 -1
  372. package/dist/es/models/models_0.js.map +0 -1
  373. package/dist/es/package.json +0 -91
  374. package/dist/es/pagination/GetFlowTemplateRevisionsPaginator.js.map +0 -1
  375. package/dist/es/pagination/GetSystemTemplateRevisionsPaginator.js.map +0 -1
  376. package/dist/es/pagination/Interfaces.js +0 -2
  377. package/dist/es/pagination/Interfaces.js.map +0 -1
  378. package/dist/es/pagination/ListFlowExecutionMessagesPaginator.js.map +0 -1
  379. package/dist/es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  380. package/dist/es/pagination/SearchEntitiesPaginator.js.map +0 -1
  381. package/dist/es/pagination/SearchFlowExecutionsPaginator.js.map +0 -1
  382. package/dist/es/pagination/SearchFlowTemplatesPaginator.js.map +0 -1
  383. package/dist/es/pagination/SearchSystemInstancesPaginator.js.map +0 -1
  384. package/dist/es/pagination/SearchSystemTemplatesPaginator.js.map +0 -1
  385. package/dist/es/pagination/SearchThingsPaginator.js.map +0 -1
  386. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  387. package/dist/es/runtimeConfig.browser.js.map +0 -1
  388. package/dist/es/runtimeConfig.js.map +0 -1
  389. package/dist/es/runtimeConfig.native.js.map +0 -1
  390. package/dist/es/runtimeConfig.shared.js.map +0 -1
  391. package/endpoints.ts +0 -57
  392. package/jest.config.js +0 -4
  393. package/models/models_0.ts +0 -2312
  394. package/pagination/GetFlowTemplateRevisionsPaginator.ts +0 -58
  395. package/pagination/GetSystemTemplateRevisionsPaginator.ts +0 -58
  396. package/pagination/Interfaces.ts +0 -7
  397. package/pagination/ListFlowExecutionMessagesPaginator.ts +0 -58
  398. package/pagination/ListTagsForResourcePaginator.ts +0 -58
  399. package/pagination/SearchEntitiesPaginator.ts +0 -58
  400. package/pagination/SearchFlowExecutionsPaginator.ts +0 -58
  401. package/pagination/SearchFlowTemplatesPaginator.ts +0 -58
  402. package/pagination/SearchSystemInstancesPaginator.ts +0 -58
  403. package/pagination/SearchSystemTemplatesPaginator.ts +0 -58
  404. package/pagination/SearchThingsPaginator.ts +0 -58
  405. package/protocols/Aws_json1_1.ts +0 -4844
  406. package/runtimeConfig.browser.ts +0 -40
  407. package/runtimeConfig.native.ts +0 -16
  408. package/runtimeConfig.shared.ts +0 -16
  409. package/runtimeConfig.ts +0 -45
  410. package/tsconfig.es.json +0 -12
  411. package/tsconfig.json +0 -32
package/IoTThingsGraph.ts DELETED
@@ -1,1358 +0,0 @@
1
- import { IoTThingsGraphClient } from "./IoTThingsGraphClient";
2
- import {
3
- AssociateEntityToThingCommand,
4
- AssociateEntityToThingCommandInput,
5
- AssociateEntityToThingCommandOutput,
6
- } from "./commands/AssociateEntityToThingCommand";
7
- import {
8
- CreateFlowTemplateCommand,
9
- CreateFlowTemplateCommandInput,
10
- CreateFlowTemplateCommandOutput,
11
- } from "./commands/CreateFlowTemplateCommand";
12
- import {
13
- CreateSystemInstanceCommand,
14
- CreateSystemInstanceCommandInput,
15
- CreateSystemInstanceCommandOutput,
16
- } from "./commands/CreateSystemInstanceCommand";
17
- import {
18
- CreateSystemTemplateCommand,
19
- CreateSystemTemplateCommandInput,
20
- CreateSystemTemplateCommandOutput,
21
- } from "./commands/CreateSystemTemplateCommand";
22
- import {
23
- DeleteFlowTemplateCommand,
24
- DeleteFlowTemplateCommandInput,
25
- DeleteFlowTemplateCommandOutput,
26
- } from "./commands/DeleteFlowTemplateCommand";
27
- import {
28
- DeleteNamespaceCommand,
29
- DeleteNamespaceCommandInput,
30
- DeleteNamespaceCommandOutput,
31
- } from "./commands/DeleteNamespaceCommand";
32
- import {
33
- DeleteSystemInstanceCommand,
34
- DeleteSystemInstanceCommandInput,
35
- DeleteSystemInstanceCommandOutput,
36
- } from "./commands/DeleteSystemInstanceCommand";
37
- import {
38
- DeleteSystemTemplateCommand,
39
- DeleteSystemTemplateCommandInput,
40
- DeleteSystemTemplateCommandOutput,
41
- } from "./commands/DeleteSystemTemplateCommand";
42
- import {
43
- DeploySystemInstanceCommand,
44
- DeploySystemInstanceCommandInput,
45
- DeploySystemInstanceCommandOutput,
46
- } from "./commands/DeploySystemInstanceCommand";
47
- import {
48
- DeprecateFlowTemplateCommand,
49
- DeprecateFlowTemplateCommandInput,
50
- DeprecateFlowTemplateCommandOutput,
51
- } from "./commands/DeprecateFlowTemplateCommand";
52
- import {
53
- DeprecateSystemTemplateCommand,
54
- DeprecateSystemTemplateCommandInput,
55
- DeprecateSystemTemplateCommandOutput,
56
- } from "./commands/DeprecateSystemTemplateCommand";
57
- import {
58
- DescribeNamespaceCommand,
59
- DescribeNamespaceCommandInput,
60
- DescribeNamespaceCommandOutput,
61
- } from "./commands/DescribeNamespaceCommand";
62
- import {
63
- DissociateEntityFromThingCommand,
64
- DissociateEntityFromThingCommandInput,
65
- DissociateEntityFromThingCommandOutput,
66
- } from "./commands/DissociateEntityFromThingCommand";
67
- import { GetEntitiesCommand, GetEntitiesCommandInput, GetEntitiesCommandOutput } from "./commands/GetEntitiesCommand";
68
- import {
69
- GetFlowTemplateCommand,
70
- GetFlowTemplateCommandInput,
71
- GetFlowTemplateCommandOutput,
72
- } from "./commands/GetFlowTemplateCommand";
73
- import {
74
- GetFlowTemplateRevisionsCommand,
75
- GetFlowTemplateRevisionsCommandInput,
76
- GetFlowTemplateRevisionsCommandOutput,
77
- } from "./commands/GetFlowTemplateRevisionsCommand";
78
- import {
79
- GetNamespaceDeletionStatusCommand,
80
- GetNamespaceDeletionStatusCommandInput,
81
- GetNamespaceDeletionStatusCommandOutput,
82
- } from "./commands/GetNamespaceDeletionStatusCommand";
83
- import {
84
- GetSystemInstanceCommand,
85
- GetSystemInstanceCommandInput,
86
- GetSystemInstanceCommandOutput,
87
- } from "./commands/GetSystemInstanceCommand";
88
- import {
89
- GetSystemTemplateCommand,
90
- GetSystemTemplateCommandInput,
91
- GetSystemTemplateCommandOutput,
92
- } from "./commands/GetSystemTemplateCommand";
93
- import {
94
- GetSystemTemplateRevisionsCommand,
95
- GetSystemTemplateRevisionsCommandInput,
96
- GetSystemTemplateRevisionsCommandOutput,
97
- } from "./commands/GetSystemTemplateRevisionsCommand";
98
- import {
99
- GetUploadStatusCommand,
100
- GetUploadStatusCommandInput,
101
- GetUploadStatusCommandOutput,
102
- } from "./commands/GetUploadStatusCommand";
103
- import {
104
- ListFlowExecutionMessagesCommand,
105
- ListFlowExecutionMessagesCommandInput,
106
- ListFlowExecutionMessagesCommandOutput,
107
- } from "./commands/ListFlowExecutionMessagesCommand";
108
- import {
109
- ListTagsForResourceCommand,
110
- ListTagsForResourceCommandInput,
111
- ListTagsForResourceCommandOutput,
112
- } from "./commands/ListTagsForResourceCommand";
113
- import {
114
- SearchEntitiesCommand,
115
- SearchEntitiesCommandInput,
116
- SearchEntitiesCommandOutput,
117
- } from "./commands/SearchEntitiesCommand";
118
- import {
119
- SearchFlowExecutionsCommand,
120
- SearchFlowExecutionsCommandInput,
121
- SearchFlowExecutionsCommandOutput,
122
- } from "./commands/SearchFlowExecutionsCommand";
123
- import {
124
- SearchFlowTemplatesCommand,
125
- SearchFlowTemplatesCommandInput,
126
- SearchFlowTemplatesCommandOutput,
127
- } from "./commands/SearchFlowTemplatesCommand";
128
- import {
129
- SearchSystemInstancesCommand,
130
- SearchSystemInstancesCommandInput,
131
- SearchSystemInstancesCommandOutput,
132
- } from "./commands/SearchSystemInstancesCommand";
133
- import {
134
- SearchSystemTemplatesCommand,
135
- SearchSystemTemplatesCommandInput,
136
- SearchSystemTemplatesCommandOutput,
137
- } from "./commands/SearchSystemTemplatesCommand";
138
- import {
139
- SearchThingsCommand,
140
- SearchThingsCommandInput,
141
- SearchThingsCommandOutput,
142
- } from "./commands/SearchThingsCommand";
143
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
144
- import {
145
- UndeploySystemInstanceCommand,
146
- UndeploySystemInstanceCommandInput,
147
- UndeploySystemInstanceCommandOutput,
148
- } from "./commands/UndeploySystemInstanceCommand";
149
- import {
150
- UntagResourceCommand,
151
- UntagResourceCommandInput,
152
- UntagResourceCommandOutput,
153
- } from "./commands/UntagResourceCommand";
154
- import {
155
- UpdateFlowTemplateCommand,
156
- UpdateFlowTemplateCommandInput,
157
- UpdateFlowTemplateCommandOutput,
158
- } from "./commands/UpdateFlowTemplateCommand";
159
- import {
160
- UpdateSystemTemplateCommand,
161
- UpdateSystemTemplateCommandInput,
162
- UpdateSystemTemplateCommandOutput,
163
- } from "./commands/UpdateSystemTemplateCommand";
164
- import {
165
- UploadEntityDefinitionsCommand,
166
- UploadEntityDefinitionsCommandInput,
167
- UploadEntityDefinitionsCommandOutput,
168
- } from "./commands/UploadEntityDefinitionsCommand";
169
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
170
-
171
- /**
172
- * <fullname>AWS IoT Things Graph</fullname>
173
- * <p>AWS IoT Things Graph provides an integrated set of tools that enable developers to connect devices and services that use different standards,
174
- * such as units of measure and communication protocols. AWS IoT Things Graph makes it possible to build IoT applications with little to no code by connecting devices and services
175
- * and defining how they interact at an abstract level.</p>
176
- * <p>For more information about how AWS IoT Things Graph works, see the <a href="https://docs.aws.amazon.com/thingsgraph/latest/ug/iot-tg-whatis.html">User Guide</a>.</p>
177
- */
178
- export class IoTThingsGraph extends IoTThingsGraphClient {
179
- /**
180
- * <p>Associates a device with a concrete thing that is in the user's registry.</p>
181
- * <p>A thing can be associated with only one device at a time. If you associate a thing with a new device id, its previous association will be removed.</p>
182
- */
183
- public associateEntityToThing(
184
- args: AssociateEntityToThingCommandInput,
185
- options?: __HttpHandlerOptions
186
- ): Promise<AssociateEntityToThingCommandOutput>;
187
- public associateEntityToThing(
188
- args: AssociateEntityToThingCommandInput,
189
- cb: (err: any, data?: AssociateEntityToThingCommandOutput) => void
190
- ): void;
191
- public associateEntityToThing(
192
- args: AssociateEntityToThingCommandInput,
193
- options: __HttpHandlerOptions,
194
- cb: (err: any, data?: AssociateEntityToThingCommandOutput) => void
195
- ): void;
196
- public associateEntityToThing(
197
- args: AssociateEntityToThingCommandInput,
198
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateEntityToThingCommandOutput) => void),
199
- cb?: (err: any, data?: AssociateEntityToThingCommandOutput) => void
200
- ): Promise<AssociateEntityToThingCommandOutput> | void {
201
- const command = new AssociateEntityToThingCommand(args);
202
- if (typeof optionsOrCb === "function") {
203
- this.send(command, optionsOrCb);
204
- } else if (typeof cb === "function") {
205
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
206
- this.send(command, optionsOrCb || {}, cb);
207
- } else {
208
- return this.send(command, optionsOrCb);
209
- }
210
- }
211
-
212
- /**
213
- * <p>Creates a workflow template. Workflows can be created only in the user's namespace. (The public namespace contains only
214
- * entities.) The workflow can contain only entities in the specified namespace. The workflow is validated against the entities in the
215
- * latest version of the user's namespace unless another namespace version is specified in the request.</p>
216
- */
217
- public createFlowTemplate(
218
- args: CreateFlowTemplateCommandInput,
219
- options?: __HttpHandlerOptions
220
- ): Promise<CreateFlowTemplateCommandOutput>;
221
- public createFlowTemplate(
222
- args: CreateFlowTemplateCommandInput,
223
- cb: (err: any, data?: CreateFlowTemplateCommandOutput) => void
224
- ): void;
225
- public createFlowTemplate(
226
- args: CreateFlowTemplateCommandInput,
227
- options: __HttpHandlerOptions,
228
- cb: (err: any, data?: CreateFlowTemplateCommandOutput) => void
229
- ): void;
230
- public createFlowTemplate(
231
- args: CreateFlowTemplateCommandInput,
232
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFlowTemplateCommandOutput) => void),
233
- cb?: (err: any, data?: CreateFlowTemplateCommandOutput) => void
234
- ): Promise<CreateFlowTemplateCommandOutput> | void {
235
- const command = new CreateFlowTemplateCommand(args);
236
- if (typeof optionsOrCb === "function") {
237
- this.send(command, optionsOrCb);
238
- } else if (typeof cb === "function") {
239
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
240
- this.send(command, optionsOrCb || {}, cb);
241
- } else {
242
- return this.send(command, optionsOrCb);
243
- }
244
- }
245
-
246
- /**
247
- * <p>Creates a system instance. </p>
248
- * <p>This action validates the system instance, prepares the deployment-related resources. For Greengrass deployments, it updates the Greengrass group that is
249
- * specified by the <code>greengrassGroupName</code> parameter. It also adds a file to the S3 bucket specified by the <code>s3BucketName</code> parameter. You need to
250
- * call <code>DeploySystemInstance</code> after running this action.</p>
251
- * <p>For Greengrass deployments, since this action modifies and adds resources to a Greengrass group and an S3 bucket on the caller's behalf, the calling identity must have write permissions
252
- * to both the specified Greengrass group and S3 bucket. Otherwise, the call will fail with an authorization error.</p>
253
- * <p>For cloud deployments, this action requires a <code>flowActionsRoleArn</code> value. This is an IAM role
254
- * that has permissions to access AWS services, such as AWS Lambda and AWS IoT, that the flow uses when it executes.</p>
255
- * <p>If the definition document doesn't specify a version of the user's namespace, the latest version will be used by default.</p>
256
- */
257
- public createSystemInstance(
258
- args: CreateSystemInstanceCommandInput,
259
- options?: __HttpHandlerOptions
260
- ): Promise<CreateSystemInstanceCommandOutput>;
261
- public createSystemInstance(
262
- args: CreateSystemInstanceCommandInput,
263
- cb: (err: any, data?: CreateSystemInstanceCommandOutput) => void
264
- ): void;
265
- public createSystemInstance(
266
- args: CreateSystemInstanceCommandInput,
267
- options: __HttpHandlerOptions,
268
- cb: (err: any, data?: CreateSystemInstanceCommandOutput) => void
269
- ): void;
270
- public createSystemInstance(
271
- args: CreateSystemInstanceCommandInput,
272
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSystemInstanceCommandOutput) => void),
273
- cb?: (err: any, data?: CreateSystemInstanceCommandOutput) => void
274
- ): Promise<CreateSystemInstanceCommandOutput> | void {
275
- const command = new CreateSystemInstanceCommand(args);
276
- if (typeof optionsOrCb === "function") {
277
- this.send(command, optionsOrCb);
278
- } else if (typeof cb === "function") {
279
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
280
- this.send(command, optionsOrCb || {}, cb);
281
- } else {
282
- return this.send(command, optionsOrCb);
283
- }
284
- }
285
-
286
- /**
287
- * <p>Creates a system. The system is validated against the entities in the
288
- * latest version of the user's namespace unless another namespace version is specified in the request.</p>
289
- */
290
- public createSystemTemplate(
291
- args: CreateSystemTemplateCommandInput,
292
- options?: __HttpHandlerOptions
293
- ): Promise<CreateSystemTemplateCommandOutput>;
294
- public createSystemTemplate(
295
- args: CreateSystemTemplateCommandInput,
296
- cb: (err: any, data?: CreateSystemTemplateCommandOutput) => void
297
- ): void;
298
- public createSystemTemplate(
299
- args: CreateSystemTemplateCommandInput,
300
- options: __HttpHandlerOptions,
301
- cb: (err: any, data?: CreateSystemTemplateCommandOutput) => void
302
- ): void;
303
- public createSystemTemplate(
304
- args: CreateSystemTemplateCommandInput,
305
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSystemTemplateCommandOutput) => void),
306
- cb?: (err: any, data?: CreateSystemTemplateCommandOutput) => void
307
- ): Promise<CreateSystemTemplateCommandOutput> | void {
308
- const command = new CreateSystemTemplateCommand(args);
309
- if (typeof optionsOrCb === "function") {
310
- this.send(command, optionsOrCb);
311
- } else if (typeof cb === "function") {
312
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
313
- this.send(command, optionsOrCb || {}, cb);
314
- } else {
315
- return this.send(command, optionsOrCb);
316
- }
317
- }
318
-
319
- /**
320
- * <p>Deletes a workflow. Any new system or deployment that contains this workflow will fail to update or deploy.
321
- * Existing deployments that contain the workflow will continue to run (since they use a snapshot of the workflow taken at the time of deployment).</p>
322
- */
323
- public deleteFlowTemplate(
324
- args: DeleteFlowTemplateCommandInput,
325
- options?: __HttpHandlerOptions
326
- ): Promise<DeleteFlowTemplateCommandOutput>;
327
- public deleteFlowTemplate(
328
- args: DeleteFlowTemplateCommandInput,
329
- cb: (err: any, data?: DeleteFlowTemplateCommandOutput) => void
330
- ): void;
331
- public deleteFlowTemplate(
332
- args: DeleteFlowTemplateCommandInput,
333
- options: __HttpHandlerOptions,
334
- cb: (err: any, data?: DeleteFlowTemplateCommandOutput) => void
335
- ): void;
336
- public deleteFlowTemplate(
337
- args: DeleteFlowTemplateCommandInput,
338
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFlowTemplateCommandOutput) => void),
339
- cb?: (err: any, data?: DeleteFlowTemplateCommandOutput) => void
340
- ): Promise<DeleteFlowTemplateCommandOutput> | void {
341
- const command = new DeleteFlowTemplateCommand(args);
342
- if (typeof optionsOrCb === "function") {
343
- this.send(command, optionsOrCb);
344
- } else if (typeof cb === "function") {
345
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
346
- this.send(command, optionsOrCb || {}, cb);
347
- } else {
348
- return this.send(command, optionsOrCb);
349
- }
350
- }
351
-
352
- /**
353
- * <p>Deletes the specified namespace. This action deletes all of the entities in the namespace. Delete the systems and flows that use entities in the namespace before performing this action.</p>
354
- */
355
- public deleteNamespace(
356
- args: DeleteNamespaceCommandInput,
357
- options?: __HttpHandlerOptions
358
- ): Promise<DeleteNamespaceCommandOutput>;
359
- public deleteNamespace(
360
- args: DeleteNamespaceCommandInput,
361
- cb: (err: any, data?: DeleteNamespaceCommandOutput) => void
362
- ): void;
363
- public deleteNamespace(
364
- args: DeleteNamespaceCommandInput,
365
- options: __HttpHandlerOptions,
366
- cb: (err: any, data?: DeleteNamespaceCommandOutput) => void
367
- ): void;
368
- public deleteNamespace(
369
- args: DeleteNamespaceCommandInput,
370
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteNamespaceCommandOutput) => void),
371
- cb?: (err: any, data?: DeleteNamespaceCommandOutput) => void
372
- ): Promise<DeleteNamespaceCommandOutput> | void {
373
- const command = new DeleteNamespaceCommand(args);
374
- if (typeof optionsOrCb === "function") {
375
- this.send(command, optionsOrCb);
376
- } else if (typeof cb === "function") {
377
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
378
- this.send(command, optionsOrCb || {}, cb);
379
- } else {
380
- return this.send(command, optionsOrCb);
381
- }
382
- }
383
-
384
- /**
385
- * <p>Deletes a system instance.
386
- * Only system instances that have never been deployed, or that have been undeployed can be deleted.</p>
387
- * <p>Users can create a new system instance that has the same ID as a deleted system instance.</p>
388
- */
389
- public deleteSystemInstance(
390
- args: DeleteSystemInstanceCommandInput,
391
- options?: __HttpHandlerOptions
392
- ): Promise<DeleteSystemInstanceCommandOutput>;
393
- public deleteSystemInstance(
394
- args: DeleteSystemInstanceCommandInput,
395
- cb: (err: any, data?: DeleteSystemInstanceCommandOutput) => void
396
- ): void;
397
- public deleteSystemInstance(
398
- args: DeleteSystemInstanceCommandInput,
399
- options: __HttpHandlerOptions,
400
- cb: (err: any, data?: DeleteSystemInstanceCommandOutput) => void
401
- ): void;
402
- public deleteSystemInstance(
403
- args: DeleteSystemInstanceCommandInput,
404
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSystemInstanceCommandOutput) => void),
405
- cb?: (err: any, data?: DeleteSystemInstanceCommandOutput) => void
406
- ): Promise<DeleteSystemInstanceCommandOutput> | void {
407
- const command = new DeleteSystemInstanceCommand(args);
408
- if (typeof optionsOrCb === "function") {
409
- this.send(command, optionsOrCb);
410
- } else if (typeof cb === "function") {
411
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
412
- this.send(command, optionsOrCb || {}, cb);
413
- } else {
414
- return this.send(command, optionsOrCb);
415
- }
416
- }
417
-
418
- /**
419
- * <p>Deletes a system. New deployments can't contain the system after its deletion.
420
- * Existing deployments that contain the system will continue to work because they use a snapshot of the system that is taken when it is deployed.</p>
421
- */
422
- public deleteSystemTemplate(
423
- args: DeleteSystemTemplateCommandInput,
424
- options?: __HttpHandlerOptions
425
- ): Promise<DeleteSystemTemplateCommandOutput>;
426
- public deleteSystemTemplate(
427
- args: DeleteSystemTemplateCommandInput,
428
- cb: (err: any, data?: DeleteSystemTemplateCommandOutput) => void
429
- ): void;
430
- public deleteSystemTemplate(
431
- args: DeleteSystemTemplateCommandInput,
432
- options: __HttpHandlerOptions,
433
- cb: (err: any, data?: DeleteSystemTemplateCommandOutput) => void
434
- ): void;
435
- public deleteSystemTemplate(
436
- args: DeleteSystemTemplateCommandInput,
437
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSystemTemplateCommandOutput) => void),
438
- cb?: (err: any, data?: DeleteSystemTemplateCommandOutput) => void
439
- ): Promise<DeleteSystemTemplateCommandOutput> | void {
440
- const command = new DeleteSystemTemplateCommand(args);
441
- if (typeof optionsOrCb === "function") {
442
- this.send(command, optionsOrCb);
443
- } else if (typeof cb === "function") {
444
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
445
- this.send(command, optionsOrCb || {}, cb);
446
- } else {
447
- return this.send(command, optionsOrCb);
448
- }
449
- }
450
-
451
- /**
452
- * <p>
453
- * <b>Greengrass and Cloud Deployments</b>
454
- * </p>
455
- * <p>Deploys the system instance to the target specified in <code>CreateSystemInstance</code>. </p>
456
- * <p>
457
- * <b>Greengrass Deployments</b>
458
- * </p>
459
- * <p>If the system or any workflows and entities have been updated before this action is called, then the deployment will create a new Amazon Simple Storage Service
460
- * resource file and then deploy it.</p>
461
- * <p>Since this action creates a Greengrass deployment on the caller's behalf, the calling identity must have write permissions
462
- * to the specified Greengrass group. Otherwise, the call will fail with an authorization error.</p>
463
- * <p>For information about the artifacts that get added to your Greengrass core device when you use this API, see <a href="https://docs.aws.amazon.com/thingsgraph/latest/ug/iot-tg-greengrass.html">AWS IoT Things Graph and AWS IoT Greengrass</a>.</p>
464
- */
465
- public deploySystemInstance(
466
- args: DeploySystemInstanceCommandInput,
467
- options?: __HttpHandlerOptions
468
- ): Promise<DeploySystemInstanceCommandOutput>;
469
- public deploySystemInstance(
470
- args: DeploySystemInstanceCommandInput,
471
- cb: (err: any, data?: DeploySystemInstanceCommandOutput) => void
472
- ): void;
473
- public deploySystemInstance(
474
- args: DeploySystemInstanceCommandInput,
475
- options: __HttpHandlerOptions,
476
- cb: (err: any, data?: DeploySystemInstanceCommandOutput) => void
477
- ): void;
478
- public deploySystemInstance(
479
- args: DeploySystemInstanceCommandInput,
480
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeploySystemInstanceCommandOutput) => void),
481
- cb?: (err: any, data?: DeploySystemInstanceCommandOutput) => void
482
- ): Promise<DeploySystemInstanceCommandOutput> | void {
483
- const command = new DeploySystemInstanceCommand(args);
484
- if (typeof optionsOrCb === "function") {
485
- this.send(command, optionsOrCb);
486
- } else if (typeof cb === "function") {
487
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
488
- this.send(command, optionsOrCb || {}, cb);
489
- } else {
490
- return this.send(command, optionsOrCb);
491
- }
492
- }
493
-
494
- /**
495
- * <p>Deprecates the specified workflow. This action marks the workflow for deletion. Deprecated flows can't be deployed, but existing deployments will continue to run.</p>
496
- */
497
- public deprecateFlowTemplate(
498
- args: DeprecateFlowTemplateCommandInput,
499
- options?: __HttpHandlerOptions
500
- ): Promise<DeprecateFlowTemplateCommandOutput>;
501
- public deprecateFlowTemplate(
502
- args: DeprecateFlowTemplateCommandInput,
503
- cb: (err: any, data?: DeprecateFlowTemplateCommandOutput) => void
504
- ): void;
505
- public deprecateFlowTemplate(
506
- args: DeprecateFlowTemplateCommandInput,
507
- options: __HttpHandlerOptions,
508
- cb: (err: any, data?: DeprecateFlowTemplateCommandOutput) => void
509
- ): void;
510
- public deprecateFlowTemplate(
511
- args: DeprecateFlowTemplateCommandInput,
512
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeprecateFlowTemplateCommandOutput) => void),
513
- cb?: (err: any, data?: DeprecateFlowTemplateCommandOutput) => void
514
- ): Promise<DeprecateFlowTemplateCommandOutput> | void {
515
- const command = new DeprecateFlowTemplateCommand(args);
516
- if (typeof optionsOrCb === "function") {
517
- this.send(command, optionsOrCb);
518
- } else if (typeof cb === "function") {
519
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
520
- this.send(command, optionsOrCb || {}, cb);
521
- } else {
522
- return this.send(command, optionsOrCb);
523
- }
524
- }
525
-
526
- /**
527
- * <p>Deprecates the specified system.</p>
528
- */
529
- public deprecateSystemTemplate(
530
- args: DeprecateSystemTemplateCommandInput,
531
- options?: __HttpHandlerOptions
532
- ): Promise<DeprecateSystemTemplateCommandOutput>;
533
- public deprecateSystemTemplate(
534
- args: DeprecateSystemTemplateCommandInput,
535
- cb: (err: any, data?: DeprecateSystemTemplateCommandOutput) => void
536
- ): void;
537
- public deprecateSystemTemplate(
538
- args: DeprecateSystemTemplateCommandInput,
539
- options: __HttpHandlerOptions,
540
- cb: (err: any, data?: DeprecateSystemTemplateCommandOutput) => void
541
- ): void;
542
- public deprecateSystemTemplate(
543
- args: DeprecateSystemTemplateCommandInput,
544
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeprecateSystemTemplateCommandOutput) => void),
545
- cb?: (err: any, data?: DeprecateSystemTemplateCommandOutput) => void
546
- ): Promise<DeprecateSystemTemplateCommandOutput> | void {
547
- const command = new DeprecateSystemTemplateCommand(args);
548
- if (typeof optionsOrCb === "function") {
549
- this.send(command, optionsOrCb);
550
- } else if (typeof cb === "function") {
551
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
552
- this.send(command, optionsOrCb || {}, cb);
553
- } else {
554
- return this.send(command, optionsOrCb);
555
- }
556
- }
557
-
558
- /**
559
- * <p>Gets the latest version of the user's namespace and the public version that it is tracking.</p>
560
- */
561
- public describeNamespace(
562
- args: DescribeNamespaceCommandInput,
563
- options?: __HttpHandlerOptions
564
- ): Promise<DescribeNamespaceCommandOutput>;
565
- public describeNamespace(
566
- args: DescribeNamespaceCommandInput,
567
- cb: (err: any, data?: DescribeNamespaceCommandOutput) => void
568
- ): void;
569
- public describeNamespace(
570
- args: DescribeNamespaceCommandInput,
571
- options: __HttpHandlerOptions,
572
- cb: (err: any, data?: DescribeNamespaceCommandOutput) => void
573
- ): void;
574
- public describeNamespace(
575
- args: DescribeNamespaceCommandInput,
576
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeNamespaceCommandOutput) => void),
577
- cb?: (err: any, data?: DescribeNamespaceCommandOutput) => void
578
- ): Promise<DescribeNamespaceCommandOutput> | void {
579
- const command = new DescribeNamespaceCommand(args);
580
- if (typeof optionsOrCb === "function") {
581
- this.send(command, optionsOrCb);
582
- } else if (typeof cb === "function") {
583
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
584
- this.send(command, optionsOrCb || {}, cb);
585
- } else {
586
- return this.send(command, optionsOrCb);
587
- }
588
- }
589
-
590
- /**
591
- * <p>Dissociates a device entity from a concrete thing. The action takes only the type of the entity that you need to dissociate because only
592
- * one entity of a particular type can be associated with a thing.</p>
593
- */
594
- public dissociateEntityFromThing(
595
- args: DissociateEntityFromThingCommandInput,
596
- options?: __HttpHandlerOptions
597
- ): Promise<DissociateEntityFromThingCommandOutput>;
598
- public dissociateEntityFromThing(
599
- args: DissociateEntityFromThingCommandInput,
600
- cb: (err: any, data?: DissociateEntityFromThingCommandOutput) => void
601
- ): void;
602
- public dissociateEntityFromThing(
603
- args: DissociateEntityFromThingCommandInput,
604
- options: __HttpHandlerOptions,
605
- cb: (err: any, data?: DissociateEntityFromThingCommandOutput) => void
606
- ): void;
607
- public dissociateEntityFromThing(
608
- args: DissociateEntityFromThingCommandInput,
609
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DissociateEntityFromThingCommandOutput) => void),
610
- cb?: (err: any, data?: DissociateEntityFromThingCommandOutput) => void
611
- ): Promise<DissociateEntityFromThingCommandOutput> | void {
612
- const command = new DissociateEntityFromThingCommand(args);
613
- if (typeof optionsOrCb === "function") {
614
- this.send(command, optionsOrCb);
615
- } else if (typeof cb === "function") {
616
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
617
- this.send(command, optionsOrCb || {}, cb);
618
- } else {
619
- return this.send(command, optionsOrCb);
620
- }
621
- }
622
-
623
- /**
624
- * <p>Gets definitions of the specified entities. Uses the latest version of the user's namespace by default. This API returns the
625
- * following TDM entities.</p>
626
- * <ul>
627
- * <li>
628
- * <p>Properties</p>
629
- * </li>
630
- * <li>
631
- * <p>States</p>
632
- * </li>
633
- * <li>
634
- * <p>Events</p>
635
- * </li>
636
- * <li>
637
- * <p>Actions</p>
638
- * </li>
639
- * <li>
640
- * <p>Capabilities</p>
641
- * </li>
642
- * <li>
643
- * <p>Mappings</p>
644
- * </li>
645
- * <li>
646
- * <p>Devices</p>
647
- * </li>
648
- * <li>
649
- * <p>Device Models</p>
650
- * </li>
651
- * <li>
652
- * <p>Services</p>
653
- * </li>
654
- * </ul>
655
- * <p>This action doesn't return definitions for systems, flows, and deployments.</p>
656
- */
657
- public getEntities(args: GetEntitiesCommandInput, options?: __HttpHandlerOptions): Promise<GetEntitiesCommandOutput>;
658
- public getEntities(args: GetEntitiesCommandInput, cb: (err: any, data?: GetEntitiesCommandOutput) => void): void;
659
- public getEntities(
660
- args: GetEntitiesCommandInput,
661
- options: __HttpHandlerOptions,
662
- cb: (err: any, data?: GetEntitiesCommandOutput) => void
663
- ): void;
664
- public getEntities(
665
- args: GetEntitiesCommandInput,
666
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetEntitiesCommandOutput) => void),
667
- cb?: (err: any, data?: GetEntitiesCommandOutput) => void
668
- ): Promise<GetEntitiesCommandOutput> | void {
669
- const command = new GetEntitiesCommand(args);
670
- if (typeof optionsOrCb === "function") {
671
- this.send(command, optionsOrCb);
672
- } else if (typeof cb === "function") {
673
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
674
- this.send(command, optionsOrCb || {}, cb);
675
- } else {
676
- return this.send(command, optionsOrCb);
677
- }
678
- }
679
-
680
- /**
681
- * <p>Gets the latest version of the <code>DefinitionDocument</code> and <code>FlowTemplateSummary</code> for the specified workflow.</p>
682
- */
683
- public getFlowTemplate(
684
- args: GetFlowTemplateCommandInput,
685
- options?: __HttpHandlerOptions
686
- ): Promise<GetFlowTemplateCommandOutput>;
687
- public getFlowTemplate(
688
- args: GetFlowTemplateCommandInput,
689
- cb: (err: any, data?: GetFlowTemplateCommandOutput) => void
690
- ): void;
691
- public getFlowTemplate(
692
- args: GetFlowTemplateCommandInput,
693
- options: __HttpHandlerOptions,
694
- cb: (err: any, data?: GetFlowTemplateCommandOutput) => void
695
- ): void;
696
- public getFlowTemplate(
697
- args: GetFlowTemplateCommandInput,
698
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetFlowTemplateCommandOutput) => void),
699
- cb?: (err: any, data?: GetFlowTemplateCommandOutput) => void
700
- ): Promise<GetFlowTemplateCommandOutput> | void {
701
- const command = new GetFlowTemplateCommand(args);
702
- if (typeof optionsOrCb === "function") {
703
- this.send(command, optionsOrCb);
704
- } else if (typeof cb === "function") {
705
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
706
- this.send(command, optionsOrCb || {}, cb);
707
- } else {
708
- return this.send(command, optionsOrCb);
709
- }
710
- }
711
-
712
- /**
713
- * <p>Gets revisions of the specified workflow. Only the last 100 revisions are stored. If the workflow has been deprecated,
714
- * this action will return revisions that occurred before the deprecation. This action won't work for workflows that have been deleted.</p>
715
- */
716
- public getFlowTemplateRevisions(
717
- args: GetFlowTemplateRevisionsCommandInput,
718
- options?: __HttpHandlerOptions
719
- ): Promise<GetFlowTemplateRevisionsCommandOutput>;
720
- public getFlowTemplateRevisions(
721
- args: GetFlowTemplateRevisionsCommandInput,
722
- cb: (err: any, data?: GetFlowTemplateRevisionsCommandOutput) => void
723
- ): void;
724
- public getFlowTemplateRevisions(
725
- args: GetFlowTemplateRevisionsCommandInput,
726
- options: __HttpHandlerOptions,
727
- cb: (err: any, data?: GetFlowTemplateRevisionsCommandOutput) => void
728
- ): void;
729
- public getFlowTemplateRevisions(
730
- args: GetFlowTemplateRevisionsCommandInput,
731
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetFlowTemplateRevisionsCommandOutput) => void),
732
- cb?: (err: any, data?: GetFlowTemplateRevisionsCommandOutput) => void
733
- ): Promise<GetFlowTemplateRevisionsCommandOutput> | void {
734
- const command = new GetFlowTemplateRevisionsCommand(args);
735
- if (typeof optionsOrCb === "function") {
736
- this.send(command, optionsOrCb);
737
- } else if (typeof cb === "function") {
738
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
739
- this.send(command, optionsOrCb || {}, cb);
740
- } else {
741
- return this.send(command, optionsOrCb);
742
- }
743
- }
744
-
745
- /**
746
- * <p>Gets the status of a namespace deletion task.</p>
747
- */
748
- public getNamespaceDeletionStatus(
749
- args: GetNamespaceDeletionStatusCommandInput,
750
- options?: __HttpHandlerOptions
751
- ): Promise<GetNamespaceDeletionStatusCommandOutput>;
752
- public getNamespaceDeletionStatus(
753
- args: GetNamespaceDeletionStatusCommandInput,
754
- cb: (err: any, data?: GetNamespaceDeletionStatusCommandOutput) => void
755
- ): void;
756
- public getNamespaceDeletionStatus(
757
- args: GetNamespaceDeletionStatusCommandInput,
758
- options: __HttpHandlerOptions,
759
- cb: (err: any, data?: GetNamespaceDeletionStatusCommandOutput) => void
760
- ): void;
761
- public getNamespaceDeletionStatus(
762
- args: GetNamespaceDeletionStatusCommandInput,
763
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetNamespaceDeletionStatusCommandOutput) => void),
764
- cb?: (err: any, data?: GetNamespaceDeletionStatusCommandOutput) => void
765
- ): Promise<GetNamespaceDeletionStatusCommandOutput> | void {
766
- const command = new GetNamespaceDeletionStatusCommand(args);
767
- if (typeof optionsOrCb === "function") {
768
- this.send(command, optionsOrCb);
769
- } else if (typeof cb === "function") {
770
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
771
- this.send(command, optionsOrCb || {}, cb);
772
- } else {
773
- return this.send(command, optionsOrCb);
774
- }
775
- }
776
-
777
- /**
778
- * <p>Gets a system instance.</p>
779
- */
780
- public getSystemInstance(
781
- args: GetSystemInstanceCommandInput,
782
- options?: __HttpHandlerOptions
783
- ): Promise<GetSystemInstanceCommandOutput>;
784
- public getSystemInstance(
785
- args: GetSystemInstanceCommandInput,
786
- cb: (err: any, data?: GetSystemInstanceCommandOutput) => void
787
- ): void;
788
- public getSystemInstance(
789
- args: GetSystemInstanceCommandInput,
790
- options: __HttpHandlerOptions,
791
- cb: (err: any, data?: GetSystemInstanceCommandOutput) => void
792
- ): void;
793
- public getSystemInstance(
794
- args: GetSystemInstanceCommandInput,
795
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSystemInstanceCommandOutput) => void),
796
- cb?: (err: any, data?: GetSystemInstanceCommandOutput) => void
797
- ): Promise<GetSystemInstanceCommandOutput> | void {
798
- const command = new GetSystemInstanceCommand(args);
799
- if (typeof optionsOrCb === "function") {
800
- this.send(command, optionsOrCb);
801
- } else if (typeof cb === "function") {
802
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
803
- this.send(command, optionsOrCb || {}, cb);
804
- } else {
805
- return this.send(command, optionsOrCb);
806
- }
807
- }
808
-
809
- /**
810
- * <p>Gets a system.</p>
811
- */
812
- public getSystemTemplate(
813
- args: GetSystemTemplateCommandInput,
814
- options?: __HttpHandlerOptions
815
- ): Promise<GetSystemTemplateCommandOutput>;
816
- public getSystemTemplate(
817
- args: GetSystemTemplateCommandInput,
818
- cb: (err: any, data?: GetSystemTemplateCommandOutput) => void
819
- ): void;
820
- public getSystemTemplate(
821
- args: GetSystemTemplateCommandInput,
822
- options: __HttpHandlerOptions,
823
- cb: (err: any, data?: GetSystemTemplateCommandOutput) => void
824
- ): void;
825
- public getSystemTemplate(
826
- args: GetSystemTemplateCommandInput,
827
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSystemTemplateCommandOutput) => void),
828
- cb?: (err: any, data?: GetSystemTemplateCommandOutput) => void
829
- ): Promise<GetSystemTemplateCommandOutput> | void {
830
- const command = new GetSystemTemplateCommand(args);
831
- if (typeof optionsOrCb === "function") {
832
- this.send(command, optionsOrCb);
833
- } else if (typeof cb === "function") {
834
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
835
- this.send(command, optionsOrCb || {}, cb);
836
- } else {
837
- return this.send(command, optionsOrCb);
838
- }
839
- }
840
-
841
- /**
842
- * <p>Gets revisions made to the specified system template. Only the previous 100 revisions are stored. If the system has been deprecated, this action will return
843
- * the revisions that occurred before its deprecation. This action won't work with systems that have been deleted.</p>
844
- */
845
- public getSystemTemplateRevisions(
846
- args: GetSystemTemplateRevisionsCommandInput,
847
- options?: __HttpHandlerOptions
848
- ): Promise<GetSystemTemplateRevisionsCommandOutput>;
849
- public getSystemTemplateRevisions(
850
- args: GetSystemTemplateRevisionsCommandInput,
851
- cb: (err: any, data?: GetSystemTemplateRevisionsCommandOutput) => void
852
- ): void;
853
- public getSystemTemplateRevisions(
854
- args: GetSystemTemplateRevisionsCommandInput,
855
- options: __HttpHandlerOptions,
856
- cb: (err: any, data?: GetSystemTemplateRevisionsCommandOutput) => void
857
- ): void;
858
- public getSystemTemplateRevisions(
859
- args: GetSystemTemplateRevisionsCommandInput,
860
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSystemTemplateRevisionsCommandOutput) => void),
861
- cb?: (err: any, data?: GetSystemTemplateRevisionsCommandOutput) => void
862
- ): Promise<GetSystemTemplateRevisionsCommandOutput> | void {
863
- const command = new GetSystemTemplateRevisionsCommand(args);
864
- if (typeof optionsOrCb === "function") {
865
- this.send(command, optionsOrCb);
866
- } else if (typeof cb === "function") {
867
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
868
- this.send(command, optionsOrCb || {}, cb);
869
- } else {
870
- return this.send(command, optionsOrCb);
871
- }
872
- }
873
-
874
- /**
875
- * <p>Gets the status of the specified upload.</p>
876
- */
877
- public getUploadStatus(
878
- args: GetUploadStatusCommandInput,
879
- options?: __HttpHandlerOptions
880
- ): Promise<GetUploadStatusCommandOutput>;
881
- public getUploadStatus(
882
- args: GetUploadStatusCommandInput,
883
- cb: (err: any, data?: GetUploadStatusCommandOutput) => void
884
- ): void;
885
- public getUploadStatus(
886
- args: GetUploadStatusCommandInput,
887
- options: __HttpHandlerOptions,
888
- cb: (err: any, data?: GetUploadStatusCommandOutput) => void
889
- ): void;
890
- public getUploadStatus(
891
- args: GetUploadStatusCommandInput,
892
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetUploadStatusCommandOutput) => void),
893
- cb?: (err: any, data?: GetUploadStatusCommandOutput) => void
894
- ): Promise<GetUploadStatusCommandOutput> | void {
895
- const command = new GetUploadStatusCommand(args);
896
- if (typeof optionsOrCb === "function") {
897
- this.send(command, optionsOrCb);
898
- } else if (typeof cb === "function") {
899
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
900
- this.send(command, optionsOrCb || {}, cb);
901
- } else {
902
- return this.send(command, optionsOrCb);
903
- }
904
- }
905
-
906
- /**
907
- * <p>Returns a list of objects that contain information about events in a flow execution.</p>
908
- */
909
- public listFlowExecutionMessages(
910
- args: ListFlowExecutionMessagesCommandInput,
911
- options?: __HttpHandlerOptions
912
- ): Promise<ListFlowExecutionMessagesCommandOutput>;
913
- public listFlowExecutionMessages(
914
- args: ListFlowExecutionMessagesCommandInput,
915
- cb: (err: any, data?: ListFlowExecutionMessagesCommandOutput) => void
916
- ): void;
917
- public listFlowExecutionMessages(
918
- args: ListFlowExecutionMessagesCommandInput,
919
- options: __HttpHandlerOptions,
920
- cb: (err: any, data?: ListFlowExecutionMessagesCommandOutput) => void
921
- ): void;
922
- public listFlowExecutionMessages(
923
- args: ListFlowExecutionMessagesCommandInput,
924
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFlowExecutionMessagesCommandOutput) => void),
925
- cb?: (err: any, data?: ListFlowExecutionMessagesCommandOutput) => void
926
- ): Promise<ListFlowExecutionMessagesCommandOutput> | void {
927
- const command = new ListFlowExecutionMessagesCommand(args);
928
- if (typeof optionsOrCb === "function") {
929
- this.send(command, optionsOrCb);
930
- } else if (typeof cb === "function") {
931
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
932
- this.send(command, optionsOrCb || {}, cb);
933
- } else {
934
- return this.send(command, optionsOrCb);
935
- }
936
- }
937
-
938
- /**
939
- * <p>Lists all tags on an AWS IoT Things Graph resource.</p>
940
- */
941
- public listTagsForResource(
942
- args: ListTagsForResourceCommandInput,
943
- options?: __HttpHandlerOptions
944
- ): Promise<ListTagsForResourceCommandOutput>;
945
- public listTagsForResource(
946
- args: ListTagsForResourceCommandInput,
947
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
948
- ): void;
949
- public listTagsForResource(
950
- args: ListTagsForResourceCommandInput,
951
- options: __HttpHandlerOptions,
952
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
953
- ): void;
954
- public listTagsForResource(
955
- args: ListTagsForResourceCommandInput,
956
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
957
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
958
- ): Promise<ListTagsForResourceCommandOutput> | void {
959
- const command = new ListTagsForResourceCommand(args);
960
- if (typeof optionsOrCb === "function") {
961
- this.send(command, optionsOrCb);
962
- } else if (typeof cb === "function") {
963
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
964
- this.send(command, optionsOrCb || {}, cb);
965
- } else {
966
- return this.send(command, optionsOrCb);
967
- }
968
- }
969
-
970
- /**
971
- * <p>Searches for entities of the specified type. You can search for entities in your namespace and the public namespace that you're tracking.</p>
972
- */
973
- public searchEntities(
974
- args: SearchEntitiesCommandInput,
975
- options?: __HttpHandlerOptions
976
- ): Promise<SearchEntitiesCommandOutput>;
977
- public searchEntities(
978
- args: SearchEntitiesCommandInput,
979
- cb: (err: any, data?: SearchEntitiesCommandOutput) => void
980
- ): void;
981
- public searchEntities(
982
- args: SearchEntitiesCommandInput,
983
- options: __HttpHandlerOptions,
984
- cb: (err: any, data?: SearchEntitiesCommandOutput) => void
985
- ): void;
986
- public searchEntities(
987
- args: SearchEntitiesCommandInput,
988
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SearchEntitiesCommandOutput) => void),
989
- cb?: (err: any, data?: SearchEntitiesCommandOutput) => void
990
- ): Promise<SearchEntitiesCommandOutput> | void {
991
- const command = new SearchEntitiesCommand(args);
992
- if (typeof optionsOrCb === "function") {
993
- this.send(command, optionsOrCb);
994
- } else if (typeof cb === "function") {
995
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
996
- this.send(command, optionsOrCb || {}, cb);
997
- } else {
998
- return this.send(command, optionsOrCb);
999
- }
1000
- }
1001
-
1002
- /**
1003
- * <p>Searches for AWS IoT Things Graph workflow execution instances.</p>
1004
- */
1005
- public searchFlowExecutions(
1006
- args: SearchFlowExecutionsCommandInput,
1007
- options?: __HttpHandlerOptions
1008
- ): Promise<SearchFlowExecutionsCommandOutput>;
1009
- public searchFlowExecutions(
1010
- args: SearchFlowExecutionsCommandInput,
1011
- cb: (err: any, data?: SearchFlowExecutionsCommandOutput) => void
1012
- ): void;
1013
- public searchFlowExecutions(
1014
- args: SearchFlowExecutionsCommandInput,
1015
- options: __HttpHandlerOptions,
1016
- cb: (err: any, data?: SearchFlowExecutionsCommandOutput) => void
1017
- ): void;
1018
- public searchFlowExecutions(
1019
- args: SearchFlowExecutionsCommandInput,
1020
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SearchFlowExecutionsCommandOutput) => void),
1021
- cb?: (err: any, data?: SearchFlowExecutionsCommandOutput) => void
1022
- ): Promise<SearchFlowExecutionsCommandOutput> | void {
1023
- const command = new SearchFlowExecutionsCommand(args);
1024
- if (typeof optionsOrCb === "function") {
1025
- this.send(command, optionsOrCb);
1026
- } else if (typeof cb === "function") {
1027
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1028
- this.send(command, optionsOrCb || {}, cb);
1029
- } else {
1030
- return this.send(command, optionsOrCb);
1031
- }
1032
- }
1033
-
1034
- /**
1035
- * <p>Searches for summary information about workflows.</p>
1036
- */
1037
- public searchFlowTemplates(
1038
- args: SearchFlowTemplatesCommandInput,
1039
- options?: __HttpHandlerOptions
1040
- ): Promise<SearchFlowTemplatesCommandOutput>;
1041
- public searchFlowTemplates(
1042
- args: SearchFlowTemplatesCommandInput,
1043
- cb: (err: any, data?: SearchFlowTemplatesCommandOutput) => void
1044
- ): void;
1045
- public searchFlowTemplates(
1046
- args: SearchFlowTemplatesCommandInput,
1047
- options: __HttpHandlerOptions,
1048
- cb: (err: any, data?: SearchFlowTemplatesCommandOutput) => void
1049
- ): void;
1050
- public searchFlowTemplates(
1051
- args: SearchFlowTemplatesCommandInput,
1052
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SearchFlowTemplatesCommandOutput) => void),
1053
- cb?: (err: any, data?: SearchFlowTemplatesCommandOutput) => void
1054
- ): Promise<SearchFlowTemplatesCommandOutput> | void {
1055
- const command = new SearchFlowTemplatesCommand(args);
1056
- if (typeof optionsOrCb === "function") {
1057
- this.send(command, optionsOrCb);
1058
- } else if (typeof cb === "function") {
1059
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1060
- this.send(command, optionsOrCb || {}, cb);
1061
- } else {
1062
- return this.send(command, optionsOrCb);
1063
- }
1064
- }
1065
-
1066
- /**
1067
- * <p>Searches for system instances in the user's account.</p>
1068
- */
1069
- public searchSystemInstances(
1070
- args: SearchSystemInstancesCommandInput,
1071
- options?: __HttpHandlerOptions
1072
- ): Promise<SearchSystemInstancesCommandOutput>;
1073
- public searchSystemInstances(
1074
- args: SearchSystemInstancesCommandInput,
1075
- cb: (err: any, data?: SearchSystemInstancesCommandOutput) => void
1076
- ): void;
1077
- public searchSystemInstances(
1078
- args: SearchSystemInstancesCommandInput,
1079
- options: __HttpHandlerOptions,
1080
- cb: (err: any, data?: SearchSystemInstancesCommandOutput) => void
1081
- ): void;
1082
- public searchSystemInstances(
1083
- args: SearchSystemInstancesCommandInput,
1084
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SearchSystemInstancesCommandOutput) => void),
1085
- cb?: (err: any, data?: SearchSystemInstancesCommandOutput) => void
1086
- ): Promise<SearchSystemInstancesCommandOutput> | void {
1087
- const command = new SearchSystemInstancesCommand(args);
1088
- if (typeof optionsOrCb === "function") {
1089
- this.send(command, optionsOrCb);
1090
- } else if (typeof cb === "function") {
1091
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1092
- this.send(command, optionsOrCb || {}, cb);
1093
- } else {
1094
- return this.send(command, optionsOrCb);
1095
- }
1096
- }
1097
-
1098
- /**
1099
- * <p>Searches for summary information about systems in the user's account. You can filter by the ID of a workflow to return only systems that use the specified workflow.</p>
1100
- */
1101
- public searchSystemTemplates(
1102
- args: SearchSystemTemplatesCommandInput,
1103
- options?: __HttpHandlerOptions
1104
- ): Promise<SearchSystemTemplatesCommandOutput>;
1105
- public searchSystemTemplates(
1106
- args: SearchSystemTemplatesCommandInput,
1107
- cb: (err: any, data?: SearchSystemTemplatesCommandOutput) => void
1108
- ): void;
1109
- public searchSystemTemplates(
1110
- args: SearchSystemTemplatesCommandInput,
1111
- options: __HttpHandlerOptions,
1112
- cb: (err: any, data?: SearchSystemTemplatesCommandOutput) => void
1113
- ): void;
1114
- public searchSystemTemplates(
1115
- args: SearchSystemTemplatesCommandInput,
1116
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SearchSystemTemplatesCommandOutput) => void),
1117
- cb?: (err: any, data?: SearchSystemTemplatesCommandOutput) => void
1118
- ): Promise<SearchSystemTemplatesCommandOutput> | void {
1119
- const command = new SearchSystemTemplatesCommand(args);
1120
- if (typeof optionsOrCb === "function") {
1121
- this.send(command, optionsOrCb);
1122
- } else if (typeof cb === "function") {
1123
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1124
- this.send(command, optionsOrCb || {}, cb);
1125
- } else {
1126
- return this.send(command, optionsOrCb);
1127
- }
1128
- }
1129
-
1130
- /**
1131
- * <p>Searches for things associated with the specified entity. You can search by both device and device model.</p>
1132
- * <p>For example, if two different devices, camera1 and camera2, implement the camera device model, the user can associate thing1 to camera1 and thing2 to camera2.
1133
- * <code>SearchThings(camera2)</code> will return only thing2, but <code>SearchThings(camera)</code> will return both thing1 and thing2.</p>
1134
- * <p>This action searches for exact matches and doesn't perform partial text matching.</p>
1135
- */
1136
- public searchThings(
1137
- args: SearchThingsCommandInput,
1138
- options?: __HttpHandlerOptions
1139
- ): Promise<SearchThingsCommandOutput>;
1140
- public searchThings(args: SearchThingsCommandInput, cb: (err: any, data?: SearchThingsCommandOutput) => void): void;
1141
- public searchThings(
1142
- args: SearchThingsCommandInput,
1143
- options: __HttpHandlerOptions,
1144
- cb: (err: any, data?: SearchThingsCommandOutput) => void
1145
- ): void;
1146
- public searchThings(
1147
- args: SearchThingsCommandInput,
1148
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SearchThingsCommandOutput) => void),
1149
- cb?: (err: any, data?: SearchThingsCommandOutput) => void
1150
- ): Promise<SearchThingsCommandOutput> | void {
1151
- const command = new SearchThingsCommand(args);
1152
- if (typeof optionsOrCb === "function") {
1153
- this.send(command, optionsOrCb);
1154
- } else if (typeof cb === "function") {
1155
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1156
- this.send(command, optionsOrCb || {}, cb);
1157
- } else {
1158
- return this.send(command, optionsOrCb);
1159
- }
1160
- }
1161
-
1162
- /**
1163
- * <p>Creates a tag for the specified resource.</p>
1164
- */
1165
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
1166
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1167
- public tagResource(
1168
- args: TagResourceCommandInput,
1169
- options: __HttpHandlerOptions,
1170
- cb: (err: any, data?: TagResourceCommandOutput) => void
1171
- ): void;
1172
- public tagResource(
1173
- args: TagResourceCommandInput,
1174
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
1175
- cb?: (err: any, data?: TagResourceCommandOutput) => void
1176
- ): Promise<TagResourceCommandOutput> | void {
1177
- const command = new TagResourceCommand(args);
1178
- if (typeof optionsOrCb === "function") {
1179
- this.send(command, optionsOrCb);
1180
- } else if (typeof cb === "function") {
1181
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1182
- this.send(command, optionsOrCb || {}, cb);
1183
- } else {
1184
- return this.send(command, optionsOrCb);
1185
- }
1186
- }
1187
-
1188
- /**
1189
- * <p>Removes a system instance from its target (Cloud or Greengrass).</p>
1190
- */
1191
- public undeploySystemInstance(
1192
- args: UndeploySystemInstanceCommandInput,
1193
- options?: __HttpHandlerOptions
1194
- ): Promise<UndeploySystemInstanceCommandOutput>;
1195
- public undeploySystemInstance(
1196
- args: UndeploySystemInstanceCommandInput,
1197
- cb: (err: any, data?: UndeploySystemInstanceCommandOutput) => void
1198
- ): void;
1199
- public undeploySystemInstance(
1200
- args: UndeploySystemInstanceCommandInput,
1201
- options: __HttpHandlerOptions,
1202
- cb: (err: any, data?: UndeploySystemInstanceCommandOutput) => void
1203
- ): void;
1204
- public undeploySystemInstance(
1205
- args: UndeploySystemInstanceCommandInput,
1206
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UndeploySystemInstanceCommandOutput) => void),
1207
- cb?: (err: any, data?: UndeploySystemInstanceCommandOutput) => void
1208
- ): Promise<UndeploySystemInstanceCommandOutput> | void {
1209
- const command = new UndeploySystemInstanceCommand(args);
1210
- if (typeof optionsOrCb === "function") {
1211
- this.send(command, optionsOrCb);
1212
- } else if (typeof cb === "function") {
1213
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1214
- this.send(command, optionsOrCb || {}, cb);
1215
- } else {
1216
- return this.send(command, optionsOrCb);
1217
- }
1218
- }
1219
-
1220
- /**
1221
- * <p>Removes a tag from the specified resource.</p>
1222
- */
1223
- public untagResource(
1224
- args: UntagResourceCommandInput,
1225
- options?: __HttpHandlerOptions
1226
- ): Promise<UntagResourceCommandOutput>;
1227
- public untagResource(
1228
- args: UntagResourceCommandInput,
1229
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1230
- ): void;
1231
- public untagResource(
1232
- args: UntagResourceCommandInput,
1233
- options: __HttpHandlerOptions,
1234
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1235
- ): void;
1236
- public untagResource(
1237
- args: UntagResourceCommandInput,
1238
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
1239
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
1240
- ): Promise<UntagResourceCommandOutput> | void {
1241
- const command = new UntagResourceCommand(args);
1242
- if (typeof optionsOrCb === "function") {
1243
- this.send(command, optionsOrCb);
1244
- } else if (typeof cb === "function") {
1245
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1246
- this.send(command, optionsOrCb || {}, cb);
1247
- } else {
1248
- return this.send(command, optionsOrCb);
1249
- }
1250
- }
1251
-
1252
- /**
1253
- * <p>Updates the specified workflow. All deployed systems and system instances that use the workflow will see the changes in the flow when it is redeployed. If you don't want this
1254
- * behavior, copy the workflow (creating a new workflow with a different ID), and update the copy. The workflow can contain only entities in the specified namespace. </p>
1255
- */
1256
- public updateFlowTemplate(
1257
- args: UpdateFlowTemplateCommandInput,
1258
- options?: __HttpHandlerOptions
1259
- ): Promise<UpdateFlowTemplateCommandOutput>;
1260
- public updateFlowTemplate(
1261
- args: UpdateFlowTemplateCommandInput,
1262
- cb: (err: any, data?: UpdateFlowTemplateCommandOutput) => void
1263
- ): void;
1264
- public updateFlowTemplate(
1265
- args: UpdateFlowTemplateCommandInput,
1266
- options: __HttpHandlerOptions,
1267
- cb: (err: any, data?: UpdateFlowTemplateCommandOutput) => void
1268
- ): void;
1269
- public updateFlowTemplate(
1270
- args: UpdateFlowTemplateCommandInput,
1271
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFlowTemplateCommandOutput) => void),
1272
- cb?: (err: any, data?: UpdateFlowTemplateCommandOutput) => void
1273
- ): Promise<UpdateFlowTemplateCommandOutput> | void {
1274
- const command = new UpdateFlowTemplateCommand(args);
1275
- if (typeof optionsOrCb === "function") {
1276
- this.send(command, optionsOrCb);
1277
- } else if (typeof cb === "function") {
1278
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1279
- this.send(command, optionsOrCb || {}, cb);
1280
- } else {
1281
- return this.send(command, optionsOrCb);
1282
- }
1283
- }
1284
-
1285
- /**
1286
- * <p>Updates the specified system. You don't need to run this action after updating a workflow. Any deployment that uses the system will see the changes in the system when it is redeployed.</p>
1287
- */
1288
- public updateSystemTemplate(
1289
- args: UpdateSystemTemplateCommandInput,
1290
- options?: __HttpHandlerOptions
1291
- ): Promise<UpdateSystemTemplateCommandOutput>;
1292
- public updateSystemTemplate(
1293
- args: UpdateSystemTemplateCommandInput,
1294
- cb: (err: any, data?: UpdateSystemTemplateCommandOutput) => void
1295
- ): void;
1296
- public updateSystemTemplate(
1297
- args: UpdateSystemTemplateCommandInput,
1298
- options: __HttpHandlerOptions,
1299
- cb: (err: any, data?: UpdateSystemTemplateCommandOutput) => void
1300
- ): void;
1301
- public updateSystemTemplate(
1302
- args: UpdateSystemTemplateCommandInput,
1303
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateSystemTemplateCommandOutput) => void),
1304
- cb?: (err: any, data?: UpdateSystemTemplateCommandOutput) => void
1305
- ): Promise<UpdateSystemTemplateCommandOutput> | void {
1306
- const command = new UpdateSystemTemplateCommand(args);
1307
- if (typeof optionsOrCb === "function") {
1308
- this.send(command, optionsOrCb);
1309
- } else if (typeof cb === "function") {
1310
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1311
- this.send(command, optionsOrCb || {}, cb);
1312
- } else {
1313
- return this.send(command, optionsOrCb);
1314
- }
1315
- }
1316
-
1317
- /**
1318
- * <p>Asynchronously uploads one or more entity definitions to the user's namespace. The <code>document</code> parameter is required if
1319
- * <code>syncWithPublicNamespace</code> and <code>deleteExistingEntites</code> are false. If the <code>syncWithPublicNamespace</code> parameter is set to
1320
- * <code>true</code>, the user's namespace will synchronize with the latest version of the public namespace. If <code>deprecateExistingEntities</code> is set to true,
1321
- * all entities in the latest version will be deleted before the new <code>DefinitionDocument</code> is uploaded.</p>
1322
- * <p>When a user uploads entity definitions for the first time, the service creates a new namespace for the user. The new namespace tracks the public namespace. Currently users
1323
- * can have only one namespace. The namespace version increments whenever a user uploads entity definitions that are backwards-incompatible and whenever a user sets the
1324
- * <code>syncWithPublicNamespace</code> parameter or the <code>deprecateExistingEntities</code> parameter to <code>true</code>.</p>
1325
- * <p>The IDs for all of the entities should be in URN format. Each entity must be in the user's namespace. Users can't create entities in the public namespace, but entity definitions can refer to entities in the public namespace.</p>
1326
- * <p>Valid entities are <code>Device</code>, <code>DeviceModel</code>, <code>Service</code>, <code>Capability</code>, <code>State</code>, <code>Action</code>, <code>Event</code>, <code>Property</code>,
1327
- * <code>Mapping</code>, <code>Enum</code>.
1328
- * </p>
1329
- */
1330
- public uploadEntityDefinitions(
1331
- args: UploadEntityDefinitionsCommandInput,
1332
- options?: __HttpHandlerOptions
1333
- ): Promise<UploadEntityDefinitionsCommandOutput>;
1334
- public uploadEntityDefinitions(
1335
- args: UploadEntityDefinitionsCommandInput,
1336
- cb: (err: any, data?: UploadEntityDefinitionsCommandOutput) => void
1337
- ): void;
1338
- public uploadEntityDefinitions(
1339
- args: UploadEntityDefinitionsCommandInput,
1340
- options: __HttpHandlerOptions,
1341
- cb: (err: any, data?: UploadEntityDefinitionsCommandOutput) => void
1342
- ): void;
1343
- public uploadEntityDefinitions(
1344
- args: UploadEntityDefinitionsCommandInput,
1345
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UploadEntityDefinitionsCommandOutput) => void),
1346
- cb?: (err: any, data?: UploadEntityDefinitionsCommandOutput) => void
1347
- ): Promise<UploadEntityDefinitionsCommandOutput> | void {
1348
- const command = new UploadEntityDefinitionsCommand(args);
1349
- if (typeof optionsOrCb === "function") {
1350
- this.send(command, optionsOrCb);
1351
- } else if (typeof cb === "function") {
1352
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1353
- this.send(command, optionsOrCb || {}, cb);
1354
- } else {
1355
- return this.send(command, optionsOrCb);
1356
- }
1357
- }
1358
- }