@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.
Files changed (130) hide show
  1. package/README.md +88 -0
  2. package/dist-cjs/IoTSiteWise.js +22 -0
  3. package/dist-cjs/commands/CreateAssetModelCompositeModelCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteAssetModelCompositeModelCommand.js +51 -0
  5. package/dist-cjs/commands/DescribeActionCommand.js +51 -0
  6. package/dist-cjs/commands/DescribeAssetCompositeModelCommand.js +51 -0
  7. package/dist-cjs/commands/DescribeAssetModelCompositeModelCommand.js +51 -0
  8. package/dist-cjs/commands/ExecuteActionCommand.js +51 -0
  9. package/dist-cjs/commands/ExecuteQueryCommand.js +51 -0
  10. package/dist-cjs/commands/ListActionsCommand.js +51 -0
  11. package/dist-cjs/commands/ListAssetModelCompositeModelsCommand.js +51 -0
  12. package/dist-cjs/commands/ListCompositionRelationshipsCommand.js +51 -0
  13. package/dist-cjs/commands/UpdateAssetModelCompositeModelCommand.js +51 -0
  14. package/dist-cjs/commands/index.js +11 -0
  15. package/dist-cjs/models/index.js +1 -0
  16. package/dist-cjs/models/models_0.js +59 -15
  17. package/dist-cjs/models/models_1.js +18 -0
  18. package/dist-cjs/pagination/ExecuteQueryPaginator.js +29 -0
  19. package/dist-cjs/pagination/ListAssetModelCompositeModelsPaginator.js +29 -0
  20. package/dist-cjs/pagination/ListCompositionRelationshipsPaginator.js +29 -0
  21. package/dist-cjs/pagination/index.js +3 -0
  22. package/dist-cjs/protocols/Aws_restJson1.js +1018 -25
  23. package/dist-es/IoTSiteWise.js +22 -0
  24. package/dist-es/commands/CreateAssetModelCompositeModelCommand.js +47 -0
  25. package/dist-es/commands/DeleteAssetModelCompositeModelCommand.js +47 -0
  26. package/dist-es/commands/DescribeActionCommand.js +47 -0
  27. package/dist-es/commands/DescribeAssetCompositeModelCommand.js +47 -0
  28. package/dist-es/commands/DescribeAssetModelCompositeModelCommand.js +47 -0
  29. package/dist-es/commands/ExecuteActionCommand.js +47 -0
  30. package/dist-es/commands/ExecuteQueryCommand.js +47 -0
  31. package/dist-es/commands/ListActionsCommand.js +47 -0
  32. package/dist-es/commands/ListAssetModelCompositeModelsCommand.js +47 -0
  33. package/dist-es/commands/ListCompositionRelationshipsCommand.js +47 -0
  34. package/dist-es/commands/UpdateAssetModelCompositeModelCommand.js +47 -0
  35. package/dist-es/commands/index.js +11 -0
  36. package/dist-es/models/index.js +1 -0
  37. package/dist-es/models/models_0.js +54 -13
  38. package/dist-es/models/models_1.js +14 -0
  39. package/dist-es/pagination/ExecuteQueryPaginator.js +25 -0
  40. package/dist-es/pagination/ListAssetModelCompositeModelsPaginator.js +25 -0
  41. package/dist-es/pagination/ListCompositionRelationshipsPaginator.js +25 -0
  42. package/dist-es/pagination/index.js +3 -0
  43. package/dist-es/protocols/Aws_restJson1.js +1038 -68
  44. package/dist-types/IoTSiteWise.d.ts +77 -0
  45. package/dist-types/IoTSiteWiseClient.d.ts +13 -2
  46. package/dist-types/commands/CreateAssetCommand.d.ts +2 -0
  47. package/dist-types/commands/CreateAssetModelCommand.d.ts +52 -4
  48. package/dist-types/commands/CreateAssetModelCompositeModelCommand.d.ts +212 -0
  49. package/dist-types/commands/CreateBulkImportJobCommand.d.ts +8 -3
  50. package/dist-types/commands/DeleteAssetCommand.d.ts +1 -1
  51. package/dist-types/commands/DeleteAssetModelCompositeModelCommand.d.ts +111 -0
  52. package/dist-types/commands/DescribeActionCommand.d.ts +97 -0
  53. package/dist-types/commands/DescribeAssetCommand.d.ts +32 -0
  54. package/dist-types/commands/DescribeAssetCompositeModelCommand.d.ts +145 -0
  55. package/dist-types/commands/DescribeAssetModelCommand.d.ts +46 -4
  56. package/dist-types/commands/DescribeAssetModelCompositeModelCommand.d.ts +209 -0
  57. package/dist-types/commands/DescribeAssetPropertyCommand.d.ts +44 -4
  58. package/dist-types/commands/DescribeBulkImportJobCommand.d.ts +4 -1
  59. package/dist-types/commands/DescribeStorageConfigurationCommand.d.ts +5 -0
  60. package/dist-types/commands/ExecuteActionCommand.d.ts +106 -0
  61. package/dist-types/commands/ExecuteQueryCommand.d.ts +130 -0
  62. package/dist-types/commands/ListActionsCommand.d.ts +101 -0
  63. package/dist-types/commands/ListAssetModelCompositeModelsCommand.d.ts +106 -0
  64. package/dist-types/commands/ListAssetModelPropertiesCommand.d.ts +21 -2
  65. package/dist-types/commands/ListAssetModelsCommand.d.ts +5 -0
  66. package/dist-types/commands/ListAssetPropertiesCommand.d.ts +8 -1
  67. package/dist-types/commands/ListAssetsCommand.d.ts +2 -0
  68. package/dist-types/commands/ListAssociatedAssetsCommand.d.ts +2 -0
  69. package/dist-types/commands/ListCompositionRelationshipsCommand.d.ts +98 -0
  70. package/dist-types/commands/PutDefaultEncryptionConfigurationCommand.d.ts +1 -1
  71. package/dist-types/commands/PutLoggingOptionsCommand.d.ts +1 -1
  72. package/dist-types/commands/PutStorageConfigurationCommand.d.ts +11 -1
  73. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  74. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  75. package/dist-types/commands/UpdateAccessPolicyCommand.d.ts +1 -1
  76. package/dist-types/commands/UpdateAssetCommand.d.ts +2 -1
  77. package/dist-types/commands/UpdateAssetModelCommand.d.ts +31 -5
  78. package/dist-types/commands/UpdateAssetModelCompositeModelCommand.d.ts +220 -0
  79. package/dist-types/commands/UpdateAssetPropertyCommand.d.ts +1 -1
  80. package/dist-types/commands/UpdateDashboardCommand.d.ts +1 -1
  81. package/dist-types/commands/UpdateGatewayCapabilityConfigurationCommand.d.ts +1 -1
  82. package/dist-types/commands/UpdateGatewayCommand.d.ts +1 -1
  83. package/dist-types/commands/UpdatePortalCommand.d.ts +1 -1
  84. package/dist-types/commands/UpdateProjectCommand.d.ts +1 -1
  85. package/dist-types/commands/index.d.ts +11 -0
  86. package/dist-types/models/index.d.ts +1 -0
  87. package/dist-types/models/models_0.d.ts +1377 -773
  88. package/dist-types/models/models_1.d.ts +796 -0
  89. package/dist-types/pagination/ExecuteQueryPaginator.d.ts +7 -0
  90. package/dist-types/pagination/ListAssetModelCompositeModelsPaginator.d.ts +7 -0
  91. package/dist-types/pagination/ListCompositionRelationshipsPaginator.d.ts +7 -0
  92. package/dist-types/pagination/index.d.ts +3 -0
  93. package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
  94. package/dist-types/ts3.4/IoTSiteWise.d.ts +187 -0
  95. package/dist-types/ts3.4/IoTSiteWiseClient.d.ts +66 -0
  96. package/dist-types/ts3.4/commands/CreateAssetModelCompositeModelCommand.d.ts +42 -0
  97. package/dist-types/ts3.4/commands/DeleteAssetModelCompositeModelCommand.d.ts +42 -0
  98. package/dist-types/ts3.4/commands/DescribeActionCommand.d.ts +38 -0
  99. package/dist-types/ts3.4/commands/DescribeAssetCompositeModelCommand.d.ts +42 -0
  100. package/dist-types/ts3.4/commands/DescribeAssetModelCompositeModelCommand.d.ts +42 -0
  101. package/dist-types/ts3.4/commands/ExecuteActionCommand.d.ts +38 -0
  102. package/dist-types/ts3.4/commands/ExecuteQueryCommand.d.ts +36 -0
  103. package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +35 -0
  104. package/dist-types/ts3.4/commands/ListAssetModelCompositeModelsCommand.d.ts +42 -0
  105. package/dist-types/ts3.4/commands/ListCompositionRelationshipsCommand.d.ts +42 -0
  106. package/dist-types/ts3.4/commands/PutDefaultEncryptionConfigurationCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/PutLoggingOptionsCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/PutStorageConfigurationCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/UpdateAccessPolicyCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/UpdateAssetCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/UpdateAssetModelCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/UpdateAssetModelCompositeModelCommand.d.ts +42 -0
  115. package/dist-types/ts3.4/commands/UpdateAssetPropertyCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/UpdateDashboardCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/UpdateGatewayCapabilityConfigurationCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/UpdateGatewayCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/UpdatePortalCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  122. package/dist-types/ts3.4/models/index.d.ts +1 -0
  123. package/dist-types/ts3.4/models/models_0.d.ts +284 -130
  124. package/dist-types/ts3.4/models/models_1.d.ts +190 -0
  125. package/dist-types/ts3.4/pagination/ExecuteQueryPaginator.d.ts +11 -0
  126. package/dist-types/ts3.4/pagination/ListAssetModelCompositeModelsPaginator.d.ts +11 -0
  127. package/dist-types/ts3.4/pagination/ListCompositionRelationshipsPaginator.d.ts +11 -0
  128. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  129. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
  130. 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);
@@ -2,3 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
+ tslib_1.__exportStar(require("./models_1"), exports);
@@ -1,7 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TooManyTagsException = exports.ListTimeSeriesType = exports.UnauthorizedException = exports.ListBulkImportJobsFilter = exports.TraversalDirection = exports.ListAssetsFilter = exports.TraversalType = exports.ListAssetPropertiesFilter = exports.ListAssetModelPropertiesFilter = exports.ResourceType = exports.IdentityType = 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.DetailedErrorCode = exports.ErrorCode = exports.AssetModelState = exports.ComputeLocation = exports.ForwardingConfigState = exports.AssetErrorCode = exports.PropertyNotificationState = exports.PropertyDataType = exports.AggregateType = exports.Quality = exports.Permission = void 0;
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);