@aws-sdk/client-iotsitewise 3.454.0 → 3.458.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 (130) hide show
  1. package/README.md +161 -73
  2. package/dist-cjs/IoTSiteWise.js +22 -0
  3. package/dist-cjs/commands/CreateAssetModelCompositeModelCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteAssetModelCompositeModelCommand.js +51 -0
  5. package/dist-cjs/commands/DescribeActionCommand.js +51 -0
  6. package/dist-cjs/commands/DescribeAssetCompositeModelCommand.js +51 -0
  7. package/dist-cjs/commands/DescribeAssetModelCompositeModelCommand.js +51 -0
  8. package/dist-cjs/commands/ExecuteActionCommand.js +51 -0
  9. package/dist-cjs/commands/ExecuteQueryCommand.js +51 -0
  10. package/dist-cjs/commands/ListActionsCommand.js +51 -0
  11. package/dist-cjs/commands/ListAssetModelCompositeModelsCommand.js +51 -0
  12. package/dist-cjs/commands/ListCompositionRelationshipsCommand.js +51 -0
  13. package/dist-cjs/commands/UpdateAssetModelCompositeModelCommand.js +51 -0
  14. package/dist-cjs/commands/index.js +11 -0
  15. package/dist-cjs/models/index.js +1 -0
  16. package/dist-cjs/models/models_0.js +59 -15
  17. package/dist-cjs/models/models_1.js +18 -0
  18. package/dist-cjs/pagination/ExecuteQueryPaginator.js +29 -0
  19. package/dist-cjs/pagination/ListAssetModelCompositeModelsPaginator.js +29 -0
  20. package/dist-cjs/pagination/ListCompositionRelationshipsPaginator.js +29 -0
  21. package/dist-cjs/pagination/index.js +3 -0
  22. package/dist-cjs/protocols/Aws_restJson1.js +1018 -25
  23. package/dist-es/IoTSiteWise.js +22 -0
  24. package/dist-es/commands/CreateAssetModelCompositeModelCommand.js +47 -0
  25. package/dist-es/commands/DeleteAssetModelCompositeModelCommand.js +47 -0
  26. package/dist-es/commands/DescribeActionCommand.js +47 -0
  27. package/dist-es/commands/DescribeAssetCompositeModelCommand.js +47 -0
  28. package/dist-es/commands/DescribeAssetModelCompositeModelCommand.js +47 -0
  29. package/dist-es/commands/ExecuteActionCommand.js +47 -0
  30. package/dist-es/commands/ExecuteQueryCommand.js +47 -0
  31. package/dist-es/commands/ListActionsCommand.js +47 -0
  32. package/dist-es/commands/ListAssetModelCompositeModelsCommand.js +47 -0
  33. package/dist-es/commands/ListCompositionRelationshipsCommand.js +47 -0
  34. package/dist-es/commands/UpdateAssetModelCompositeModelCommand.js +47 -0
  35. package/dist-es/commands/index.js +11 -0
  36. package/dist-es/models/index.js +1 -0
  37. package/dist-es/models/models_0.js +54 -13
  38. package/dist-es/models/models_1.js +14 -0
  39. package/dist-es/pagination/ExecuteQueryPaginator.js +25 -0
  40. package/dist-es/pagination/ListAssetModelCompositeModelsPaginator.js +25 -0
  41. package/dist-es/pagination/ListCompositionRelationshipsPaginator.js +25 -0
  42. package/dist-es/pagination/index.js +3 -0
  43. package/dist-es/protocols/Aws_restJson1.js +1038 -68
  44. package/dist-types/IoTSiteWise.d.ts +77 -0
  45. package/dist-types/IoTSiteWiseClient.d.ts +13 -2
  46. package/dist-types/commands/CreateAssetCommand.d.ts +2 -0
  47. package/dist-types/commands/CreateAssetModelCommand.d.ts +52 -4
  48. package/dist-types/commands/CreateAssetModelCompositeModelCommand.d.ts +212 -0
  49. package/dist-types/commands/CreateBulkImportJobCommand.d.ts +8 -3
  50. package/dist-types/commands/DeleteAssetCommand.d.ts +1 -1
  51. package/dist-types/commands/DeleteAssetModelCompositeModelCommand.d.ts +111 -0
  52. package/dist-types/commands/DescribeActionCommand.d.ts +97 -0
  53. package/dist-types/commands/DescribeAssetCommand.d.ts +32 -0
  54. package/dist-types/commands/DescribeAssetCompositeModelCommand.d.ts +145 -0
  55. package/dist-types/commands/DescribeAssetModelCommand.d.ts +46 -4
  56. package/dist-types/commands/DescribeAssetModelCompositeModelCommand.d.ts +209 -0
  57. package/dist-types/commands/DescribeAssetPropertyCommand.d.ts +44 -4
  58. package/dist-types/commands/DescribeBulkImportJobCommand.d.ts +4 -1
  59. package/dist-types/commands/DescribeStorageConfigurationCommand.d.ts +5 -0
  60. package/dist-types/commands/ExecuteActionCommand.d.ts +106 -0
  61. package/dist-types/commands/ExecuteQueryCommand.d.ts +130 -0
  62. package/dist-types/commands/ListActionsCommand.d.ts +101 -0
  63. package/dist-types/commands/ListAssetModelCompositeModelsCommand.d.ts +106 -0
  64. package/dist-types/commands/ListAssetModelPropertiesCommand.d.ts +21 -2
  65. package/dist-types/commands/ListAssetModelsCommand.d.ts +5 -0
  66. package/dist-types/commands/ListAssetPropertiesCommand.d.ts +8 -1
  67. package/dist-types/commands/ListAssetsCommand.d.ts +2 -0
  68. package/dist-types/commands/ListAssociatedAssetsCommand.d.ts +2 -0
  69. package/dist-types/commands/ListCompositionRelationshipsCommand.d.ts +98 -0
  70. package/dist-types/commands/PutDefaultEncryptionConfigurationCommand.d.ts +1 -1
  71. package/dist-types/commands/PutLoggingOptionsCommand.d.ts +1 -1
  72. package/dist-types/commands/PutStorageConfigurationCommand.d.ts +11 -1
  73. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  74. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  75. package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +1 -1
  76. package/dist-types/commands/UpdateAssetCommand.d.ts +2 -1
  77. package/dist-types/commands/UpdateAssetModelCommand.d.ts +31 -5
  78. package/dist-types/commands/UpdateAssetModelCompositeModelCommand.d.ts +220 -0
  79. package/dist-types/commands/UpdateAssetPropertyCommand.d.ts +1 -1
  80. package/dist-types/commands/UpdateDashboardCommand.d.ts +1 -1
  81. package/dist-types/commands/UpdateGatewayCapabilityConfigurationCommand.d.ts +1 -1
  82. package/dist-types/commands/UpdateGatewayCommand.d.ts +1 -1
  83. package/dist-types/commands/UpdatePortalCommand.d.ts +1 -1
  84. package/dist-types/commands/UpdateProjectCommand.d.ts +1 -1
  85. package/dist-types/commands/index.d.ts +11 -0
  86. package/dist-types/models/index.d.ts +1 -0
  87. package/dist-types/models/models_0.d.ts +1377 -773
  88. package/dist-types/models/models_1.d.ts +796 -0
  89. package/dist-types/pagination/ExecuteQueryPaginator.d.ts +7 -0
  90. package/dist-types/pagination/ListAssetModelCompositeModelsPaginator.d.ts +7 -0
  91. package/dist-types/pagination/ListCompositionRelationshipsPaginator.d.ts +7 -0
  92. package/dist-types/pagination/index.d.ts +3 -0
  93. package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
  94. package/dist-types/ts3.4/IoTSiteWise.d.ts +187 -0
  95. package/dist-types/ts3.4/IoTSiteWiseClient.d.ts +66 -0
  96. package/dist-types/ts3.4/commands/CreateAssetModelCompositeModelCommand.d.ts +42 -0
  97. package/dist-types/ts3.4/commands/DeleteAssetModelCompositeModelCommand.d.ts +42 -0
  98. package/dist-types/ts3.4/commands/DescribeActionCommand.d.ts +38 -0
  99. package/dist-types/ts3.4/commands/DescribeAssetCompositeModelCommand.d.ts +42 -0
  100. package/dist-types/ts3.4/commands/DescribeAssetModelCompositeModelCommand.d.ts +42 -0
  101. package/dist-types/ts3.4/commands/ExecuteActionCommand.d.ts +38 -0
  102. package/dist-types/ts3.4/commands/ExecuteQueryCommand.d.ts +36 -0
  103. package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +35 -0
  104. package/dist-types/ts3.4/commands/ListAssetModelCompositeModelsCommand.d.ts +42 -0
  105. package/dist-types/ts3.4/commands/ListCompositionRelationshipsCommand.d.ts +42 -0
  106. package/dist-types/ts3.4/commands/PutDefaultEncryptionConfigurationCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/PutLoggingOptionsCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/PutStorageConfigurationCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/UpdateAccessPolicyCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/UpdateAssetCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/UpdateAssetModelCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/UpdateAssetModelCompositeModelCommand.d.ts +42 -0
  115. package/dist-types/ts3.4/commands/UpdateAssetPropertyCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/UpdateDashboardCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/UpdateGatewayCapabilityConfigurationCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/UpdateGatewayCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/UpdatePortalCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  122. package/dist-types/ts3.4/models/index.d.ts +1 -0
  123. package/dist-types/ts3.4/models/models_0.d.ts +284 -130
  124. package/dist-types/ts3.4/models/models_1.d.ts +190 -0
  125. package/dist-types/ts3.4/pagination/ExecuteQueryPaginator.d.ts +11 -0
  126. package/dist-types/ts3.4/pagination/ListAssetModelCompositeModelsPaginator.d.ts +11 -0
  127. package/dist-types/ts3.4/pagination/ListCompositionRelationshipsPaginator.d.ts +11 -0
  128. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  129. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
  130. package/package.json +3 -3
@@ -0,0 +1,796 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { IoTSiteWiseServiceException as __BaseException } from "./IoTSiteWiseServiceException";
3
+ import { Alarms, AssetModelCompositeModel, AssetModelCompositeModelPathSegment, AssetModelHierarchy, AssetModelProperty, AssetModelStatus, AssetStatus, CapabilitySyncStatus, ColumnInfo, ConfigurationStatus, DisassociatedDataStorageState, EncryptionType, Identity, ImageFile, LoggingOptions, MultiLayerStorage, Permission, PortalStatus, PropertyNotificationState, Resource, RetentionPeriod, StorageType, WarmTierRetentionPeriod, WarmTierState } from "./models_0";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface PutDefaultEncryptionConfigurationRequest {
8
+ /**
9
+ * @public
10
+ * <p>The type of encryption used for the encryption configuration.</p>
11
+ */
12
+ encryptionType: EncryptionType | undefined;
13
+ /**
14
+ * @public
15
+ * <p>The Key ID of the customer managed key used for KMS encryption. This is required if you
16
+ * use <code>KMS_BASED_ENCRYPTION</code>.</p>
17
+ */
18
+ kmsKeyId?: string;
19
+ }
20
+ /**
21
+ * @public
22
+ */
23
+ export interface PutDefaultEncryptionConfigurationResponse {
24
+ /**
25
+ * @public
26
+ * <p>The type of encryption used for the encryption configuration.</p>
27
+ */
28
+ encryptionType: EncryptionType | undefined;
29
+ /**
30
+ * @public
31
+ * <p>The Key ARN of the KMS key used for KMS encryption if you use
32
+ * <code>KMS_BASED_ENCRYPTION</code>.</p>
33
+ */
34
+ kmsKeyArn?: string;
35
+ /**
36
+ * @public
37
+ * <p>The status of the account configuration. This contains the
38
+ * <code>ConfigurationState</code>. If there is an error, it also contains the
39
+ * <code>ErrorDetails</code>.</p>
40
+ */
41
+ configurationStatus: ConfigurationStatus | undefined;
42
+ }
43
+ /**
44
+ * @public
45
+ */
46
+ export interface PutLoggingOptionsRequest {
47
+ /**
48
+ * @public
49
+ * <p>The logging options to set.</p>
50
+ */
51
+ loggingOptions: LoggingOptions | undefined;
52
+ }
53
+ /**
54
+ * @public
55
+ */
56
+ export interface PutLoggingOptionsResponse {
57
+ }
58
+ /**
59
+ * @public
60
+ */
61
+ export interface PutStorageConfigurationRequest {
62
+ /**
63
+ * @public
64
+ * <p>The storage tier that you specified for your data.
65
+ * The <code>storageType</code> parameter can be one of the following values:</p>
66
+ * <ul>
67
+ * <li>
68
+ * <p>
69
+ * <code>SITEWISE_DEFAULT_STORAGE</code> – IoT SiteWise saves your data into the hot tier.
70
+ * The hot tier is a service-managed database.</p>
71
+ * </li>
72
+ * <li>
73
+ * <p>
74
+ * <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise saves your data in both the cold tier and the hot tier.
75
+ * The cold tier is a customer-managed Amazon S3 bucket.</p>
76
+ * </li>
77
+ * </ul>
78
+ */
79
+ storageType: StorageType | undefined;
80
+ /**
81
+ * @public
82
+ * <p>Identifies a storage destination. If you specified <code>MULTI_LAYER_STORAGE</code> for the storage type,
83
+ * you must specify a <code>MultiLayerStorage</code> object.</p>
84
+ */
85
+ multiLayerStorage?: MultiLayerStorage;
86
+ /**
87
+ * @public
88
+ * <p>Contains the storage configuration for time series (data streams) that aren't associated with asset properties.
89
+ * The <code>disassociatedDataStorage</code> can be one of the following values:</p>
90
+ * <ul>
91
+ * <li>
92
+ * <p>
93
+ * <code>ENABLED</code> – IoT SiteWise accepts time series that aren't associated with asset properties.</p>
94
+ * <important>
95
+ * <p>After the <code>disassociatedDataStorage</code> is enabled, you can't disable it.</p>
96
+ * </important>
97
+ * </li>
98
+ * <li>
99
+ * <p>
100
+ * <code>DISABLED</code> – IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties.</p>
101
+ * </li>
102
+ * </ul>
103
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/data-streams.html">Data streams</a>
104
+ * in the <i>IoT SiteWise User Guide</i>.</p>
105
+ */
106
+ disassociatedDataStorage?: DisassociatedDataStorageState;
107
+ /**
108
+ * @public
109
+ * <p>The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.</p>
110
+ */
111
+ retentionPeriod?: RetentionPeriod;
112
+ /**
113
+ * @public
114
+ * <p>A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.</p>
115
+ */
116
+ warmTier?: WarmTierState;
117
+ /**
118
+ * @public
119
+ * <p>Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.</p>
120
+ */
121
+ warmTierRetentionPeriod?: WarmTierRetentionPeriod;
122
+ }
123
+ /**
124
+ * @public
125
+ */
126
+ export interface PutStorageConfigurationResponse {
127
+ /**
128
+ * @public
129
+ * <p>The storage tier that you specified for your data.
130
+ * The <code>storageType</code> parameter can be one of the following values:</p>
131
+ * <ul>
132
+ * <li>
133
+ * <p>
134
+ * <code>SITEWISE_DEFAULT_STORAGE</code> – IoT SiteWise saves your data into the hot tier.
135
+ * The hot tier is a service-managed database.</p>
136
+ * </li>
137
+ * <li>
138
+ * <p>
139
+ * <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise saves your data in both the cold tier and the hot tier.
140
+ * The cold tier is a customer-managed Amazon S3 bucket.</p>
141
+ * </li>
142
+ * </ul>
143
+ */
144
+ storageType: StorageType | undefined;
145
+ /**
146
+ * @public
147
+ * <p>Contains information about the storage destination.</p>
148
+ */
149
+ multiLayerStorage?: MultiLayerStorage;
150
+ /**
151
+ * @public
152
+ * <p>Contains the storage configuration for time series (data streams) that aren't associated with asset properties.
153
+ * The <code>disassociatedDataStorage</code> can be one of the following values:</p>
154
+ * <ul>
155
+ * <li>
156
+ * <p>
157
+ * <code>ENABLED</code> – IoT SiteWise accepts time series that aren't associated with asset properties.</p>
158
+ * <important>
159
+ * <p>After the <code>disassociatedDataStorage</code> is enabled, you can't disable it.</p>
160
+ * </important>
161
+ * </li>
162
+ * <li>
163
+ * <p>
164
+ * <code>DISABLED</code> – IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties.</p>
165
+ * </li>
166
+ * </ul>
167
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/data-streams.html">Data streams</a>
168
+ * in the <i>IoT SiteWise User Guide</i>.</p>
169
+ */
170
+ disassociatedDataStorage?: DisassociatedDataStorageState;
171
+ /**
172
+ * @public
173
+ * <p>The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.</p>
174
+ */
175
+ retentionPeriod?: RetentionPeriod;
176
+ /**
177
+ * @public
178
+ * <p>Contains current status information for the configuration.</p>
179
+ */
180
+ configurationStatus: ConfigurationStatus | undefined;
181
+ /**
182
+ * @public
183
+ * <p>A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.</p>
184
+ */
185
+ warmTier?: WarmTierState;
186
+ /**
187
+ * @public
188
+ * <p>Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.</p>
189
+ */
190
+ warmTierRetentionPeriod?: WarmTierRetentionPeriod;
191
+ }
192
+ /**
193
+ * @public
194
+ */
195
+ export interface TagResourceRequest {
196
+ /**
197
+ * @public
198
+ * <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> of the resource to tag.</p>
199
+ */
200
+ resourceArn: string | undefined;
201
+ /**
202
+ * @public
203
+ * <p>A list of key-value pairs that contain metadata for the resource. For more information,
204
+ * see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise
205
+ * resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
206
+ */
207
+ tags: Record<string, string> | undefined;
208
+ }
209
+ /**
210
+ * @public
211
+ */
212
+ export interface TagResourceResponse {
213
+ }
214
+ /**
215
+ * @public
216
+ * <p>You've reached the limit for the number of tags allowed for a resource. For more
217
+ * information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html#tag-conventions">Tag naming limits and
218
+ * requirements</a> in the <i>Amazon Web Services General Reference</i>.</p>
219
+ */
220
+ export declare class TooManyTagsException extends __BaseException {
221
+ readonly name: "TooManyTagsException";
222
+ readonly $fault: "client";
223
+ /**
224
+ * @public
225
+ * <p>The name of the resource with too many tags.</p>
226
+ */
227
+ resourceName?: string;
228
+ /**
229
+ * @internal
230
+ */
231
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
232
+ }
233
+ /**
234
+ * @public
235
+ */
236
+ export interface UntagResourceRequest {
237
+ /**
238
+ * @public
239
+ * <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> of the resource to untag.</p>
240
+ */
241
+ resourceArn: string | undefined;
242
+ /**
243
+ * @public
244
+ * <p>A list of keys for tags to remove from the resource.</p>
245
+ */
246
+ tagKeys: string[] | undefined;
247
+ }
248
+ /**
249
+ * @public
250
+ */
251
+ export interface UntagResourceResponse {
252
+ }
253
+ /**
254
+ * @public
255
+ */
256
+ export interface UpdateAccessPolicyRequest {
257
+ /**
258
+ * @public
259
+ * <p>The ID of the access policy.</p>
260
+ */
261
+ accessPolicyId: string | undefined;
262
+ /**
263
+ * @public
264
+ * <p>The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.</p>
265
+ */
266
+ accessPolicyIdentity: Identity | undefined;
267
+ /**
268
+ * @public
269
+ * <p>The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.</p>
270
+ */
271
+ accessPolicyResource: Resource | undefined;
272
+ /**
273
+ * @public
274
+ * <p>The permission level for this access policy. Note that a project <code>ADMINISTRATOR</code> is also known as a project owner.</p>
275
+ */
276
+ accessPolicyPermission: Permission | undefined;
277
+ /**
278
+ * @public
279
+ * <p>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.</p>
280
+ */
281
+ clientToken?: string;
282
+ }
283
+ /**
284
+ * @public
285
+ */
286
+ export interface UpdateAccessPolicyResponse {
287
+ }
288
+ /**
289
+ * @public
290
+ */
291
+ export interface UpdateAssetRequest {
292
+ /**
293
+ * @public
294
+ * <p>The ID of the asset to update. This can be either the actual ID in UUID format, or else <code>externalId:</code> followed by the external ID, if it has one.
295
+ * For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-id-references">Referencing objects with external IDs</a> in the <i>IoT SiteWise User Guide</i>.</p>
296
+ */
297
+ assetId: string | undefined;
298
+ /**
299
+ * @public
300
+ * <p>A friendly name for the asset.</p>
301
+ */
302
+ assetName: string | undefined;
303
+ /**
304
+ * @public
305
+ * <p>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.</p>
306
+ */
307
+ clientToken?: string;
308
+ /**
309
+ * @public
310
+ * <p>A description for the asset.</p>
311
+ */
312
+ assetDescription?: string;
313
+ /**
314
+ * @public
315
+ * <p>An external ID to assign to the asset. The asset must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids">Using external IDs</a> in the <i>IoT SiteWise User Guide</i>.</p>
316
+ */
317
+ assetExternalId?: string;
318
+ }
319
+ /**
320
+ * @public
321
+ */
322
+ export interface UpdateAssetResponse {
323
+ /**
324
+ * @public
325
+ * <p>The status of the asset, which contains a state (<code>UPDATING</code> after successfully
326
+ * calling this operation) and any error message.</p>
327
+ */
328
+ assetStatus: AssetStatus | undefined;
329
+ }
330
+ /**
331
+ * @public
332
+ */
333
+ export interface UpdateAssetModelRequest {
334
+ /**
335
+ * @public
336
+ * <p>The ID of the asset model to update. This can be either the actual ID in UUID format, or else <code>externalId:</code> followed by the external ID, if it has one.
337
+ * For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-id-references">Referencing objects with external IDs</a> in the <i>IoT SiteWise User Guide</i>.</p>
338
+ */
339
+ assetModelId: string | undefined;
340
+ /**
341
+ * @public
342
+ * <p>A unique, friendly name for the asset model.</p>
343
+ */
344
+ assetModelName: string | undefined;
345
+ /**
346
+ * @public
347
+ * <p>A description for the asset model.</p>
348
+ */
349
+ assetModelDescription?: string;
350
+ /**
351
+ * @public
352
+ * <p>The updated property definitions of the asset model. For more information, see
353
+ * <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-properties.html">Asset properties</a> in the <i>IoT SiteWise User Guide</i>.</p>
354
+ * <p>You can specify up to 200 properties per asset model. For more
355
+ * 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>
356
+ */
357
+ assetModelProperties?: AssetModelProperty[];
358
+ /**
359
+ * @public
360
+ * <p>The updated hierarchy definitions of the asset model. Each hierarchy specifies an asset
361
+ * model whose assets can be children of any other assets created from this asset model. For more
362
+ * information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-hierarchies.html">Asset hierarchies</a> in the <i>IoT SiteWise User Guide</i>.</p>
363
+ * <p>You can specify up to 10 hierarchies per asset model. For more
364
+ * 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>
365
+ */
366
+ assetModelHierarchies?: AssetModelHierarchy[];
367
+ /**
368
+ * @public
369
+ * <p>The composite models that are part of this asset model. It groups properties
370
+ * (such as attributes, measurements, transforms, and metrics) and child composite models that
371
+ * model parts of your industrial equipment. Each composite model has a type that defines the
372
+ * properties that the composite model supports. Use composite models to define alarms on this asset model.</p>
373
+ * <note>
374
+ * <p>When creating custom composite models, you need to use <a href="https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_CreateAssetModelCompositeModel.html">CreateAssetModelCompositeModel</a>. For more information,
375
+ * see <LINK>.</p>
376
+ * </note>
377
+ */
378
+ assetModelCompositeModels?: AssetModelCompositeModel[];
379
+ /**
380
+ * @public
381
+ * <p>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.</p>
382
+ */
383
+ clientToken?: string;
384
+ /**
385
+ * @public
386
+ * <p>An external ID to assign to the asset model. The asset model must not already have an external ID. The external ID must be unique within your Amazon Web Services account. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids">Using external IDs</a> in the <i>IoT SiteWise User Guide</i>.</p>
387
+ */
388
+ assetModelExternalId?: string;
389
+ }
390
+ /**
391
+ * @public
392
+ */
393
+ export interface UpdateAssetModelResponse {
394
+ /**
395
+ * @public
396
+ * <p>The status of the asset model, which contains a state (<code>UPDATING</code> after
397
+ * successfully calling this operation) and any error message.</p>
398
+ */
399
+ assetModelStatus: AssetModelStatus | undefined;
400
+ }
401
+ /**
402
+ * @public
403
+ */
404
+ export interface UpdateAssetModelCompositeModelRequest {
405
+ /**
406
+ * @public
407
+ * <p>The ID of the asset model, in UUID format.</p>
408
+ */
409
+ assetModelId: string | undefined;
410
+ /**
411
+ * @public
412
+ * <p>The ID of a composite model on this asset model.</p>
413
+ */
414
+ assetModelCompositeModelId: string | undefined;
415
+ /**
416
+ * @public
417
+ * <p>An external ID to assign to the asset model. You can only set the external ID of the asset model if it wasn't set when it was created, or you're setting it to
418
+ * the exact same thing as when it was created.</p>
419
+ */
420
+ assetModelCompositeModelExternalId?: string;
421
+ /**
422
+ * @public
423
+ * <p>A description for the composite model.</p>
424
+ */
425
+ assetModelCompositeModelDescription?: string;
426
+ /**
427
+ * @public
428
+ * <p>A unique, friendly name for the composite model.</p>
429
+ */
430
+ assetModelCompositeModelName: string | undefined;
431
+ /**
432
+ * @public
433
+ * <p>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.</p>
434
+ */
435
+ clientToken?: string;
436
+ /**
437
+ * @public
438
+ * <p>The property definitions of the composite model. For more information, see <LINK>.</p>
439
+ * <p>You can specify up to 200 properties per composite model. For more
440
+ * 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>
441
+ */
442
+ assetModelCompositeModelProperties?: AssetModelProperty[];
443
+ }
444
+ /**
445
+ * @public
446
+ */
447
+ export interface UpdateAssetModelCompositeModelResponse {
448
+ /**
449
+ * @public
450
+ * <p>The path to the composite model listing the parent composite models.</p>
451
+ */
452
+ assetModelCompositeModelPath: AssetModelCompositeModelPathSegment[] | undefined;
453
+ /**
454
+ * @public
455
+ * <p>Contains current status information for an asset model. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/asset-and-model-states.html">Asset and model
456
+ * states</a> in the <i>IoT SiteWise User Guide</i>.</p>
457
+ */
458
+ assetModelStatus: AssetModelStatus | undefined;
459
+ }
460
+ /**
461
+ * @public
462
+ */
463
+ export interface UpdateAssetPropertyRequest {
464
+ /**
465
+ * @public
466
+ * <p>The ID of the asset to be updated. This can be either the actual ID in UUID format, or else <code>externalId:</code> followed by the external ID, if it has one.
467
+ * For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-id-references">Referencing objects with external IDs</a> in the <i>IoT SiteWise User Guide</i>.</p>
468
+ */
469
+ assetId: string | undefined;
470
+ /**
471
+ * @public
472
+ * <p>The ID of the asset property to be updated. This can be either the actual ID in UUID format, or else <code>externalId:</code> followed by the external ID, if it has one.
473
+ * For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-id-references">Referencing objects with external IDs</a> in the <i>IoT SiteWise User Guide</i>.</p>
474
+ */
475
+ propertyId: string | undefined;
476
+ /**
477
+ * @public
478
+ * <p>The alias that identifies the property, such as an OPC-UA server data stream path
479
+ * (for example, <code>/company/windfarm/3/turbine/7/temperature</code>). For more information, see
480
+ * <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html">Mapping industrial data streams to asset properties</a> in the
481
+ * <i>IoT SiteWise User Guide</i>.</p>
482
+ * <p>If you omit this parameter, the alias is removed from the property.</p>
483
+ */
484
+ propertyAlias?: string;
485
+ /**
486
+ * @public
487
+ * <p>The MQTT notification state (enabled or disabled) for this asset property.
488
+ * When the notification state is enabled, IoT SiteWise publishes property value
489
+ * updates to a unique MQTT topic. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/interact-with-other-services.html">Interacting with other services</a> in the <i>IoT SiteWise User Guide</i>.</p>
490
+ * <p>If you omit this parameter, the notification state is set to <code>DISABLED</code>.</p>
491
+ */
492
+ propertyNotificationState?: PropertyNotificationState;
493
+ /**
494
+ * @public
495
+ * <p>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.</p>
496
+ */
497
+ clientToken?: string;
498
+ /**
499
+ * @public
500
+ * <p>The unit of measure (such as Newtons or RPM) of the asset property. If you don't specify a
501
+ * value for this parameter, the service uses the value of the <code>assetModelProperty</code> in
502
+ * the asset model.</p>
503
+ */
504
+ propertyUnit?: string;
505
+ }
506
+ /**
507
+ * @public
508
+ */
509
+ export interface UpdateDashboardRequest {
510
+ /**
511
+ * @public
512
+ * <p>The ID of the dashboard to update.</p>
513
+ */
514
+ dashboardId: string | undefined;
515
+ /**
516
+ * @public
517
+ * <p>A new friendly name for the dashboard.</p>
518
+ */
519
+ dashboardName: string | undefined;
520
+ /**
521
+ * @public
522
+ * <p>A new description for the dashboard.</p>
523
+ */
524
+ dashboardDescription?: string;
525
+ /**
526
+ * @public
527
+ * <p>The new dashboard definition, as specified in a JSON literal. For detailed information,
528
+ * see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-dashboards-using-aws-cli.html">Creating dashboards (CLI)</a> in the <i>IoT SiteWise User Guide</i>.</p>
529
+ */
530
+ dashboardDefinition: string | undefined;
531
+ /**
532
+ * @public
533
+ * <p>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.</p>
534
+ */
535
+ clientToken?: string;
536
+ }
537
+ /**
538
+ * @public
539
+ */
540
+ export interface UpdateDashboardResponse {
541
+ }
542
+ /**
543
+ * @public
544
+ */
545
+ export interface UpdateGatewayRequest {
546
+ /**
547
+ * @public
548
+ * <p>The ID of the gateway to update.</p>
549
+ */
550
+ gatewayId: string | undefined;
551
+ /**
552
+ * @public
553
+ * <p>A unique, friendly name for the gateway.</p>
554
+ */
555
+ gatewayName: string | undefined;
556
+ }
557
+ /**
558
+ * @public
559
+ */
560
+ export interface UpdateGatewayCapabilityConfigurationRequest {
561
+ /**
562
+ * @public
563
+ * <p>The ID of the gateway to be updated.</p>
564
+ */
565
+ gatewayId: string | undefined;
566
+ /**
567
+ * @public
568
+ * <p>The namespace of the gateway capability configuration to be updated.
569
+ * For example, if you configure OPC-UA
570
+ * sources from the IoT SiteWise console, your OPC-UA capability configuration has the namespace
571
+ * <code>iotsitewise:opcuacollector:version</code>, where <code>version</code> is a number such as
572
+ * <code>1</code>.</p>
573
+ */
574
+ capabilityNamespace: string | undefined;
575
+ /**
576
+ * @public
577
+ * <p>The JSON document that defines the configuration for the gateway capability. For more
578
+ * information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/configure-sources.html#configure-source-cli">Configuring data sources (CLI)</a> in the <i>IoT SiteWise User Guide</i>.</p>
579
+ */
580
+ capabilityConfiguration: string | undefined;
581
+ }
582
+ /**
583
+ * @public
584
+ */
585
+ export interface UpdateGatewayCapabilityConfigurationResponse {
586
+ /**
587
+ * @public
588
+ * <p>The namespace of the gateway capability.</p>
589
+ */
590
+ capabilityNamespace: string | undefined;
591
+ /**
592
+ * @public
593
+ * <p>The synchronization status of the capability configuration. The sync status can be one of the following:</p>
594
+ * <ul>
595
+ * <li>
596
+ * <p>
597
+ * <code>IN_SYNC</code> – The gateway is running the capability configuration.</p>
598
+ * </li>
599
+ * <li>
600
+ * <p>
601
+ * <code>OUT_OF_SYNC</code> – The gateway hasn't received the capability configuration.</p>
602
+ * </li>
603
+ * <li>
604
+ * <p>
605
+ * <code>SYNC_FAILED</code> – The gateway rejected the capability configuration.</p>
606
+ * </li>
607
+ * </ul>
608
+ * <p>After you update a capability configuration, its sync status is <code>OUT_OF_SYNC</code>
609
+ * until the gateway receives and applies or rejects the updated configuration.</p>
610
+ */
611
+ capabilitySyncStatus: CapabilitySyncStatus | undefined;
612
+ }
613
+ /**
614
+ * @public
615
+ * <p>Contains an image that is one of the following:</p>
616
+ * <ul>
617
+ * <li>
618
+ * <p>An image file. Choose this option to upload a new image.</p>
619
+ * </li>
620
+ * <li>
621
+ * <p>The ID of an existing image. Choose this option to keep an existing image.</p>
622
+ * </li>
623
+ * </ul>
624
+ */
625
+ export interface Image {
626
+ /**
627
+ * @public
628
+ * <p>The ID of an existing image. Specify this parameter to keep an existing image.</p>
629
+ */
630
+ id?: string;
631
+ /**
632
+ * @public
633
+ * <p>Contains an image file.</p>
634
+ */
635
+ file?: ImageFile;
636
+ }
637
+ /**
638
+ * @public
639
+ */
640
+ export interface UpdatePortalRequest {
641
+ /**
642
+ * @public
643
+ * <p>The ID of the portal to update.</p>
644
+ */
645
+ portalId: string | undefined;
646
+ /**
647
+ * @public
648
+ * <p>A new friendly name for the portal.</p>
649
+ */
650
+ portalName: string | undefined;
651
+ /**
652
+ * @public
653
+ * <p>A new description for the portal.</p>
654
+ */
655
+ portalDescription?: string;
656
+ /**
657
+ * @public
658
+ * <p>The Amazon Web Services administrator's contact email address.</p>
659
+ */
660
+ portalContactEmail: string | undefined;
661
+ /**
662
+ * @public
663
+ * <p>Contains an image that is one of the following:</p>
664
+ * <ul>
665
+ * <li>
666
+ * <p>An image file. Choose this option to upload a new image.</p>
667
+ * </li>
668
+ * <li>
669
+ * <p>The ID of an existing image. Choose this option to keep an existing image.</p>
670
+ * </li>
671
+ * </ul>
672
+ */
673
+ portalLogoImage?: Image;
674
+ /**
675
+ * @public
676
+ * <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">ARN</a> of a service role that allows the portal's users to access your IoT SiteWise
677
+ * resources on your behalf. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/monitor-service-role.html">Using service roles for IoT SiteWise Monitor</a> in the
678
+ * <i>IoT SiteWise User Guide</i>.</p>
679
+ */
680
+ roleArn: string | undefined;
681
+ /**
682
+ * @public
683
+ * <p>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.</p>
684
+ */
685
+ clientToken?: string;
686
+ /**
687
+ * @public
688
+ * <p>The email address that sends alarm notifications.</p>
689
+ */
690
+ notificationSenderEmail?: string;
691
+ /**
692
+ * @public
693
+ * <p>Contains the configuration information of an alarm created in an IoT SiteWise Monitor portal.
694
+ * You can use the alarm to monitor an asset property and get notified when the asset property value is outside a specified range.
695
+ * For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/appguide/monitor-alarms.html">Monitoring with alarms</a> in the <i>IoT SiteWise Application Guide</i>.</p>
696
+ */
697
+ alarms?: Alarms;
698
+ }
699
+ /**
700
+ * @public
701
+ */
702
+ export interface UpdatePortalResponse {
703
+ /**
704
+ * @public
705
+ * <p>The status of the portal, which contains a state (<code>UPDATING</code> after successfully
706
+ * calling this operation) and any error message.</p>
707
+ */
708
+ portalStatus: PortalStatus | undefined;
709
+ }
710
+ /**
711
+ * @public
712
+ */
713
+ export interface UpdateProjectRequest {
714
+ /**
715
+ * @public
716
+ * <p>The ID of the project to update.</p>
717
+ */
718
+ projectId: string | undefined;
719
+ /**
720
+ * @public
721
+ * <p>A new friendly name for the project.</p>
722
+ */
723
+ projectName: string | undefined;
724
+ /**
725
+ * @public
726
+ * <p>A new description for the project.</p>
727
+ */
728
+ projectDescription?: string;
729
+ /**
730
+ * @public
731
+ * <p>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.</p>
732
+ */
733
+ clientToken?: string;
734
+ }
735
+ /**
736
+ * @public
737
+ */
738
+ export interface UpdateProjectResponse {
739
+ }
740
+ /**
741
+ * @public
742
+ * <p>Represents a single data point in a query result. </p>
743
+ */
744
+ export interface Datum {
745
+ /**
746
+ * @public
747
+ * <p>Indicates if the data point is a scalar value such as integer, string, double, or Boolean. </p>
748
+ */
749
+ scalarValue?: string;
750
+ /**
751
+ * @public
752
+ * <p>Indicates if the data point is an array. </p>
753
+ */
754
+ arrayValue?: Datum[];
755
+ /**
756
+ * @public
757
+ * <p>Indicates if the data point is a row.</p>
758
+ */
759
+ rowValue?: Row;
760
+ /**
761
+ * @public
762
+ * <p>Indicates if the data point is null.</p>
763
+ */
764
+ nullValue?: boolean;
765
+ }
766
+ /**
767
+ * @public
768
+ * <p>Represents a single row in the query results.</p>
769
+ */
770
+ export interface Row {
771
+ /**
772
+ * @public
773
+ * <p>List of data points in a single row of the result set.</p>
774
+ */
775
+ data: Datum[] | undefined;
776
+ }
777
+ /**
778
+ * @public
779
+ */
780
+ export interface ExecuteQueryResponse {
781
+ /**
782
+ * @public
783
+ * <p>Represents a single column in the query results.</p>
784
+ */
785
+ columns?: ColumnInfo[];
786
+ /**
787
+ * @public
788
+ * <p>Represents a single row in the query results.</p>
789
+ */
790
+ rows?: Row[];
791
+ /**
792
+ * @public
793
+ * <p>The string that specifies the next page of results.</p>
794
+ */
795
+ nextToken?: string;
796
+ }