@aws-sdk/client-dataexchange 3.183.0 → 3.185.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 (47) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/DataExchange.js +125 -118
  4. package/dist-es/DataExchangeClient.js +28 -22
  5. package/dist-es/commands/CancelJobCommand.js +29 -22
  6. package/dist-es/commands/CreateDataSetCommand.js +28 -21
  7. package/dist-es/commands/CreateEventActionCommand.js +28 -21
  8. package/dist-es/commands/CreateJobCommand.js +28 -21
  9. package/dist-es/commands/CreateRevisionCommand.js +28 -21
  10. package/dist-es/commands/DeleteAssetCommand.js +29 -22
  11. package/dist-es/commands/DeleteDataSetCommand.js +29 -22
  12. package/dist-es/commands/DeleteEventActionCommand.js +29 -22
  13. package/dist-es/commands/DeleteRevisionCommand.js +29 -22
  14. package/dist-es/commands/GetAssetCommand.js +28 -21
  15. package/dist-es/commands/GetDataSetCommand.js +28 -21
  16. package/dist-es/commands/GetEventActionCommand.js +28 -21
  17. package/dist-es/commands/GetJobCommand.js +28 -21
  18. package/dist-es/commands/GetRevisionCommand.js +28 -21
  19. package/dist-es/commands/ListDataSetRevisionsCommand.js +28 -21
  20. package/dist-es/commands/ListDataSetsCommand.js +28 -21
  21. package/dist-es/commands/ListEventActionsCommand.js +28 -21
  22. package/dist-es/commands/ListJobsCommand.js +28 -21
  23. package/dist-es/commands/ListRevisionAssetsCommand.js +28 -21
  24. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  25. package/dist-es/commands/RevokeRevisionCommand.js +28 -21
  26. package/dist-es/commands/SendApiAssetCommand.js +28 -21
  27. package/dist-es/commands/StartJobCommand.js +28 -21
  28. package/dist-es/commands/TagResourceCommand.js +29 -22
  29. package/dist-es/commands/UntagResourceCommand.js +29 -22
  30. package/dist-es/commands/UpdateAssetCommand.js +28 -21
  31. package/dist-es/commands/UpdateDataSetCommand.js +28 -21
  32. package/dist-es/commands/UpdateEventActionCommand.js +28 -21
  33. package/dist-es/commands/UpdateRevisionCommand.js +28 -21
  34. package/dist-es/endpoints.js +8 -8
  35. package/dist-es/models/DataExchangeServiceException.js +10 -5
  36. package/dist-es/models/models_0.js +182 -361
  37. package/dist-es/pagination/ListDataSetRevisionsPaginator.js +68 -25
  38. package/dist-es/pagination/ListDataSetsPaginator.js +68 -25
  39. package/dist-es/pagination/ListEventActionsPaginator.js +68 -25
  40. package/dist-es/pagination/ListJobsPaginator.js +68 -25
  41. package/dist-es/pagination/ListRevisionAssetsPaginator.js +68 -25
  42. package/dist-es/protocols/Aws_restJson1.js +3362 -2541
  43. package/dist-es/runtimeConfig.browser.js +12 -26
  44. package/dist-es/runtimeConfig.js +12 -30
  45. package/dist-es/runtimeConfig.native.js +5 -8
  46. package/dist-es/runtimeConfig.shared.js +11 -8
  47. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CancelJobRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CancelJobCommand, serializeAws_restJson1CancelJobCommand, } from "../protocols/Aws_restJson1";
5
- export class CancelJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CancelJobCommand = (function (_super) {
7
+ __extends(CancelJobCommand, _super);
8
+ function CancelJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CancelJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataExchangeClient";
15
- const commandName = "CancelJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataExchangeClient";
18
+ var commandName = "CancelJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CancelJobRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CancelJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CancelJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CancelJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CancelJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CancelJobCommand;
38
+ }($Command));
39
+ export { CancelJobCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateDataSetRequestFilterSensitiveLog, CreateDataSetResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateDataSetCommand, serializeAws_restJson1CreateDataSetCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateDataSetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDataSetCommand = (function (_super) {
7
+ __extends(CreateDataSetCommand, _super);
8
+ function CreateDataSetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDataSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataExchangeClient";
15
- const commandName = "CreateDataSetCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataExchangeClient";
18
+ var commandName = "CreateDataSetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDataSetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateDataSetResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateDataSetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateDataSetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDataSetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateDataSetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDataSetCommand;
38
+ }($Command));
39
+ export { CreateDataSetCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateEventActionRequestFilterSensitiveLog, CreateEventActionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateEventActionCommand, serializeAws_restJson1CreateEventActionCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateEventActionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateEventActionCommand = (function (_super) {
7
+ __extends(CreateEventActionCommand, _super);
8
+ function CreateEventActionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateEventActionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataExchangeClient";
15
- const commandName = "CreateEventActionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataExchangeClient";
18
+ var commandName = "CreateEventActionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateEventActionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateEventActionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateEventActionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateEventActionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateEventActionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateEventActionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateEventActionCommand;
38
+ }($Command));
39
+ export { CreateEventActionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateJobRequestFilterSensitiveLog, CreateJobResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateJobCommand, serializeAws_restJson1CreateJobCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateJobCommand = (function (_super) {
7
+ __extends(CreateJobCommand, _super);
8
+ function CreateJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataExchangeClient";
15
- const commandName = "CreateJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataExchangeClient";
18
+ var commandName = "CreateJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateJobResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateJobCommand;
38
+ }($Command));
39
+ export { CreateJobCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateRevisionRequestFilterSensitiveLog, CreateRevisionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateRevisionCommand, serializeAws_restJson1CreateRevisionCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateRevisionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateRevisionCommand = (function (_super) {
7
+ __extends(CreateRevisionCommand, _super);
8
+ function CreateRevisionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateRevisionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataExchangeClient";
15
- const commandName = "CreateRevisionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataExchangeClient";
18
+ var commandName = "CreateRevisionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateRevisionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateRevisionResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateRevisionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateRevisionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateRevisionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateRevisionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateRevisionCommand;
38
+ }($Command));
39
+ export { CreateRevisionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteAssetRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteAssetCommand, serializeAws_restJson1DeleteAssetCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteAssetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteAssetCommand = (function (_super) {
7
+ __extends(DeleteAssetCommand, _super);
8
+ function DeleteAssetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteAssetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataExchangeClient";
15
- const commandName = "DeleteAssetCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataExchangeClient";
18
+ var commandName = "DeleteAssetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteAssetRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteAssetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteAssetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteAssetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteAssetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteAssetCommand;
38
+ }($Command));
39
+ export { DeleteAssetCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteDataSetRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteDataSetCommand, serializeAws_restJson1DeleteDataSetCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteDataSetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteDataSetCommand = (function (_super) {
7
+ __extends(DeleteDataSetCommand, _super);
8
+ function DeleteDataSetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteDataSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataExchangeClient";
15
- const commandName = "DeleteDataSetCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataExchangeClient";
18
+ var commandName = "DeleteDataSetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteDataSetRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteDataSetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteDataSetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteDataSetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteDataSetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteDataSetCommand;
38
+ }($Command));
39
+ export { DeleteDataSetCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteEventActionRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteEventActionCommand, serializeAws_restJson1DeleteEventActionCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteEventActionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteEventActionCommand = (function (_super) {
7
+ __extends(DeleteEventActionCommand, _super);
8
+ function DeleteEventActionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteEventActionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataExchangeClient";
15
- const commandName = "DeleteEventActionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataExchangeClient";
18
+ var commandName = "DeleteEventActionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteEventActionRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteEventActionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteEventActionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteEventActionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteEventActionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteEventActionCommand;
38
+ }($Command));
39
+ export { DeleteEventActionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteRevisionRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteRevisionCommand, serializeAws_restJson1DeleteRevisionCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteRevisionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteRevisionCommand = (function (_super) {
7
+ __extends(DeleteRevisionCommand, _super);
8
+ function DeleteRevisionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteRevisionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataExchangeClient";
15
- const commandName = "DeleteRevisionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataExchangeClient";
18
+ var commandName = "DeleteRevisionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteRevisionRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteRevisionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteRevisionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteRevisionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteRevisionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteRevisionCommand;
38
+ }($Command));
39
+ export { DeleteRevisionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetAssetRequestFilterSensitiveLog, GetAssetResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetAssetCommand, serializeAws_restJson1GetAssetCommand, } from "../protocols/Aws_restJson1";
5
- export class GetAssetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetAssetCommand = (function (_super) {
7
+ __extends(GetAssetCommand, _super);
8
+ function GetAssetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetAssetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DataExchangeClient";
15
- const commandName = "GetAssetCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataExchangeClient";
18
+ var commandName = "GetAssetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetAssetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetAssetResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetAssetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetAssetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetAssetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetAssetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetAssetCommand;
38
+ }($Command));
39
+ export { GetAssetCommand };