@aws-sdk/client-iotsitewise 3.477.0 → 3.481.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 (433) hide show
  1. package/dist-cjs/commands/AssociateAssetsCommand.js +18 -41
  2. package/dist-cjs/commands/AssociateTimeSeriesToAssetPropertyCommand.js +18 -41
  3. package/dist-cjs/commands/BatchAssociateProjectAssetsCommand.js +18 -41
  4. package/dist-cjs/commands/BatchDisassociateProjectAssetsCommand.js +18 -41
  5. package/dist-cjs/commands/BatchGetAssetPropertyAggregatesCommand.js +18 -41
  6. package/dist-cjs/commands/BatchGetAssetPropertyValueCommand.js +18 -41
  7. package/dist-cjs/commands/BatchGetAssetPropertyValueHistoryCommand.js +18 -41
  8. package/dist-cjs/commands/BatchPutAssetPropertyValueCommand.js +18 -41
  9. package/dist-cjs/commands/CreateAccessPolicyCommand.js +18 -41
  10. package/dist-cjs/commands/CreateAssetCommand.js +18 -41
  11. package/dist-cjs/commands/CreateAssetModelCommand.js +18 -41
  12. package/dist-cjs/commands/CreateAssetModelCompositeModelCommand.js +18 -41
  13. package/dist-cjs/commands/CreateBulkImportJobCommand.js +18 -41
  14. package/dist-cjs/commands/CreateDashboardCommand.js +18 -41
  15. package/dist-cjs/commands/CreateGatewayCommand.js +18 -41
  16. package/dist-cjs/commands/CreatePortalCommand.js +18 -41
  17. package/dist-cjs/commands/CreateProjectCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteAccessPolicyCommand.js +18 -41
  19. package/dist-cjs/commands/DeleteAssetCommand.js +18 -41
  20. package/dist-cjs/commands/DeleteAssetModelCommand.js +18 -41
  21. package/dist-cjs/commands/DeleteAssetModelCompositeModelCommand.js +18 -41
  22. package/dist-cjs/commands/DeleteDashboardCommand.js +18 -41
  23. package/dist-cjs/commands/DeleteGatewayCommand.js +18 -41
  24. package/dist-cjs/commands/DeletePortalCommand.js +18 -41
  25. package/dist-cjs/commands/DeleteProjectCommand.js +18 -41
  26. package/dist-cjs/commands/DeleteTimeSeriesCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeAccessPolicyCommand.js +18 -41
  28. package/dist-cjs/commands/DescribeActionCommand.js +18 -41
  29. package/dist-cjs/commands/DescribeAssetCommand.js +18 -41
  30. package/dist-cjs/commands/DescribeAssetCompositeModelCommand.js +18 -41
  31. package/dist-cjs/commands/DescribeAssetModelCommand.js +18 -41
  32. package/dist-cjs/commands/DescribeAssetModelCompositeModelCommand.js +18 -41
  33. package/dist-cjs/commands/DescribeAssetPropertyCommand.js +18 -41
  34. package/dist-cjs/commands/DescribeBulkImportJobCommand.js +18 -41
  35. package/dist-cjs/commands/DescribeDashboardCommand.js +18 -41
  36. package/dist-cjs/commands/DescribeDefaultEncryptionConfigurationCommand.js +18 -41
  37. package/dist-cjs/commands/DescribeGatewayCapabilityConfigurationCommand.js +18 -41
  38. package/dist-cjs/commands/DescribeGatewayCommand.js +18 -41
  39. package/dist-cjs/commands/DescribeLoggingOptionsCommand.js +18 -41
  40. package/dist-cjs/commands/DescribePortalCommand.js +18 -41
  41. package/dist-cjs/commands/DescribeProjectCommand.js +18 -41
  42. package/dist-cjs/commands/DescribeStorageConfigurationCommand.js +18 -41
  43. package/dist-cjs/commands/DescribeTimeSeriesCommand.js +18 -41
  44. package/dist-cjs/commands/DisassociateAssetsCommand.js +18 -41
  45. package/dist-cjs/commands/DisassociateTimeSeriesFromAssetPropertyCommand.js +18 -41
  46. package/dist-cjs/commands/ExecuteActionCommand.js +18 -41
  47. package/dist-cjs/commands/ExecuteQueryCommand.js +18 -41
  48. package/dist-cjs/commands/GetAssetPropertyAggregatesCommand.js +18 -41
  49. package/dist-cjs/commands/GetAssetPropertyValueCommand.js +18 -41
  50. package/dist-cjs/commands/GetAssetPropertyValueHistoryCommand.js +18 -41
  51. package/dist-cjs/commands/GetInterpolatedAssetPropertyValuesCommand.js +18 -41
  52. package/dist-cjs/commands/ListAccessPoliciesCommand.js +18 -41
  53. package/dist-cjs/commands/ListActionsCommand.js +18 -41
  54. package/dist-cjs/commands/ListAssetModelCompositeModelsCommand.js +18 -41
  55. package/dist-cjs/commands/ListAssetModelPropertiesCommand.js +18 -41
  56. package/dist-cjs/commands/ListAssetModelsCommand.js +18 -41
  57. package/dist-cjs/commands/ListAssetPropertiesCommand.js +18 -41
  58. package/dist-cjs/commands/ListAssetRelationshipsCommand.js +18 -41
  59. package/dist-cjs/commands/ListAssetsCommand.js +18 -41
  60. package/dist-cjs/commands/ListAssociatedAssetsCommand.js +18 -41
  61. package/dist-cjs/commands/ListBulkImportJobsCommand.js +18 -41
  62. package/dist-cjs/commands/ListCompositionRelationshipsCommand.js +18 -41
  63. package/dist-cjs/commands/ListDashboardsCommand.js +18 -41
  64. package/dist-cjs/commands/ListGatewaysCommand.js +18 -41
  65. package/dist-cjs/commands/ListPortalsCommand.js +18 -41
  66. package/dist-cjs/commands/ListProjectAssetsCommand.js +18 -41
  67. package/dist-cjs/commands/ListProjectsCommand.js +18 -41
  68. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  69. package/dist-cjs/commands/ListTimeSeriesCommand.js +18 -41
  70. package/dist-cjs/commands/PutDefaultEncryptionConfigurationCommand.js +18 -41
  71. package/dist-cjs/commands/PutLoggingOptionsCommand.js +18 -41
  72. package/dist-cjs/commands/PutStorageConfigurationCommand.js +18 -41
  73. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  74. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  75. package/dist-cjs/commands/UpdateAccessPolicyCommand.js +18 -41
  76. package/dist-cjs/commands/UpdateAssetCommand.js +18 -41
  77. package/dist-cjs/commands/UpdateAssetModelCommand.js +18 -41
  78. package/dist-cjs/commands/UpdateAssetModelCompositeModelCommand.js +18 -41
  79. package/dist-cjs/commands/UpdateAssetPropertyCommand.js +18 -41
  80. package/dist-cjs/commands/UpdateDashboardCommand.js +18 -41
  81. package/dist-cjs/commands/UpdateGatewayCapabilityConfigurationCommand.js +18 -41
  82. package/dist-cjs/commands/UpdateGatewayCommand.js +18 -41
  83. package/dist-cjs/commands/UpdatePortalCommand.js +18 -41
  84. package/dist-cjs/commands/UpdateProjectCommand.js +18 -41
  85. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  86. package/dist-cjs/pagination/BatchGetAssetPropertyAggregatesPaginator.js +2 -24
  87. package/dist-cjs/pagination/BatchGetAssetPropertyValueHistoryPaginator.js +2 -24
  88. package/dist-cjs/pagination/BatchGetAssetPropertyValuePaginator.js +2 -23
  89. package/dist-cjs/pagination/ExecuteQueryPaginator.js +2 -24
  90. package/dist-cjs/pagination/GetAssetPropertyAggregatesPaginator.js +2 -24
  91. package/dist-cjs/pagination/GetAssetPropertyValueHistoryPaginator.js +2 -24
  92. package/dist-cjs/pagination/GetInterpolatedAssetPropertyValuesPaginator.js +2 -24
  93. package/dist-cjs/pagination/ListAccessPoliciesPaginator.js +2 -24
  94. package/dist-cjs/pagination/ListAssetModelCompositeModelsPaginator.js +2 -24
  95. package/dist-cjs/pagination/ListAssetModelPropertiesPaginator.js +2 -24
  96. package/dist-cjs/pagination/ListAssetModelsPaginator.js +2 -24
  97. package/dist-cjs/pagination/ListAssetPropertiesPaginator.js +2 -24
  98. package/dist-cjs/pagination/ListAssetRelationshipsPaginator.js +2 -24
  99. package/dist-cjs/pagination/ListAssetsPaginator.js +2 -24
  100. package/dist-cjs/pagination/ListAssociatedAssetsPaginator.js +2 -24
  101. package/dist-cjs/pagination/ListBulkImportJobsPaginator.js +2 -24
  102. package/dist-cjs/pagination/ListCompositionRelationshipsPaginator.js +2 -24
  103. package/dist-cjs/pagination/ListDashboardsPaginator.js +2 -24
  104. package/dist-cjs/pagination/ListGatewaysPaginator.js +2 -24
  105. package/dist-cjs/pagination/ListPortalsPaginator.js +2 -24
  106. package/dist-cjs/pagination/ListProjectAssetsPaginator.js +2 -24
  107. package/dist-cjs/pagination/ListProjectsPaginator.js +2 -24
  108. package/dist-cjs/pagination/ListTimeSeriesPaginator.js +2 -24
  109. package/dist-es/commands/AssociateAssetsCommand.js +18 -41
  110. package/dist-es/commands/AssociateTimeSeriesToAssetPropertyCommand.js +18 -41
  111. package/dist-es/commands/BatchAssociateProjectAssetsCommand.js +18 -41
  112. package/dist-es/commands/BatchDisassociateProjectAssetsCommand.js +18 -41
  113. package/dist-es/commands/BatchGetAssetPropertyAggregatesCommand.js +18 -41
  114. package/dist-es/commands/BatchGetAssetPropertyValueCommand.js +18 -41
  115. package/dist-es/commands/BatchGetAssetPropertyValueHistoryCommand.js +18 -41
  116. package/dist-es/commands/BatchPutAssetPropertyValueCommand.js +18 -41
  117. package/dist-es/commands/CreateAccessPolicyCommand.js +18 -41
  118. package/dist-es/commands/CreateAssetCommand.js +18 -41
  119. package/dist-es/commands/CreateAssetModelCommand.js +18 -41
  120. package/dist-es/commands/CreateAssetModelCompositeModelCommand.js +18 -41
  121. package/dist-es/commands/CreateBulkImportJobCommand.js +18 -41
  122. package/dist-es/commands/CreateDashboardCommand.js +18 -41
  123. package/dist-es/commands/CreateGatewayCommand.js +18 -41
  124. package/dist-es/commands/CreatePortalCommand.js +18 -41
  125. package/dist-es/commands/CreateProjectCommand.js +18 -41
  126. package/dist-es/commands/DeleteAccessPolicyCommand.js +18 -41
  127. package/dist-es/commands/DeleteAssetCommand.js +18 -41
  128. package/dist-es/commands/DeleteAssetModelCommand.js +18 -41
  129. package/dist-es/commands/DeleteAssetModelCompositeModelCommand.js +18 -41
  130. package/dist-es/commands/DeleteDashboardCommand.js +18 -41
  131. package/dist-es/commands/DeleteGatewayCommand.js +18 -41
  132. package/dist-es/commands/DeletePortalCommand.js +18 -41
  133. package/dist-es/commands/DeleteProjectCommand.js +18 -41
  134. package/dist-es/commands/DeleteTimeSeriesCommand.js +18 -41
  135. package/dist-es/commands/DescribeAccessPolicyCommand.js +18 -41
  136. package/dist-es/commands/DescribeActionCommand.js +18 -41
  137. package/dist-es/commands/DescribeAssetCommand.js +18 -41
  138. package/dist-es/commands/DescribeAssetCompositeModelCommand.js +18 -41
  139. package/dist-es/commands/DescribeAssetModelCommand.js +18 -41
  140. package/dist-es/commands/DescribeAssetModelCompositeModelCommand.js +18 -41
  141. package/dist-es/commands/DescribeAssetPropertyCommand.js +18 -41
  142. package/dist-es/commands/DescribeBulkImportJobCommand.js +18 -41
  143. package/dist-es/commands/DescribeDashboardCommand.js +18 -41
  144. package/dist-es/commands/DescribeDefaultEncryptionConfigurationCommand.js +18 -41
  145. package/dist-es/commands/DescribeGatewayCapabilityConfigurationCommand.js +18 -41
  146. package/dist-es/commands/DescribeGatewayCommand.js +18 -41
  147. package/dist-es/commands/DescribeLoggingOptionsCommand.js +18 -41
  148. package/dist-es/commands/DescribePortalCommand.js +18 -41
  149. package/dist-es/commands/DescribeProjectCommand.js +18 -41
  150. package/dist-es/commands/DescribeStorageConfigurationCommand.js +18 -41
  151. package/dist-es/commands/DescribeTimeSeriesCommand.js +18 -41
  152. package/dist-es/commands/DisassociateAssetsCommand.js +18 -41
  153. package/dist-es/commands/DisassociateTimeSeriesFromAssetPropertyCommand.js +18 -41
  154. package/dist-es/commands/ExecuteActionCommand.js +18 -41
  155. package/dist-es/commands/ExecuteQueryCommand.js +18 -41
  156. package/dist-es/commands/GetAssetPropertyAggregatesCommand.js +18 -41
  157. package/dist-es/commands/GetAssetPropertyValueCommand.js +18 -41
  158. package/dist-es/commands/GetAssetPropertyValueHistoryCommand.js +18 -41
  159. package/dist-es/commands/GetInterpolatedAssetPropertyValuesCommand.js +18 -41
  160. package/dist-es/commands/ListAccessPoliciesCommand.js +18 -41
  161. package/dist-es/commands/ListActionsCommand.js +18 -41
  162. package/dist-es/commands/ListAssetModelCompositeModelsCommand.js +18 -41
  163. package/dist-es/commands/ListAssetModelPropertiesCommand.js +18 -41
  164. package/dist-es/commands/ListAssetModelsCommand.js +18 -41
  165. package/dist-es/commands/ListAssetPropertiesCommand.js +18 -41
  166. package/dist-es/commands/ListAssetRelationshipsCommand.js +18 -41
  167. package/dist-es/commands/ListAssetsCommand.js +18 -41
  168. package/dist-es/commands/ListAssociatedAssetsCommand.js +18 -41
  169. package/dist-es/commands/ListBulkImportJobsCommand.js +18 -41
  170. package/dist-es/commands/ListCompositionRelationshipsCommand.js +18 -41
  171. package/dist-es/commands/ListDashboardsCommand.js +18 -41
  172. package/dist-es/commands/ListGatewaysCommand.js +18 -41
  173. package/dist-es/commands/ListPortalsCommand.js +18 -41
  174. package/dist-es/commands/ListProjectAssetsCommand.js +18 -41
  175. package/dist-es/commands/ListProjectsCommand.js +18 -41
  176. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  177. package/dist-es/commands/ListTimeSeriesCommand.js +18 -41
  178. package/dist-es/commands/PutDefaultEncryptionConfigurationCommand.js +18 -41
  179. package/dist-es/commands/PutLoggingOptionsCommand.js +18 -41
  180. package/dist-es/commands/PutStorageConfigurationCommand.js +18 -41
  181. package/dist-es/commands/TagResourceCommand.js +18 -41
  182. package/dist-es/commands/UntagResourceCommand.js +18 -41
  183. package/dist-es/commands/UpdateAccessPolicyCommand.js +18 -41
  184. package/dist-es/commands/UpdateAssetCommand.js +18 -41
  185. package/dist-es/commands/UpdateAssetModelCommand.js +18 -41
  186. package/dist-es/commands/UpdateAssetModelCompositeModelCommand.js +18 -41
  187. package/dist-es/commands/UpdateAssetPropertyCommand.js +18 -41
  188. package/dist-es/commands/UpdateDashboardCommand.js +18 -41
  189. package/dist-es/commands/UpdateGatewayCapabilityConfigurationCommand.js +18 -41
  190. package/dist-es/commands/UpdateGatewayCommand.js +18 -41
  191. package/dist-es/commands/UpdatePortalCommand.js +18 -41
  192. package/dist-es/commands/UpdateProjectCommand.js +18 -41
  193. package/dist-es/endpoint/EndpointParameters.js +6 -0
  194. package/dist-es/pagination/BatchGetAssetPropertyAggregatesPaginator.js +2 -23
  195. package/dist-es/pagination/BatchGetAssetPropertyValueHistoryPaginator.js +2 -23
  196. package/dist-es/pagination/BatchGetAssetPropertyValuePaginator.js +2 -22
  197. package/dist-es/pagination/ExecuteQueryPaginator.js +2 -23
  198. package/dist-es/pagination/GetAssetPropertyAggregatesPaginator.js +2 -23
  199. package/dist-es/pagination/GetAssetPropertyValueHistoryPaginator.js +2 -23
  200. package/dist-es/pagination/GetInterpolatedAssetPropertyValuesPaginator.js +2 -23
  201. package/dist-es/pagination/ListAccessPoliciesPaginator.js +2 -23
  202. package/dist-es/pagination/ListAssetModelCompositeModelsPaginator.js +2 -23
  203. package/dist-es/pagination/ListAssetModelPropertiesPaginator.js +2 -23
  204. package/dist-es/pagination/ListAssetModelsPaginator.js +2 -23
  205. package/dist-es/pagination/ListAssetPropertiesPaginator.js +2 -23
  206. package/dist-es/pagination/ListAssetRelationshipsPaginator.js +2 -23
  207. package/dist-es/pagination/ListAssetsPaginator.js +2 -23
  208. package/dist-es/pagination/ListAssociatedAssetsPaginator.js +2 -23
  209. package/dist-es/pagination/ListBulkImportJobsPaginator.js +2 -23
  210. package/dist-es/pagination/ListCompositionRelationshipsPaginator.js +2 -23
  211. package/dist-es/pagination/ListDashboardsPaginator.js +2 -23
  212. package/dist-es/pagination/ListGatewaysPaginator.js +2 -23
  213. package/dist-es/pagination/ListPortalsPaginator.js +2 -23
  214. package/dist-es/pagination/ListProjectAssetsPaginator.js +2 -23
  215. package/dist-es/pagination/ListProjectsPaginator.js +2 -23
  216. package/dist-es/pagination/ListTimeSeriesPaginator.js +2 -23
  217. package/dist-types/commands/AssociateAssetsCommand.d.ts +6 -21
  218. package/dist-types/commands/AssociateTimeSeriesToAssetPropertyCommand.d.ts +6 -21
  219. package/dist-types/commands/BatchAssociateProjectAssetsCommand.d.ts +6 -21
  220. package/dist-types/commands/BatchDisassociateProjectAssetsCommand.d.ts +6 -21
  221. package/dist-types/commands/BatchGetAssetPropertyAggregatesCommand.d.ts +6 -21
  222. package/dist-types/commands/BatchGetAssetPropertyValueCommand.d.ts +6 -21
  223. package/dist-types/commands/BatchGetAssetPropertyValueHistoryCommand.d.ts +6 -21
  224. package/dist-types/commands/BatchPutAssetPropertyValueCommand.d.ts +6 -21
  225. package/dist-types/commands/CreateAccessPolicyCommand.d.ts +6 -21
  226. package/dist-types/commands/CreateAssetCommand.d.ts +6 -21
  227. package/dist-types/commands/CreateAssetModelCommand.d.ts +6 -21
  228. package/dist-types/commands/CreateAssetModelCompositeModelCommand.d.ts +6 -21
  229. package/dist-types/commands/CreateBulkImportJobCommand.d.ts +6 -21
  230. package/dist-types/commands/CreateDashboardCommand.d.ts +6 -21
  231. package/dist-types/commands/CreateGatewayCommand.d.ts +6 -21
  232. package/dist-types/commands/CreatePortalCommand.d.ts +6 -21
  233. package/dist-types/commands/CreateProjectCommand.d.ts +6 -21
  234. package/dist-types/commands/DeleteAccessPolicyCommand.d.ts +6 -21
  235. package/dist-types/commands/DeleteAssetCommand.d.ts +6 -21
  236. package/dist-types/commands/DeleteAssetModelCommand.d.ts +6 -21
  237. package/dist-types/commands/DeleteAssetModelCompositeModelCommand.d.ts +6 -21
  238. package/dist-types/commands/DeleteDashboardCommand.d.ts +6 -21
  239. package/dist-types/commands/DeleteGatewayCommand.d.ts +6 -21
  240. package/dist-types/commands/DeletePortalCommand.d.ts +6 -21
  241. package/dist-types/commands/DeleteProjectCommand.d.ts +6 -21
  242. package/dist-types/commands/DeleteTimeSeriesCommand.d.ts +6 -21
  243. package/dist-types/commands/DescribeAccessPolicyCommand.d.ts +6 -21
  244. package/dist-types/commands/DescribeActionCommand.d.ts +6 -21
  245. package/dist-types/commands/DescribeAssetCommand.d.ts +6 -21
  246. package/dist-types/commands/DescribeAssetCompositeModelCommand.d.ts +6 -21
  247. package/dist-types/commands/DescribeAssetModelCommand.d.ts +6 -21
  248. package/dist-types/commands/DescribeAssetModelCompositeModelCommand.d.ts +6 -21
  249. package/dist-types/commands/DescribeAssetPropertyCommand.d.ts +6 -21
  250. package/dist-types/commands/DescribeBulkImportJobCommand.d.ts +6 -21
  251. package/dist-types/commands/DescribeDashboardCommand.d.ts +6 -21
  252. package/dist-types/commands/DescribeDefaultEncryptionConfigurationCommand.d.ts +6 -21
  253. package/dist-types/commands/DescribeGatewayCapabilityConfigurationCommand.d.ts +6 -21
  254. package/dist-types/commands/DescribeGatewayCommand.d.ts +6 -21
  255. package/dist-types/commands/DescribeLoggingOptionsCommand.d.ts +6 -21
  256. package/dist-types/commands/DescribePortalCommand.d.ts +6 -21
  257. package/dist-types/commands/DescribeProjectCommand.d.ts +6 -21
  258. package/dist-types/commands/DescribeStorageConfigurationCommand.d.ts +6 -21
  259. package/dist-types/commands/DescribeTimeSeriesCommand.d.ts +6 -21
  260. package/dist-types/commands/DisassociateAssetsCommand.d.ts +6 -21
  261. package/dist-types/commands/DisassociateTimeSeriesFromAssetPropertyCommand.d.ts +6 -21
  262. package/dist-types/commands/ExecuteActionCommand.d.ts +6 -21
  263. package/dist-types/commands/ExecuteQueryCommand.d.ts +6 -21
  264. package/dist-types/commands/GetAssetPropertyAggregatesCommand.d.ts +6 -21
  265. package/dist-types/commands/GetAssetPropertyValueCommand.d.ts +6 -21
  266. package/dist-types/commands/GetAssetPropertyValueHistoryCommand.d.ts +6 -21
  267. package/dist-types/commands/GetInterpolatedAssetPropertyValuesCommand.d.ts +6 -21
  268. package/dist-types/commands/ListAccessPoliciesCommand.d.ts +6 -21
  269. package/dist-types/commands/ListActionsCommand.d.ts +6 -21
  270. package/dist-types/commands/ListAssetModelCompositeModelsCommand.d.ts +6 -21
  271. package/dist-types/commands/ListAssetModelPropertiesCommand.d.ts +6 -21
  272. package/dist-types/commands/ListAssetModelsCommand.d.ts +6 -21
  273. package/dist-types/commands/ListAssetPropertiesCommand.d.ts +6 -21
  274. package/dist-types/commands/ListAssetRelationshipsCommand.d.ts +6 -21
  275. package/dist-types/commands/ListAssetsCommand.d.ts +6 -21
  276. package/dist-types/commands/ListAssociatedAssetsCommand.d.ts +6 -21
  277. package/dist-types/commands/ListBulkImportJobsCommand.d.ts +6 -21
  278. package/dist-types/commands/ListCompositionRelationshipsCommand.d.ts +6 -21
  279. package/dist-types/commands/ListDashboardsCommand.d.ts +6 -21
  280. package/dist-types/commands/ListGatewaysCommand.d.ts +6 -21
  281. package/dist-types/commands/ListPortalsCommand.d.ts +6 -21
  282. package/dist-types/commands/ListProjectAssetsCommand.d.ts +6 -21
  283. package/dist-types/commands/ListProjectsCommand.d.ts +6 -21
  284. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  285. package/dist-types/commands/ListTimeSeriesCommand.d.ts +6 -21
  286. package/dist-types/commands/PutDefaultEncryptionConfigurationCommand.d.ts +6 -21
  287. package/dist-types/commands/PutLoggingOptionsCommand.d.ts +6 -21
  288. package/dist-types/commands/PutStorageConfigurationCommand.d.ts +6 -21
  289. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  290. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  291. package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +6 -21
  292. package/dist-types/commands/UpdateAssetCommand.d.ts +6 -21
  293. package/dist-types/commands/UpdateAssetModelCommand.d.ts +6 -21
  294. package/dist-types/commands/UpdateAssetModelCompositeModelCommand.d.ts +6 -21
  295. package/dist-types/commands/UpdateAssetPropertyCommand.d.ts +6 -21
  296. package/dist-types/commands/UpdateDashboardCommand.d.ts +6 -21
  297. package/dist-types/commands/UpdateGatewayCapabilityConfigurationCommand.d.ts +6 -21
  298. package/dist-types/commands/UpdateGatewayCommand.d.ts +6 -21
  299. package/dist-types/commands/UpdatePortalCommand.d.ts +6 -21
  300. package/dist-types/commands/UpdateProjectCommand.d.ts +6 -21
  301. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  302. package/dist-types/pagination/BatchGetAssetPropertyAggregatesPaginator.d.ts +1 -1
  303. package/dist-types/pagination/BatchGetAssetPropertyValueHistoryPaginator.d.ts +1 -1
  304. package/dist-types/pagination/BatchGetAssetPropertyValuePaginator.d.ts +1 -1
  305. package/dist-types/pagination/ExecuteQueryPaginator.d.ts +1 -1
  306. package/dist-types/pagination/GetAssetPropertyAggregatesPaginator.d.ts +1 -1
  307. package/dist-types/pagination/GetAssetPropertyValueHistoryPaginator.d.ts +1 -1
  308. package/dist-types/pagination/GetInterpolatedAssetPropertyValuesPaginator.d.ts +1 -1
  309. package/dist-types/pagination/ListAccessPoliciesPaginator.d.ts +1 -1
  310. package/dist-types/pagination/ListAssetModelCompositeModelsPaginator.d.ts +1 -1
  311. package/dist-types/pagination/ListAssetModelPropertiesPaginator.d.ts +1 -1
  312. package/dist-types/pagination/ListAssetModelsPaginator.d.ts +1 -1
  313. package/dist-types/pagination/ListAssetPropertiesPaginator.d.ts +1 -1
  314. package/dist-types/pagination/ListAssetRelationshipsPaginator.d.ts +1 -1
  315. package/dist-types/pagination/ListAssetsPaginator.d.ts +1 -1
  316. package/dist-types/pagination/ListAssociatedAssetsPaginator.d.ts +1 -1
  317. package/dist-types/pagination/ListBulkImportJobsPaginator.d.ts +1 -1
  318. package/dist-types/pagination/ListCompositionRelationshipsPaginator.d.ts +1 -1
  319. package/dist-types/pagination/ListDashboardsPaginator.d.ts +1 -1
  320. package/dist-types/pagination/ListGatewaysPaginator.d.ts +1 -1
  321. package/dist-types/pagination/ListPortalsPaginator.d.ts +1 -1
  322. package/dist-types/pagination/ListProjectAssetsPaginator.d.ts +1 -1
  323. package/dist-types/pagination/ListProjectsPaginator.d.ts +1 -1
  324. package/dist-types/pagination/ListTimeSeriesPaginator.d.ts +1 -1
  325. package/dist-types/ts3.4/commands/AssociateAssetsCommand.d.ts +14 -23
  326. package/dist-types/ts3.4/commands/AssociateTimeSeriesToAssetPropertyCommand.d.ts +12 -24
  327. package/dist-types/ts3.4/commands/BatchAssociateProjectAssetsCommand.d.ts +12 -24
  328. package/dist-types/ts3.4/commands/BatchDisassociateProjectAssetsCommand.d.ts +12 -24
  329. package/dist-types/ts3.4/commands/BatchGetAssetPropertyAggregatesCommand.d.ts +12 -24
  330. package/dist-types/ts3.4/commands/BatchGetAssetPropertyValueCommand.d.ts +12 -24
  331. package/dist-types/ts3.4/commands/BatchGetAssetPropertyValueHistoryCommand.d.ts +12 -24
  332. package/dist-types/ts3.4/commands/BatchPutAssetPropertyValueCommand.d.ts +12 -24
  333. package/dist-types/ts3.4/commands/CreateAccessPolicyCommand.d.ts +14 -23
  334. package/dist-types/ts3.4/commands/CreateAssetCommand.d.ts +14 -23
  335. package/dist-types/ts3.4/commands/CreateAssetModelCommand.d.ts +14 -23
  336. package/dist-types/ts3.4/commands/CreateAssetModelCompositeModelCommand.d.ts +12 -24
  337. package/dist-types/ts3.4/commands/CreateBulkImportJobCommand.d.ts +14 -23
  338. package/dist-types/ts3.4/commands/CreateDashboardCommand.d.ts +14 -23
  339. package/dist-types/ts3.4/commands/CreateGatewayCommand.d.ts +14 -23
  340. package/dist-types/ts3.4/commands/CreatePortalCommand.d.ts +14 -23
  341. package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +14 -23
  342. package/dist-types/ts3.4/commands/DeleteAccessPolicyCommand.d.ts +14 -23
  343. package/dist-types/ts3.4/commands/DeleteAssetCommand.d.ts +14 -23
  344. package/dist-types/ts3.4/commands/DeleteAssetModelCommand.d.ts +14 -23
  345. package/dist-types/ts3.4/commands/DeleteAssetModelCompositeModelCommand.d.ts +12 -24
  346. package/dist-types/ts3.4/commands/DeleteDashboardCommand.d.ts +14 -23
  347. package/dist-types/ts3.4/commands/DeleteGatewayCommand.d.ts +14 -23
  348. package/dist-types/ts3.4/commands/DeletePortalCommand.d.ts +14 -23
  349. package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +14 -23
  350. package/dist-types/ts3.4/commands/DeleteTimeSeriesCommand.d.ts +14 -23
  351. package/dist-types/ts3.4/commands/DescribeAccessPolicyCommand.d.ts +12 -24
  352. package/dist-types/ts3.4/commands/DescribeActionCommand.d.ts +14 -23
  353. package/dist-types/ts3.4/commands/DescribeAssetCommand.d.ts +14 -23
  354. package/dist-types/ts3.4/commands/DescribeAssetCompositeModelCommand.d.ts +12 -24
  355. package/dist-types/ts3.4/commands/DescribeAssetModelCommand.d.ts +14 -23
  356. package/dist-types/ts3.4/commands/DescribeAssetModelCompositeModelCommand.d.ts +12 -24
  357. package/dist-types/ts3.4/commands/DescribeAssetPropertyCommand.d.ts +12 -24
  358. package/dist-types/ts3.4/commands/DescribeBulkImportJobCommand.d.ts +12 -24
  359. package/dist-types/ts3.4/commands/DescribeDashboardCommand.d.ts +14 -23
  360. package/dist-types/ts3.4/commands/DescribeDefaultEncryptionConfigurationCommand.d.ts +12 -24
  361. package/dist-types/ts3.4/commands/DescribeGatewayCapabilityConfigurationCommand.d.ts +12 -24
  362. package/dist-types/ts3.4/commands/DescribeGatewayCommand.d.ts +14 -23
  363. package/dist-types/ts3.4/commands/DescribeLoggingOptionsCommand.d.ts +12 -24
  364. package/dist-types/ts3.4/commands/DescribePortalCommand.d.ts +14 -23
  365. package/dist-types/ts3.4/commands/DescribeProjectCommand.d.ts +14 -23
  366. package/dist-types/ts3.4/commands/DescribeStorageConfigurationCommand.d.ts +12 -24
  367. package/dist-types/ts3.4/commands/DescribeTimeSeriesCommand.d.ts +14 -23
  368. package/dist-types/ts3.4/commands/DisassociateAssetsCommand.d.ts +14 -23
  369. package/dist-types/ts3.4/commands/DisassociateTimeSeriesFromAssetPropertyCommand.d.ts +12 -24
  370. package/dist-types/ts3.4/commands/ExecuteActionCommand.d.ts +14 -23
  371. package/dist-types/ts3.4/commands/ExecuteQueryCommand.d.ts +14 -23
  372. package/dist-types/ts3.4/commands/GetAssetPropertyAggregatesCommand.d.ts +12 -24
  373. package/dist-types/ts3.4/commands/GetAssetPropertyValueCommand.d.ts +12 -24
  374. package/dist-types/ts3.4/commands/GetAssetPropertyValueHistoryCommand.d.ts +12 -24
  375. package/dist-types/ts3.4/commands/GetInterpolatedAssetPropertyValuesCommand.d.ts +12 -24
  376. package/dist-types/ts3.4/commands/ListAccessPoliciesCommand.d.ts +14 -23
  377. package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +14 -23
  378. package/dist-types/ts3.4/commands/ListAssetModelCompositeModelsCommand.d.ts +12 -24
  379. package/dist-types/ts3.4/commands/ListAssetModelPropertiesCommand.d.ts +12 -24
  380. package/dist-types/ts3.4/commands/ListAssetModelsCommand.d.ts +14 -23
  381. package/dist-types/ts3.4/commands/ListAssetPropertiesCommand.d.ts +14 -23
  382. package/dist-types/ts3.4/commands/ListAssetRelationshipsCommand.d.ts +12 -24
  383. package/dist-types/ts3.4/commands/ListAssetsCommand.d.ts +14 -23
  384. package/dist-types/ts3.4/commands/ListAssociatedAssetsCommand.d.ts +12 -24
  385. package/dist-types/ts3.4/commands/ListBulkImportJobsCommand.d.ts +14 -23
  386. package/dist-types/ts3.4/commands/ListCompositionRelationshipsCommand.d.ts +12 -24
  387. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +14 -23
  388. package/dist-types/ts3.4/commands/ListGatewaysCommand.d.ts +14 -23
  389. package/dist-types/ts3.4/commands/ListPortalsCommand.d.ts +14 -23
  390. package/dist-types/ts3.4/commands/ListProjectAssetsCommand.d.ts +14 -23
  391. package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +14 -23
  392. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  393. package/dist-types/ts3.4/commands/ListTimeSeriesCommand.d.ts +14 -23
  394. package/dist-types/ts3.4/commands/PutDefaultEncryptionConfigurationCommand.d.ts +12 -24
  395. package/dist-types/ts3.4/commands/PutLoggingOptionsCommand.d.ts +14 -23
  396. package/dist-types/ts3.4/commands/PutStorageConfigurationCommand.d.ts +12 -24
  397. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  398. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  399. package/dist-types/ts3.4/commands/UpdateAccessPolicyCommand.d.ts +14 -23
  400. package/dist-types/ts3.4/commands/UpdateAssetCommand.d.ts +14 -23
  401. package/dist-types/ts3.4/commands/UpdateAssetModelCommand.d.ts +14 -23
  402. package/dist-types/ts3.4/commands/UpdateAssetModelCompositeModelCommand.d.ts +12 -24
  403. package/dist-types/ts3.4/commands/UpdateAssetPropertyCommand.d.ts +14 -23
  404. package/dist-types/ts3.4/commands/UpdateDashboardCommand.d.ts +14 -23
  405. package/dist-types/ts3.4/commands/UpdateGatewayCapabilityConfigurationCommand.d.ts +12 -24
  406. package/dist-types/ts3.4/commands/UpdateGatewayCommand.d.ts +14 -23
  407. package/dist-types/ts3.4/commands/UpdatePortalCommand.d.ts +14 -23
  408. package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +14 -23
  409. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  410. package/dist-types/ts3.4/pagination/BatchGetAssetPropertyAggregatesPaginator.d.ts +3 -3
  411. package/dist-types/ts3.4/pagination/BatchGetAssetPropertyValueHistoryPaginator.d.ts +3 -3
  412. package/dist-types/ts3.4/pagination/BatchGetAssetPropertyValuePaginator.d.ts +3 -3
  413. package/dist-types/ts3.4/pagination/ExecuteQueryPaginator.d.ts +3 -3
  414. package/dist-types/ts3.4/pagination/GetAssetPropertyAggregatesPaginator.d.ts +3 -3
  415. package/dist-types/ts3.4/pagination/GetAssetPropertyValueHistoryPaginator.d.ts +3 -3
  416. package/dist-types/ts3.4/pagination/GetInterpolatedAssetPropertyValuesPaginator.d.ts +3 -3
  417. package/dist-types/ts3.4/pagination/ListAccessPoliciesPaginator.d.ts +3 -3
  418. package/dist-types/ts3.4/pagination/ListAssetModelCompositeModelsPaginator.d.ts +3 -3
  419. package/dist-types/ts3.4/pagination/ListAssetModelPropertiesPaginator.d.ts +3 -3
  420. package/dist-types/ts3.4/pagination/ListAssetModelsPaginator.d.ts +3 -3
  421. package/dist-types/ts3.4/pagination/ListAssetPropertiesPaginator.d.ts +3 -3
  422. package/dist-types/ts3.4/pagination/ListAssetRelationshipsPaginator.d.ts +3 -3
  423. package/dist-types/ts3.4/pagination/ListAssetsPaginator.d.ts +3 -3
  424. package/dist-types/ts3.4/pagination/ListAssociatedAssetsPaginator.d.ts +3 -3
  425. package/dist-types/ts3.4/pagination/ListBulkImportJobsPaginator.d.ts +3 -3
  426. package/dist-types/ts3.4/pagination/ListCompositionRelationshipsPaginator.d.ts +3 -3
  427. package/dist-types/ts3.4/pagination/ListDashboardsPaginator.d.ts +3 -3
  428. package/dist-types/ts3.4/pagination/ListGatewaysPaginator.d.ts +3 -3
  429. package/dist-types/ts3.4/pagination/ListPortalsPaginator.d.ts +3 -3
  430. package/dist-types/ts3.4/pagination/ListProjectAssetsPaginator.d.ts +3 -3
  431. package/dist-types/ts3.4/pagination/ListProjectsPaginator.d.ts +3 -3
  432. package/dist-types/ts3.4/pagination/ListTimeSeriesPaginator.d.ts +3 -3
  433. package/package.json +11 -11
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ExecuteQueryCommand, } from "../commands/ExecuteQueryCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ExecuteQueryCommand(input), ...args);
5
- };
6
- export async function* paginateExecuteQuery(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateExecuteQuery = createPaginator(IoTSiteWiseClient, ExecuteQueryCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetAssetPropertyAggregatesCommand, } from "../commands/GetAssetPropertyAggregatesCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetAssetPropertyAggregatesCommand(input), ...args);
5
- };
6
- export async function* paginateGetAssetPropertyAggregates(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetAssetPropertyAggregates = createPaginator(IoTSiteWiseClient, GetAssetPropertyAggregatesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetAssetPropertyValueHistoryCommand, } from "../commands/GetAssetPropertyValueHistoryCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetAssetPropertyValueHistoryCommand(input), ...args);
5
- };
6
- export async function* paginateGetAssetPropertyValueHistory(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetAssetPropertyValueHistory = createPaginator(IoTSiteWiseClient, GetAssetPropertyValueHistoryCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { GetInterpolatedAssetPropertyValuesCommand, } from "../commands/GetInterpolatedAssetPropertyValuesCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new GetInterpolatedAssetPropertyValuesCommand(input), ...args);
5
- };
6
- export async function* paginateGetInterpolatedAssetPropertyValues(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateGetInterpolatedAssetPropertyValues = createPaginator(IoTSiteWiseClient, GetInterpolatedAssetPropertyValuesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListAccessPoliciesCommand, } from "../commands/ListAccessPoliciesCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAccessPoliciesCommand(input), ...args);
5
- };
6
- export async function* paginateListAccessPolicies(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListAccessPolicies = createPaginator(IoTSiteWiseClient, ListAccessPoliciesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListAssetModelCompositeModelsCommand, } from "../commands/ListAssetModelCompositeModelsCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAssetModelCompositeModelsCommand(input), ...args);
5
- };
6
- export async function* paginateListAssetModelCompositeModels(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListAssetModelCompositeModels = createPaginator(IoTSiteWiseClient, ListAssetModelCompositeModelsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListAssetModelPropertiesCommand, } from "../commands/ListAssetModelPropertiesCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAssetModelPropertiesCommand(input), ...args);
5
- };
6
- export async function* paginateListAssetModelProperties(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListAssetModelProperties = createPaginator(IoTSiteWiseClient, ListAssetModelPropertiesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListAssetModelsCommand, } from "../commands/ListAssetModelsCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAssetModelsCommand(input), ...args);
5
- };
6
- export async function* paginateListAssetModels(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListAssetModels = createPaginator(IoTSiteWiseClient, ListAssetModelsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListAssetPropertiesCommand, } from "../commands/ListAssetPropertiesCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAssetPropertiesCommand(input), ...args);
5
- };
6
- export async function* paginateListAssetProperties(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListAssetProperties = createPaginator(IoTSiteWiseClient, ListAssetPropertiesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListAssetRelationshipsCommand, } from "../commands/ListAssetRelationshipsCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAssetRelationshipsCommand(input), ...args);
5
- };
6
- export async function* paginateListAssetRelationships(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListAssetRelationships = createPaginator(IoTSiteWiseClient, ListAssetRelationshipsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListAssetsCommand } from "../commands/ListAssetsCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAssetsCommand(input), ...args);
5
- };
6
- export async function* paginateListAssets(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListAssets = createPaginator(IoTSiteWiseClient, ListAssetsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListAssociatedAssetsCommand, } from "../commands/ListAssociatedAssetsCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAssociatedAssetsCommand(input), ...args);
5
- };
6
- export async function* paginateListAssociatedAssets(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListAssociatedAssets = createPaginator(IoTSiteWiseClient, ListAssociatedAssetsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListBulkImportJobsCommand, } from "../commands/ListBulkImportJobsCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListBulkImportJobsCommand(input), ...args);
5
- };
6
- export async function* paginateListBulkImportJobs(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListBulkImportJobs = createPaginator(IoTSiteWiseClient, ListBulkImportJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListCompositionRelationshipsCommand, } from "../commands/ListCompositionRelationshipsCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListCompositionRelationshipsCommand(input), ...args);
5
- };
6
- export async function* paginateListCompositionRelationships(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListCompositionRelationships = createPaginator(IoTSiteWiseClient, ListCompositionRelationshipsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListDashboardsCommand, } from "../commands/ListDashboardsCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListDashboardsCommand(input), ...args);
5
- };
6
- export async function* paginateListDashboards(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListDashboards = createPaginator(IoTSiteWiseClient, ListDashboardsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListGatewaysCommand, } from "../commands/ListGatewaysCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListGatewaysCommand(input), ...args);
5
- };
6
- export async function* paginateListGateways(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListGateways = createPaginator(IoTSiteWiseClient, ListGatewaysCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListPortalsCommand } from "../commands/ListPortalsCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListPortalsCommand(input), ...args);
5
- };
6
- export async function* paginateListPortals(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListPortals = createPaginator(IoTSiteWiseClient, ListPortalsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListProjectAssetsCommand, } from "../commands/ListProjectAssetsCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListProjectAssetsCommand(input), ...args);
5
- };
6
- export async function* paginateListProjectAssets(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListProjectAssets = createPaginator(IoTSiteWiseClient, ListProjectAssetsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListProjectsCommand, } from "../commands/ListProjectsCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListProjectsCommand(input), ...args);
5
- };
6
- export async function* paginateListProjects(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListProjects = createPaginator(IoTSiteWiseClient, ListProjectsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTimeSeriesCommand, } from "../commands/ListTimeSeriesCommand";
2
3
  import { IoTSiteWiseClient } from "../IoTSiteWiseClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTimeSeriesCommand(input), ...args);
5
- };
6
- export async function* paginateListTimeSeries(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof IoTSiteWiseClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListTimeSeries = createPaginator(IoTSiteWiseClient, ListTimeSeriesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSiteWiseClient";
5
4
  import { AssociateAssetsRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AssociateAssetsCommandInput extends AssociateAssetsRequest {
21
20
  */
22
21
  export interface AssociateAssetsCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const AssociateAssetsCommand_base: {
24
+ new (input: AssociateAssetsCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateAssetsCommandInput, AssociateAssetsCommandOutput, IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Associates a child asset with the given parent asset through a hierarchy defined in the
@@ -83,23 +86,5 @@ export interface AssociateAssetsCommandOutput extends __MetadataBearer {
83
86
  * <p>Base exception class for all service exceptions from IoTSiteWise service.</p>
84
87
  *
85
88
  */
86
- export declare class AssociateAssetsCommand extends $Command<AssociateAssetsCommandInput, AssociateAssetsCommandOutput, IoTSiteWiseClientResolvedConfig> {
87
- readonly input: AssociateAssetsCommandInput;
88
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
89
- /**
90
- * @public
91
- */
92
- constructor(input: AssociateAssetsCommandInput);
93
- /**
94
- * @internal
95
- */
96
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTSiteWiseClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateAssetsCommandInput, AssociateAssetsCommandOutput>;
97
- /**
98
- * @internal
99
- */
100
- private serialize;
101
- /**
102
- * @internal
103
- */
104
- private deserialize;
89
+ export declare class AssociateAssetsCommand extends AssociateAssetsCommand_base {
105
90
  }