@aws-sdk/client-iottwinmaker 3.928.0 → 3.929.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 (61) hide show
  1. package/dist-cjs/index.js +2060 -2662
  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/runtimeConfig.shared.js +2 -0
  45. package/dist-es/schemas/schemas_0.js +1964 -0
  46. package/dist-types/IoTTwinMakerClient.d.ts +10 -1
  47. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  48. package/dist-types/runtimeConfig.d.ts +1 -0
  49. package/dist-types/runtimeConfig.native.d.ts +1 -0
  50. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  51. package/dist-types/schemas/schemas_0.d.ts +269 -0
  52. package/dist-types/ts3.4/IoTTwinMakerClient.d.ts +4 -0
  53. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  54. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  55. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  56. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  57. package/dist-types/ts3.4/schemas/schemas_0.d.ts +275 -0
  58. package/package.json +2 -2
  59. package/dist-es/protocols/Aws_restJson1.js +0 -2356
  60. package/dist-types/protocols/Aws_restJson1.d.ts +0 -362
  61. 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
  }
@@ -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,