@aws-sdk/client-dataexchange 3.54.1 → 3.55.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/CHANGELOG.md +11 -0
  2. package/dist-cjs/DataExchange.js +15 -0
  3. package/dist-cjs/DataExchangeClient.js +13 -13
  4. package/dist-cjs/commands/CancelJobCommand.js +3 -3
  5. package/dist-cjs/commands/CreateDataSetCommand.js +3 -3
  6. package/dist-cjs/commands/CreateEventActionCommand.js +3 -3
  7. package/dist-cjs/commands/CreateJobCommand.js +3 -3
  8. package/dist-cjs/commands/CreateRevisionCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteAssetCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteDataSetCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteEventActionCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteRevisionCommand.js +3 -3
  13. package/dist-cjs/commands/GetAssetCommand.js +3 -3
  14. package/dist-cjs/commands/GetDataSetCommand.js +3 -3
  15. package/dist-cjs/commands/GetEventActionCommand.js +3 -3
  16. package/dist-cjs/commands/GetJobCommand.js +3 -3
  17. package/dist-cjs/commands/GetRevisionCommand.js +3 -3
  18. package/dist-cjs/commands/ListDataSetRevisionsCommand.js +3 -3
  19. package/dist-cjs/commands/ListDataSetsCommand.js +3 -3
  20. package/dist-cjs/commands/ListEventActionsCommand.js +3 -3
  21. package/dist-cjs/commands/ListJobsCommand.js +3 -3
  22. package/dist-cjs/commands/ListRevisionAssetsCommand.js +3 -3
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  24. package/dist-cjs/commands/RevokeRevisionCommand.js +36 -0
  25. package/dist-cjs/commands/SendApiAssetCommand.js +3 -3
  26. package/dist-cjs/commands/StartJobCommand.js +3 -3
  27. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  28. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  29. package/dist-cjs/commands/UpdateAssetCommand.js +3 -3
  30. package/dist-cjs/commands/UpdateDataSetCommand.js +3 -3
  31. package/dist-cjs/commands/UpdateEventActionCommand.js +3 -3
  32. package/dist-cjs/commands/UpdateRevisionCommand.js +3 -3
  33. package/dist-cjs/commands/index.js +1 -0
  34. package/dist-cjs/endpoints.js +1 -1
  35. package/dist-cjs/models/models_0.js +14 -2
  36. package/dist-cjs/protocols/Aws_restJson1.js +480 -301
  37. package/dist-cjs/runtimeConfig.browser.js +4 -4
  38. package/dist-cjs/runtimeConfig.js +9 -9
  39. package/dist-cjs/runtimeConfig.native.js +1 -1
  40. package/dist-es/DataExchange.js +43 -28
  41. package/dist-es/commands/RevokeRevisionCommand.js +39 -0
  42. package/dist-es/commands/index.js +1 -0
  43. package/dist-es/models/models_0.js +8 -0
  44. package/dist-es/pagination/ListDataSetRevisionsPaginator.js +4 -4
  45. package/dist-es/pagination/ListDataSetsPaginator.js +4 -4
  46. package/dist-es/pagination/ListEventActionsPaginator.js +4 -4
  47. package/dist-es/pagination/ListJobsPaginator.js +4 -4
  48. package/dist-es/pagination/ListRevisionAssetsPaginator.js +4 -4
  49. package/dist-es/protocols/Aws_restJson1.js +250 -43
  50. package/dist-types/DataExchange.d.ts +7 -0
  51. package/dist-types/DataExchangeClient.d.ts +3 -2
  52. package/dist-types/commands/RevokeRevisionCommand.d.ts +35 -0
  53. package/dist-types/commands/index.d.ts +1 -0
  54. package/dist-types/models/models_0.d.ts +124 -1
  55. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  56. package/dist-types/runtimeConfig.native.d.ts +2 -2
  57. package/dist-types/ts3.4/DataExchange.d.ts +5 -0
  58. package/dist-types/ts3.4/DataExchangeClient.d.ts +3 -2
  59. package/dist-types/ts3.4/commands/RevokeRevisionCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  61. package/dist-types/ts3.4/models/models_0.d.ts +65 -0
  62. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
  63. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  64. package/package.json +34 -34
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 03/21/2022 ([#3455](https://github.com/aws/aws-sdk-js-v3/issues/3455)) ([7cd40a5](https://github.com/aws/aws-sdk-js-v3/commit/7cd40a5aeaddf03b8d27e814b3a2b441c1217dfb))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-dataexchange
@@ -21,6 +21,7 @@ const ListEventActionsCommand_1 = require("./commands/ListEventActionsCommand");
21
21
  const ListJobsCommand_1 = require("./commands/ListJobsCommand");
22
22
  const ListRevisionAssetsCommand_1 = require("./commands/ListRevisionAssetsCommand");
23
23
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
24
+ const RevokeRevisionCommand_1 = require("./commands/RevokeRevisionCommand");
24
25
  const SendApiAssetCommand_1 = require("./commands/SendApiAssetCommand");
25
26
  const StartJobCommand_1 = require("./commands/StartJobCommand");
26
27
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
@@ -311,6 +312,20 @@ class DataExchange extends DataExchangeClient_1.DataExchangeClient {
311
312
  return this.send(command, optionsOrCb);
312
313
  }
313
314
  }
315
+ revokeRevision(args, optionsOrCb, cb) {
316
+ const command = new RevokeRevisionCommand_1.RevokeRevisionCommand(args);
317
+ if (typeof optionsOrCb === "function") {
318
+ this.send(command, optionsOrCb);
319
+ }
320
+ else if (typeof cb === "function") {
321
+ if (typeof optionsOrCb !== "object")
322
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
323
+ this.send(command, optionsOrCb || {}, cb);
324
+ }
325
+ else {
326
+ return this.send(command, optionsOrCb);
327
+ }
328
+ }
314
329
  sendApiAsset(args, optionsOrCb, cb) {
315
330
  const command = new SendApiAssetCommand_1.SendApiAssetCommand(args);
316
331
  if (typeof optionsOrCb === "function") {
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
13
  class DataExchangeClient extends smithy_client_1.Client {
14
14
  constructor(configuration) {
15
- const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
- const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
- const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
- const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
- const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
- const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
- const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
15
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
16
+ const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
17
+ const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
18
+ const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
19
+ const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
20
+ const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
21
+ const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
22
22
  super(_config_6);
23
23
  this.config = _config_6;
24
- this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
- this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
- this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
- this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
- this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
24
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
25
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
+ this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
+ this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
28
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
30
  }
31
31
  destroy() {
32
32
  super.destroy();
@@ -11,7 +11,7 @@ class CancelJobCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class CancelJobCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1CancelJobCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1CancelJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1CancelJobCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1CancelJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CancelJobCommand = CancelJobCommand;
@@ -11,7 +11,7 @@ class CreateDataSetCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class CreateDataSetCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1CreateDataSetCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1CreateDataSetCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1CreateDataSetCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1CreateDataSetCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateDataSetCommand = CreateDataSetCommand;
@@ -11,7 +11,7 @@ class CreateEventActionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class CreateEventActionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1CreateEventActionCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1CreateEventActionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1CreateEventActionCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1CreateEventActionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateEventActionCommand = CreateEventActionCommand;
@@ -11,7 +11,7 @@ class CreateJobCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class CreateJobCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1CreateJobCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1CreateJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1CreateJobCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1CreateJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateJobCommand = CreateJobCommand;
@@ -11,7 +11,7 @@ class CreateRevisionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class CreateRevisionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1CreateRevisionCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1CreateRevisionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1CreateRevisionCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1CreateRevisionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateRevisionCommand = CreateRevisionCommand;
@@ -11,7 +11,7 @@ class DeleteAssetCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class DeleteAssetCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DeleteAssetCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DeleteAssetCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DeleteAssetCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteAssetCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteAssetCommand = DeleteAssetCommand;
@@ -11,7 +11,7 @@ class DeleteDataSetCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class DeleteDataSetCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DeleteDataSetCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DeleteDataSetCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DeleteDataSetCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteDataSetCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteDataSetCommand = DeleteDataSetCommand;
@@ -11,7 +11,7 @@ class DeleteEventActionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class DeleteEventActionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DeleteEventActionCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DeleteEventActionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DeleteEventActionCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteEventActionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteEventActionCommand = DeleteEventActionCommand;
@@ -11,7 +11,7 @@ class DeleteRevisionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class DeleteRevisionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1DeleteRevisionCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DeleteRevisionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DeleteRevisionCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteRevisionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteRevisionCommand = DeleteRevisionCommand;
@@ -11,7 +11,7 @@ class GetAssetCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class GetAssetCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1GetAssetCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetAssetCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetAssetCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetAssetCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetAssetCommand = GetAssetCommand;
@@ -11,7 +11,7 @@ class GetDataSetCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class GetDataSetCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1GetDataSetCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetDataSetCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetDataSetCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetDataSetCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetDataSetCommand = GetDataSetCommand;
@@ -11,7 +11,7 @@ class GetEventActionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class GetEventActionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1GetEventActionCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetEventActionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetEventActionCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetEventActionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetEventActionCommand = GetEventActionCommand;
@@ -11,7 +11,7 @@ class GetJobCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class GetJobCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1GetJobCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetJobCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetJobCommand = GetJobCommand;
@@ -11,7 +11,7 @@ class GetRevisionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class GetRevisionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1GetRevisionCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetRevisionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetRevisionCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetRevisionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetRevisionCommand = GetRevisionCommand;
@@ -11,7 +11,7 @@ class ListDataSetRevisionsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class ListDataSetRevisionsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListDataSetRevisionsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListDataSetRevisionsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListDataSetRevisionsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListDataSetRevisionsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListDataSetRevisionsCommand = ListDataSetRevisionsCommand;
@@ -11,7 +11,7 @@ class ListDataSetsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class ListDataSetsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListDataSetsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListDataSetsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListDataSetsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListDataSetsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListDataSetsCommand = ListDataSetsCommand;
@@ -11,7 +11,7 @@ class ListEventActionsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class ListEventActionsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListEventActionsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListEventActionsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListEventActionsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListEventActionsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListEventActionsCommand = ListEventActionsCommand;
@@ -11,7 +11,7 @@ class ListJobsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class ListJobsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListJobsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListJobsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListJobsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListJobsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListJobsCommand = ListJobsCommand;
@@ -11,7 +11,7 @@ class ListRevisionAssetsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class ListRevisionAssetsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListRevisionAssetsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListRevisionAssetsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListRevisionAssetsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListRevisionAssetsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListRevisionAssetsCommand = ListRevisionAssetsCommand;
@@ -11,7 +11,7 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RevokeRevisionCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class RevokeRevisionCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "DataExchangeClient";
18
+ const commandName = "RevokeRevisionCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.RevokeRevisionRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.RevokeRevisionResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1RevokeRevisionCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1RevokeRevisionCommand)(output, context);
34
+ }
35
+ }
36
+ exports.RevokeRevisionCommand = RevokeRevisionCommand;
@@ -11,7 +11,7 @@ class SendApiAssetCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class SendApiAssetCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1SendApiAssetCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1SendApiAssetCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1SendApiAssetCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1SendApiAssetCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.SendApiAssetCommand = SendApiAssetCommand;
@@ -11,7 +11,7 @@ class StartJobCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "DataExchangeClient";
@@ -27,10 +27,10 @@ class StartJobCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_restJson1_1.serializeAws_restJson1StartJobCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1StartJobCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1StartJobCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1StartJobCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.StartJobCommand = StartJobCommand;