@aws-sdk/client-iotsitewise 3.74.0 → 3.75.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/CHANGELOG.md +11 -0
- package/dist-cjs/IoTSiteWise.js +45 -0
- package/dist-cjs/commands/BatchGetAssetPropertyAggregatesCommand.js +36 -0
- package/dist-cjs/commands/BatchGetAssetPropertyValueCommand.js +36 -0
- package/dist-cjs/commands/BatchGetAssetPropertyValueHistoryCommand.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +172 -22
- package/dist-cjs/pagination/BatchGetAssetPropertyAggregatesPaginator.js +35 -0
- package/dist-cjs/pagination/BatchGetAssetPropertyValueHistoryPaginator.js +35 -0
- package/dist-cjs/pagination/BatchGetAssetPropertyValuePaginator.js +34 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +563 -3
- package/dist-es/IoTSiteWise.js +45 -0
- package/dist-es/commands/BatchGetAssetPropertyAggregatesCommand.js +39 -0
- package/dist-es/commands/BatchGetAssetPropertyValueCommand.js +39 -0
- package/dist-es/commands/BatchGetAssetPropertyValueHistoryCommand.js +39 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +124 -17
- package/dist-es/pagination/BatchGetAssetPropertyAggregatesPaginator.js +74 -0
- package/dist-es/pagination/BatchGetAssetPropertyValueHistoryPaginator.js +74 -0
- package/dist-es/pagination/BatchGetAssetPropertyValuePaginator.js +73 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +611 -0
- package/dist-types/IoTSiteWise.d.ts +25 -0
- package/dist-types/IoTSiteWiseClient.d.ts +5 -2
- package/dist-types/commands/BatchGetAssetPropertyAggregatesCommand.d.ts +37 -0
- package/dist-types/commands/BatchGetAssetPropertyValueCommand.d.ts +36 -0
- package/dist-types/commands/BatchGetAssetPropertyValueHistoryCommand.d.ts +36 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +627 -15
- package/dist-types/pagination/BatchGetAssetPropertyAggregatesPaginator.d.ts +4 -0
- package/dist-types/pagination/BatchGetAssetPropertyValueHistoryPaginator.d.ts +4 -0
- package/dist-types/pagination/BatchGetAssetPropertyValuePaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/IoTSiteWise.d.ts +15 -0
- package/dist-types/ts3.4/IoTSiteWiseClient.d.ts +5 -2
- package/dist-types/ts3.4/commands/BatchGetAssetPropertyAggregatesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchGetAssetPropertyValueCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchGetAssetPropertyValueHistoryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +315 -11
- package/dist-types/ts3.4/pagination/BatchGetAssetPropertyAggregatesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/BatchGetAssetPropertyValueHistoryPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/BatchGetAssetPropertyValuePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +9 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.75.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.74.0...v3.75.0) (2022-04-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-iotsitewise:** This release adds 3 new batch data query APIs : BatchGetAssetPropertyValue, BatchGetAssetPropertyValueHistory and BatchGetAssetPropertyAggregates ([f07f481](https://github.com/aws/aws-sdk-js-v3/commit/f07f48100a30d0450eab0b08e7a87f7e58f34e52))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.74.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.73.0...v3.74.0) (2022-04-20)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-iotsitewise
|
package/dist-cjs/IoTSiteWise.js
CHANGED
|
@@ -5,6 +5,9 @@ const AssociateAssetsCommand_1 = require("./commands/AssociateAssetsCommand");
|
|
|
5
5
|
const AssociateTimeSeriesToAssetPropertyCommand_1 = require("./commands/AssociateTimeSeriesToAssetPropertyCommand");
|
|
6
6
|
const BatchAssociateProjectAssetsCommand_1 = require("./commands/BatchAssociateProjectAssetsCommand");
|
|
7
7
|
const BatchDisassociateProjectAssetsCommand_1 = require("./commands/BatchDisassociateProjectAssetsCommand");
|
|
8
|
+
const BatchGetAssetPropertyAggregatesCommand_1 = require("./commands/BatchGetAssetPropertyAggregatesCommand");
|
|
9
|
+
const BatchGetAssetPropertyValueCommand_1 = require("./commands/BatchGetAssetPropertyValueCommand");
|
|
10
|
+
const BatchGetAssetPropertyValueHistoryCommand_1 = require("./commands/BatchGetAssetPropertyValueHistoryCommand");
|
|
8
11
|
const BatchPutAssetPropertyValueCommand_1 = require("./commands/BatchPutAssetPropertyValueCommand");
|
|
9
12
|
const CreateAccessPolicyCommand_1 = require("./commands/CreateAccessPolicyCommand");
|
|
10
13
|
const CreateAssetCommand_1 = require("./commands/CreateAssetCommand");
|
|
@@ -124,6 +127,48 @@ class IoTSiteWise extends IoTSiteWiseClient_1.IoTSiteWiseClient {
|
|
|
124
127
|
return this.send(command, optionsOrCb);
|
|
125
128
|
}
|
|
126
129
|
}
|
|
130
|
+
batchGetAssetPropertyAggregates(args, optionsOrCb, cb) {
|
|
131
|
+
const command = new BatchGetAssetPropertyAggregatesCommand_1.BatchGetAssetPropertyAggregatesCommand(args);
|
|
132
|
+
if (typeof optionsOrCb === "function") {
|
|
133
|
+
this.send(command, optionsOrCb);
|
|
134
|
+
}
|
|
135
|
+
else if (typeof cb === "function") {
|
|
136
|
+
if (typeof optionsOrCb !== "object")
|
|
137
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
138
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
139
|
+
}
|
|
140
|
+
else {
|
|
141
|
+
return this.send(command, optionsOrCb);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
batchGetAssetPropertyValue(args, optionsOrCb, cb) {
|
|
145
|
+
const command = new BatchGetAssetPropertyValueCommand_1.BatchGetAssetPropertyValueCommand(args);
|
|
146
|
+
if (typeof optionsOrCb === "function") {
|
|
147
|
+
this.send(command, optionsOrCb);
|
|
148
|
+
}
|
|
149
|
+
else if (typeof cb === "function") {
|
|
150
|
+
if (typeof optionsOrCb !== "object")
|
|
151
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
152
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
153
|
+
}
|
|
154
|
+
else {
|
|
155
|
+
return this.send(command, optionsOrCb);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
batchGetAssetPropertyValueHistory(args, optionsOrCb, cb) {
|
|
159
|
+
const command = new BatchGetAssetPropertyValueHistoryCommand_1.BatchGetAssetPropertyValueHistoryCommand(args);
|
|
160
|
+
if (typeof optionsOrCb === "function") {
|
|
161
|
+
this.send(command, optionsOrCb);
|
|
162
|
+
}
|
|
163
|
+
else if (typeof cb === "function") {
|
|
164
|
+
if (typeof optionsOrCb !== "object")
|
|
165
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
166
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
167
|
+
}
|
|
168
|
+
else {
|
|
169
|
+
return this.send(command, optionsOrCb);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
127
172
|
batchPutAssetPropertyValue(args, optionsOrCb, cb) {
|
|
128
173
|
const command = new BatchPutAssetPropertyValueCommand_1.BatchPutAssetPropertyValueCommand(args);
|
|
129
174
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchGetAssetPropertyAggregatesCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class BatchGetAssetPropertyAggregatesCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IoTSiteWiseClient";
|
|
18
|
+
const commandName = "BatchGetAssetPropertyAggregatesCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.BatchGetAssetPropertyAggregatesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.BatchGetAssetPropertyAggregatesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1BatchGetAssetPropertyAggregatesCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1BatchGetAssetPropertyAggregatesCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.BatchGetAssetPropertyAggregatesCommand = BatchGetAssetPropertyAggregatesCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchGetAssetPropertyValueCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class BatchGetAssetPropertyValueCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IoTSiteWiseClient";
|
|
18
|
+
const commandName = "BatchGetAssetPropertyValueCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.BatchGetAssetPropertyValueRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.BatchGetAssetPropertyValueResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1BatchGetAssetPropertyValueCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1BatchGetAssetPropertyValueCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.BatchGetAssetPropertyValueCommand = BatchGetAssetPropertyValueCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchGetAssetPropertyValueHistoryCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class BatchGetAssetPropertyValueHistoryCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IoTSiteWiseClient";
|
|
18
|
+
const commandName = "BatchGetAssetPropertyValueHistoryCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.BatchGetAssetPropertyValueHistoryRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.BatchGetAssetPropertyValueHistoryResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1BatchGetAssetPropertyValueHistoryCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1BatchGetAssetPropertyValueHistoryCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.BatchGetAssetPropertyValueHistoryCommand = BatchGetAssetPropertyValueHistoryCommand;
|
|
@@ -5,6 +5,9 @@ tslib_1.__exportStar(require("./AssociateAssetsCommand"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./AssociateTimeSeriesToAssetPropertyCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./BatchAssociateProjectAssetsCommand"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./BatchDisassociateProjectAssetsCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./BatchGetAssetPropertyAggregatesCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./BatchGetAssetPropertyValueCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./BatchGetAssetPropertyValueHistoryCommand"), exports);
|
|
8
11
|
tslib_1.__exportStar(require("./BatchPutAssetPropertyValueCommand"), exports);
|
|
9
12
|
tslib_1.__exportStar(require("./CreateAccessPolicyCommand"), exports);
|
|
10
13
|
tslib_1.__exportStar(require("./CreateAssetCommand"), exports);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ErrorDetails = exports.DetailedError = exports.DetailedErrorCode = exports.ErrorCode = exports.AssetModelState = exports.AssetModelHierarchyDefinition = exports.AssetModelHierarchy = exports.AssetModelCompositeModelDefinition = exports.AssetModelPropertyDefinition = exports.AssetModelCompositeModel = exports.AssetModelProperty = exports.PropertyType = exports.Transform = exports.TransformProcessingConfig = exports.Metric = exports.MetricWindow = exports.TumblingWindow = exports.ExpressionVariable = exports.VariableValue = exports.MetricProcessingConfig = exports.ComputeLocation = exports.Measurement = exports.MeasurementProcessingConfig = exports.ForwardingConfig = exports.ForwardingConfigState = exports.Attribute = exports.AssetHierarchyInfo = exports.AssetHierarchy = exports.AssetErrorDetails = exports.AssetErrorCode = exports.AssetCompositeModel = exports.AssetProperty = exports.PropertyNotification = exports.PropertyNotificationState = exports.PropertyDataType = exports.Alarms = exports.AggregateType = exports.AggregatedValue = exports.Aggregates = exports.Quality = exports.AccessPolicySummary = exports.Resource = exports.ProjectResource = exports.PortalResource = exports.Permission = exports.Identity = exports.UserIdentity = exports.IAMUserIdentity = exports.IAMRoleIdentity = exports.GroupIdentity = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
4
|
+
exports.BatchGetAssetPropertyValueHistorySuccessEntry = exports.BatchGetAssetPropertyValueHistorySkippedEntry = exports.BatchGetAssetPropertyValueHistoryErrorInfo = exports.BatchGetAssetPropertyValueHistoryErrorEntry = exports.BatchGetAssetPropertyValueHistoryErrorCode = exports.BatchGetAssetPropertyValueHistoryRequest = exports.BatchGetAssetPropertyValueHistoryEntry = exports.BatchGetAssetPropertyValueResponse = exports.BatchGetAssetPropertyValueSuccessEntry = exports.BatchGetAssetPropertyValueSkippedEntry = exports.BatchGetAssetPropertyValueErrorInfo = exports.BatchGetAssetPropertyValueErrorEntry = exports.BatchGetAssetPropertyValueErrorCode = exports.BatchGetAssetPropertyValueRequest = exports.BatchGetAssetPropertyValueEntry = exports.ServiceUnavailableException = exports.BatchGetAssetPropertyAggregatesResponse = exports.BatchGetAssetPropertyAggregatesSuccessEntry = exports.BatchGetAssetPropertyAggregatesSkippedEntry = exports.BatchGetAssetPropertyAggregatesErrorInfo = exports.BatchEntryCompletionStatus = exports.BatchGetAssetPropertyAggregatesErrorEntry = exports.BatchGetAssetPropertyAggregatesErrorCode = exports.BatchGetAssetPropertyAggregatesRequest = exports.BatchGetAssetPropertyAggregatesEntry = exports.TimeOrdering = exports.BatchDisassociateProjectAssetsResponse = exports.BatchDisassociateProjectAssetsRequest = exports.BatchAssociateProjectAssetsResponse = exports.BatchAssociateProjectAssetsRequest = exports.AuthMode = exports.AssociateTimeSeriesToAssetPropertyRequest = exports.AssociatedAssetsSummary = exports.ThrottlingException = exports.ResourceNotFoundException = exports.LimitExceededException = exports.InvalidRequestException = exports.InternalFailureException = exports.ConflictingOperationException = exports.AssociateAssetsRequest = exports.AssetSummary = exports.AssetStatus = exports.AssetState = exports.AssetRelationshipSummary = exports.AssetRelationshipType = exports.AssetPropertyValue = exports.Variant = exports.TimeInNanos = exports.AssetModelSummary = exports.AssetModelStatus = void 0;
|
|
5
|
+
exports.DescribeAssetModelRequest = exports.DescribeAssetResponse = exports.DescribeAssetRequest = exports.DescribeAccessPolicyResponse = exports.DescribeAccessPolicyRequest = exports.DeleteTimeSeriesRequest = exports.DeleteProjectResponse = exports.DeleteProjectRequest = exports.DeletePortalResponse = exports.DeletePortalRequest = exports.DeleteGatewayRequest = exports.DeleteDashboardResponse = exports.DeleteDashboardRequest = exports.DeleteAssetModelResponse = exports.DeleteAssetModelRequest = exports.DeleteAssetResponse = exports.DeleteAssetRequest = exports.DeleteAccessPolicyResponse = exports.DeleteAccessPolicyRequest = exports.CreateProjectResponse = exports.CreateProjectRequest = exports.CreatePortalResponse = exports.PortalStatus = exports.PortalState = exports.MonitorErrorDetails = exports.MonitorErrorCode = exports.CreatePortalRequest = exports.ImageFile = exports.ImageFileType = exports.CreateGatewayResponse = exports.CreateGatewayRequest = exports.GatewayPlatform = exports.GreengrassV2 = exports.Greengrass = exports.CreateDashboardResponse = exports.CreateDashboardRequest = exports.CreateAssetModelResponse = exports.CreateAssetModelRequest = exports.ResourceAlreadyExistsException = exports.CreateAssetResponse = exports.CreateAssetRequest = exports.CreateAccessPolicyResponse = exports.CreateAccessPolicyRequest = exports.BatchPutAssetPropertyValueResponse = exports.BatchPutAssetPropertyErrorEntry = exports.BatchPutAssetPropertyError = exports.BatchPutAssetPropertyValueErrorCode = exports.BatchPutAssetPropertyValueRequest = exports.PutAssetPropertyValueEntry = exports.BatchGetAssetPropertyValueHistoryResponse = void 0;
|
|
6
|
+
exports.ResourceType = exports.IdentityType = exports.GetInterpolatedAssetPropertyValuesResponse = exports.InterpolatedAssetPropertyValue = exports.GetInterpolatedAssetPropertyValuesRequest = exports.GetAssetPropertyValueHistoryResponse = exports.GetAssetPropertyValueHistoryRequest = exports.GetAssetPropertyValueResponse = exports.GetAssetPropertyValueRequest = exports.GetAssetPropertyAggregatesResponse = exports.GetAssetPropertyAggregatesRequest = exports.DisassociateTimeSeriesFromAssetPropertyRequest = exports.DisassociateAssetsRequest = exports.DescribeTimeSeriesResponse = exports.DescribeTimeSeriesRequest = exports.DescribeStorageConfigurationResponse = exports.StorageType = exports.RetentionPeriod = exports.MultiLayerStorage = exports.CustomerManagedS3Storage = exports.DisassociatedDataStorageState = exports.DescribeStorageConfigurationRequest = exports.DescribeProjectResponse = exports.DescribeProjectRequest = exports.DescribePortalResponse = exports.ImageLocation = exports.DescribePortalRequest = exports.DescribeLoggingOptionsResponse = exports.LoggingOptions = exports.LoggingLevel = exports.DescribeLoggingOptionsRequest = exports.DescribeGatewayCapabilityConfigurationResponse = exports.DescribeGatewayCapabilityConfigurationRequest = exports.DescribeGatewayResponse = exports.GatewayCapabilitySummary = exports.CapabilitySyncStatus = exports.DescribeGatewayRequest = exports.DescribeDefaultEncryptionConfigurationResponse = exports.EncryptionType = exports.ConfigurationStatus = exports.ConfigurationState = exports.ConfigurationErrorDetails = exports.DescribeDefaultEncryptionConfigurationRequest = exports.DescribeDashboardResponse = exports.DescribeDashboardRequest = exports.DescribeAssetPropertyResponse = exports.CompositeModelProperty = exports.Property = exports.DescribeAssetPropertyRequest = exports.DescribeAssetModelResponse = void 0;
|
|
7
|
+
exports.UpdateAssetModelRequest = exports.UpdateAssetResponse = exports.UpdateAssetRequest = exports.UpdateAccessPolicyResponse = exports.UpdateAccessPolicyRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TooManyTagsException = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutStorageConfigurationResponse = exports.PutStorageConfigurationRequest = exports.PutLoggingOptionsResponse = exports.PutLoggingOptionsRequest = exports.PutDefaultEncryptionConfigurationResponse = exports.PutDefaultEncryptionConfigurationRequest = exports.ListTimeSeriesResponse = exports.TimeSeriesSummary = exports.ListTimeSeriesRequest = exports.ListTimeSeriesType = exports.UnauthorizedException = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListProjectsResponse = exports.ProjectSummary = exports.ListProjectsRequest = exports.ListProjectAssetsResponse = exports.ListProjectAssetsRequest = exports.ListPortalsResponse = exports.PortalSummary = exports.ListPortalsRequest = exports.ListGatewaysResponse = exports.GatewaySummary = exports.ListGatewaysRequest = exports.ListDashboardsResponse = exports.DashboardSummary = exports.ListDashboardsRequest = exports.ListAssociatedAssetsResponse = exports.ListAssociatedAssetsRequest = exports.TraversalDirection = exports.ListAssetsResponse = exports.ListAssetsRequest = exports.ListAssetsFilter = exports.ListAssetRelationshipsResponse = exports.ListAssetRelationshipsRequest = exports.TraversalType = exports.ListAssetModelsResponse = exports.ListAssetModelsRequest = exports.ListAccessPoliciesResponse = exports.ListAccessPoliciesRequest = void 0;
|
|
8
|
+
exports.UpdateProjectResponse = exports.UpdateProjectRequest = exports.UpdatePortalResponse = exports.UpdatePortalRequest = exports.Image = exports.UpdateGatewayCapabilityConfigurationResponse = exports.UpdateGatewayCapabilityConfigurationRequest = exports.UpdateGatewayRequest = exports.UpdateDashboardResponse = exports.UpdateDashboardRequest = exports.UpdateAssetPropertyRequest = exports.UpdateAssetModelResponse = void 0;
|
|
8
9
|
const IoTSiteWiseServiceException_1 = require("./IoTSiteWiseServiceException");
|
|
9
10
|
var GroupIdentity;
|
|
10
11
|
(function (GroupIdentity) {
|
|
@@ -493,6 +494,173 @@ var BatchDisassociateProjectAssetsResponse;
|
|
|
493
494
|
...obj,
|
|
494
495
|
});
|
|
495
496
|
})(BatchDisassociateProjectAssetsResponse = exports.BatchDisassociateProjectAssetsResponse || (exports.BatchDisassociateProjectAssetsResponse = {}));
|
|
497
|
+
var TimeOrdering;
|
|
498
|
+
(function (TimeOrdering) {
|
|
499
|
+
TimeOrdering["ASCENDING"] = "ASCENDING";
|
|
500
|
+
TimeOrdering["DESCENDING"] = "DESCENDING";
|
|
501
|
+
})(TimeOrdering = exports.TimeOrdering || (exports.TimeOrdering = {}));
|
|
502
|
+
var BatchGetAssetPropertyAggregatesEntry;
|
|
503
|
+
(function (BatchGetAssetPropertyAggregatesEntry) {
|
|
504
|
+
BatchGetAssetPropertyAggregatesEntry.filterSensitiveLog = (obj) => ({
|
|
505
|
+
...obj,
|
|
506
|
+
});
|
|
507
|
+
})(BatchGetAssetPropertyAggregatesEntry = exports.BatchGetAssetPropertyAggregatesEntry || (exports.BatchGetAssetPropertyAggregatesEntry = {}));
|
|
508
|
+
var BatchGetAssetPropertyAggregatesRequest;
|
|
509
|
+
(function (BatchGetAssetPropertyAggregatesRequest) {
|
|
510
|
+
BatchGetAssetPropertyAggregatesRequest.filterSensitiveLog = (obj) => ({
|
|
511
|
+
...obj,
|
|
512
|
+
});
|
|
513
|
+
})(BatchGetAssetPropertyAggregatesRequest = exports.BatchGetAssetPropertyAggregatesRequest || (exports.BatchGetAssetPropertyAggregatesRequest = {}));
|
|
514
|
+
var BatchGetAssetPropertyAggregatesErrorCode;
|
|
515
|
+
(function (BatchGetAssetPropertyAggregatesErrorCode) {
|
|
516
|
+
BatchGetAssetPropertyAggregatesErrorCode["AccessDeniedException"] = "AccessDeniedException";
|
|
517
|
+
BatchGetAssetPropertyAggregatesErrorCode["InvalidRequestException"] = "InvalidRequestException";
|
|
518
|
+
BatchGetAssetPropertyAggregatesErrorCode["ResourceNotFoundException"] = "ResourceNotFoundException";
|
|
519
|
+
})(BatchGetAssetPropertyAggregatesErrorCode = exports.BatchGetAssetPropertyAggregatesErrorCode || (exports.BatchGetAssetPropertyAggregatesErrorCode = {}));
|
|
520
|
+
var BatchGetAssetPropertyAggregatesErrorEntry;
|
|
521
|
+
(function (BatchGetAssetPropertyAggregatesErrorEntry) {
|
|
522
|
+
BatchGetAssetPropertyAggregatesErrorEntry.filterSensitiveLog = (obj) => ({
|
|
523
|
+
...obj,
|
|
524
|
+
});
|
|
525
|
+
})(BatchGetAssetPropertyAggregatesErrorEntry = exports.BatchGetAssetPropertyAggregatesErrorEntry || (exports.BatchGetAssetPropertyAggregatesErrorEntry = {}));
|
|
526
|
+
var BatchEntryCompletionStatus;
|
|
527
|
+
(function (BatchEntryCompletionStatus) {
|
|
528
|
+
BatchEntryCompletionStatus["ERROR"] = "ERROR";
|
|
529
|
+
BatchEntryCompletionStatus["SUCCESS"] = "SUCCESS";
|
|
530
|
+
})(BatchEntryCompletionStatus = exports.BatchEntryCompletionStatus || (exports.BatchEntryCompletionStatus = {}));
|
|
531
|
+
var BatchGetAssetPropertyAggregatesErrorInfo;
|
|
532
|
+
(function (BatchGetAssetPropertyAggregatesErrorInfo) {
|
|
533
|
+
BatchGetAssetPropertyAggregatesErrorInfo.filterSensitiveLog = (obj) => ({
|
|
534
|
+
...obj,
|
|
535
|
+
});
|
|
536
|
+
})(BatchGetAssetPropertyAggregatesErrorInfo = exports.BatchGetAssetPropertyAggregatesErrorInfo || (exports.BatchGetAssetPropertyAggregatesErrorInfo = {}));
|
|
537
|
+
var BatchGetAssetPropertyAggregatesSkippedEntry;
|
|
538
|
+
(function (BatchGetAssetPropertyAggregatesSkippedEntry) {
|
|
539
|
+
BatchGetAssetPropertyAggregatesSkippedEntry.filterSensitiveLog = (obj) => ({
|
|
540
|
+
...obj,
|
|
541
|
+
});
|
|
542
|
+
})(BatchGetAssetPropertyAggregatesSkippedEntry = exports.BatchGetAssetPropertyAggregatesSkippedEntry || (exports.BatchGetAssetPropertyAggregatesSkippedEntry = {}));
|
|
543
|
+
var BatchGetAssetPropertyAggregatesSuccessEntry;
|
|
544
|
+
(function (BatchGetAssetPropertyAggregatesSuccessEntry) {
|
|
545
|
+
BatchGetAssetPropertyAggregatesSuccessEntry.filterSensitiveLog = (obj) => ({
|
|
546
|
+
...obj,
|
|
547
|
+
});
|
|
548
|
+
})(BatchGetAssetPropertyAggregatesSuccessEntry = exports.BatchGetAssetPropertyAggregatesSuccessEntry || (exports.BatchGetAssetPropertyAggregatesSuccessEntry = {}));
|
|
549
|
+
var BatchGetAssetPropertyAggregatesResponse;
|
|
550
|
+
(function (BatchGetAssetPropertyAggregatesResponse) {
|
|
551
|
+
BatchGetAssetPropertyAggregatesResponse.filterSensitiveLog = (obj) => ({
|
|
552
|
+
...obj,
|
|
553
|
+
});
|
|
554
|
+
})(BatchGetAssetPropertyAggregatesResponse = exports.BatchGetAssetPropertyAggregatesResponse || (exports.BatchGetAssetPropertyAggregatesResponse = {}));
|
|
555
|
+
class ServiceUnavailableException extends IoTSiteWiseServiceException_1.IoTSiteWiseServiceException {
|
|
556
|
+
constructor(opts) {
|
|
557
|
+
super({
|
|
558
|
+
name: "ServiceUnavailableException",
|
|
559
|
+
$fault: "server",
|
|
560
|
+
...opts,
|
|
561
|
+
});
|
|
562
|
+
this.name = "ServiceUnavailableException";
|
|
563
|
+
this.$fault = "server";
|
|
564
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
568
|
+
var BatchGetAssetPropertyValueEntry;
|
|
569
|
+
(function (BatchGetAssetPropertyValueEntry) {
|
|
570
|
+
BatchGetAssetPropertyValueEntry.filterSensitiveLog = (obj) => ({
|
|
571
|
+
...obj,
|
|
572
|
+
});
|
|
573
|
+
})(BatchGetAssetPropertyValueEntry = exports.BatchGetAssetPropertyValueEntry || (exports.BatchGetAssetPropertyValueEntry = {}));
|
|
574
|
+
var BatchGetAssetPropertyValueRequest;
|
|
575
|
+
(function (BatchGetAssetPropertyValueRequest) {
|
|
576
|
+
BatchGetAssetPropertyValueRequest.filterSensitiveLog = (obj) => ({
|
|
577
|
+
...obj,
|
|
578
|
+
});
|
|
579
|
+
})(BatchGetAssetPropertyValueRequest = exports.BatchGetAssetPropertyValueRequest || (exports.BatchGetAssetPropertyValueRequest = {}));
|
|
580
|
+
var BatchGetAssetPropertyValueErrorCode;
|
|
581
|
+
(function (BatchGetAssetPropertyValueErrorCode) {
|
|
582
|
+
BatchGetAssetPropertyValueErrorCode["AccessDeniedException"] = "AccessDeniedException";
|
|
583
|
+
BatchGetAssetPropertyValueErrorCode["InvalidRequestException"] = "InvalidRequestException";
|
|
584
|
+
BatchGetAssetPropertyValueErrorCode["ResourceNotFoundException"] = "ResourceNotFoundException";
|
|
585
|
+
})(BatchGetAssetPropertyValueErrorCode = exports.BatchGetAssetPropertyValueErrorCode || (exports.BatchGetAssetPropertyValueErrorCode = {}));
|
|
586
|
+
var BatchGetAssetPropertyValueErrorEntry;
|
|
587
|
+
(function (BatchGetAssetPropertyValueErrorEntry) {
|
|
588
|
+
BatchGetAssetPropertyValueErrorEntry.filterSensitiveLog = (obj) => ({
|
|
589
|
+
...obj,
|
|
590
|
+
});
|
|
591
|
+
})(BatchGetAssetPropertyValueErrorEntry = exports.BatchGetAssetPropertyValueErrorEntry || (exports.BatchGetAssetPropertyValueErrorEntry = {}));
|
|
592
|
+
var BatchGetAssetPropertyValueErrorInfo;
|
|
593
|
+
(function (BatchGetAssetPropertyValueErrorInfo) {
|
|
594
|
+
BatchGetAssetPropertyValueErrorInfo.filterSensitiveLog = (obj) => ({
|
|
595
|
+
...obj,
|
|
596
|
+
});
|
|
597
|
+
})(BatchGetAssetPropertyValueErrorInfo = exports.BatchGetAssetPropertyValueErrorInfo || (exports.BatchGetAssetPropertyValueErrorInfo = {}));
|
|
598
|
+
var BatchGetAssetPropertyValueSkippedEntry;
|
|
599
|
+
(function (BatchGetAssetPropertyValueSkippedEntry) {
|
|
600
|
+
BatchGetAssetPropertyValueSkippedEntry.filterSensitiveLog = (obj) => ({
|
|
601
|
+
...obj,
|
|
602
|
+
});
|
|
603
|
+
})(BatchGetAssetPropertyValueSkippedEntry = exports.BatchGetAssetPropertyValueSkippedEntry || (exports.BatchGetAssetPropertyValueSkippedEntry = {}));
|
|
604
|
+
var BatchGetAssetPropertyValueSuccessEntry;
|
|
605
|
+
(function (BatchGetAssetPropertyValueSuccessEntry) {
|
|
606
|
+
BatchGetAssetPropertyValueSuccessEntry.filterSensitiveLog = (obj) => ({
|
|
607
|
+
...obj,
|
|
608
|
+
});
|
|
609
|
+
})(BatchGetAssetPropertyValueSuccessEntry = exports.BatchGetAssetPropertyValueSuccessEntry || (exports.BatchGetAssetPropertyValueSuccessEntry = {}));
|
|
610
|
+
var BatchGetAssetPropertyValueResponse;
|
|
611
|
+
(function (BatchGetAssetPropertyValueResponse) {
|
|
612
|
+
BatchGetAssetPropertyValueResponse.filterSensitiveLog = (obj) => ({
|
|
613
|
+
...obj,
|
|
614
|
+
});
|
|
615
|
+
})(BatchGetAssetPropertyValueResponse = exports.BatchGetAssetPropertyValueResponse || (exports.BatchGetAssetPropertyValueResponse = {}));
|
|
616
|
+
var BatchGetAssetPropertyValueHistoryEntry;
|
|
617
|
+
(function (BatchGetAssetPropertyValueHistoryEntry) {
|
|
618
|
+
BatchGetAssetPropertyValueHistoryEntry.filterSensitiveLog = (obj) => ({
|
|
619
|
+
...obj,
|
|
620
|
+
});
|
|
621
|
+
})(BatchGetAssetPropertyValueHistoryEntry = exports.BatchGetAssetPropertyValueHistoryEntry || (exports.BatchGetAssetPropertyValueHistoryEntry = {}));
|
|
622
|
+
var BatchGetAssetPropertyValueHistoryRequest;
|
|
623
|
+
(function (BatchGetAssetPropertyValueHistoryRequest) {
|
|
624
|
+
BatchGetAssetPropertyValueHistoryRequest.filterSensitiveLog = (obj) => ({
|
|
625
|
+
...obj,
|
|
626
|
+
});
|
|
627
|
+
})(BatchGetAssetPropertyValueHistoryRequest = exports.BatchGetAssetPropertyValueHistoryRequest || (exports.BatchGetAssetPropertyValueHistoryRequest = {}));
|
|
628
|
+
var BatchGetAssetPropertyValueHistoryErrorCode;
|
|
629
|
+
(function (BatchGetAssetPropertyValueHistoryErrorCode) {
|
|
630
|
+
BatchGetAssetPropertyValueHistoryErrorCode["AccessDeniedException"] = "AccessDeniedException";
|
|
631
|
+
BatchGetAssetPropertyValueHistoryErrorCode["InvalidRequestException"] = "InvalidRequestException";
|
|
632
|
+
BatchGetAssetPropertyValueHistoryErrorCode["ResourceNotFoundException"] = "ResourceNotFoundException";
|
|
633
|
+
})(BatchGetAssetPropertyValueHistoryErrorCode = exports.BatchGetAssetPropertyValueHistoryErrorCode || (exports.BatchGetAssetPropertyValueHistoryErrorCode = {}));
|
|
634
|
+
var BatchGetAssetPropertyValueHistoryErrorEntry;
|
|
635
|
+
(function (BatchGetAssetPropertyValueHistoryErrorEntry) {
|
|
636
|
+
BatchGetAssetPropertyValueHistoryErrorEntry.filterSensitiveLog = (obj) => ({
|
|
637
|
+
...obj,
|
|
638
|
+
});
|
|
639
|
+
})(BatchGetAssetPropertyValueHistoryErrorEntry = exports.BatchGetAssetPropertyValueHistoryErrorEntry || (exports.BatchGetAssetPropertyValueHistoryErrorEntry = {}));
|
|
640
|
+
var BatchGetAssetPropertyValueHistoryErrorInfo;
|
|
641
|
+
(function (BatchGetAssetPropertyValueHistoryErrorInfo) {
|
|
642
|
+
BatchGetAssetPropertyValueHistoryErrorInfo.filterSensitiveLog = (obj) => ({
|
|
643
|
+
...obj,
|
|
644
|
+
});
|
|
645
|
+
})(BatchGetAssetPropertyValueHistoryErrorInfo = exports.BatchGetAssetPropertyValueHistoryErrorInfo || (exports.BatchGetAssetPropertyValueHistoryErrorInfo = {}));
|
|
646
|
+
var BatchGetAssetPropertyValueHistorySkippedEntry;
|
|
647
|
+
(function (BatchGetAssetPropertyValueHistorySkippedEntry) {
|
|
648
|
+
BatchGetAssetPropertyValueHistorySkippedEntry.filterSensitiveLog = (obj) => ({
|
|
649
|
+
...obj,
|
|
650
|
+
});
|
|
651
|
+
})(BatchGetAssetPropertyValueHistorySkippedEntry = exports.BatchGetAssetPropertyValueHistorySkippedEntry || (exports.BatchGetAssetPropertyValueHistorySkippedEntry = {}));
|
|
652
|
+
var BatchGetAssetPropertyValueHistorySuccessEntry;
|
|
653
|
+
(function (BatchGetAssetPropertyValueHistorySuccessEntry) {
|
|
654
|
+
BatchGetAssetPropertyValueHistorySuccessEntry.filterSensitiveLog = (obj) => ({
|
|
655
|
+
...obj,
|
|
656
|
+
});
|
|
657
|
+
})(BatchGetAssetPropertyValueHistorySuccessEntry = exports.BatchGetAssetPropertyValueHistorySuccessEntry || (exports.BatchGetAssetPropertyValueHistorySuccessEntry = {}));
|
|
658
|
+
var BatchGetAssetPropertyValueHistoryResponse;
|
|
659
|
+
(function (BatchGetAssetPropertyValueHistoryResponse) {
|
|
660
|
+
BatchGetAssetPropertyValueHistoryResponse.filterSensitiveLog = (obj) => ({
|
|
661
|
+
...obj,
|
|
662
|
+
});
|
|
663
|
+
})(BatchGetAssetPropertyValueHistoryResponse = exports.BatchGetAssetPropertyValueHistoryResponse || (exports.BatchGetAssetPropertyValueHistoryResponse = {}));
|
|
496
664
|
var PutAssetPropertyValueEntry;
|
|
497
665
|
(function (PutAssetPropertyValueEntry) {
|
|
498
666
|
PutAssetPropertyValueEntry.filterSensitiveLog = (obj) => ({
|
|
@@ -535,19 +703,6 @@ var BatchPutAssetPropertyValueResponse;
|
|
|
535
703
|
...obj,
|
|
536
704
|
});
|
|
537
705
|
})(BatchPutAssetPropertyValueResponse = exports.BatchPutAssetPropertyValueResponse || (exports.BatchPutAssetPropertyValueResponse = {}));
|
|
538
|
-
class ServiceUnavailableException extends IoTSiteWiseServiceException_1.IoTSiteWiseServiceException {
|
|
539
|
-
constructor(opts) {
|
|
540
|
-
super({
|
|
541
|
-
name: "ServiceUnavailableException",
|
|
542
|
-
$fault: "server",
|
|
543
|
-
...opts,
|
|
544
|
-
});
|
|
545
|
-
this.name = "ServiceUnavailableException";
|
|
546
|
-
this.$fault = "server";
|
|
547
|
-
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
551
706
|
var CreateAccessPolicyRequest;
|
|
552
707
|
(function (CreateAccessPolicyRequest) {
|
|
553
708
|
CreateAccessPolicyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1047,11 +1202,6 @@ var DisassociateTimeSeriesFromAssetPropertyRequest;
|
|
|
1047
1202
|
...obj,
|
|
1048
1203
|
});
|
|
1049
1204
|
})(DisassociateTimeSeriesFromAssetPropertyRequest = exports.DisassociateTimeSeriesFromAssetPropertyRequest || (exports.DisassociateTimeSeriesFromAssetPropertyRequest = {}));
|
|
1050
|
-
var TimeOrdering;
|
|
1051
|
-
(function (TimeOrdering) {
|
|
1052
|
-
TimeOrdering["ASCENDING"] = "ASCENDING";
|
|
1053
|
-
TimeOrdering["DESCENDING"] = "DESCENDING";
|
|
1054
|
-
})(TimeOrdering = exports.TimeOrdering || (exports.TimeOrdering = {}));
|
|
1055
1205
|
var GetAssetPropertyAggregatesRequest;
|
|
1056
1206
|
(function (GetAssetPropertyAggregatesRequest) {
|
|
1057
1207
|
GetAssetPropertyAggregatesRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateBatchGetAssetPropertyAggregates = void 0;
|
|
4
|
+
const BatchGetAssetPropertyAggregatesCommand_1 = require("../commands/BatchGetAssetPropertyAggregatesCommand");
|
|
5
|
+
const IoTSiteWise_1 = require("../IoTSiteWise");
|
|
6
|
+
const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new BatchGetAssetPropertyAggregatesCommand_1.BatchGetAssetPropertyAggregatesCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.batchGetAssetPropertyAggregates(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateBatchGetAssetPropertyAggregates(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.nextToken = token;
|
|
19
|
+
input["maxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof IoTSiteWise_1.IoTSiteWise) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.nextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateBatchGetAssetPropertyAggregates = paginateBatchGetAssetPropertyAggregates;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateBatchGetAssetPropertyValueHistory = void 0;
|
|
4
|
+
const BatchGetAssetPropertyValueHistoryCommand_1 = require("../commands/BatchGetAssetPropertyValueHistoryCommand");
|
|
5
|
+
const IoTSiteWise_1 = require("../IoTSiteWise");
|
|
6
|
+
const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new BatchGetAssetPropertyValueHistoryCommand_1.BatchGetAssetPropertyValueHistoryCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.batchGetAssetPropertyValueHistory(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateBatchGetAssetPropertyValueHistory(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.nextToken = token;
|
|
19
|
+
input["maxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof IoTSiteWise_1.IoTSiteWise) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.nextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateBatchGetAssetPropertyValueHistory = paginateBatchGetAssetPropertyValueHistory;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateBatchGetAssetPropertyValue = void 0;
|
|
4
|
+
const BatchGetAssetPropertyValueCommand_1 = require("../commands/BatchGetAssetPropertyValueCommand");
|
|
5
|
+
const IoTSiteWise_1 = require("../IoTSiteWise");
|
|
6
|
+
const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new BatchGetAssetPropertyValueCommand_1.BatchGetAssetPropertyValueCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.batchGetAssetPropertyValue(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateBatchGetAssetPropertyValue(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.nextToken = token;
|
|
19
|
+
if (config.client instanceof IoTSiteWise_1.IoTSiteWise) {
|
|
20
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
21
|
+
}
|
|
22
|
+
else if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
|
|
23
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
|
|
27
|
+
}
|
|
28
|
+
yield page;
|
|
29
|
+
token = page.nextToken;
|
|
30
|
+
hasNext = !!token;
|
|
31
|
+
}
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
exports.paginateBatchGetAssetPropertyValue = paginateBatchGetAssetPropertyValue;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./BatchGetAssetPropertyAggregatesPaginator"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./BatchGetAssetPropertyValueHistoryPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./BatchGetAssetPropertyValuePaginator"), exports);
|
|
4
7
|
tslib_1.__exportStar(require("./GetAssetPropertyAggregatesPaginator"), exports);
|
|
5
8
|
tslib_1.__exportStar(require("./GetAssetPropertyValueHistoryPaginator"), exports);
|
|
6
9
|
tslib_1.__exportStar(require("./GetInterpolatedAssetPropertyValuesPaginator"), exports);
|