@aws-sdk/client-iottwinmaker 3.454.0 → 3.458.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 (76) hide show
  1. package/README.md +83 -36
  2. package/dist-cjs/IoTTwinMaker.js +12 -0
  3. package/dist-cjs/commands/CancelMetadataTransferJobCommand.js +51 -0
  4. package/dist-cjs/commands/CreateMetadataTransferJobCommand.js +51 -0
  5. package/dist-cjs/commands/GetMetadataTransferJobCommand.js +51 -0
  6. package/dist-cjs/commands/ListComponentsCommand.js +51 -0
  7. package/dist-cjs/commands/ListMetadataTransferJobsCommand.js +51 -0
  8. package/dist-cjs/commands/ListPropertiesCommand.js +51 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/models/models_0.js +60 -8
  11. package/dist-cjs/pagination/ListComponentsPaginator.js +29 -0
  12. package/dist-cjs/pagination/ListMetadataTransferJobsPaginator.js +29 -0
  13. package/dist-cjs/pagination/ListPropertiesPaginator.js +29 -0
  14. package/dist-cjs/pagination/index.js +3 -0
  15. package/dist-cjs/protocols/Aws_restJson1.js +570 -3
  16. package/dist-es/IoTTwinMaker.js +12 -0
  17. package/dist-es/commands/CancelMetadataTransferJobCommand.js +47 -0
  18. package/dist-es/commands/CreateMetadataTransferJobCommand.js +47 -0
  19. package/dist-es/commands/GetMetadataTransferJobCommand.js +47 -0
  20. package/dist-es/commands/ListComponentsCommand.js +47 -0
  21. package/dist-es/commands/ListMetadataTransferJobsCommand.js +47 -0
  22. package/dist-es/commands/ListPropertiesCommand.js +47 -0
  23. package/dist-es/commands/index.js +6 -0
  24. package/dist-es/models/models_0.js +59 -7
  25. package/dist-es/pagination/ListComponentsPaginator.js +25 -0
  26. package/dist-es/pagination/ListMetadataTransferJobsPaginator.js +25 -0
  27. package/dist-es/pagination/ListPropertiesPaginator.js +25 -0
  28. package/dist-es/pagination/index.js +3 -0
  29. package/dist-es/protocols/Aws_restJson1.js +556 -1
  30. package/dist-types/IoTTwinMaker.d.ts +43 -2
  31. package/dist-types/IoTTwinMakerClient.d.ts +9 -4
  32. package/dist-types/commands/BatchPutPropertyValuesCommand.d.ts +2 -0
  33. package/dist-types/commands/CancelMetadataTransferJobCommand.d.ts +107 -0
  34. package/dist-types/commands/CreateComponentTypeCommand.d.ts +5 -0
  35. package/dist-types/commands/CreateEntityCommand.d.ts +32 -0
  36. package/dist-types/commands/CreateMetadataTransferJobCommand.d.ts +153 -0
  37. package/dist-types/commands/CreateWorkspaceCommand.d.ts +2 -2
  38. package/dist-types/commands/DeleteWorkspaceCommand.d.ts +3 -1
  39. package/dist-types/commands/ExecuteQueryCommand.d.ts +4 -0
  40. package/dist-types/commands/GetComponentTypeCommand.d.ts +6 -0
  41. package/dist-types/commands/GetEntityCommand.d.ts +24 -0
  42. package/dist-types/commands/GetMetadataTransferJobCommand.d.ts +156 -0
  43. package/dist-types/commands/GetPropertyValueCommand.d.ts +2 -0
  44. package/dist-types/commands/GetPropertyValueHistoryCommand.d.ts +2 -0
  45. package/dist-types/commands/GetWorkspaceCommand.d.ts +5 -2
  46. package/dist-types/commands/ListComponentsCommand.d.ts +118 -0
  47. package/dist-types/commands/ListMetadataTransferJobsCommand.d.ts +116 -0
  48. package/dist-types/commands/ListPropertiesCommand.d.ts +167 -0
  49. package/dist-types/commands/ListWorkspacesCommand.d.ts +3 -0
  50. package/dist-types/commands/UpdateComponentTypeCommand.d.ts +5 -0
  51. package/dist-types/commands/UpdateEntityCommand.d.ts +33 -0
  52. package/dist-types/commands/UpdateWorkspaceCommand.d.ts +1 -0
  53. package/dist-types/commands/index.d.ts +6 -0
  54. package/dist-types/index.d.ts +1 -2
  55. package/dist-types/models/models_0.d.ts +1118 -143
  56. package/dist-types/pagination/ListComponentsPaginator.d.ts +7 -0
  57. package/dist-types/pagination/ListMetadataTransferJobsPaginator.d.ts +7 -0
  58. package/dist-types/pagination/ListPropertiesPaginator.d.ts +7 -0
  59. package/dist-types/pagination/index.d.ts +3 -0
  60. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  61. package/dist-types/ts3.4/IoTTwinMaker.d.ts +102 -0
  62. package/dist-types/ts3.4/IoTTwinMakerClient.d.ts +36 -0
  63. package/dist-types/ts3.4/commands/CancelMetadataTransferJobCommand.d.ts +42 -0
  64. package/dist-types/ts3.4/commands/CreateMetadataTransferJobCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/GetMetadataTransferJobCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +38 -0
  67. package/dist-types/ts3.4/commands/ListMetadataTransferJobsCommand.d.ts +42 -0
  68. package/dist-types/ts3.4/commands/ListPropertiesCommand.d.ts +38 -0
  69. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  70. package/dist-types/ts3.4/models/models_0.d.ts +329 -24
  71. package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +11 -0
  72. package/dist-types/ts3.4/pagination/ListMetadataTransferJobsPaginator.d.ts +11 -0
  73. package/dist-types/ts3.4/pagination/ListPropertiesPaginator.d.ts +11 -0
  74. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  75. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  76. package/package.json +3 -3
@@ -1,7 +1,9 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { BatchPutPropertyValuesCommand, } from "./commands/BatchPutPropertyValuesCommand";
3
+ import { CancelMetadataTransferJobCommand, } from "./commands/CancelMetadataTransferJobCommand";
3
4
  import { CreateComponentTypeCommand, } from "./commands/CreateComponentTypeCommand";
4
5
  import { CreateEntityCommand, } from "./commands/CreateEntityCommand";
6
+ import { CreateMetadataTransferJobCommand, } from "./commands/CreateMetadataTransferJobCommand";
5
7
  import { CreateSceneCommand } from "./commands/CreateSceneCommand";
6
8
  import { CreateSyncJobCommand, } from "./commands/CreateSyncJobCommand";
7
9
  import { CreateWorkspaceCommand, } from "./commands/CreateWorkspaceCommand";
@@ -13,14 +15,18 @@ import { DeleteWorkspaceCommand, } from "./commands/DeleteWorkspaceCommand";
13
15
  import { ExecuteQueryCommand, } from "./commands/ExecuteQueryCommand";
14
16
  import { GetComponentTypeCommand, } from "./commands/GetComponentTypeCommand";
15
17
  import { GetEntityCommand } from "./commands/GetEntityCommand";
18
+ import { GetMetadataTransferJobCommand, } from "./commands/GetMetadataTransferJobCommand";
16
19
  import { GetPricingPlanCommand, } from "./commands/GetPricingPlanCommand";
17
20
  import { GetPropertyValueCommand, } from "./commands/GetPropertyValueCommand";
18
21
  import { GetPropertyValueHistoryCommand, } from "./commands/GetPropertyValueHistoryCommand";
19
22
  import { GetSceneCommand } from "./commands/GetSceneCommand";
20
23
  import { GetSyncJobCommand } from "./commands/GetSyncJobCommand";
21
24
  import { GetWorkspaceCommand, } from "./commands/GetWorkspaceCommand";
25
+ import { ListComponentsCommand, } from "./commands/ListComponentsCommand";
22
26
  import { ListComponentTypesCommand, } from "./commands/ListComponentTypesCommand";
23
27
  import { ListEntitiesCommand, } from "./commands/ListEntitiesCommand";
28
+ import { ListMetadataTransferJobsCommand, } from "./commands/ListMetadataTransferJobsCommand";
29
+ import { ListPropertiesCommand, } from "./commands/ListPropertiesCommand";
24
30
  import { ListScenesCommand } from "./commands/ListScenesCommand";
25
31
  import { ListSyncJobsCommand, } from "./commands/ListSyncJobsCommand";
26
32
  import { ListSyncResourcesCommand, } from "./commands/ListSyncResourcesCommand";
@@ -36,8 +42,10 @@ import { UpdateWorkspaceCommand, } from "./commands/UpdateWorkspaceCommand";
36
42
  import { IoTTwinMakerClient } from "./IoTTwinMakerClient";
37
43
  const commands = {
38
44
  BatchPutPropertyValuesCommand,
45
+ CancelMetadataTransferJobCommand,
39
46
  CreateComponentTypeCommand,
40
47
  CreateEntityCommand,
48
+ CreateMetadataTransferJobCommand,
41
49
  CreateSceneCommand,
42
50
  CreateSyncJobCommand,
43
51
  CreateWorkspaceCommand,
@@ -49,14 +57,18 @@ const commands = {
49
57
  ExecuteQueryCommand,
50
58
  GetComponentTypeCommand,
51
59
  GetEntityCommand,
60
+ GetMetadataTransferJobCommand,
52
61
  GetPricingPlanCommand,
53
62
  GetPropertyValueCommand,
54
63
  GetPropertyValueHistoryCommand,
55
64
  GetSceneCommand,
56
65
  GetSyncJobCommand,
57
66
  GetWorkspaceCommand,
67
+ ListComponentsCommand,
58
68
  ListComponentTypesCommand,
59
69
  ListEntitiesCommand,
70
+ ListMetadataTransferJobsCommand,
71
+ ListPropertiesCommand,
60
72
  ListScenesCommand,
61
73
  ListSyncJobsCommand,
62
74
  ListSyncResourcesCommand,
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_CancelMetadataTransferJobCommand, se_CancelMetadataTransferJobCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CancelMetadataTransferJobCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, CancelMetadataTransferJobCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "IoTTwinMakerClient";
26
+ const commandName = "CancelMetadataTransferJobCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSIoTTwinMaker",
35
+ operation: "CancelMetadataTransferJob",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_CancelMetadataTransferJobCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_CancelMetadataTransferJobCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_CreateMetadataTransferJobCommand, se_CreateMetadataTransferJobCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateMetadataTransferJobCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateMetadataTransferJobCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "IoTTwinMakerClient";
26
+ const commandName = "CreateMetadataTransferJobCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSIoTTwinMaker",
35
+ operation: "CreateMetadataTransferJob",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_CreateMetadataTransferJobCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_CreateMetadataTransferJobCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_GetMetadataTransferJobCommand, se_GetMetadataTransferJobCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetMetadataTransferJobCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetMetadataTransferJobCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "IoTTwinMakerClient";
26
+ const commandName = "GetMetadataTransferJobCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSIoTTwinMaker",
35
+ operation: "GetMetadataTransferJob",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_GetMetadataTransferJobCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_GetMetadataTransferJobCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_ListComponentsCommand, se_ListComponentsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListComponentsCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListComponentsCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "IoTTwinMakerClient";
26
+ const commandName = "ListComponentsCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSIoTTwinMaker",
35
+ operation: "ListComponents",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_ListComponentsCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_ListComponentsCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_ListMetadataTransferJobsCommand, se_ListMetadataTransferJobsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListMetadataTransferJobsCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListMetadataTransferJobsCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "IoTTwinMakerClient";
26
+ const commandName = "ListMetadataTransferJobsCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSIoTTwinMaker",
35
+ operation: "ListMetadataTransferJobs",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_ListMetadataTransferJobsCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_ListMetadataTransferJobsCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_ListPropertiesCommand, se_ListPropertiesCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListPropertiesCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListPropertiesCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "IoTTwinMakerClient";
26
+ const commandName = "ListPropertiesCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AWSIoTTwinMaker",
35
+ operation: "ListProperties",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_ListPropertiesCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_ListPropertiesCommand(output, context);
46
+ }
47
+ }
@@ -1,6 +1,8 @@
1
1
  export * from "./BatchPutPropertyValuesCommand";
2
+ export * from "./CancelMetadataTransferJobCommand";
2
3
  export * from "./CreateComponentTypeCommand";
3
4
  export * from "./CreateEntityCommand";
5
+ export * from "./CreateMetadataTransferJobCommand";
4
6
  export * from "./CreateSceneCommand";
5
7
  export * from "./CreateSyncJobCommand";
6
8
  export * from "./CreateWorkspaceCommand";
@@ -12,6 +14,7 @@ export * from "./DeleteWorkspaceCommand";
12
14
  export * from "./ExecuteQueryCommand";
13
15
  export * from "./GetComponentTypeCommand";
14
16
  export * from "./GetEntityCommand";
17
+ export * from "./GetMetadataTransferJobCommand";
15
18
  export * from "./GetPricingPlanCommand";
16
19
  export * from "./GetPropertyValueCommand";
17
20
  export * from "./GetPropertyValueHistoryCommand";
@@ -19,7 +22,10 @@ export * from "./GetSceneCommand";
19
22
  export * from "./GetSyncJobCommand";
20
23
  export * from "./GetWorkspaceCommand";
21
24
  export * from "./ListComponentTypesCommand";
25
+ export * from "./ListComponentsCommand";
22
26
  export * from "./ListEntitiesCommand";
27
+ export * from "./ListMetadataTransferJobsCommand";
28
+ export * from "./ListPropertiesCommand";
23
29
  export * from "./ListScenesCommand";
24
30
  export * from "./ListSyncJobsCommand";
25
31
  export * from "./ListSyncResourcesCommand";
@@ -59,6 +59,25 @@ export class ValidationException extends __BaseException {
59
59
  Object.setPrototypeOf(this, ValidationException.prototype);
60
60
  }
61
61
  }
62
+ export const ErrorCode = {
63
+ COMPOSITE_COMPONENT_FAILURE: "COMPOSITE_COMPONENT_FAILURE",
64
+ INTERNAL_FAILURE: "INTERNAL_FAILURE",
65
+ PROCESSING_ERROR: "PROCESSING_ERROR",
66
+ SYNC_CREATING_ERROR: "SYNC_CREATING_ERROR",
67
+ SYNC_DELETING_ERROR: "SYNC_DELETING_ERROR",
68
+ SYNC_INITIALIZING_ERROR: "SYNC_INITIALIZING_ERROR",
69
+ SYNC_PROCESSING_ERROR: "SYNC_PROCESSING_ERROR",
70
+ VALIDATION_ERROR: "VALIDATION_ERROR",
71
+ };
72
+ export const MetadataTransferJobState = {
73
+ CANCELLED: "CANCELLED",
74
+ CANCELLING: "CANCELLING",
75
+ COMPLETED: "COMPLETED",
76
+ ERROR: "ERROR",
77
+ PENDING: "PENDING",
78
+ RUNNING: "RUNNING",
79
+ VALIDATING: "VALIDATING",
80
+ };
62
81
  export class ConflictException extends __BaseException {
63
82
  constructor(opts) {
64
83
  super({
@@ -117,6 +136,36 @@ export const PropertyGroupUpdateType = {
117
136
  DELETE: "DELETE",
118
137
  UPDATE: "UPDATE",
119
138
  };
139
+ export const DestinationType = {
140
+ IOTSITEWISE: "iotsitewise",
141
+ IOTTWINMAKER: "iottwinmaker",
142
+ S3: "s3",
143
+ };
144
+ export var IotSiteWiseSourceConfigurationFilter;
145
+ (function (IotSiteWiseSourceConfigurationFilter) {
146
+ IotSiteWiseSourceConfigurationFilter.visit = (value, visitor) => {
147
+ if (value.filterByAssetModel !== undefined)
148
+ return visitor.filterByAssetModel(value.filterByAssetModel);
149
+ if (value.filterByAsset !== undefined)
150
+ return visitor.filterByAsset(value.filterByAsset);
151
+ return visitor._(value.$unknown[0], value.$unknown[1]);
152
+ };
153
+ })(IotSiteWiseSourceConfigurationFilter || (IotSiteWiseSourceConfigurationFilter = {}));
154
+ export var IotTwinMakerSourceConfigurationFilter;
155
+ (function (IotTwinMakerSourceConfigurationFilter) {
156
+ IotTwinMakerSourceConfigurationFilter.visit = (value, visitor) => {
157
+ if (value.filterByComponentType !== undefined)
158
+ return visitor.filterByComponentType(value.filterByComponentType);
159
+ if (value.filterByEntity !== undefined)
160
+ return visitor.filterByEntity(value.filterByEntity);
161
+ return visitor._(value.$unknown[0], value.$unknown[1]);
162
+ };
163
+ })(IotTwinMakerSourceConfigurationFilter || (IotTwinMakerSourceConfigurationFilter = {}));
164
+ export const SourceType = {
165
+ IOTSITEWISE: "iotsitewise",
166
+ IOTTWINMAKER: "iottwinmaker",
167
+ S3: "s3",
168
+ };
120
169
  export const SyncJobState = {
121
170
  ACTIVE: "ACTIVE",
122
171
  CREATING: "CREATING",
@@ -142,13 +191,6 @@ export class QueryTimeoutException extends __BaseException {
142
191
  Object.setPrototypeOf(this, QueryTimeoutException.prototype);
143
192
  }
144
193
  }
145
- export const ErrorCode = {
146
- INTERNAL_FAILURE: "INTERNAL_FAILURE",
147
- SYNC_CREATING_ERROR: "SYNC_CREATING_ERROR",
148
- SYNC_INITIALIZING_ERROR: "SYNC_INITIALIZING_ERROR",
149
- SYNC_PROCESSING_ERROR: "SYNC_PROCESSING_ERROR",
150
- VALIDATION_ERROR: "VALIDATION_ERROR",
151
- };
152
194
  export const PricingTier = {
153
195
  TIER_1: "TIER_1",
154
196
  TIER_2: "TIER_2",
@@ -229,6 +271,16 @@ export var ListEntitiesFilter;
229
271
  return visitor._(value.$unknown[0], value.$unknown[1]);
230
272
  };
231
273
  })(ListEntitiesFilter || (ListEntitiesFilter = {}));
274
+ export var ListMetadataTransferJobsFilter;
275
+ (function (ListMetadataTransferJobsFilter) {
276
+ ListMetadataTransferJobsFilter.visit = (value, visitor) => {
277
+ if (value.workspaceId !== undefined)
278
+ return visitor.workspaceId(value.workspaceId);
279
+ if (value.state !== undefined)
280
+ return visitor.state(value.state);
281
+ return visitor._(value.$unknown[0], value.$unknown[1]);
282
+ };
283
+ })(ListMetadataTransferJobsFilter || (ListMetadataTransferJobsFilter = {}));
232
284
  export const SyncResourceType = {
233
285
  COMPONENT_TYPE: "COMPONENT_TYPE",
234
286
  ENTITY: "ENTITY",
@@ -0,0 +1,25 @@
1
+ import { ListComponentsCommand, } from "../commands/ListComponentsCommand";
2
+ import { IoTTwinMakerClient } from "../IoTTwinMakerClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListComponentsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListComponents(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.nextToken = token;
12
+ input["maxResults"] = config.pageSize;
13
+ if (config.client instanceof IoTTwinMakerClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.nextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { ListMetadataTransferJobsCommand, } from "../commands/ListMetadataTransferJobsCommand";
2
+ import { IoTTwinMakerClient } from "../IoTTwinMakerClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListMetadataTransferJobsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListMetadataTransferJobs(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.nextToken = token;
12
+ input["maxResults"] = config.pageSize;
13
+ if (config.client instanceof IoTTwinMakerClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.nextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { ListPropertiesCommand, } from "../commands/ListPropertiesCommand";
2
+ import { IoTTwinMakerClient } from "../IoTTwinMakerClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListPropertiesCommand(input), ...args);
5
+ };
6
+ export async function* paginateListProperties(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.nextToken = token;
12
+ input["maxResults"] = config.pageSize;
13
+ if (config.client instanceof IoTTwinMakerClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected IoTTwinMaker | IoTTwinMakerClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.nextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -3,7 +3,10 @@ export * from "./GetPropertyValueHistoryPaginator";
3
3
  export * from "./GetPropertyValuePaginator";
4
4
  export * from "./Interfaces";
5
5
  export * from "./ListComponentTypesPaginator";
6
+ export * from "./ListComponentsPaginator";
6
7
  export * from "./ListEntitiesPaginator";
8
+ export * from "./ListMetadataTransferJobsPaginator";
9
+ export * from "./ListPropertiesPaginator";
7
10
  export * from "./ListScenesPaginator";
8
11
  export * from "./ListSyncJobsPaginator";
9
12
  export * from "./ListSyncResourcesPaginator";