@aws-sdk/client-iotthingsgraph 3.35.0 → 3.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (343) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/IoTThingsGraph.js +0 -8
  3. package/dist-cjs/IoTThingsGraphClient.js +0 -13
  4. package/dist-cjs/commands/AssociateEntityToThingCommand.js +0 -26
  5. package/dist-cjs/commands/CreateFlowTemplateCommand.js +0 -27
  6. package/dist-cjs/commands/CreateSystemInstanceCommand.js +0 -33
  7. package/dist-cjs/commands/CreateSystemTemplateCommand.js +0 -26
  8. package/dist-cjs/commands/DeleteFlowTemplateCommand.js +0 -26
  9. package/dist-cjs/commands/DeleteNamespaceCommand.js +0 -25
  10. package/dist-cjs/commands/DeleteSystemInstanceCommand.js +0 -27
  11. package/dist-cjs/commands/DeleteSystemTemplateCommand.js +0 -26
  12. package/dist-cjs/commands/DeploySystemInstanceCommand.js +0 -36
  13. package/dist-cjs/commands/DeprecateFlowTemplateCommand.js +0 -25
  14. package/dist-cjs/commands/DeprecateSystemTemplateCommand.js +0 -25
  15. package/dist-cjs/commands/DescribeNamespaceCommand.js +0 -25
  16. package/dist-cjs/commands/DissociateEntityFromThingCommand.js +0 -26
  17. package/dist-cjs/commands/GetEntitiesCommand.js +0 -56
  18. package/dist-cjs/commands/GetFlowTemplateCommand.js +0 -25
  19. package/dist-cjs/commands/GetFlowTemplateRevisionsCommand.js +0 -26
  20. package/dist-cjs/commands/GetNamespaceDeletionStatusCommand.js +0 -25
  21. package/dist-cjs/commands/GetSystemInstanceCommand.js +0 -25
  22. package/dist-cjs/commands/GetSystemTemplateCommand.js +0 -25
  23. package/dist-cjs/commands/GetSystemTemplateRevisionsCommand.js +0 -26
  24. package/dist-cjs/commands/GetUploadStatusCommand.js +0 -25
  25. package/dist-cjs/commands/ListFlowExecutionMessagesCommand.js +0 -25
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  27. package/dist-cjs/commands/SearchEntitiesCommand.js +0 -25
  28. package/dist-cjs/commands/SearchFlowExecutionsCommand.js +0 -25
  29. package/dist-cjs/commands/SearchFlowTemplatesCommand.js +0 -25
  30. package/dist-cjs/commands/SearchSystemInstancesCommand.js +0 -25
  31. package/dist-cjs/commands/SearchSystemTemplatesCommand.js +0 -25
  32. package/dist-cjs/commands/SearchThingsCommand.js +0 -28
  33. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  34. package/dist-cjs/commands/UndeploySystemInstanceCommand.js +0 -25
  35. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  36. package/dist-cjs/commands/UpdateFlowTemplateCommand.js +0 -26
  37. package/dist-cjs/commands/UpdateSystemTemplateCommand.js +0 -25
  38. package/dist-cjs/commands/UploadEntityDefinitionsCommand.js +0 -35
  39. package/dist-cjs/commands/index.js +38 -0
  40. package/dist-cjs/endpoints.js +1 -2
  41. package/dist-cjs/index.js +4 -49
  42. package/dist-cjs/models/index.js +0 -1
  43. package/dist-cjs/models/models_0.js +0 -286
  44. package/dist-cjs/pagination/GetFlowTemplateRevisionsPaginator.js +0 -11
  45. package/dist-cjs/pagination/GetSystemTemplateRevisionsPaginator.js +0 -11
  46. package/dist-cjs/pagination/Interfaces.js +0 -1
  47. package/dist-cjs/pagination/ListFlowExecutionMessagesPaginator.js +0 -11
  48. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -11
  49. package/dist-cjs/pagination/SearchEntitiesPaginator.js +0 -11
  50. package/dist-cjs/pagination/SearchFlowExecutionsPaginator.js +0 -11
  51. package/dist-cjs/pagination/SearchFlowTemplatesPaginator.js +0 -11
  52. package/dist-cjs/pagination/SearchSystemInstancesPaginator.js +0 -11
  53. package/dist-cjs/pagination/SearchSystemTemplatesPaginator.js +0 -11
  54. package/dist-cjs/pagination/SearchThingsPaginator.js +0 -11
  55. package/dist-cjs/pagination/index.js +14 -0
  56. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  57. package/dist-cjs/runtimeConfig.browser.js +1 -6
  58. package/dist-cjs/runtimeConfig.js +2 -7
  59. package/dist-cjs/runtimeConfig.native.js +0 -4
  60. package/dist-cjs/runtimeConfig.shared.js +0 -4
  61. package/dist-es/IoTThingsGraph.js +0 -1
  62. package/dist-es/IoTThingsGraphClient.js +0 -1
  63. package/dist-es/commands/AssociateEntityToThingCommand.js +0 -1
  64. package/dist-es/commands/CreateFlowTemplateCommand.js +0 -1
  65. package/dist-es/commands/CreateSystemInstanceCommand.js +0 -1
  66. package/dist-es/commands/CreateSystemTemplateCommand.js +0 -1
  67. package/dist-es/commands/DeleteFlowTemplateCommand.js +0 -1
  68. package/dist-es/commands/DeleteNamespaceCommand.js +0 -1
  69. package/dist-es/commands/DeleteSystemInstanceCommand.js +0 -1
  70. package/dist-es/commands/DeleteSystemTemplateCommand.js +0 -1
  71. package/dist-es/commands/DeploySystemInstanceCommand.js +0 -1
  72. package/dist-es/commands/DeprecateFlowTemplateCommand.js +0 -1
  73. package/dist-es/commands/DeprecateSystemTemplateCommand.js +0 -1
  74. package/dist-es/commands/DescribeNamespaceCommand.js +0 -1
  75. package/dist-es/commands/DissociateEntityFromThingCommand.js +0 -1
  76. package/dist-es/commands/GetEntitiesCommand.js +0 -1
  77. package/dist-es/commands/GetFlowTemplateCommand.js +0 -1
  78. package/dist-es/commands/GetFlowTemplateRevisionsCommand.js +0 -1
  79. package/dist-es/commands/GetNamespaceDeletionStatusCommand.js +0 -1
  80. package/dist-es/commands/GetSystemInstanceCommand.js +0 -1
  81. package/dist-es/commands/GetSystemTemplateCommand.js +0 -1
  82. package/dist-es/commands/GetSystemTemplateRevisionsCommand.js +0 -1
  83. package/dist-es/commands/GetUploadStatusCommand.js +0 -1
  84. package/dist-es/commands/ListFlowExecutionMessagesCommand.js +0 -1
  85. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  86. package/dist-es/commands/SearchEntitiesCommand.js +0 -1
  87. package/dist-es/commands/SearchFlowExecutionsCommand.js +0 -1
  88. package/dist-es/commands/SearchFlowTemplatesCommand.js +0 -1
  89. package/dist-es/commands/SearchSystemInstancesCommand.js +0 -1
  90. package/dist-es/commands/SearchSystemTemplatesCommand.js +0 -1
  91. package/dist-es/commands/SearchThingsCommand.js +0 -1
  92. package/dist-es/commands/TagResourceCommand.js +0 -1
  93. package/dist-es/commands/UndeploySystemInstanceCommand.js +0 -1
  94. package/dist-es/commands/UntagResourceCommand.js +0 -1
  95. package/dist-es/commands/UpdateFlowTemplateCommand.js +0 -1
  96. package/dist-es/commands/UpdateSystemTemplateCommand.js +0 -1
  97. package/dist-es/commands/UploadEntityDefinitionsCommand.js +0 -1
  98. package/dist-es/commands/index.js +35 -0
  99. package/dist-es/endpoints.js +1 -2
  100. package/dist-es/index.js +4 -49
  101. package/dist-es/models/index.js +0 -1
  102. package/dist-es/models/models_0.js +0 -1
  103. package/dist-es/pagination/GetFlowTemplateRevisionsPaginator.js +0 -1
  104. package/dist-es/pagination/GetSystemTemplateRevisionsPaginator.js +0 -1
  105. package/dist-es/pagination/Interfaces.js +0 -1
  106. package/dist-es/pagination/ListFlowExecutionMessagesPaginator.js +0 -1
  107. package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
  108. package/dist-es/pagination/SearchEntitiesPaginator.js +0 -1
  109. package/dist-es/pagination/SearchFlowExecutionsPaginator.js +0 -1
  110. package/dist-es/pagination/SearchFlowTemplatesPaginator.js +0 -1
  111. package/dist-es/pagination/SearchSystemInstancesPaginator.js +0 -1
  112. package/dist-es/pagination/SearchSystemTemplatesPaginator.js +0 -1
  113. package/dist-es/pagination/SearchThingsPaginator.js +0 -1
  114. package/dist-es/pagination/index.js +11 -0
  115. package/dist-es/protocols/Aws_json1_1.js +0 -1
  116. package/dist-es/runtimeConfig.browser.js +1 -2
  117. package/dist-es/runtimeConfig.js +2 -3
  118. package/dist-es/runtimeConfig.native.js +0 -1
  119. package/dist-es/runtimeConfig.shared.js +0 -1
  120. package/dist-types/commands/index.d.ts +35 -0
  121. package/dist-types/index.d.ts +4 -48
  122. package/dist-types/pagination/index.d.ts +11 -0
  123. package/dist-types/ts3.4/IoTThingsGraph.d.ts +36 -187
  124. package/dist-types/ts3.4/IoTThingsGraphClient.d.ts +24 -93
  125. package/dist-types/ts3.4/commands/AssociateEntityToThingCommand.d.ts +2 -21
  126. package/dist-types/ts3.4/commands/CreateFlowTemplateCommand.d.ts +2 -22
  127. package/dist-types/ts3.4/commands/CreateSystemInstanceCommand.d.ts +2 -28
  128. package/dist-types/ts3.4/commands/CreateSystemTemplateCommand.d.ts +2 -21
  129. package/dist-types/ts3.4/commands/DeleteFlowTemplateCommand.d.ts +2 -21
  130. package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/DeleteSystemInstanceCommand.d.ts +2 -22
  132. package/dist-types/ts3.4/commands/DeleteSystemTemplateCommand.d.ts +2 -21
  133. package/dist-types/ts3.4/commands/DeploySystemInstanceCommand.d.ts +2 -31
  134. package/dist-types/ts3.4/commands/DeprecateFlowTemplateCommand.d.ts +2 -20
  135. package/dist-types/ts3.4/commands/DeprecateSystemTemplateCommand.d.ts +2 -20
  136. package/dist-types/ts3.4/commands/DescribeNamespaceCommand.d.ts +2 -20
  137. package/dist-types/ts3.4/commands/DissociateEntityFromThingCommand.d.ts +2 -21
  138. package/dist-types/ts3.4/commands/GetEntitiesCommand.d.ts +2 -51
  139. package/dist-types/ts3.4/commands/GetFlowTemplateCommand.d.ts +2 -20
  140. package/dist-types/ts3.4/commands/GetFlowTemplateRevisionsCommand.d.ts +2 -21
  141. package/dist-types/ts3.4/commands/GetNamespaceDeletionStatusCommand.d.ts +2 -20
  142. package/dist-types/ts3.4/commands/GetSystemInstanceCommand.d.ts +2 -20
  143. package/dist-types/ts3.4/commands/GetSystemTemplateCommand.d.ts +2 -20
  144. package/dist-types/ts3.4/commands/GetSystemTemplateRevisionsCommand.d.ts +2 -21
  145. package/dist-types/ts3.4/commands/GetUploadStatusCommand.d.ts +2 -20
  146. package/dist-types/ts3.4/commands/ListFlowExecutionMessagesCommand.d.ts +2 -20
  147. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  148. package/dist-types/ts3.4/commands/SearchEntitiesCommand.d.ts +2 -20
  149. package/dist-types/ts3.4/commands/SearchFlowExecutionsCommand.d.ts +2 -20
  150. package/dist-types/ts3.4/commands/SearchFlowTemplatesCommand.d.ts +2 -20
  151. package/dist-types/ts3.4/commands/SearchSystemInstancesCommand.d.ts +2 -20
  152. package/dist-types/ts3.4/commands/SearchSystemTemplatesCommand.d.ts +2 -20
  153. package/dist-types/ts3.4/commands/SearchThingsCommand.d.ts +2 -23
  154. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  155. package/dist-types/ts3.4/commands/UndeploySystemInstanceCommand.d.ts +2 -20
  156. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  157. package/dist-types/ts3.4/commands/UpdateFlowTemplateCommand.d.ts +2 -21
  158. package/dist-types/ts3.4/commands/UpdateSystemTemplateCommand.d.ts +2 -20
  159. package/dist-types/ts3.4/commands/UploadEntityDefinitionsCommand.d.ts +2 -30
  160. package/dist-types/ts3.4/commands/index.d.ts +35 -0
  161. package/dist-types/ts3.4/index.d.ts +4 -48
  162. package/dist-types/ts3.4/models/models_0.d.ts +316 -1034
  163. package/dist-types/ts3.4/pagination/index.d.ts +11 -0
  164. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  165. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  166. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  167. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  168. package/package.json +33 -30
  169. package/dist-cjs/IoTThingsGraph.js.map +0 -1
  170. package/dist-cjs/IoTThingsGraphClient.js.map +0 -1
  171. package/dist-cjs/commands/AssociateEntityToThingCommand.js.map +0 -1
  172. package/dist-cjs/commands/CreateFlowTemplateCommand.js.map +0 -1
  173. package/dist-cjs/commands/CreateSystemInstanceCommand.js.map +0 -1
  174. package/dist-cjs/commands/CreateSystemTemplateCommand.js.map +0 -1
  175. package/dist-cjs/commands/DeleteFlowTemplateCommand.js.map +0 -1
  176. package/dist-cjs/commands/DeleteNamespaceCommand.js.map +0 -1
  177. package/dist-cjs/commands/DeleteSystemInstanceCommand.js.map +0 -1
  178. package/dist-cjs/commands/DeleteSystemTemplateCommand.js.map +0 -1
  179. package/dist-cjs/commands/DeploySystemInstanceCommand.js.map +0 -1
  180. package/dist-cjs/commands/DeprecateFlowTemplateCommand.js.map +0 -1
  181. package/dist-cjs/commands/DeprecateSystemTemplateCommand.js.map +0 -1
  182. package/dist-cjs/commands/DescribeNamespaceCommand.js.map +0 -1
  183. package/dist-cjs/commands/DissociateEntityFromThingCommand.js.map +0 -1
  184. package/dist-cjs/commands/GetEntitiesCommand.js.map +0 -1
  185. package/dist-cjs/commands/GetFlowTemplateCommand.js.map +0 -1
  186. package/dist-cjs/commands/GetFlowTemplateRevisionsCommand.js.map +0 -1
  187. package/dist-cjs/commands/GetNamespaceDeletionStatusCommand.js.map +0 -1
  188. package/dist-cjs/commands/GetSystemInstanceCommand.js.map +0 -1
  189. package/dist-cjs/commands/GetSystemTemplateCommand.js.map +0 -1
  190. package/dist-cjs/commands/GetSystemTemplateRevisionsCommand.js.map +0 -1
  191. package/dist-cjs/commands/GetUploadStatusCommand.js.map +0 -1
  192. package/dist-cjs/commands/ListFlowExecutionMessagesCommand.js.map +0 -1
  193. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  194. package/dist-cjs/commands/SearchEntitiesCommand.js.map +0 -1
  195. package/dist-cjs/commands/SearchFlowExecutionsCommand.js.map +0 -1
  196. package/dist-cjs/commands/SearchFlowTemplatesCommand.js.map +0 -1
  197. package/dist-cjs/commands/SearchSystemInstancesCommand.js.map +0 -1
  198. package/dist-cjs/commands/SearchSystemTemplatesCommand.js.map +0 -1
  199. package/dist-cjs/commands/SearchThingsCommand.js.map +0 -1
  200. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  201. package/dist-cjs/commands/UndeploySystemInstanceCommand.js.map +0 -1
  202. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  203. package/dist-cjs/commands/UpdateFlowTemplateCommand.js.map +0 -1
  204. package/dist-cjs/commands/UpdateSystemTemplateCommand.js.map +0 -1
  205. package/dist-cjs/commands/UploadEntityDefinitionsCommand.js.map +0 -1
  206. package/dist-cjs/endpoints.js.map +0 -1
  207. package/dist-cjs/index.js.map +0 -1
  208. package/dist-cjs/models/index.js.map +0 -1
  209. package/dist-cjs/models/models_0.js.map +0 -1
  210. package/dist-cjs/pagination/GetFlowTemplateRevisionsPaginator.js.map +0 -1
  211. package/dist-cjs/pagination/GetSystemTemplateRevisionsPaginator.js.map +0 -1
  212. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  213. package/dist-cjs/pagination/ListFlowExecutionMessagesPaginator.js.map +0 -1
  214. package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  215. package/dist-cjs/pagination/SearchEntitiesPaginator.js.map +0 -1
  216. package/dist-cjs/pagination/SearchFlowExecutionsPaginator.js.map +0 -1
  217. package/dist-cjs/pagination/SearchFlowTemplatesPaginator.js.map +0 -1
  218. package/dist-cjs/pagination/SearchSystemInstancesPaginator.js.map +0 -1
  219. package/dist-cjs/pagination/SearchSystemTemplatesPaginator.js.map +0 -1
  220. package/dist-cjs/pagination/SearchThingsPaginator.js.map +0 -1
  221. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  222. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  223. package/dist-cjs/runtimeConfig.js.map +0 -1
  224. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  225. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  226. package/dist-es/IoTThingsGraph.js.map +0 -1
  227. package/dist-es/IoTThingsGraphClient.js.map +0 -1
  228. package/dist-es/commands/AssociateEntityToThingCommand.js.map +0 -1
  229. package/dist-es/commands/CreateFlowTemplateCommand.js.map +0 -1
  230. package/dist-es/commands/CreateSystemInstanceCommand.js.map +0 -1
  231. package/dist-es/commands/CreateSystemTemplateCommand.js.map +0 -1
  232. package/dist-es/commands/DeleteFlowTemplateCommand.js.map +0 -1
  233. package/dist-es/commands/DeleteNamespaceCommand.js.map +0 -1
  234. package/dist-es/commands/DeleteSystemInstanceCommand.js.map +0 -1
  235. package/dist-es/commands/DeleteSystemTemplateCommand.js.map +0 -1
  236. package/dist-es/commands/DeploySystemInstanceCommand.js.map +0 -1
  237. package/dist-es/commands/DeprecateFlowTemplateCommand.js.map +0 -1
  238. package/dist-es/commands/DeprecateSystemTemplateCommand.js.map +0 -1
  239. package/dist-es/commands/DescribeNamespaceCommand.js.map +0 -1
  240. package/dist-es/commands/DissociateEntityFromThingCommand.js.map +0 -1
  241. package/dist-es/commands/GetEntitiesCommand.js.map +0 -1
  242. package/dist-es/commands/GetFlowTemplateCommand.js.map +0 -1
  243. package/dist-es/commands/GetFlowTemplateRevisionsCommand.js.map +0 -1
  244. package/dist-es/commands/GetNamespaceDeletionStatusCommand.js.map +0 -1
  245. package/dist-es/commands/GetSystemInstanceCommand.js.map +0 -1
  246. package/dist-es/commands/GetSystemTemplateCommand.js.map +0 -1
  247. package/dist-es/commands/GetSystemTemplateRevisionsCommand.js.map +0 -1
  248. package/dist-es/commands/GetUploadStatusCommand.js.map +0 -1
  249. package/dist-es/commands/ListFlowExecutionMessagesCommand.js.map +0 -1
  250. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  251. package/dist-es/commands/SearchEntitiesCommand.js.map +0 -1
  252. package/dist-es/commands/SearchFlowExecutionsCommand.js.map +0 -1
  253. package/dist-es/commands/SearchFlowTemplatesCommand.js.map +0 -1
  254. package/dist-es/commands/SearchSystemInstancesCommand.js.map +0 -1
  255. package/dist-es/commands/SearchSystemTemplatesCommand.js.map +0 -1
  256. package/dist-es/commands/SearchThingsCommand.js.map +0 -1
  257. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  258. package/dist-es/commands/UndeploySystemInstanceCommand.js.map +0 -1
  259. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  260. package/dist-es/commands/UpdateFlowTemplateCommand.js.map +0 -1
  261. package/dist-es/commands/UpdateSystemTemplateCommand.js.map +0 -1
  262. package/dist-es/commands/UploadEntityDefinitionsCommand.js.map +0 -1
  263. package/dist-es/endpoints.js.map +0 -1
  264. package/dist-es/index.js.map +0 -1
  265. package/dist-es/models/index.js.map +0 -1
  266. package/dist-es/models/models_0.js.map +0 -1
  267. package/dist-es/pagination/GetFlowTemplateRevisionsPaginator.js.map +0 -1
  268. package/dist-es/pagination/GetSystemTemplateRevisionsPaginator.js.map +0 -1
  269. package/dist-es/pagination/Interfaces.js.map +0 -1
  270. package/dist-es/pagination/ListFlowExecutionMessagesPaginator.js.map +0 -1
  271. package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  272. package/dist-es/pagination/SearchEntitiesPaginator.js.map +0 -1
  273. package/dist-es/pagination/SearchFlowExecutionsPaginator.js.map +0 -1
  274. package/dist-es/pagination/SearchFlowTemplatesPaginator.js.map +0 -1
  275. package/dist-es/pagination/SearchSystemInstancesPaginator.js.map +0 -1
  276. package/dist-es/pagination/SearchSystemTemplatesPaginator.js.map +0 -1
  277. package/dist-es/pagination/SearchThingsPaginator.js.map +0 -1
  278. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  279. package/dist-es/runtimeConfig.browser.js.map +0 -1
  280. package/dist-es/runtimeConfig.js.map +0 -1
  281. package/dist-es/runtimeConfig.native.js.map +0 -1
  282. package/dist-es/runtimeConfig.shared.js.map +0 -1
  283. package/jest.config.js +0 -4
  284. package/src/IoTThingsGraph.ts +0 -1359
  285. package/src/IoTThingsGraphClient.ts +0 -408
  286. package/src/commands/AssociateEntityToThingCommand.ts +0 -96
  287. package/src/commands/CreateFlowTemplateCommand.ts +0 -97
  288. package/src/commands/CreateSystemInstanceCommand.ts +0 -103
  289. package/src/commands/CreateSystemTemplateCommand.ts +0 -96
  290. package/src/commands/DeleteFlowTemplateCommand.ts +0 -96
  291. package/src/commands/DeleteNamespaceCommand.ts +0 -95
  292. package/src/commands/DeleteSystemInstanceCommand.ts +0 -97
  293. package/src/commands/DeleteSystemTemplateCommand.ts +0 -96
  294. package/src/commands/DeploySystemInstanceCommand.ts +0 -106
  295. package/src/commands/DeprecateFlowTemplateCommand.ts +0 -95
  296. package/src/commands/DeprecateSystemTemplateCommand.ts +0 -95
  297. package/src/commands/DescribeNamespaceCommand.ts +0 -95
  298. package/src/commands/DissociateEntityFromThingCommand.ts +0 -99
  299. package/src/commands/GetEntitiesCommand.ts +0 -126
  300. package/src/commands/GetFlowTemplateCommand.ts +0 -95
  301. package/src/commands/GetFlowTemplateRevisionsCommand.ts +0 -96
  302. package/src/commands/GetNamespaceDeletionStatusCommand.ts +0 -98
  303. package/src/commands/GetSystemInstanceCommand.ts +0 -95
  304. package/src/commands/GetSystemTemplateCommand.ts +0 -95
  305. package/src/commands/GetSystemTemplateRevisionsCommand.ts +0 -99
  306. package/src/commands/GetUploadStatusCommand.ts +0 -95
  307. package/src/commands/ListFlowExecutionMessagesCommand.ts +0 -98
  308. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  309. package/src/commands/SearchEntitiesCommand.ts +0 -95
  310. package/src/commands/SearchFlowExecutionsCommand.ts +0 -95
  311. package/src/commands/SearchFlowTemplatesCommand.ts +0 -95
  312. package/src/commands/SearchSystemInstancesCommand.ts +0 -95
  313. package/src/commands/SearchSystemTemplatesCommand.ts +0 -95
  314. package/src/commands/SearchThingsCommand.ts +0 -98
  315. package/src/commands/TagResourceCommand.ts +0 -95
  316. package/src/commands/UndeploySystemInstanceCommand.ts +0 -95
  317. package/src/commands/UntagResourceCommand.ts +0 -95
  318. package/src/commands/UpdateFlowTemplateCommand.ts +0 -96
  319. package/src/commands/UpdateSystemTemplateCommand.ts +0 -95
  320. package/src/commands/UploadEntityDefinitionsCommand.ts +0 -105
  321. package/src/endpoints.ts +0 -57
  322. package/src/index.ts +0 -49
  323. package/src/models/index.ts +0 -1
  324. package/src/models/models_0.ts +0 -2312
  325. package/src/pagination/GetFlowTemplateRevisionsPaginator.ts +0 -59
  326. package/src/pagination/GetSystemTemplateRevisionsPaginator.ts +0 -59
  327. package/src/pagination/Interfaces.ts +0 -8
  328. package/src/pagination/ListFlowExecutionMessagesPaginator.ts +0 -59
  329. package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
  330. package/src/pagination/SearchEntitiesPaginator.ts +0 -59
  331. package/src/pagination/SearchFlowExecutionsPaginator.ts +0 -59
  332. package/src/pagination/SearchFlowTemplatesPaginator.ts +0 -59
  333. package/src/pagination/SearchSystemInstancesPaginator.ts +0 -59
  334. package/src/pagination/SearchSystemTemplatesPaginator.ts +0 -59
  335. package/src/pagination/SearchThingsPaginator.ts +0 -59
  336. package/src/protocols/Aws_json1_1.ts +0 -4845
  337. package/src/runtimeConfig.browser.ts +0 -41
  338. package/src/runtimeConfig.native.ts +0 -17
  339. package/src/runtimeConfig.shared.ts +0 -17
  340. package/src/runtimeConfig.ts +0 -46
  341. package/tsconfig.es.json +0 -10
  342. package/tsconfig.json +0 -33
  343. package/tsconfig.types.json +0 -9
@@ -1,408 +0,0 @@
1
- import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
- RegionInputConfig,
5
- RegionResolvedConfig,
6
- resolveEndpointsConfig,
7
- resolveRegionConfig,
8
- } from "@aws-sdk/config-resolver";
9
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
10
- import {
11
- getHostHeaderPlugin,
12
- HostHeaderInputConfig,
13
- HostHeaderResolvedConfig,
14
- resolveHostHeaderConfig,
15
- } from "@aws-sdk/middleware-host-header";
16
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
17
- import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
18
- import {
19
- AwsAuthInputConfig,
20
- AwsAuthResolvedConfig,
21
- getAwsAuthPlugin,
22
- resolveAwsAuthConfig,
23
- } from "@aws-sdk/middleware-signing";
24
- import {
25
- getUserAgentPlugin,
26
- resolveUserAgentConfig,
27
- UserAgentInputConfig,
28
- UserAgentResolvedConfig,
29
- } from "@aws-sdk/middleware-user-agent";
30
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
31
- import {
32
- Client as __Client,
33
- SmithyConfiguration as __SmithyConfiguration,
34
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
35
- } from "@aws-sdk/smithy-client";
36
- import {
37
- Credentials as __Credentials,
38
- Decoder as __Decoder,
39
- Encoder as __Encoder,
40
- Hash as __Hash,
41
- HashConstructor as __HashConstructor,
42
- HttpHandlerOptions as __HttpHandlerOptions,
43
- Logger as __Logger,
44
- Provider as __Provider,
45
- Provider,
46
- RegionInfoProvider,
47
- StreamCollector as __StreamCollector,
48
- UrlParser as __UrlParser,
49
- UserAgent as __UserAgent,
50
- } from "@aws-sdk/types";
51
-
52
- import {
53
- AssociateEntityToThingCommandInput,
54
- AssociateEntityToThingCommandOutput,
55
- } from "./commands/AssociateEntityToThingCommand";
56
- import { CreateFlowTemplateCommandInput, CreateFlowTemplateCommandOutput } from "./commands/CreateFlowTemplateCommand";
57
- import {
58
- CreateSystemInstanceCommandInput,
59
- CreateSystemInstanceCommandOutput,
60
- } from "./commands/CreateSystemInstanceCommand";
61
- import {
62
- CreateSystemTemplateCommandInput,
63
- CreateSystemTemplateCommandOutput,
64
- } from "./commands/CreateSystemTemplateCommand";
65
- import { DeleteFlowTemplateCommandInput, DeleteFlowTemplateCommandOutput } from "./commands/DeleteFlowTemplateCommand";
66
- import { DeleteNamespaceCommandInput, DeleteNamespaceCommandOutput } from "./commands/DeleteNamespaceCommand";
67
- import {
68
- DeleteSystemInstanceCommandInput,
69
- DeleteSystemInstanceCommandOutput,
70
- } from "./commands/DeleteSystemInstanceCommand";
71
- import {
72
- DeleteSystemTemplateCommandInput,
73
- DeleteSystemTemplateCommandOutput,
74
- } from "./commands/DeleteSystemTemplateCommand";
75
- import {
76
- DeploySystemInstanceCommandInput,
77
- DeploySystemInstanceCommandOutput,
78
- } from "./commands/DeploySystemInstanceCommand";
79
- import {
80
- DeprecateFlowTemplateCommandInput,
81
- DeprecateFlowTemplateCommandOutput,
82
- } from "./commands/DeprecateFlowTemplateCommand";
83
- import {
84
- DeprecateSystemTemplateCommandInput,
85
- DeprecateSystemTemplateCommandOutput,
86
- } from "./commands/DeprecateSystemTemplateCommand";
87
- import { DescribeNamespaceCommandInput, DescribeNamespaceCommandOutput } from "./commands/DescribeNamespaceCommand";
88
- import {
89
- DissociateEntityFromThingCommandInput,
90
- DissociateEntityFromThingCommandOutput,
91
- } from "./commands/DissociateEntityFromThingCommand";
92
- import { GetEntitiesCommandInput, GetEntitiesCommandOutput } from "./commands/GetEntitiesCommand";
93
- import { GetFlowTemplateCommandInput, GetFlowTemplateCommandOutput } from "./commands/GetFlowTemplateCommand";
94
- import {
95
- GetFlowTemplateRevisionsCommandInput,
96
- GetFlowTemplateRevisionsCommandOutput,
97
- } from "./commands/GetFlowTemplateRevisionsCommand";
98
- import {
99
- GetNamespaceDeletionStatusCommandInput,
100
- GetNamespaceDeletionStatusCommandOutput,
101
- } from "./commands/GetNamespaceDeletionStatusCommand";
102
- import { GetSystemInstanceCommandInput, GetSystemInstanceCommandOutput } from "./commands/GetSystemInstanceCommand";
103
- import { GetSystemTemplateCommandInput, GetSystemTemplateCommandOutput } from "./commands/GetSystemTemplateCommand";
104
- import {
105
- GetSystemTemplateRevisionsCommandInput,
106
- GetSystemTemplateRevisionsCommandOutput,
107
- } from "./commands/GetSystemTemplateRevisionsCommand";
108
- import { GetUploadStatusCommandInput, GetUploadStatusCommandOutput } from "./commands/GetUploadStatusCommand";
109
- import {
110
- ListFlowExecutionMessagesCommandInput,
111
- ListFlowExecutionMessagesCommandOutput,
112
- } from "./commands/ListFlowExecutionMessagesCommand";
113
- import {
114
- ListTagsForResourceCommandInput,
115
- ListTagsForResourceCommandOutput,
116
- } from "./commands/ListTagsForResourceCommand";
117
- import { SearchEntitiesCommandInput, SearchEntitiesCommandOutput } from "./commands/SearchEntitiesCommand";
118
- import {
119
- SearchFlowExecutionsCommandInput,
120
- SearchFlowExecutionsCommandOutput,
121
- } from "./commands/SearchFlowExecutionsCommand";
122
- import {
123
- SearchFlowTemplatesCommandInput,
124
- SearchFlowTemplatesCommandOutput,
125
- } from "./commands/SearchFlowTemplatesCommand";
126
- import {
127
- SearchSystemInstancesCommandInput,
128
- SearchSystemInstancesCommandOutput,
129
- } from "./commands/SearchSystemInstancesCommand";
130
- import {
131
- SearchSystemTemplatesCommandInput,
132
- SearchSystemTemplatesCommandOutput,
133
- } from "./commands/SearchSystemTemplatesCommand";
134
- import { SearchThingsCommandInput, SearchThingsCommandOutput } from "./commands/SearchThingsCommand";
135
- import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
136
- import {
137
- UndeploySystemInstanceCommandInput,
138
- UndeploySystemInstanceCommandOutput,
139
- } from "./commands/UndeploySystemInstanceCommand";
140
- import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
141
- import { UpdateFlowTemplateCommandInput, UpdateFlowTemplateCommandOutput } from "./commands/UpdateFlowTemplateCommand";
142
- import {
143
- UpdateSystemTemplateCommandInput,
144
- UpdateSystemTemplateCommandOutput,
145
- } from "./commands/UpdateSystemTemplateCommand";
146
- import {
147
- UploadEntityDefinitionsCommandInput,
148
- UploadEntityDefinitionsCommandOutput,
149
- } from "./commands/UploadEntityDefinitionsCommand";
150
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
151
-
152
- export type ServiceInputTypes =
153
- | AssociateEntityToThingCommandInput
154
- | CreateFlowTemplateCommandInput
155
- | CreateSystemInstanceCommandInput
156
- | CreateSystemTemplateCommandInput
157
- | DeleteFlowTemplateCommandInput
158
- | DeleteNamespaceCommandInput
159
- | DeleteSystemInstanceCommandInput
160
- | DeleteSystemTemplateCommandInput
161
- | DeploySystemInstanceCommandInput
162
- | DeprecateFlowTemplateCommandInput
163
- | DeprecateSystemTemplateCommandInput
164
- | DescribeNamespaceCommandInput
165
- | DissociateEntityFromThingCommandInput
166
- | GetEntitiesCommandInput
167
- | GetFlowTemplateCommandInput
168
- | GetFlowTemplateRevisionsCommandInput
169
- | GetNamespaceDeletionStatusCommandInput
170
- | GetSystemInstanceCommandInput
171
- | GetSystemTemplateCommandInput
172
- | GetSystemTemplateRevisionsCommandInput
173
- | GetUploadStatusCommandInput
174
- | ListFlowExecutionMessagesCommandInput
175
- | ListTagsForResourceCommandInput
176
- | SearchEntitiesCommandInput
177
- | SearchFlowExecutionsCommandInput
178
- | SearchFlowTemplatesCommandInput
179
- | SearchSystemInstancesCommandInput
180
- | SearchSystemTemplatesCommandInput
181
- | SearchThingsCommandInput
182
- | TagResourceCommandInput
183
- | UndeploySystemInstanceCommandInput
184
- | UntagResourceCommandInput
185
- | UpdateFlowTemplateCommandInput
186
- | UpdateSystemTemplateCommandInput
187
- | UploadEntityDefinitionsCommandInput;
188
-
189
- export type ServiceOutputTypes =
190
- | AssociateEntityToThingCommandOutput
191
- | CreateFlowTemplateCommandOutput
192
- | CreateSystemInstanceCommandOutput
193
- | CreateSystemTemplateCommandOutput
194
- | DeleteFlowTemplateCommandOutput
195
- | DeleteNamespaceCommandOutput
196
- | DeleteSystemInstanceCommandOutput
197
- | DeleteSystemTemplateCommandOutput
198
- | DeploySystemInstanceCommandOutput
199
- | DeprecateFlowTemplateCommandOutput
200
- | DeprecateSystemTemplateCommandOutput
201
- | DescribeNamespaceCommandOutput
202
- | DissociateEntityFromThingCommandOutput
203
- | GetEntitiesCommandOutput
204
- | GetFlowTemplateCommandOutput
205
- | GetFlowTemplateRevisionsCommandOutput
206
- | GetNamespaceDeletionStatusCommandOutput
207
- | GetSystemInstanceCommandOutput
208
- | GetSystemTemplateCommandOutput
209
- | GetSystemTemplateRevisionsCommandOutput
210
- | GetUploadStatusCommandOutput
211
- | ListFlowExecutionMessagesCommandOutput
212
- | ListTagsForResourceCommandOutput
213
- | SearchEntitiesCommandOutput
214
- | SearchFlowExecutionsCommandOutput
215
- | SearchFlowTemplatesCommandOutput
216
- | SearchSystemInstancesCommandOutput
217
- | SearchSystemTemplatesCommandOutput
218
- | SearchThingsCommandOutput
219
- | TagResourceCommandOutput
220
- | UndeploySystemInstanceCommandOutput
221
- | UntagResourceCommandOutput
222
- | UpdateFlowTemplateCommandOutput
223
- | UpdateSystemTemplateCommandOutput
224
- | UploadEntityDefinitionsCommandOutput;
225
-
226
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
227
- /**
228
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
229
- */
230
- requestHandler?: __HttpHandler;
231
-
232
- /**
233
- * A constructor for a class implementing the {@link __Hash} interface
234
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
235
- * @internal
236
- */
237
- sha256?: __HashConstructor;
238
-
239
- /**
240
- * The function that will be used to convert strings into HTTP endpoints.
241
- * @internal
242
- */
243
- urlParser?: __UrlParser;
244
-
245
- /**
246
- * A function that can calculate the length of a request body.
247
- * @internal
248
- */
249
- bodyLengthChecker?: (body: any) => number | undefined;
250
-
251
- /**
252
- * A function that converts a stream into an array of bytes.
253
- * @internal
254
- */
255
- streamCollector?: __StreamCollector;
256
-
257
- /**
258
- * The function that will be used to convert a base64-encoded string to a byte array.
259
- * @internal
260
- */
261
- base64Decoder?: __Decoder;
262
-
263
- /**
264
- * The function that will be used to convert binary data to a base64-encoded string.
265
- * @internal
266
- */
267
- base64Encoder?: __Encoder;
268
-
269
- /**
270
- * The function that will be used to convert a UTF8-encoded string to a byte array.
271
- * @internal
272
- */
273
- utf8Decoder?: __Decoder;
274
-
275
- /**
276
- * The function that will be used to convert binary data to a UTF-8 encoded string.
277
- * @internal
278
- */
279
- utf8Encoder?: __Encoder;
280
-
281
- /**
282
- * The runtime environment.
283
- * @internal
284
- */
285
- runtime?: string;
286
-
287
- /**
288
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
289
- * trait of an operation.
290
- */
291
- disableHostPrefix?: boolean;
292
-
293
- /**
294
- * Value for how many times a request will be made at most in case of retry.
295
- */
296
- maxAttempts?: number | __Provider<number>;
297
-
298
- /**
299
- * Specifies which retry algorithm to use.
300
- */
301
- retryMode?: string | __Provider<string>;
302
-
303
- /**
304
- * Optional logger for logging debug/info/warn/error.
305
- */
306
- logger?: __Logger;
307
-
308
- /**
309
- * Unique service identifier.
310
- * @internal
311
- */
312
- serviceId?: string;
313
-
314
- /**
315
- * The AWS region to which this client will send requests
316
- */
317
- region?: string | __Provider<string>;
318
-
319
- /**
320
- * Default credentials provider; Not available in browser runtime.
321
- * @internal
322
- */
323
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
324
-
325
- /**
326
- * Fetch related hostname, signing name or signing region with given region.
327
- * @internal
328
- */
329
- regionInfoProvider?: RegionInfoProvider;
330
-
331
- /**
332
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
333
- * @internal
334
- */
335
- defaultUserAgentProvider?: Provider<__UserAgent>;
336
- }
337
-
338
- type IoTThingsGraphClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
339
- ClientDefaults &
340
- RegionInputConfig &
341
- EndpointsInputConfig &
342
- RetryInputConfig &
343
- HostHeaderInputConfig &
344
- AwsAuthInputConfig &
345
- UserAgentInputConfig;
346
- /**
347
- * The configuration interface of IoTThingsGraphClient class constructor that set the region, credentials and other options.
348
- */
349
- export interface IoTThingsGraphClientConfig extends IoTThingsGraphClientConfigType {}
350
-
351
- type IoTThingsGraphClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
352
- Required<ClientDefaults> &
353
- RegionResolvedConfig &
354
- EndpointsResolvedConfig &
355
- RetryResolvedConfig &
356
- HostHeaderResolvedConfig &
357
- AwsAuthResolvedConfig &
358
- UserAgentResolvedConfig;
359
- /**
360
- * The resolved configuration interface of IoTThingsGraphClient class. This is resolved and normalized from the {@link IoTThingsGraphClientConfig | constructor configuration interface}.
361
- */
362
- export interface IoTThingsGraphClientResolvedConfig extends IoTThingsGraphClientResolvedConfigType {}
363
-
364
- /**
365
- * <fullname>AWS IoT Things Graph</fullname>
366
- * <p>AWS IoT Things Graph provides an integrated set of tools that enable developers to connect devices and services that use different standards,
367
- * 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
368
- * and defining how they interact at an abstract level.</p>
369
- * <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>
370
- */
371
- export class IoTThingsGraphClient extends __Client<
372
- __HttpHandlerOptions,
373
- ServiceInputTypes,
374
- ServiceOutputTypes,
375
- IoTThingsGraphClientResolvedConfig
376
- > {
377
- /**
378
- * The resolved configuration of IoTThingsGraphClient class. This is resolved and normalized from the {@link IoTThingsGraphClientConfig | constructor configuration interface}.
379
- */
380
- readonly config: IoTThingsGraphClientResolvedConfig;
381
-
382
- constructor(configuration: IoTThingsGraphClientConfig) {
383
- const _config_0 = __getRuntimeConfig(configuration);
384
- const _config_1 = resolveRegionConfig(_config_0);
385
- const _config_2 = resolveEndpointsConfig(_config_1);
386
- const _config_3 = resolveRetryConfig(_config_2);
387
- const _config_4 = resolveHostHeaderConfig(_config_3);
388
- const _config_5 = resolveAwsAuthConfig(_config_4);
389
- const _config_6 = resolveUserAgentConfig(_config_5);
390
- super(_config_6);
391
- this.config = _config_6;
392
- this.middlewareStack.use(getRetryPlugin(this.config));
393
- this.middlewareStack.use(getContentLengthPlugin(this.config));
394
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
395
- this.middlewareStack.use(getLoggerPlugin(this.config));
396
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
397
- this.middlewareStack.use(getUserAgentPlugin(this.config));
398
- }
399
-
400
- /**
401
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
402
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
403
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
404
- */
405
- destroy(): void {
406
- super.destroy();
407
- }
408
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { IoTThingsGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTThingsGraphClient";
15
- import { AssociateEntityToThingRequest, AssociateEntityToThingResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1AssociateEntityToThingCommand,
18
- serializeAws_json1_1AssociateEntityToThingCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface AssociateEntityToThingCommandInput extends AssociateEntityToThingRequest {}
22
- export interface AssociateEntityToThingCommandOutput extends AssociateEntityToThingResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Associates a device with a concrete thing that is in the user's registry.</p>
26
- * <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>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { IoTThingsGraphClient, AssociateEntityToThingCommand } from "@aws-sdk/client-iotthingsgraph"; // ES Modules import
31
- * // const { IoTThingsGraphClient, AssociateEntityToThingCommand } = require("@aws-sdk/client-iotthingsgraph"); // CommonJS import
32
- * const client = new IoTThingsGraphClient(config);
33
- * const command = new AssociateEntityToThingCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link AssociateEntityToThingCommandInput} for command's `input` shape.
38
- * @see {@link AssociateEntityToThingCommandOutput} for command's `response` shape.
39
- * @see {@link IoTThingsGraphClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class AssociateEntityToThingCommand extends $Command<
43
- AssociateEntityToThingCommandInput,
44
- AssociateEntityToThingCommandOutput,
45
- IoTThingsGraphClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: AssociateEntityToThingCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: IoTThingsGraphClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<AssociateEntityToThingCommandInput, AssociateEntityToThingCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "IoTThingsGraphClient";
70
- const commandName = "AssociateEntityToThingCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: AssociateEntityToThingRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: AssociateEntityToThingResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: AssociateEntityToThingCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1AssociateEntityToThingCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AssociateEntityToThingCommandOutput> {
91
- return deserializeAws_json1_1AssociateEntityToThingCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,97 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { IoTThingsGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTThingsGraphClient";
15
- import { CreateFlowTemplateRequest, CreateFlowTemplateResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1CreateFlowTemplateCommand,
18
- serializeAws_json1_1CreateFlowTemplateCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface CreateFlowTemplateCommandInput extends CreateFlowTemplateRequest {}
22
- export interface CreateFlowTemplateCommandOutput extends CreateFlowTemplateResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Creates a workflow template. Workflows can be created only in the user's namespace. (The public namespace contains only
26
- * entities.) The workflow can contain only entities in the specified namespace. The workflow is validated against the entities in the
27
- * latest version of the user's namespace unless another namespace version is specified in the request.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { IoTThingsGraphClient, CreateFlowTemplateCommand } from "@aws-sdk/client-iotthingsgraph"; // ES Modules import
32
- * // const { IoTThingsGraphClient, CreateFlowTemplateCommand } = require("@aws-sdk/client-iotthingsgraph"); // CommonJS import
33
- * const client = new IoTThingsGraphClient(config);
34
- * const command = new CreateFlowTemplateCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link CreateFlowTemplateCommandInput} for command's `input` shape.
39
- * @see {@link CreateFlowTemplateCommandOutput} for command's `response` shape.
40
- * @see {@link IoTThingsGraphClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class CreateFlowTemplateCommand extends $Command<
44
- CreateFlowTemplateCommandInput,
45
- CreateFlowTemplateCommandOutput,
46
- IoTThingsGraphClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: CreateFlowTemplateCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: IoTThingsGraphClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<CreateFlowTemplateCommandInput, CreateFlowTemplateCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "IoTThingsGraphClient";
71
- const commandName = "CreateFlowTemplateCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: CreateFlowTemplateRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: CreateFlowTemplateResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: CreateFlowTemplateCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1CreateFlowTemplateCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateFlowTemplateCommandOutput> {
92
- return deserializeAws_json1_1CreateFlowTemplateCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }