@aws-sdk/client-iotsitewise 3.183.0 → 3.185.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/protocols/Aws_restJson1.js +2 -2
- package/dist-es/IoTSiteWise.js +293 -286
- package/dist-es/IoTSiteWiseClient.js +28 -22
- package/dist-es/commands/AssociateAssetsCommand.js +29 -22
- package/dist-es/commands/AssociateTimeSeriesToAssetPropertyCommand.js +29 -22
- package/dist-es/commands/BatchAssociateProjectAssetsCommand.js +28 -21
- package/dist-es/commands/BatchDisassociateProjectAssetsCommand.js +28 -21
- package/dist-es/commands/BatchGetAssetPropertyAggregatesCommand.js +28 -21
- package/dist-es/commands/BatchGetAssetPropertyValueCommand.js +28 -21
- package/dist-es/commands/BatchGetAssetPropertyValueHistoryCommand.js +28 -21
- package/dist-es/commands/BatchPutAssetPropertyValueCommand.js +28 -21
- package/dist-es/commands/CreateAccessPolicyCommand.js +28 -21
- package/dist-es/commands/CreateAssetCommand.js +28 -21
- package/dist-es/commands/CreateAssetModelCommand.js +28 -21
- package/dist-es/commands/CreateBulkImportJobCommand.js +28 -21
- package/dist-es/commands/CreateDashboardCommand.js +28 -21
- package/dist-es/commands/CreateGatewayCommand.js +28 -21
- package/dist-es/commands/CreatePortalCommand.js +28 -21
- package/dist-es/commands/CreateProjectCommand.js +28 -21
- package/dist-es/commands/DeleteAccessPolicyCommand.js +28 -21
- package/dist-es/commands/DeleteAssetCommand.js +28 -21
- package/dist-es/commands/DeleteAssetModelCommand.js +28 -21
- package/dist-es/commands/DeleteDashboardCommand.js +28 -21
- package/dist-es/commands/DeleteGatewayCommand.js +29 -22
- package/dist-es/commands/DeletePortalCommand.js +28 -21
- package/dist-es/commands/DeleteProjectCommand.js +28 -21
- package/dist-es/commands/DeleteTimeSeriesCommand.js +29 -22
- package/dist-es/commands/DescribeAccessPolicyCommand.js +28 -21
- package/dist-es/commands/DescribeAssetCommand.js +28 -21
- package/dist-es/commands/DescribeAssetModelCommand.js +28 -21
- package/dist-es/commands/DescribeAssetPropertyCommand.js +28 -21
- package/dist-es/commands/DescribeBulkImportJobCommand.js +28 -21
- package/dist-es/commands/DescribeDashboardCommand.js +28 -21
- package/dist-es/commands/DescribeDefaultEncryptionConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribeGatewayCapabilityConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribeGatewayCommand.js +28 -21
- package/dist-es/commands/DescribeLoggingOptionsCommand.js +28 -21
- package/dist-es/commands/DescribePortalCommand.js +28 -21
- package/dist-es/commands/DescribeProjectCommand.js +28 -21
- package/dist-es/commands/DescribeStorageConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribeTimeSeriesCommand.js +28 -21
- package/dist-es/commands/DisassociateAssetsCommand.js +29 -22
- package/dist-es/commands/DisassociateTimeSeriesFromAssetPropertyCommand.js +29 -22
- package/dist-es/commands/GetAssetPropertyAggregatesCommand.js +28 -21
- package/dist-es/commands/GetAssetPropertyValueCommand.js +28 -21
- package/dist-es/commands/GetAssetPropertyValueHistoryCommand.js +28 -21
- package/dist-es/commands/GetInterpolatedAssetPropertyValuesCommand.js +28 -21
- package/dist-es/commands/ListAccessPoliciesCommand.js +28 -21
- package/dist-es/commands/ListAssetModelsCommand.js +28 -21
- package/dist-es/commands/ListAssetRelationshipsCommand.js +28 -21
- package/dist-es/commands/ListAssetsCommand.js +28 -21
- package/dist-es/commands/ListAssociatedAssetsCommand.js +28 -21
- package/dist-es/commands/ListBulkImportJobsCommand.js +28 -21
- package/dist-es/commands/ListDashboardsCommand.js +28 -21
- package/dist-es/commands/ListGatewaysCommand.js +28 -21
- package/dist-es/commands/ListPortalsCommand.js +28 -21
- package/dist-es/commands/ListProjectAssetsCommand.js +28 -21
- package/dist-es/commands/ListProjectsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListTimeSeriesCommand.js +28 -21
- package/dist-es/commands/PutDefaultEncryptionConfigurationCommand.js +28 -21
- package/dist-es/commands/PutLoggingOptionsCommand.js +28 -21
- package/dist-es/commands/PutStorageConfigurationCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateAccessPolicyCommand.js +28 -21
- package/dist-es/commands/UpdateAssetCommand.js +28 -21
- package/dist-es/commands/UpdateAssetModelCommand.js +28 -21
- package/dist-es/commands/UpdateAssetPropertyCommand.js +29 -22
- package/dist-es/commands/UpdateDashboardCommand.js +28 -21
- package/dist-es/commands/UpdateGatewayCapabilityConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateGatewayCommand.js +29 -22
- package/dist-es/commands/UpdatePortalCommand.js +28 -21
- package/dist-es/commands/UpdateProjectCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/IoTSiteWiseServiceException.js +10 -5
- package/dist-es/models/models_0.js +345 -802
- package/dist-es/pagination/BatchGetAssetPropertyAggregatesPaginator.js +68 -25
- package/dist-es/pagination/BatchGetAssetPropertyValueHistoryPaginator.js +68 -25
- package/dist-es/pagination/BatchGetAssetPropertyValuePaginator.js +67 -24
- package/dist-es/pagination/GetAssetPropertyAggregatesPaginator.js +68 -25
- package/dist-es/pagination/GetAssetPropertyValueHistoryPaginator.js +68 -25
- package/dist-es/pagination/GetInterpolatedAssetPropertyValuesPaginator.js +68 -25
- package/dist-es/pagination/ListAccessPoliciesPaginator.js +68 -25
- package/dist-es/pagination/ListAssetModelsPaginator.js +68 -25
- package/dist-es/pagination/ListAssetRelationshipsPaginator.js +68 -25
- package/dist-es/pagination/ListAssetsPaginator.js +68 -25
- package/dist-es/pagination/ListAssociatedAssetsPaginator.js +68 -25
- package/dist-es/pagination/ListBulkImportJobsPaginator.js +68 -25
- package/dist-es/pagination/ListDashboardsPaginator.js +68 -25
- package/dist-es/pagination/ListGatewaysPaginator.js +68 -25
- package/dist-es/pagination/ListPortalsPaginator.js +68 -25
- package/dist-es/pagination/ListProjectAssetsPaginator.js +68 -25
- package/dist-es/pagination/ListProjectsPaginator.js +68 -25
- package/dist-es/pagination/ListTimeSeriesPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +8342 -6181
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/dist-es/waiters/waitForAssetActive.js +56 -36
- package/dist-es/waiters/waitForAssetModelActive.js +56 -36
- package/dist-es/waiters/waitForAssetModelNotExists.js +42 -22
- package/dist-es/waiters/waitForAssetNotExists.js +42 -22
- package/dist-es/waiters/waitForPortalActive.js +48 -28
- package/dist-es/waiters/waitForPortalNotExists.js +42 -22
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdatePortalRequestFilterSensitiveLog, UpdatePortalResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdatePortalCommand, serializeAws_restJson1UpdatePortalCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdatePortalCommand = (function (_super) {
|
|
7
|
+
__extends(UpdatePortalCommand, _super);
|
|
8
|
+
function UpdatePortalCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdatePortalCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IoTSiteWiseClient";
|
|
18
|
+
var commandName = "UpdatePortalCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdatePortalRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdatePortalResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdatePortalCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdatePortalCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdatePortalCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdatePortalCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdatePortalCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdatePortalCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateProjectRequestFilterSensitiveLog, UpdateProjectResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateProjectCommand, serializeAws_restJson1UpdateProjectCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateProjectCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateProjectCommand, _super);
|
|
8
|
+
function UpdateProjectCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateProjectCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IoTSiteWiseClient";
|
|
18
|
+
var commandName = "UpdateProjectCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateProjectRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateProjectResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateProjectCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateProjectCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateProjectCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateProjectCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateProjectCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateProjectCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
+
var regionHash = {
|
|
3
4
|
"ca-central-1": {
|
|
4
5
|
variants: [
|
|
5
6
|
{
|
|
@@ -41,7 +42,7 @@ const regionHash = {
|
|
|
41
42
|
],
|
|
42
43
|
},
|
|
43
44
|
};
|
|
44
|
-
|
|
45
|
+
var partitionHash = {
|
|
45
46
|
aws: {
|
|
46
47
|
regions: [
|
|
47
48
|
"af-south-1",
|
|
@@ -165,9 +166,8 @@ const partitionHash = {
|
|
|
165
166
|
],
|
|
166
167
|
},
|
|
167
168
|
};
|
|
168
|
-
export
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
});
|
|
169
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
170
|
+
return __generator(this, function (_a) {
|
|
171
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "iotsitewise", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
172
|
+
});
|
|
173
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var IoTSiteWiseServiceException = (function (_super) {
|
|
4
|
+
__extends(IoTSiteWiseServiceException, _super);
|
|
5
|
+
function IoTSiteWiseServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, IoTSiteWiseServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return IoTSiteWiseServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { IoTSiteWiseServiceException };
|