@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
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.iottwinmaker" }),
28
30
  serviceId: config?.serviceId ?? "IoTTwinMaker",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class IoTTwinMakerClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -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_BatchPutPropertyValuesCommand, se_BatchPutPropertyValuesCommand } from "../protocols/Aws_restJson1";
4
+ import { BatchPutPropertyValues } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchPutPropertyValuesCommand 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", "BatchPutPropertyValues", {})
17
13
  .n("IoTTwinMakerClient", "BatchPutPropertyValuesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchPutPropertyValuesCommand)
20
- .de(de_BatchPutPropertyValuesCommand)
14
+ .sc(BatchPutPropertyValues)
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_CancelMetadataTransferJobCommand, se_CancelMetadataTransferJobCommand } from "../protocols/Aws_restJson1";
4
+ import { CancelMetadataTransferJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelMetadataTransferJobCommand 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", "CancelMetadataTransferJob", {})
17
13
  .n("IoTTwinMakerClient", "CancelMetadataTransferJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelMetadataTransferJobCommand)
20
- .de(de_CancelMetadataTransferJobCommand)
14
+ .sc(CancelMetadataTransferJob)
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_CreateComponentTypeCommand, se_CreateComponentTypeCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateComponentType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateComponentTypeCommand 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", "CreateComponentType", {})
17
13
  .n("IoTTwinMakerClient", "CreateComponentTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateComponentTypeCommand)
20
- .de(de_CreateComponentTypeCommand)
14
+ .sc(CreateComponentType)
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_CreateEntityCommand, se_CreateEntityCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateEntity } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateEntityCommand 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", "CreateEntity", {})
17
13
  .n("IoTTwinMakerClient", "CreateEntityCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateEntityCommand)
20
- .de(de_CreateEntityCommand)
14
+ .sc(CreateEntity)
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_CreateMetadataTransferJobCommand, se_CreateMetadataTransferJobCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateMetadataTransferJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateMetadataTransferJobCommand 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", "CreateMetadataTransferJob", {})
17
13
  .n("IoTTwinMakerClient", "CreateMetadataTransferJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateMetadataTransferJobCommand)
20
- .de(de_CreateMetadataTransferJobCommand)
14
+ .sc(CreateMetadataTransferJob)
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_CreateSceneCommand, se_CreateSceneCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateScene } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSceneCommand 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", "CreateScene", {})
17
13
  .n("IoTTwinMakerClient", "CreateSceneCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSceneCommand)
20
- .de(de_CreateSceneCommand)
14
+ .sc(CreateScene)
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_CreateSyncJobCommand, se_CreateSyncJobCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateSyncJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSyncJobCommand 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", "CreateSyncJob", {})
17
13
  .n("IoTTwinMakerClient", "CreateSyncJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSyncJobCommand)
20
- .de(de_CreateSyncJobCommand)
14
+ .sc(CreateSyncJob)
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_CreateWorkspaceCommand, se_CreateWorkspaceCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateWorkspace } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateWorkspaceCommand 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", "CreateWorkspace", {})
17
13
  .n("IoTTwinMakerClient", "CreateWorkspaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateWorkspaceCommand)
20
- .de(de_CreateWorkspaceCommand)
14
+ .sc(CreateWorkspace)
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_DeleteComponentTypeCommand, se_DeleteComponentTypeCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteComponentType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteComponentTypeCommand 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", "DeleteComponentType", {})
17
13
  .n("IoTTwinMakerClient", "DeleteComponentTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteComponentTypeCommand)
20
- .de(de_DeleteComponentTypeCommand)
14
+ .sc(DeleteComponentType)
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_DeleteEntityCommand, se_DeleteEntityCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteEntity } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteEntityCommand 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", "DeleteEntity", {})
17
13
  .n("IoTTwinMakerClient", "DeleteEntityCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteEntityCommand)
20
- .de(de_DeleteEntityCommand)
14
+ .sc(DeleteEntity)
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_DeleteSceneCommand, se_DeleteSceneCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteScene } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteSceneCommand 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", "DeleteScene", {})
17
13
  .n("IoTTwinMakerClient", "DeleteSceneCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteSceneCommand)
20
- .de(de_DeleteSceneCommand)
14
+ .sc(DeleteScene)
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_DeleteSyncJobCommand, se_DeleteSyncJobCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteSyncJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteSyncJobCommand 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", "DeleteSyncJob", {})
17
13
  .n("IoTTwinMakerClient", "DeleteSyncJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteSyncJobCommand)
20
- .de(de_DeleteSyncJobCommand)
14
+ .sc(DeleteSyncJob)
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_DeleteWorkspaceCommand, se_DeleteWorkspaceCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteWorkspace } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteWorkspaceCommand 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", "DeleteWorkspace", {})
17
13
  .n("IoTTwinMakerClient", "DeleteWorkspaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteWorkspaceCommand)
20
- .de(de_DeleteWorkspaceCommand)
14
+ .sc(DeleteWorkspace)
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_ExecuteQueryCommand, se_ExecuteQueryCommand } from "../protocols/Aws_restJson1";
4
+ import { ExecuteQuery } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ExecuteQueryCommand 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", "ExecuteQuery", {})
17
13
  .n("IoTTwinMakerClient", "ExecuteQueryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ExecuteQueryCommand)
20
- .de(de_ExecuteQueryCommand)
14
+ .sc(ExecuteQuery)
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_GetComponentTypeCommand, se_GetComponentTypeCommand } from "../protocols/Aws_restJson1";
4
+ import { GetComponentType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetComponentTypeCommand 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", "GetComponentType", {})
17
13
  .n("IoTTwinMakerClient", "GetComponentTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetComponentTypeCommand)
20
- .de(de_GetComponentTypeCommand)
14
+ .sc(GetComponentType)
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_GetEntityCommand, se_GetEntityCommand } from "../protocols/Aws_restJson1";
4
+ import { GetEntity } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetEntityCommand 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", "GetEntity", {})
17
13
  .n("IoTTwinMakerClient", "GetEntityCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetEntityCommand)
20
- .de(de_GetEntityCommand)
14
+ .sc(GetEntity)
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_GetMetadataTransferJobCommand, se_GetMetadataTransferJobCommand } from "../protocols/Aws_restJson1";
4
+ import { GetMetadataTransferJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetMetadataTransferJobCommand 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", "GetMetadataTransferJob", {})
17
13
  .n("IoTTwinMakerClient", "GetMetadataTransferJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetMetadataTransferJobCommand)
20
- .de(de_GetMetadataTransferJobCommand)
14
+ .sc(GetMetadataTransferJob)
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_GetPricingPlanCommand, se_GetPricingPlanCommand } from "../protocols/Aws_restJson1";
4
+ import { GetPricingPlan } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetPricingPlanCommand 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", "GetPricingPlan", {})
17
13
  .n("IoTTwinMakerClient", "GetPricingPlanCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetPricingPlanCommand)
20
- .de(de_GetPricingPlanCommand)
14
+ .sc(GetPricingPlan)
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_GetPropertyValueCommand, se_GetPropertyValueCommand } from "../protocols/Aws_restJson1";
4
+ import { GetPropertyValue } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetPropertyValueCommand 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", "GetPropertyValue", {})
17
13
  .n("IoTTwinMakerClient", "GetPropertyValueCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetPropertyValueCommand)
20
- .de(de_GetPropertyValueCommand)
14
+ .sc(GetPropertyValue)
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_GetPropertyValueHistoryCommand, se_GetPropertyValueHistoryCommand } from "../protocols/Aws_restJson1";
4
+ import { GetPropertyValueHistory } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetPropertyValueHistoryCommand 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", "GetPropertyValueHistory", {})
17
13
  .n("IoTTwinMakerClient", "GetPropertyValueHistoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetPropertyValueHistoryCommand)
20
- .de(de_GetPropertyValueHistoryCommand)
14
+ .sc(GetPropertyValueHistory)
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_GetSceneCommand, se_GetSceneCommand } from "../protocols/Aws_restJson1";
4
+ import { GetScene } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSceneCommand 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", "GetScene", {})
17
13
  .n("IoTTwinMakerClient", "GetSceneCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSceneCommand)
20
- .de(de_GetSceneCommand)
14
+ .sc(GetScene)
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_GetSyncJobCommand, se_GetSyncJobCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSyncJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSyncJobCommand 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", "GetSyncJob", {})
17
13
  .n("IoTTwinMakerClient", "GetSyncJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSyncJobCommand)
20
- .de(de_GetSyncJobCommand)
14
+ .sc(GetSyncJob)
21
15
  .build() {
22
16
  }