@aws-sdk/client-databrew 3.180.0 → 3.183.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 (65) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +50 -44
  3. package/dist-es/DataBrew.js +178 -185
  4. package/dist-es/DataBrewClient.js +23 -29
  5. package/dist-es/commands/BatchDeleteRecipeVersionCommand.js +21 -28
  6. package/dist-es/commands/CreateDatasetCommand.js +21 -28
  7. package/dist-es/commands/CreateProfileJobCommand.js +21 -28
  8. package/dist-es/commands/CreateProjectCommand.js +21 -28
  9. package/dist-es/commands/CreateRecipeCommand.js +21 -28
  10. package/dist-es/commands/CreateRecipeJobCommand.js +21 -28
  11. package/dist-es/commands/CreateRulesetCommand.js +21 -28
  12. package/dist-es/commands/CreateScheduleCommand.js +21 -28
  13. package/dist-es/commands/DeleteDatasetCommand.js +21 -28
  14. package/dist-es/commands/DeleteJobCommand.js +21 -28
  15. package/dist-es/commands/DeleteProjectCommand.js +21 -28
  16. package/dist-es/commands/DeleteRecipeVersionCommand.js +21 -28
  17. package/dist-es/commands/DeleteRulesetCommand.js +21 -28
  18. package/dist-es/commands/DeleteScheduleCommand.js +21 -28
  19. package/dist-es/commands/DescribeDatasetCommand.js +21 -28
  20. package/dist-es/commands/DescribeJobCommand.js +21 -28
  21. package/dist-es/commands/DescribeJobRunCommand.js +21 -28
  22. package/dist-es/commands/DescribeProjectCommand.js +21 -28
  23. package/dist-es/commands/DescribeRecipeCommand.js +21 -28
  24. package/dist-es/commands/DescribeRulesetCommand.js +21 -28
  25. package/dist-es/commands/DescribeScheduleCommand.js +21 -28
  26. package/dist-es/commands/ListDatasetsCommand.js +21 -28
  27. package/dist-es/commands/ListJobRunsCommand.js +21 -28
  28. package/dist-es/commands/ListJobsCommand.js +21 -28
  29. package/dist-es/commands/ListProjectsCommand.js +21 -28
  30. package/dist-es/commands/ListRecipeVersionsCommand.js +21 -28
  31. package/dist-es/commands/ListRecipesCommand.js +21 -28
  32. package/dist-es/commands/ListRulesetsCommand.js +21 -28
  33. package/dist-es/commands/ListSchedulesCommand.js +21 -28
  34. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  35. package/dist-es/commands/PublishRecipeCommand.js +21 -28
  36. package/dist-es/commands/SendProjectSessionActionCommand.js +21 -28
  37. package/dist-es/commands/StartJobRunCommand.js +21 -28
  38. package/dist-es/commands/StartProjectSessionCommand.js +21 -28
  39. package/dist-es/commands/StopJobRunCommand.js +21 -28
  40. package/dist-es/commands/TagResourceCommand.js +21 -28
  41. package/dist-es/commands/UntagResourceCommand.js +21 -28
  42. package/dist-es/commands/UpdateDatasetCommand.js +21 -28
  43. package/dist-es/commands/UpdateProfileJobCommand.js +21 -28
  44. package/dist-es/commands/UpdateProjectCommand.js +21 -28
  45. package/dist-es/commands/UpdateRecipeCommand.js +21 -28
  46. package/dist-es/commands/UpdateRecipeJobCommand.js +21 -28
  47. package/dist-es/commands/UpdateRulesetCommand.js +21 -28
  48. package/dist-es/commands/UpdateScheduleCommand.js +21 -28
  49. package/dist-es/endpoints.js +8 -8
  50. package/dist-es/models/DataBrewServiceException.js +5 -10
  51. package/dist-es/models/models_0.js +476 -207
  52. package/dist-es/pagination/ListDatasetsPaginator.js +25 -68
  53. package/dist-es/pagination/ListJobRunsPaginator.js +25 -68
  54. package/dist-es/pagination/ListJobsPaginator.js +25 -68
  55. package/dist-es/pagination/ListProjectsPaginator.js +25 -68
  56. package/dist-es/pagination/ListRecipeVersionsPaginator.js +25 -68
  57. package/dist-es/pagination/ListRecipesPaginator.js +25 -68
  58. package/dist-es/pagination/ListRulesetsPaginator.js +25 -68
  59. package/dist-es/pagination/ListSchedulesPaginator.js +25 -68
  60. package/dist-es/protocols/Aws_restJson1.js +3505 -4585
  61. package/dist-es/runtimeConfig.browser.js +26 -12
  62. package/dist-es/runtimeConfig.js +30 -12
  63. package/dist-es/runtimeConfig.native.js +8 -5
  64. package/dist-es/runtimeConfig.shared.js +8 -11
  65. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
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;
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataBrewClient";
18
- var commandName = "ListTagsForResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DataBrewClient";
15
+ const commandName = "ListTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
33
- };
34
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
36
- };
37
- return ListTagsForResourceCommand;
38
- }($Command));
39
- export { ListTagsForResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PublishRecipeRequestFilterSensitiveLog, PublishRecipeResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1PublishRecipeCommand, serializeAws_restJson1PublishRecipeCommand, } from "../protocols/Aws_restJson1";
6
- var PublishRecipeCommand = (function (_super) {
7
- __extends(PublishRecipeCommand, _super);
8
- function PublishRecipeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PublishRecipeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PublishRecipeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataBrewClient";
18
- var commandName = "PublishRecipeCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DataBrewClient";
15
+ const commandName = "PublishRecipeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PublishRecipeRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PublishRecipeResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PublishRecipeCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1PublishRecipeCommand(input, context);
33
- };
34
- PublishRecipeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1PublishRecipeCommand(output, context);
36
- };
37
- return PublishRecipeCommand;
38
- }($Command));
39
- export { PublishRecipeCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { SendProjectSessionActionRequestFilterSensitiveLog, SendProjectSessionActionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1SendProjectSessionActionCommand, serializeAws_restJson1SendProjectSessionActionCommand, } from "../protocols/Aws_restJson1";
6
- var SendProjectSessionActionCommand = (function (_super) {
7
- __extends(SendProjectSessionActionCommand, _super);
8
- function SendProjectSessionActionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SendProjectSessionActionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SendProjectSessionActionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataBrewClient";
18
- var commandName = "SendProjectSessionActionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DataBrewClient";
15
+ const commandName = "SendProjectSessionActionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SendProjectSessionActionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SendProjectSessionActionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- SendProjectSessionActionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1SendProjectSessionActionCommand(input, context);
33
- };
34
- SendProjectSessionActionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1SendProjectSessionActionCommand(output, context);
36
- };
37
- return SendProjectSessionActionCommand;
38
- }($Command));
39
- export { SendProjectSessionActionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { StartJobRunRequestFilterSensitiveLog, StartJobRunResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1StartJobRunCommand, serializeAws_restJson1StartJobRunCommand, } from "../protocols/Aws_restJson1";
6
- var StartJobRunCommand = (function (_super) {
7
- __extends(StartJobRunCommand, _super);
8
- function StartJobRunCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StartJobRunCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StartJobRunCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataBrewClient";
18
- var commandName = "StartJobRunCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DataBrewClient";
15
+ const commandName = "StartJobRunCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StartJobRunRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StartJobRunResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StartJobRunCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1StartJobRunCommand(input, context);
33
- };
34
- StartJobRunCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1StartJobRunCommand(output, context);
36
- };
37
- return StartJobRunCommand;
38
- }($Command));
39
- export { StartJobRunCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { StartProjectSessionRequestFilterSensitiveLog, StartProjectSessionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1StartProjectSessionCommand, serializeAws_restJson1StartProjectSessionCommand, } from "../protocols/Aws_restJson1";
6
- var StartProjectSessionCommand = (function (_super) {
7
- __extends(StartProjectSessionCommand, _super);
8
- function StartProjectSessionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StartProjectSessionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StartProjectSessionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataBrewClient";
18
- var commandName = "StartProjectSessionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DataBrewClient";
15
+ const commandName = "StartProjectSessionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StartProjectSessionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StartProjectSessionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StartProjectSessionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1StartProjectSessionCommand(input, context);
33
- };
34
- StartProjectSessionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1StartProjectSessionCommand(output, context);
36
- };
37
- return StartProjectSessionCommand;
38
- }($Command));
39
- export { StartProjectSessionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { StopJobRunRequestFilterSensitiveLog, StopJobRunResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1StopJobRunCommand, serializeAws_restJson1StopJobRunCommand, } from "../protocols/Aws_restJson1";
6
- var StopJobRunCommand = (function (_super) {
7
- __extends(StopJobRunCommand, _super);
8
- function StopJobRunCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class StopJobRunCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- StopJobRunCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataBrewClient";
18
- var commandName = "StopJobRunCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DataBrewClient";
15
+ const commandName = "StopJobRunCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: StopJobRunRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: StopJobRunResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- StopJobRunCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1StopJobRunCommand(input, context);
33
- };
34
- StopJobRunCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1StopJobRunCommand(output, context);
36
- };
37
- return StopJobRunCommand;
38
- }($Command));
39
- export { StopJobRunCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
6
- var TagResourceCommand = (function (_super) {
7
- __extends(TagResourceCommand, _super);
8
- function TagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class TagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataBrewClient";
18
- var commandName = "TagResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DataBrewClient";
15
+ const commandName = "TagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- TagResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1TagResourceCommand(input, context);
33
- };
34
- TagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1TagResourceCommand(output, context);
36
- };
37
- return TagResourceCommand;
38
- }($Command));
39
- export { TagResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
6
- var UntagResourceCommand = (function (_super) {
7
- __extends(UntagResourceCommand, _super);
8
- function UntagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UntagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataBrewClient";
18
- var commandName = "UntagResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DataBrewClient";
15
+ const commandName = "UntagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UntagResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UntagResourceCommand(input, context);
33
- };
34
- UntagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UntagResourceCommand(output, context);
36
- };
37
- return UntagResourceCommand;
38
- }($Command));
39
- export { UntagResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateDatasetRequestFilterSensitiveLog, UpdateDatasetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateDatasetCommand, serializeAws_restJson1UpdateDatasetCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateDatasetCommand = (function (_super) {
7
- __extends(UpdateDatasetCommand, _super);
8
- function UpdateDatasetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateDatasetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateDatasetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataBrewClient";
18
- var commandName = "UpdateDatasetCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DataBrewClient";
15
+ const commandName = "UpdateDatasetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateDatasetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateDatasetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateDatasetCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateDatasetCommand(input, context);
33
- };
34
- UpdateDatasetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateDatasetCommand(output, context);
36
- };
37
- return UpdateDatasetCommand;
38
- }($Command));
39
- export { UpdateDatasetCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateProfileJobRequestFilterSensitiveLog, UpdateProfileJobResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1UpdateProfileJobCommand, serializeAws_restJson1UpdateProfileJobCommand, } from "../protocols/Aws_restJson1";
6
- var UpdateProfileJobCommand = (function (_super) {
7
- __extends(UpdateProfileJobCommand, _super);
8
- function UpdateProfileJobCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UpdateProfileJobCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateProfileJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DataBrewClient";
18
- var commandName = "UpdateProfileJobCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DataBrewClient";
15
+ const commandName = "UpdateProfileJobCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateProfileJobRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateProfileJobResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UpdateProfileJobCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1UpdateProfileJobCommand(input, context);
33
- };
34
- UpdateProfileJobCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1UpdateProfileJobCommand(output, context);
36
- };
37
- return UpdateProfileJobCommand;
38
- }($Command));
39
- export { UpdateProfileJobCommand };
31
+ }
32
+ }