@aws-sdk/client-iotsitewise 3.295.0 → 3.297.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 (104) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-cjs/protocols/Aws_restJson1.js +4 -0
  3. package/dist-es/endpoint/ruleset.js +3 -3
  4. package/dist-es/protocols/Aws_restJson1.js +4 -0
  5. package/dist-types/IoTSiteWise.d.ts +76 -2
  6. package/dist-types/IoTSiteWiseClient.d.ts +24 -4
  7. package/dist-types/commands/AssociateAssetsCommand.d.ts +16 -0
  8. package/dist-types/commands/AssociateTimeSeriesToAssetPropertyCommand.d.ts +16 -0
  9. package/dist-types/commands/BatchAssociateProjectAssetsCommand.d.ts +16 -0
  10. package/dist-types/commands/BatchDisassociateProjectAssetsCommand.d.ts +16 -0
  11. package/dist-types/commands/BatchGetAssetPropertyAggregatesCommand.d.ts +16 -0
  12. package/dist-types/commands/BatchGetAssetPropertyValueCommand.d.ts +16 -0
  13. package/dist-types/commands/BatchGetAssetPropertyValueHistoryCommand.d.ts +16 -0
  14. package/dist-types/commands/BatchPutAssetPropertyValueCommand.d.ts +18 -2
  15. package/dist-types/commands/CreateAccessPolicyCommand.d.ts +16 -0
  16. package/dist-types/commands/CreateAssetCommand.d.ts +16 -0
  17. package/dist-types/commands/CreateAssetModelCommand.d.ts +16 -0
  18. package/dist-types/commands/CreateBulkImportJobCommand.d.ts +16 -0
  19. package/dist-types/commands/CreateDashboardCommand.d.ts +16 -0
  20. package/dist-types/commands/CreateGatewayCommand.d.ts +16 -0
  21. package/dist-types/commands/CreatePortalCommand.d.ts +16 -0
  22. package/dist-types/commands/CreateProjectCommand.d.ts +16 -0
  23. package/dist-types/commands/DeleteAccessPolicyCommand.d.ts +16 -0
  24. package/dist-types/commands/DeleteAssetCommand.d.ts +16 -0
  25. package/dist-types/commands/DeleteAssetModelCommand.d.ts +16 -0
  26. package/dist-types/commands/DeleteDashboardCommand.d.ts +16 -0
  27. package/dist-types/commands/DeleteGatewayCommand.d.ts +16 -0
  28. package/dist-types/commands/DeletePortalCommand.d.ts +16 -0
  29. package/dist-types/commands/DeleteProjectCommand.d.ts +16 -0
  30. package/dist-types/commands/DeleteTimeSeriesCommand.d.ts +16 -0
  31. package/dist-types/commands/DescribeAccessPolicyCommand.d.ts +16 -0
  32. package/dist-types/commands/DescribeAssetCommand.d.ts +16 -0
  33. package/dist-types/commands/DescribeAssetModelCommand.d.ts +16 -0
  34. package/dist-types/commands/DescribeAssetPropertyCommand.d.ts +16 -0
  35. package/dist-types/commands/DescribeBulkImportJobCommand.d.ts +16 -0
  36. package/dist-types/commands/DescribeDashboardCommand.d.ts +16 -0
  37. package/dist-types/commands/DescribeDefaultEncryptionConfigurationCommand.d.ts +16 -0
  38. package/dist-types/commands/DescribeGatewayCapabilityConfigurationCommand.d.ts +16 -0
  39. package/dist-types/commands/DescribeGatewayCommand.d.ts +16 -0
  40. package/dist-types/commands/DescribeLoggingOptionsCommand.d.ts +16 -0
  41. package/dist-types/commands/DescribePortalCommand.d.ts +16 -0
  42. package/dist-types/commands/DescribeProjectCommand.d.ts +16 -0
  43. package/dist-types/commands/DescribeStorageConfigurationCommand.d.ts +16 -0
  44. package/dist-types/commands/DescribeTimeSeriesCommand.d.ts +16 -0
  45. package/dist-types/commands/DisassociateAssetsCommand.d.ts +16 -0
  46. package/dist-types/commands/DisassociateTimeSeriesFromAssetPropertyCommand.d.ts +16 -0
  47. package/dist-types/commands/GetAssetPropertyAggregatesCommand.d.ts +16 -0
  48. package/dist-types/commands/GetAssetPropertyValueCommand.d.ts +16 -0
  49. package/dist-types/commands/GetAssetPropertyValueHistoryCommand.d.ts +16 -0
  50. package/dist-types/commands/GetInterpolatedAssetPropertyValuesCommand.d.ts +16 -0
  51. package/dist-types/commands/ListAccessPoliciesCommand.d.ts +16 -0
  52. package/dist-types/commands/ListAssetModelPropertiesCommand.d.ts +16 -0
  53. package/dist-types/commands/ListAssetModelsCommand.d.ts +16 -0
  54. package/dist-types/commands/ListAssetPropertiesCommand.d.ts +16 -0
  55. package/dist-types/commands/ListAssetRelationshipsCommand.d.ts +16 -0
  56. package/dist-types/commands/ListAssetsCommand.d.ts +16 -0
  57. package/dist-types/commands/ListAssociatedAssetsCommand.d.ts +16 -0
  58. package/dist-types/commands/ListBulkImportJobsCommand.d.ts +16 -0
  59. package/dist-types/commands/ListDashboardsCommand.d.ts +16 -0
  60. package/dist-types/commands/ListGatewaysCommand.d.ts +16 -0
  61. package/dist-types/commands/ListPortalsCommand.d.ts +16 -0
  62. package/dist-types/commands/ListProjectAssetsCommand.d.ts +16 -0
  63. package/dist-types/commands/ListProjectsCommand.d.ts +16 -0
  64. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  65. package/dist-types/commands/ListTimeSeriesCommand.d.ts +16 -0
  66. package/dist-types/commands/PutDefaultEncryptionConfigurationCommand.d.ts +16 -0
  67. package/dist-types/commands/PutLoggingOptionsCommand.d.ts +16 -0
  68. package/dist-types/commands/PutStorageConfigurationCommand.d.ts +16 -0
  69. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  70. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  71. package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +16 -0
  72. package/dist-types/commands/UpdateAssetCommand.d.ts +16 -0
  73. package/dist-types/commands/UpdateAssetModelCommand.d.ts +16 -0
  74. package/dist-types/commands/UpdateAssetPropertyCommand.d.ts +16 -0
  75. package/dist-types/commands/UpdateDashboardCommand.d.ts +16 -0
  76. package/dist-types/commands/UpdateGatewayCapabilityConfigurationCommand.d.ts +16 -0
  77. package/dist-types/commands/UpdateGatewayCommand.d.ts +16 -0
  78. package/dist-types/commands/UpdatePortalCommand.d.ts +16 -0
  79. package/dist-types/commands/UpdateProjectCommand.d.ts +16 -0
  80. package/dist-types/models/IoTSiteWiseServiceException.d.ts +2 -0
  81. package/dist-types/models/models_0.d.ts +690 -35
  82. package/dist-types/pagination/BatchGetAssetPropertyAggregatesPaginator.d.ts +3 -0
  83. package/dist-types/pagination/BatchGetAssetPropertyValueHistoryPaginator.d.ts +3 -0
  84. package/dist-types/pagination/BatchGetAssetPropertyValuePaginator.d.ts +3 -0
  85. package/dist-types/pagination/GetAssetPropertyAggregatesPaginator.d.ts +3 -0
  86. package/dist-types/pagination/GetAssetPropertyValueHistoryPaginator.d.ts +3 -0
  87. package/dist-types/pagination/GetInterpolatedAssetPropertyValuesPaginator.d.ts +3 -0
  88. package/dist-types/pagination/Interfaces.d.ts +3 -0
  89. package/dist-types/pagination/ListAccessPoliciesPaginator.d.ts +3 -0
  90. package/dist-types/pagination/ListAssetModelPropertiesPaginator.d.ts +3 -0
  91. package/dist-types/pagination/ListAssetModelsPaginator.d.ts +3 -0
  92. package/dist-types/pagination/ListAssetPropertiesPaginator.d.ts +3 -0
  93. package/dist-types/pagination/ListAssetRelationshipsPaginator.d.ts +3 -0
  94. package/dist-types/pagination/ListAssetsPaginator.d.ts +3 -0
  95. package/dist-types/pagination/ListAssociatedAssetsPaginator.d.ts +3 -0
  96. package/dist-types/pagination/ListBulkImportJobsPaginator.d.ts +3 -0
  97. package/dist-types/pagination/ListDashboardsPaginator.d.ts +3 -0
  98. package/dist-types/pagination/ListGatewaysPaginator.d.ts +3 -0
  99. package/dist-types/pagination/ListPortalsPaginator.d.ts +3 -0
  100. package/dist-types/pagination/ListProjectAssetsPaginator.d.ts +3 -0
  101. package/dist-types/pagination/ListProjectsPaginator.d.ts +3 -0
  102. package/dist-types/pagination/ListTimeSeriesPaginator.d.ts +3 -0
  103. package/dist-types/ts3.4/models/models_0.d.ts +2 -0
  104. package/package.json +30 -30
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://iotsitewise-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://iotsitewise-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://iotsitewise.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://iotsitewise.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://iotsitewise-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://iotsitewise-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://iotsitewise.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://iotsitewise.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -4236,6 +4236,9 @@ const deserializeAws_restJson1DescribeTimeSeriesCommand = async (output, context
4236
4236
  if (data.propertyId != null) {
4237
4237
  contents.propertyId = (0, smithy_client_1.expectString)(data.propertyId);
4238
4238
  }
4239
+ if (data.timeSeriesArn != null) {
4240
+ contents.timeSeriesArn = (0, smithy_client_1.expectString)(data.timeSeriesArn);
4241
+ }
4239
4242
  if (data.timeSeriesCreationDate != null) {
4240
4243
  contents.timeSeriesCreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.timeSeriesCreationDate)));
4241
4244
  }
@@ -7598,6 +7601,7 @@ const deserializeAws_restJson1TimeSeriesSummary = (output, context) => {
7598
7601
  dataType: (0, smithy_client_1.expectString)(output.dataType),
7599
7602
  dataTypeSpec: (0, smithy_client_1.expectString)(output.dataTypeSpec),
7600
7603
  propertyId: (0, smithy_client_1.expectString)(output.propertyId),
7604
+ timeSeriesArn: (0, smithy_client_1.expectString)(output.timeSeriesArn),
7601
7605
  timeSeriesCreationDate: output.timeSeriesCreationDate != null
7602
7606
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.timeSeriesCreationDate)))
7603
7607
  : undefined,
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://iotsitewise-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://iotsitewise-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://iotsitewise.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://iotsitewise.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://iotsitewise-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://iotsitewise-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://iotsitewise.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://iotsitewise.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -4121,6 +4121,9 @@ export const deserializeAws_restJson1DescribeTimeSeriesCommand = async (output,
4121
4121
  if (data.propertyId != null) {
4122
4122
  contents.propertyId = __expectString(data.propertyId);
4123
4123
  }
4124
+ if (data.timeSeriesArn != null) {
4125
+ contents.timeSeriesArn = __expectString(data.timeSeriesArn);
4126
+ }
4124
4127
  if (data.timeSeriesCreationDate != null) {
4125
4128
  contents.timeSeriesCreationDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.timeSeriesCreationDate)));
4126
4129
  }
@@ -7447,6 +7450,7 @@ const deserializeAws_restJson1TimeSeriesSummary = (output, context) => {
7447
7450
  dataType: __expectString(output.dataType),
7448
7451
  dataTypeSpec: __expectString(output.dataTypeSpec),
7449
7452
  propertyId: __expectString(output.propertyId),
7453
+ timeSeriesArn: __expectString(output.timeSeriesArn),
7450
7454
  timeSeriesCreationDate: output.timeSeriesCreationDate != null
7451
7455
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timeSeriesCreationDate)))
7452
7456
  : undefined,