@aws-sdk/client-iotsitewise 3.928.0 → 3.929.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +5807 -5775
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/IoTSiteWiseClient.js +2 -0
- package/dist-es/commands/AssociateAssetsCommand.js +3 -9
- package/dist-es/commands/AssociateTimeSeriesToAssetPropertyCommand.js +3 -9
- package/dist-es/commands/BatchAssociateProjectAssetsCommand.js +3 -9
- package/dist-es/commands/BatchDisassociateProjectAssetsCommand.js +3 -9
- package/dist-es/commands/BatchGetAssetPropertyAggregatesCommand.js +3 -9
- package/dist-es/commands/BatchGetAssetPropertyValueCommand.js +3 -9
- package/dist-es/commands/BatchGetAssetPropertyValueHistoryCommand.js +3 -9
- package/dist-es/commands/BatchPutAssetPropertyValueCommand.js +3 -9
- package/dist-es/commands/CreateAccessPolicyCommand.js +3 -9
- package/dist-es/commands/CreateAssetCommand.js +3 -9
- package/dist-es/commands/CreateAssetModelCommand.js +3 -9
- package/dist-es/commands/CreateAssetModelCompositeModelCommand.js +3 -9
- package/dist-es/commands/CreateBulkImportJobCommand.js +3 -9
- package/dist-es/commands/CreateComputationModelCommand.js +3 -9
- package/dist-es/commands/CreateDashboardCommand.js +3 -9
- package/dist-es/commands/CreateDatasetCommand.js +3 -9
- package/dist-es/commands/CreateGatewayCommand.js +3 -9
- package/dist-es/commands/CreatePortalCommand.js +3 -10
- package/dist-es/commands/CreateProjectCommand.js +3 -9
- package/dist-es/commands/DeleteAccessPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteAssetCommand.js +3 -9
- package/dist-es/commands/DeleteAssetModelCommand.js +3 -9
- package/dist-es/commands/DeleteAssetModelCompositeModelCommand.js +3 -9
- package/dist-es/commands/DeleteAssetModelInterfaceRelationshipCommand.js +3 -9
- package/dist-es/commands/DeleteComputationModelCommand.js +3 -9
- package/dist-es/commands/DeleteDashboardCommand.js +3 -9
- package/dist-es/commands/DeleteDatasetCommand.js +3 -9
- package/dist-es/commands/DeleteGatewayCommand.js +3 -9
- package/dist-es/commands/DeletePortalCommand.js +3 -9
- package/dist-es/commands/DeleteProjectCommand.js +3 -9
- package/dist-es/commands/DeleteTimeSeriesCommand.js +3 -9
- package/dist-es/commands/DescribeAccessPolicyCommand.js +3 -9
- package/dist-es/commands/DescribeActionCommand.js +3 -9
- package/dist-es/commands/DescribeAssetCommand.js +3 -9
- package/dist-es/commands/DescribeAssetCompositeModelCommand.js +3 -9
- package/dist-es/commands/DescribeAssetModelCommand.js +3 -9
- package/dist-es/commands/DescribeAssetModelCompositeModelCommand.js +3 -9
- package/dist-es/commands/DescribeAssetModelInterfaceRelationshipCommand.js +3 -9
- package/dist-es/commands/DescribeAssetPropertyCommand.js +3 -9
- package/dist-es/commands/DescribeBulkImportJobCommand.js +3 -9
- package/dist-es/commands/DescribeComputationModelCommand.js +3 -9
- package/dist-es/commands/DescribeComputationModelExecutionSummaryCommand.js +3 -9
- package/dist-es/commands/DescribeDashboardCommand.js +3 -9
- package/dist-es/commands/DescribeDatasetCommand.js +3 -9
- package/dist-es/commands/DescribeDefaultEncryptionConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeExecutionCommand.js +3 -9
- package/dist-es/commands/DescribeGatewayCapabilityConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeGatewayCommand.js +3 -9
- package/dist-es/commands/DescribeLoggingOptionsCommand.js +3 -9
- package/dist-es/commands/DescribePortalCommand.js +3 -10
- package/dist-es/commands/DescribeProjectCommand.js +3 -9
- package/dist-es/commands/DescribeStorageConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeTimeSeriesCommand.js +3 -9
- package/dist-es/commands/DisassociateAssetsCommand.js +3 -9
- package/dist-es/commands/DisassociateTimeSeriesFromAssetPropertyCommand.js +3 -9
- package/dist-es/commands/ExecuteActionCommand.js +3 -9
- package/dist-es/commands/ExecuteQueryCommand.js +3 -9
- package/dist-es/commands/GetAssetPropertyAggregatesCommand.js +3 -9
- package/dist-es/commands/GetAssetPropertyValueCommand.js +3 -9
- package/dist-es/commands/GetAssetPropertyValueHistoryCommand.js +3 -9
- package/dist-es/commands/GetInterpolatedAssetPropertyValuesCommand.js +3 -9
- package/dist-es/commands/InvokeAssistantCommand.js +3 -11
- package/dist-es/commands/ListAccessPoliciesCommand.js +3 -9
- package/dist-es/commands/ListActionsCommand.js +3 -9
- package/dist-es/commands/ListAssetModelCompositeModelsCommand.js +3 -9
- package/dist-es/commands/ListAssetModelPropertiesCommand.js +3 -9
- package/dist-es/commands/ListAssetModelsCommand.js +3 -9
- package/dist-es/commands/ListAssetPropertiesCommand.js +3 -9
- package/dist-es/commands/ListAssetRelationshipsCommand.js +3 -9
- package/dist-es/commands/ListAssetsCommand.js +3 -9
- package/dist-es/commands/ListAssociatedAssetsCommand.js +3 -9
- package/dist-es/commands/ListBulkImportJobsCommand.js +3 -9
- package/dist-es/commands/ListCompositionRelationshipsCommand.js +3 -9
- package/dist-es/commands/ListComputationModelDataBindingUsagesCommand.js +3 -9
- package/dist-es/commands/ListComputationModelResolveToResourcesCommand.js +3 -9
- package/dist-es/commands/ListComputationModelsCommand.js +3 -9
- package/dist-es/commands/ListDashboardsCommand.js +3 -9
- package/dist-es/commands/ListDatasetsCommand.js +3 -9
- package/dist-es/commands/ListExecutionsCommand.js +3 -9
- package/dist-es/commands/ListGatewaysCommand.js +3 -9
- package/dist-es/commands/ListInterfaceRelationshipsCommand.js +3 -9
- package/dist-es/commands/ListPortalsCommand.js +3 -9
- package/dist-es/commands/ListProjectAssetsCommand.js +3 -9
- package/dist-es/commands/ListProjectsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListTimeSeriesCommand.js +3 -9
- package/dist-es/commands/PutAssetModelInterfaceRelationshipCommand.js +3 -9
- package/dist-es/commands/PutDefaultEncryptionConfigurationCommand.js +3 -9
- package/dist-es/commands/PutLoggingOptionsCommand.js +3 -9
- package/dist-es/commands/PutStorageConfigurationCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAccessPolicyCommand.js +3 -9
- package/dist-es/commands/UpdateAssetCommand.js +3 -9
- package/dist-es/commands/UpdateAssetModelCommand.js +3 -9
- package/dist-es/commands/UpdateAssetModelCompositeModelCommand.js +3 -9
- package/dist-es/commands/UpdateAssetPropertyCommand.js +3 -9
- package/dist-es/commands/UpdateComputationModelCommand.js +3 -9
- package/dist-es/commands/UpdateDashboardCommand.js +3 -9
- package/dist-es/commands/UpdateDatasetCommand.js +3 -9
- package/dist-es/commands/UpdateGatewayCapabilityConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateGatewayCommand.js +3 -9
- package/dist-es/commands/UpdatePortalCommand.js +3 -10
- package/dist-es/commands/UpdateProjectCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -15
- package/dist-es/models/models_1.js +0 -32
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +5606 -0
- package/dist-types/IoTSiteWiseClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -12
- package/dist-types/models/models_1.d.ts +0 -12
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +569 -0
- package/dist-types/ts3.4/IoTSiteWiseClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -9
- package/dist-types/ts3.4/models/models_1.d.ts +0 -9
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +576 -0
- package/package.json +2 -3
- package/dist-es/protocols/Aws_restJson1.js +0 -4995
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -938
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1256
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSIoTSiteWise", "UntagResource", {})
|
|
17
13
|
.n("IoTSiteWiseClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateAccessPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateAccessPolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSIoTSiteWise", "UpdateAccessPolicy", {})
|
|
17
13
|
.n("IoTSiteWiseClient", "UpdateAccessPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateAccessPolicyCommand)
|
|
20
|
-
.de(de_UpdateAccessPolicyCommand)
|
|
14
|
+
.sc(UpdateAccessPolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateAsset } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateAssetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSIoTSiteWise", "UpdateAsset", {})
|
|
17
13
|
.n("IoTSiteWiseClient", "UpdateAssetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateAssetCommand)
|
|
20
|
-
.de(de_UpdateAssetCommand)
|
|
14
|
+
.sc(UpdateAsset)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateAssetModel } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateAssetModelCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSIoTSiteWise", "UpdateAssetModel", {})
|
|
17
13
|
.n("IoTSiteWiseClient", "UpdateAssetModelCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateAssetModelCommand)
|
|
20
|
-
.de(de_UpdateAssetModelCommand)
|
|
14
|
+
.sc(UpdateAssetModel)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateAssetModelCompositeModel } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateAssetModelCompositeModelCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSIoTSiteWise", "UpdateAssetModelCompositeModel", {})
|
|
17
13
|
.n("IoTSiteWiseClient", "UpdateAssetModelCompositeModelCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateAssetModelCompositeModelCommand)
|
|
20
|
-
.de(de_UpdateAssetModelCompositeModelCommand)
|
|
14
|
+
.sc(UpdateAssetModelCompositeModel)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateAssetProperty } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateAssetPropertyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSIoTSiteWise", "UpdateAssetProperty", {})
|
|
17
13
|
.n("IoTSiteWiseClient", "UpdateAssetPropertyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateAssetPropertyCommand)
|
|
20
|
-
.de(de_UpdateAssetPropertyCommand)
|
|
14
|
+
.sc(UpdateAssetProperty)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateComputationModel } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateComputationModelCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSIoTSiteWise", "UpdateComputationModel", {})
|
|
17
13
|
.n("IoTSiteWiseClient", "UpdateComputationModelCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateComputationModelCommand)
|
|
20
|
-
.de(de_UpdateComputationModelCommand)
|
|
14
|
+
.sc(UpdateComputationModel)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDashboard } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDashboardCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSIoTSiteWise", "UpdateDashboard", {})
|
|
17
13
|
.n("IoTSiteWiseClient", "UpdateDashboardCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDashboardCommand)
|
|
20
|
-
.de(de_UpdateDashboardCommand)
|
|
14
|
+
.sc(UpdateDashboard)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDataset } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDatasetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSIoTSiteWise", "UpdateDataset", {})
|
|
17
13
|
.n("IoTSiteWiseClient", "UpdateDatasetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDatasetCommand)
|
|
20
|
-
.de(de_UpdateDatasetCommand)
|
|
14
|
+
.sc(UpdateDataset)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateGatewayCapabilityConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateGatewayCapabilityConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSIoTSiteWise", "UpdateGatewayCapabilityConfiguration", {})
|
|
17
13
|
.n("IoTSiteWiseClient", "UpdateGatewayCapabilityConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateGatewayCapabilityConfigurationCommand)
|
|
20
|
-
.de(de_UpdateGatewayCapabilityConfigurationCommand)
|
|
14
|
+
.sc(UpdateGatewayCapabilityConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateGateway } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateGatewayCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSIoTSiteWise", "UpdateGateway", {})
|
|
17
13
|
.n("IoTSiteWiseClient", "UpdateGatewayCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateGatewayCommand)
|
|
20
|
-
.de(de_UpdateGatewayCommand)
|
|
14
|
+
.sc(UpdateGateway)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdatePortalCommand, se_UpdatePortalCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdatePortal } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdatePortalCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSIoTSiteWise", "UpdatePortal", {})
|
|
18
13
|
.n("IoTSiteWiseClient", "UpdatePortalCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdatePortalCommand)
|
|
21
|
-
.de(de_UpdatePortalCommand)
|
|
14
|
+
.sc(UpdatePortal)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateProject } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateProjectCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSIoTSiteWise", "UpdateProject", {})
|
|
17
13
|
.n("IoTSiteWiseClient", "UpdateProjectCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateProjectCommand)
|
|
20
|
-
.de(de_UpdateProjectCommand)
|
|
14
|
+
.sc(UpdateProject)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { IoTSiteWiseServiceException as __BaseException } from "./IoTSiteWiseServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -386,17 +385,3 @@ export class ValidationException extends __BaseException {
|
|
|
386
385
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
387
386
|
}
|
|
388
387
|
}
|
|
389
|
-
export const CreatePortalRequestFilterSensitiveLog = (obj) => ({
|
|
390
|
-
...obj,
|
|
391
|
-
...(obj.portalContactEmail && { portalContactEmail: SENSITIVE_STRING }),
|
|
392
|
-
...(obj.notificationSenderEmail && { notificationSenderEmail: SENSITIVE_STRING }),
|
|
393
|
-
});
|
|
394
|
-
export const DescribePortalResponseFilterSensitiveLog = (obj) => ({
|
|
395
|
-
...obj,
|
|
396
|
-
...(obj.portalContactEmail && { portalContactEmail: SENSITIVE_STRING }),
|
|
397
|
-
...(obj.notificationSenderEmail && { notificationSenderEmail: SENSITIVE_STRING }),
|
|
398
|
-
});
|
|
399
|
-
export const InvokeAssistantRequestFilterSensitiveLog = (obj) => ({
|
|
400
|
-
...obj,
|
|
401
|
-
...(obj.message && { message: SENSITIVE_STRING }),
|
|
402
|
-
});
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { IoTSiteWiseServiceException as __BaseException } from "./IoTSiteWiseServiceException";
|
|
3
2
|
export var ResponseStream;
|
|
4
3
|
(function (ResponseStream) {
|
|
@@ -98,34 +97,3 @@ export class TooManyTagsException extends __BaseException {
|
|
|
98
97
|
this.resourceName = opts.resourceName;
|
|
99
98
|
}
|
|
100
99
|
}
|
|
101
|
-
export const ResponseStreamFilterSensitiveLog = (obj) => {
|
|
102
|
-
if (obj.trace !== undefined)
|
|
103
|
-
return { trace: obj.trace };
|
|
104
|
-
if (obj.output !== undefined)
|
|
105
|
-
return { output: obj.output };
|
|
106
|
-
if (obj.accessDeniedException !== undefined)
|
|
107
|
-
return { accessDeniedException: obj.accessDeniedException };
|
|
108
|
-
if (obj.conflictingOperationException !== undefined)
|
|
109
|
-
return { conflictingOperationException: obj.conflictingOperationException };
|
|
110
|
-
if (obj.internalFailureException !== undefined)
|
|
111
|
-
return { internalFailureException: obj.internalFailureException };
|
|
112
|
-
if (obj.invalidRequestException !== undefined)
|
|
113
|
-
return { invalidRequestException: obj.invalidRequestException };
|
|
114
|
-
if (obj.limitExceededException !== undefined)
|
|
115
|
-
return { limitExceededException: obj.limitExceededException };
|
|
116
|
-
if (obj.resourceNotFoundException !== undefined)
|
|
117
|
-
return { resourceNotFoundException: obj.resourceNotFoundException };
|
|
118
|
-
if (obj.throttlingException !== undefined)
|
|
119
|
-
return { throttlingException: obj.throttlingException };
|
|
120
|
-
if (obj.$unknown !== undefined)
|
|
121
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
122
|
-
};
|
|
123
|
-
export const InvokeAssistantResponseFilterSensitiveLog = (obj) => ({
|
|
124
|
-
...obj,
|
|
125
|
-
...(obj.body && { body: "STREAMING_CONTENT" }),
|
|
126
|
-
});
|
|
127
|
-
export const UpdatePortalRequestFilterSensitiveLog = (obj) => ({
|
|
128
|
-
...obj,
|
|
129
|
-
...(obj.portalContactEmail && { portalContactEmail: SENSITIVE_STRING }),
|
|
130
|
-
...(obj.notificationSenderEmail && { notificationSenderEmail: SENSITIVE_STRING }),
|
|
131
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.iotsitewise" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "IoTSiteWise",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|