@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,17 @@
1
+ import { __assign } from "tslib";
2
+ import packageInfo from "../package.json";
3
+ import { Sha256 } from "@aws-crypto/sha256-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
+ import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
+ import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
9
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ export var getRuntimeConfig = function (config) {
14
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
15
+ var clientSharedValues = getSharedRuntimeConfig(config);
16
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
17
+ };
@@ -0,0 +1,21 @@
1
+ import { __assign } from "tslib";
2
+ import packageInfo from "../package.json";
3
+ import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
+ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
+ import { Hash } from "@aws-sdk/hash-node";
7
+ import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
8
+ import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
+ import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
+ export var getRuntimeConfig = function (config) {
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
+ emitWarningIfUnsupportedVersion(process.version);
19
+ var clientSharedValues = getSharedRuntimeConfig(config);
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
+ };
@@ -0,0 +1,8 @@
1
+ import { __assign } from "tslib";
2
+ import { Sha256 } from "@aws-crypto/sha256-js";
3
+ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
4
+ export var getRuntimeConfig = function (config) {
5
+ var _a;
6
+ var browserDefaults = getBrowserRuntimeConfig(config);
7
+ return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
8
+ };
@@ -0,0 +1,13 @@
1
+ import { parseUrl } from "@aws-sdk/url-parser";
2
+ import { defaultRegionInfoProvider } from "./endpoints";
3
+ export var getRuntimeConfig = function (config) {
4
+ var _a, _b, _c, _d, _e;
5
+ return ({
6
+ apiVersion: "2021-11-29",
7
+ disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
8
+ logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {},
9
+ regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : defaultRegionInfoProvider,
10
+ serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "IoTTwinMaker",
11
+ urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
12
+ });
13
+ };
@@ -0,0 +1,206 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { BatchPutPropertyValuesCommandInput, BatchPutPropertyValuesCommandOutput } from "./commands/BatchPutPropertyValuesCommand";
3
+ import { CreateComponentTypeCommandInput, CreateComponentTypeCommandOutput } from "./commands/CreateComponentTypeCommand";
4
+ import { CreateEntityCommandInput, CreateEntityCommandOutput } from "./commands/CreateEntityCommand";
5
+ import { CreateSceneCommandInput, CreateSceneCommandOutput } from "./commands/CreateSceneCommand";
6
+ import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "./commands/CreateWorkspaceCommand";
7
+ import { DeleteComponentTypeCommandInput, DeleteComponentTypeCommandOutput } from "./commands/DeleteComponentTypeCommand";
8
+ import { DeleteEntityCommandInput, DeleteEntityCommandOutput } from "./commands/DeleteEntityCommand";
9
+ import { DeleteSceneCommandInput, DeleteSceneCommandOutput } from "./commands/DeleteSceneCommand";
10
+ import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "./commands/DeleteWorkspaceCommand";
11
+ import { GetComponentTypeCommandInput, GetComponentTypeCommandOutput } from "./commands/GetComponentTypeCommand";
12
+ import { GetEntityCommandInput, GetEntityCommandOutput } from "./commands/GetEntityCommand";
13
+ import { GetPropertyValueCommandInput, GetPropertyValueCommandOutput } from "./commands/GetPropertyValueCommand";
14
+ import { GetPropertyValueHistoryCommandInput, GetPropertyValueHistoryCommandOutput } from "./commands/GetPropertyValueHistoryCommand";
15
+ import { GetSceneCommandInput, GetSceneCommandOutput } from "./commands/GetSceneCommand";
16
+ import { GetWorkspaceCommandInput, GetWorkspaceCommandOutput } from "./commands/GetWorkspaceCommand";
17
+ import { ListComponentTypesCommandInput, ListComponentTypesCommandOutput } from "./commands/ListComponentTypesCommand";
18
+ import { ListEntitiesCommandInput, ListEntitiesCommandOutput } from "./commands/ListEntitiesCommand";
19
+ import { ListScenesCommandInput, ListScenesCommandOutput } from "./commands/ListScenesCommand";
20
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
21
+ import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "./commands/ListWorkspacesCommand";
22
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
23
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
24
+ import { UpdateComponentTypeCommandInput, UpdateComponentTypeCommandOutput } from "./commands/UpdateComponentTypeCommand";
25
+ import { UpdateEntityCommandInput, UpdateEntityCommandOutput } from "./commands/UpdateEntityCommand";
26
+ import { UpdateSceneCommandInput, UpdateSceneCommandOutput } from "./commands/UpdateSceneCommand";
27
+ import { UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput } from "./commands/UpdateWorkspaceCommand";
28
+ import { IoTTwinMakerClient } from "./IoTTwinMakerClient";
29
+ /**
30
+ * <important>
31
+ * <p>
32
+ * TwinMaker is in public preview and is subject to change.
33
+ * </p>
34
+ * </important>
35
+ * <p>IoT TwinMaker is a service that enables you to build operational digital twins of
36
+ * physical systems. IoT TwinMaker overlays measurements and analysis from real-world sensors,
37
+ * cameras, and enterprise applications so you can create data visualizations to monitor your
38
+ * physical factory, building, or industrial plant. You can use this real-world data to
39
+ * monitor operations and diagnose and repair errors.</p>
40
+ */
41
+ export declare class IoTTwinMaker extends IoTTwinMakerClient {
42
+ /**
43
+ * <p>Sets values for multiple time series properties.</p>
44
+ */
45
+ batchPutPropertyValues(args: BatchPutPropertyValuesCommandInput, options?: __HttpHandlerOptions): Promise<BatchPutPropertyValuesCommandOutput>;
46
+ batchPutPropertyValues(args: BatchPutPropertyValuesCommandInput, cb: (err: any, data?: BatchPutPropertyValuesCommandOutput) => void): void;
47
+ batchPutPropertyValues(args: BatchPutPropertyValuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchPutPropertyValuesCommandOutput) => void): void;
48
+ /**
49
+ * <p>Creates a component type.</p>
50
+ * <important>
51
+ * <p>
52
+ * TwinMaker is in public preview and is subject to change.
53
+ * </p>
54
+ * </important>
55
+ */
56
+ createComponentType(args: CreateComponentTypeCommandInput, options?: __HttpHandlerOptions): Promise<CreateComponentTypeCommandOutput>;
57
+ createComponentType(args: CreateComponentTypeCommandInput, cb: (err: any, data?: CreateComponentTypeCommandOutput) => void): void;
58
+ createComponentType(args: CreateComponentTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateComponentTypeCommandOutput) => void): void;
59
+ /**
60
+ * <p>Creates an entity.</p>
61
+ */
62
+ createEntity(args: CreateEntityCommandInput, options?: __HttpHandlerOptions): Promise<CreateEntityCommandOutput>;
63
+ createEntity(args: CreateEntityCommandInput, cb: (err: any, data?: CreateEntityCommandOutput) => void): void;
64
+ createEntity(args: CreateEntityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEntityCommandOutput) => void): void;
65
+ /**
66
+ * <p>Creates a scene.</p>
67
+ */
68
+ createScene(args: CreateSceneCommandInput, options?: __HttpHandlerOptions): Promise<CreateSceneCommandOutput>;
69
+ createScene(args: CreateSceneCommandInput, cb: (err: any, data?: CreateSceneCommandOutput) => void): void;
70
+ createScene(args: CreateSceneCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSceneCommandOutput) => void): void;
71
+ /**
72
+ * <p>Creates a workplace.</p>
73
+ */
74
+ createWorkspace(args: CreateWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkspaceCommandOutput>;
75
+ createWorkspace(args: CreateWorkspaceCommandInput, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
76
+ createWorkspace(args: CreateWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
77
+ /**
78
+ * <p>Deletes a component type.</p>
79
+ */
80
+ deleteComponentType(args: DeleteComponentTypeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteComponentTypeCommandOutput>;
81
+ deleteComponentType(args: DeleteComponentTypeCommandInput, cb: (err: any, data?: DeleteComponentTypeCommandOutput) => void): void;
82
+ deleteComponentType(args: DeleteComponentTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteComponentTypeCommandOutput) => void): void;
83
+ /**
84
+ * <p>Deletes an entity.</p>
85
+ */
86
+ deleteEntity(args: DeleteEntityCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEntityCommandOutput>;
87
+ deleteEntity(args: DeleteEntityCommandInput, cb: (err: any, data?: DeleteEntityCommandOutput) => void): void;
88
+ deleteEntity(args: DeleteEntityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEntityCommandOutput) => void): void;
89
+ /**
90
+ * <p>Deletes a scene.</p>
91
+ */
92
+ deleteScene(args: DeleteSceneCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSceneCommandOutput>;
93
+ deleteScene(args: DeleteSceneCommandInput, cb: (err: any, data?: DeleteSceneCommandOutput) => void): void;
94
+ deleteScene(args: DeleteSceneCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSceneCommandOutput) => void): void;
95
+ /**
96
+ * <p>Deletes a workspace.</p>
97
+ */
98
+ deleteWorkspace(args: DeleteWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkspaceCommandOutput>;
99
+ deleteWorkspace(args: DeleteWorkspaceCommandInput, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
100
+ deleteWorkspace(args: DeleteWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
101
+ /**
102
+ * <p>Retrieves information about a component type.</p>
103
+ */
104
+ getComponentType(args: GetComponentTypeCommandInput, options?: __HttpHandlerOptions): Promise<GetComponentTypeCommandOutput>;
105
+ getComponentType(args: GetComponentTypeCommandInput, cb: (err: any, data?: GetComponentTypeCommandOutput) => void): void;
106
+ getComponentType(args: GetComponentTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetComponentTypeCommandOutput) => void): void;
107
+ /**
108
+ * <p>Retrieves information about an entity.</p>
109
+ */
110
+ getEntity(args: GetEntityCommandInput, options?: __HttpHandlerOptions): Promise<GetEntityCommandOutput>;
111
+ getEntity(args: GetEntityCommandInput, cb: (err: any, data?: GetEntityCommandOutput) => void): void;
112
+ getEntity(args: GetEntityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEntityCommandOutput) => void): void;
113
+ /**
114
+ * <p>Gets the property values for a component, component type, entity, or workspace.</p>
115
+ * <p>You must specify a value for either <code>componentName</code>, <code>componentTypeId</code>, <code>entityId</code>, or <code>workspaceId</code>.</p>
116
+ */
117
+ getPropertyValue(args: GetPropertyValueCommandInput, options?: __HttpHandlerOptions): Promise<GetPropertyValueCommandOutput>;
118
+ getPropertyValue(args: GetPropertyValueCommandInput, cb: (err: any, data?: GetPropertyValueCommandOutput) => void): void;
119
+ getPropertyValue(args: GetPropertyValueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPropertyValueCommandOutput) => void): void;
120
+ /**
121
+ * <p>Retrieves information about the history of a time series property value for a component, component type, entity, or workspace.</p>
122
+ * <p>You must specify a value for <code>workspaceId</code>. For entity-specific queries, specify values for <code>componentName</code> and
123
+ * <code>entityId</code>. For cross-entity quries, specify a value for <code>componentTypeId</code>.</p>
124
+ */
125
+ getPropertyValueHistory(args: GetPropertyValueHistoryCommandInput, options?: __HttpHandlerOptions): Promise<GetPropertyValueHistoryCommandOutput>;
126
+ getPropertyValueHistory(args: GetPropertyValueHistoryCommandInput, cb: (err: any, data?: GetPropertyValueHistoryCommandOutput) => void): void;
127
+ getPropertyValueHistory(args: GetPropertyValueHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPropertyValueHistoryCommandOutput) => void): void;
128
+ /**
129
+ * <p>Retrieves information about a scene.</p>
130
+ */
131
+ getScene(args: GetSceneCommandInput, options?: __HttpHandlerOptions): Promise<GetSceneCommandOutput>;
132
+ getScene(args: GetSceneCommandInput, cb: (err: any, data?: GetSceneCommandOutput) => void): void;
133
+ getScene(args: GetSceneCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSceneCommandOutput) => void): void;
134
+ /**
135
+ * <p>Retrieves information about a workspace.</p>
136
+ */
137
+ getWorkspace(args: GetWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkspaceCommandOutput>;
138
+ getWorkspace(args: GetWorkspaceCommandInput, cb: (err: any, data?: GetWorkspaceCommandOutput) => void): void;
139
+ getWorkspace(args: GetWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkspaceCommandOutput) => void): void;
140
+ /**
141
+ * <p>Lists all component types in a workspace.</p>
142
+ */
143
+ listComponentTypes(args: ListComponentTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListComponentTypesCommandOutput>;
144
+ listComponentTypes(args: ListComponentTypesCommandInput, cb: (err: any, data?: ListComponentTypesCommandOutput) => void): void;
145
+ listComponentTypes(args: ListComponentTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListComponentTypesCommandOutput) => void): void;
146
+ /**
147
+ * <p>Lists all entities in a workspace.</p>
148
+ */
149
+ listEntities(args: ListEntitiesCommandInput, options?: __HttpHandlerOptions): Promise<ListEntitiesCommandOutput>;
150
+ listEntities(args: ListEntitiesCommandInput, cb: (err: any, data?: ListEntitiesCommandOutput) => void): void;
151
+ listEntities(args: ListEntitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEntitiesCommandOutput) => void): void;
152
+ /**
153
+ * <p>Lists all scenes in a workspace.</p>
154
+ */
155
+ listScenes(args: ListScenesCommandInput, options?: __HttpHandlerOptions): Promise<ListScenesCommandOutput>;
156
+ listScenes(args: ListScenesCommandInput, cb: (err: any, data?: ListScenesCommandOutput) => void): void;
157
+ listScenes(args: ListScenesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListScenesCommandOutput) => void): void;
158
+ /**
159
+ * <p>Lists all tags associated with a resource.</p>
160
+ */
161
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
162
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
163
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
164
+ /**
165
+ * <p>Retrieves information about workspaces in the current account.</p>
166
+ */
167
+ listWorkspaces(args: ListWorkspacesCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkspacesCommandOutput>;
168
+ listWorkspaces(args: ListWorkspacesCommandInput, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void;
169
+ listWorkspaces(args: ListWorkspacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void;
170
+ /**
171
+ * <p>Adds tags to a resource.</p>
172
+ */
173
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
174
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
175
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
176
+ /**
177
+ * <p>Removes tags from a resource.</p>
178
+ */
179
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
180
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
181
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
182
+ /**
183
+ * <p>Updates information in a component type.</p>
184
+ */
185
+ updateComponentType(args: UpdateComponentTypeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateComponentTypeCommandOutput>;
186
+ updateComponentType(args: UpdateComponentTypeCommandInput, cb: (err: any, data?: UpdateComponentTypeCommandOutput) => void): void;
187
+ updateComponentType(args: UpdateComponentTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateComponentTypeCommandOutput) => void): void;
188
+ /**
189
+ * <p>Updates an entity.</p>
190
+ */
191
+ updateEntity(args: UpdateEntityCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEntityCommandOutput>;
192
+ updateEntity(args: UpdateEntityCommandInput, cb: (err: any, data?: UpdateEntityCommandOutput) => void): void;
193
+ updateEntity(args: UpdateEntityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEntityCommandOutput) => void): void;
194
+ /**
195
+ * <p>Updates a scene.</p>
196
+ */
197
+ updateScene(args: UpdateSceneCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSceneCommandOutput>;
198
+ updateScene(args: UpdateSceneCommandInput, cb: (err: any, data?: UpdateSceneCommandOutput) => void): void;
199
+ updateScene(args: UpdateSceneCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSceneCommandOutput) => void): void;
200
+ /**
201
+ * <p>Updates a workspace.</p>
202
+ */
203
+ updateWorkspace(args: UpdateWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkspaceCommandOutput>;
204
+ updateWorkspace(args: UpdateWorkspaceCommandInput, cb: (err: any, data?: UpdateWorkspaceCommandOutput) => void): void;
205
+ updateWorkspace(args: UpdateWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkspaceCommandOutput) => void): void;
206
+ }
@@ -0,0 +1,175 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { BatchPutPropertyValuesCommandInput, BatchPutPropertyValuesCommandOutput } from "./commands/BatchPutPropertyValuesCommand";
10
+ import { CreateComponentTypeCommandInput, CreateComponentTypeCommandOutput } from "./commands/CreateComponentTypeCommand";
11
+ import { CreateEntityCommandInput, CreateEntityCommandOutput } from "./commands/CreateEntityCommand";
12
+ import { CreateSceneCommandInput, CreateSceneCommandOutput } from "./commands/CreateSceneCommand";
13
+ import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "./commands/CreateWorkspaceCommand";
14
+ import { DeleteComponentTypeCommandInput, DeleteComponentTypeCommandOutput } from "./commands/DeleteComponentTypeCommand";
15
+ import { DeleteEntityCommandInput, DeleteEntityCommandOutput } from "./commands/DeleteEntityCommand";
16
+ import { DeleteSceneCommandInput, DeleteSceneCommandOutput } from "./commands/DeleteSceneCommand";
17
+ import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "./commands/DeleteWorkspaceCommand";
18
+ import { GetComponentTypeCommandInput, GetComponentTypeCommandOutput } from "./commands/GetComponentTypeCommand";
19
+ import { GetEntityCommandInput, GetEntityCommandOutput } from "./commands/GetEntityCommand";
20
+ import { GetPropertyValueCommandInput, GetPropertyValueCommandOutput } from "./commands/GetPropertyValueCommand";
21
+ import { GetPropertyValueHistoryCommandInput, GetPropertyValueHistoryCommandOutput } from "./commands/GetPropertyValueHistoryCommand";
22
+ import { GetSceneCommandInput, GetSceneCommandOutput } from "./commands/GetSceneCommand";
23
+ import { GetWorkspaceCommandInput, GetWorkspaceCommandOutput } from "./commands/GetWorkspaceCommand";
24
+ import { ListComponentTypesCommandInput, ListComponentTypesCommandOutput } from "./commands/ListComponentTypesCommand";
25
+ import { ListEntitiesCommandInput, ListEntitiesCommandOutput } from "./commands/ListEntitiesCommand";
26
+ import { ListScenesCommandInput, ListScenesCommandOutput } from "./commands/ListScenesCommand";
27
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
28
+ import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "./commands/ListWorkspacesCommand";
29
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
30
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
31
+ import { UpdateComponentTypeCommandInput, UpdateComponentTypeCommandOutput } from "./commands/UpdateComponentTypeCommand";
32
+ import { UpdateEntityCommandInput, UpdateEntityCommandOutput } from "./commands/UpdateEntityCommand";
33
+ import { UpdateSceneCommandInput, UpdateSceneCommandOutput } from "./commands/UpdateSceneCommand";
34
+ import { UpdateWorkspaceCommandInput, UpdateWorkspaceCommandOutput } from "./commands/UpdateWorkspaceCommand";
35
+ export declare type ServiceInputTypes = BatchPutPropertyValuesCommandInput | CreateComponentTypeCommandInput | CreateEntityCommandInput | CreateSceneCommandInput | CreateWorkspaceCommandInput | DeleteComponentTypeCommandInput | DeleteEntityCommandInput | DeleteSceneCommandInput | DeleteWorkspaceCommandInput | GetComponentTypeCommandInput | GetEntityCommandInput | GetPropertyValueCommandInput | GetPropertyValueHistoryCommandInput | GetSceneCommandInput | GetWorkspaceCommandInput | ListComponentTypesCommandInput | ListEntitiesCommandInput | ListScenesCommandInput | ListTagsForResourceCommandInput | ListWorkspacesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateComponentTypeCommandInput | UpdateEntityCommandInput | UpdateSceneCommandInput | UpdateWorkspaceCommandInput;
36
+ export declare type ServiceOutputTypes = BatchPutPropertyValuesCommandOutput | CreateComponentTypeCommandOutput | CreateEntityCommandOutput | CreateSceneCommandOutput | CreateWorkspaceCommandOutput | DeleteComponentTypeCommandOutput | DeleteEntityCommandOutput | DeleteSceneCommandOutput | DeleteWorkspaceCommandOutput | GetComponentTypeCommandOutput | GetEntityCommandOutput | GetPropertyValueCommandOutput | GetPropertyValueHistoryCommandOutput | GetSceneCommandOutput | GetWorkspaceCommandOutput | ListComponentTypesCommandOutput | ListEntitiesCommandOutput | ListScenesCommandOutput | ListTagsForResourceCommandOutput | ListWorkspacesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateComponentTypeCommandOutput | UpdateEntityCommandOutput | UpdateSceneCommandOutput | UpdateWorkspaceCommandOutput;
37
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
38
+ /**
39
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
40
+ */
41
+ requestHandler?: __HttpHandler;
42
+ /**
43
+ * A constructor for a class implementing the {@link __Hash} interface
44
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
45
+ * @internal
46
+ */
47
+ sha256?: __HashConstructor;
48
+ /**
49
+ * The function that will be used to convert strings into HTTP endpoints.
50
+ * @internal
51
+ */
52
+ urlParser?: __UrlParser;
53
+ /**
54
+ * A function that can calculate the length of a request body.
55
+ * @internal
56
+ */
57
+ bodyLengthChecker?: (body: any) => number | undefined;
58
+ /**
59
+ * A function that converts a stream into an array of bytes.
60
+ * @internal
61
+ */
62
+ streamCollector?: __StreamCollector;
63
+ /**
64
+ * The function that will be used to convert a base64-encoded string to a byte array.
65
+ * @internal
66
+ */
67
+ base64Decoder?: __Decoder;
68
+ /**
69
+ * The function that will be used to convert binary data to a base64-encoded string.
70
+ * @internal
71
+ */
72
+ base64Encoder?: __Encoder;
73
+ /**
74
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
75
+ * @internal
76
+ */
77
+ utf8Decoder?: __Decoder;
78
+ /**
79
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
80
+ * @internal
81
+ */
82
+ utf8Encoder?: __Encoder;
83
+ /**
84
+ * The runtime environment.
85
+ * @internal
86
+ */
87
+ runtime?: string;
88
+ /**
89
+ * Disable dyanamically changing the endpoint of the client based on the hostPrefix
90
+ * trait of an operation.
91
+ */
92
+ disableHostPrefix?: boolean;
93
+ /**
94
+ * Value for how many times a request will be made at most in case of retry.
95
+ */
96
+ maxAttempts?: number | __Provider<number>;
97
+ /**
98
+ * Specifies which retry algorithm to use.
99
+ */
100
+ retryMode?: string | __Provider<string>;
101
+ /**
102
+ * Optional logger for logging debug/info/warn/error.
103
+ */
104
+ logger?: __Logger;
105
+ /**
106
+ * Enables IPv6/IPv4 dualstack endpoint.
107
+ */
108
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
109
+ /**
110
+ * Enables FIPS compatible endpoints.
111
+ */
112
+ useFipsEndpoint?: boolean | __Provider<boolean>;
113
+ /**
114
+ * Unique service identifier.
115
+ * @internal
116
+ */
117
+ serviceId?: string;
118
+ /**
119
+ * The AWS region to which this client will send requests
120
+ */
121
+ region?: string | __Provider<string>;
122
+ /**
123
+ * Default credentials provider; Not available in browser runtime.
124
+ * @internal
125
+ */
126
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
127
+ /**
128
+ * Fetch related hostname, signing name or signing region with given region.
129
+ * @internal
130
+ */
131
+ regionInfoProvider?: RegionInfoProvider;
132
+ /**
133
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
134
+ * @internal
135
+ */
136
+ defaultUserAgentProvider?: Provider<__UserAgent>;
137
+ }
138
+ declare type IoTTwinMakerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
139
+ /**
140
+ * The configuration interface of IoTTwinMakerClient class constructor that set the region, credentials and other options.
141
+ */
142
+ export interface IoTTwinMakerClientConfig extends IoTTwinMakerClientConfigType {
143
+ }
144
+ declare type IoTTwinMakerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
145
+ /**
146
+ * The resolved configuration interface of IoTTwinMakerClient class. This is resolved and normalized from the {@link IoTTwinMakerClientConfig | constructor configuration interface}.
147
+ */
148
+ export interface IoTTwinMakerClientResolvedConfig extends IoTTwinMakerClientResolvedConfigType {
149
+ }
150
+ /**
151
+ * <important>
152
+ * <p>
153
+ * TwinMaker is in public preview and is subject to change.
154
+ * </p>
155
+ * </important>
156
+ * <p>IoT TwinMaker is a service that enables you to build operational digital twins of
157
+ * physical systems. IoT TwinMaker overlays measurements and analysis from real-world sensors,
158
+ * cameras, and enterprise applications so you can create data visualizations to monitor your
159
+ * physical factory, building, or industrial plant. You can use this real-world data to
160
+ * monitor operations and diagnose and repair errors.</p>
161
+ */
162
+ export declare class IoTTwinMakerClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, IoTTwinMakerClientResolvedConfig> {
163
+ /**
164
+ * The resolved configuration of IoTTwinMakerClient class. This is resolved and normalized from the {@link IoTTwinMakerClientConfig | constructor configuration interface}.
165
+ */
166
+ readonly config: IoTTwinMakerClientResolvedConfig;
167
+ constructor(configuration: IoTTwinMakerClientConfig);
168
+ /**
169
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
170
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
171
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
172
+ */
173
+ destroy(): void;
174
+ }
175
+ export {};
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { IoTTwinMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTTwinMakerClient";
4
+ import { BatchPutPropertyValuesRequest, BatchPutPropertyValuesResponse } from "../models/models_0";
5
+ export interface BatchPutPropertyValuesCommandInput extends BatchPutPropertyValuesRequest {
6
+ }
7
+ export interface BatchPutPropertyValuesCommandOutput extends BatchPutPropertyValuesResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Sets values for multiple time series properties.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { IoTTwinMakerClient, BatchPutPropertyValuesCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
15
+ * // const { IoTTwinMakerClient, BatchPutPropertyValuesCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
16
+ * const client = new IoTTwinMakerClient(config);
17
+ * const command = new BatchPutPropertyValuesCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link BatchPutPropertyValuesCommandInput} for command's `input` shape.
22
+ * @see {@link BatchPutPropertyValuesCommandOutput} for command's `response` shape.
23
+ * @see {@link IoTTwinMakerClientResolvedConfig | config} for IoTTwinMakerClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class BatchPutPropertyValuesCommand extends $Command<BatchPutPropertyValuesCommandInput, BatchPutPropertyValuesCommandOutput, IoTTwinMakerClientResolvedConfig> {
27
+ readonly input: BatchPutPropertyValuesCommandInput;
28
+ constructor(input: BatchPutPropertyValuesCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTTwinMakerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchPutPropertyValuesCommandInput, BatchPutPropertyValuesCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { IoTTwinMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTTwinMakerClient";
4
+ import { CreateComponentTypeRequest, CreateComponentTypeResponse } from "../models/models_0";
5
+ export interface CreateComponentTypeCommandInput extends CreateComponentTypeRequest {
6
+ }
7
+ export interface CreateComponentTypeCommandOutput extends CreateComponentTypeResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Creates a component type.</p>
11
+ * <important>
12
+ * <p>
13
+ * TwinMaker is in public preview and is subject to change.
14
+ * </p>
15
+ * </important>
16
+ * @example
17
+ * Use a bare-bones client and the command you need to make an API call.
18
+ * ```javascript
19
+ * import { IoTTwinMakerClient, CreateComponentTypeCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
20
+ * // const { IoTTwinMakerClient, CreateComponentTypeCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
21
+ * const client = new IoTTwinMakerClient(config);
22
+ * const command = new CreateComponentTypeCommand(input);
23
+ * const response = await client.send(command);
24
+ * ```
25
+ *
26
+ * @see {@link CreateComponentTypeCommandInput} for command's `input` shape.
27
+ * @see {@link CreateComponentTypeCommandOutput} for command's `response` shape.
28
+ * @see {@link IoTTwinMakerClientResolvedConfig | config} for IoTTwinMakerClient's `config` shape.
29
+ *
30
+ */
31
+ export declare class CreateComponentTypeCommand extends $Command<CreateComponentTypeCommandInput, CreateComponentTypeCommandOutput, IoTTwinMakerClientResolvedConfig> {
32
+ readonly input: CreateComponentTypeCommandInput;
33
+ constructor(input: CreateComponentTypeCommandInput);
34
+ /**
35
+ * @internal
36
+ */
37
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTTwinMakerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateComponentTypeCommandInput, CreateComponentTypeCommandOutput>;
38
+ private serialize;
39
+ private deserialize;
40
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { IoTTwinMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTTwinMakerClient";
4
+ import { CreateEntityRequest, CreateEntityResponse } from "../models/models_0";
5
+ export interface CreateEntityCommandInput extends CreateEntityRequest {
6
+ }
7
+ export interface CreateEntityCommandOutput extends CreateEntityResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Creates an entity.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { IoTTwinMakerClient, CreateEntityCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
15
+ * // const { IoTTwinMakerClient, CreateEntityCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
16
+ * const client = new IoTTwinMakerClient(config);
17
+ * const command = new CreateEntityCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link CreateEntityCommandInput} for command's `input` shape.
22
+ * @see {@link CreateEntityCommandOutput} for command's `response` shape.
23
+ * @see {@link IoTTwinMakerClientResolvedConfig | config} for IoTTwinMakerClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class CreateEntityCommand extends $Command<CreateEntityCommandInput, CreateEntityCommandOutput, IoTTwinMakerClientResolvedConfig> {
27
+ readonly input: CreateEntityCommandInput;
28
+ constructor(input: CreateEntityCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTTwinMakerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateEntityCommandInput, CreateEntityCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { IoTTwinMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTTwinMakerClient";
4
+ import { CreateSceneRequest, CreateSceneResponse } from "../models/models_0";
5
+ export interface CreateSceneCommandInput extends CreateSceneRequest {
6
+ }
7
+ export interface CreateSceneCommandOutput extends CreateSceneResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Creates a scene.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { IoTTwinMakerClient, CreateSceneCommand } from "@aws-sdk/client-iottwinmaker"; // ES Modules import
15
+ * // const { IoTTwinMakerClient, CreateSceneCommand } = require("@aws-sdk/client-iottwinmaker"); // CommonJS import
16
+ * const client = new IoTTwinMakerClient(config);
17
+ * const command = new CreateSceneCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link CreateSceneCommandInput} for command's `input` shape.
22
+ * @see {@link CreateSceneCommandOutput} for command's `response` shape.
23
+ * @see {@link IoTTwinMakerClientResolvedConfig | config} for IoTTwinMakerClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class CreateSceneCommand extends $Command<CreateSceneCommandInput, CreateSceneCommandOutput, IoTTwinMakerClientResolvedConfig> {
27
+ readonly input: CreateSceneCommandInput;
28
+ constructor(input: CreateSceneCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTTwinMakerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSceneCommandInput, CreateSceneCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }