@aws-sdk/client-swf 3.975.0 → 3.978.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/index.js +24 -15
- package/dist-es/SWF.js +17 -1
- package/dist-types/SWF.d.ts +50 -1
- package/dist-types/ts3.4/SWF.d.ts +54 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -2028,6 +2028,20 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
2028
2028
|
.build() {
|
|
2029
2029
|
}
|
|
2030
2030
|
|
|
2031
|
+
const paginateGetWorkflowExecutionHistory = core.createPaginator(SWFClient, GetWorkflowExecutionHistoryCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
2032
|
+
|
|
2033
|
+
const paginateListActivityTypes = core.createPaginator(SWFClient, ListActivityTypesCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
2034
|
+
|
|
2035
|
+
const paginateListClosedWorkflowExecutions = core.createPaginator(SWFClient, ListClosedWorkflowExecutionsCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
2036
|
+
|
|
2037
|
+
const paginateListDomains = core.createPaginator(SWFClient, ListDomainsCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
2038
|
+
|
|
2039
|
+
const paginateListOpenWorkflowExecutions = core.createPaginator(SWFClient, ListOpenWorkflowExecutionsCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
2040
|
+
|
|
2041
|
+
const paginateListWorkflowTypes = core.createPaginator(SWFClient, ListWorkflowTypesCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
2042
|
+
|
|
2043
|
+
const paginatePollForDecisionTask = core.createPaginator(SWFClient, PollForDecisionTaskCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
2044
|
+
|
|
2031
2045
|
const commands = {
|
|
2032
2046
|
CountClosedWorkflowExecutionsCommand,
|
|
2033
2047
|
CountOpenWorkflowExecutionsCommand,
|
|
@@ -2069,23 +2083,18 @@ const commands = {
|
|
|
2069
2083
|
UndeprecateWorkflowTypeCommand,
|
|
2070
2084
|
UntagResourceCommand,
|
|
2071
2085
|
};
|
|
2086
|
+
const paginators = {
|
|
2087
|
+
paginateGetWorkflowExecutionHistory,
|
|
2088
|
+
paginateListActivityTypes,
|
|
2089
|
+
paginateListClosedWorkflowExecutions,
|
|
2090
|
+
paginateListDomains,
|
|
2091
|
+
paginateListOpenWorkflowExecutions,
|
|
2092
|
+
paginateListWorkflowTypes,
|
|
2093
|
+
paginatePollForDecisionTask,
|
|
2094
|
+
};
|
|
2072
2095
|
class SWF extends SWFClient {
|
|
2073
2096
|
}
|
|
2074
|
-
smithyClient.createAggregatedClient(commands, SWF);
|
|
2075
|
-
|
|
2076
|
-
const paginateGetWorkflowExecutionHistory = core.createPaginator(SWFClient, GetWorkflowExecutionHistoryCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
2077
|
-
|
|
2078
|
-
const paginateListActivityTypes = core.createPaginator(SWFClient, ListActivityTypesCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
2079
|
-
|
|
2080
|
-
const paginateListClosedWorkflowExecutions = core.createPaginator(SWFClient, ListClosedWorkflowExecutionsCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
2081
|
-
|
|
2082
|
-
const paginateListDomains = core.createPaginator(SWFClient, ListDomainsCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
2083
|
-
|
|
2084
|
-
const paginateListOpenWorkflowExecutions = core.createPaginator(SWFClient, ListOpenWorkflowExecutionsCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
2085
|
-
|
|
2086
|
-
const paginateListWorkflowTypes = core.createPaginator(SWFClient, ListWorkflowTypesCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
2087
|
-
|
|
2088
|
-
const paginatePollForDecisionTask = core.createPaginator(SWFClient, PollForDecisionTaskCommand, "nextPageToken", "nextPageToken", "maximumPageSize");
|
|
2097
|
+
smithyClient.createAggregatedClient(commands, SWF, { paginators });
|
|
2089
2098
|
|
|
2090
2099
|
const ActivityTaskTimeoutType = {
|
|
2091
2100
|
HEARTBEAT: "HEARTBEAT",
|
package/dist-es/SWF.js
CHANGED
|
@@ -38,6 +38,13 @@ import { UndeprecateActivityTypeCommand, } from "./commands/UndeprecateActivityT
|
|
|
38
38
|
import { UndeprecateDomainCommand, } from "./commands/UndeprecateDomainCommand";
|
|
39
39
|
import { UndeprecateWorkflowTypeCommand, } from "./commands/UndeprecateWorkflowTypeCommand";
|
|
40
40
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
41
|
+
import { paginateGetWorkflowExecutionHistory } from "./pagination/GetWorkflowExecutionHistoryPaginator";
|
|
42
|
+
import { paginateListActivityTypes } from "./pagination/ListActivityTypesPaginator";
|
|
43
|
+
import { paginateListClosedWorkflowExecutions } from "./pagination/ListClosedWorkflowExecutionsPaginator";
|
|
44
|
+
import { paginateListDomains } from "./pagination/ListDomainsPaginator";
|
|
45
|
+
import { paginateListOpenWorkflowExecutions } from "./pagination/ListOpenWorkflowExecutionsPaginator";
|
|
46
|
+
import { paginateListWorkflowTypes } from "./pagination/ListWorkflowTypesPaginator";
|
|
47
|
+
import { paginatePollForDecisionTask } from "./pagination/PollForDecisionTaskPaginator";
|
|
41
48
|
import { SWFClient } from "./SWFClient";
|
|
42
49
|
const commands = {
|
|
43
50
|
CountClosedWorkflowExecutionsCommand,
|
|
@@ -80,6 +87,15 @@ const commands = {
|
|
|
80
87
|
UndeprecateWorkflowTypeCommand,
|
|
81
88
|
UntagResourceCommand,
|
|
82
89
|
};
|
|
90
|
+
const paginators = {
|
|
91
|
+
paginateGetWorkflowExecutionHistory,
|
|
92
|
+
paginateListActivityTypes,
|
|
93
|
+
paginateListClosedWorkflowExecutions,
|
|
94
|
+
paginateListDomains,
|
|
95
|
+
paginateListOpenWorkflowExecutions,
|
|
96
|
+
paginateListWorkflowTypes,
|
|
97
|
+
paginatePollForDecisionTask,
|
|
98
|
+
};
|
|
83
99
|
export class SWF extends SWFClient {
|
|
84
100
|
}
|
|
85
|
-
createAggregatedClient(commands, SWF);
|
|
101
|
+
createAggregatedClient(commands, SWF, { paginators });
|
package/dist-types/SWF.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CountClosedWorkflowExecutionsCommandInput, CountClosedWorkflowExecutionsCommandOutput } from "./commands/CountClosedWorkflowExecutionsCommand";
|
|
3
3
|
import { CountOpenWorkflowExecutionsCommandInput, CountOpenWorkflowExecutionsCommandOutput } from "./commands/CountOpenWorkflowExecutionsCommand";
|
|
4
4
|
import { CountPendingActivityTasksCommandInput, CountPendingActivityTasksCommandOutput } from "./commands/CountPendingActivityTasksCommand";
|
|
@@ -274,6 +274,55 @@ export interface SWF {
|
|
|
274
274
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
275
275
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
276
276
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
277
|
+
/**
|
|
278
|
+
* @see {@link GetWorkflowExecutionHistoryCommand}
|
|
279
|
+
* @param args - command input.
|
|
280
|
+
* @param paginationConfig - optional pagination config.
|
|
281
|
+
* @returns AsyncIterable of {@link GetWorkflowExecutionHistoryCommandOutput}.
|
|
282
|
+
*/
|
|
283
|
+
paginateGetWorkflowExecutionHistory(args: GetWorkflowExecutionHistoryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetWorkflowExecutionHistoryCommandOutput>;
|
|
284
|
+
/**
|
|
285
|
+
* @see {@link ListActivityTypesCommand}
|
|
286
|
+
* @param args - command input.
|
|
287
|
+
* @param paginationConfig - optional pagination config.
|
|
288
|
+
* @returns AsyncIterable of {@link ListActivityTypesCommandOutput}.
|
|
289
|
+
*/
|
|
290
|
+
paginateListActivityTypes(args: ListActivityTypesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListActivityTypesCommandOutput>;
|
|
291
|
+
/**
|
|
292
|
+
* @see {@link ListClosedWorkflowExecutionsCommand}
|
|
293
|
+
* @param args - command input.
|
|
294
|
+
* @param paginationConfig - optional pagination config.
|
|
295
|
+
* @returns AsyncIterable of {@link ListClosedWorkflowExecutionsCommandOutput}.
|
|
296
|
+
*/
|
|
297
|
+
paginateListClosedWorkflowExecutions(args: ListClosedWorkflowExecutionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListClosedWorkflowExecutionsCommandOutput>;
|
|
298
|
+
/**
|
|
299
|
+
* @see {@link ListDomainsCommand}
|
|
300
|
+
* @param args - command input.
|
|
301
|
+
* @param paginationConfig - optional pagination config.
|
|
302
|
+
* @returns AsyncIterable of {@link ListDomainsCommandOutput}.
|
|
303
|
+
*/
|
|
304
|
+
paginateListDomains(args: ListDomainsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDomainsCommandOutput>;
|
|
305
|
+
/**
|
|
306
|
+
* @see {@link ListOpenWorkflowExecutionsCommand}
|
|
307
|
+
* @param args - command input.
|
|
308
|
+
* @param paginationConfig - optional pagination config.
|
|
309
|
+
* @returns AsyncIterable of {@link ListOpenWorkflowExecutionsCommandOutput}.
|
|
310
|
+
*/
|
|
311
|
+
paginateListOpenWorkflowExecutions(args: ListOpenWorkflowExecutionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListOpenWorkflowExecutionsCommandOutput>;
|
|
312
|
+
/**
|
|
313
|
+
* @see {@link ListWorkflowTypesCommand}
|
|
314
|
+
* @param args - command input.
|
|
315
|
+
* @param paginationConfig - optional pagination config.
|
|
316
|
+
* @returns AsyncIterable of {@link ListWorkflowTypesCommandOutput}.
|
|
317
|
+
*/
|
|
318
|
+
paginateListWorkflowTypes(args: ListWorkflowTypesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWorkflowTypesCommandOutput>;
|
|
319
|
+
/**
|
|
320
|
+
* @see {@link PollForDecisionTaskCommand}
|
|
321
|
+
* @param args - command input.
|
|
322
|
+
* @param paginationConfig - optional pagination config.
|
|
323
|
+
* @returns AsyncIterable of {@link PollForDecisionTaskCommandOutput}.
|
|
324
|
+
*/
|
|
325
|
+
paginatePollForDecisionTask(args: PollForDecisionTaskCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<PollForDecisionTaskCommandOutput>;
|
|
277
326
|
}
|
|
278
327
|
/**
|
|
279
328
|
* <fullname>Amazon Simple Workflow Service</fullname>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CountClosedWorkflowExecutionsCommandInput,
|
|
4
8
|
CountClosedWorkflowExecutionsCommandOutput,
|
|
@@ -664,5 +668,54 @@ export interface SWF {
|
|
|
664
668
|
options: __HttpHandlerOptions,
|
|
665
669
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
666
670
|
): void;
|
|
671
|
+
paginateGetWorkflowExecutionHistory(
|
|
672
|
+
args: GetWorkflowExecutionHistoryCommandInput,
|
|
673
|
+
paginationConfig?: Pick<
|
|
674
|
+
PaginationConfiguration,
|
|
675
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
676
|
+
>
|
|
677
|
+
): Paginator<GetWorkflowExecutionHistoryCommandOutput>;
|
|
678
|
+
paginateListActivityTypes(
|
|
679
|
+
args: ListActivityTypesCommandInput,
|
|
680
|
+
paginationConfig?: Pick<
|
|
681
|
+
PaginationConfiguration,
|
|
682
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
683
|
+
>
|
|
684
|
+
): Paginator<ListActivityTypesCommandOutput>;
|
|
685
|
+
paginateListClosedWorkflowExecutions(
|
|
686
|
+
args: ListClosedWorkflowExecutionsCommandInput,
|
|
687
|
+
paginationConfig?: Pick<
|
|
688
|
+
PaginationConfiguration,
|
|
689
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
690
|
+
>
|
|
691
|
+
): Paginator<ListClosedWorkflowExecutionsCommandOutput>;
|
|
692
|
+
paginateListDomains(
|
|
693
|
+
args: ListDomainsCommandInput,
|
|
694
|
+
paginationConfig?: Pick<
|
|
695
|
+
PaginationConfiguration,
|
|
696
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
697
|
+
>
|
|
698
|
+
): Paginator<ListDomainsCommandOutput>;
|
|
699
|
+
paginateListOpenWorkflowExecutions(
|
|
700
|
+
args: ListOpenWorkflowExecutionsCommandInput,
|
|
701
|
+
paginationConfig?: Pick<
|
|
702
|
+
PaginationConfiguration,
|
|
703
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
704
|
+
>
|
|
705
|
+
): Paginator<ListOpenWorkflowExecutionsCommandOutput>;
|
|
706
|
+
paginateListWorkflowTypes(
|
|
707
|
+
args: ListWorkflowTypesCommandInput,
|
|
708
|
+
paginationConfig?: Pick<
|
|
709
|
+
PaginationConfiguration,
|
|
710
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
711
|
+
>
|
|
712
|
+
): Paginator<ListWorkflowTypesCommandOutput>;
|
|
713
|
+
paginatePollForDecisionTask(
|
|
714
|
+
args: PollForDecisionTaskCommandInput,
|
|
715
|
+
paginationConfig?: Pick<
|
|
716
|
+
PaginationConfiguration,
|
|
717
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
718
|
+
>
|
|
719
|
+
): Paginator<PollForDecisionTaskCommandOutput>;
|
|
667
720
|
}
|
|
668
721
|
export declare class SWF extends SWFClient implements SWF {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-swf",
|
|
3
3
|
"description": "AWS SDK for JavaScript Swf Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-swf",
|
|
@@ -23,38 +23,38 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.973.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
33
|
-
"@aws-sdk/types": "^3.973.
|
|
26
|
+
"@aws-sdk/core": "^3.973.4",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
33
|
+
"@aws-sdk/types": "^3.973.1",
|
|
34
34
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.6",
|
|
38
|
-
"@smithy/core": "^3.
|
|
38
|
+
"@smithy/core": "^3.22.0",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
40
40
|
"@smithy/hash-node": "^4.2.8",
|
|
41
41
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
45
45
|
"@smithy/middleware-serde": "^4.2.9",
|
|
46
46
|
"@smithy/middleware-stack": "^4.2.8",
|
|
47
47
|
"@smithy/node-config-provider": "^4.3.8",
|
|
48
48
|
"@smithy/node-http-handler": "^4.4.8",
|
|
49
49
|
"@smithy/protocol-http": "^5.3.8",
|
|
50
|
-
"@smithy/smithy-client": "^4.
|
|
50
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
51
51
|
"@smithy/types": "^4.12.0",
|
|
52
52
|
"@smithy/url-parser": "^4.2.8",
|
|
53
53
|
"@smithy/util-base64": "^4.3.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
58
58
|
"@smithy/util-endpoints": "^3.2.8",
|
|
59
59
|
"@smithy/util-middleware": "^4.2.8",
|
|
60
60
|
"@smithy/util-retry": "^4.2.8",
|