@aws-sdk/client-iotsitewise 3.1097.0 → 3.1098.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 (294) hide show
  1. package/README.md +315 -0
  2. package/dist-cjs/index.js +2189 -237
  3. package/dist-es/IoTSiteWise.js +118 -0
  4. package/dist-es/commands/BatchAssociateDataSegmentsToDatasetCommand.js +4 -0
  5. package/dist-es/commands/BatchDeleteDatasetDataSegmentsCommand.js +4 -0
  6. package/dist-es/commands/BatchDisassociateDataSegmentsFromDatasetCommand.js +4 -0
  7. package/dist-es/commands/CancelEnrichmentJobCommand.js +4 -0
  8. package/dist-es/commands/CancelPipelineExecutionCommand.js +4 -0
  9. package/dist-es/commands/CancelQueryCommand.js +4 -0
  10. package/dist-es/commands/CreateApplicationCommand.js +4 -0
  11. package/dist-es/commands/CreateDatasetExportJobCommand.js +4 -0
  12. package/dist-es/commands/CreateEnrichmentJobCommand.js +4 -0
  13. package/dist-es/commands/CreatePipelineCommand.js +4 -0
  14. package/dist-es/commands/CreateTaskCommand.js +4 -0
  15. package/dist-es/commands/CreateWorkspaceCommand.js +4 -0
  16. package/dist-es/commands/DeleteApplicationCommand.js +4 -0
  17. package/dist-es/commands/DeletePipelineCommand.js +4 -0
  18. package/dist-es/commands/DeleteTaskCommand.js +4 -0
  19. package/dist-es/commands/DeleteWorkspaceCommand.js +4 -0
  20. package/dist-es/commands/DescribeApplicationCommand.js +4 -0
  21. package/dist-es/commands/DescribeDatasetExportJobCommand.js +4 -0
  22. package/dist-es/commands/DescribeEnrichmentJobCommand.js +4 -0
  23. package/dist-es/commands/DescribePipelineCommand.js +4 -0
  24. package/dist-es/commands/DescribePipelineExecutionCommand.js +4 -0
  25. package/dist-es/commands/DescribeQueryCommand.js +4 -0
  26. package/dist-es/commands/DescribeSearchCommand.js +4 -0
  27. package/dist-es/commands/DescribeTaskCommand.js +4 -0
  28. package/dist-es/commands/DescribeWorkspaceCommand.js +4 -0
  29. package/dist-es/commands/GetCaptureDataCommand.js +4 -0
  30. package/dist-es/commands/GetQueryResultsCommand.js +4 -0
  31. package/dist-es/commands/GetSearchResultsCommand.js +4 -0
  32. package/dist-es/commands/ListApplicationsCommand.js +4 -0
  33. package/dist-es/commands/ListDatasetDataSegmentRelationshipsCommand.js +4 -0
  34. package/dist-es/commands/ListDatasetDataSegmentsCommand.js +4 -0
  35. package/dist-es/commands/ListDatasetExportJobsCommand.js +4 -0
  36. package/dist-es/commands/ListEnrichmentJobsCommand.js +4 -0
  37. package/dist-es/commands/ListPipelineExecutionsCommand.js +4 -0
  38. package/dist-es/commands/ListPipelinesCommand.js +4 -0
  39. package/dist-es/commands/ListQueriesCommand.js +4 -0
  40. package/dist-es/commands/ListSearchesCommand.js +4 -0
  41. package/dist-es/commands/ListTasksCommand.js +4 -0
  42. package/dist-es/commands/ListWorkspacesCommand.js +4 -0
  43. package/dist-es/commands/StartPipelineExecutionCommand.js +4 -0
  44. package/dist-es/commands/StartQueryCommand.js +4 -0
  45. package/dist-es/commands/StartSearchCommand.js +4 -0
  46. package/dist-es/commands/UpdatePipelineCommand.js +4 -0
  47. package/dist-es/commands/UpdateTaskCommand.js +4 -0
  48. package/dist-es/commands/UpdateWorkspaceCommand.js +4 -0
  49. package/dist-es/commands/index.js +45 -0
  50. package/dist-es/models/enums.js +157 -3
  51. package/dist-es/pagination/DescribePipelineExecutionPaginator.js +4 -0
  52. package/dist-es/pagination/GetQueryResultsPaginator.js +4 -0
  53. package/dist-es/pagination/GetSearchResultsPaginator.js +4 -0
  54. package/dist-es/pagination/ListApplicationsPaginator.js +4 -0
  55. package/dist-es/pagination/ListDatasetDataSegmentRelationshipsPaginator.js +4 -0
  56. package/dist-es/pagination/ListDatasetDataSegmentsPaginator.js +4 -0
  57. package/dist-es/pagination/ListDatasetExportJobsPaginator.js +4 -0
  58. package/dist-es/pagination/ListEnrichmentJobsPaginator.js +4 -0
  59. package/dist-es/pagination/ListPipelineExecutionsPaginator.js +4 -0
  60. package/dist-es/pagination/ListPipelinesPaginator.js +4 -0
  61. package/dist-es/pagination/ListQueriesPaginator.js +4 -0
  62. package/dist-es/pagination/ListSearchesPaginator.js +4 -0
  63. package/dist-es/pagination/ListTasksPaginator.js +4 -0
  64. package/dist-es/pagination/ListWorkspacesPaginator.js +4 -0
  65. package/dist-es/pagination/index.js +14 -0
  66. package/dist-es/schemas/schemas_0.js +1544 -233
  67. package/dist-types/IoTSiteWise.d.ts +415 -0
  68. package/dist-types/IoTSiteWiseClient.d.ts +47 -2
  69. package/dist-types/commands/BatchAssociateDataSegmentsToDatasetCommand.d.ts +133 -0
  70. package/dist-types/commands/BatchAssociateProjectAssetsCommand.d.ts +7 -1
  71. package/dist-types/commands/BatchDeleteDatasetDataSegmentsCommand.d.ts +123 -0
  72. package/dist-types/commands/BatchDisassociateDataSegmentsFromDatasetCommand.d.ts +125 -0
  73. package/dist-types/commands/CancelEnrichmentJobCommand.d.ts +124 -0
  74. package/dist-types/commands/CancelPipelineExecutionCommand.d.ts +103 -0
  75. package/dist-types/commands/CancelQueryCommand.d.ts +96 -0
  76. package/dist-types/commands/CreateAccessPolicyCommand.d.ts +7 -1
  77. package/dist-types/commands/CreateApplicationCommand.d.ts +111 -0
  78. package/dist-types/commands/CreateAssetModelCommand.d.ts +2 -2
  79. package/dist-types/commands/CreateAssetModelCompositeModelCommand.d.ts +2 -1
  80. package/dist-types/commands/CreateBulkImportJobCommand.d.ts +28 -5
  81. package/dist-types/commands/CreateDashboardCommand.d.ts +7 -1
  82. package/dist-types/commands/CreateDatasetCommand.d.ts +20 -3
  83. package/dist-types/commands/CreateDatasetExportJobCommand.d.ts +141 -0
  84. package/dist-types/commands/CreateEnrichmentJobCommand.d.ts +147 -0
  85. package/dist-types/commands/CreatePipelineCommand.d.ts +136 -0
  86. package/dist-types/commands/CreatePortalCommand.d.ts +7 -1
  87. package/dist-types/commands/CreateProjectCommand.d.ts +7 -1
  88. package/dist-types/commands/CreateTaskCommand.d.ts +133 -0
  89. package/dist-types/commands/CreateWorkspaceCommand.d.ts +119 -0
  90. package/dist-types/commands/DeleteApplicationCommand.d.ts +93 -0
  91. package/dist-types/commands/DeleteAssetCommand.d.ts +1 -0
  92. package/dist-types/commands/DeleteAssetModelCommand.d.ts +1 -0
  93. package/dist-types/commands/DeleteAssetModelCompositeModelCommand.d.ts +1 -0
  94. package/dist-types/commands/DeleteDatasetCommand.d.ts +2 -1
  95. package/dist-types/commands/DeletePipelineCommand.d.ts +104 -0
  96. package/dist-types/commands/DeleteTaskCommand.d.ts +103 -0
  97. package/dist-types/commands/DeleteTimeSeriesCommand.d.ts +3 -1
  98. package/dist-types/commands/DeleteWorkspaceCommand.d.ts +103 -0
  99. package/dist-types/commands/DescribeApplicationCommand.d.ts +100 -0
  100. package/dist-types/commands/DescribeAssetCommand.d.ts +2 -2
  101. package/dist-types/commands/DescribeAssetCompositeModelCommand.d.ts +1 -1
  102. package/dist-types/commands/DescribeAssetModelCommand.d.ts +2 -2
  103. package/dist-types/commands/DescribeAssetModelCompositeModelCommand.d.ts +1 -1
  104. package/dist-types/commands/DescribeAssetPropertyCommand.d.ts +2 -2
  105. package/dist-types/commands/DescribeBulkImportJobCommand.d.ts +23 -3
  106. package/dist-types/commands/DescribeDatasetCommand.d.ts +27 -2
  107. package/dist-types/commands/DescribeDatasetExportJobCommand.d.ts +138 -0
  108. package/dist-types/commands/DescribeDefaultEncryptionConfigurationCommand.d.ts +3 -0
  109. package/dist-types/commands/DescribeEnrichmentJobCommand.d.ts +151 -0
  110. package/dist-types/commands/DescribeLoggingOptionsCommand.d.ts +4 -2
  111. package/dist-types/commands/DescribePipelineCommand.d.ts +120 -0
  112. package/dist-types/commands/DescribePipelineExecutionCommand.d.ts +156 -0
  113. package/dist-types/commands/DescribeQueryCommand.d.ts +100 -0
  114. package/dist-types/commands/DescribeSearchCommand.d.ts +102 -0
  115. package/dist-types/commands/DescribeStorageConfigurationCommand.d.ts +1 -1
  116. package/dist-types/commands/DescribeTaskCommand.d.ts +120 -0
  117. package/dist-types/commands/DescribeTimeSeriesCommand.d.ts +4 -2
  118. package/dist-types/commands/DescribeWorkspaceCommand.d.ts +105 -0
  119. package/dist-types/commands/DisassociateAssetsCommand.d.ts +1 -1
  120. package/dist-types/commands/DisassociateTimeSeriesFromAssetPropertyCommand.d.ts +1 -1
  121. package/dist-types/commands/ExecuteActionCommand.d.ts +1 -1
  122. package/dist-types/commands/ExecuteQueryCommand.d.ts +1 -2
  123. package/dist-types/commands/GetAssetPropertyAggregatesCommand.d.ts +1 -1
  124. package/dist-types/commands/GetAssetPropertyValueCommand.d.ts +1 -1
  125. package/dist-types/commands/GetAssetPropertyValueHistoryCommand.d.ts +1 -1
  126. package/dist-types/commands/GetCaptureDataCommand.d.ts +116 -0
  127. package/dist-types/commands/GetInterpolatedAssetPropertyValuesCommand.d.ts +1 -1
  128. package/dist-types/commands/GetQueryResultsCommand.d.ts +104 -0
  129. package/dist-types/commands/GetSearchResultsCommand.d.ts +118 -0
  130. package/dist-types/commands/InvokeAssistantCommand.d.ts +1 -1
  131. package/dist-types/commands/ListAccessPoliciesCommand.d.ts +1 -1
  132. package/dist-types/commands/ListActionsCommand.d.ts +1 -1
  133. package/dist-types/commands/ListApplicationsCommand.d.ts +101 -0
  134. package/dist-types/commands/ListAssetModelCompositeModelsCommand.d.ts +1 -1
  135. package/dist-types/commands/ListAssetModelPropertiesCommand.d.ts +2 -2
  136. package/dist-types/commands/ListAssetModelsCommand.d.ts +4 -1
  137. package/dist-types/commands/ListAssetPropertiesCommand.d.ts +1 -1
  138. package/dist-types/commands/ListAssetRelationshipsCommand.d.ts +1 -1
  139. package/dist-types/commands/ListAssetsCommand.d.ts +1 -1
  140. package/dist-types/commands/ListAssociatedAssetsCommand.d.ts +1 -1
  141. package/dist-types/commands/ListBulkImportJobsCommand.d.ts +2 -1
  142. package/dist-types/commands/ListCompositionRelationshipsCommand.d.ts +1 -1
  143. package/dist-types/commands/ListComputationModelDataBindingUsagesCommand.d.ts +1 -1
  144. package/dist-types/commands/ListComputationModelResolveToResourcesCommand.d.ts +1 -1
  145. package/dist-types/commands/ListComputationModelsCommand.d.ts +1 -1
  146. package/dist-types/commands/ListDashboardsCommand.d.ts +1 -1
  147. package/dist-types/commands/ListDatasetDataSegmentRelationshipsCommand.d.ts +107 -0
  148. package/dist-types/commands/ListDatasetDataSegmentsCommand.d.ts +111 -0
  149. package/dist-types/commands/ListDatasetExportJobsCommand.d.ts +102 -0
  150. package/dist-types/commands/ListDatasetsCommand.d.ts +16 -2
  151. package/dist-types/commands/ListEnrichmentJobsCommand.d.ts +151 -0
  152. package/dist-types/commands/ListExecutionsCommand.d.ts +1 -1
  153. package/dist-types/commands/ListGatewaysCommand.d.ts +1 -1
  154. package/dist-types/commands/ListPipelineExecutionsCommand.d.ts +126 -0
  155. package/dist-types/commands/ListPipelinesCommand.d.ts +109 -0
  156. package/dist-types/commands/ListQueriesCommand.d.ts +101 -0
  157. package/dist-types/commands/ListSearchesCommand.d.ts +119 -0
  158. package/dist-types/commands/ListTasksCommand.d.ts +109 -0
  159. package/dist-types/commands/ListTimeSeriesCommand.d.ts +3 -1
  160. package/dist-types/commands/ListWorkspacesCommand.d.ts +103 -0
  161. package/dist-types/commands/PutDefaultEncryptionConfigurationCommand.d.ts +3 -0
  162. package/dist-types/commands/PutLoggingOptionsCommand.d.ts +1 -0
  163. package/dist-types/commands/StartPipelineExecutionCommand.d.ts +118 -0
  164. package/dist-types/commands/StartQueryCommand.d.ts +97 -0
  165. package/dist-types/commands/StartSearchCommand.d.ts +131 -0
  166. package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +7 -1
  167. package/dist-types/commands/UpdateAssetCommand.d.ts +1 -0
  168. package/dist-types/commands/UpdateAssetModelCommand.d.ts +3 -2
  169. package/dist-types/commands/UpdateAssetModelCompositeModelCommand.d.ts +2 -1
  170. package/dist-types/commands/UpdateDashboardCommand.d.ts +7 -1
  171. package/dist-types/commands/UpdateDatasetCommand.d.ts +21 -2
  172. package/dist-types/commands/UpdatePipelineCommand.d.ts +127 -0
  173. package/dist-types/commands/UpdatePortalCommand.d.ts +7 -1
  174. package/dist-types/commands/UpdateProjectCommand.d.ts +7 -1
  175. package/dist-types/commands/UpdateTaskCommand.d.ts +120 -0
  176. package/dist-types/commands/UpdateWorkspaceCommand.d.ts +109 -0
  177. package/dist-types/commands/index.d.ts +45 -0
  178. package/dist-types/models/enums.d.ts +350 -4
  179. package/dist-types/models/models_0.d.ts +2607 -2755
  180. package/dist-types/models/models_1.d.ts +4139 -33
  181. package/dist-types/pagination/DescribePipelineExecutionPaginator.d.ts +7 -0
  182. package/dist-types/pagination/GetQueryResultsPaginator.d.ts +7 -0
  183. package/dist-types/pagination/GetSearchResultsPaginator.d.ts +7 -0
  184. package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
  185. package/dist-types/pagination/ListDatasetDataSegmentRelationshipsPaginator.d.ts +7 -0
  186. package/dist-types/pagination/ListDatasetDataSegmentsPaginator.d.ts +7 -0
  187. package/dist-types/pagination/ListDatasetExportJobsPaginator.d.ts +7 -0
  188. package/dist-types/pagination/ListEnrichmentJobsPaginator.d.ts +7 -0
  189. package/dist-types/pagination/ListPipelineExecutionsPaginator.d.ts +7 -0
  190. package/dist-types/pagination/ListPipelinesPaginator.d.ts +7 -0
  191. package/dist-types/pagination/ListQueriesPaginator.d.ts +7 -0
  192. package/dist-types/pagination/ListSearchesPaginator.d.ts +7 -0
  193. package/dist-types/pagination/ListTasksPaginator.d.ts +7 -0
  194. package/dist-types/pagination/ListWorkspacesPaginator.d.ts +7 -0
  195. package/dist-types/pagination/index.d.ts +14 -0
  196. package/dist-types/schemas/schemas_0.d.ts +190 -0
  197. package/dist-types/ts3.4/IoTSiteWise.d.ts +841 -0
  198. package/dist-types/ts3.4/IoTSiteWiseClient.d.ts +248 -2
  199. package/dist-types/ts3.4/commands/BatchAssociateDataSegmentsToDatasetCommand.d.ts +42 -0
  200. package/dist-types/ts3.4/commands/BatchDeleteDatasetDataSegmentsCommand.d.ts +42 -0
  201. package/dist-types/ts3.4/commands/BatchDisassociateDataSegmentsFromDatasetCommand.d.ts +42 -0
  202. package/dist-types/ts3.4/commands/CancelEnrichmentJobCommand.d.ts +39 -0
  203. package/dist-types/ts3.4/commands/CancelPipelineExecutionCommand.d.ts +42 -0
  204. package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +38 -0
  205. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +39 -0
  206. package/dist-types/ts3.4/commands/CreateDatasetExportJobCommand.d.ts +39 -0
  207. package/dist-types/ts3.4/commands/CreateEnrichmentJobCommand.d.ts +39 -0
  208. package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +38 -0
  209. package/dist-types/ts3.4/commands/CreateTaskCommand.d.ts +38 -0
  210. package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +38 -0
  211. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +39 -0
  212. package/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +38 -0
  213. package/dist-types/ts3.4/commands/DeleteTaskCommand.d.ts +38 -0
  214. package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +38 -0
  215. package/dist-types/ts3.4/commands/DescribeApplicationCommand.d.ts +39 -0
  216. package/dist-types/ts3.4/commands/DescribeDatasetExportJobCommand.d.ts +42 -0
  217. package/dist-types/ts3.4/commands/DescribeEnrichmentJobCommand.d.ts +39 -0
  218. package/dist-types/ts3.4/commands/DescribeLoggingOptionsCommand.d.ts +1 -1
  219. package/dist-types/ts3.4/commands/DescribePipelineCommand.d.ts +38 -0
  220. package/dist-types/ts3.4/commands/DescribePipelineExecutionCommand.d.ts +42 -0
  221. package/dist-types/ts3.4/commands/DescribeQueryCommand.d.ts +38 -0
  222. package/dist-types/ts3.4/commands/DescribeSearchCommand.d.ts +39 -0
  223. package/dist-types/ts3.4/commands/DescribeStorageConfigurationCommand.d.ts +1 -1
  224. package/dist-types/ts3.4/commands/DescribeTaskCommand.d.ts +38 -0
  225. package/dist-types/ts3.4/commands/DescribeTimeSeriesCommand.d.ts +1 -1
  226. package/dist-types/ts3.4/commands/DescribeWorkspaceCommand.d.ts +39 -0
  227. package/dist-types/ts3.4/commands/DisassociateAssetsCommand.d.ts +1 -1
  228. package/dist-types/ts3.4/commands/DisassociateTimeSeriesFromAssetPropertyCommand.d.ts +1 -1
  229. package/dist-types/ts3.4/commands/ExecuteActionCommand.d.ts +1 -1
  230. package/dist-types/ts3.4/commands/ExecuteQueryCommand.d.ts +1 -2
  231. package/dist-types/ts3.4/commands/GetAssetPropertyAggregatesCommand.d.ts +1 -1
  232. package/dist-types/ts3.4/commands/GetAssetPropertyValueCommand.d.ts +1 -1
  233. package/dist-types/ts3.4/commands/GetAssetPropertyValueHistoryCommand.d.ts +1 -1
  234. package/dist-types/ts3.4/commands/GetCaptureDataCommand.d.ts +38 -0
  235. package/dist-types/ts3.4/commands/GetInterpolatedAssetPropertyValuesCommand.d.ts +1 -1
  236. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +38 -0
  237. package/dist-types/ts3.4/commands/GetSearchResultsCommand.d.ts +38 -0
  238. package/dist-types/ts3.4/commands/InvokeAssistantCommand.d.ts +1 -1
  239. package/dist-types/ts3.4/commands/ListAccessPoliciesCommand.d.ts +1 -1
  240. package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +1 -1
  241. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +38 -0
  242. package/dist-types/ts3.4/commands/ListAssetModelCompositeModelsCommand.d.ts +1 -1
  243. package/dist-types/ts3.4/commands/ListAssetModelPropertiesCommand.d.ts +1 -1
  244. package/dist-types/ts3.4/commands/ListAssetModelsCommand.d.ts +1 -1
  245. package/dist-types/ts3.4/commands/ListAssetPropertiesCommand.d.ts +1 -1
  246. package/dist-types/ts3.4/commands/ListAssetRelationshipsCommand.d.ts +1 -1
  247. package/dist-types/ts3.4/commands/ListAssetsCommand.d.ts +1 -1
  248. package/dist-types/ts3.4/commands/ListAssociatedAssetsCommand.d.ts +1 -1
  249. package/dist-types/ts3.4/commands/ListBulkImportJobsCommand.d.ts +1 -1
  250. package/dist-types/ts3.4/commands/ListCompositionRelationshipsCommand.d.ts +1 -1
  251. package/dist-types/ts3.4/commands/ListComputationModelDataBindingUsagesCommand.d.ts +1 -1
  252. package/dist-types/ts3.4/commands/ListComputationModelResolveToResourcesCommand.d.ts +1 -1
  253. package/dist-types/ts3.4/commands/ListComputationModelsCommand.d.ts +1 -1
  254. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +1 -1
  255. package/dist-types/ts3.4/commands/ListDatasetDataSegmentRelationshipsCommand.d.ts +42 -0
  256. package/dist-types/ts3.4/commands/ListDatasetDataSegmentsCommand.d.ts +42 -0
  257. package/dist-types/ts3.4/commands/ListDatasetExportJobsCommand.d.ts +39 -0
  258. package/dist-types/ts3.4/commands/ListDatasetsCommand.d.ts +1 -1
  259. package/dist-types/ts3.4/commands/ListEnrichmentJobsCommand.d.ts +39 -0
  260. package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +1 -1
  261. package/dist-types/ts3.4/commands/ListGatewaysCommand.d.ts +1 -1
  262. package/dist-types/ts3.4/commands/ListPipelineExecutionsCommand.d.ts +39 -0
  263. package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +38 -0
  264. package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +38 -0
  265. package/dist-types/ts3.4/commands/ListSearchesCommand.d.ts +38 -0
  266. package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +38 -0
  267. package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +38 -0
  268. package/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +39 -0
  269. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +38 -0
  270. package/dist-types/ts3.4/commands/StartSearchCommand.d.ts +38 -0
  271. package/dist-types/ts3.4/commands/UpdatePipelineCommand.d.ts +38 -0
  272. package/dist-types/ts3.4/commands/UpdateTaskCommand.d.ts +38 -0
  273. package/dist-types/ts3.4/commands/UpdateWorkspaceCommand.d.ts +38 -0
  274. package/dist-types/ts3.4/commands/index.d.ts +45 -0
  275. package/dist-types/ts3.4/models/enums.d.ts +188 -4
  276. package/dist-types/ts3.4/models/models_0.d.ts +550 -614
  277. package/dist-types/ts3.4/models/models_1.d.ts +1048 -4
  278. package/dist-types/ts3.4/pagination/DescribePipelineExecutionPaginator.d.ts +11 -0
  279. package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +11 -0
  280. package/dist-types/ts3.4/pagination/GetSearchResultsPaginator.d.ts +11 -0
  281. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
  282. package/dist-types/ts3.4/pagination/ListDatasetDataSegmentRelationshipsPaginator.d.ts +11 -0
  283. package/dist-types/ts3.4/pagination/ListDatasetDataSegmentsPaginator.d.ts +11 -0
  284. package/dist-types/ts3.4/pagination/ListDatasetExportJobsPaginator.d.ts +11 -0
  285. package/dist-types/ts3.4/pagination/ListEnrichmentJobsPaginator.d.ts +11 -0
  286. package/dist-types/ts3.4/pagination/ListPipelineExecutionsPaginator.d.ts +11 -0
  287. package/dist-types/ts3.4/pagination/ListPipelinesPaginator.d.ts +11 -0
  288. package/dist-types/ts3.4/pagination/ListQueriesPaginator.d.ts +8 -0
  289. package/dist-types/ts3.4/pagination/ListSearchesPaginator.d.ts +11 -0
  290. package/dist-types/ts3.4/pagination/ListTasksPaginator.d.ts +8 -0
  291. package/dist-types/ts3.4/pagination/ListWorkspacesPaginator.d.ts +11 -0
  292. package/dist-types/ts3.4/pagination/index.d.ts +14 -0
  293. package/dist-types/ts3.4/schemas/schemas_0.d.ts +190 -0
  294. package/package.json +6 -6
@@ -0,0 +1,119 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateWorkspaceRequest, CreateWorkspaceResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateWorkspaceCommand}.
11
+ */
12
+ export interface CreateWorkspaceCommandInput extends CreateWorkspaceRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateWorkspaceCommand}.
18
+ */
19
+ export interface CreateWorkspaceCommandOutput extends CreateWorkspaceResponse, __MetadataBearer {
20
+ }
21
+ declare const CreateWorkspaceCommand_base: {
22
+ new (input: CreateWorkspaceCommandInput): import("@smithy/core/client").CommandImpl<CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput, import("..").IoTSiteWiseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateWorkspaceCommandInput): import("@smithy/core/client").CommandImpl<CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput, import("..").IoTSiteWiseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates a workspace in IoT SiteWise. A workspace isolates its resources, such as datasets, time
28
+ * series, pipelines, and tasks, and their data from other workspaces, and has its own quotas
29
+ * and throttling limits. You must specify an encryption configuration when you create
30
+ * a workspace. The operation returns immediately with the workspace in the
31
+ * <code>CREATING</code> state. Provisioning completes asynchronously, after which the workspace
32
+ * state is <code>ACTIVE</code>, or <code>FAILED</code> if provisioning doesn't complete.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { IoTSiteWiseClient, CreateWorkspaceCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
37
+ * // const { IoTSiteWiseClient, CreateWorkspaceCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
38
+ * // import type { IoTSiteWiseClientConfig } from "@aws-sdk/client-iotsitewise";
39
+ * const config = {}; // type is IoTSiteWiseClientConfig
40
+ * const client = new IoTSiteWiseClient(config);
41
+ * const input = { // CreateWorkspaceRequest
42
+ * workspaceName: "STRING_VALUE", // required
43
+ * workspaceDescription: "STRING_VALUE",
44
+ * encryptionConfiguration: { // WorkspaceEncryptionConfiguration
45
+ * encryptionType: "SITEWISE_DEFAULT_ENCRYPTION" || "KMS_BASED_ENCRYPTION", // required
46
+ * kmsKeyId: "STRING_VALUE",
47
+ * },
48
+ * tags: { // TagMap
49
+ * "<keys>": "STRING_VALUE",
50
+ * },
51
+ * clientToken: "STRING_VALUE",
52
+ * };
53
+ * const command = new CreateWorkspaceCommand(input);
54
+ * const response = await client.send(command);
55
+ * // { // CreateWorkspaceResponse
56
+ * // workspaceName: "STRING_VALUE", // required
57
+ * // workspaceArn: "STRING_VALUE", // required
58
+ * // workspaceStatus: { // WorkspaceStatus
59
+ * // state: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "FAILED", // required
60
+ * // error: { // WorkspaceErrorDetails
61
+ * // code: "VALIDATION_ERROR" || "INTERNAL_FAILURE", // required
62
+ * // message: "STRING_VALUE", // required
63
+ * // },
64
+ * // },
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param CreateWorkspaceCommandInput - {@link CreateWorkspaceCommandInput}
70
+ * @returns {@link CreateWorkspaceCommandOutput}
71
+ * @see {@link CreateWorkspaceCommandInput} for command's `input` shape.
72
+ * @see {@link CreateWorkspaceCommandOutput} for command's `response` shape.
73
+ * @see {@link IoTSiteWiseClientResolvedConfig | config} for IoTSiteWiseClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDeniedException} (client fault)
76
+ * <p>Access is denied.</p>
77
+ *
78
+ * @throws {@link ConflictingOperationException} (client fault)
79
+ * <p>Your request has conflicting operations. This can occur if you're trying to perform more
80
+ * than one operation on the same resource at the same time.</p>
81
+ *
82
+ * @throws {@link InternalFailureException} (server fault)
83
+ * <p>IoT SiteWise can't process your request right now. Try again later.</p>
84
+ *
85
+ * @throws {@link InvalidRequestException} (client fault)
86
+ * <p>The request isn't valid. This can occur if your request contains malformed JSON or
87
+ * unsupported characters. Check your request and try again.</p>
88
+ *
89
+ * @throws {@link LimitExceededException} (client fault)
90
+ * <p>You've reached the quota for a resource. For example, this can occur if you're trying to
91
+ * associate more than the allowed number of child assets or attempting to create more than the
92
+ * allowed number of properties for an asset model.</p>
93
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html">Quotas</a> in the <i>IoT SiteWise User Guide</i>.</p>
94
+ *
95
+ * @throws {@link ThrottlingException} (client fault)
96
+ * <p>Your request exceeded a rate limit. For example, you might have exceeded the number of
97
+ * IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so
98
+ * on.</p>
99
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html">Quotas</a> in the <i>IoT SiteWise User Guide</i>.</p>
100
+ *
101
+ * @throws {@link IoTSiteWiseServiceException}
102
+ * <p>Base exception class for all service exceptions from IoTSiteWise service.</p>
103
+ *
104
+ *
105
+ * @public
106
+ */
107
+ export declare class CreateWorkspaceCommand extends CreateWorkspaceCommand_base {
108
+ /** @internal type navigation helper, not in runtime. */
109
+ protected static __types: {
110
+ api: {
111
+ input: CreateWorkspaceRequest;
112
+ output: CreateWorkspaceResponse;
113
+ };
114
+ sdk: {
115
+ input: CreateWorkspaceCommandInput;
116
+ output: CreateWorkspaceCommandOutput;
117
+ };
118
+ };
119
+ }
@@ -0,0 +1,93 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteApplicationRequest, DeleteApplicationResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteApplicationCommand}.
11
+ */
12
+ export interface DeleteApplicationCommandInput extends DeleteApplicationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteApplicationCommand}.
18
+ */
19
+ export interface DeleteApplicationCommandOutput extends DeleteApplicationResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteApplicationCommand_base: {
22
+ new (input: DeleteApplicationCommandInput): import("@smithy/core/client").CommandImpl<DeleteApplicationCommandInput, DeleteApplicationCommandOutput, import("..").IoTSiteWiseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteApplicationCommandInput): import("@smithy/core/client").CommandImpl<DeleteApplicationCommandInput, DeleteApplicationCommandOutput, import("..").IoTSiteWiseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes an application by ID</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { IoTSiteWiseClient, DeleteApplicationCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
32
+ * // const { IoTSiteWiseClient, DeleteApplicationCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
33
+ * // import type { IoTSiteWiseClientConfig } from "@aws-sdk/client-iotsitewise";
34
+ * const config = {}; // type is IoTSiteWiseClientConfig
35
+ * const client = new IoTSiteWiseClient(config);
36
+ * const input = { // DeleteApplicationRequest
37
+ * workspaceName: "STRING_VALUE", // required
38
+ * id: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteApplicationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeleteApplicationCommandInput - {@link DeleteApplicationCommandInput}
47
+ * @returns {@link DeleteApplicationCommandOutput}
48
+ * @see {@link DeleteApplicationCommandInput} for command's `input` shape.
49
+ * @see {@link DeleteApplicationCommandOutput} for command's `response` shape.
50
+ * @see {@link IoTSiteWiseClientResolvedConfig | config} for IoTSiteWiseClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>Access is denied.</p>
54
+ *
55
+ * @throws {@link ConflictingOperationException} (client fault)
56
+ * <p>Your request has conflicting operations. This can occur if you're trying to perform more
57
+ * than one operation on the same resource at the same time.</p>
58
+ *
59
+ * @throws {@link InternalFailureException} (server fault)
60
+ * <p>IoT SiteWise can't process your request right now. Try again later.</p>
61
+ *
62
+ * @throws {@link InvalidRequestException} (client fault)
63
+ * <p>The request isn't valid. This can occur if your request contains malformed JSON or
64
+ * unsupported characters. Check your request and try again.</p>
65
+ *
66
+ * @throws {@link ResourceNotFoundException} (client fault)
67
+ * <p>The requested resource can't be found.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>Your request exceeded a rate limit. For example, you might have exceeded the number of
71
+ * IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so
72
+ * on.</p>
73
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html">Quotas</a> in the <i>IoT SiteWise User Guide</i>.</p>
74
+ *
75
+ * @throws {@link IoTSiteWiseServiceException}
76
+ * <p>Base exception class for all service exceptions from IoTSiteWise service.</p>
77
+ *
78
+ *
79
+ * @public
80
+ */
81
+ export declare class DeleteApplicationCommand extends DeleteApplicationCommand_base {
82
+ /** @internal type navigation helper, not in runtime. */
83
+ protected static __types: {
84
+ api: {
85
+ input: DeleteApplicationRequest;
86
+ output: {};
87
+ };
88
+ sdk: {
89
+ input: DeleteApplicationCommandInput;
90
+ output: DeleteApplicationCommandOutput;
91
+ };
92
+ };
93
+ }
@@ -45,6 +45,7 @@ declare const DeleteAssetCommand_base: {
45
45
  * const command = new DeleteAssetCommand(input);
46
46
  * const response = await client.send(command);
47
47
  * // { // DeleteAssetResponse
48
+ * // assetId: "STRING_VALUE",
48
49
  * // assetStatus: { // AssetStatus
49
50
  * // state: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "FAILED", // required
50
51
  * // error: { // ErrorDetails
@@ -47,6 +47,7 @@ declare const DeleteAssetModelCommand_base: {
47
47
  * const command = new DeleteAssetModelCommand(input);
48
48
  * const response = await client.send(command);
49
49
  * // { // DeleteAssetModelResponse
50
+ * // assetModelId: "STRING_VALUE",
50
51
  * // assetModelStatus: { // AssetModelStatus
51
52
  * // state: "CREATING" || "ACTIVE" || "UPDATING" || "PROPAGATING" || "DELETING" || "FAILED", // required
52
53
  * // error: { // ErrorDetails
@@ -61,6 +61,7 @@ declare const DeleteAssetModelCompositeModelCommand_base: {
61
61
  * // ],
62
62
  * // },
63
63
  * // },
64
+ * // assetModelId: "STRING_VALUE",
64
65
  * // };
65
66
  *
66
67
  * ```
@@ -24,7 +24,7 @@ declare const DeleteDatasetCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Deletes a dataset. This cannot be undone.</p>
27
+ * <p>Deletes a dataset. This can't be undone. Deleting a session dataset also deletes the underlying time series data in the session. You can't delete a session dataset while a curated dataset references its data segments. First delete the curated dataset or disassociate the data segments. Deleting a curated dataset doesn't delete the underlying data in the source session datasets.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -35,6 +35,7 @@ declare const DeleteDatasetCommand_base: {
35
35
  * const client = new IoTSiteWiseClient(config);
36
36
  * const input = { // DeleteDatasetRequest
37
37
  * datasetId: "STRING_VALUE", // required
38
+ * workspaceName: "STRING_VALUE",
38
39
  * clientToken: "STRING_VALUE",
39
40
  * };
40
41
  * const command = new DeleteDatasetCommand(input);
@@ -0,0 +1,104 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeletePipelineRequest, DeletePipelineResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeletePipelineCommand}.
11
+ */
12
+ export interface DeletePipelineCommandInput extends DeletePipelineRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeletePipelineCommand}.
18
+ */
19
+ export interface DeletePipelineCommandOutput extends DeletePipelineResponse, __MetadataBearer {
20
+ }
21
+ declare const DeletePipelineCommand_base: {
22
+ new (input: DeletePipelineCommandInput): import("@smithy/core/client").CommandImpl<DeletePipelineCommandInput, DeletePipelineCommandOutput, import("..").IoTSiteWiseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeletePipelineCommandInput): import("@smithy/core/client").CommandImpl<DeletePipelineCommandInput, DeletePipelineCommandOutput, import("..").IoTSiteWiseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes a pipeline from the specified workspace. A pipeline cannot be
28
+ * deleted if it has any active executions. Wait for all executions to complete before
29
+ * attempting to delete the pipeline, or use <a href="https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CancelPipelineExecution.html">CancelPipelineExecution</a> to stop a running
30
+ * execution.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { IoTSiteWiseClient, DeletePipelineCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
35
+ * // const { IoTSiteWiseClient, DeletePipelineCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
36
+ * // import type { IoTSiteWiseClientConfig } from "@aws-sdk/client-iotsitewise";
37
+ * const config = {}; // type is IoTSiteWiseClientConfig
38
+ * const client = new IoTSiteWiseClient(config);
39
+ * const input = { // DeletePipelineRequest
40
+ * workspaceName: "STRING_VALUE", // required
41
+ * pipelineName: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new DeletePipelineCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // DeletePipelineResponse
46
+ * // status: { // ResourceStatus
47
+ * // error: { // ResourceError
48
+ * // code: "VALIDATION_ERROR" || "INTERNAL_FAILURE",
49
+ * // message: "STRING_VALUE",
50
+ * // },
51
+ * // state: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "FAILED",
52
+ * // },
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param DeletePipelineCommandInput - {@link DeletePipelineCommandInput}
58
+ * @returns {@link DeletePipelineCommandOutput}
59
+ * @see {@link DeletePipelineCommandInput} for command's `input` shape.
60
+ * @see {@link DeletePipelineCommandOutput} for command's `response` shape.
61
+ * @see {@link IoTSiteWiseClientResolvedConfig | config} for IoTSiteWiseClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>Access is denied.</p>
65
+ *
66
+ * @throws {@link ConflictingOperationException} (client fault)
67
+ * <p>Your request has conflicting operations. This can occur if you're trying to perform more
68
+ * than one operation on the same resource at the same time.</p>
69
+ *
70
+ * @throws {@link InternalFailureException} (server fault)
71
+ * <p>IoT SiteWise can't process your request right now. Try again later.</p>
72
+ *
73
+ * @throws {@link InvalidRequestException} (client fault)
74
+ * <p>The request isn't valid. This can occur if your request contains malformed JSON or
75
+ * unsupported characters. Check your request and try again.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>The requested resource can't be found.</p>
79
+ *
80
+ * @throws {@link ThrottlingException} (client fault)
81
+ * <p>Your request exceeded a rate limit. For example, you might have exceeded the number of
82
+ * IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so
83
+ * on.</p>
84
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html">Quotas</a> in the <i>IoT SiteWise User Guide</i>.</p>
85
+ *
86
+ * @throws {@link IoTSiteWiseServiceException}
87
+ * <p>Base exception class for all service exceptions from IoTSiteWise service.</p>
88
+ *
89
+ *
90
+ * @public
91
+ */
92
+ export declare class DeletePipelineCommand extends DeletePipelineCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: DeletePipelineRequest;
97
+ output: DeletePipelineResponse;
98
+ };
99
+ sdk: {
100
+ input: DeletePipelineCommandInput;
101
+ output: DeletePipelineCommandOutput;
102
+ };
103
+ };
104
+ }
@@ -0,0 +1,103 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteTaskRequest, DeleteTaskResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteTaskCommand}.
11
+ */
12
+ export interface DeleteTaskCommandInput extends DeleteTaskRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteTaskCommand}.
18
+ */
19
+ export interface DeleteTaskCommandOutput extends DeleteTaskResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteTaskCommand_base: {
22
+ new (input: DeleteTaskCommandInput): import("@smithy/core/client").CommandImpl<DeleteTaskCommandInput, DeleteTaskCommandOutput, import("..").IoTSiteWiseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteTaskCommandInput): import("@smithy/core/client").CommandImpl<DeleteTaskCommandInput, DeleteTaskCommandOutput, import("..").IoTSiteWiseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes a task from the specified workspace. A task cannot be deleted
28
+ * if it is currently referenced by any existing pipeline. Remove the task from all
29
+ * pipelines before attempting to delete it.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { IoTSiteWiseClient, DeleteTaskCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
34
+ * // const { IoTSiteWiseClient, DeleteTaskCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
35
+ * // import type { IoTSiteWiseClientConfig } from "@aws-sdk/client-iotsitewise";
36
+ * const config = {}; // type is IoTSiteWiseClientConfig
37
+ * const client = new IoTSiteWiseClient(config);
38
+ * const input = { // DeleteTaskRequest
39
+ * workspaceName: "STRING_VALUE", // required
40
+ * taskName: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteTaskCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // DeleteTaskResponse
45
+ * // status: { // ResourceStatus
46
+ * // error: { // ResourceError
47
+ * // code: "VALIDATION_ERROR" || "INTERNAL_FAILURE",
48
+ * // message: "STRING_VALUE",
49
+ * // },
50
+ * // state: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "FAILED",
51
+ * // },
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param DeleteTaskCommandInput - {@link DeleteTaskCommandInput}
57
+ * @returns {@link DeleteTaskCommandOutput}
58
+ * @see {@link DeleteTaskCommandInput} for command's `input` shape.
59
+ * @see {@link DeleteTaskCommandOutput} for command's `response` shape.
60
+ * @see {@link IoTSiteWiseClientResolvedConfig | config} for IoTSiteWiseClient's `config` shape.
61
+ *
62
+ * @throws {@link AccessDeniedException} (client fault)
63
+ * <p>Access is denied.</p>
64
+ *
65
+ * @throws {@link ConflictingOperationException} (client fault)
66
+ * <p>Your request has conflicting operations. This can occur if you're trying to perform more
67
+ * than one operation on the same resource at the same time.</p>
68
+ *
69
+ * @throws {@link InternalFailureException} (server fault)
70
+ * <p>IoT SiteWise can't process your request right now. Try again later.</p>
71
+ *
72
+ * @throws {@link InvalidRequestException} (client fault)
73
+ * <p>The request isn't valid. This can occur if your request contains malformed JSON or
74
+ * unsupported characters. Check your request and try again.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>The requested resource can't be found.</p>
78
+ *
79
+ * @throws {@link ThrottlingException} (client fault)
80
+ * <p>Your request exceeded a rate limit. For example, you might have exceeded the number of
81
+ * IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so
82
+ * on.</p>
83
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html">Quotas</a> in the <i>IoT SiteWise User Guide</i>.</p>
84
+ *
85
+ * @throws {@link IoTSiteWiseServiceException}
86
+ * <p>Base exception class for all service exceptions from IoTSiteWise service.</p>
87
+ *
88
+ *
89
+ * @public
90
+ */
91
+ export declare class DeleteTaskCommand extends DeleteTaskCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: DeleteTaskRequest;
96
+ output: DeleteTaskResponse;
97
+ };
98
+ sdk: {
99
+ input: DeleteTaskCommandInput;
100
+ output: DeleteTaskCommandOutput;
101
+ };
102
+ };
103
+ }
@@ -26,7 +26,8 @@ declare const DeleteTimeSeriesCommand_base: {
26
26
  /**
27
27
  * <p>Deletes a time series (data stream). If you delete a time series that's associated with an
28
28
  * asset property, the asset property still exists, but the time series will no longer be
29
- * associated with this asset property.</p>
29
+ * associated with this asset property. You can't delete a time series until all of its data
30
+ * segments have been deleted from session datasets.</p>
30
31
  * <p>To identify a time series, do one of the following:</p>
31
32
  * <ul>
32
33
  * <li>
@@ -59,6 +60,7 @@ declare const DeleteTimeSeriesCommand_base: {
59
60
  * assetId: "STRING_VALUE",
60
61
  * propertyId: "STRING_VALUE",
61
62
  * clientToken: "STRING_VALUE",
63
+ * workspaceName: "STRING_VALUE",
62
64
  * };
63
65
  * const command = new DeleteTimeSeriesCommand(input);
64
66
  * const response = await client.send(command);
@@ -0,0 +1,103 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteWorkspaceRequest, DeleteWorkspaceResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteWorkspaceCommand}.
11
+ */
12
+ export interface DeleteWorkspaceCommandInput extends DeleteWorkspaceRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteWorkspaceCommand}.
18
+ */
19
+ export interface DeleteWorkspaceCommandOutput extends DeleteWorkspaceResponse, __MetadataBearer {
20
+ }
21
+ declare const DeleteWorkspaceCommand_base: {
22
+ new (input: DeleteWorkspaceCommandInput): import("@smithy/core/client").CommandImpl<DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput, import("..").IoTSiteWiseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteWorkspaceCommandInput): import("@smithy/core/client").CommandImpl<DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput, import("..").IoTSiteWiseClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes a workspace. Before you delete a workspace, you must delete all resources
28
+ * contained in or associated with the workspace, such as datasets, time series, pipelines,
29
+ * and tasks.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { IoTSiteWiseClient, DeleteWorkspaceCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
34
+ * // const { IoTSiteWiseClient, DeleteWorkspaceCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
35
+ * // import type { IoTSiteWiseClientConfig } from "@aws-sdk/client-iotsitewise";
36
+ * const config = {}; // type is IoTSiteWiseClientConfig
37
+ * const client = new IoTSiteWiseClient(config);
38
+ * const input = { // DeleteWorkspaceRequest
39
+ * workspaceName: "STRING_VALUE", // required
40
+ * clientToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new DeleteWorkspaceCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // DeleteWorkspaceResponse
45
+ * // workspaceStatus: { // WorkspaceStatus
46
+ * // state: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "FAILED", // required
47
+ * // error: { // WorkspaceErrorDetails
48
+ * // code: "VALIDATION_ERROR" || "INTERNAL_FAILURE", // required
49
+ * // message: "STRING_VALUE", // required
50
+ * // },
51
+ * // },
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param DeleteWorkspaceCommandInput - {@link DeleteWorkspaceCommandInput}
57
+ * @returns {@link DeleteWorkspaceCommandOutput}
58
+ * @see {@link DeleteWorkspaceCommandInput} for command's `input` shape.
59
+ * @see {@link DeleteWorkspaceCommandOutput} for command's `response` shape.
60
+ * @see {@link IoTSiteWiseClientResolvedConfig | config} for IoTSiteWiseClient's `config` shape.
61
+ *
62
+ * @throws {@link AccessDeniedException} (client fault)
63
+ * <p>Access is denied.</p>
64
+ *
65
+ * @throws {@link ConflictingOperationException} (client fault)
66
+ * <p>Your request has conflicting operations. This can occur if you're trying to perform more
67
+ * than one operation on the same resource at the same time.</p>
68
+ *
69
+ * @throws {@link InternalFailureException} (server fault)
70
+ * <p>IoT SiteWise can't process your request right now. Try again later.</p>
71
+ *
72
+ * @throws {@link InvalidRequestException} (client fault)
73
+ * <p>The request isn't valid. This can occur if your request contains malformed JSON or
74
+ * unsupported characters. Check your request and try again.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>The requested resource can't be found.</p>
78
+ *
79
+ * @throws {@link ThrottlingException} (client fault)
80
+ * <p>Your request exceeded a rate limit. For example, you might have exceeded the number of
81
+ * IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so
82
+ * on.</p>
83
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html">Quotas</a> in the <i>IoT SiteWise User Guide</i>.</p>
84
+ *
85
+ * @throws {@link IoTSiteWiseServiceException}
86
+ * <p>Base exception class for all service exceptions from IoTSiteWise service.</p>
87
+ *
88
+ *
89
+ * @public
90
+ */
91
+ export declare class DeleteWorkspaceCommand extends DeleteWorkspaceCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: DeleteWorkspaceRequest;
96
+ output: DeleteWorkspaceResponse;
97
+ };
98
+ sdk: {
99
+ input: DeleteWorkspaceCommandInput;
100
+ output: DeleteWorkspaceCommandOutput;
101
+ };
102
+ };
103
+ }