@aws-sdk/client-sfn 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 +18 -11
- package/dist-es/SFN.js +13 -1
- package/dist-types/SFN.d.ts +36 -1
- package/dist-types/ts3.4/SFN.d.ts +40 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -2465,6 +2465,16 @@ class ValidateStateMachineDefinitionCommand extends smithyClient.Command
|
|
|
2465
2465
|
.build() {
|
|
2466
2466
|
}
|
|
2467
2467
|
|
|
2468
|
+
const paginateGetExecutionHistory = core.createPaginator(SFNClient, GetExecutionHistoryCommand, "nextToken", "nextToken", "maxResults");
|
|
2469
|
+
|
|
2470
|
+
const paginateListActivities = core.createPaginator(SFNClient, ListActivitiesCommand, "nextToken", "nextToken", "maxResults");
|
|
2471
|
+
|
|
2472
|
+
const paginateListExecutions = core.createPaginator(SFNClient, ListExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
2473
|
+
|
|
2474
|
+
const paginateListMapRuns = core.createPaginator(SFNClient, ListMapRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
2475
|
+
|
|
2476
|
+
const paginateListStateMachines = core.createPaginator(SFNClient, ListStateMachinesCommand, "nextToken", "nextToken", "maxResults");
|
|
2477
|
+
|
|
2468
2478
|
const commands = {
|
|
2469
2479
|
CreateActivityCommand,
|
|
2470
2480
|
CreateStateMachineCommand,
|
|
@@ -2504,19 +2514,16 @@ const commands = {
|
|
|
2504
2514
|
UpdateStateMachineAliasCommand,
|
|
2505
2515
|
ValidateStateMachineDefinitionCommand,
|
|
2506
2516
|
};
|
|
2517
|
+
const paginators = {
|
|
2518
|
+
paginateGetExecutionHistory,
|
|
2519
|
+
paginateListActivities,
|
|
2520
|
+
paginateListExecutions,
|
|
2521
|
+
paginateListMapRuns,
|
|
2522
|
+
paginateListStateMachines,
|
|
2523
|
+
};
|
|
2507
2524
|
class SFN extends SFNClient {
|
|
2508
2525
|
}
|
|
2509
|
-
smithyClient.createAggregatedClient(commands, SFN);
|
|
2510
|
-
|
|
2511
|
-
const paginateGetExecutionHistory = core.createPaginator(SFNClient, GetExecutionHistoryCommand, "nextToken", "nextToken", "maxResults");
|
|
2512
|
-
|
|
2513
|
-
const paginateListActivities = core.createPaginator(SFNClient, ListActivitiesCommand, "nextToken", "nextToken", "maxResults");
|
|
2514
|
-
|
|
2515
|
-
const paginateListExecutions = core.createPaginator(SFNClient, ListExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
2516
|
-
|
|
2517
|
-
const paginateListMapRuns = core.createPaginator(SFNClient, ListMapRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
2518
|
-
|
|
2519
|
-
const paginateListStateMachines = core.createPaginator(SFNClient, ListStateMachinesCommand, "nextToken", "nextToken", "maxResults");
|
|
2526
|
+
smithyClient.createAggregatedClient(commands, SFN, { paginators });
|
|
2520
2527
|
|
|
2521
2528
|
const EncryptionType = {
|
|
2522
2529
|
AWS_OWNED_KEY: "AWS_OWNED_KEY",
|
package/dist-es/SFN.js
CHANGED
|
@@ -36,6 +36,11 @@ import { UpdateMapRunCommand, } from "./commands/UpdateMapRunCommand";
|
|
|
36
36
|
import { UpdateStateMachineAliasCommand, } from "./commands/UpdateStateMachineAliasCommand";
|
|
37
37
|
import { UpdateStateMachineCommand, } from "./commands/UpdateStateMachineCommand";
|
|
38
38
|
import { ValidateStateMachineDefinitionCommand, } from "./commands/ValidateStateMachineDefinitionCommand";
|
|
39
|
+
import { paginateGetExecutionHistory } from "./pagination/GetExecutionHistoryPaginator";
|
|
40
|
+
import { paginateListActivities } from "./pagination/ListActivitiesPaginator";
|
|
41
|
+
import { paginateListExecutions } from "./pagination/ListExecutionsPaginator";
|
|
42
|
+
import { paginateListMapRuns } from "./pagination/ListMapRunsPaginator";
|
|
43
|
+
import { paginateListStateMachines } from "./pagination/ListStateMachinesPaginator";
|
|
39
44
|
import { SFNClient } from "./SFNClient";
|
|
40
45
|
const commands = {
|
|
41
46
|
CreateActivityCommand,
|
|
@@ -76,6 +81,13 @@ const commands = {
|
|
|
76
81
|
UpdateStateMachineAliasCommand,
|
|
77
82
|
ValidateStateMachineDefinitionCommand,
|
|
78
83
|
};
|
|
84
|
+
const paginators = {
|
|
85
|
+
paginateGetExecutionHistory,
|
|
86
|
+
paginateListActivities,
|
|
87
|
+
paginateListExecutions,
|
|
88
|
+
paginateListMapRuns,
|
|
89
|
+
paginateListStateMachines,
|
|
90
|
+
};
|
|
79
91
|
export class SFN extends SFNClient {
|
|
80
92
|
}
|
|
81
|
-
createAggregatedClient(commands, SFN);
|
|
93
|
+
createAggregatedClient(commands, SFN, { paginators });
|
package/dist-types/SFN.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 { CreateActivityCommandInput, CreateActivityCommandOutput } from "./commands/CreateActivityCommand";
|
|
3
3
|
import { CreateStateMachineAliasCommandInput, CreateStateMachineAliasCommandOutput } from "./commands/CreateStateMachineAliasCommand";
|
|
4
4
|
import { CreateStateMachineCommandInput, CreateStateMachineCommandOutput } from "./commands/CreateStateMachineCommand";
|
|
@@ -263,6 +263,41 @@ export interface SFN {
|
|
|
263
263
|
validateStateMachineDefinition(args: ValidateStateMachineDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<ValidateStateMachineDefinitionCommandOutput>;
|
|
264
264
|
validateStateMachineDefinition(args: ValidateStateMachineDefinitionCommandInput, cb: (err: any, data?: ValidateStateMachineDefinitionCommandOutput) => void): void;
|
|
265
265
|
validateStateMachineDefinition(args: ValidateStateMachineDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ValidateStateMachineDefinitionCommandOutput) => void): void;
|
|
266
|
+
/**
|
|
267
|
+
* @see {@link GetExecutionHistoryCommand}
|
|
268
|
+
* @param args - command input.
|
|
269
|
+
* @param paginationConfig - optional pagination config.
|
|
270
|
+
* @returns AsyncIterable of {@link GetExecutionHistoryCommandOutput}.
|
|
271
|
+
*/
|
|
272
|
+
paginateGetExecutionHistory(args: GetExecutionHistoryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetExecutionHistoryCommandOutput>;
|
|
273
|
+
/**
|
|
274
|
+
* @see {@link ListActivitiesCommand}
|
|
275
|
+
* @param args - command input.
|
|
276
|
+
* @param paginationConfig - optional pagination config.
|
|
277
|
+
* @returns AsyncIterable of {@link ListActivitiesCommandOutput}.
|
|
278
|
+
*/
|
|
279
|
+
paginateListActivities(args?: ListActivitiesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListActivitiesCommandOutput>;
|
|
280
|
+
/**
|
|
281
|
+
* @see {@link ListExecutionsCommand}
|
|
282
|
+
* @param args - command input.
|
|
283
|
+
* @param paginationConfig - optional pagination config.
|
|
284
|
+
* @returns AsyncIterable of {@link ListExecutionsCommandOutput}.
|
|
285
|
+
*/
|
|
286
|
+
paginateListExecutions(args?: ListExecutionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListExecutionsCommandOutput>;
|
|
287
|
+
/**
|
|
288
|
+
* @see {@link ListMapRunsCommand}
|
|
289
|
+
* @param args - command input.
|
|
290
|
+
* @param paginationConfig - optional pagination config.
|
|
291
|
+
* @returns AsyncIterable of {@link ListMapRunsCommandOutput}.
|
|
292
|
+
*/
|
|
293
|
+
paginateListMapRuns(args: ListMapRunsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMapRunsCommandOutput>;
|
|
294
|
+
/**
|
|
295
|
+
* @see {@link ListStateMachinesCommand}
|
|
296
|
+
* @param args - command input.
|
|
297
|
+
* @param paginationConfig - optional pagination config.
|
|
298
|
+
* @returns AsyncIterable of {@link ListStateMachinesCommandOutput}.
|
|
299
|
+
*/
|
|
300
|
+
paginateListStateMachines(args?: ListStateMachinesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListStateMachinesCommandOutput>;
|
|
266
301
|
}
|
|
267
302
|
/**
|
|
268
303
|
* <fullname>Step Functions</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
|
CreateActivityCommandInput,
|
|
4
8
|
CreateActivityCommandOutput,
|
|
@@ -633,5 +637,40 @@ export interface SFN {
|
|
|
633
637
|
options: __HttpHandlerOptions,
|
|
634
638
|
cb: (err: any, data?: ValidateStateMachineDefinitionCommandOutput) => void
|
|
635
639
|
): void;
|
|
640
|
+
paginateGetExecutionHistory(
|
|
641
|
+
args: GetExecutionHistoryCommandInput,
|
|
642
|
+
paginationConfig?: Pick<
|
|
643
|
+
PaginationConfiguration,
|
|
644
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
645
|
+
>
|
|
646
|
+
): Paginator<GetExecutionHistoryCommandOutput>;
|
|
647
|
+
paginateListActivities(
|
|
648
|
+
args?: ListActivitiesCommandInput,
|
|
649
|
+
paginationConfig?: Pick<
|
|
650
|
+
PaginationConfiguration,
|
|
651
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
652
|
+
>
|
|
653
|
+
): Paginator<ListActivitiesCommandOutput>;
|
|
654
|
+
paginateListExecutions(
|
|
655
|
+
args?: ListExecutionsCommandInput,
|
|
656
|
+
paginationConfig?: Pick<
|
|
657
|
+
PaginationConfiguration,
|
|
658
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
659
|
+
>
|
|
660
|
+
): Paginator<ListExecutionsCommandOutput>;
|
|
661
|
+
paginateListMapRuns(
|
|
662
|
+
args: ListMapRunsCommandInput,
|
|
663
|
+
paginationConfig?: Pick<
|
|
664
|
+
PaginationConfiguration,
|
|
665
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
666
|
+
>
|
|
667
|
+
): Paginator<ListMapRunsCommandOutput>;
|
|
668
|
+
paginateListStateMachines(
|
|
669
|
+
args?: ListStateMachinesCommandInput,
|
|
670
|
+
paginationConfig?: Pick<
|
|
671
|
+
PaginationConfiguration,
|
|
672
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
673
|
+
>
|
|
674
|
+
): Paginator<ListStateMachinesCommandOutput>;
|
|
636
675
|
}
|
|
637
676
|
export declare class SFN extends SFNClient implements SFN {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sfn",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sfn 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-sfn",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|