@aws-sdk/client-iottwinmaker 3.928.0 → 3.930.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 (64) hide show
  1. package/dist-cjs/index.js +2060 -2730
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/IoTTwinMakerClient.js +2 -0
  4. package/dist-es/commands/BatchPutPropertyValuesCommand.js +3 -9
  5. package/dist-es/commands/CancelMetadataTransferJobCommand.js +3 -9
  6. package/dist-es/commands/CreateComponentTypeCommand.js +3 -9
  7. package/dist-es/commands/CreateEntityCommand.js +3 -9
  8. package/dist-es/commands/CreateMetadataTransferJobCommand.js +3 -9
  9. package/dist-es/commands/CreateSceneCommand.js +3 -9
  10. package/dist-es/commands/CreateSyncJobCommand.js +3 -9
  11. package/dist-es/commands/CreateWorkspaceCommand.js +3 -9
  12. package/dist-es/commands/DeleteComponentTypeCommand.js +3 -9
  13. package/dist-es/commands/DeleteEntityCommand.js +3 -9
  14. package/dist-es/commands/DeleteSceneCommand.js +3 -9
  15. package/dist-es/commands/DeleteSyncJobCommand.js +3 -9
  16. package/dist-es/commands/DeleteWorkspaceCommand.js +3 -9
  17. package/dist-es/commands/ExecuteQueryCommand.js +3 -9
  18. package/dist-es/commands/GetComponentTypeCommand.js +3 -9
  19. package/dist-es/commands/GetEntityCommand.js +3 -9
  20. package/dist-es/commands/GetMetadataTransferJobCommand.js +3 -9
  21. package/dist-es/commands/GetPricingPlanCommand.js +3 -9
  22. package/dist-es/commands/GetPropertyValueCommand.js +3 -9
  23. package/dist-es/commands/GetPropertyValueHistoryCommand.js +3 -9
  24. package/dist-es/commands/GetSceneCommand.js +3 -9
  25. package/dist-es/commands/GetSyncJobCommand.js +3 -9
  26. package/dist-es/commands/GetWorkspaceCommand.js +3 -9
  27. package/dist-es/commands/ListComponentTypesCommand.js +3 -9
  28. package/dist-es/commands/ListComponentsCommand.js +3 -9
  29. package/dist-es/commands/ListEntitiesCommand.js +3 -9
  30. package/dist-es/commands/ListMetadataTransferJobsCommand.js +3 -9
  31. package/dist-es/commands/ListPropertiesCommand.js +3 -9
  32. package/dist-es/commands/ListScenesCommand.js +3 -9
  33. package/dist-es/commands/ListSyncJobsCommand.js +3 -9
  34. package/dist-es/commands/ListSyncResourcesCommand.js +3 -9
  35. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  36. package/dist-es/commands/ListWorkspacesCommand.js +3 -9
  37. package/dist-es/commands/TagResourceCommand.js +3 -9
  38. package/dist-es/commands/UntagResourceCommand.js +3 -9
  39. package/dist-es/commands/UpdateComponentTypeCommand.js +3 -9
  40. package/dist-es/commands/UpdateEntityCommand.js +3 -9
  41. package/dist-es/commands/UpdatePricingPlanCommand.js +3 -9
  42. package/dist-es/commands/UpdateSceneCommand.js +3 -9
  43. package/dist-es/commands/UpdateWorkspaceCommand.js +3 -9
  44. package/dist-es/models/models_0.js +0 -68
  45. package/dist-es/runtimeConfig.shared.js +2 -0
  46. package/dist-es/schemas/schemas_0.js +1964 -0
  47. package/dist-types/IoTTwinMakerClient.d.ts +10 -1
  48. package/dist-types/models/models_0.d.ts +24 -6
  49. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  50. package/dist-types/runtimeConfig.d.ts +1 -0
  51. package/dist-types/runtimeConfig.native.d.ts +1 -0
  52. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  53. package/dist-types/schemas/schemas_0.d.ts +269 -0
  54. package/dist-types/ts3.4/IoTTwinMakerClient.d.ts +4 -0
  55. package/dist-types/ts3.4/models/models_0.d.ts +0 -15
  56. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  57. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  58. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  59. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  60. package/dist-types/ts3.4/schemas/schemas_0.d.ts +275 -0
  61. package/package.json +33 -33
  62. package/dist-es/protocols/Aws_restJson1.js +0 -2356
  63. package/dist-types/protocols/Aws_restJson1.d.ts +0 -362
  64. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -485
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetWorkspaceCommand, se_GetWorkspaceCommand } from "../protocols/Aws_restJson1";
4
+ import { GetWorkspace } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetWorkspaceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIoTTwinMaker", "GetWorkspace", {})
17
13
  .n("IoTTwinMakerClient", "GetWorkspaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetWorkspaceCommand)
20
- .de(de_GetWorkspaceCommand)
14
+ .sc(GetWorkspace)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListComponentTypesCommand, se_ListComponentTypesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListComponentTypes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListComponentTypesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIoTTwinMaker", "ListComponentTypes", {})
17
13
  .n("IoTTwinMakerClient", "ListComponentTypesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListComponentTypesCommand)
20
- .de(de_ListComponentTypesCommand)
14
+ .sc(ListComponentTypes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListComponentsCommand, se_ListComponentsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListComponents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListComponentsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIoTTwinMaker", "ListComponents", {})
17
13
  .n("IoTTwinMakerClient", "ListComponentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListComponentsCommand)
20
- .de(de_ListComponentsCommand)
14
+ .sc(ListComponents)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListEntitiesCommand, se_ListEntitiesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListEntities } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListEntitiesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIoTTwinMaker", "ListEntities", {})
17
13
  .n("IoTTwinMakerClient", "ListEntitiesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListEntitiesCommand)
20
- .de(de_ListEntitiesCommand)
14
+ .sc(ListEntities)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListMetadataTransferJobsCommand, se_ListMetadataTransferJobsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListMetadataTransferJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListMetadataTransferJobsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIoTTwinMaker", "ListMetadataTransferJobs", {})
17
13
  .n("IoTTwinMakerClient", "ListMetadataTransferJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListMetadataTransferJobsCommand)
20
- .de(de_ListMetadataTransferJobsCommand)
14
+ .sc(ListMetadataTransferJobs)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListPropertiesCommand, se_ListPropertiesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListProperties } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPropertiesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIoTTwinMaker", "ListProperties", {})
17
13
  .n("IoTTwinMakerClient", "ListPropertiesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPropertiesCommand)
20
- .de(de_ListPropertiesCommand)
14
+ .sc(ListProperties)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListScenesCommand, se_ListScenesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListScenes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListScenesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIoTTwinMaker", "ListScenes", {})
17
13
  .n("IoTTwinMakerClient", "ListScenesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListScenesCommand)
20
- .de(de_ListScenesCommand)
14
+ .sc(ListScenes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListSyncJobsCommand, se_ListSyncJobsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListSyncJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListSyncJobsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIoTTwinMaker", "ListSyncJobs", {})
17
13
  .n("IoTTwinMakerClient", "ListSyncJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListSyncJobsCommand)
20
- .de(de_ListSyncJobsCommand)
14
+ .sc(ListSyncJobs)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListSyncResourcesCommand, se_ListSyncResourcesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListSyncResources } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListSyncResourcesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIoTTwinMaker", "ListSyncResources", {})
17
13
  .n("IoTTwinMakerClient", "ListSyncResourcesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListSyncResourcesCommand)
20
- .de(de_ListSyncResourcesCommand)
14
+ .sc(ListSyncResources)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { ListTagsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListTagsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIoTTwinMaker", "ListTagsForResource", {})
17
13
  .n("IoTTwinMakerClient", "ListTagsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListTagsForResourceCommand)
20
- .de(de_ListTagsForResourceCommand)
14
+ .sc(ListTagsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListWorkspacesCommand, se_ListWorkspacesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListWorkspaces } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListWorkspacesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIoTTwinMaker", "ListWorkspaces", {})
17
13
  .n("IoTTwinMakerClient", "ListWorkspacesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListWorkspacesCommand)
20
- .de(de_ListWorkspacesCommand)
14
+ .sc(ListWorkspaces)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIoTTwinMaker", "TagResource", {})
17
13
  .n("IoTTwinMakerClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIoTTwinMaker", "UntagResource", {})
17
13
  .n("IoTTwinMakerClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateComponentTypeCommand, se_UpdateComponentTypeCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateComponentType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateComponentTypeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIoTTwinMaker", "UpdateComponentType", {})
17
13
  .n("IoTTwinMakerClient", "UpdateComponentTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateComponentTypeCommand)
20
- .de(de_UpdateComponentTypeCommand)
14
+ .sc(UpdateComponentType)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateEntityCommand, se_UpdateEntityCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateEntity } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateEntityCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIoTTwinMaker", "UpdateEntity", {})
17
13
  .n("IoTTwinMakerClient", "UpdateEntityCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateEntityCommand)
20
- .de(de_UpdateEntityCommand)
14
+ .sc(UpdateEntity)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdatePricingPlanCommand, se_UpdatePricingPlanCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdatePricingPlan } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdatePricingPlanCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIoTTwinMaker", "UpdatePricingPlan", {})
17
13
  .n("IoTTwinMakerClient", "UpdatePricingPlanCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdatePricingPlanCommand)
20
- .de(de_UpdatePricingPlanCommand)
14
+ .sc(UpdatePricingPlan)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateSceneCommand, se_UpdateSceneCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateScene } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateSceneCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIoTTwinMaker", "UpdateScene", {})
17
13
  .n("IoTTwinMakerClient", "UpdateSceneCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSceneCommand)
20
- .de(de_UpdateSceneCommand)
14
+ .sc(UpdateScene)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateWorkspaceCommand, se_UpdateWorkspaceCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateWorkspace } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateWorkspaceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSIoTTwinMaker", "UpdateWorkspace", {})
17
13
  .n("IoTTwinMakerClient", "UpdateWorkspaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateWorkspaceCommand)
20
- .de(de_UpdateWorkspaceCommand)
14
+ .sc(UpdateWorkspace)
21
15
  .build() {
22
16
  }
@@ -142,26 +142,6 @@ export const DestinationType = {
142
142
  IOTTWINMAKER: "iottwinmaker",
143
143
  S3: "s3",
144
144
  };
145
- export var IotSiteWiseSourceConfigurationFilter;
146
- (function (IotSiteWiseSourceConfigurationFilter) {
147
- IotSiteWiseSourceConfigurationFilter.visit = (value, visitor) => {
148
- if (value.filterByAssetModel !== undefined)
149
- return visitor.filterByAssetModel(value.filterByAssetModel);
150
- if (value.filterByAsset !== undefined)
151
- return visitor.filterByAsset(value.filterByAsset);
152
- return visitor._(value.$unknown[0], value.$unknown[1]);
153
- };
154
- })(IotSiteWiseSourceConfigurationFilter || (IotSiteWiseSourceConfigurationFilter = {}));
155
- export var IotTwinMakerSourceConfigurationFilter;
156
- (function (IotTwinMakerSourceConfigurationFilter) {
157
- IotTwinMakerSourceConfigurationFilter.visit = (value, visitor) => {
158
- if (value.filterByComponentType !== undefined)
159
- return visitor.filterByComponentType(value.filterByComponentType);
160
- if (value.filterByEntity !== undefined)
161
- return visitor.filterByEntity(value.filterByEntity);
162
- return visitor._(value.$unknown[0], value.$unknown[1]);
163
- };
164
- })(IotTwinMakerSourceConfigurationFilter || (IotTwinMakerSourceConfigurationFilter = {}));
165
145
  export const SourceType = {
166
146
  IOTSITEWISE: "iotsitewise",
167
147
  IOTTWINMAKER: "iottwinmaker",
@@ -248,40 +228,6 @@ export const OrderByTime = {
248
228
  export const SceneErrorCode = {
249
229
  MATTERPORT_ERROR: "MATTERPORT_ERROR",
250
230
  };
251
- export var ListComponentTypesFilter;
252
- (function (ListComponentTypesFilter) {
253
- ListComponentTypesFilter.visit = (value, visitor) => {
254
- if (value.extendsFrom !== undefined)
255
- return visitor.extendsFrom(value.extendsFrom);
256
- if (value.namespace !== undefined)
257
- return visitor.namespace(value.namespace);
258
- if (value.isAbstract !== undefined)
259
- return visitor.isAbstract(value.isAbstract);
260
- return visitor._(value.$unknown[0], value.$unknown[1]);
261
- };
262
- })(ListComponentTypesFilter || (ListComponentTypesFilter = {}));
263
- export var ListEntitiesFilter;
264
- (function (ListEntitiesFilter) {
265
- ListEntitiesFilter.visit = (value, visitor) => {
266
- if (value.parentEntityId !== undefined)
267
- return visitor.parentEntityId(value.parentEntityId);
268
- if (value.componentTypeId !== undefined)
269
- return visitor.componentTypeId(value.componentTypeId);
270
- if (value.externalId !== undefined)
271
- return visitor.externalId(value.externalId);
272
- return visitor._(value.$unknown[0], value.$unknown[1]);
273
- };
274
- })(ListEntitiesFilter || (ListEntitiesFilter = {}));
275
- export var ListMetadataTransferJobsFilter;
276
- (function (ListMetadataTransferJobsFilter) {
277
- ListMetadataTransferJobsFilter.visit = (value, visitor) => {
278
- if (value.workspaceId !== undefined)
279
- return visitor.workspaceId(value.workspaceId);
280
- if (value.state !== undefined)
281
- return visitor.state(value.state);
282
- return visitor._(value.$unknown[0], value.$unknown[1]);
283
- };
284
- })(ListMetadataTransferJobsFilter || (ListMetadataTransferJobsFilter = {}));
285
231
  export const SyncResourceType = {
286
232
  COMPONENT_TYPE: "COMPONENT_TYPE",
287
233
  ENTITY: "ENTITY",
@@ -293,20 +239,6 @@ export const SyncResourceState = {
293
239
  IN_SYNC: "IN_SYNC",
294
240
  PROCESSING: "PROCESSING",
295
241
  };
296
- export var SyncResourceFilter;
297
- (function (SyncResourceFilter) {
298
- SyncResourceFilter.visit = (value, visitor) => {
299
- if (value.state !== undefined)
300
- return visitor.state(value.state);
301
- if (value.resourceType !== undefined)
302
- return visitor.resourceType(value.resourceType);
303
- if (value.resourceId !== undefined)
304
- return visitor.resourceId(value.resourceId);
305
- if (value.externalId !== undefined)
306
- return visitor.externalId(value.externalId);
307
- return visitor._(value.$unknown[0], value.$unknown[1]);
308
- };
309
- })(SyncResourceFilter || (SyncResourceFilter = {}));
310
242
  export class TooManyTagsException extends __BaseException {
311
243
  name = "TooManyTagsException";
312
244
  $fault = "client";
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.iottwinmaker" }),
25
27
  serviceId: config?.serviceId ?? "IoTTwinMaker",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,