@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.
- package/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +212 -0
- package/dist-cjs/IoTTwinMaker.js +397 -0
- package/dist-cjs/IoTTwinMakerClient.js +35 -0
- package/dist-cjs/commands/BatchPutPropertyValuesCommand.js +36 -0
- package/dist-cjs/commands/CreateComponentTypeCommand.js +36 -0
- package/dist-cjs/commands/CreateEntityCommand.js +36 -0
- package/dist-cjs/commands/CreateSceneCommand.js +36 -0
- package/dist-cjs/commands/CreateWorkspaceCommand.js +36 -0
- package/dist-cjs/commands/DeleteComponentTypeCommand.js +36 -0
- package/dist-cjs/commands/DeleteEntityCommand.js +36 -0
- package/dist-cjs/commands/DeleteSceneCommand.js +36 -0
- package/dist-cjs/commands/DeleteWorkspaceCommand.js +36 -0
- package/dist-cjs/commands/GetComponentTypeCommand.js +36 -0
- package/dist-cjs/commands/GetEntityCommand.js +36 -0
- package/dist-cjs/commands/GetPropertyValueCommand.js +36 -0
- package/dist-cjs/commands/GetPropertyValueHistoryCommand.js +36 -0
- package/dist-cjs/commands/GetSceneCommand.js +36 -0
- package/dist-cjs/commands/GetWorkspaceCommand.js +36 -0
- package/dist-cjs/commands/ListComponentTypesCommand.js +36 -0
- package/dist-cjs/commands/ListEntitiesCommand.js +36 -0
- package/dist-cjs/commands/ListScenesCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/ListWorkspacesCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateComponentTypeCommand.js +36 -0
- package/dist-cjs/commands/UpdateEntityCommand.js +36 -0
- package/dist-cjs/commands/UpdateSceneCommand.js +36 -0
- package/dist-cjs/commands/UpdateWorkspaceCommand.js +36 -0
- package/dist-cjs/commands/index.js +29 -0
- package/dist-cjs/endpoints.js +130 -0
- package/dist-cjs/index.js +8 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +659 -0
- package/dist-cjs/pagination/GetPropertyValueHistoryPaginator.js +35 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListComponentTypesPaginator.js +35 -0
- package/dist-cjs/pagination/ListEntitiesPaginator.js +35 -0
- package/dist-cjs/pagination/ListScenesPaginator.js +35 -0
- package/dist-cjs/pagination/ListWorkspacesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +4460 -0
- package/dist-cjs/runtimeConfig.browser.js +40 -0
- package/dist-cjs/runtimeConfig.js +44 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/IoTTwinMaker.js +400 -0
- package/dist-es/IoTTwinMakerClient.js +37 -0
- package/dist-es/commands/BatchPutPropertyValuesCommand.js +39 -0
- package/dist-es/commands/CreateComponentTypeCommand.js +39 -0
- package/dist-es/commands/CreateEntityCommand.js +39 -0
- package/dist-es/commands/CreateSceneCommand.js +39 -0
- package/dist-es/commands/CreateWorkspaceCommand.js +39 -0
- package/dist-es/commands/DeleteComponentTypeCommand.js +39 -0
- package/dist-es/commands/DeleteEntityCommand.js +39 -0
- package/dist-es/commands/DeleteSceneCommand.js +39 -0
- package/dist-es/commands/DeleteWorkspaceCommand.js +39 -0
- package/dist-es/commands/GetComponentTypeCommand.js +39 -0
- package/dist-es/commands/GetEntityCommand.js +39 -0
- package/dist-es/commands/GetPropertyValueCommand.js +39 -0
- package/dist-es/commands/GetPropertyValueHistoryCommand.js +39 -0
- package/dist-es/commands/GetSceneCommand.js +39 -0
- package/dist-es/commands/GetWorkspaceCommand.js +39 -0
- package/dist-es/commands/ListComponentTypesCommand.js +39 -0
- package/dist-es/commands/ListEntitiesCommand.js +39 -0
- package/dist-es/commands/ListScenesCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/ListWorkspacesCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateComponentTypeCommand.js +39 -0
- package/dist-es/commands/UpdateEntityCommand.js +39 -0
- package/dist-es/commands/UpdateSceneCommand.js +39 -0
- package/dist-es/commands/UpdateWorkspaceCommand.js +39 -0
- package/dist-es/commands/index.js +26 -0
- package/dist-es/endpoints.js +126 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +469 -0
- package/dist-es/pagination/GetPropertyValueHistoryPaginator.js +74 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListComponentTypesPaginator.js +74 -0
- package/dist-es/pagination/ListEntitiesPaginator.js +74 -0
- package/dist-es/pagination/ListScenesPaginator.js +74 -0
- package/dist-es/pagination/ListWorkspacesPaginator.js +74 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +4853 -0
- package/dist-es/runtimeConfig.browser.js +17 -0
- package/dist-es/runtimeConfig.js +21 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/IoTTwinMaker.d.ts +206 -0
- package/dist-types/IoTTwinMakerClient.d.ts +175 -0
- package/dist-types/commands/BatchPutPropertyValuesCommand.d.ts +35 -0
- package/dist-types/commands/CreateComponentTypeCommand.d.ts +40 -0
- package/dist-types/commands/CreateEntityCommand.d.ts +35 -0
- package/dist-types/commands/CreateSceneCommand.d.ts +35 -0
- package/dist-types/commands/CreateWorkspaceCommand.d.ts +35 -0
- package/dist-types/commands/DeleteComponentTypeCommand.d.ts +35 -0
- package/dist-types/commands/DeleteEntityCommand.d.ts +35 -0
- package/dist-types/commands/DeleteSceneCommand.d.ts +35 -0
- package/dist-types/commands/DeleteWorkspaceCommand.d.ts +35 -0
- package/dist-types/commands/GetComponentTypeCommand.d.ts +35 -0
- package/dist-types/commands/GetEntityCommand.d.ts +35 -0
- package/dist-types/commands/GetPropertyValueCommand.d.ts +36 -0
- package/dist-types/commands/GetPropertyValueHistoryCommand.d.ts +37 -0
- package/dist-types/commands/GetSceneCommand.d.ts +35 -0
- package/dist-types/commands/GetWorkspaceCommand.d.ts +35 -0
- package/dist-types/commands/ListComponentTypesCommand.d.ts +35 -0
- package/dist-types/commands/ListEntitiesCommand.d.ts +35 -0
- package/dist-types/commands/ListScenesCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/ListWorkspacesCommand.d.ts +35 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateComponentTypeCommand.d.ts +35 -0
- package/dist-types/commands/UpdateEntityCommand.d.ts +35 -0
- package/dist-types/commands/UpdateSceneCommand.d.ts +35 -0
- package/dist-types/commands/UpdateWorkspaceCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +26 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2269 -0
- package/dist-types/pagination/GetPropertyValueHistoryPaginator.d.ts +4 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListComponentTypesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListEntitiesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListScenesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListWorkspacesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +80 -0
- package/dist-types/runtimeConfig.browser.d.ts +39 -0
- package/dist-types/runtimeConfig.d.ts +39 -0
- package/dist-types/runtimeConfig.native.d.ts +38 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/IoTTwinMaker.d.ts +135 -0
- package/dist-types/ts3.4/IoTTwinMakerClient.d.ts +97 -0
- package/dist-types/ts3.4/commands/BatchPutPropertyValuesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateComponentTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateEntityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateSceneCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteComponentTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteEntityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSceneCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetComponentTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetEntityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPropertyValueCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPropertyValueHistoryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSceneCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetWorkspaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListComponentTypesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEntitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListScenesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateComponentTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateEntityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSceneCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateWorkspaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +26 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1382 -0
- package/dist-types/ts3.4/pagination/GetPropertyValueHistoryPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListComponentTypesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListEntitiesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListScenesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListWorkspacesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +80 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +94 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateEntityCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdateEntityCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IoTTwinMakerClient";
|
|
18
|
+
const commandName = "UpdateEntityCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateEntityRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UpdateEntityResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1UpdateEntityCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1UpdateEntityCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateEntityCommand = UpdateEntityCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateSceneCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdateSceneCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IoTTwinMakerClient";
|
|
18
|
+
const commandName = "UpdateSceneCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateSceneRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UpdateSceneResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1UpdateSceneCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1UpdateSceneCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateSceneCommand = UpdateSceneCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateWorkspaceCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdateWorkspaceCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IoTTwinMakerClient";
|
|
18
|
+
const commandName = "UpdateWorkspaceCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateWorkspaceRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UpdateWorkspaceResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1UpdateWorkspaceCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1UpdateWorkspaceCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateWorkspaceCommand = UpdateWorkspaceCommand;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./BatchPutPropertyValuesCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CreateComponentTypeCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateEntityCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateSceneCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateWorkspaceCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./DeleteComponentTypeCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./DeleteEntityCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./DeleteSceneCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./DeleteWorkspaceCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./GetComponentTypeCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./GetEntityCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./GetPropertyValueCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./GetPropertyValueHistoryCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./GetSceneCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./GetWorkspaceCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./ListComponentTypesCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./ListEntitiesCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./ListScenesCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./ListWorkspacesCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./UpdateComponentTypeCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./UpdateEntityCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./UpdateSceneCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./UpdateWorkspaceCommand"), exports);
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultRegionInfoProvider = void 0;
|
|
4
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
+
const regionHash = {};
|
|
6
|
+
const partitionHash = {
|
|
7
|
+
aws: {
|
|
8
|
+
regions: [
|
|
9
|
+
"af-south-1",
|
|
10
|
+
"ap-east-1",
|
|
11
|
+
"ap-northeast-1",
|
|
12
|
+
"ap-northeast-2",
|
|
13
|
+
"ap-northeast-3",
|
|
14
|
+
"ap-south-1",
|
|
15
|
+
"ap-southeast-1",
|
|
16
|
+
"ap-southeast-2",
|
|
17
|
+
"ca-central-1",
|
|
18
|
+
"eu-central-1",
|
|
19
|
+
"eu-north-1",
|
|
20
|
+
"eu-south-1",
|
|
21
|
+
"eu-west-1",
|
|
22
|
+
"eu-west-2",
|
|
23
|
+
"eu-west-3",
|
|
24
|
+
"me-south-1",
|
|
25
|
+
"sa-east-1",
|
|
26
|
+
"us-east-1",
|
|
27
|
+
"us-east-2",
|
|
28
|
+
"us-west-1",
|
|
29
|
+
"us-west-2",
|
|
30
|
+
],
|
|
31
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
32
|
+
variants: [
|
|
33
|
+
{
|
|
34
|
+
hostname: "iottwinmaker.{region}.amazonaws.com",
|
|
35
|
+
tags: [],
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
hostname: "iottwinmaker-fips.{region}.amazonaws.com",
|
|
39
|
+
tags: ["fips"],
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
hostname: "iottwinmaker-fips.{region}.api.aws",
|
|
43
|
+
tags: ["dualstack", "fips"],
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
hostname: "iottwinmaker.{region}.api.aws",
|
|
47
|
+
tags: ["dualstack"],
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
},
|
|
51
|
+
"aws-cn": {
|
|
52
|
+
regions: ["cn-north-1", "cn-northwest-1"],
|
|
53
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
54
|
+
variants: [
|
|
55
|
+
{
|
|
56
|
+
hostname: "iottwinmaker.{region}.amazonaws.com.cn",
|
|
57
|
+
tags: [],
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
hostname: "iottwinmaker-fips.{region}.amazonaws.com.cn",
|
|
61
|
+
tags: ["fips"],
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
hostname: "iottwinmaker-fips.{region}.api.amazonwebservices.com.cn",
|
|
65
|
+
tags: ["dualstack", "fips"],
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
hostname: "iottwinmaker.{region}.api.amazonwebservices.com.cn",
|
|
69
|
+
tags: ["dualstack"],
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
},
|
|
73
|
+
"aws-iso": {
|
|
74
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
75
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
76
|
+
variants: [
|
|
77
|
+
{
|
|
78
|
+
hostname: "iottwinmaker.{region}.c2s.ic.gov",
|
|
79
|
+
tags: [],
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
hostname: "iottwinmaker-fips.{region}.c2s.ic.gov",
|
|
83
|
+
tags: ["fips"],
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
},
|
|
87
|
+
"aws-iso-b": {
|
|
88
|
+
regions: ["us-isob-east-1"],
|
|
89
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
90
|
+
variants: [
|
|
91
|
+
{
|
|
92
|
+
hostname: "iottwinmaker.{region}.sc2s.sgov.gov",
|
|
93
|
+
tags: [],
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
hostname: "iottwinmaker-fips.{region}.sc2s.sgov.gov",
|
|
97
|
+
tags: ["fips"],
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
},
|
|
101
|
+
"aws-us-gov": {
|
|
102
|
+
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
103
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
104
|
+
variants: [
|
|
105
|
+
{
|
|
106
|
+
hostname: "iottwinmaker.{region}.amazonaws.com",
|
|
107
|
+
tags: [],
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
hostname: "iottwinmaker-fips.{region}.amazonaws.com",
|
|
111
|
+
tags: ["fips"],
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
hostname: "iottwinmaker-fips.{region}.api.aws",
|
|
115
|
+
tags: ["dualstack", "fips"],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
hostname: "iottwinmaker.{region}.api.aws",
|
|
119
|
+
tags: ["dualstack"],
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
},
|
|
123
|
+
};
|
|
124
|
+
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
125
|
+
...options,
|
|
126
|
+
signingService: "iottwinmaker",
|
|
127
|
+
regionHash,
|
|
128
|
+
partitionHash,
|
|
129
|
+
});
|
|
130
|
+
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./IoTTwinMaker"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./IoTTwinMakerClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|