@aws-sdk/client-dataexchange 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 (58) hide show
  1. package/dist-cjs/index.js +1900 -1839
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/DataExchangeClient.js +2 -0
  4. package/dist-es/commands/AcceptDataGrantCommand.js +3 -9
  5. package/dist-es/commands/CancelJobCommand.js +3 -9
  6. package/dist-es/commands/CreateDataGrantCommand.js +3 -9
  7. package/dist-es/commands/CreateDataSetCommand.js +3 -9
  8. package/dist-es/commands/CreateEventActionCommand.js +3 -9
  9. package/dist-es/commands/CreateJobCommand.js +3 -9
  10. package/dist-es/commands/CreateRevisionCommand.js +3 -9
  11. package/dist-es/commands/DeleteAssetCommand.js +3 -9
  12. package/dist-es/commands/DeleteDataGrantCommand.js +3 -9
  13. package/dist-es/commands/DeleteDataSetCommand.js +3 -9
  14. package/dist-es/commands/DeleteEventActionCommand.js +3 -9
  15. package/dist-es/commands/DeleteRevisionCommand.js +3 -9
  16. package/dist-es/commands/GetAssetCommand.js +3 -9
  17. package/dist-es/commands/GetDataGrantCommand.js +3 -9
  18. package/dist-es/commands/GetDataSetCommand.js +3 -9
  19. package/dist-es/commands/GetEventActionCommand.js +3 -9
  20. package/dist-es/commands/GetJobCommand.js +3 -9
  21. package/dist-es/commands/GetReceivedDataGrantCommand.js +3 -9
  22. package/dist-es/commands/GetRevisionCommand.js +3 -9
  23. package/dist-es/commands/ListDataGrantsCommand.js +3 -9
  24. package/dist-es/commands/ListDataSetRevisionsCommand.js +3 -9
  25. package/dist-es/commands/ListDataSetsCommand.js +3 -9
  26. package/dist-es/commands/ListEventActionsCommand.js +3 -9
  27. package/dist-es/commands/ListJobsCommand.js +3 -9
  28. package/dist-es/commands/ListReceivedDataGrantsCommand.js +3 -9
  29. package/dist-es/commands/ListRevisionAssetsCommand.js +3 -9
  30. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  31. package/dist-es/commands/RevokeRevisionCommand.js +3 -9
  32. package/dist-es/commands/SendApiAssetCommand.js +3 -9
  33. package/dist-es/commands/SendDataSetNotificationCommand.js +3 -9
  34. package/dist-es/commands/StartJobCommand.js +3 -9
  35. package/dist-es/commands/TagResourceCommand.js +3 -9
  36. package/dist-es/commands/UntagResourceCommand.js +3 -9
  37. package/dist-es/commands/UpdateAssetCommand.js +3 -9
  38. package/dist-es/commands/UpdateDataSetCommand.js +3 -9
  39. package/dist-es/commands/UpdateEventActionCommand.js +3 -9
  40. package/dist-es/commands/UpdateRevisionCommand.js +3 -9
  41. package/dist-es/runtimeConfig.shared.js +2 -0
  42. package/dist-es/schemas/schemas_0.js +1830 -0
  43. package/dist-types/DataExchangeClient.d.ts +10 -1
  44. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  45. package/dist-types/runtimeConfig.d.ts +1 -0
  46. package/dist-types/runtimeConfig.native.d.ts +1 -0
  47. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  48. package/dist-types/schemas/schemas_0.d.ts +204 -0
  49. package/dist-types/ts3.4/DataExchangeClient.d.ts +4 -0
  50. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  51. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  52. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  53. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  54. package/dist-types/ts3.4/schemas/schemas_0.d.ts +209 -0
  55. package/package.json +33 -34
  56. package/dist-es/protocols/Aws_restJson1.js +0 -1580
  57. package/dist-types/protocols/Aws_restJson1.d.ts +0 -335
  58. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -449
@@ -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.dataexchange" }),
28
30
  serviceId: config?.serviceId ?? "DataExchange",
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 DataExchangeClient 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_AcceptDataGrantCommand, se_AcceptDataGrantCommand } from "../protocols/Aws_restJson1";
4
+ import { AcceptDataGrant } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AcceptDataGrantCommand 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("DataExchange", "AcceptDataGrant", {})
17
13
  .n("DataExchangeClient", "AcceptDataGrantCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AcceptDataGrantCommand)
20
- .de(de_AcceptDataGrantCommand)
14
+ .sc(AcceptDataGrant)
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_CancelJobCommand, se_CancelJobCommand } from "../protocols/Aws_restJson1";
4
+ import { CancelJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelJobCommand 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("DataExchange", "CancelJob", {})
17
13
  .n("DataExchangeClient", "CancelJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelJobCommand)
20
- .de(de_CancelJobCommand)
14
+ .sc(CancelJob)
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_CreateDataGrantCommand, se_CreateDataGrantCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDataGrant } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDataGrantCommand 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("DataExchange", "CreateDataGrant", {})
17
13
  .n("DataExchangeClient", "CreateDataGrantCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDataGrantCommand)
20
- .de(de_CreateDataGrantCommand)
14
+ .sc(CreateDataGrant)
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_CreateDataSetCommand, se_CreateDataSetCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDataSet } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDataSetCommand 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("DataExchange", "CreateDataSet", {})
17
13
  .n("DataExchangeClient", "CreateDataSetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDataSetCommand)
20
- .de(de_CreateDataSetCommand)
14
+ .sc(CreateDataSet)
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_CreateEventActionCommand, se_CreateEventActionCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateEventAction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateEventActionCommand 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("DataExchange", "CreateEventAction", {})
17
13
  .n("DataExchangeClient", "CreateEventActionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateEventActionCommand)
20
- .de(de_CreateEventActionCommand)
14
+ .sc(CreateEventAction)
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_CreateJobCommand, se_CreateJobCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateJobCommand 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("DataExchange", "CreateJob", {})
17
13
  .n("DataExchangeClient", "CreateJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateJobCommand)
20
- .de(de_CreateJobCommand)
14
+ .sc(CreateJob)
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_CreateRevisionCommand, se_CreateRevisionCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateRevision } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateRevisionCommand 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("DataExchange", "CreateRevision", {})
17
13
  .n("DataExchangeClient", "CreateRevisionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateRevisionCommand)
20
- .de(de_CreateRevisionCommand)
14
+ .sc(CreateRevision)
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_DeleteAssetCommand, se_DeleteAssetCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteAsset } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteAssetCommand 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("DataExchange", "DeleteAsset", {})
17
13
  .n("DataExchangeClient", "DeleteAssetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteAssetCommand)
20
- .de(de_DeleteAssetCommand)
14
+ .sc(DeleteAsset)
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_DeleteDataGrantCommand, se_DeleteDataGrantCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteDataGrant } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDataGrantCommand 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("DataExchange", "DeleteDataGrant", {})
17
13
  .n("DataExchangeClient", "DeleteDataGrantCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDataGrantCommand)
20
- .de(de_DeleteDataGrantCommand)
14
+ .sc(DeleteDataGrant)
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_DeleteDataSetCommand, se_DeleteDataSetCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteDataSet } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDataSetCommand 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("DataExchange", "DeleteDataSet", {})
17
13
  .n("DataExchangeClient", "DeleteDataSetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDataSetCommand)
20
- .de(de_DeleteDataSetCommand)
14
+ .sc(DeleteDataSet)
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_DeleteEventActionCommand, se_DeleteEventActionCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteEventAction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteEventActionCommand 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("DataExchange", "DeleteEventAction", {})
17
13
  .n("DataExchangeClient", "DeleteEventActionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteEventActionCommand)
20
- .de(de_DeleteEventActionCommand)
14
+ .sc(DeleteEventAction)
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_DeleteRevisionCommand, se_DeleteRevisionCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteRevision } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteRevisionCommand 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("DataExchange", "DeleteRevision", {})
17
13
  .n("DataExchangeClient", "DeleteRevisionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteRevisionCommand)
20
- .de(de_DeleteRevisionCommand)
14
+ .sc(DeleteRevision)
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_GetAssetCommand, se_GetAssetCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAsset } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAssetCommand 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("DataExchange", "GetAsset", {})
17
13
  .n("DataExchangeClient", "GetAssetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAssetCommand)
20
- .de(de_GetAssetCommand)
14
+ .sc(GetAsset)
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_GetDataGrantCommand, se_GetDataGrantCommand } from "../protocols/Aws_restJson1";
4
+ import { GetDataGrant } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetDataGrantCommand 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("DataExchange", "GetDataGrant", {})
17
13
  .n("DataExchangeClient", "GetDataGrantCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetDataGrantCommand)
20
- .de(de_GetDataGrantCommand)
14
+ .sc(GetDataGrant)
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_GetDataSetCommand, se_GetDataSetCommand } from "../protocols/Aws_restJson1";
4
+ import { GetDataSet } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetDataSetCommand 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("DataExchange", "GetDataSet", {})
17
13
  .n("DataExchangeClient", "GetDataSetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetDataSetCommand)
20
- .de(de_GetDataSetCommand)
14
+ .sc(GetDataSet)
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_GetEventActionCommand, se_GetEventActionCommand } from "../protocols/Aws_restJson1";
4
+ import { GetEventAction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetEventActionCommand 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("DataExchange", "GetEventAction", {})
17
13
  .n("DataExchangeClient", "GetEventActionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetEventActionCommand)
20
- .de(de_GetEventActionCommand)
14
+ .sc(GetEventAction)
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_GetJobCommand, se_GetJobCommand } from "../protocols/Aws_restJson1";
4
+ import { GetJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetJobCommand 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("DataExchange", "GetJob", {})
17
13
  .n("DataExchangeClient", "GetJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetJobCommand)
20
- .de(de_GetJobCommand)
14
+ .sc(GetJob)
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_GetReceivedDataGrantCommand, se_GetReceivedDataGrantCommand } from "../protocols/Aws_restJson1";
4
+ import { GetReceivedDataGrant } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetReceivedDataGrantCommand 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("DataExchange", "GetReceivedDataGrant", {})
17
13
  .n("DataExchangeClient", "GetReceivedDataGrantCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetReceivedDataGrantCommand)
20
- .de(de_GetReceivedDataGrantCommand)
14
+ .sc(GetReceivedDataGrant)
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_GetRevisionCommand, se_GetRevisionCommand } from "../protocols/Aws_restJson1";
4
+ import { GetRevision } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetRevisionCommand 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("DataExchange", "GetRevision", {})
17
13
  .n("DataExchangeClient", "GetRevisionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetRevisionCommand)
20
- .de(de_GetRevisionCommand)
14
+ .sc(GetRevision)
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_ListDataGrantsCommand, se_ListDataGrantsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListDataGrants } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDataGrantsCommand 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("DataExchange", "ListDataGrants", {})
17
13
  .n("DataExchangeClient", "ListDataGrantsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDataGrantsCommand)
20
- .de(de_ListDataGrantsCommand)
14
+ .sc(ListDataGrants)
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_ListDataSetRevisionsCommand, se_ListDataSetRevisionsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListDataSetRevisions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDataSetRevisionsCommand 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("DataExchange", "ListDataSetRevisions", {})
17
13
  .n("DataExchangeClient", "ListDataSetRevisionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDataSetRevisionsCommand)
20
- .de(de_ListDataSetRevisionsCommand)
14
+ .sc(ListDataSetRevisions)
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_ListDataSetsCommand, se_ListDataSetsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListDataSets } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDataSetsCommand 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("DataExchange", "ListDataSets", {})
17
13
  .n("DataExchangeClient", "ListDataSetsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDataSetsCommand)
20
- .de(de_ListDataSetsCommand)
14
+ .sc(ListDataSets)
21
15
  .build() {
22
16
  }