@aws-sdk/client-swf 3.477.0 → 3.481.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/dist-cjs/commands/CountClosedWorkflowExecutionsCommand.js +18 -41
- package/dist-cjs/commands/CountOpenWorkflowExecutionsCommand.js +18 -41
- package/dist-cjs/commands/CountPendingActivityTasksCommand.js +18 -41
- package/dist-cjs/commands/CountPendingDecisionTasksCommand.js +18 -41
- package/dist-cjs/commands/DeprecateActivityTypeCommand.js +18 -41
- package/dist-cjs/commands/DeprecateDomainCommand.js +18 -41
- package/dist-cjs/commands/DeprecateWorkflowTypeCommand.js +18 -41
- package/dist-cjs/commands/DescribeActivityTypeCommand.js +18 -41
- package/dist-cjs/commands/DescribeDomainCommand.js +18 -41
- package/dist-cjs/commands/DescribeWorkflowExecutionCommand.js +18 -41
- package/dist-cjs/commands/DescribeWorkflowTypeCommand.js +18 -41
- package/dist-cjs/commands/GetWorkflowExecutionHistoryCommand.js +18 -41
- package/dist-cjs/commands/ListActivityTypesCommand.js +18 -41
- package/dist-cjs/commands/ListClosedWorkflowExecutionsCommand.js +18 -41
- package/dist-cjs/commands/ListDomainsCommand.js +18 -41
- package/dist-cjs/commands/ListOpenWorkflowExecutionsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListWorkflowTypesCommand.js +18 -41
- package/dist-cjs/commands/PollForActivityTaskCommand.js +18 -41
- package/dist-cjs/commands/PollForDecisionTaskCommand.js +18 -41
- package/dist-cjs/commands/RecordActivityTaskHeartbeatCommand.js +18 -41
- package/dist-cjs/commands/RegisterActivityTypeCommand.js +18 -41
- package/dist-cjs/commands/RegisterDomainCommand.js +18 -41
- package/dist-cjs/commands/RegisterWorkflowTypeCommand.js +18 -41
- package/dist-cjs/commands/RequestCancelWorkflowExecutionCommand.js +18 -41
- package/dist-cjs/commands/RespondActivityTaskCanceledCommand.js +18 -41
- package/dist-cjs/commands/RespondActivityTaskCompletedCommand.js +18 -41
- package/dist-cjs/commands/RespondActivityTaskFailedCommand.js +18 -41
- package/dist-cjs/commands/RespondDecisionTaskCompletedCommand.js +18 -41
- package/dist-cjs/commands/SignalWorkflowExecutionCommand.js +18 -41
- package/dist-cjs/commands/StartWorkflowExecutionCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/TerminateWorkflowExecutionCommand.js +18 -41
- package/dist-cjs/commands/UndeprecateActivityTypeCommand.js +18 -41
- package/dist-cjs/commands/UndeprecateDomainCommand.js +18 -41
- package/dist-cjs/commands/UndeprecateWorkflowTypeCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/GetWorkflowExecutionHistoryPaginator.js +2 -24
- package/dist-cjs/pagination/ListActivityTypesPaginator.js +2 -24
- package/dist-cjs/pagination/ListClosedWorkflowExecutionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDomainsPaginator.js +2 -24
- package/dist-cjs/pagination/ListOpenWorkflowExecutionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkflowTypesPaginator.js +2 -24
- package/dist-cjs/pagination/PollForDecisionTaskPaginator.js +2 -24
- package/dist-es/commands/CountClosedWorkflowExecutionsCommand.js +18 -41
- package/dist-es/commands/CountOpenWorkflowExecutionsCommand.js +18 -41
- package/dist-es/commands/CountPendingActivityTasksCommand.js +18 -41
- package/dist-es/commands/CountPendingDecisionTasksCommand.js +18 -41
- package/dist-es/commands/DeprecateActivityTypeCommand.js +18 -41
- package/dist-es/commands/DeprecateDomainCommand.js +18 -41
- package/dist-es/commands/DeprecateWorkflowTypeCommand.js +18 -41
- package/dist-es/commands/DescribeActivityTypeCommand.js +18 -41
- package/dist-es/commands/DescribeDomainCommand.js +18 -41
- package/dist-es/commands/DescribeWorkflowExecutionCommand.js +18 -41
- package/dist-es/commands/DescribeWorkflowTypeCommand.js +18 -41
- package/dist-es/commands/GetWorkflowExecutionHistoryCommand.js +18 -41
- package/dist-es/commands/ListActivityTypesCommand.js +18 -41
- package/dist-es/commands/ListClosedWorkflowExecutionsCommand.js +18 -41
- package/dist-es/commands/ListDomainsCommand.js +18 -41
- package/dist-es/commands/ListOpenWorkflowExecutionsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListWorkflowTypesCommand.js +18 -41
- package/dist-es/commands/PollForActivityTaskCommand.js +18 -41
- package/dist-es/commands/PollForDecisionTaskCommand.js +18 -41
- package/dist-es/commands/RecordActivityTaskHeartbeatCommand.js +18 -41
- package/dist-es/commands/RegisterActivityTypeCommand.js +18 -41
- package/dist-es/commands/RegisterDomainCommand.js +18 -41
- package/dist-es/commands/RegisterWorkflowTypeCommand.js +18 -41
- package/dist-es/commands/RequestCancelWorkflowExecutionCommand.js +18 -41
- package/dist-es/commands/RespondActivityTaskCanceledCommand.js +18 -41
- package/dist-es/commands/RespondActivityTaskCompletedCommand.js +18 -41
- package/dist-es/commands/RespondActivityTaskFailedCommand.js +18 -41
- package/dist-es/commands/RespondDecisionTaskCompletedCommand.js +18 -41
- package/dist-es/commands/SignalWorkflowExecutionCommand.js +18 -41
- package/dist-es/commands/StartWorkflowExecutionCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/TerminateWorkflowExecutionCommand.js +18 -41
- package/dist-es/commands/UndeprecateActivityTypeCommand.js +18 -41
- package/dist-es/commands/UndeprecateDomainCommand.js +18 -41
- package/dist-es/commands/UndeprecateWorkflowTypeCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/GetWorkflowExecutionHistoryPaginator.js +2 -23
- package/dist-es/pagination/ListActivityTypesPaginator.js +2 -23
- package/dist-es/pagination/ListClosedWorkflowExecutionsPaginator.js +2 -23
- package/dist-es/pagination/ListDomainsPaginator.js +2 -23
- package/dist-es/pagination/ListOpenWorkflowExecutionsPaginator.js +2 -23
- package/dist-es/pagination/ListWorkflowTypesPaginator.js +2 -23
- package/dist-es/pagination/PollForDecisionTaskPaginator.js +2 -23
- package/dist-types/commands/CountClosedWorkflowExecutionsCommand.d.ts +6 -21
- package/dist-types/commands/CountOpenWorkflowExecutionsCommand.d.ts +6 -21
- package/dist-types/commands/CountPendingActivityTasksCommand.d.ts +6 -21
- package/dist-types/commands/CountPendingDecisionTasksCommand.d.ts +6 -21
- package/dist-types/commands/DeprecateActivityTypeCommand.d.ts +6 -21
- package/dist-types/commands/DeprecateDomainCommand.d.ts +6 -21
- package/dist-types/commands/DeprecateWorkflowTypeCommand.d.ts +6 -21
- package/dist-types/commands/DescribeActivityTypeCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDomainCommand.d.ts +6 -21
- package/dist-types/commands/DescribeWorkflowExecutionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeWorkflowTypeCommand.d.ts +6 -21
- package/dist-types/commands/GetWorkflowExecutionHistoryCommand.d.ts +6 -21
- package/dist-types/commands/ListActivityTypesCommand.d.ts +6 -21
- package/dist-types/commands/ListClosedWorkflowExecutionsCommand.d.ts +6 -21
- package/dist-types/commands/ListDomainsCommand.d.ts +6 -21
- package/dist-types/commands/ListOpenWorkflowExecutionsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListWorkflowTypesCommand.d.ts +6 -21
- package/dist-types/commands/PollForActivityTaskCommand.d.ts +6 -21
- package/dist-types/commands/PollForDecisionTaskCommand.d.ts +6 -21
- package/dist-types/commands/RecordActivityTaskHeartbeatCommand.d.ts +6 -21
- package/dist-types/commands/RegisterActivityTypeCommand.d.ts +6 -21
- package/dist-types/commands/RegisterDomainCommand.d.ts +6 -21
- package/dist-types/commands/RegisterWorkflowTypeCommand.d.ts +6 -21
- package/dist-types/commands/RequestCancelWorkflowExecutionCommand.d.ts +6 -21
- package/dist-types/commands/RespondActivityTaskCanceledCommand.d.ts +6 -21
- package/dist-types/commands/RespondActivityTaskCompletedCommand.d.ts +6 -21
- package/dist-types/commands/RespondActivityTaskFailedCommand.d.ts +6 -21
- package/dist-types/commands/RespondDecisionTaskCompletedCommand.d.ts +6 -21
- package/dist-types/commands/SignalWorkflowExecutionCommand.d.ts +6 -21
- package/dist-types/commands/StartWorkflowExecutionCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/TerminateWorkflowExecutionCommand.d.ts +6 -21
- package/dist-types/commands/UndeprecateActivityTypeCommand.d.ts +6 -21
- package/dist-types/commands/UndeprecateDomainCommand.d.ts +6 -21
- package/dist-types/commands/UndeprecateWorkflowTypeCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/GetWorkflowExecutionHistoryPaginator.d.ts +1 -1
- package/dist-types/pagination/ListActivityTypesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListClosedWorkflowExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDomainsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOpenWorkflowExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkflowTypesPaginator.d.ts +1 -1
- package/dist-types/pagination/PollForDecisionTaskPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CountClosedWorkflowExecutionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CountOpenWorkflowExecutionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CountPendingActivityTasksCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CountPendingDecisionTasksCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeprecateActivityTypeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeprecateDomainCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeprecateWorkflowTypeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeActivityTypeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeWorkflowExecutionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeWorkflowTypeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetWorkflowExecutionHistoryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListActivityTypesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListClosedWorkflowExecutionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListOpenWorkflowExecutionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListWorkflowTypesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PollForActivityTaskCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PollForDecisionTaskCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RecordActivityTaskHeartbeatCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RegisterActivityTypeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RegisterDomainCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RegisterWorkflowTypeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RequestCancelWorkflowExecutionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RespondActivityTaskCanceledCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RespondActivityTaskCompletedCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RespondActivityTaskFailedCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RespondDecisionTaskCompletedCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SignalWorkflowExecutionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartWorkflowExecutionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TerminateWorkflowExecutionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UndeprecateActivityTypeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UndeprecateDomainCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UndeprecateWorkflowTypeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/GetWorkflowExecutionHistoryPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListActivityTypesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListClosedWorkflowExecutionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDomainsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListOpenWorkflowExecutionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkflowTypesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/PollForDecisionTaskPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SWFClient";
|
|
26
|
-
const commandName = "TagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SimpleWorkflowService",
|
|
35
|
-
operation: "TagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_TagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_TagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SimpleWorkflowService", "TagResource", {})
|
|
19
|
+
.n("SWFClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_TerminateWorkflowExecutionCommand, se_TerminateWorkflowExecutionCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TerminateWorkflowExecutionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SWFClient";
|
|
26
|
-
const commandName = "TerminateWorkflowExecutionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SimpleWorkflowService",
|
|
35
|
-
operation: "TerminateWorkflowExecution",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_TerminateWorkflowExecutionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_TerminateWorkflowExecutionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class TerminateWorkflowExecutionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SimpleWorkflowService", "TerminateWorkflowExecution", {})
|
|
19
|
+
.n("SWFClient", "TerminateWorkflowExecutionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TerminateWorkflowExecutionCommand)
|
|
22
|
+
.de(de_TerminateWorkflowExecutionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UndeprecateActivityTypeCommand, se_UndeprecateActivityTypeCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UndeprecateActivityTypeCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SWFClient";
|
|
26
|
-
const commandName = "UndeprecateActivityTypeCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SimpleWorkflowService",
|
|
35
|
-
operation: "UndeprecateActivityType",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UndeprecateActivityTypeCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UndeprecateActivityTypeCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UndeprecateActivityTypeCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SimpleWorkflowService", "UndeprecateActivityType", {})
|
|
19
|
+
.n("SWFClient", "UndeprecateActivityTypeCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UndeprecateActivityTypeCommand)
|
|
22
|
+
.de(de_UndeprecateActivityTypeCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UndeprecateDomainCommand, se_UndeprecateDomainCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UndeprecateDomainCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SWFClient";
|
|
26
|
-
const commandName = "UndeprecateDomainCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SimpleWorkflowService",
|
|
35
|
-
operation: "UndeprecateDomain",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UndeprecateDomainCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UndeprecateDomainCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UndeprecateDomainCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SimpleWorkflowService", "UndeprecateDomain", {})
|
|
19
|
+
.n("SWFClient", "UndeprecateDomainCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UndeprecateDomainCommand)
|
|
22
|
+
.de(de_UndeprecateDomainCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UndeprecateWorkflowTypeCommand, se_UndeprecateWorkflowTypeCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UndeprecateWorkflowTypeCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SWFClient";
|
|
26
|
-
const commandName = "UndeprecateWorkflowTypeCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SimpleWorkflowService",
|
|
35
|
-
operation: "UndeprecateWorkflowType",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UndeprecateWorkflowTypeCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UndeprecateWorkflowTypeCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UndeprecateWorkflowTypeCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SimpleWorkflowService", "UndeprecateWorkflowType", {})
|
|
19
|
+
.n("SWFClient", "UndeprecateWorkflowTypeCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UndeprecateWorkflowTypeCommand)
|
|
22
|
+
.de(de_UndeprecateWorkflowTypeCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UntagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SWFClient";
|
|
26
|
-
const commandName = "UntagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SimpleWorkflowService",
|
|
35
|
-
operation: "UntagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UntagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UntagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SimpleWorkflowService", "UntagResource", {})
|
|
19
|
+
.n("SWFClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "swf",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetWorkflowExecutionHistoryCommand, } from "../commands/GetWorkflowExecutionHistoryCommand";
|
|
2
3
|
import { SWFClient } from "../SWFClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetWorkflowExecutionHistoryCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetWorkflowExecutionHistory(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextPageToken = token;
|
|
12
|
-
input["maximumPageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SWFClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SWF | SWFClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetWorkflowExecutionHistory = createPaginator(SWFClient, GetWorkflowExecutionHistoryCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListActivityTypesCommand, } from "../commands/ListActivityTypesCommand";
|
|
2
3
|
import { SWFClient } from "../SWFClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListActivityTypesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListActivityTypes(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextPageToken = token;
|
|
12
|
-
input["maximumPageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SWFClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SWF | SWFClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListActivityTypes = createPaginator(SWFClient, ListActivityTypesCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListClosedWorkflowExecutionsCommand, } from "../commands/ListClosedWorkflowExecutionsCommand";
|
|
2
3
|
import { SWFClient } from "../SWFClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListClosedWorkflowExecutionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListClosedWorkflowExecutions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextPageToken = token;
|
|
12
|
-
input["maximumPageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SWFClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SWF | SWFClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListClosedWorkflowExecutions = createPaginator(SWFClient, ListClosedWorkflowExecutionsCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDomainsCommand } from "../commands/ListDomainsCommand";
|
|
2
3
|
import { SWFClient } from "../SWFClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDomainsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDomains(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextPageToken = token;
|
|
12
|
-
input["maximumPageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SWFClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SWF | SWFClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListDomains = createPaginator(SWFClient, ListDomainsCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListOpenWorkflowExecutionsCommand, } from "../commands/ListOpenWorkflowExecutionsCommand";
|
|
2
3
|
import { SWFClient } from "../SWFClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListOpenWorkflowExecutionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListOpenWorkflowExecutions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextPageToken = token;
|
|
12
|
-
input["maximumPageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SWFClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SWF | SWFClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListOpenWorkflowExecutions = createPaginator(SWFClient, ListOpenWorkflowExecutionsCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListWorkflowTypesCommand, } from "../commands/ListWorkflowTypesCommand";
|
|
2
3
|
import { SWFClient } from "../SWFClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListWorkflowTypesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListWorkflowTypes(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextPageToken = token;
|
|
12
|
-
input["maximumPageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SWFClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SWF | SWFClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListWorkflowTypes = createPaginator(SWFClient, ListWorkflowTypesCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { PollForDecisionTaskCommand, } from "../commands/PollForDecisionTaskCommand";
|
|
2
3
|
import { SWFClient } from "../SWFClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new PollForDecisionTaskCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginatePollForDecisionTask(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextPageToken = token;
|
|
12
|
-
input["maximumPageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof SWFClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected SWF | SWFClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextPageToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginatePollForDecisionTask = createPaginator(SWFClient, PollForDecisionTaskCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|