@aws-sdk/client-swf 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 (57) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_json1_0.js +2 -2
  3. package/dist-es/SWF.js +157 -150
  4. package/dist-es/SWFClient.js +28 -22
  5. package/dist-es/commands/CountClosedWorkflowExecutionsCommand.js +28 -21
  6. package/dist-es/commands/CountOpenWorkflowExecutionsCommand.js +28 -21
  7. package/dist-es/commands/CountPendingActivityTasksCommand.js +28 -21
  8. package/dist-es/commands/CountPendingDecisionTasksCommand.js +28 -21
  9. package/dist-es/commands/DeprecateActivityTypeCommand.js +29 -22
  10. package/dist-es/commands/DeprecateDomainCommand.js +29 -22
  11. package/dist-es/commands/DeprecateWorkflowTypeCommand.js +29 -22
  12. package/dist-es/commands/DescribeActivityTypeCommand.js +28 -21
  13. package/dist-es/commands/DescribeDomainCommand.js +28 -21
  14. package/dist-es/commands/DescribeWorkflowExecutionCommand.js +28 -21
  15. package/dist-es/commands/DescribeWorkflowTypeCommand.js +28 -21
  16. package/dist-es/commands/GetWorkflowExecutionHistoryCommand.js +28 -21
  17. package/dist-es/commands/ListActivityTypesCommand.js +28 -21
  18. package/dist-es/commands/ListClosedWorkflowExecutionsCommand.js +28 -21
  19. package/dist-es/commands/ListDomainsCommand.js +28 -21
  20. package/dist-es/commands/ListOpenWorkflowExecutionsCommand.js +28 -21
  21. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  22. package/dist-es/commands/ListWorkflowTypesCommand.js +28 -21
  23. package/dist-es/commands/PollForActivityTaskCommand.js +28 -21
  24. package/dist-es/commands/PollForDecisionTaskCommand.js +28 -21
  25. package/dist-es/commands/RecordActivityTaskHeartbeatCommand.js +28 -21
  26. package/dist-es/commands/RegisterActivityTypeCommand.js +29 -22
  27. package/dist-es/commands/RegisterDomainCommand.js +29 -22
  28. package/dist-es/commands/RegisterWorkflowTypeCommand.js +29 -22
  29. package/dist-es/commands/RequestCancelWorkflowExecutionCommand.js +29 -22
  30. package/dist-es/commands/RespondActivityTaskCanceledCommand.js +29 -22
  31. package/dist-es/commands/RespondActivityTaskCompletedCommand.js +29 -22
  32. package/dist-es/commands/RespondActivityTaskFailedCommand.js +29 -22
  33. package/dist-es/commands/RespondDecisionTaskCompletedCommand.js +29 -22
  34. package/dist-es/commands/SignalWorkflowExecutionCommand.js +29 -22
  35. package/dist-es/commands/StartWorkflowExecutionCommand.js +28 -21
  36. package/dist-es/commands/TagResourceCommand.js +29 -22
  37. package/dist-es/commands/TerminateWorkflowExecutionCommand.js +29 -22
  38. package/dist-es/commands/UndeprecateActivityTypeCommand.js +29 -22
  39. package/dist-es/commands/UndeprecateDomainCommand.js +29 -22
  40. package/dist-es/commands/UndeprecateWorkflowTypeCommand.js +29 -22
  41. package/dist-es/commands/UntagResourceCommand.js +29 -22
  42. package/dist-es/endpoints.js +8 -8
  43. package/dist-es/models/SWFServiceException.js +10 -5
  44. package/dist-es/models/models_0.js +252 -533
  45. package/dist-es/pagination/GetWorkflowExecutionHistoryPaginator.js +68 -25
  46. package/dist-es/pagination/ListActivityTypesPaginator.js +68 -25
  47. package/dist-es/pagination/ListClosedWorkflowExecutionsPaginator.js +68 -25
  48. package/dist-es/pagination/ListDomainsPaginator.js +68 -25
  49. package/dist-es/pagination/ListOpenWorkflowExecutionsPaginator.js +68 -25
  50. package/dist-es/pagination/ListWorkflowTypesPaginator.js +68 -25
  51. package/dist-es/pagination/PollForDecisionTaskPaginator.js +68 -25
  52. package/dist-es/protocols/Aws_json1_0.js +3017 -2433
  53. package/dist-es/runtimeConfig.browser.js +12 -26
  54. package/dist-es/runtimeConfig.js +12 -30
  55. package/dist-es/runtimeConfig.native.js +5 -8
  56. package/dist-es/runtimeConfig.shared.js +11 -8
  57. package/package.json +33 -33
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class SWFClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var SWFClient = (function (_super) {
13
+ __extends(SWFClient, _super);
14
+ function SWFClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ SWFClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return SWFClient;
38
+ }(__Client));
39
+ export { SWFClient };
@@ -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 { CountClosedWorkflowExecutionsInputFilterSensitiveLog, WorkflowExecutionCountFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0CountClosedWorkflowExecutionsCommand, serializeAws_json1_0CountClosedWorkflowExecutionsCommand, } from "../protocols/Aws_json1_0";
5
- export class CountClosedWorkflowExecutionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CountClosedWorkflowExecutionsCommand = (function (_super) {
7
+ __extends(CountClosedWorkflowExecutionsCommand, _super);
8
+ function CountClosedWorkflowExecutionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CountClosedWorkflowExecutionsCommand.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 = "SWFClient";
15
- const commandName = "CountClosedWorkflowExecutionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SWFClient";
18
+ var commandName = "CountClosedWorkflowExecutionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CountClosedWorkflowExecutionsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: WorkflowExecutionCountFilterSensitiveLog,
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
+ CountClosedWorkflowExecutionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0CountClosedWorkflowExecutionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CountClosedWorkflowExecutionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0CountClosedWorkflowExecutionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CountClosedWorkflowExecutionsCommand;
38
+ }($Command));
39
+ export { CountClosedWorkflowExecutionsCommand };
@@ -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 { CountOpenWorkflowExecutionsInputFilterSensitiveLog, WorkflowExecutionCountFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0CountOpenWorkflowExecutionsCommand, serializeAws_json1_0CountOpenWorkflowExecutionsCommand, } from "../protocols/Aws_json1_0";
5
- export class CountOpenWorkflowExecutionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CountOpenWorkflowExecutionsCommand = (function (_super) {
7
+ __extends(CountOpenWorkflowExecutionsCommand, _super);
8
+ function CountOpenWorkflowExecutionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CountOpenWorkflowExecutionsCommand.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 = "SWFClient";
15
- const commandName = "CountOpenWorkflowExecutionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SWFClient";
18
+ var commandName = "CountOpenWorkflowExecutionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CountOpenWorkflowExecutionsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: WorkflowExecutionCountFilterSensitiveLog,
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
+ CountOpenWorkflowExecutionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0CountOpenWorkflowExecutionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CountOpenWorkflowExecutionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0CountOpenWorkflowExecutionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CountOpenWorkflowExecutionsCommand;
38
+ }($Command));
39
+ export { CountOpenWorkflowExecutionsCommand };
@@ -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 { CountPendingActivityTasksInputFilterSensitiveLog, PendingTaskCountFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0CountPendingActivityTasksCommand, serializeAws_json1_0CountPendingActivityTasksCommand, } from "../protocols/Aws_json1_0";
5
- export class CountPendingActivityTasksCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CountPendingActivityTasksCommand = (function (_super) {
7
+ __extends(CountPendingActivityTasksCommand, _super);
8
+ function CountPendingActivityTasksCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CountPendingActivityTasksCommand.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 = "SWFClient";
15
- const commandName = "CountPendingActivityTasksCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SWFClient";
18
+ var commandName = "CountPendingActivityTasksCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CountPendingActivityTasksInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PendingTaskCountFilterSensitiveLog,
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
+ CountPendingActivityTasksCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0CountPendingActivityTasksCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CountPendingActivityTasksCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0CountPendingActivityTasksCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CountPendingActivityTasksCommand;
38
+ }($Command));
39
+ export { CountPendingActivityTasksCommand };
@@ -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 { CountPendingDecisionTasksInputFilterSensitiveLog, PendingTaskCountFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0CountPendingDecisionTasksCommand, serializeAws_json1_0CountPendingDecisionTasksCommand, } from "../protocols/Aws_json1_0";
5
- export class CountPendingDecisionTasksCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CountPendingDecisionTasksCommand = (function (_super) {
7
+ __extends(CountPendingDecisionTasksCommand, _super);
8
+ function CountPendingDecisionTasksCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CountPendingDecisionTasksCommand.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 = "SWFClient";
15
- const commandName = "CountPendingDecisionTasksCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SWFClient";
18
+ var commandName = "CountPendingDecisionTasksCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CountPendingDecisionTasksInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PendingTaskCountFilterSensitiveLog,
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
+ CountPendingDecisionTasksCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0CountPendingDecisionTasksCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CountPendingDecisionTasksCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0CountPendingDecisionTasksCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CountPendingDecisionTasksCommand;
38
+ }($Command));
39
+ export { CountPendingDecisionTasksCommand };
@@ -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 { DeprecateActivityTypeInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DeprecateActivityTypeCommand, serializeAws_json1_0DeprecateActivityTypeCommand, } from "../protocols/Aws_json1_0";
5
- export class DeprecateActivityTypeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeprecateActivityTypeCommand = (function (_super) {
7
+ __extends(DeprecateActivityTypeCommand, _super);
8
+ function DeprecateActivityTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeprecateActivityTypeCommand.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 = "SWFClient";
15
- const commandName = "DeprecateActivityTypeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SWFClient";
18
+ var commandName = "DeprecateActivityTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeprecateActivityTypeInputFilterSensitiveLog,
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
+ DeprecateActivityTypeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DeprecateActivityTypeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeprecateActivityTypeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DeprecateActivityTypeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeprecateActivityTypeCommand;
38
+ }($Command));
39
+ export { DeprecateActivityTypeCommand };
@@ -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 { DeprecateDomainInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DeprecateDomainCommand, serializeAws_json1_0DeprecateDomainCommand, } from "../protocols/Aws_json1_0";
5
- export class DeprecateDomainCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeprecateDomainCommand = (function (_super) {
7
+ __extends(DeprecateDomainCommand, _super);
8
+ function DeprecateDomainCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeprecateDomainCommand.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 = "SWFClient";
15
- const commandName = "DeprecateDomainCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SWFClient";
18
+ var commandName = "DeprecateDomainCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeprecateDomainInputFilterSensitiveLog,
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
+ DeprecateDomainCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DeprecateDomainCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeprecateDomainCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DeprecateDomainCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeprecateDomainCommand;
38
+ }($Command));
39
+ export { DeprecateDomainCommand };
@@ -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 { DeprecateWorkflowTypeInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DeprecateWorkflowTypeCommand, serializeAws_json1_0DeprecateWorkflowTypeCommand, } from "../protocols/Aws_json1_0";
5
- export class DeprecateWorkflowTypeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeprecateWorkflowTypeCommand = (function (_super) {
7
+ __extends(DeprecateWorkflowTypeCommand, _super);
8
+ function DeprecateWorkflowTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeprecateWorkflowTypeCommand.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 = "SWFClient";
15
- const commandName = "DeprecateWorkflowTypeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SWFClient";
18
+ var commandName = "DeprecateWorkflowTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeprecateWorkflowTypeInputFilterSensitiveLog,
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
+ DeprecateWorkflowTypeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DeprecateWorkflowTypeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeprecateWorkflowTypeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DeprecateWorkflowTypeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeprecateWorkflowTypeCommand;
38
+ }($Command));
39
+ export { DeprecateWorkflowTypeCommand };
@@ -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 { ActivityTypeDetailFilterSensitiveLog, DescribeActivityTypeInputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DescribeActivityTypeCommand, serializeAws_json1_0DescribeActivityTypeCommand, } from "../protocols/Aws_json1_0";
5
- export class DescribeActivityTypeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeActivityTypeCommand = (function (_super) {
7
+ __extends(DescribeActivityTypeCommand, _super);
8
+ function DescribeActivityTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeActivityTypeCommand.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 = "SWFClient";
15
- const commandName = "DescribeActivityTypeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SWFClient";
18
+ var commandName = "DescribeActivityTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeActivityTypeInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ActivityTypeDetailFilterSensitiveLog,
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
+ DescribeActivityTypeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DescribeActivityTypeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeActivityTypeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DescribeActivityTypeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeActivityTypeCommand;
38
+ }($Command));
39
+ export { DescribeActivityTypeCommand };
@@ -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 { DescribeDomainInputFilterSensitiveLog, DomainDetailFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DescribeDomainCommand, serializeAws_json1_0DescribeDomainCommand, } from "../protocols/Aws_json1_0";
5
- export class DescribeDomainCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeDomainCommand = (function (_super) {
7
+ __extends(DescribeDomainCommand, _super);
8
+ function DescribeDomainCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeDomainCommand.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 = "SWFClient";
15
- const commandName = "DescribeDomainCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SWFClient";
18
+ var commandName = "DescribeDomainCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeDomainInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DomainDetailFilterSensitiveLog,
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
+ DescribeDomainCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DescribeDomainCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeDomainCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DescribeDomainCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeDomainCommand;
38
+ }($Command));
39
+ export { DescribeDomainCommand };