@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.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/protocols/Aws_restJson1.js +4 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +4 -0
- package/dist-types/IoTSiteWise.d.ts +76 -2
- package/dist-types/IoTSiteWiseClient.d.ts +24 -4
- package/dist-types/commands/AssociateAssetsCommand.d.ts +16 -0
- package/dist-types/commands/AssociateTimeSeriesToAssetPropertyCommand.d.ts +16 -0
- package/dist-types/commands/BatchAssociateProjectAssetsCommand.d.ts +16 -0
- package/dist-types/commands/BatchDisassociateProjectAssetsCommand.d.ts +16 -0
- package/dist-types/commands/BatchGetAssetPropertyAggregatesCommand.d.ts +16 -0
- package/dist-types/commands/BatchGetAssetPropertyValueCommand.d.ts +16 -0
- package/dist-types/commands/BatchGetAssetPropertyValueHistoryCommand.d.ts +16 -0
- package/dist-types/commands/BatchPutAssetPropertyValueCommand.d.ts +18 -2
- package/dist-types/commands/CreateAccessPolicyCommand.d.ts +16 -0
- package/dist-types/commands/CreateAssetCommand.d.ts +16 -0
- package/dist-types/commands/CreateAssetModelCommand.d.ts +16 -0
- package/dist-types/commands/CreateBulkImportJobCommand.d.ts +16 -0
- package/dist-types/commands/CreateDashboardCommand.d.ts +16 -0
- package/dist-types/commands/CreateGatewayCommand.d.ts +16 -0
- package/dist-types/commands/CreatePortalCommand.d.ts +16 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAccessPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAssetCommand.d.ts +16 -0
- package/dist-types/commands/DeleteAssetModelCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDashboardCommand.d.ts +16 -0
- package/dist-types/commands/DeleteGatewayCommand.d.ts +16 -0
- package/dist-types/commands/DeletePortalCommand.d.ts +16 -0
- package/dist-types/commands/DeleteProjectCommand.d.ts +16 -0
- package/dist-types/commands/DeleteTimeSeriesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAccessPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAssetCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAssetModelCommand.d.ts +16 -0
- package/dist-types/commands/DescribeAssetPropertyCommand.d.ts +16 -0
- package/dist-types/commands/DescribeBulkImportJobCommand.d.ts +16 -0
- package/dist-types/commands/DescribeDashboardCommand.d.ts +16 -0
- package/dist-types/commands/DescribeDefaultEncryptionConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/DescribeGatewayCapabilityConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/DescribeGatewayCommand.d.ts +16 -0
- package/dist-types/commands/DescribeLoggingOptionsCommand.d.ts +16 -0
- package/dist-types/commands/DescribePortalCommand.d.ts +16 -0
- package/dist-types/commands/DescribeProjectCommand.d.ts +16 -0
- package/dist-types/commands/DescribeStorageConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/DescribeTimeSeriesCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateAssetsCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateTimeSeriesFromAssetPropertyCommand.d.ts +16 -0
- package/dist-types/commands/GetAssetPropertyAggregatesCommand.d.ts +16 -0
- package/dist-types/commands/GetAssetPropertyValueCommand.d.ts +16 -0
- package/dist-types/commands/GetAssetPropertyValueHistoryCommand.d.ts +16 -0
- package/dist-types/commands/GetInterpolatedAssetPropertyValuesCommand.d.ts +16 -0
- package/dist-types/commands/ListAccessPoliciesCommand.d.ts +16 -0
- package/dist-types/commands/ListAssetModelPropertiesCommand.d.ts +16 -0
- package/dist-types/commands/ListAssetModelsCommand.d.ts +16 -0
- package/dist-types/commands/ListAssetPropertiesCommand.d.ts +16 -0
- package/dist-types/commands/ListAssetRelationshipsCommand.d.ts +16 -0
- package/dist-types/commands/ListAssetsCommand.d.ts +16 -0
- package/dist-types/commands/ListAssociatedAssetsCommand.d.ts +16 -0
- package/dist-types/commands/ListBulkImportJobsCommand.d.ts +16 -0
- package/dist-types/commands/ListDashboardsCommand.d.ts +16 -0
- package/dist-types/commands/ListGatewaysCommand.d.ts +16 -0
- package/dist-types/commands/ListPortalsCommand.d.ts +16 -0
- package/dist-types/commands/ListProjectAssetsCommand.d.ts +16 -0
- package/dist-types/commands/ListProjectsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListTimeSeriesCommand.d.ts +16 -0
- package/dist-types/commands/PutDefaultEncryptionConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/PutLoggingOptionsCommand.d.ts +16 -0
- package/dist-types/commands/PutStorageConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +16 -0
- package/dist-types/commands/UpdateAssetCommand.d.ts +16 -0
- package/dist-types/commands/UpdateAssetModelCommand.d.ts +16 -0
- package/dist-types/commands/UpdateAssetPropertyCommand.d.ts +16 -0
- package/dist-types/commands/UpdateDashboardCommand.d.ts +16 -0
- package/dist-types/commands/UpdateGatewayCapabilityConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/UpdateGatewayCommand.d.ts +16 -0
- package/dist-types/commands/UpdatePortalCommand.d.ts +16 -0
- package/dist-types/commands/UpdateProjectCommand.d.ts +16 -0
- package/dist-types/models/IoTSiteWiseServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +690 -35
- package/dist-types/pagination/BatchGetAssetPropertyAggregatesPaginator.d.ts +3 -0
- package/dist-types/pagination/BatchGetAssetPropertyValueHistoryPaginator.d.ts +3 -0
- package/dist-types/pagination/BatchGetAssetPropertyValuePaginator.d.ts +3 -0
- package/dist-types/pagination/GetAssetPropertyAggregatesPaginator.d.ts +3 -0
- package/dist-types/pagination/GetAssetPropertyValueHistoryPaginator.d.ts +3 -0
- package/dist-types/pagination/GetInterpolatedAssetPropertyValuesPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListAccessPoliciesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAssetModelPropertiesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAssetModelsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAssetPropertiesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAssetRelationshipsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAssetsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListAssociatedAssetsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListBulkImportJobsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListDashboardsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListGatewaysPaginator.d.ts +3 -0
- package/dist-types/pagination/ListPortalsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListProjectAssetsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListProjectsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListTimeSeriesPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- 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
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
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
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
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,
|