@aws-sdk/client-sfn 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 (40) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist-cjs/protocols/Aws_json1_0.js +29 -23
  3. package/dist-es/SFN.js +94 -101
  4. package/dist-es/SFNClient.js +22 -28
  5. package/dist-es/commands/CreateActivityCommand.js +21 -28
  6. package/dist-es/commands/CreateStateMachineCommand.js +21 -28
  7. package/dist-es/commands/DeleteActivityCommand.js +21 -28
  8. package/dist-es/commands/DeleteStateMachineCommand.js +21 -28
  9. package/dist-es/commands/DescribeActivityCommand.js +21 -28
  10. package/dist-es/commands/DescribeExecutionCommand.js +21 -28
  11. package/dist-es/commands/DescribeStateMachineCommand.js +21 -28
  12. package/dist-es/commands/DescribeStateMachineForExecutionCommand.js +21 -28
  13. package/dist-es/commands/GetActivityTaskCommand.js +21 -28
  14. package/dist-es/commands/GetExecutionHistoryCommand.js +21 -28
  15. package/dist-es/commands/ListActivitiesCommand.js +21 -28
  16. package/dist-es/commands/ListExecutionsCommand.js +21 -28
  17. package/dist-es/commands/ListStateMachinesCommand.js +21 -28
  18. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  19. package/dist-es/commands/SendTaskFailureCommand.js +21 -28
  20. package/dist-es/commands/SendTaskHeartbeatCommand.js +21 -28
  21. package/dist-es/commands/SendTaskSuccessCommand.js +21 -28
  22. package/dist-es/commands/StartExecutionCommand.js +21 -28
  23. package/dist-es/commands/StartSyncExecutionCommand.js +21 -28
  24. package/dist-es/commands/StopExecutionCommand.js +21 -28
  25. package/dist-es/commands/TagResourceCommand.js +21 -28
  26. package/dist-es/commands/UntagResourceCommand.js +21 -28
  27. package/dist-es/commands/UpdateStateMachineCommand.js +21 -28
  28. package/dist-es/endpoints.js +8 -8
  29. package/dist-es/models/SFNServiceException.js +5 -10
  30. package/dist-es/models/models_0.js +660 -404
  31. package/dist-es/pagination/GetExecutionHistoryPaginator.js +25 -68
  32. package/dist-es/pagination/ListActivitiesPaginator.js +25 -68
  33. package/dist-es/pagination/ListExecutionsPaginator.js +25 -68
  34. package/dist-es/pagination/ListStateMachinesPaginator.js +25 -68
  35. package/dist-es/protocols/Aws_json1_0.js +1656 -2090
  36. package/dist-es/runtimeConfig.browser.js +26 -12
  37. package/dist-es/runtimeConfig.js +30 -12
  38. package/dist-es/runtimeConfig.native.js +8 -5
  39. package/dist-es/runtimeConfig.shared.js +8 -11
  40. 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 { DeleteActivityInputFilterSensitiveLog, DeleteActivityOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteActivityCommand, serializeAws_json1_0DeleteActivityCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteActivityCommand = (function (_super) {
7
- __extends(DeleteActivityCommand, _super);
8
- function DeleteActivityCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteActivityCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteActivityCommand.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 = "SFNClient";
18
- var commandName = "DeleteActivityCommand";
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 = "SFNClient";
15
+ const commandName = "DeleteActivityCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteActivityInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteActivityOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteActivityCommand.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_json1_0DeleteActivityCommand(input, context);
33
- };
34
- DeleteActivityCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteActivityCommand(output, context);
36
- };
37
- return DeleteActivityCommand;
38
- }($Command));
39
- export { DeleteActivityCommand };
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 { DeleteStateMachineInputFilterSensitiveLog, DeleteStateMachineOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DeleteStateMachineCommand, serializeAws_json1_0DeleteStateMachineCommand, } from "../protocols/Aws_json1_0";
6
- var DeleteStateMachineCommand = (function (_super) {
7
- __extends(DeleteStateMachineCommand, _super);
8
- function DeleteStateMachineCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteStateMachineCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteStateMachineCommand.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 = "SFNClient";
18
- var commandName = "DeleteStateMachineCommand";
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 = "SFNClient";
15
+ const commandName = "DeleteStateMachineCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteStateMachineInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteStateMachineOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteStateMachineCommand.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_json1_0DeleteStateMachineCommand(input, context);
33
- };
34
- DeleteStateMachineCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DeleteStateMachineCommand(output, context);
36
- };
37
- return DeleteStateMachineCommand;
38
- }($Command));
39
- export { DeleteStateMachineCommand };
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 { DescribeActivityInputFilterSensitiveLog, DescribeActivityOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeActivityCommand, serializeAws_json1_0DescribeActivityCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeActivityCommand = (function (_super) {
7
- __extends(DescribeActivityCommand, _super);
8
- function DescribeActivityCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeActivityCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeActivityCommand.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 = "SFNClient";
18
- var commandName = "DescribeActivityCommand";
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 = "SFNClient";
15
+ const commandName = "DescribeActivityCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeActivityInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeActivityOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeActivityCommand.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_json1_0DescribeActivityCommand(input, context);
33
- };
34
- DescribeActivityCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeActivityCommand(output, context);
36
- };
37
- return DescribeActivityCommand;
38
- }($Command));
39
- export { DescribeActivityCommand };
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 { DescribeExecutionInputFilterSensitiveLog, DescribeExecutionOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeExecutionCommand, serializeAws_json1_0DescribeExecutionCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeExecutionCommand = (function (_super) {
7
- __extends(DescribeExecutionCommand, _super);
8
- function DescribeExecutionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeExecutionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeExecutionCommand.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 = "SFNClient";
18
- var commandName = "DescribeExecutionCommand";
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 = "SFNClient";
15
+ const commandName = "DescribeExecutionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeExecutionInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeExecutionOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeExecutionCommand.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_json1_0DescribeExecutionCommand(input, context);
33
- };
34
- DescribeExecutionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeExecutionCommand(output, context);
36
- };
37
- return DescribeExecutionCommand;
38
- }($Command));
39
- export { DescribeExecutionCommand };
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 { DescribeStateMachineInputFilterSensitiveLog, DescribeStateMachineOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeStateMachineCommand, serializeAws_json1_0DescribeStateMachineCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeStateMachineCommand = (function (_super) {
7
- __extends(DescribeStateMachineCommand, _super);
8
- function DescribeStateMachineCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeStateMachineCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeStateMachineCommand.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 = "SFNClient";
18
- var commandName = "DescribeStateMachineCommand";
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 = "SFNClient";
15
+ const commandName = "DescribeStateMachineCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeStateMachineInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeStateMachineOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeStateMachineCommand.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_json1_0DescribeStateMachineCommand(input, context);
33
- };
34
- DescribeStateMachineCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeStateMachineCommand(output, context);
36
- };
37
- return DescribeStateMachineCommand;
38
- }($Command));
39
- export { DescribeStateMachineCommand };
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 { DescribeStateMachineForExecutionInputFilterSensitiveLog, DescribeStateMachineForExecutionOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeStateMachineForExecutionCommand, serializeAws_json1_0DescribeStateMachineForExecutionCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeStateMachineForExecutionCommand = (function (_super) {
7
- __extends(DescribeStateMachineForExecutionCommand, _super);
8
- function DescribeStateMachineForExecutionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeStateMachineForExecutionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeStateMachineForExecutionCommand.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 = "SFNClient";
18
- var commandName = "DescribeStateMachineForExecutionCommand";
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 = "SFNClient";
15
+ const commandName = "DescribeStateMachineForExecutionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeStateMachineForExecutionInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeStateMachineForExecutionOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeStateMachineForExecutionCommand.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_json1_0DescribeStateMachineForExecutionCommand(input, context);
33
- };
34
- DescribeStateMachineForExecutionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeStateMachineForExecutionCommand(output, context);
36
- };
37
- return DescribeStateMachineForExecutionCommand;
38
- }($Command));
39
- export { DescribeStateMachineForExecutionCommand };
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 { GetActivityTaskInputFilterSensitiveLog, GetActivityTaskOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetActivityTaskCommand, serializeAws_json1_0GetActivityTaskCommand, } from "../protocols/Aws_json1_0";
6
- var GetActivityTaskCommand = (function (_super) {
7
- __extends(GetActivityTaskCommand, _super);
8
- function GetActivityTaskCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetActivityTaskCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetActivityTaskCommand.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 = "SFNClient";
18
- var commandName = "GetActivityTaskCommand";
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 = "SFNClient";
15
+ const commandName = "GetActivityTaskCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetActivityTaskInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetActivityTaskOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetActivityTaskCommand.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_json1_0GetActivityTaskCommand(input, context);
33
- };
34
- GetActivityTaskCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetActivityTaskCommand(output, context);
36
- };
37
- return GetActivityTaskCommand;
38
- }($Command));
39
- export { GetActivityTaskCommand };
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 { GetExecutionHistoryInputFilterSensitiveLog, GetExecutionHistoryOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0GetExecutionHistoryCommand, serializeAws_json1_0GetExecutionHistoryCommand, } from "../protocols/Aws_json1_0";
6
- var GetExecutionHistoryCommand = (function (_super) {
7
- __extends(GetExecutionHistoryCommand, _super);
8
- function GetExecutionHistoryCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetExecutionHistoryCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetExecutionHistoryCommand.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 = "SFNClient";
18
- var commandName = "GetExecutionHistoryCommand";
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 = "SFNClient";
15
+ const commandName = "GetExecutionHistoryCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetExecutionHistoryInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetExecutionHistoryOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetExecutionHistoryCommand.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_json1_0GetExecutionHistoryCommand(input, context);
33
- };
34
- GetExecutionHistoryCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0GetExecutionHistoryCommand(output, context);
36
- };
37
- return GetExecutionHistoryCommand;
38
- }($Command));
39
- export { GetExecutionHistoryCommand };
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 { ListActivitiesInputFilterSensitiveLog, ListActivitiesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ListActivitiesCommand, serializeAws_json1_0ListActivitiesCommand, } from "../protocols/Aws_json1_0";
6
- var ListActivitiesCommand = (function (_super) {
7
- __extends(ListActivitiesCommand, _super);
8
- function ListActivitiesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListActivitiesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListActivitiesCommand.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 = "SFNClient";
18
- var commandName = "ListActivitiesCommand";
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 = "SFNClient";
15
+ const commandName = "ListActivitiesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListActivitiesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListActivitiesOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListActivitiesCommand.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_json1_0ListActivitiesCommand(input, context);
33
- };
34
- ListActivitiesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ListActivitiesCommand(output, context);
36
- };
37
- return ListActivitiesCommand;
38
- }($Command));
39
- export { ListActivitiesCommand };
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 { ListExecutionsInputFilterSensitiveLog, ListExecutionsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0ListExecutionsCommand, serializeAws_json1_0ListExecutionsCommand, } from "../protocols/Aws_json1_0";
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;
5
+ export class ListExecutionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListExecutionsCommand.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 = "SFNClient";
18
- var commandName = "ListExecutionsCommand";
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 = "SFNClient";
15
+ const commandName = "ListExecutionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListExecutionsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListExecutionsOutputFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0ListExecutionsCommand(input, context);
33
- };
34
- ListExecutionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0ListExecutionsCommand(output, context);
36
- };
37
- return ListExecutionsCommand;
38
- }($Command));
39
- export { ListExecutionsCommand };
31
+ }
32
+ }