@aws-sdk/client-iotsitewise 3.731.0 → 3.732.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.
package/dist-cjs/index.js CHANGED
@@ -153,6 +153,7 @@ __export(src_exports, {
153
153
  PutStorageConfigurationCommand: () => PutStorageConfigurationCommand,
154
154
  Quality: () => Quality,
155
155
  QueryTimeoutException: () => QueryTimeoutException,
156
+ RawValueType: () => RawValueType,
156
157
  ResourceAlreadyExistsException: () => ResourceAlreadyExistsException,
157
158
  ResourceNotFoundException: () => ResourceNotFoundException,
158
159
  ResourceType: () => ResourceType,
@@ -481,6 +482,13 @@ var AssetModelVersionType = {
481
482
  ACTIVE: "ACTIVE",
482
483
  LATEST: "LATEST"
483
484
  };
485
+ var RawValueType = {
486
+ BOOLEAN: "B",
487
+ DOUBLE: "D",
488
+ INTEGER: "I",
489
+ STRING: "S",
490
+ UNKNOWN: "U"
491
+ };
484
492
  var AssetRelationshipType = {
485
493
  HIERARCHY: "HIERARCHY"
486
494
  };
@@ -905,10 +913,6 @@ var ListAssetsFilter = {
905
913
  ALL: "ALL",
906
914
  TOP_LEVEL: "TOP_LEVEL"
907
915
  };
908
- var TraversalDirection = {
909
- CHILD: "CHILD",
910
- PARENT: "PARENT"
911
- };
912
916
  var CreatePortalRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
913
917
  ...obj,
914
918
  ...obj.portalContactEmail && { portalContactEmail: import_smithy_client.SENSITIVE_STRING },
@@ -952,6 +956,10 @@ var InvokeAssistantResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
952
956
 
953
957
  // src/models/models_1.ts
954
958
 
959
+ var TraversalDirection = {
960
+ CHILD: "CHILD",
961
+ PARENT: "PARENT"
962
+ };
955
963
  var ListBulkImportJobsFilter = {
956
964
  ALL: "ALL",
957
965
  CANCELLED: "CANCELLED",
@@ -1201,6 +1209,7 @@ var se_BatchPutAssetPropertyValueCommand = /* @__PURE__ */ __name(async (input,
1201
1209
  let body;
1202
1210
  body = JSON.stringify(
1203
1211
  (0, import_smithy_client.take)(input, {
1212
+ enablePartialEntryProcessing: [],
1204
1213
  entries: (_) => se_PutAssetPropertyValueEntries(_, context)
1205
1214
  })
1206
1215
  );
@@ -2750,6 +2759,7 @@ var se_PutStorageConfigurationCommand = /* @__PURE__ */ __name(async (input, con
2750
2759
  let body;
2751
2760
  body = JSON.stringify(
2752
2761
  (0, import_smithy_client.take)(input, {
2762
+ disallowIngestNullNaN: [],
2753
2763
  disassociatedDataStorage: [],
2754
2764
  multiLayerStorage: (_) => (0, import_smithy_client._json)(_),
2755
2765
  retentionPeriod: (_) => (0, import_smithy_client._json)(_),
@@ -3867,6 +3877,7 @@ var de_DescribeStorageConfigurationCommand = /* @__PURE__ */ __name(async (outpu
3867
3877
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3868
3878
  const doc = (0, import_smithy_client.take)(data, {
3869
3879
  configurationStatus: import_smithy_client._json,
3880
+ disallowIngestNullNaN: import_smithy_client.expectBoolean,
3870
3881
  disassociatedDataStorage: import_smithy_client.expectString,
3871
3882
  lastUpdateDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3872
3883
  multiLayerStorage: import_smithy_client._json,
@@ -4341,6 +4352,7 @@ var de_PutStorageConfigurationCommand = /* @__PURE__ */ __name(async (output, co
4341
4352
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
4342
4353
  const doc = (0, import_smithy_client.take)(data, {
4343
4354
  configurationStatus: import_smithy_client._json,
4355
+ disallowIngestNullNaN: import_smithy_client.expectBoolean,
4344
4356
  disassociatedDataStorage: import_smithy_client.expectString,
4345
4357
  multiLayerStorage: import_smithy_client._json,
4346
4358
  retentionPeriod: import_smithy_client._json,
@@ -4963,6 +4975,7 @@ var se_Variant = /* @__PURE__ */ __name((input, context) => {
4963
4975
  booleanValue: [],
4964
4976
  doubleValue: import_smithy_client.serializeFloat,
4965
4977
  integerValue: [],
4978
+ nullValue: import_smithy_client._json,
4966
4979
  stringValue: []
4967
4980
  });
4968
4981
  }, "se_Variant");
@@ -5320,6 +5333,7 @@ var de_Variant = /* @__PURE__ */ __name((output, context) => {
5320
5333
  booleanValue: import_smithy_client.expectBoolean,
5321
5334
  doubleValue: import_smithy_client.limitedParseDouble,
5322
5335
  integerValue: import_smithy_client.expectInt32,
5336
+ nullValue: import_smithy_client._json,
5323
5337
  stringValue: import_smithy_client.expectString
5324
5338
  });
5325
5339
  }, "de_Variant");
@@ -7266,6 +7280,7 @@ var waitUntilPortalNotExists = /* @__PURE__ */ __name(async (params, input) => {
7266
7280
  DetailedErrorCode,
7267
7281
  AssetModelType,
7268
7282
  AssetModelVersionType,
7283
+ RawValueType,
7269
7284
  AssetRelationshipType,
7270
7285
  AssetState,
7271
7286
  ConflictingOperationException,
@@ -7311,12 +7326,12 @@ var waitUntilPortalNotExists = /* @__PURE__ */ __name(async (params, input) => {
7311
7326
  ListAssetPropertiesFilter,
7312
7327
  TraversalType,
7313
7328
  ListAssetsFilter,
7314
- TraversalDirection,
7315
7329
  CreatePortalRequestFilterSensitiveLog,
7316
7330
  DescribePortalResponseFilterSensitiveLog,
7317
7331
  InvokeAssistantRequestFilterSensitiveLog,
7318
7332
  ResponseStreamFilterSensitiveLog,
7319
7333
  InvokeAssistantResponseFilterSensitiveLog,
7334
+ TraversalDirection,
7320
7335
  ListBulkImportJobsFilter,
7321
7336
  UnauthorizedException,
7322
7337
  ListTimeSeriesType,
@@ -75,6 +75,13 @@ export const AssetModelVersionType = {
75
75
  ACTIVE: "ACTIVE",
76
76
  LATEST: "LATEST",
77
77
  };
78
+ export const RawValueType = {
79
+ BOOLEAN: "B",
80
+ DOUBLE: "D",
81
+ INTEGER: "I",
82
+ STRING: "S",
83
+ UNKNOWN: "U",
84
+ };
78
85
  export const AssetRelationshipType = {
79
86
  HIERARCHY: "HIERARCHY",
80
87
  };
@@ -409,10 +416,6 @@ export const ListAssetsFilter = {
409
416
  ALL: "ALL",
410
417
  TOP_LEVEL: "TOP_LEVEL",
411
418
  };
412
- export const TraversalDirection = {
413
- CHILD: "CHILD",
414
- PARENT: "PARENT",
415
- };
416
419
  export const CreatePortalRequestFilterSensitiveLog = (obj) => ({
417
420
  ...obj,
418
421
  ...(obj.portalContactEmail && { portalContactEmail: SENSITIVE_STRING }),
@@ -1,5 +1,9 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { IoTSiteWiseServiceException as __BaseException } from "./IoTSiteWiseServiceException";
3
+ export const TraversalDirection = {
4
+ CHILD: "CHILD",
5
+ PARENT: "PARENT",
6
+ };
3
7
  export const ListBulkImportJobsFilter = {
4
8
  ALL: "ALL",
5
9
  CANCELLED: "CANCELLED",
@@ -178,6 +178,7 @@ export const se_BatchPutAssetPropertyValueCommand = async (input, context) => {
178
178
  b.bp("/properties");
179
179
  let body;
180
180
  body = JSON.stringify(take(input, {
181
+ enablePartialEntryProcessing: [],
181
182
  entries: (_) => se_PutAssetPropertyValueEntries(_, context),
182
183
  }));
183
184
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -1689,6 +1690,7 @@ export const se_PutStorageConfigurationCommand = async (input, context) => {
1689
1690
  b.bp("/configuration/account/storage");
1690
1691
  let body;
1691
1692
  body = JSON.stringify(take(input, {
1693
+ disallowIngestNullNaN: [],
1692
1694
  disassociatedDataStorage: [],
1693
1695
  multiLayerStorage: (_) => _json(_),
1694
1696
  retentionPeriod: (_) => _json(_),
@@ -2781,6 +2783,7 @@ export const de_DescribeStorageConfigurationCommand = async (output, context) =>
2781
2783
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2782
2784
  const doc = take(data, {
2783
2785
  configurationStatus: _json,
2786
+ disallowIngestNullNaN: __expectBoolean,
2784
2787
  disassociatedDataStorage: __expectString,
2785
2788
  lastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2786
2789
  multiLayerStorage: _json,
@@ -3255,6 +3258,7 @@ export const de_PutStorageConfigurationCommand = async (output, context) => {
3255
3258
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
3256
3259
  const doc = take(data, {
3257
3260
  configurationStatus: _json,
3261
+ disallowIngestNullNaN: __expectBoolean,
3258
3262
  disassociatedDataStorage: __expectString,
3259
3263
  multiLayerStorage: _json,
3260
3264
  retentionPeriod: _json,
@@ -3883,6 +3887,7 @@ const se_Variant = (input, context) => {
3883
3887
  booleanValue: [],
3884
3888
  doubleValue: __serializeFloat,
3885
3889
  integerValue: [],
3890
+ nullValue: _json,
3886
3891
  stringValue: [],
3887
3892
  });
3888
3893
  };
@@ -4284,6 +4289,7 @@ const de_Variant = (output, context) => {
4284
4289
  booleanValue: __expectBoolean,
4285
4290
  doubleValue: __limitedParseDouble,
4286
4291
  integerValue: __expectInt32,
4292
+ nullValue: _json,
4287
4293
  stringValue: __expectString,
4288
4294
  });
4289
4295
  };
@@ -65,6 +65,9 @@ declare const BatchGetAssetPropertyValueCommand_base: {
65
65
  * // integerValue: Number("int"),
66
66
  * // doubleValue: Number("double"),
67
67
  * // booleanValue: true || false,
68
+ * // nullValue: { // PropertyValueNullValue
69
+ * // valueType: "D" || "B" || "S" || "I" || "U", // required
70
+ * // },
68
71
  * // },
69
72
  * // timestamp: { // TimeInNanos
70
73
  * // timeInSeconds: Number("long"), // required
@@ -73,6 +73,9 @@ declare const BatchGetAssetPropertyValueHistoryCommand_base: {
73
73
  * // integerValue: Number("int"),
74
74
  * // doubleValue: Number("double"),
75
75
  * // booleanValue: true || false,
76
+ * // nullValue: { // PropertyValueNullValue
77
+ * // valueType: "D" || "B" || "S" || "I" || "U", // required
78
+ * // },
76
79
  * // },
77
80
  * // timestamp: { // TimeInNanos
78
81
  * // timeInSeconds: Number("long"), // required
@@ -59,6 +59,7 @@ declare const BatchPutAssetPropertyValueCommand_base: {
59
59
  * // const { IoTSiteWiseClient, BatchPutAssetPropertyValueCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
60
60
  * const client = new IoTSiteWiseClient(config);
61
61
  * const input = { // BatchPutAssetPropertyValueRequest
62
+ * enablePartialEntryProcessing: true || false,
62
63
  * entries: [ // PutAssetPropertyValueEntries // required
63
64
  * { // PutAssetPropertyValueEntry
64
65
  * entryId: "STRING_VALUE", // required
@@ -72,6 +73,9 @@ declare const BatchPutAssetPropertyValueCommand_base: {
72
73
  * integerValue: Number("int"),
73
74
  * doubleValue: Number("double"),
74
75
  * booleanValue: true || false,
76
+ * nullValue: { // PropertyValueNullValue
77
+ * valueType: "D" || "B" || "S" || "I" || "U", // required
78
+ * },
75
79
  * },
76
80
  * timestamp: { // TimeInNanos
77
81
  * timeInSeconds: Number("long"), // required
@@ -63,6 +63,7 @@ declare const DescribeStorageConfigurationCommand_base: {
63
63
  * // numberOfDays: Number("int"),
64
64
  * // unlimited: true || false,
65
65
  * // },
66
+ * // disallowIngestNullNaN: true || false,
66
67
  * // };
67
68
  *
68
69
  * ```
@@ -59,6 +59,9 @@ declare const GetAssetPropertyValueCommand_base: {
59
59
  * // integerValue: Number("int"),
60
60
  * // doubleValue: Number("double"),
61
61
  * // booleanValue: true || false,
62
+ * // nullValue: { // PropertyValueNullValue
63
+ * // valueType: "D" || "B" || "S" || "I" || "U", // required
64
+ * // },
62
65
  * // },
63
66
  * // timestamp: { // TimeInNanos
64
67
  * // timeInSeconds: Number("long"), // required
@@ -68,6 +68,9 @@ declare const GetAssetPropertyValueHistoryCommand_base: {
68
68
  * // integerValue: Number("int"),
69
69
  * // doubleValue: Number("double"),
70
70
  * // booleanValue: true || false,
71
+ * // nullValue: { // PropertyValueNullValue
72
+ * // valueType: "D" || "B" || "S" || "I" || "U", // required
73
+ * // },
71
74
  * // },
72
75
  * // timestamp: { // TimeInNanos
73
76
  * // timeInSeconds: Number("long"), // required
@@ -77,6 +77,9 @@ declare const GetInterpolatedAssetPropertyValuesCommand_base: {
77
77
  * // integerValue: Number("int"),
78
78
  * // doubleValue: Number("double"),
79
79
  * // booleanValue: true || false,
80
+ * // nullValue: { // PropertyValueNullValue
81
+ * // valueType: "D" || "B" || "S" || "I" || "U", // required
82
+ * // },
80
83
  * // },
81
84
  * // },
82
85
  * // ],
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSiteWiseClient";
4
- import { ListAssociatedAssetsRequest } from "../models/models_0";
5
- import { ListAssociatedAssetsResponse } from "../models/models_1";
4
+ import { ListAssociatedAssetsRequest, ListAssociatedAssetsResponse } from "../models/models_1";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -52,6 +52,7 @@ declare const PutStorageConfigurationCommand_base: {
52
52
  * numberOfDays: Number("int"),
53
53
  * unlimited: true || false,
54
54
  * },
55
+ * disallowIngestNullNaN: true || false,
55
56
  * };
56
57
  * const command = new PutStorageConfigurationCommand(input);
57
58
  * const response = await client.send(command);
@@ -80,6 +81,7 @@ declare const PutStorageConfigurationCommand_base: {
80
81
  * // numberOfDays: Number("int"),
81
82
  * // unlimited: true || false,
82
83
  * // },
84
+ * // disallowIngestNullNaN: true || false,
83
85
  * // };
84
86
  *
85
87
  * ```
@@ -1658,13 +1658,42 @@ export interface TimeInNanos {
1658
1658
  */
1659
1659
  offsetInNanos?: number | undefined;
1660
1660
  }
1661
+ /**
1662
+ * @public
1663
+ * @enum
1664
+ */
1665
+ export declare const RawValueType: {
1666
+ readonly BOOLEAN: "B";
1667
+ readonly DOUBLE: "D";
1668
+ readonly INTEGER: "I";
1669
+ readonly STRING: "S";
1670
+ readonly UNKNOWN: "U";
1671
+ };
1672
+ /**
1673
+ * @public
1674
+ */
1675
+ export type RawValueType = (typeof RawValueType)[keyof typeof RawValueType];
1676
+ /**
1677
+ * <p>The value type of null asset property data with BAD and UNCERTAIN qualities.</p>
1678
+ * @public
1679
+ */
1680
+ export interface PropertyValueNullValue {
1681
+ /**
1682
+ * <p>The type of null asset property data.</p>
1683
+ * @public
1684
+ */
1685
+ valueType: RawValueType | undefined;
1686
+ }
1661
1687
  /**
1662
1688
  * <p>Contains an asset property value (of a single type only).</p>
1663
1689
  * @public
1664
1690
  */
1665
1691
  export interface Variant {
1666
1692
  /**
1667
- * <p>Asset property data of type string (sequence of characters).</p>
1693
+ * <p>
1694
+ * Asset property data of type string (sequence of characters).
1695
+ * The allowed pattern: "^$|[^\u0000-\u001F\u007F]+". The max length is 1024.
1696
+ * </p>
1668
1697
  * @public
1669
1698
  */
1670
1699
  stringValue?: string | undefined;
@@ -1674,7 +1703,10 @@ export interface Variant {
1674
1703
  */
1675
1704
  integerValue?: number | undefined;
1676
1705
  /**
1677
- * <p>Asset property data of type double (floating point number).</p>
1706
+ * <p>
1707
+ * Asset property data of type double (floating point number). The min value is -10^10.
1708
+ * The max value is 10^10. Double.NaN is allowed.
1709
+ * </p>
1678
1710
  * @public
1679
1711
  */
1680
1712
  doubleValue?: number | undefined;
@@ -1683,6 +1715,11 @@ export interface Variant {
1683
1715
  * @public
1684
1716
  */
1685
1717
  booleanValue?: boolean | undefined;
1718
+ /**
1719
+ * <p>The type of null asset property data with BAD and UNCERTAIN qualities.</p>
1720
+ * @public
1721
+ */
1722
+ nullValue?: PropertyValueNullValue | undefined;
1686
1723
  }
1687
1724
  /**
1688
1725
  * <p>Contains asset property value information.</p>
@@ -2817,6 +2854,12 @@ export interface PutAssetPropertyValueEntry {
2817
2854
  * @public
2818
2855
  */
2819
2856
  export interface BatchPutAssetPropertyValueRequest {
2857
+ /**
2858
+ * <p>This setting enables partial ingestion at entry-level. If set to <code>true</code>, we ingest all TQVs not resulting in an error. If set to
2859
+ * <code>false</code>, an invalid TQV fails ingestion of the entire entry that contains it.</p>
2860
+ * @public
2861
+ */
2862
+ enablePartialEntryProcessing?: boolean | undefined;
2820
2863
  /**
2821
2864
  * <p>The list of asset property value entries for the batch put request. You can specify up to
2822
2865
  * 10 entries per request.</p>
@@ -5900,6 +5943,12 @@ export interface DescribeStorageConfigurationResponse {
5900
5943
  * @public
5901
5944
  */
5902
5945
  warmTierRetentionPeriod?: WarmTierRetentionPeriod | undefined;
5946
+ /**
5947
+ * <p>Describes the configuration for ingesting NULL and NaN data.
5948
+ * By default the feature is allowed. The feature is disallowed if the value is <code>true</code>.</p>
5949
+ * @public
5950
+ */
5951
+ disallowIngestNullNaN?: boolean | undefined;
5903
5952
  }
5904
5953
  /**
5905
5954
  * @public
@@ -7377,68 +7426,6 @@ export interface ListAssetsResponse {
7377
7426
  */
7378
7427
  nextToken?: string | undefined;
7379
7428
  }
7380
- /**
7381
- * @public
7382
- * @enum
7383
- */
7384
- export declare const TraversalDirection: {
7385
- readonly CHILD: "CHILD";
7386
- readonly PARENT: "PARENT";
7387
- };
7388
- /**
7389
- * @public
7390
- */
7391
- export type TraversalDirection = (typeof TraversalDirection)[keyof typeof TraversalDirection];
7392
- /**
7393
- * @public
7394
- */
7395
- export interface ListAssociatedAssetsRequest {
7396
- /**
7397
- * <p>The ID of the asset to query. This can be either the actual ID in UUID format, or else <code>externalId:</code> followed by the external ID, if it has one.
7398
- * 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>
7399
- * @public
7400
- */
7401
- assetId: string | undefined;
7402
- /**
7403
- * <p>(Optional) If you don't provide a <code>hierarchyId</code>, all the immediate assets in
7404
- * the <code>traversalDirection</code> will be returned. </p>
7405
- * <p> The ID of the hierarchy by which child assets are associated to the asset.
7406
- * (This can be either the actual ID in UUID format, or else <code>externalId:</code> followed by the external ID, if it has one.
7407
- * 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>
7408
- * <p>For more 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>
7409
- * @public
7410
- */
7411
- hierarchyId?: string | undefined;
7412
- /**
7413
- * <p>The direction to list associated assets. Choose one of the following options:</p>
7414
- * <ul>
7415
- * <li>
7416
- * <p>
7417
- * <code>CHILD</code> – The list includes all child assets associated to the
7418
- * asset.</p>
7419
- * </li>
7420
- * <li>
7421
- * <p>
7422
- * <code>PARENT</code> – The list includes the asset's parent asset.</p>
7423
- * </li>
7424
- * </ul>
7425
- * <p>Default: <code>CHILD</code>
7426
- * </p>
7427
- * @public
7428
- */
7429
- traversalDirection?: TraversalDirection | undefined;
7430
- /**
7431
- * <p>The token to be used for the next set of paginated results.</p>
7432
- * @public
7433
- */
7434
- nextToken?: string | undefined;
7435
- /**
7436
- * <p>The maximum number of results to return for each paginated request.</p>
7437
- * <p>Default: 50</p>
7438
- * @public
7439
- */
7440
- maxResults?: number | undefined;
7441
- }
7442
7429
  /**
7443
7430
  * @internal
7444
7431
  */
@@ -1,6 +1,68 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { IoTSiteWiseServiceException as __BaseException } from "./IoTSiteWiseServiceException";
3
3
  import { Alarms, AssetModelCompositeModel, AssetModelCompositeModelPathSegment, AssetModelHierarchy, AssetModelProperty, AssetModelStatus, AssetModelVersionType, AssetStatus, AssociatedAssetsSummary, CapabilitySyncStatus, ColumnInfo, ConfigurationStatus, DatasetSource, DatasetSourceType, DatasetStatus, DisassociatedDataStorageState, EncryptionType, GatewayCapabilitySummary, GatewayPlatform, Identity, ImageFile, JobStatus, LoggingOptions, MultiLayerStorage, Permission, PortalStatus, PortalType, PortalTypeEntry, PropertyDataType, PropertyNotificationState, Resource, RetentionPeriod, StorageType, WarmTierRetentionPeriod, WarmTierState } from "./models_0";
4
+ /**
5
+ * @public
6
+ * @enum
7
+ */
8
+ export declare const TraversalDirection: {
9
+ readonly CHILD: "CHILD";
10
+ readonly PARENT: "PARENT";
11
+ };
12
+ /**
13
+ * @public
14
+ */
15
+ export type TraversalDirection = (typeof TraversalDirection)[keyof typeof TraversalDirection];
16
+ /**
17
+ * @public
18
+ */
19
+ export interface ListAssociatedAssetsRequest {
20
+ /**
21
+ * <p>The ID of the asset to query. This can be either the actual ID in UUID format, or else <code>externalId:</code> followed by the external ID, if it has one.
22
+ * 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>
23
+ * @public
24
+ */
25
+ assetId: string | undefined;
26
+ /**
27
+ * <p>(Optional) If you don't provide a <code>hierarchyId</code>, all the immediate assets in
28
+ * the <code>traversalDirection</code> will be returned. </p>
29
+ * <p> The ID of the hierarchy by which child assets are associated to the asset.
30
+ * (This can be either the actual ID in UUID format, or else <code>externalId:</code> followed by the external ID, if it has one.
31
+ * 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>
32
+ * <p>For more 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>
33
+ * @public
34
+ */
35
+ hierarchyId?: string | undefined;
36
+ /**
37
+ * <p>The direction to list associated assets. Choose one of the following options:</p>
38
+ * <ul>
39
+ * <li>
40
+ * <p>
41
+ * <code>CHILD</code> – The list includes all child assets associated to the
42
+ * asset.</p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
46
+ * <code>PARENT</code> – The list includes the asset's parent asset.</p>
47
+ * </li>
48
+ * </ul>
49
+ * <p>Default: <code>CHILD</code>
50
+ * </p>
51
+ * @public
52
+ */
53
+ traversalDirection?: TraversalDirection | undefined;
54
+ /**
55
+ * <p>The token to be used for the next set of paginated results.</p>
56
+ * @public
57
+ */
58
+ nextToken?: string | undefined;
59
+ /**
60
+ * <p>The maximum number of results to return for each paginated request.</p>
61
+ * <p>Default: 50</p>
62
+ * @public
63
+ */
64
+ maxResults?: number | undefined;
65
+ }
4
66
  /**
5
67
  * @public
6
68
  */
@@ -861,6 +923,12 @@ export interface PutStorageConfigurationRequest {
861
923
  * @public
862
924
  */
863
925
  warmTierRetentionPeriod?: WarmTierRetentionPeriod | undefined;
926
+ /**
927
+ * <p>Describes the configuration for ingesting NULL and NaN data.
928
+ * By default the feature is allowed. The feature is disallowed if the value is <code>true</code>.</p>
929
+ * @public
930
+ */
931
+ disallowIngestNullNaN?: boolean | undefined;
864
932
  }
865
933
  /**
866
934
  * @public
@@ -930,6 +998,12 @@ export interface PutStorageConfigurationResponse {
930
998
  * @public
931
999
  */
932
1000
  warmTierRetentionPeriod?: WarmTierRetentionPeriod | undefined;
1001
+ /**
1002
+ * <p>Describes the configuration for ingesting NULL and NaN data.
1003
+ * By default the feature is allowed. The feature is disallowed if the value is <code>true</code>.</p>
1004
+ * @public
1005
+ */
1006
+ disallowIngestNullNaN?: boolean | undefined;
933
1007
  }
934
1008
  /**
935
1009
  * @public
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../IoTSiteWiseClient";
8
- import { ListAssociatedAssetsRequest } from "../models/models_0";
9
- import { ListAssociatedAssetsResponse } from "../models/models_1";
8
+ import {
9
+ ListAssociatedAssetsRequest,
10
+ ListAssociatedAssetsResponse,
11
+ } from "../models/models_1";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface ListAssociatedAssetsCommandInput
@@ -378,11 +378,23 @@ export interface TimeInNanos {
378
378
  timeInSeconds: number | undefined;
379
379
  offsetInNanos?: number | undefined;
380
380
  }
381
+ export declare const RawValueType: {
382
+ readonly BOOLEAN: "B";
383
+ readonly DOUBLE: "D";
384
+ readonly INTEGER: "I";
385
+ readonly STRING: "S";
386
+ readonly UNKNOWN: "U";
387
+ };
388
+ export type RawValueType = (typeof RawValueType)[keyof typeof RawValueType];
389
+ export interface PropertyValueNullValue {
390
+ valueType: RawValueType | undefined;
391
+ }
381
392
  export interface Variant {
382
393
  stringValue?: string | undefined;
383
394
  integerValue?: number | undefined;
384
395
  doubleValue?: number | undefined;
385
396
  booleanValue?: boolean | undefined;
397
+ nullValue?: PropertyValueNullValue | undefined;
386
398
  }
387
399
  export interface AssetPropertyValue {
388
400
  value: Variant | undefined;
@@ -681,6 +693,7 @@ export interface PutAssetPropertyValueEntry {
681
693
  propertyValues: AssetPropertyValue[] | undefined;
682
694
  }
683
695
  export interface BatchPutAssetPropertyValueRequest {
696
+ enablePartialEntryProcessing?: boolean | undefined;
684
697
  entries: PutAssetPropertyValueEntry[] | undefined;
685
698
  }
686
699
  export declare const BatchPutAssetPropertyValueErrorCode: {
@@ -1393,6 +1406,7 @@ export interface DescribeStorageConfigurationResponse {
1393
1406
  lastUpdateDate?: Date | undefined;
1394
1407
  warmTier?: WarmTierState | undefined;
1395
1408
  warmTierRetentionPeriod?: WarmTierRetentionPeriod | undefined;
1409
+ disallowIngestNullNaN?: boolean | undefined;
1396
1410
  }
1397
1411
  export interface DescribeTimeSeriesRequest {
1398
1412
  alias?: string | undefined;
@@ -1836,19 +1850,6 @@ export interface ListAssetsResponse {
1836
1850
  assetSummaries: AssetSummary[] | undefined;
1837
1851
  nextToken?: string | undefined;
1838
1852
  }
1839
- export declare const TraversalDirection: {
1840
- readonly CHILD: "CHILD";
1841
- readonly PARENT: "PARENT";
1842
- };
1843
- export type TraversalDirection =
1844
- (typeof TraversalDirection)[keyof typeof TraversalDirection];
1845
- export interface ListAssociatedAssetsRequest {
1846
- assetId: string | undefined;
1847
- hierarchyId?: string | undefined;
1848
- traversalDirection?: TraversalDirection | undefined;
1849
- nextToken?: string | undefined;
1850
- maxResults?: number | undefined;
1851
- }
1852
1853
  export declare const CreatePortalRequestFilterSensitiveLog: (
1853
1854
  obj: CreatePortalRequest
1854
1855
  ) => any;
@@ -37,6 +37,19 @@ import {
37
37
  WarmTierRetentionPeriod,
38
38
  WarmTierState,
39
39
  } from "./models_0";
40
+ export declare const TraversalDirection: {
41
+ readonly CHILD: "CHILD";
42
+ readonly PARENT: "PARENT";
43
+ };
44
+ export type TraversalDirection =
45
+ (typeof TraversalDirection)[keyof typeof TraversalDirection];
46
+ export interface ListAssociatedAssetsRequest {
47
+ assetId: string | undefined;
48
+ hierarchyId?: string | undefined;
49
+ traversalDirection?: TraversalDirection | undefined;
50
+ nextToken?: string | undefined;
51
+ maxResults?: number | undefined;
52
+ }
40
53
  export interface ListAssociatedAssetsResponse {
41
54
  assetSummaries: AssociatedAssetsSummary[] | undefined;
42
55
  nextToken?: string | undefined;
@@ -237,6 +250,7 @@ export interface PutStorageConfigurationRequest {
237
250
  retentionPeriod?: RetentionPeriod | undefined;
238
251
  warmTier?: WarmTierState | undefined;
239
252
  warmTierRetentionPeriod?: WarmTierRetentionPeriod | undefined;
253
+ disallowIngestNullNaN?: boolean | undefined;
240
254
  }
241
255
  export interface PutStorageConfigurationResponse {
242
256
  storageType: StorageType | undefined;
@@ -246,6 +260,7 @@ export interface PutStorageConfigurationResponse {
246
260
  configurationStatus: ConfigurationStatus | undefined;
247
261
  warmTier?: WarmTierState | undefined;
248
262
  warmTierRetentionPeriod?: WarmTierRetentionPeriod | undefined;
263
+ disallowIngestNullNaN?: boolean | undefined;
249
264
  }
250
265
  export interface TagResourceRequest {
251
266
  resourceArn: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iotsitewise",
3
3
  "description": "AWS SDK for JavaScript Iotsitewise Client for Node.js, Browser and React Native",
4
- "version": "3.731.0",
4
+ "version": "3.732.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iotsitewise",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.731.0",
24
- "@aws-sdk/credential-provider-node": "3.731.0",
24
+ "@aws-sdk/credential-provider-node": "3.731.1",
25
25
  "@aws-sdk/middleware-host-header": "3.731.0",
26
26
  "@aws-sdk/middleware-logger": "3.731.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.731.0",