@aws-sdk/client-sfn 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 (40) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_json1_0.js +2 -2
  3. package/dist-es/SFN.js +101 -94
  4. package/dist-es/SFNClient.js +28 -22
  5. package/dist-es/commands/CreateActivityCommand.js +28 -21
  6. package/dist-es/commands/CreateStateMachineCommand.js +28 -21
  7. package/dist-es/commands/DeleteActivityCommand.js +28 -21
  8. package/dist-es/commands/DeleteStateMachineCommand.js +28 -21
  9. package/dist-es/commands/DescribeActivityCommand.js +28 -21
  10. package/dist-es/commands/DescribeExecutionCommand.js +28 -21
  11. package/dist-es/commands/DescribeStateMachineCommand.js +28 -21
  12. package/dist-es/commands/DescribeStateMachineForExecutionCommand.js +28 -21
  13. package/dist-es/commands/GetActivityTaskCommand.js +28 -21
  14. package/dist-es/commands/GetExecutionHistoryCommand.js +28 -21
  15. package/dist-es/commands/ListActivitiesCommand.js +28 -21
  16. package/dist-es/commands/ListExecutionsCommand.js +28 -21
  17. package/dist-es/commands/ListStateMachinesCommand.js +28 -21
  18. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  19. package/dist-es/commands/SendTaskFailureCommand.js +28 -21
  20. package/dist-es/commands/SendTaskHeartbeatCommand.js +28 -21
  21. package/dist-es/commands/SendTaskSuccessCommand.js +28 -21
  22. package/dist-es/commands/StartExecutionCommand.js +28 -21
  23. package/dist-es/commands/StartSyncExecutionCommand.js +28 -21
  24. package/dist-es/commands/StopExecutionCommand.js +28 -21
  25. package/dist-es/commands/TagResourceCommand.js +28 -21
  26. package/dist-es/commands/UntagResourceCommand.js +28 -21
  27. package/dist-es/commands/UpdateStateMachineCommand.js +28 -21
  28. package/dist-es/endpoints.js +8 -8
  29. package/dist-es/models/SFNServiceException.js +10 -5
  30. package/dist-es/models/models_0.js +404 -660
  31. package/dist-es/pagination/GetExecutionHistoryPaginator.js +68 -25
  32. package/dist-es/pagination/ListActivitiesPaginator.js +68 -25
  33. package/dist-es/pagination/ListExecutionsPaginator.js +68 -25
  34. package/dist-es/pagination/ListStateMachinesPaginator.js +68 -25
  35. package/dist-es/protocols/Aws_json1_0.js +2103 -1656
  36. package/dist-es/runtimeConfig.browser.js +12 -26
  37. package/dist-es/runtimeConfig.js +12 -30
  38. package/dist-es/runtimeConfig.native.js +5 -8
  39. package/dist-es/runtimeConfig.shared.js +11 -8
  40. 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 { ListExecutionsInputFilterSensitiveLog, ListExecutionsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0ListExecutionsCommand, serializeAws_json1_0ListExecutionsCommand, } from "../protocols/Aws_json1_0";
5
- export class ListExecutionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListExecutionsCommand = (function (_super) {
7
+ __extends(ListExecutionsCommand, _super);
8
+ function ListExecutionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListExecutionsCommand.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 = "SFNClient";
15
- const commandName = "ListExecutionsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SFNClient";
18
+ var commandName = "ListExecutionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListExecutionsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListExecutionsOutputFilterSensitiveLog,
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
+ ListExecutionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0ListExecutionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListExecutionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0ListExecutionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListExecutionsCommand;
38
+ }($Command));
39
+ export { ListExecutionsCommand };
@@ -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 { ListStateMachinesInputFilterSensitiveLog, ListStateMachinesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0ListStateMachinesCommand, serializeAws_json1_0ListStateMachinesCommand, } from "../protocols/Aws_json1_0";
5
- export class ListStateMachinesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListStateMachinesCommand = (function (_super) {
7
+ __extends(ListStateMachinesCommand, _super);
8
+ function ListStateMachinesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListStateMachinesCommand.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 = "SFNClient";
15
- const commandName = "ListStateMachinesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SFNClient";
18
+ var commandName = "ListStateMachinesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListStateMachinesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListStateMachinesOutputFilterSensitiveLog,
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
+ ListStateMachinesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0ListStateMachinesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListStateMachinesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0ListStateMachinesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListStateMachinesCommand;
38
+ }($Command));
39
+ export { ListStateMachinesCommand };
@@ -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 { ListTagsForResourceInputFilterSensitiveLog, ListTagsForResourceOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0ListTagsForResourceCommand, serializeAws_json1_0ListTagsForResourceCommand, } from "../protocols/Aws_json1_0";
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 = "SFNClient";
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 = "SFNClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceOutputFilterSensitiveLog,
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_json1_0ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -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 { SendTaskFailureInputFilterSensitiveLog, SendTaskFailureOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0SendTaskFailureCommand, serializeAws_json1_0SendTaskFailureCommand, } from "../protocols/Aws_json1_0";
5
- export class SendTaskFailureCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SendTaskFailureCommand = (function (_super) {
7
+ __extends(SendTaskFailureCommand, _super);
8
+ function SendTaskFailureCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SendTaskFailureCommand.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 = "SFNClient";
15
- const commandName = "SendTaskFailureCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SFNClient";
18
+ var commandName = "SendTaskFailureCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SendTaskFailureInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SendTaskFailureOutputFilterSensitiveLog,
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
+ SendTaskFailureCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0SendTaskFailureCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SendTaskFailureCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0SendTaskFailureCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SendTaskFailureCommand;
38
+ }($Command));
39
+ export { SendTaskFailureCommand };
@@ -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 { SendTaskHeartbeatInputFilterSensitiveLog, SendTaskHeartbeatOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0SendTaskHeartbeatCommand, serializeAws_json1_0SendTaskHeartbeatCommand, } from "../protocols/Aws_json1_0";
5
- export class SendTaskHeartbeatCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SendTaskHeartbeatCommand = (function (_super) {
7
+ __extends(SendTaskHeartbeatCommand, _super);
8
+ function SendTaskHeartbeatCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SendTaskHeartbeatCommand.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 = "SFNClient";
15
- const commandName = "SendTaskHeartbeatCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SFNClient";
18
+ var commandName = "SendTaskHeartbeatCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SendTaskHeartbeatInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SendTaskHeartbeatOutputFilterSensitiveLog,
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
+ SendTaskHeartbeatCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0SendTaskHeartbeatCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SendTaskHeartbeatCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0SendTaskHeartbeatCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SendTaskHeartbeatCommand;
38
+ }($Command));
39
+ export { SendTaskHeartbeatCommand };
@@ -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 { SendTaskSuccessInputFilterSensitiveLog, SendTaskSuccessOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0SendTaskSuccessCommand, serializeAws_json1_0SendTaskSuccessCommand, } from "../protocols/Aws_json1_0";
5
- export class SendTaskSuccessCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SendTaskSuccessCommand = (function (_super) {
7
+ __extends(SendTaskSuccessCommand, _super);
8
+ function SendTaskSuccessCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SendTaskSuccessCommand.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 = "SFNClient";
15
- const commandName = "SendTaskSuccessCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SFNClient";
18
+ var commandName = "SendTaskSuccessCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SendTaskSuccessInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: SendTaskSuccessOutputFilterSensitiveLog,
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
+ SendTaskSuccessCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0SendTaskSuccessCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SendTaskSuccessCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0SendTaskSuccessCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SendTaskSuccessCommand;
38
+ }($Command));
39
+ export { SendTaskSuccessCommand };
@@ -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 { StartExecutionInputFilterSensitiveLog, StartExecutionOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0StartExecutionCommand, serializeAws_json1_0StartExecutionCommand, } from "../protocols/Aws_json1_0";
5
- export class StartExecutionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartExecutionCommand = (function (_super) {
7
+ __extends(StartExecutionCommand, _super);
8
+ function StartExecutionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartExecutionCommand.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 = "SFNClient";
15
- const commandName = "StartExecutionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SFNClient";
18
+ var commandName = "StartExecutionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartExecutionInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartExecutionOutputFilterSensitiveLog,
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
+ StartExecutionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0StartExecutionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartExecutionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0StartExecutionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartExecutionCommand;
38
+ }($Command));
39
+ export { StartExecutionCommand };
@@ -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 { StartSyncExecutionInputFilterSensitiveLog, StartSyncExecutionOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0StartSyncExecutionCommand, serializeAws_json1_0StartSyncExecutionCommand, } from "../protocols/Aws_json1_0";
5
- export class StartSyncExecutionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartSyncExecutionCommand = (function (_super) {
7
+ __extends(StartSyncExecutionCommand, _super);
8
+ function StartSyncExecutionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartSyncExecutionCommand.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 = "SFNClient";
15
- const commandName = "StartSyncExecutionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SFNClient";
18
+ var commandName = "StartSyncExecutionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartSyncExecutionInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartSyncExecutionOutputFilterSensitiveLog,
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
+ StartSyncExecutionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0StartSyncExecutionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartSyncExecutionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0StartSyncExecutionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartSyncExecutionCommand;
38
+ }($Command));
39
+ export { StartSyncExecutionCommand };
@@ -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 { StopExecutionInputFilterSensitiveLog, StopExecutionOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0StopExecutionCommand, serializeAws_json1_0StopExecutionCommand, } from "../protocols/Aws_json1_0";
5
- export class StopExecutionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StopExecutionCommand = (function (_super) {
7
+ __extends(StopExecutionCommand, _super);
8
+ function StopExecutionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StopExecutionCommand.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 = "SFNClient";
15
- const commandName = "StopExecutionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SFNClient";
18
+ var commandName = "StopExecutionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StopExecutionInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StopExecutionOutputFilterSensitiveLog,
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
+ StopExecutionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0StopExecutionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StopExecutionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0StopExecutionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StopExecutionCommand;
38
+ }($Command));
39
+ export { StopExecutionCommand };
@@ -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 { TagResourceInputFilterSensitiveLog, TagResourceOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0TagResourceCommand, serializeAws_json1_0TagResourceCommand, } from "../protocols/Aws_json1_0";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.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 = "SFNClient";
15
- const commandName = "TagResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SFNClient";
18
+ var commandName = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TagResourceOutputFilterSensitiveLog,
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
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };