@aws-sdk/client-dataexchange 3.927.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 (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 +5 -6
  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
@@ -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_ListEventActionsCommand, se_ListEventActionsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListEventActions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListEventActionsCommand 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", "ListEventActions", {})
17
13
  .n("DataExchangeClient", "ListEventActionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListEventActionsCommand)
20
- .de(de_ListEventActionsCommand)
14
+ .sc(ListEventActions)
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_ListJobsCommand, se_ListJobsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListJobs } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListJobsCommand 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", "ListJobs", {})
17
13
  .n("DataExchangeClient", "ListJobsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListJobsCommand)
20
- .de(de_ListJobsCommand)
14
+ .sc(ListJobs)
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_ListReceivedDataGrantsCommand, se_ListReceivedDataGrantsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListReceivedDataGrants } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListReceivedDataGrantsCommand 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", "ListReceivedDataGrants", {})
17
13
  .n("DataExchangeClient", "ListReceivedDataGrantsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListReceivedDataGrantsCommand)
20
- .de(de_ListReceivedDataGrantsCommand)
14
+ .sc(ListReceivedDataGrants)
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_ListRevisionAssetsCommand, se_ListRevisionAssetsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListRevisionAssets } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListRevisionAssetsCommand 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", "ListRevisionAssets", {})
17
13
  .n("DataExchangeClient", "ListRevisionAssetsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListRevisionAssetsCommand)
20
- .de(de_ListRevisionAssetsCommand)
14
+ .sc(ListRevisionAssets)
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("DataExchange", "ListTagsForResource", {})
17
13
  .n("DataExchangeClient", "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_RevokeRevisionCommand, se_RevokeRevisionCommand } from "../protocols/Aws_restJson1";
4
+ import { RevokeRevision } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RevokeRevisionCommand 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", "RevokeRevision", {})
17
13
  .n("DataExchangeClient", "RevokeRevisionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RevokeRevisionCommand)
20
- .de(de_RevokeRevisionCommand)
14
+ .sc(RevokeRevision)
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_SendApiAssetCommand, se_SendApiAssetCommand } from "../protocols/Aws_restJson1";
4
+ import { SendApiAsset } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SendApiAssetCommand 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", "SendApiAsset", {})
17
13
  .n("DataExchangeClient", "SendApiAssetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SendApiAssetCommand)
20
- .de(de_SendApiAssetCommand)
14
+ .sc(SendApiAsset)
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_SendDataSetNotificationCommand, se_SendDataSetNotificationCommand } from "../protocols/Aws_restJson1";
4
+ import { SendDataSetNotification } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SendDataSetNotificationCommand 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", "SendDataSetNotification", {})
17
13
  .n("DataExchangeClient", "SendDataSetNotificationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SendDataSetNotificationCommand)
20
- .de(de_SendDataSetNotificationCommand)
14
+ .sc(SendDataSetNotification)
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_StartJobCommand, se_StartJobCommand } from "../protocols/Aws_restJson1";
4
+ import { StartJob } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartJobCommand 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", "StartJob", {})
17
13
  .n("DataExchangeClient", "StartJobCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartJobCommand)
20
- .de(de_StartJobCommand)
14
+ .sc(StartJob)
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("DataExchange", "TagResource", {})
17
13
  .n("DataExchangeClient", "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("DataExchange", "UntagResource", {})
17
13
  .n("DataExchangeClient", "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_UpdateAssetCommand, se_UpdateAssetCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateAsset } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateAssetCommand 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", "UpdateAsset", {})
17
13
  .n("DataExchangeClient", "UpdateAssetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateAssetCommand)
20
- .de(de_UpdateAssetCommand)
14
+ .sc(UpdateAsset)
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_UpdateDataSetCommand, se_UpdateDataSetCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateDataSet } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateDataSetCommand 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", "UpdateDataSet", {})
17
13
  .n("DataExchangeClient", "UpdateDataSetCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateDataSetCommand)
20
- .de(de_UpdateDataSetCommand)
14
+ .sc(UpdateDataSet)
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_UpdateEventActionCommand, se_UpdateEventActionCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateEventAction } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateEventActionCommand 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", "UpdateEventAction", {})
17
13
  .n("DataExchangeClient", "UpdateEventActionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateEventActionCommand)
20
- .de(de_UpdateEventActionCommand)
14
+ .sc(UpdateEventAction)
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_UpdateRevisionCommand, se_UpdateRevisionCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateRevision } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateRevisionCommand 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", "UpdateRevision", {})
17
13
  .n("DataExchangeClient", "UpdateRevisionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateRevisionCommand)
20
- .de(de_UpdateRevisionCommand)
14
+ .sc(UpdateRevision)
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.dataexchange" }),
25
27
  serviceId: config?.serviceId ?? "DataExchange",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,