@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
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateGatewayCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateGatewayCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "IoTSiteWiseClient";
29
- const commandName = "UpdateGatewayCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSIoTSiteWise",
38
- operation: "UpdateGateway",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateGatewayCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateGatewayCommand)(output, context);
49
- }
10
+ class UpdateGatewayCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSIoTSiteWise", "UpdateGateway", {})
22
+ .n("IoTSiteWiseClient", "UpdateGatewayCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateGatewayCommand)
25
+ .de(Aws_restJson1_1.de_UpdateGatewayCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateGatewayCommand = UpdateGatewayCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdatePortalCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdatePortalCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "IoTSiteWiseClient";
29
- const commandName = "UpdatePortalCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSIoTSiteWise",
38
- operation: "UpdatePortal",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdatePortalCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdatePortalCommand)(output, context);
49
- }
10
+ class UpdatePortalCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSIoTSiteWise", "UpdatePortal", {})
22
+ .n("IoTSiteWiseClient", "UpdatePortalCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdatePortalCommand)
25
+ .de(Aws_restJson1_1.de_UpdatePortalCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdatePortalCommand = UpdatePortalCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateProjectCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateProjectCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "IoTSiteWiseClient";
29
- const commandName = "UpdateProjectCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSIoTSiteWise",
38
- operation: "UpdateProject",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateProjectCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateProjectCommand)(output, context);
49
- }
10
+ class UpdateProjectCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSIoTSiteWise", "UpdateProject", {})
22
+ .n("IoTSiteWiseClient", "UpdateProjectCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateProjectCommand)
25
+ .de(Aws_restJson1_1.de_UpdateProjectCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateProjectCommand = UpdateProjectCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateBatchGetAssetPropertyAggregates = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const BatchGetAssetPropertyAggregatesCommand_1 = require("../commands/BatchGetAssetPropertyAggregatesCommand");
5
6
  const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new BatchGetAssetPropertyAggregatesCommand_1.BatchGetAssetPropertyAggregatesCommand(input), ...args);
8
- };
9
- async function* paginateBatchGetAssetPropertyAggregates(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateBatchGetAssetPropertyAggregates = paginateBatchGetAssetPropertyAggregates;
7
+ exports.paginateBatchGetAssetPropertyAggregates = (0, core_1.createPaginator)(IoTSiteWiseClient_1.IoTSiteWiseClient, BatchGetAssetPropertyAggregatesCommand_1.BatchGetAssetPropertyAggregatesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateBatchGetAssetPropertyValueHistory = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const BatchGetAssetPropertyValueHistoryCommand_1 = require("../commands/BatchGetAssetPropertyValueHistoryCommand");
5
6
  const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new BatchGetAssetPropertyValueHistoryCommand_1.BatchGetAssetPropertyValueHistoryCommand(input), ...args);
8
- };
9
- async function* paginateBatchGetAssetPropertyValueHistory(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateBatchGetAssetPropertyValueHistory = paginateBatchGetAssetPropertyValueHistory;
7
+ exports.paginateBatchGetAssetPropertyValueHistory = (0, core_1.createPaginator)(IoTSiteWiseClient_1.IoTSiteWiseClient, BatchGetAssetPropertyValueHistoryCommand_1.BatchGetAssetPropertyValueHistoryCommand, "nextToken", "nextToken", "maxResults");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateBatchGetAssetPropertyValue = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const BatchGetAssetPropertyValueCommand_1 = require("../commands/BatchGetAssetPropertyValueCommand");
5
6
  const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new BatchGetAssetPropertyValueCommand_1.BatchGetAssetPropertyValueCommand(input), ...args);
8
- };
9
- async function* paginateBatchGetAssetPropertyValue(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
20
- }
21
- yield page;
22
- const prevToken = token;
23
- token = page.nextToken;
24
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
25
- }
26
- return undefined;
27
- }
28
- exports.paginateBatchGetAssetPropertyValue = paginateBatchGetAssetPropertyValue;
7
+ exports.paginateBatchGetAssetPropertyValue = (0, core_1.createPaginator)(IoTSiteWiseClient_1.IoTSiteWiseClient, BatchGetAssetPropertyValueCommand_1.BatchGetAssetPropertyValueCommand, "nextToken", "nextToken", "");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateExecuteQuery = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ExecuteQueryCommand_1 = require("../commands/ExecuteQueryCommand");
5
6
  const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ExecuteQueryCommand_1.ExecuteQueryCommand(input), ...args);
8
- };
9
- async function* paginateExecuteQuery(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateExecuteQuery = paginateExecuteQuery;
7
+ exports.paginateExecuteQuery = (0, core_1.createPaginator)(IoTSiteWiseClient_1.IoTSiteWiseClient, ExecuteQueryCommand_1.ExecuteQueryCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetAssetPropertyAggregates = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetAssetPropertyAggregatesCommand_1 = require("../commands/GetAssetPropertyAggregatesCommand");
5
6
  const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetAssetPropertyAggregatesCommand_1.GetAssetPropertyAggregatesCommand(input), ...args);
8
- };
9
- async function* paginateGetAssetPropertyAggregates(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetAssetPropertyAggregates = paginateGetAssetPropertyAggregates;
7
+ exports.paginateGetAssetPropertyAggregates = (0, core_1.createPaginator)(IoTSiteWiseClient_1.IoTSiteWiseClient, GetAssetPropertyAggregatesCommand_1.GetAssetPropertyAggregatesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetAssetPropertyValueHistory = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetAssetPropertyValueHistoryCommand_1 = require("../commands/GetAssetPropertyValueHistoryCommand");
5
6
  const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetAssetPropertyValueHistoryCommand_1.GetAssetPropertyValueHistoryCommand(input), ...args);
8
- };
9
- async function* paginateGetAssetPropertyValueHistory(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetAssetPropertyValueHistory = paginateGetAssetPropertyValueHistory;
7
+ exports.paginateGetAssetPropertyValueHistory = (0, core_1.createPaginator)(IoTSiteWiseClient_1.IoTSiteWiseClient, GetAssetPropertyValueHistoryCommand_1.GetAssetPropertyValueHistoryCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetInterpolatedAssetPropertyValues = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const GetInterpolatedAssetPropertyValuesCommand_1 = require("../commands/GetInterpolatedAssetPropertyValuesCommand");
5
6
  const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new GetInterpolatedAssetPropertyValuesCommand_1.GetInterpolatedAssetPropertyValuesCommand(input), ...args);
8
- };
9
- async function* paginateGetInterpolatedAssetPropertyValues(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateGetInterpolatedAssetPropertyValues = paginateGetInterpolatedAssetPropertyValues;
7
+ exports.paginateGetInterpolatedAssetPropertyValues = (0, core_1.createPaginator)(IoTSiteWiseClient_1.IoTSiteWiseClient, GetInterpolatedAssetPropertyValuesCommand_1.GetInterpolatedAssetPropertyValuesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAccessPolicies = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListAccessPoliciesCommand_1 = require("../commands/ListAccessPoliciesCommand");
5
6
  const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAccessPoliciesCommand_1.ListAccessPoliciesCommand(input), ...args);
8
- };
9
- async function* paginateListAccessPolicies(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListAccessPolicies = paginateListAccessPolicies;
7
+ exports.paginateListAccessPolicies = (0, core_1.createPaginator)(IoTSiteWiseClient_1.IoTSiteWiseClient, ListAccessPoliciesCommand_1.ListAccessPoliciesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAssetModelCompositeModels = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListAssetModelCompositeModelsCommand_1 = require("../commands/ListAssetModelCompositeModelsCommand");
5
6
  const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAssetModelCompositeModelsCommand_1.ListAssetModelCompositeModelsCommand(input), ...args);
8
- };
9
- async function* paginateListAssetModelCompositeModels(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListAssetModelCompositeModels = paginateListAssetModelCompositeModels;
7
+ exports.paginateListAssetModelCompositeModels = (0, core_1.createPaginator)(IoTSiteWiseClient_1.IoTSiteWiseClient, ListAssetModelCompositeModelsCommand_1.ListAssetModelCompositeModelsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAssetModelProperties = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListAssetModelPropertiesCommand_1 = require("../commands/ListAssetModelPropertiesCommand");
5
6
  const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAssetModelPropertiesCommand_1.ListAssetModelPropertiesCommand(input), ...args);
8
- };
9
- async function* paginateListAssetModelProperties(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListAssetModelProperties = paginateListAssetModelProperties;
7
+ exports.paginateListAssetModelProperties = (0, core_1.createPaginator)(IoTSiteWiseClient_1.IoTSiteWiseClient, ListAssetModelPropertiesCommand_1.ListAssetModelPropertiesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAssetModels = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListAssetModelsCommand_1 = require("../commands/ListAssetModelsCommand");
5
6
  const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAssetModelsCommand_1.ListAssetModelsCommand(input), ...args);
8
- };
9
- async function* paginateListAssetModels(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListAssetModels = paginateListAssetModels;
7
+ exports.paginateListAssetModels = (0, core_1.createPaginator)(IoTSiteWiseClient_1.IoTSiteWiseClient, ListAssetModelsCommand_1.ListAssetModelsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAssetProperties = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListAssetPropertiesCommand_1 = require("../commands/ListAssetPropertiesCommand");
5
6
  const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAssetPropertiesCommand_1.ListAssetPropertiesCommand(input), ...args);
8
- };
9
- async function* paginateListAssetProperties(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListAssetProperties = paginateListAssetProperties;
7
+ exports.paginateListAssetProperties = (0, core_1.createPaginator)(IoTSiteWiseClient_1.IoTSiteWiseClient, ListAssetPropertiesCommand_1.ListAssetPropertiesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListAssetRelationships = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListAssetRelationshipsCommand_1 = require("../commands/ListAssetRelationshipsCommand");
5
6
  const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListAssetRelationshipsCommand_1.ListAssetRelationshipsCommand(input), ...args);
8
- };
9
- async function* paginateListAssetRelationships(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListAssetRelationships = paginateListAssetRelationships;
7
+ exports.paginateListAssetRelationships = (0, core_1.createPaginator)(IoTSiteWiseClient_1.IoTSiteWiseClient, ListAssetRelationshipsCommand_1.ListAssetRelationshipsCommand, "nextToken", "nextToken", "maxResults");