@aws-sdk/client-iottwinmaker 3.44.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 (184) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +212 -0
  4. package/dist-cjs/IoTTwinMaker.js +397 -0
  5. package/dist-cjs/IoTTwinMakerClient.js +35 -0
  6. package/dist-cjs/commands/BatchPutPropertyValuesCommand.js +36 -0
  7. package/dist-cjs/commands/CreateComponentTypeCommand.js +36 -0
  8. package/dist-cjs/commands/CreateEntityCommand.js +36 -0
  9. package/dist-cjs/commands/CreateSceneCommand.js +36 -0
  10. package/dist-cjs/commands/CreateWorkspaceCommand.js +36 -0
  11. package/dist-cjs/commands/DeleteComponentTypeCommand.js +36 -0
  12. package/dist-cjs/commands/DeleteEntityCommand.js +36 -0
  13. package/dist-cjs/commands/DeleteSceneCommand.js +36 -0
  14. package/dist-cjs/commands/DeleteWorkspaceCommand.js +36 -0
  15. package/dist-cjs/commands/GetComponentTypeCommand.js +36 -0
  16. package/dist-cjs/commands/GetEntityCommand.js +36 -0
  17. package/dist-cjs/commands/GetPropertyValueCommand.js +36 -0
  18. package/dist-cjs/commands/GetPropertyValueHistoryCommand.js +36 -0
  19. package/dist-cjs/commands/GetSceneCommand.js +36 -0
  20. package/dist-cjs/commands/GetWorkspaceCommand.js +36 -0
  21. package/dist-cjs/commands/ListComponentTypesCommand.js +36 -0
  22. package/dist-cjs/commands/ListEntitiesCommand.js +36 -0
  23. package/dist-cjs/commands/ListScenesCommand.js +36 -0
  24. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  25. package/dist-cjs/commands/ListWorkspacesCommand.js +36 -0
  26. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  27. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  28. package/dist-cjs/commands/UpdateComponentTypeCommand.js +36 -0
  29. package/dist-cjs/commands/UpdateEntityCommand.js +36 -0
  30. package/dist-cjs/commands/UpdateSceneCommand.js +36 -0
  31. package/dist-cjs/commands/UpdateWorkspaceCommand.js +36 -0
  32. package/dist-cjs/commands/index.js +29 -0
  33. package/dist-cjs/endpoints.js +130 -0
  34. package/dist-cjs/index.js +8 -0
  35. package/dist-cjs/models/index.js +4 -0
  36. package/dist-cjs/models/models_0.js +659 -0
  37. package/dist-cjs/pagination/GetPropertyValueHistoryPaginator.js +35 -0
  38. package/dist-cjs/pagination/Interfaces.js +2 -0
  39. package/dist-cjs/pagination/ListComponentTypesPaginator.js +35 -0
  40. package/dist-cjs/pagination/ListEntitiesPaginator.js +35 -0
  41. package/dist-cjs/pagination/ListScenesPaginator.js +35 -0
  42. package/dist-cjs/pagination/ListWorkspacesPaginator.js +35 -0
  43. package/dist-cjs/pagination/index.js +9 -0
  44. package/dist-cjs/protocols/Aws_restJson1.js +4460 -0
  45. package/dist-cjs/runtimeConfig.browser.js +40 -0
  46. package/dist-cjs/runtimeConfig.js +44 -0
  47. package/dist-cjs/runtimeConfig.native.js +16 -0
  48. package/dist-cjs/runtimeConfig.shared.js +17 -0
  49. package/dist-es/IoTTwinMaker.js +400 -0
  50. package/dist-es/IoTTwinMakerClient.js +37 -0
  51. package/dist-es/commands/BatchPutPropertyValuesCommand.js +39 -0
  52. package/dist-es/commands/CreateComponentTypeCommand.js +39 -0
  53. package/dist-es/commands/CreateEntityCommand.js +39 -0
  54. package/dist-es/commands/CreateSceneCommand.js +39 -0
  55. package/dist-es/commands/CreateWorkspaceCommand.js +39 -0
  56. package/dist-es/commands/DeleteComponentTypeCommand.js +39 -0
  57. package/dist-es/commands/DeleteEntityCommand.js +39 -0
  58. package/dist-es/commands/DeleteSceneCommand.js +39 -0
  59. package/dist-es/commands/DeleteWorkspaceCommand.js +39 -0
  60. package/dist-es/commands/GetComponentTypeCommand.js +39 -0
  61. package/dist-es/commands/GetEntityCommand.js +39 -0
  62. package/dist-es/commands/GetPropertyValueCommand.js +39 -0
  63. package/dist-es/commands/GetPropertyValueHistoryCommand.js +39 -0
  64. package/dist-es/commands/GetSceneCommand.js +39 -0
  65. package/dist-es/commands/GetWorkspaceCommand.js +39 -0
  66. package/dist-es/commands/ListComponentTypesCommand.js +39 -0
  67. package/dist-es/commands/ListEntitiesCommand.js +39 -0
  68. package/dist-es/commands/ListScenesCommand.js +39 -0
  69. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  70. package/dist-es/commands/ListWorkspacesCommand.js +39 -0
  71. package/dist-es/commands/TagResourceCommand.js +39 -0
  72. package/dist-es/commands/UntagResourceCommand.js +39 -0
  73. package/dist-es/commands/UpdateComponentTypeCommand.js +39 -0
  74. package/dist-es/commands/UpdateEntityCommand.js +39 -0
  75. package/dist-es/commands/UpdateSceneCommand.js +39 -0
  76. package/dist-es/commands/UpdateWorkspaceCommand.js +39 -0
  77. package/dist-es/commands/index.js +26 -0
  78. package/dist-es/endpoints.js +126 -0
  79. package/dist-es/index.js +5 -0
  80. package/dist-es/models/index.js +1 -0
  81. package/dist-es/models/models_0.js +469 -0
  82. package/dist-es/pagination/GetPropertyValueHistoryPaginator.js +74 -0
  83. package/dist-es/pagination/Interfaces.js +1 -0
  84. package/dist-es/pagination/ListComponentTypesPaginator.js +74 -0
  85. package/dist-es/pagination/ListEntitiesPaginator.js +74 -0
  86. package/dist-es/pagination/ListScenesPaginator.js +74 -0
  87. package/dist-es/pagination/ListWorkspacesPaginator.js +74 -0
  88. package/dist-es/pagination/index.js +6 -0
  89. package/dist-es/protocols/Aws_restJson1.js +4853 -0
  90. package/dist-es/runtimeConfig.browser.js +17 -0
  91. package/dist-es/runtimeConfig.js +21 -0
  92. package/dist-es/runtimeConfig.native.js +8 -0
  93. package/dist-es/runtimeConfig.shared.js +13 -0
  94. package/dist-types/IoTTwinMaker.d.ts +206 -0
  95. package/dist-types/IoTTwinMakerClient.d.ts +175 -0
  96. package/dist-types/commands/BatchPutPropertyValuesCommand.d.ts +35 -0
  97. package/dist-types/commands/CreateComponentTypeCommand.d.ts +40 -0
  98. package/dist-types/commands/CreateEntityCommand.d.ts +35 -0
  99. package/dist-types/commands/CreateSceneCommand.d.ts +35 -0
  100. package/dist-types/commands/CreateWorkspaceCommand.d.ts +35 -0
  101. package/dist-types/commands/DeleteComponentTypeCommand.d.ts +35 -0
  102. package/dist-types/commands/DeleteEntityCommand.d.ts +35 -0
  103. package/dist-types/commands/DeleteSceneCommand.d.ts +35 -0
  104. package/dist-types/commands/DeleteWorkspaceCommand.d.ts +35 -0
  105. package/dist-types/commands/GetComponentTypeCommand.d.ts +35 -0
  106. package/dist-types/commands/GetEntityCommand.d.ts +35 -0
  107. package/dist-types/commands/GetPropertyValueCommand.d.ts +36 -0
  108. package/dist-types/commands/GetPropertyValueHistoryCommand.d.ts +37 -0
  109. package/dist-types/commands/GetSceneCommand.d.ts +35 -0
  110. package/dist-types/commands/GetWorkspaceCommand.d.ts +35 -0
  111. package/dist-types/commands/ListComponentTypesCommand.d.ts +35 -0
  112. package/dist-types/commands/ListEntitiesCommand.d.ts +35 -0
  113. package/dist-types/commands/ListScenesCommand.d.ts +35 -0
  114. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  115. package/dist-types/commands/ListWorkspacesCommand.d.ts +35 -0
  116. package/dist-types/commands/TagResourceCommand.d.ts +35 -0
  117. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  118. package/dist-types/commands/UpdateComponentTypeCommand.d.ts +35 -0
  119. package/dist-types/commands/UpdateEntityCommand.d.ts +35 -0
  120. package/dist-types/commands/UpdateSceneCommand.d.ts +35 -0
  121. package/dist-types/commands/UpdateWorkspaceCommand.d.ts +35 -0
  122. package/dist-types/commands/index.d.ts +26 -0
  123. package/dist-types/endpoints.d.ts +2 -0
  124. package/dist-types/index.d.ts +5 -0
  125. package/dist-types/models/index.d.ts +1 -0
  126. package/dist-types/models/models_0.d.ts +2269 -0
  127. package/dist-types/pagination/GetPropertyValueHistoryPaginator.d.ts +4 -0
  128. package/dist-types/pagination/Interfaces.d.ts +6 -0
  129. package/dist-types/pagination/ListComponentTypesPaginator.d.ts +4 -0
  130. package/dist-types/pagination/ListEntitiesPaginator.d.ts +4 -0
  131. package/dist-types/pagination/ListScenesPaginator.d.ts +4 -0
  132. package/dist-types/pagination/ListWorkspacesPaginator.d.ts +4 -0
  133. package/dist-types/pagination/index.d.ts +6 -0
  134. package/dist-types/protocols/Aws_restJson1.d.ts +80 -0
  135. package/dist-types/runtimeConfig.browser.d.ts +39 -0
  136. package/dist-types/runtimeConfig.d.ts +39 -0
  137. package/dist-types/runtimeConfig.native.d.ts +38 -0
  138. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  139. package/dist-types/ts3.4/IoTTwinMaker.d.ts +135 -0
  140. package/dist-types/ts3.4/IoTTwinMakerClient.d.ts +97 -0
  141. package/dist-types/ts3.4/commands/BatchPutPropertyValuesCommand.d.ts +17 -0
  142. package/dist-types/ts3.4/commands/CreateComponentTypeCommand.d.ts +17 -0
  143. package/dist-types/ts3.4/commands/CreateEntityCommand.d.ts +17 -0
  144. package/dist-types/ts3.4/commands/CreateSceneCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/DeleteComponentTypeCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/DeleteEntityCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/DeleteSceneCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/GetComponentTypeCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/GetEntityCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/GetPropertyValueCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/GetPropertyValueHistoryCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/GetSceneCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/GetWorkspaceCommand.d.ts +17 -0
  156. package/dist-types/ts3.4/commands/ListComponentTypesCommand.d.ts +17 -0
  157. package/dist-types/ts3.4/commands/ListEntitiesCommand.d.ts +17 -0
  158. package/dist-types/ts3.4/commands/ListScenesCommand.d.ts +17 -0
  159. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  160. package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +17 -0
  161. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  162. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  163. package/dist-types/ts3.4/commands/UpdateComponentTypeCommand.d.ts +17 -0
  164. package/dist-types/ts3.4/commands/UpdateEntityCommand.d.ts +17 -0
  165. package/dist-types/ts3.4/commands/UpdateSceneCommand.d.ts +17 -0
  166. package/dist-types/ts3.4/commands/UpdateWorkspaceCommand.d.ts +17 -0
  167. package/dist-types/ts3.4/commands/index.d.ts +26 -0
  168. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  169. package/dist-types/ts3.4/index.d.ts +5 -0
  170. package/dist-types/ts3.4/models/index.d.ts +1 -0
  171. package/dist-types/ts3.4/models/models_0.d.ts +1382 -0
  172. package/dist-types/ts3.4/pagination/GetPropertyValueHistoryPaginator.d.ts +4 -0
  173. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  174. package/dist-types/ts3.4/pagination/ListComponentTypesPaginator.d.ts +4 -0
  175. package/dist-types/ts3.4/pagination/ListEntitiesPaginator.d.ts +4 -0
  176. package/dist-types/ts3.4/pagination/ListScenesPaginator.d.ts +4 -0
  177. package/dist-types/ts3.4/pagination/ListWorkspacesPaginator.d.ts +4 -0
  178. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  179. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +80 -0
  180. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
  181. package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
  182. package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
  183. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  184. package/package.json +94 -0
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTTwinMakerClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListTagsForResourceCommand(input, context);
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListWorkspacesRequest, ListWorkspacesResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListWorkspacesCommand, serializeAws_restJson1ListWorkspacesCommand, } from "../protocols/Aws_restJson1";
6
+ var ListWorkspacesCommand = (function (_super) {
7
+ __extends(ListWorkspacesCommand, _super);
8
+ function ListWorkspacesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListWorkspacesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTTwinMakerClient";
18
+ var commandName = "ListWorkspacesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListWorkspacesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListWorkspacesResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListWorkspacesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListWorkspacesCommand(input, context);
33
+ };
34
+ ListWorkspacesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListWorkspacesCommand(output, context);
36
+ };
37
+ return ListWorkspacesCommand;
38
+ }($Command));
39
+ export { ListWorkspacesCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTTwinMakerClient";
18
+ var commandName = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TagResourceCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1TagResourceCommand(input, context);
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1TagResourceCommand(output, context);
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTTwinMakerClient";
18
+ var commandName = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UntagResourceCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UntagResourceCommand(input, context);
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UntagResourceCommand(output, context);
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateComponentTypeRequest, UpdateComponentTypeResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateComponentTypeCommand, serializeAws_restJson1UpdateComponentTypeCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateComponentTypeCommand = (function (_super) {
7
+ __extends(UpdateComponentTypeCommand, _super);
8
+ function UpdateComponentTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateComponentTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTTwinMakerClient";
18
+ var commandName = "UpdateComponentTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateComponentTypeRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateComponentTypeResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateComponentTypeCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UpdateComponentTypeCommand(input, context);
33
+ };
34
+ UpdateComponentTypeCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UpdateComponentTypeCommand(output, context);
36
+ };
37
+ return UpdateComponentTypeCommand;
38
+ }($Command));
39
+ export { UpdateComponentTypeCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateEntityRequest, UpdateEntityResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateEntityCommand, serializeAws_restJson1UpdateEntityCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateEntityCommand = (function (_super) {
7
+ __extends(UpdateEntityCommand, _super);
8
+ function UpdateEntityCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateEntityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTTwinMakerClient";
18
+ var commandName = "UpdateEntityCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateEntityRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateEntityResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateEntityCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UpdateEntityCommand(input, context);
33
+ };
34
+ UpdateEntityCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UpdateEntityCommand(output, context);
36
+ };
37
+ return UpdateEntityCommand;
38
+ }($Command));
39
+ export { UpdateEntityCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateSceneRequest, UpdateSceneResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateSceneCommand, serializeAws_restJson1UpdateSceneCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateSceneCommand = (function (_super) {
7
+ __extends(UpdateSceneCommand, _super);
8
+ function UpdateSceneCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateSceneCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTTwinMakerClient";
18
+ var commandName = "UpdateSceneCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateSceneRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateSceneResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateSceneCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UpdateSceneCommand(input, context);
33
+ };
34
+ UpdateSceneCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UpdateSceneCommand(output, context);
36
+ };
37
+ return UpdateSceneCommand;
38
+ }($Command));
39
+ export { UpdateSceneCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateWorkspaceRequest, UpdateWorkspaceResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateWorkspaceCommand, serializeAws_restJson1UpdateWorkspaceCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateWorkspaceCommand = (function (_super) {
7
+ __extends(UpdateWorkspaceCommand, _super);
8
+ function UpdateWorkspaceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateWorkspaceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "IoTTwinMakerClient";
18
+ var commandName = "UpdateWorkspaceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateWorkspaceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateWorkspaceResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateWorkspaceCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UpdateWorkspaceCommand(input, context);
33
+ };
34
+ UpdateWorkspaceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UpdateWorkspaceCommand(output, context);
36
+ };
37
+ return UpdateWorkspaceCommand;
38
+ }($Command));
39
+ export { UpdateWorkspaceCommand };
@@ -0,0 +1,26 @@
1
+ export * from "./BatchPutPropertyValuesCommand";
2
+ export * from "./CreateComponentTypeCommand";
3
+ export * from "./CreateEntityCommand";
4
+ export * from "./CreateSceneCommand";
5
+ export * from "./CreateWorkspaceCommand";
6
+ export * from "./DeleteComponentTypeCommand";
7
+ export * from "./DeleteEntityCommand";
8
+ export * from "./DeleteSceneCommand";
9
+ export * from "./DeleteWorkspaceCommand";
10
+ export * from "./GetComponentTypeCommand";
11
+ export * from "./GetEntityCommand";
12
+ export * from "./GetPropertyValueCommand";
13
+ export * from "./GetPropertyValueHistoryCommand";
14
+ export * from "./GetSceneCommand";
15
+ export * from "./GetWorkspaceCommand";
16
+ export * from "./ListComponentTypesCommand";
17
+ export * from "./ListEntitiesCommand";
18
+ export * from "./ListScenesCommand";
19
+ export * from "./ListTagsForResourceCommand";
20
+ export * from "./ListWorkspacesCommand";
21
+ export * from "./TagResourceCommand";
22
+ export * from "./UntagResourceCommand";
23
+ export * from "./UpdateComponentTypeCommand";
24
+ export * from "./UpdateEntityCommand";
25
+ export * from "./UpdateSceneCommand";
26
+ export * from "./UpdateWorkspaceCommand";
@@ -0,0 +1,126 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
+ var regionHash = {};
4
+ var partitionHash = {
5
+ aws: {
6
+ regions: [
7
+ "af-south-1",
8
+ "ap-east-1",
9
+ "ap-northeast-1",
10
+ "ap-northeast-2",
11
+ "ap-northeast-3",
12
+ "ap-south-1",
13
+ "ap-southeast-1",
14
+ "ap-southeast-2",
15
+ "ca-central-1",
16
+ "eu-central-1",
17
+ "eu-north-1",
18
+ "eu-south-1",
19
+ "eu-west-1",
20
+ "eu-west-2",
21
+ "eu-west-3",
22
+ "me-south-1",
23
+ "sa-east-1",
24
+ "us-east-1",
25
+ "us-east-2",
26
+ "us-west-1",
27
+ "us-west-2",
28
+ ],
29
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
30
+ variants: [
31
+ {
32
+ hostname: "iottwinmaker.{region}.amazonaws.com",
33
+ tags: [],
34
+ },
35
+ {
36
+ hostname: "iottwinmaker-fips.{region}.amazonaws.com",
37
+ tags: ["fips"],
38
+ },
39
+ {
40
+ hostname: "iottwinmaker-fips.{region}.api.aws",
41
+ tags: ["dualstack", "fips"],
42
+ },
43
+ {
44
+ hostname: "iottwinmaker.{region}.api.aws",
45
+ tags: ["dualstack"],
46
+ },
47
+ ],
48
+ },
49
+ "aws-cn": {
50
+ regions: ["cn-north-1", "cn-northwest-1"],
51
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
52
+ variants: [
53
+ {
54
+ hostname: "iottwinmaker.{region}.amazonaws.com.cn",
55
+ tags: [],
56
+ },
57
+ {
58
+ hostname: "iottwinmaker-fips.{region}.amazonaws.com.cn",
59
+ tags: ["fips"],
60
+ },
61
+ {
62
+ hostname: "iottwinmaker-fips.{region}.api.amazonwebservices.com.cn",
63
+ tags: ["dualstack", "fips"],
64
+ },
65
+ {
66
+ hostname: "iottwinmaker.{region}.api.amazonwebservices.com.cn",
67
+ tags: ["dualstack"],
68
+ },
69
+ ],
70
+ },
71
+ "aws-iso": {
72
+ regions: ["us-iso-east-1", "us-iso-west-1"],
73
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
74
+ variants: [
75
+ {
76
+ hostname: "iottwinmaker.{region}.c2s.ic.gov",
77
+ tags: [],
78
+ },
79
+ {
80
+ hostname: "iottwinmaker-fips.{region}.c2s.ic.gov",
81
+ tags: ["fips"],
82
+ },
83
+ ],
84
+ },
85
+ "aws-iso-b": {
86
+ regions: ["us-isob-east-1"],
87
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
88
+ variants: [
89
+ {
90
+ hostname: "iottwinmaker.{region}.sc2s.sgov.gov",
91
+ tags: [],
92
+ },
93
+ {
94
+ hostname: "iottwinmaker-fips.{region}.sc2s.sgov.gov",
95
+ tags: ["fips"],
96
+ },
97
+ ],
98
+ },
99
+ "aws-us-gov": {
100
+ regions: ["us-gov-east-1", "us-gov-west-1"],
101
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
102
+ variants: [
103
+ {
104
+ hostname: "iottwinmaker.{region}.amazonaws.com",
105
+ tags: [],
106
+ },
107
+ {
108
+ hostname: "iottwinmaker-fips.{region}.amazonaws.com",
109
+ tags: ["fips"],
110
+ },
111
+ {
112
+ hostname: "iottwinmaker-fips.{region}.api.aws",
113
+ tags: ["dualstack", "fips"],
114
+ },
115
+ {
116
+ hostname: "iottwinmaker.{region}.api.aws",
117
+ tags: ["dualstack"],
118
+ },
119
+ ],
120
+ },
121
+ };
122
+ export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
123
+ return __generator(this, function (_a) {
124
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "iottwinmaker", regionHash: regionHash, partitionHash: partitionHash }))];
125
+ });
126
+ }); };
@@ -0,0 +1,5 @@
1
+ export * from "./IoTTwinMaker";
2
+ export * from "./IoTTwinMakerClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -0,0 +1 @@
1
+ export * from "./models_0";