@aws-sdk/client-iotsitewise 3.451.0 → 3.456.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/README.md +88 -0
- package/dist-cjs/IoTSiteWise.js +22 -0
- package/dist-cjs/commands/CreateAssetModelCompositeModelCommand.js +51 -0
- package/dist-cjs/commands/DeleteAssetModelCompositeModelCommand.js +51 -0
- package/dist-cjs/commands/DescribeActionCommand.js +51 -0
- package/dist-cjs/commands/DescribeAssetCompositeModelCommand.js +51 -0
- package/dist-cjs/commands/DescribeAssetModelCompositeModelCommand.js +51 -0
- package/dist-cjs/commands/ExecuteActionCommand.js +51 -0
- package/dist-cjs/commands/ExecuteQueryCommand.js +51 -0
- package/dist-cjs/commands/ListActionsCommand.js +51 -0
- package/dist-cjs/commands/ListAssetModelCompositeModelsCommand.js +51 -0
- package/dist-cjs/commands/ListCompositionRelationshipsCommand.js +51 -0
- package/dist-cjs/commands/UpdateAssetModelCompositeModelCommand.js +51 -0
- package/dist-cjs/commands/index.js +11 -0
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +59 -15
- package/dist-cjs/models/models_1.js +18 -0
- package/dist-cjs/pagination/ExecuteQueryPaginator.js +29 -0
- package/dist-cjs/pagination/ListAssetModelCompositeModelsPaginator.js +29 -0
- package/dist-cjs/pagination/ListCompositionRelationshipsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1018 -25
- package/dist-es/IoTSiteWise.js +22 -0
- package/dist-es/commands/CreateAssetModelCompositeModelCommand.js +47 -0
- package/dist-es/commands/DeleteAssetModelCompositeModelCommand.js +47 -0
- package/dist-es/commands/DescribeActionCommand.js +47 -0
- package/dist-es/commands/DescribeAssetCompositeModelCommand.js +47 -0
- package/dist-es/commands/DescribeAssetModelCompositeModelCommand.js +47 -0
- package/dist-es/commands/ExecuteActionCommand.js +47 -0
- package/dist-es/commands/ExecuteQueryCommand.js +47 -0
- package/dist-es/commands/ListActionsCommand.js +47 -0
- package/dist-es/commands/ListAssetModelCompositeModelsCommand.js +47 -0
- package/dist-es/commands/ListCompositionRelationshipsCommand.js +47 -0
- package/dist-es/commands/UpdateAssetModelCompositeModelCommand.js +47 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +54 -13
- package/dist-es/models/models_1.js +14 -0
- package/dist-es/pagination/ExecuteQueryPaginator.js +25 -0
- package/dist-es/pagination/ListAssetModelCompositeModelsPaginator.js +25 -0
- package/dist-es/pagination/ListCompositionRelationshipsPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +1038 -68
- package/dist-types/IoTSiteWise.d.ts +77 -0
- package/dist-types/IoTSiteWiseClient.d.ts +13 -2
- package/dist-types/commands/CreateAssetCommand.d.ts +2 -0
- package/dist-types/commands/CreateAssetModelCommand.d.ts +52 -4
- package/dist-types/commands/CreateAssetModelCompositeModelCommand.d.ts +212 -0
- package/dist-types/commands/CreateBulkImportJobCommand.d.ts +8 -3
- package/dist-types/commands/DeleteAssetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAssetModelCompositeModelCommand.d.ts +111 -0
- package/dist-types/commands/DescribeActionCommand.d.ts +97 -0
- package/dist-types/commands/DescribeAssetCommand.d.ts +32 -0
- package/dist-types/commands/DescribeAssetCompositeModelCommand.d.ts +145 -0
- package/dist-types/commands/DescribeAssetModelCommand.d.ts +46 -4
- package/dist-types/commands/DescribeAssetModelCompositeModelCommand.d.ts +209 -0
- package/dist-types/commands/DescribeAssetPropertyCommand.d.ts +44 -4
- package/dist-types/commands/DescribeBulkImportJobCommand.d.ts +4 -1
- package/dist-types/commands/DescribeStorageConfigurationCommand.d.ts +5 -0
- package/dist-types/commands/ExecuteActionCommand.d.ts +106 -0
- package/dist-types/commands/ExecuteQueryCommand.d.ts +130 -0
- package/dist-types/commands/ListActionsCommand.d.ts +101 -0
- package/dist-types/commands/ListAssetModelCompositeModelsCommand.d.ts +106 -0
- package/dist-types/commands/ListAssetModelPropertiesCommand.d.ts +21 -2
- package/dist-types/commands/ListAssetModelsCommand.d.ts +5 -0
- package/dist-types/commands/ListAssetPropertiesCommand.d.ts +8 -1
- package/dist-types/commands/ListAssetsCommand.d.ts +2 -0
- package/dist-types/commands/ListAssociatedAssetsCommand.d.ts +2 -0
- package/dist-types/commands/ListCompositionRelationshipsCommand.d.ts +98 -0
- package/dist-types/commands/PutDefaultEncryptionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutLoggingOptionsCommand.d.ts +1 -1
- package/dist-types/commands/PutStorageConfigurationCommand.d.ts +11 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAssetCommand.d.ts +2 -1
- package/dist-types/commands/UpdateAssetModelCommand.d.ts +31 -5
- package/dist-types/commands/UpdateAssetModelCompositeModelCommand.d.ts +220 -0
- package/dist-types/commands/UpdateAssetPropertyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDashboardCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGatewayCapabilityConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGatewayCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePortalCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProjectCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1377 -773
- package/dist-types/models/models_1.d.ts +796 -0
- package/dist-types/pagination/ExecuteQueryPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAssetModelCompositeModelsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCompositionRelationshipsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
- package/dist-types/ts3.4/IoTSiteWise.d.ts +187 -0
- package/dist-types/ts3.4/IoTSiteWiseClient.d.ts +66 -0
- package/dist-types/ts3.4/commands/CreateAssetModelCompositeModelCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteAssetModelCompositeModelCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeActionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeAssetCompositeModelCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeAssetModelCompositeModelCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ExecuteActionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ExecuteQueryCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListAssetModelCompositeModelsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCompositionRelationshipsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutDefaultEncryptionConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutLoggingOptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutStorageConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAccessPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAssetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAssetModelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAssetModelCompositeModelCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateAssetPropertyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDashboardCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateGatewayCapabilityConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePortalCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +284 -130
- package/dist-types/ts3.4/models/models_1.d.ts +190 -0
- package/dist-types/ts3.4/pagination/ExecuteQueryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAssetModelCompositeModelsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCompositionRelationshipsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
- package/package.json +2 -2
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListActionsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListActionsCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListActionsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "IoTSiteWiseClient";
|
|
29
|
+
const commandName = "ListActionsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSIoTSiteWise",
|
|
38
|
+
operation: "ListActions",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListActionsCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListActionsCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListActionsCommand = ListActionsCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListAssetModelCompositeModelsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListAssetModelCompositeModelsCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAssetModelCompositeModelsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "IoTSiteWiseClient";
|
|
29
|
+
const commandName = "ListAssetModelCompositeModelsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSIoTSiteWise",
|
|
38
|
+
operation: "ListAssetModelCompositeModels",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListAssetModelCompositeModelsCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListAssetModelCompositeModelsCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListAssetModelCompositeModelsCommand = ListAssetModelCompositeModelsCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListCompositionRelationshipsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListCompositionRelationshipsCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListCompositionRelationshipsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "IoTSiteWiseClient";
|
|
29
|
+
const commandName = "ListCompositionRelationshipsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSIoTSiteWise",
|
|
38
|
+
operation: "ListCompositionRelationships",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListCompositionRelationshipsCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListCompositionRelationshipsCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListCompositionRelationshipsCommand = ListCompositionRelationshipsCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateAssetModelCompositeModelCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class UpdateAssetModelCompositeModelCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateAssetModelCompositeModelCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "IoTSiteWiseClient";
|
|
29
|
+
const commandName = "UpdateAssetModelCompositeModelCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSIoTSiteWise",
|
|
38
|
+
operation: "UpdateAssetModelCompositeModel",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_UpdateAssetModelCompositeModelCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_UpdateAssetModelCompositeModelCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.UpdateAssetModelCompositeModelCommand = UpdateAssetModelCompositeModelCommand;
|
|
@@ -12,6 +12,7 @@ tslib_1.__exportStar(require("./BatchPutAssetPropertyValueCommand"), exports);
|
|
|
12
12
|
tslib_1.__exportStar(require("./CreateAccessPolicyCommand"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./CreateAssetCommand"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./CreateAssetModelCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./CreateAssetModelCompositeModelCommand"), exports);
|
|
15
16
|
tslib_1.__exportStar(require("./CreateBulkImportJobCommand"), exports);
|
|
16
17
|
tslib_1.__exportStar(require("./CreateDashboardCommand"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./CreateGatewayCommand"), exports);
|
|
@@ -20,14 +21,18 @@ tslib_1.__exportStar(require("./CreateProjectCommand"), exports);
|
|
|
20
21
|
tslib_1.__exportStar(require("./DeleteAccessPolicyCommand"), exports);
|
|
21
22
|
tslib_1.__exportStar(require("./DeleteAssetCommand"), exports);
|
|
22
23
|
tslib_1.__exportStar(require("./DeleteAssetModelCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./DeleteAssetModelCompositeModelCommand"), exports);
|
|
23
25
|
tslib_1.__exportStar(require("./DeleteDashboardCommand"), exports);
|
|
24
26
|
tslib_1.__exportStar(require("./DeleteGatewayCommand"), exports);
|
|
25
27
|
tslib_1.__exportStar(require("./DeletePortalCommand"), exports);
|
|
26
28
|
tslib_1.__exportStar(require("./DeleteProjectCommand"), exports);
|
|
27
29
|
tslib_1.__exportStar(require("./DeleteTimeSeriesCommand"), exports);
|
|
28
30
|
tslib_1.__exportStar(require("./DescribeAccessPolicyCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./DescribeActionCommand"), exports);
|
|
29
32
|
tslib_1.__exportStar(require("./DescribeAssetCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./DescribeAssetCompositeModelCommand"), exports);
|
|
30
34
|
tslib_1.__exportStar(require("./DescribeAssetModelCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./DescribeAssetModelCompositeModelCommand"), exports);
|
|
31
36
|
tslib_1.__exportStar(require("./DescribeAssetPropertyCommand"), exports);
|
|
32
37
|
tslib_1.__exportStar(require("./DescribeBulkImportJobCommand"), exports);
|
|
33
38
|
tslib_1.__exportStar(require("./DescribeDashboardCommand"), exports);
|
|
@@ -41,11 +46,15 @@ tslib_1.__exportStar(require("./DescribeStorageConfigurationCommand"), exports);
|
|
|
41
46
|
tslib_1.__exportStar(require("./DescribeTimeSeriesCommand"), exports);
|
|
42
47
|
tslib_1.__exportStar(require("./DisassociateAssetsCommand"), exports);
|
|
43
48
|
tslib_1.__exportStar(require("./DisassociateTimeSeriesFromAssetPropertyCommand"), exports);
|
|
49
|
+
tslib_1.__exportStar(require("./ExecuteActionCommand"), exports);
|
|
50
|
+
tslib_1.__exportStar(require("./ExecuteQueryCommand"), exports);
|
|
44
51
|
tslib_1.__exportStar(require("./GetAssetPropertyAggregatesCommand"), exports);
|
|
45
52
|
tslib_1.__exportStar(require("./GetAssetPropertyValueCommand"), exports);
|
|
46
53
|
tslib_1.__exportStar(require("./GetAssetPropertyValueHistoryCommand"), exports);
|
|
47
54
|
tslib_1.__exportStar(require("./GetInterpolatedAssetPropertyValuesCommand"), exports);
|
|
48
55
|
tslib_1.__exportStar(require("./ListAccessPoliciesCommand"), exports);
|
|
56
|
+
tslib_1.__exportStar(require("./ListActionsCommand"), exports);
|
|
57
|
+
tslib_1.__exportStar(require("./ListAssetModelCompositeModelsCommand"), exports);
|
|
49
58
|
tslib_1.__exportStar(require("./ListAssetModelPropertiesCommand"), exports);
|
|
50
59
|
tslib_1.__exportStar(require("./ListAssetModelsCommand"), exports);
|
|
51
60
|
tslib_1.__exportStar(require("./ListAssetPropertiesCommand"), exports);
|
|
@@ -53,6 +62,7 @@ tslib_1.__exportStar(require("./ListAssetRelationshipsCommand"), exports);
|
|
|
53
62
|
tslib_1.__exportStar(require("./ListAssetsCommand"), exports);
|
|
54
63
|
tslib_1.__exportStar(require("./ListAssociatedAssetsCommand"), exports);
|
|
55
64
|
tslib_1.__exportStar(require("./ListBulkImportJobsCommand"), exports);
|
|
65
|
+
tslib_1.__exportStar(require("./ListCompositionRelationshipsCommand"), exports);
|
|
56
66
|
tslib_1.__exportStar(require("./ListDashboardsCommand"), exports);
|
|
57
67
|
tslib_1.__exportStar(require("./ListGatewaysCommand"), exports);
|
|
58
68
|
tslib_1.__exportStar(require("./ListPortalsCommand"), exports);
|
|
@@ -68,6 +78,7 @@ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
|
68
78
|
tslib_1.__exportStar(require("./UpdateAccessPolicyCommand"), exports);
|
|
69
79
|
tslib_1.__exportStar(require("./UpdateAssetCommand"), exports);
|
|
70
80
|
tslib_1.__exportStar(require("./UpdateAssetModelCommand"), exports);
|
|
81
|
+
tslib_1.__exportStar(require("./UpdateAssetModelCompositeModelCommand"), exports);
|
|
71
82
|
tslib_1.__exportStar(require("./UpdateAssetPropertyCommand"), exports);
|
|
72
83
|
tslib_1.__exportStar(require("./UpdateDashboardCommand"), exports);
|
|
73
84
|
tslib_1.__exportStar(require("./UpdateGatewayCapabilityConfigurationCommand"), exports);
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ListAssetPropertiesFilter = exports.ListAssetModelPropertiesFilter = exports.TargetResourceType = exports.ResourceType = exports.IdentityType = exports.ValidationException = exports.QueryTimeoutException = exports.ScalarType = exports.WarmTierState = exports.StorageType = exports.DisassociatedDataStorageState = exports.LoggingLevel = exports.CapabilitySyncStatus = exports.EncryptionType = exports.ConfigurationState = exports.PortalState = exports.MonitorErrorCode = exports.ImageFileType = exports.JobStatus = exports.ColumnName = exports.BatchPutAssetPropertyValueErrorCode = exports.BatchGetAssetPropertyValueHistoryErrorCode = exports.BatchGetAssetPropertyValueErrorCode = exports.ServiceUnavailableException = exports.BatchEntryCompletionStatus = exports.BatchGetAssetPropertyAggregatesErrorCode = exports.TimeOrdering = exports.AuthMode = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ResourceAlreadyExistsException = exports.LimitExceededException = exports.InvalidRequestException = exports.InternalFailureException = exports.ConflictingOperationException = exports.AssetState = exports.AssetRelationshipType = exports.AssetModelType = exports.DetailedErrorCode = exports.ErrorCode = exports.AssetModelState = exports.ComputeLocation = exports.ForwardingConfigState = exports.AssetErrorCode = exports.PropertyNotificationState = exports.PropertyDataType = exports.AggregateType = exports.Quality = exports.Permission = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.ListTimeSeriesType = exports.UnauthorizedException = exports.ListBulkImportJobsFilter = exports.TraversalDirection = exports.ListAssetsFilter = exports.TraversalType = void 0;
|
|
4
5
|
const IoTSiteWiseServiceException_1 = require("./IoTSiteWiseServiceException");
|
|
6
|
+
class AccessDeniedException extends IoTSiteWiseServiceException_1.IoTSiteWiseServiceException {
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "AccessDeniedException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
this.name = "AccessDeniedException";
|
|
14
|
+
this.$fault = "client";
|
|
15
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
5
19
|
exports.Permission = {
|
|
6
20
|
ADMINISTRATOR: "ADMINISTRATOR",
|
|
7
21
|
VIEWER: "VIEWER",
|
|
@@ -57,6 +71,10 @@ exports.DetailedErrorCode = {
|
|
|
57
71
|
INCOMPATIBLE_COMPUTE_LOCATION: "INCOMPATIBLE_COMPUTE_LOCATION",
|
|
58
72
|
INCOMPATIBLE_FORWARDING_CONFIGURATION: "INCOMPATIBLE_FORWARDING_CONFIGURATION",
|
|
59
73
|
};
|
|
74
|
+
exports.AssetModelType = {
|
|
75
|
+
ASSET_MODEL: "ASSET_MODEL",
|
|
76
|
+
COMPONENT_MODEL: "COMPONENT_MODEL",
|
|
77
|
+
};
|
|
60
78
|
exports.AssetRelationshipType = {
|
|
61
79
|
HIERARCHY: "HIERARCHY",
|
|
62
80
|
};
|
|
@@ -274,6 +292,43 @@ exports.StorageType = {
|
|
|
274
292
|
MULTI_LAYER_STORAGE: "MULTI_LAYER_STORAGE",
|
|
275
293
|
SITEWISE_DEFAULT_STORAGE: "SITEWISE_DEFAULT_STORAGE",
|
|
276
294
|
};
|
|
295
|
+
exports.WarmTierState = {
|
|
296
|
+
DISABLED: "DISABLED",
|
|
297
|
+
ENABLED: "ENABLED",
|
|
298
|
+
};
|
|
299
|
+
exports.ScalarType = {
|
|
300
|
+
BOOLEAN: "BOOLEAN",
|
|
301
|
+
DOUBLE: "DOUBLE",
|
|
302
|
+
INT: "INT",
|
|
303
|
+
STRING: "STRING",
|
|
304
|
+
TIMESTAMP: "TIMESTAMP",
|
|
305
|
+
};
|
|
306
|
+
class QueryTimeoutException extends IoTSiteWiseServiceException_1.IoTSiteWiseServiceException {
|
|
307
|
+
constructor(opts) {
|
|
308
|
+
super({
|
|
309
|
+
name: "QueryTimeoutException",
|
|
310
|
+
$fault: "client",
|
|
311
|
+
...opts,
|
|
312
|
+
});
|
|
313
|
+
this.name = "QueryTimeoutException";
|
|
314
|
+
this.$fault = "client";
|
|
315
|
+
Object.setPrototypeOf(this, QueryTimeoutException.prototype);
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
exports.QueryTimeoutException = QueryTimeoutException;
|
|
319
|
+
class ValidationException extends IoTSiteWiseServiceException_1.IoTSiteWiseServiceException {
|
|
320
|
+
constructor(opts) {
|
|
321
|
+
super({
|
|
322
|
+
name: "ValidationException",
|
|
323
|
+
$fault: "client",
|
|
324
|
+
...opts,
|
|
325
|
+
});
|
|
326
|
+
this.name = "ValidationException";
|
|
327
|
+
this.$fault = "client";
|
|
328
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
exports.ValidationException = ValidationException;
|
|
277
332
|
exports.IdentityType = {
|
|
278
333
|
GROUP: "GROUP",
|
|
279
334
|
IAM: "IAM",
|
|
@@ -283,6 +338,9 @@ exports.ResourceType = {
|
|
|
283
338
|
PORTAL: "PORTAL",
|
|
284
339
|
PROJECT: "PROJECT",
|
|
285
340
|
};
|
|
341
|
+
exports.TargetResourceType = {
|
|
342
|
+
ASSET: "ASSET",
|
|
343
|
+
};
|
|
286
344
|
exports.ListAssetModelPropertiesFilter = {
|
|
287
345
|
ALL: "ALL",
|
|
288
346
|
BASE: "BASE",
|
|
@@ -328,17 +386,3 @@ exports.ListTimeSeriesType = {
|
|
|
328
386
|
ASSOCIATED: "ASSOCIATED",
|
|
329
387
|
DISASSOCIATED: "DISASSOCIATED",
|
|
330
388
|
};
|
|
331
|
-
class TooManyTagsException extends IoTSiteWiseServiceException_1.IoTSiteWiseServiceException {
|
|
332
|
-
constructor(opts) {
|
|
333
|
-
super({
|
|
334
|
-
name: "TooManyTagsException",
|
|
335
|
-
$fault: "client",
|
|
336
|
-
...opts,
|
|
337
|
-
});
|
|
338
|
-
this.name = "TooManyTagsException";
|
|
339
|
-
this.$fault = "client";
|
|
340
|
-
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
341
|
-
this.resourceName = opts.resourceName;
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
exports.TooManyTagsException = TooManyTagsException;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TooManyTagsException = void 0;
|
|
4
|
+
const IoTSiteWiseServiceException_1 = require("./IoTSiteWiseServiceException");
|
|
5
|
+
class TooManyTagsException extends IoTSiteWiseServiceException_1.IoTSiteWiseServiceException {
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "TooManyTagsException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
this.name = "TooManyTagsException";
|
|
13
|
+
this.$fault = "client";
|
|
14
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
15
|
+
this.resourceName = opts.resourceName;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateExecuteQuery = void 0;
|
|
4
|
+
const ExecuteQueryCommand_1 = require("../commands/ExecuteQueryCommand");
|
|
5
|
+
const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ExecuteQueryCommand_1.ExecuteQueryCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateExecuteQuery(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateExecuteQuery = paginateExecuteQuery;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListAssetModelCompositeModels = void 0;
|
|
4
|
+
const ListAssetModelCompositeModelsCommand_1 = require("../commands/ListAssetModelCompositeModelsCommand");
|
|
5
|
+
const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListAssetModelCompositeModelsCommand_1.ListAssetModelCompositeModelsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListAssetModelCompositeModels(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListAssetModelCompositeModels = paginateListAssetModelCompositeModels;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListCompositionRelationships = void 0;
|
|
4
|
+
const ListCompositionRelationshipsCommand_1 = require("../commands/ListCompositionRelationshipsCommand");
|
|
5
|
+
const IoTSiteWiseClient_1 = require("../IoTSiteWiseClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListCompositionRelationshipsCommand_1.ListCompositionRelationshipsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListCompositionRelationships(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof IoTSiteWiseClient_1.IoTSiteWiseClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected IoTSiteWise | IoTSiteWiseClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListCompositionRelationships = paginateListCompositionRelationships;
|
|
@@ -4,11 +4,13 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./BatchGetAssetPropertyAggregatesPaginator"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./BatchGetAssetPropertyValueHistoryPaginator"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./BatchGetAssetPropertyValuePaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ExecuteQueryPaginator"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./GetAssetPropertyAggregatesPaginator"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./GetAssetPropertyValueHistoryPaginator"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./GetInterpolatedAssetPropertyValuesPaginator"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./ListAccessPoliciesPaginator"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./ListAssetModelCompositeModelsPaginator"), exports);
|
|
12
14
|
tslib_1.__exportStar(require("./ListAssetModelPropertiesPaginator"), exports);
|
|
13
15
|
tslib_1.__exportStar(require("./ListAssetModelsPaginator"), exports);
|
|
14
16
|
tslib_1.__exportStar(require("./ListAssetPropertiesPaginator"), exports);
|
|
@@ -16,6 +18,7 @@ tslib_1.__exportStar(require("./ListAssetRelationshipsPaginator"), exports);
|
|
|
16
18
|
tslib_1.__exportStar(require("./ListAssetsPaginator"), exports);
|
|
17
19
|
tslib_1.__exportStar(require("./ListAssociatedAssetsPaginator"), exports);
|
|
18
20
|
tslib_1.__exportStar(require("./ListBulkImportJobsPaginator"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./ListCompositionRelationshipsPaginator"), exports);
|
|
19
22
|
tslib_1.__exportStar(require("./ListDashboardsPaginator"), exports);
|
|
20
23
|
tslib_1.__exportStar(require("./ListGatewaysPaginator"), exports);
|
|
21
24
|
tslib_1.__exportStar(require("./ListPortalsPaginator"), exports);
|