@aws-sdk/client-iottwinmaker 3.451.0 → 3.456.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -2
- package/dist-cjs/IoTTwinMaker.js +12 -0
- package/dist-cjs/commands/CancelMetadataTransferJobCommand.js +51 -0
- package/dist-cjs/commands/CreateMetadataTransferJobCommand.js +51 -0
- package/dist-cjs/commands/GetMetadataTransferJobCommand.js +51 -0
- package/dist-cjs/commands/ListComponentsCommand.js +51 -0
- package/dist-cjs/commands/ListMetadataTransferJobsCommand.js +51 -0
- package/dist-cjs/commands/ListPropertiesCommand.js +51 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +60 -8
- package/dist-cjs/pagination/ListComponentsPaginator.js +29 -0
- package/dist-cjs/pagination/ListMetadataTransferJobsPaginator.js +29 -0
- package/dist-cjs/pagination/ListPropertiesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +570 -3
- package/dist-es/IoTTwinMaker.js +12 -0
- package/dist-es/commands/CancelMetadataTransferJobCommand.js +47 -0
- package/dist-es/commands/CreateMetadataTransferJobCommand.js +47 -0
- package/dist-es/commands/GetMetadataTransferJobCommand.js +47 -0
- package/dist-es/commands/ListComponentsCommand.js +47 -0
- package/dist-es/commands/ListMetadataTransferJobsCommand.js +47 -0
- package/dist-es/commands/ListPropertiesCommand.js +47 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +59 -7
- package/dist-es/pagination/ListComponentsPaginator.js +25 -0
- package/dist-es/pagination/ListMetadataTransferJobsPaginator.js +25 -0
- package/dist-es/pagination/ListPropertiesPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +556 -1
- package/dist-types/IoTTwinMaker.d.ts +43 -2
- package/dist-types/IoTTwinMakerClient.d.ts +9 -4
- package/dist-types/commands/BatchPutPropertyValuesCommand.d.ts +2 -0
- package/dist-types/commands/CancelMetadataTransferJobCommand.d.ts +107 -0
- package/dist-types/commands/CreateComponentTypeCommand.d.ts +5 -0
- package/dist-types/commands/CreateEntityCommand.d.ts +32 -0
- package/dist-types/commands/CreateMetadataTransferJobCommand.d.ts +153 -0
- package/dist-types/commands/CreateWorkspaceCommand.d.ts +2 -2
- package/dist-types/commands/DeleteWorkspaceCommand.d.ts +3 -1
- package/dist-types/commands/ExecuteQueryCommand.d.ts +4 -0
- package/dist-types/commands/GetComponentTypeCommand.d.ts +6 -0
- package/dist-types/commands/GetEntityCommand.d.ts +24 -0
- package/dist-types/commands/GetMetadataTransferJobCommand.d.ts +156 -0
- package/dist-types/commands/GetPropertyValueCommand.d.ts +2 -0
- package/dist-types/commands/GetPropertyValueHistoryCommand.d.ts +2 -0
- package/dist-types/commands/GetWorkspaceCommand.d.ts +5 -2
- package/dist-types/commands/ListComponentsCommand.d.ts +118 -0
- package/dist-types/commands/ListMetadataTransferJobsCommand.d.ts +116 -0
- package/dist-types/commands/ListPropertiesCommand.d.ts +167 -0
- package/dist-types/commands/ListWorkspacesCommand.d.ts +3 -0
- package/dist-types/commands/UpdateComponentTypeCommand.d.ts +5 -0
- package/dist-types/commands/UpdateEntityCommand.d.ts +33 -0
- package/dist-types/commands/UpdateWorkspaceCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/index.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +1118 -143
- package/dist-types/pagination/ListComponentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMetadataTransferJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPropertiesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/dist-types/ts3.4/IoTTwinMaker.d.ts +102 -0
- package/dist-types/ts3.4/IoTTwinMakerClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/CancelMetadataTransferJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateMetadataTransferJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetMetadataTransferJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListMetadataTransferJobsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListPropertiesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +329 -24
- package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMetadataTransferJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPropertiesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,8 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript IoTTwinMaker Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>IoT TwinMaker is a service with which you
|
|
10
|
-
can
|
|
9
|
+
<p>IoT TwinMaker is a service with which you can
|
|
11
10
|
build operational digital twins of physical systems. IoT TwinMaker overlays measurements
|
|
12
11
|
and analysis from real-world sensors, cameras, and enterprise applications so you can
|
|
13
12
|
create data visualizations to monitor your physical factory, building, or industrial plant.
|
|
@@ -216,6 +215,14 @@ BatchPutPropertyValues
|
|
|
216
215
|
|
|
217
216
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/classes/batchputpropertyvaluescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/batchputpropertyvaluescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/batchputpropertyvaluescommandoutput.html)
|
|
218
217
|
|
|
218
|
+
</details>
|
|
219
|
+
<details>
|
|
220
|
+
<summary>
|
|
221
|
+
CancelMetadataTransferJob
|
|
222
|
+
</summary>
|
|
223
|
+
|
|
224
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/classes/cancelmetadatatransferjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/cancelmetadatatransferjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/cancelmetadatatransferjobcommandoutput.html)
|
|
225
|
+
|
|
219
226
|
</details>
|
|
220
227
|
<details>
|
|
221
228
|
<summary>
|
|
@@ -232,6 +239,14 @@ CreateEntity
|
|
|
232
239
|
|
|
233
240
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/classes/createentitycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/createentitycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/createentitycommandoutput.html)
|
|
234
241
|
|
|
242
|
+
</details>
|
|
243
|
+
<details>
|
|
244
|
+
<summary>
|
|
245
|
+
CreateMetadataTransferJob
|
|
246
|
+
</summary>
|
|
247
|
+
|
|
248
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/classes/createmetadatatransferjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/createmetadatatransferjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/createmetadatatransferjobcommandoutput.html)
|
|
249
|
+
|
|
235
250
|
</details>
|
|
236
251
|
<details>
|
|
237
252
|
<summary>
|
|
@@ -320,6 +335,14 @@ GetEntity
|
|
|
320
335
|
|
|
321
336
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/classes/getentitycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/getentitycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/getentitycommandoutput.html)
|
|
322
337
|
|
|
338
|
+
</details>
|
|
339
|
+
<details>
|
|
340
|
+
<summary>
|
|
341
|
+
GetMetadataTransferJob
|
|
342
|
+
</summary>
|
|
343
|
+
|
|
344
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/classes/getmetadatatransferjobcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/getmetadatatransferjobcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/getmetadatatransferjobcommandoutput.html)
|
|
345
|
+
|
|
323
346
|
</details>
|
|
324
347
|
<details>
|
|
325
348
|
<summary>
|
|
@@ -368,6 +391,14 @@ GetWorkspace
|
|
|
368
391
|
|
|
369
392
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/classes/getworkspacecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/getworkspacecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/getworkspacecommandoutput.html)
|
|
370
393
|
|
|
394
|
+
</details>
|
|
395
|
+
<details>
|
|
396
|
+
<summary>
|
|
397
|
+
ListComponents
|
|
398
|
+
</summary>
|
|
399
|
+
|
|
400
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/classes/listcomponentscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/listcomponentscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/listcomponentscommandoutput.html)
|
|
401
|
+
|
|
371
402
|
</details>
|
|
372
403
|
<details>
|
|
373
404
|
<summary>
|
|
@@ -384,6 +415,22 @@ ListEntities
|
|
|
384
415
|
|
|
385
416
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/classes/listentitiescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/listentitiescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/listentitiescommandoutput.html)
|
|
386
417
|
|
|
418
|
+
</details>
|
|
419
|
+
<details>
|
|
420
|
+
<summary>
|
|
421
|
+
ListMetadataTransferJobs
|
|
422
|
+
</summary>
|
|
423
|
+
|
|
424
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/classes/listmetadatatransferjobscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/listmetadatatransferjobscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/listmetadatatransferjobscommandoutput.html)
|
|
425
|
+
|
|
426
|
+
</details>
|
|
427
|
+
<details>
|
|
428
|
+
<summary>
|
|
429
|
+
ListProperties
|
|
430
|
+
</summary>
|
|
431
|
+
|
|
432
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/classes/listpropertiescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/listpropertiescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-iottwinmaker/interfaces/listpropertiescommandoutput.html)
|
|
433
|
+
|
|
387
434
|
</details>
|
|
388
435
|
<details>
|
|
389
436
|
<summary>
|
package/dist-cjs/IoTTwinMaker.js
CHANGED
|
@@ -3,8 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.IoTTwinMaker = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const BatchPutPropertyValuesCommand_1 = require("./commands/BatchPutPropertyValuesCommand");
|
|
6
|
+
const CancelMetadataTransferJobCommand_1 = require("./commands/CancelMetadataTransferJobCommand");
|
|
6
7
|
const CreateComponentTypeCommand_1 = require("./commands/CreateComponentTypeCommand");
|
|
7
8
|
const CreateEntityCommand_1 = require("./commands/CreateEntityCommand");
|
|
9
|
+
const CreateMetadataTransferJobCommand_1 = require("./commands/CreateMetadataTransferJobCommand");
|
|
8
10
|
const CreateSceneCommand_1 = require("./commands/CreateSceneCommand");
|
|
9
11
|
const CreateSyncJobCommand_1 = require("./commands/CreateSyncJobCommand");
|
|
10
12
|
const CreateWorkspaceCommand_1 = require("./commands/CreateWorkspaceCommand");
|
|
@@ -16,14 +18,18 @@ const DeleteWorkspaceCommand_1 = require("./commands/DeleteWorkspaceCommand");
|
|
|
16
18
|
const ExecuteQueryCommand_1 = require("./commands/ExecuteQueryCommand");
|
|
17
19
|
const GetComponentTypeCommand_1 = require("./commands/GetComponentTypeCommand");
|
|
18
20
|
const GetEntityCommand_1 = require("./commands/GetEntityCommand");
|
|
21
|
+
const GetMetadataTransferJobCommand_1 = require("./commands/GetMetadataTransferJobCommand");
|
|
19
22
|
const GetPricingPlanCommand_1 = require("./commands/GetPricingPlanCommand");
|
|
20
23
|
const GetPropertyValueCommand_1 = require("./commands/GetPropertyValueCommand");
|
|
21
24
|
const GetPropertyValueHistoryCommand_1 = require("./commands/GetPropertyValueHistoryCommand");
|
|
22
25
|
const GetSceneCommand_1 = require("./commands/GetSceneCommand");
|
|
23
26
|
const GetSyncJobCommand_1 = require("./commands/GetSyncJobCommand");
|
|
24
27
|
const GetWorkspaceCommand_1 = require("./commands/GetWorkspaceCommand");
|
|
28
|
+
const ListComponentsCommand_1 = require("./commands/ListComponentsCommand");
|
|
25
29
|
const ListComponentTypesCommand_1 = require("./commands/ListComponentTypesCommand");
|
|
26
30
|
const ListEntitiesCommand_1 = require("./commands/ListEntitiesCommand");
|
|
31
|
+
const ListMetadataTransferJobsCommand_1 = require("./commands/ListMetadataTransferJobsCommand");
|
|
32
|
+
const ListPropertiesCommand_1 = require("./commands/ListPropertiesCommand");
|
|
27
33
|
const ListScenesCommand_1 = require("./commands/ListScenesCommand");
|
|
28
34
|
const ListSyncJobsCommand_1 = require("./commands/ListSyncJobsCommand");
|
|
29
35
|
const ListSyncResourcesCommand_1 = require("./commands/ListSyncResourcesCommand");
|
|
@@ -39,8 +45,10 @@ const UpdateWorkspaceCommand_1 = require("./commands/UpdateWorkspaceCommand");
|
|
|
39
45
|
const IoTTwinMakerClient_1 = require("./IoTTwinMakerClient");
|
|
40
46
|
const commands = {
|
|
41
47
|
BatchPutPropertyValuesCommand: BatchPutPropertyValuesCommand_1.BatchPutPropertyValuesCommand,
|
|
48
|
+
CancelMetadataTransferJobCommand: CancelMetadataTransferJobCommand_1.CancelMetadataTransferJobCommand,
|
|
42
49
|
CreateComponentTypeCommand: CreateComponentTypeCommand_1.CreateComponentTypeCommand,
|
|
43
50
|
CreateEntityCommand: CreateEntityCommand_1.CreateEntityCommand,
|
|
51
|
+
CreateMetadataTransferJobCommand: CreateMetadataTransferJobCommand_1.CreateMetadataTransferJobCommand,
|
|
44
52
|
CreateSceneCommand: CreateSceneCommand_1.CreateSceneCommand,
|
|
45
53
|
CreateSyncJobCommand: CreateSyncJobCommand_1.CreateSyncJobCommand,
|
|
46
54
|
CreateWorkspaceCommand: CreateWorkspaceCommand_1.CreateWorkspaceCommand,
|
|
@@ -52,14 +60,18 @@ const commands = {
|
|
|
52
60
|
ExecuteQueryCommand: ExecuteQueryCommand_1.ExecuteQueryCommand,
|
|
53
61
|
GetComponentTypeCommand: GetComponentTypeCommand_1.GetComponentTypeCommand,
|
|
54
62
|
GetEntityCommand: GetEntityCommand_1.GetEntityCommand,
|
|
63
|
+
GetMetadataTransferJobCommand: GetMetadataTransferJobCommand_1.GetMetadataTransferJobCommand,
|
|
55
64
|
GetPricingPlanCommand: GetPricingPlanCommand_1.GetPricingPlanCommand,
|
|
56
65
|
GetPropertyValueCommand: GetPropertyValueCommand_1.GetPropertyValueCommand,
|
|
57
66
|
GetPropertyValueHistoryCommand: GetPropertyValueHistoryCommand_1.GetPropertyValueHistoryCommand,
|
|
58
67
|
GetSceneCommand: GetSceneCommand_1.GetSceneCommand,
|
|
59
68
|
GetSyncJobCommand: GetSyncJobCommand_1.GetSyncJobCommand,
|
|
60
69
|
GetWorkspaceCommand: GetWorkspaceCommand_1.GetWorkspaceCommand,
|
|
70
|
+
ListComponentsCommand: ListComponentsCommand_1.ListComponentsCommand,
|
|
61
71
|
ListComponentTypesCommand: ListComponentTypesCommand_1.ListComponentTypesCommand,
|
|
62
72
|
ListEntitiesCommand: ListEntitiesCommand_1.ListEntitiesCommand,
|
|
73
|
+
ListMetadataTransferJobsCommand: ListMetadataTransferJobsCommand_1.ListMetadataTransferJobsCommand,
|
|
74
|
+
ListPropertiesCommand: ListPropertiesCommand_1.ListPropertiesCommand,
|
|
63
75
|
ListScenesCommand: ListScenesCommand_1.ListScenesCommand,
|
|
64
76
|
ListSyncJobsCommand: ListSyncJobsCommand_1.ListSyncJobsCommand,
|
|
65
77
|
ListSyncResourcesCommand: ListSyncResourcesCommand_1.ListSyncResourcesCommand,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CancelMetadataTransferJobCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class CancelMetadataTransferJobCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CancelMetadataTransferJobCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "IoTTwinMakerClient";
|
|
29
|
+
const commandName = "CancelMetadataTransferJobCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSIoTTwinMaker",
|
|
38
|
+
operation: "CancelMetadataTransferJob",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_CancelMetadataTransferJobCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_CancelMetadataTransferJobCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.CancelMetadataTransferJobCommand = CancelMetadataTransferJobCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateMetadataTransferJobCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class CreateMetadataTransferJobCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateMetadataTransferJobCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "IoTTwinMakerClient";
|
|
29
|
+
const commandName = "CreateMetadataTransferJobCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSIoTTwinMaker",
|
|
38
|
+
operation: "CreateMetadataTransferJob",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_CreateMetadataTransferJobCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_CreateMetadataTransferJobCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.CreateMetadataTransferJobCommand = CreateMetadataTransferJobCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetMetadataTransferJobCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetMetadataTransferJobCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetMetadataTransferJobCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "IoTTwinMakerClient";
|
|
29
|
+
const commandName = "GetMetadataTransferJobCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSIoTTwinMaker",
|
|
38
|
+
operation: "GetMetadataTransferJob",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_GetMetadataTransferJobCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetMetadataTransferJobCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetMetadataTransferJobCommand = GetMetadataTransferJobCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListComponentsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListComponentsCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListComponentsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "IoTTwinMakerClient";
|
|
29
|
+
const commandName = "ListComponentsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSIoTTwinMaker",
|
|
38
|
+
operation: "ListComponents",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListComponentsCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListComponentsCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListComponentsCommand = ListComponentsCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListMetadataTransferJobsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListMetadataTransferJobsCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListMetadataTransferJobsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "IoTTwinMakerClient";
|
|
29
|
+
const commandName = "ListMetadataTransferJobsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSIoTTwinMaker",
|
|
38
|
+
operation: "ListMetadataTransferJobs",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListMetadataTransferJobsCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListMetadataTransferJobsCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListMetadataTransferJobsCommand = ListMetadataTransferJobsCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListPropertiesCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListPropertiesCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListPropertiesCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "IoTTwinMakerClient";
|
|
29
|
+
const commandName = "ListPropertiesCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSIoTTwinMaker",
|
|
38
|
+
operation: "ListProperties",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListPropertiesCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListPropertiesCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListPropertiesCommand = ListPropertiesCommand;
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./BatchPutPropertyValuesCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CancelMetadataTransferJobCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CreateComponentTypeCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./CreateEntityCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateMetadataTransferJobCommand"), exports);
|
|
7
9
|
tslib_1.__exportStar(require("./CreateSceneCommand"), exports);
|
|
8
10
|
tslib_1.__exportStar(require("./CreateSyncJobCommand"), exports);
|
|
9
11
|
tslib_1.__exportStar(require("./CreateWorkspaceCommand"), exports);
|
|
@@ -15,6 +17,7 @@ tslib_1.__exportStar(require("./DeleteWorkspaceCommand"), exports);
|
|
|
15
17
|
tslib_1.__exportStar(require("./ExecuteQueryCommand"), exports);
|
|
16
18
|
tslib_1.__exportStar(require("./GetComponentTypeCommand"), exports);
|
|
17
19
|
tslib_1.__exportStar(require("./GetEntityCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./GetMetadataTransferJobCommand"), exports);
|
|
18
21
|
tslib_1.__exportStar(require("./GetPricingPlanCommand"), exports);
|
|
19
22
|
tslib_1.__exportStar(require("./GetPropertyValueCommand"), exports);
|
|
20
23
|
tslib_1.__exportStar(require("./GetPropertyValueHistoryCommand"), exports);
|
|
@@ -22,7 +25,10 @@ tslib_1.__exportStar(require("./GetSceneCommand"), exports);
|
|
|
22
25
|
tslib_1.__exportStar(require("./GetSyncJobCommand"), exports);
|
|
23
26
|
tslib_1.__exportStar(require("./GetWorkspaceCommand"), exports);
|
|
24
27
|
tslib_1.__exportStar(require("./ListComponentTypesCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./ListComponentsCommand"), exports);
|
|
25
29
|
tslib_1.__exportStar(require("./ListEntitiesCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./ListMetadataTransferJobsCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./ListPropertiesCommand"), exports);
|
|
26
32
|
tslib_1.__exportStar(require("./ListScenesCommand"), exports);
|
|
27
33
|
tslib_1.__exportStar(require("./ListSyncJobsCommand"), exports);
|
|
28
34
|
tslib_1.__exportStar(require("./ListSyncResourcesCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ParentEntityUpdateType = exports.ComponentUpdateType = exports.TooManyTagsException = exports.SyncResourceFilter = exports.SyncResourceState = exports.SyncResourceType = exports.ListEntitiesFilter = exports.ListComponentTypesFilter = exports.SceneErrorCode = exports.OrderByTime = exports.InterpolationType = exports.Order = exports.ConnectorTimeoutException = exports.ConnectorFailureException = exports.UpdateReason = exports.PricingMode = exports.PricingTier = exports.
|
|
3
|
+
exports.ParentEntityUpdateType = exports.ComponentUpdateType = exports.TooManyTagsException = exports.SyncResourceFilter = exports.SyncResourceState = exports.SyncResourceType = exports.ListMetadataTransferJobsFilter = exports.ListEntitiesFilter = exports.ListComponentTypesFilter = exports.SceneErrorCode = exports.OrderByTime = exports.InterpolationType = exports.Order = exports.ConnectorTimeoutException = exports.ConnectorFailureException = exports.UpdateReason = exports.PricingMode = exports.PricingTier = exports.QueryTimeoutException = exports.ColumnType = exports.SyncJobState = exports.SourceType = exports.IotTwinMakerSourceConfigurationFilter = exports.IotSiteWiseSourceConfigurationFilter = exports.DestinationType = exports.PropertyGroupUpdateType = exports.PropertyUpdateType = exports.ServiceQuotaExceededException = exports.State = exports.GroupType = exports.Type = exports.Scope = exports.ConflictException = exports.MetadataTransferJobState = exports.ErrorCode = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const IoTTwinMakerServiceException_1 = require("./IoTTwinMakerServiceException");
|
|
5
5
|
class AccessDeniedException extends IoTTwinMakerServiceException_1.IoTTwinMakerServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -67,6 +67,25 @@ class ValidationException extends IoTTwinMakerServiceException_1.IoTTwinMakerSer
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
exports.ValidationException = ValidationException;
|
|
70
|
+
exports.ErrorCode = {
|
|
71
|
+
COMPOSITE_COMPONENT_FAILURE: "COMPOSITE_COMPONENT_FAILURE",
|
|
72
|
+
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
73
|
+
PROCESSING_ERROR: "PROCESSING_ERROR",
|
|
74
|
+
SYNC_CREATING_ERROR: "SYNC_CREATING_ERROR",
|
|
75
|
+
SYNC_DELETING_ERROR: "SYNC_DELETING_ERROR",
|
|
76
|
+
SYNC_INITIALIZING_ERROR: "SYNC_INITIALIZING_ERROR",
|
|
77
|
+
SYNC_PROCESSING_ERROR: "SYNC_PROCESSING_ERROR",
|
|
78
|
+
VALIDATION_ERROR: "VALIDATION_ERROR",
|
|
79
|
+
};
|
|
80
|
+
exports.MetadataTransferJobState = {
|
|
81
|
+
CANCELLED: "CANCELLED",
|
|
82
|
+
CANCELLING: "CANCELLING",
|
|
83
|
+
COMPLETED: "COMPLETED",
|
|
84
|
+
ERROR: "ERROR",
|
|
85
|
+
PENDING: "PENDING",
|
|
86
|
+
RUNNING: "RUNNING",
|
|
87
|
+
VALIDATING: "VALIDATING",
|
|
88
|
+
};
|
|
70
89
|
class ConflictException extends IoTTwinMakerServiceException_1.IoTTwinMakerServiceException {
|
|
71
90
|
constructor(opts) {
|
|
72
91
|
super({
|
|
@@ -127,6 +146,36 @@ exports.PropertyGroupUpdateType = {
|
|
|
127
146
|
DELETE: "DELETE",
|
|
128
147
|
UPDATE: "UPDATE",
|
|
129
148
|
};
|
|
149
|
+
exports.DestinationType = {
|
|
150
|
+
IOTSITEWISE: "iotsitewise",
|
|
151
|
+
IOTTWINMAKER: "iottwinmaker",
|
|
152
|
+
S3: "s3",
|
|
153
|
+
};
|
|
154
|
+
var IotSiteWiseSourceConfigurationFilter;
|
|
155
|
+
(function (IotSiteWiseSourceConfigurationFilter) {
|
|
156
|
+
IotSiteWiseSourceConfigurationFilter.visit = (value, visitor) => {
|
|
157
|
+
if (value.filterByAssetModel !== undefined)
|
|
158
|
+
return visitor.filterByAssetModel(value.filterByAssetModel);
|
|
159
|
+
if (value.filterByAsset !== undefined)
|
|
160
|
+
return visitor.filterByAsset(value.filterByAsset);
|
|
161
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
162
|
+
};
|
|
163
|
+
})(IotSiteWiseSourceConfigurationFilter = exports.IotSiteWiseSourceConfigurationFilter || (exports.IotSiteWiseSourceConfigurationFilter = {}));
|
|
164
|
+
var IotTwinMakerSourceConfigurationFilter;
|
|
165
|
+
(function (IotTwinMakerSourceConfigurationFilter) {
|
|
166
|
+
IotTwinMakerSourceConfigurationFilter.visit = (value, visitor) => {
|
|
167
|
+
if (value.filterByComponentType !== undefined)
|
|
168
|
+
return visitor.filterByComponentType(value.filterByComponentType);
|
|
169
|
+
if (value.filterByEntity !== undefined)
|
|
170
|
+
return visitor.filterByEntity(value.filterByEntity);
|
|
171
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
172
|
+
};
|
|
173
|
+
})(IotTwinMakerSourceConfigurationFilter = exports.IotTwinMakerSourceConfigurationFilter || (exports.IotTwinMakerSourceConfigurationFilter = {}));
|
|
174
|
+
exports.SourceType = {
|
|
175
|
+
IOTSITEWISE: "iotsitewise",
|
|
176
|
+
IOTTWINMAKER: "iottwinmaker",
|
|
177
|
+
S3: "s3",
|
|
178
|
+
};
|
|
130
179
|
exports.SyncJobState = {
|
|
131
180
|
ACTIVE: "ACTIVE",
|
|
132
181
|
CREATING: "CREATING",
|
|
@@ -153,13 +202,6 @@ class QueryTimeoutException extends IoTTwinMakerServiceException_1.IoTTwinMakerS
|
|
|
153
202
|
}
|
|
154
203
|
}
|
|
155
204
|
exports.QueryTimeoutException = QueryTimeoutException;
|
|
156
|
-
exports.ErrorCode = {
|
|
157
|
-
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
158
|
-
SYNC_CREATING_ERROR: "SYNC_CREATING_ERROR",
|
|
159
|
-
SYNC_INITIALIZING_ERROR: "SYNC_INITIALIZING_ERROR",
|
|
160
|
-
SYNC_PROCESSING_ERROR: "SYNC_PROCESSING_ERROR",
|
|
161
|
-
VALIDATION_ERROR: "VALIDATION_ERROR",
|
|
162
|
-
};
|
|
163
205
|
exports.PricingTier = {
|
|
164
206
|
TIER_1: "TIER_1",
|
|
165
207
|
TIER_2: "TIER_2",
|
|
@@ -242,6 +284,16 @@ var ListEntitiesFilter;
|
|
|
242
284
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
243
285
|
};
|
|
244
286
|
})(ListEntitiesFilter = exports.ListEntitiesFilter || (exports.ListEntitiesFilter = {}));
|
|
287
|
+
var ListMetadataTransferJobsFilter;
|
|
288
|
+
(function (ListMetadataTransferJobsFilter) {
|
|
289
|
+
ListMetadataTransferJobsFilter.visit = (value, visitor) => {
|
|
290
|
+
if (value.workspaceId !== undefined)
|
|
291
|
+
return visitor.workspaceId(value.workspaceId);
|
|
292
|
+
if (value.state !== undefined)
|
|
293
|
+
return visitor.state(value.state);
|
|
294
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
295
|
+
};
|
|
296
|
+
})(ListMetadataTransferJobsFilter = exports.ListMetadataTransferJobsFilter || (exports.ListMetadataTransferJobsFilter = {}));
|
|
245
297
|
exports.SyncResourceType = {
|
|
246
298
|
COMPONENT_TYPE: "COMPONENT_TYPE",
|
|
247
299
|
ENTITY: "ENTITY",
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListComponents = void 0;
|
|
4
|
+
const ListComponentsCommand_1 = require("../commands/ListComponentsCommand");
|
|
5
|
+
const IoTTwinMakerClient_1 = require("../IoTTwinMakerClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListComponentsCommand_1.ListComponentsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListComponents(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof IoTTwinMakerClient_1.IoTTwinMakerClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListComponents = paginateListComponents;
|