@aws-sdk/client-dataexchange 3.183.0 → 3.186.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 +19 -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 +33 -33
@@ -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 { GetDataSetRequestFilterSensitiveLog, GetDataSetResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDataSetCommand, serializeAws_restJson1GetDataSetCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDataSetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDataSetCommand = (function (_super) {
7
+ __extends(GetDataSetCommand, _super);
8
+ function GetDataSetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDataSetCommand.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 = "GetDataSetCommand";
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 = "GetDataSetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDataSetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDataSetResponseFilterSensitiveLog,
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
+ GetDataSetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDataSetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDataSetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDataSetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDataSetCommand;
38
+ }($Command));
39
+ export { GetDataSetCommand };
@@ -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 { GetEventActionRequestFilterSensitiveLog, GetEventActionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetEventActionCommand, serializeAws_restJson1GetEventActionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetEventActionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetEventActionCommand = (function (_super) {
7
+ __extends(GetEventActionCommand, _super);
8
+ function GetEventActionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetEventActionCommand.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 = "GetEventActionCommand";
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 = "GetEventActionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetEventActionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetEventActionResponseFilterSensitiveLog,
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
+ GetEventActionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetEventActionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetEventActionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetEventActionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetEventActionCommand;
38
+ }($Command));
39
+ export { GetEventActionCommand };
@@ -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 { GetJobRequestFilterSensitiveLog, GetJobResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetJobCommand, serializeAws_restJson1GetJobCommand } from "../protocols/Aws_restJson1";
5
- export class GetJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetJobCommand = (function (_super) {
7
+ __extends(GetJobCommand, _super);
8
+ function GetJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetJobCommand.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 = "GetJobCommand";
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 = "GetJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetJobResponseFilterSensitiveLog,
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
+ GetJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetJobCommand;
38
+ }($Command));
39
+ export { GetJobCommand };
@@ -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 { GetRevisionRequestFilterSensitiveLog, GetRevisionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetRevisionCommand, serializeAws_restJson1GetRevisionCommand, } from "../protocols/Aws_restJson1";
5
- export class GetRevisionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetRevisionCommand = (function (_super) {
7
+ __extends(GetRevisionCommand, _super);
8
+ function GetRevisionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetRevisionCommand.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 = "GetRevisionCommand";
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 = "GetRevisionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetRevisionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetRevisionResponseFilterSensitiveLog,
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
+ GetRevisionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetRevisionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetRevisionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetRevisionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetRevisionCommand;
38
+ }($Command));
39
+ export { GetRevisionCommand };
@@ -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 { ListDataSetRevisionsRequestFilterSensitiveLog, ListDataSetRevisionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListDataSetRevisionsCommand, serializeAws_restJson1ListDataSetRevisionsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListDataSetRevisionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDataSetRevisionsCommand = (function (_super) {
7
+ __extends(ListDataSetRevisionsCommand, _super);
8
+ function ListDataSetRevisionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDataSetRevisionsCommand.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 = "ListDataSetRevisionsCommand";
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 = "ListDataSetRevisionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDataSetRevisionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDataSetRevisionsResponseFilterSensitiveLog,
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
+ ListDataSetRevisionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListDataSetRevisionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDataSetRevisionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListDataSetRevisionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDataSetRevisionsCommand;
38
+ }($Command));
39
+ export { ListDataSetRevisionsCommand };
@@ -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 { ListDataSetsRequestFilterSensitiveLog, ListDataSetsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListDataSetsCommand, serializeAws_restJson1ListDataSetsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListDataSetsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListDataSetsCommand = (function (_super) {
7
+ __extends(ListDataSetsCommand, _super);
8
+ function ListDataSetsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListDataSetsCommand.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 = "ListDataSetsCommand";
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 = "ListDataSetsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListDataSetsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListDataSetsResponseFilterSensitiveLog,
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
+ ListDataSetsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListDataSetsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListDataSetsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListDataSetsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListDataSetsCommand;
38
+ }($Command));
39
+ export { ListDataSetsCommand };
@@ -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 { ListEventActionsRequestFilterSensitiveLog, ListEventActionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListEventActionsCommand, serializeAws_restJson1ListEventActionsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListEventActionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListEventActionsCommand = (function (_super) {
7
+ __extends(ListEventActionsCommand, _super);
8
+ function ListEventActionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListEventActionsCommand.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 = "ListEventActionsCommand";
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 = "ListEventActionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListEventActionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListEventActionsResponseFilterSensitiveLog,
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
+ ListEventActionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListEventActionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListEventActionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListEventActionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListEventActionsCommand;
38
+ }($Command));
39
+ export { ListEventActionsCommand };
@@ -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 { ListJobsRequestFilterSensitiveLog, ListJobsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListJobsCommand, serializeAws_restJson1ListJobsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListJobsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListJobsCommand = (function (_super) {
7
+ __extends(ListJobsCommand, _super);
8
+ function ListJobsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListJobsCommand.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 = "ListJobsCommand";
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 = "ListJobsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListJobsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListJobsResponseFilterSensitiveLog,
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
+ ListJobsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListJobsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListJobsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListJobsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListJobsCommand;
38
+ }($Command));
39
+ export { ListJobsCommand };
@@ -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 { ListRevisionAssetsRequestFilterSensitiveLog, ListRevisionAssetsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListRevisionAssetsCommand, serializeAws_restJson1ListRevisionAssetsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListRevisionAssetsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListRevisionAssetsCommand = (function (_super) {
7
+ __extends(ListRevisionAssetsCommand, _super);
8
+ function ListRevisionAssetsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListRevisionAssetsCommand.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 = "ListRevisionAssetsCommand";
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 = "ListRevisionAssetsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListRevisionAssetsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListRevisionAssetsResponseFilterSensitiveLog,
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
+ ListRevisionAssetsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListRevisionAssetsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListRevisionAssetsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListRevisionAssetsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListRevisionAssetsCommand;
38
+ }($Command));
39
+ export { ListRevisionAssetsCommand };
@@ -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 { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.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 = "ListTagsForResourceCommand";
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 = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
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
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };