@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.
- package/CHANGELOG.md +19 -0
- package/dist-cjs/protocols/Aws_json1_0.js +2 -2
- package/dist-es/SWF.js +157 -150
- package/dist-es/SWFClient.js +28 -22
- package/dist-es/commands/CountClosedWorkflowExecutionsCommand.js +28 -21
- package/dist-es/commands/CountOpenWorkflowExecutionsCommand.js +28 -21
- package/dist-es/commands/CountPendingActivityTasksCommand.js +28 -21
- package/dist-es/commands/CountPendingDecisionTasksCommand.js +28 -21
- package/dist-es/commands/DeprecateActivityTypeCommand.js +29 -22
- package/dist-es/commands/DeprecateDomainCommand.js +29 -22
- package/dist-es/commands/DeprecateWorkflowTypeCommand.js +29 -22
- package/dist-es/commands/DescribeActivityTypeCommand.js +28 -21
- package/dist-es/commands/DescribeDomainCommand.js +28 -21
- package/dist-es/commands/DescribeWorkflowExecutionCommand.js +28 -21
- package/dist-es/commands/DescribeWorkflowTypeCommand.js +28 -21
- package/dist-es/commands/GetWorkflowExecutionHistoryCommand.js +28 -21
- package/dist-es/commands/ListActivityTypesCommand.js +28 -21
- package/dist-es/commands/ListClosedWorkflowExecutionsCommand.js +28 -21
- package/dist-es/commands/ListDomainsCommand.js +28 -21
- package/dist-es/commands/ListOpenWorkflowExecutionsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListWorkflowTypesCommand.js +28 -21
- package/dist-es/commands/PollForActivityTaskCommand.js +28 -21
- package/dist-es/commands/PollForDecisionTaskCommand.js +28 -21
- package/dist-es/commands/RecordActivityTaskHeartbeatCommand.js +28 -21
- package/dist-es/commands/RegisterActivityTypeCommand.js +29 -22
- package/dist-es/commands/RegisterDomainCommand.js +29 -22
- package/dist-es/commands/RegisterWorkflowTypeCommand.js +29 -22
- package/dist-es/commands/RequestCancelWorkflowExecutionCommand.js +29 -22
- package/dist-es/commands/RespondActivityTaskCanceledCommand.js +29 -22
- package/dist-es/commands/RespondActivityTaskCompletedCommand.js +29 -22
- package/dist-es/commands/RespondActivityTaskFailedCommand.js +29 -22
- package/dist-es/commands/RespondDecisionTaskCompletedCommand.js +29 -22
- package/dist-es/commands/SignalWorkflowExecutionCommand.js +29 -22
- package/dist-es/commands/StartWorkflowExecutionCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +29 -22
- package/dist-es/commands/TerminateWorkflowExecutionCommand.js +29 -22
- package/dist-es/commands/UndeprecateActivityTypeCommand.js +29 -22
- package/dist-es/commands/UndeprecateDomainCommand.js +29 -22
- package/dist-es/commands/UndeprecateWorkflowTypeCommand.js +29 -22
- package/dist-es/commands/UntagResourceCommand.js +29 -22
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SWFServiceException.js +10 -5
- package/dist-es/models/models_0.js +252 -533
- package/dist-es/pagination/GetWorkflowExecutionHistoryPaginator.js +68 -25
- package/dist-es/pagination/ListActivityTypesPaginator.js +68 -25
- package/dist-es/pagination/ListClosedWorkflowExecutionsPaginator.js +68 -25
- package/dist-es/pagination/ListDomainsPaginator.js +68 -25
- package/dist-es/pagination/ListOpenWorkflowExecutionsPaginator.js +68 -25
- package/dist-es/pagination/ListWorkflowTypesPaginator.js +68 -25
- package/dist-es/pagination/PollForDecisionTaskPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_0.js +3017 -2433
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- 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 { DecisionTaskFilterSensitiveLog, PollForDecisionTaskInputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0PollForDecisionTaskCommand, serializeAws_json1_0PollForDecisionTaskCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var PollForDecisionTaskCommand = (function (_super) {
|
|
7
|
+
__extends(PollForDecisionTaskCommand, _super);
|
|
8
|
+
function PollForDecisionTaskCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
PollForDecisionTaskCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "PollForDecisionTaskCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: PollForDecisionTaskInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DecisionTaskFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
PollForDecisionTaskCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0PollForDecisionTaskCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
PollForDecisionTaskCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0PollForDecisionTaskCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return PollForDecisionTaskCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PollForDecisionTaskCommand };
|
|
@@ -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 { ActivityTaskStatusFilterSensitiveLog, RecordActivityTaskHeartbeatInputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0RecordActivityTaskHeartbeatCommand, serializeAws_json1_0RecordActivityTaskHeartbeatCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var RecordActivityTaskHeartbeatCommand = (function (_super) {
|
|
7
|
+
__extends(RecordActivityTaskHeartbeatCommand, _super);
|
|
8
|
+
function RecordActivityTaskHeartbeatCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
RecordActivityTaskHeartbeatCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "RecordActivityTaskHeartbeatCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: RecordActivityTaskHeartbeatInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ActivityTaskStatusFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
RecordActivityTaskHeartbeatCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0RecordActivityTaskHeartbeatCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
RecordActivityTaskHeartbeatCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0RecordActivityTaskHeartbeatCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return RecordActivityTaskHeartbeatCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { RecordActivityTaskHeartbeatCommand };
|
|
@@ -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 { RegisterActivityTypeInputFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0RegisterActivityTypeCommand, serializeAws_json1_0RegisterActivityTypeCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var RegisterActivityTypeCommand = (function (_super) {
|
|
7
|
+
__extends(RegisterActivityTypeCommand, _super);
|
|
8
|
+
function RegisterActivityTypeCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
RegisterActivityTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "RegisterActivityTypeCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: RegisterActivityTypeInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
RegisterActivityTypeCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0RegisterActivityTypeCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
RegisterActivityTypeCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0RegisterActivityTypeCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return RegisterActivityTypeCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { RegisterActivityTypeCommand };
|
|
@@ -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 { RegisterDomainInputFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0RegisterDomainCommand, serializeAws_json1_0RegisterDomainCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var RegisterDomainCommand = (function (_super) {
|
|
7
|
+
__extends(RegisterDomainCommand, _super);
|
|
8
|
+
function RegisterDomainCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
RegisterDomainCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "RegisterDomainCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: RegisterDomainInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
RegisterDomainCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0RegisterDomainCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
RegisterDomainCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0RegisterDomainCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return RegisterDomainCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { RegisterDomainCommand };
|
|
@@ -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 { RegisterWorkflowTypeInputFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0RegisterWorkflowTypeCommand, serializeAws_json1_0RegisterWorkflowTypeCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var RegisterWorkflowTypeCommand = (function (_super) {
|
|
7
|
+
__extends(RegisterWorkflowTypeCommand, _super);
|
|
8
|
+
function RegisterWorkflowTypeCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
RegisterWorkflowTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "RegisterWorkflowTypeCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: RegisterWorkflowTypeInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
RegisterWorkflowTypeCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0RegisterWorkflowTypeCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
RegisterWorkflowTypeCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0RegisterWorkflowTypeCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return RegisterWorkflowTypeCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { RegisterWorkflowTypeCommand };
|
|
@@ -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 { RequestCancelWorkflowExecutionInputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0RequestCancelWorkflowExecutionCommand, serializeAws_json1_0RequestCancelWorkflowExecutionCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var RequestCancelWorkflowExecutionCommand = (function (_super) {
|
|
7
|
+
__extends(RequestCancelWorkflowExecutionCommand, _super);
|
|
8
|
+
function RequestCancelWorkflowExecutionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
RequestCancelWorkflowExecutionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "RequestCancelWorkflowExecutionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: RequestCancelWorkflowExecutionInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
RequestCancelWorkflowExecutionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0RequestCancelWorkflowExecutionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
RequestCancelWorkflowExecutionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0RequestCancelWorkflowExecutionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return RequestCancelWorkflowExecutionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { RequestCancelWorkflowExecutionCommand };
|
|
@@ -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 { RespondActivityTaskCanceledInputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0RespondActivityTaskCanceledCommand, serializeAws_json1_0RespondActivityTaskCanceledCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var RespondActivityTaskCanceledCommand = (function (_super) {
|
|
7
|
+
__extends(RespondActivityTaskCanceledCommand, _super);
|
|
8
|
+
function RespondActivityTaskCanceledCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
RespondActivityTaskCanceledCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "RespondActivityTaskCanceledCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: RespondActivityTaskCanceledInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
RespondActivityTaskCanceledCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0RespondActivityTaskCanceledCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
RespondActivityTaskCanceledCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0RespondActivityTaskCanceledCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return RespondActivityTaskCanceledCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { RespondActivityTaskCanceledCommand };
|
|
@@ -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 { RespondActivityTaskCompletedInputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0RespondActivityTaskCompletedCommand, serializeAws_json1_0RespondActivityTaskCompletedCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var RespondActivityTaskCompletedCommand = (function (_super) {
|
|
7
|
+
__extends(RespondActivityTaskCompletedCommand, _super);
|
|
8
|
+
function RespondActivityTaskCompletedCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
RespondActivityTaskCompletedCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "RespondActivityTaskCompletedCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: RespondActivityTaskCompletedInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
RespondActivityTaskCompletedCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0RespondActivityTaskCompletedCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
RespondActivityTaskCompletedCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0RespondActivityTaskCompletedCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return RespondActivityTaskCompletedCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { RespondActivityTaskCompletedCommand };
|
|
@@ -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 { RespondActivityTaskFailedInputFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0RespondActivityTaskFailedCommand, serializeAws_json1_0RespondActivityTaskFailedCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var RespondActivityTaskFailedCommand = (function (_super) {
|
|
7
|
+
__extends(RespondActivityTaskFailedCommand, _super);
|
|
8
|
+
function RespondActivityTaskFailedCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
RespondActivityTaskFailedCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "RespondActivityTaskFailedCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: RespondActivityTaskFailedInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
RespondActivityTaskFailedCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0RespondActivityTaskFailedCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
RespondActivityTaskFailedCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0RespondActivityTaskFailedCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return RespondActivityTaskFailedCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { RespondActivityTaskFailedCommand };
|
|
@@ -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 { RespondDecisionTaskCompletedInputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0RespondDecisionTaskCompletedCommand, serializeAws_json1_0RespondDecisionTaskCompletedCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var RespondDecisionTaskCompletedCommand = (function (_super) {
|
|
7
|
+
__extends(RespondDecisionTaskCompletedCommand, _super);
|
|
8
|
+
function RespondDecisionTaskCompletedCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
RespondDecisionTaskCompletedCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 = "RespondDecisionTaskCompletedCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: RespondDecisionTaskCompletedInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
RespondDecisionTaskCompletedCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0RespondDecisionTaskCompletedCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
RespondDecisionTaskCompletedCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0RespondDecisionTaskCompletedCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return RespondDecisionTaskCompletedCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { RespondDecisionTaskCompletedCommand };
|