@aws-sdk/client-sfn 3.34.0 → 3.37.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 +47 -0
- package/{dist/cjs → dist-cjs}/SFN.js +1 -20
- package/dist-cjs/SFNClient.js +35 -0
- package/dist-cjs/commands/CreateActivityCommand.js +36 -0
- package/dist-cjs/commands/CreateStateMachineCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteActivityCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteStateMachineCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/DescribeActivityCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/DescribeExecutionCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/DescribeStateMachineCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/DescribeStateMachineForExecutionCommand.js +2 -31
- package/dist-cjs/commands/GetActivityTaskCommand.js +36 -0
- package/dist-cjs/commands/GetExecutionHistoryCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/ListActivitiesCommand.js +2 -32
- package/dist-cjs/commands/ListExecutionsCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/ListStateMachinesCommand.js +2 -32
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/SendTaskFailureCommand.js +2 -28
- package/dist-cjs/commands/SendTaskHeartbeatCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/SendTaskSuccessCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/StartExecutionCommand.js +2 -35
- package/{dist/cjs → dist-cjs}/commands/StartSyncExecutionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StopExecutionCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -32
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/dist-cjs/commands/UpdateStateMachineCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -334
- package/{dist/cjs → dist-cjs}/pagination/GetExecutionHistoryPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListActivitiesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListExecutionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListStateMachinesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_0.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/SFN.js +1 -2
- package/{dist/es → dist-es}/SFNClient.js +1 -2
- package/{dist/es → dist-es}/commands/CreateActivityCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateStateMachineCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteActivityCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteStateMachineCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeActivityCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeExecutionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeStateMachineCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeStateMachineForExecutionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetActivityTaskCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetExecutionHistoryCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListActivitiesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListExecutionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListStateMachinesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SendTaskFailureCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SendTaskHeartbeatCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SendTaskSuccessCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartExecutionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartSyncExecutionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StopExecutionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateStateMachineCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/pagination/GetExecutionHistoryPaginator.js +1 -2
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListActivitiesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListExecutionsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListStateMachinesPaginator.js +1 -2
- package/{dist/es → dist-es}/protocols/Aws_json1_0.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/SFN.d.ts +2 -2
- package/{dist/types → dist-types}/SFNClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CreateActivityCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateStateMachineCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteActivityCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteStateMachineCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeActivityCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeExecutionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeStateMachineCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeStateMachineForExecutionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetActivityTaskCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetExecutionHistoryCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListActivitiesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListExecutionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListStateMachinesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/SendTaskFailureCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/SendTaskHeartbeatCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/SendTaskSuccessCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/StartExecutionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/StartSyncExecutionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/StopExecutionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateStateMachineCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/GetExecutionHistoryPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListActivitiesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListExecutionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListStateMachinesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_0.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/SFN.d.ts +120 -0
- package/{dist/types → dist-types}/ts3.4/SFNClient.d.ts +32 -112
- package/dist-types/ts3.4/commands/CreateActivityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateStateMachineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteActivityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteStateMachineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeActivityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeStateMachineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeStateMachineForExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetActivityTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetExecutionHistoryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListActivitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListStateMachinesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SendTaskFailureCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SendTaskHeartbeatCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SendTaskSuccessCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartSyncExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateStateMachineCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1331 -0
- package/{dist/types → dist-types}/ts3.4/pagination/GetExecutionHistoryPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListActivitiesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListExecutionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListStateMachinesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_0.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/SFN.ts +0 -993
- package/SFNClient.ts +0 -331
- package/commands/CreateActivityCommand.ts +0 -110
- package/commands/CreateStateMachineCommand.ts +0 -112
- package/commands/DeleteActivityCommand.ts +0 -94
- package/commands/DeleteStateMachineCommand.ts +0 -100
- package/commands/DescribeActivityCommand.ts +0 -97
- package/commands/DescribeExecutionCommand.ts +0 -98
- package/commands/DescribeStateMachineCommand.ts +0 -97
- package/commands/DescribeStateMachineForExecutionCommand.ts +0 -106
- package/commands/GetActivityTaskCommand.ts +0 -106
- package/commands/GetExecutionHistoryCommand.ts +0 -99
- package/commands/ListActivitiesCommand.ts +0 -99
- package/commands/ListExecutionsCommand.ts +0 -101
- package/commands/ListStateMachinesCommand.ts +0 -99
- package/commands/ListTagsForResourceCommand.ts +0 -95
- package/commands/SendTaskFailureCommand.ts +0 -95
- package/commands/SendTaskHeartbeatCommand.ts +0 -108
- package/commands/SendTaskSuccessCommand.ts +0 -96
- package/commands/StartExecutionCommand.ts +0 -102
- package/commands/StartSyncExecutionCommand.ts +0 -94
- package/commands/StopExecutionCommand.ts +0 -95
- package/commands/TagResourceCommand.ts +0 -99
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateStateMachineCommand.ts +0 -104
- package/dist/cjs/SFN.js.map +0 -1
- package/dist/cjs/SFNClient.js +0 -59
- package/dist/cjs/SFNClient.js.map +0 -1
- package/dist/cjs/commands/CreateActivityCommand.js +0 -77
- package/dist/cjs/commands/CreateActivityCommand.js.map +0 -1
- package/dist/cjs/commands/CreateStateMachineCommand.js +0 -79
- package/dist/cjs/commands/CreateStateMachineCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteActivityCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteStateMachineCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeActivityCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeStateMachineCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeStateMachineForExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/GetActivityTaskCommand.js +0 -73
- package/dist/cjs/commands/GetActivityTaskCommand.js.map +0 -1
- package/dist/cjs/commands/GetExecutionHistoryCommand.js +0 -66
- package/dist/cjs/commands/GetExecutionHistoryCommand.js.map +0 -1
- package/dist/cjs/commands/ListActivitiesCommand.js.map +0 -1
- package/dist/cjs/commands/ListExecutionsCommand.js +0 -68
- package/dist/cjs/commands/ListExecutionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListStateMachinesCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/SendTaskFailureCommand.js.map +0 -1
- package/dist/cjs/commands/SendTaskHeartbeatCommand.js +0 -75
- package/dist/cjs/commands/SendTaskHeartbeatCommand.js.map +0 -1
- package/dist/cjs/commands/SendTaskSuccessCommand.js.map +0 -1
- package/dist/cjs/commands/StartExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/StartSyncExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/StopExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateStateMachineCommand.js +0 -71
- package/dist/cjs/commands/UpdateStateMachineCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/GetExecutionHistoryPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListActivitiesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListExecutionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListStateMachinesPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_0.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/SFN.js.map +0 -1
- package/dist/es/SFNClient.js.map +0 -1
- package/dist/es/commands/CreateActivityCommand.js.map +0 -1
- package/dist/es/commands/CreateStateMachineCommand.js.map +0 -1
- package/dist/es/commands/DeleteActivityCommand.js.map +0 -1
- package/dist/es/commands/DeleteStateMachineCommand.js.map +0 -1
- package/dist/es/commands/DescribeActivityCommand.js.map +0 -1
- package/dist/es/commands/DescribeExecutionCommand.js.map +0 -1
- package/dist/es/commands/DescribeStateMachineCommand.js.map +0 -1
- package/dist/es/commands/DescribeStateMachineForExecutionCommand.js.map +0 -1
- package/dist/es/commands/GetActivityTaskCommand.js.map +0 -1
- package/dist/es/commands/GetExecutionHistoryCommand.js.map +0 -1
- package/dist/es/commands/ListActivitiesCommand.js.map +0 -1
- package/dist/es/commands/ListExecutionsCommand.js.map +0 -1
- package/dist/es/commands/ListStateMachinesCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/SendTaskFailureCommand.js.map +0 -1
- package/dist/es/commands/SendTaskHeartbeatCommand.js.map +0 -1
- package/dist/es/commands/SendTaskSuccessCommand.js.map +0 -1
- package/dist/es/commands/StartExecutionCommand.js.map +0 -1
- package/dist/es/commands/StartSyncExecutionCommand.js.map +0 -1
- package/dist/es/commands/StopExecutionCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateStateMachineCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -32
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/GetExecutionHistoryPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListActivitiesPaginator.js.map +0 -1
- package/dist/es/pagination/ListExecutionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListStateMachinesPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_0.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/SFN.d.ts +0 -313
- package/dist/types/ts3.4/commands/CreateActivityCommand.d.ts +0 -51
- package/dist/types/ts3.4/commands/CreateStateMachineCommand.d.ts +0 -53
- package/dist/types/ts3.4/commands/DeleteActivityCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteStateMachineCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/DescribeActivityCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DescribeExecutionCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/DescribeStateMachineCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DescribeStateMachineForExecutionCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/GetActivityTaskCommand.d.ts +0 -47
- package/dist/types/ts3.4/commands/GetExecutionHistoryCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/ListActivitiesCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/ListExecutionsCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/ListStateMachinesCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/SendTaskFailureCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/SendTaskHeartbeatCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/SendTaskSuccessCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/StartExecutionCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/StartSyncExecutionCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/StopExecutionCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateStateMachineCommand.d.ts +0 -45
- package/dist/types/ts3.4/models/models_0.d.ts +0 -2540
- package/endpoints.ts +0 -86
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -3374
- package/pagination/GetExecutionHistoryPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListActivitiesPaginator.ts +0 -58
- package/pagination/ListExecutionsPaginator.ts +0 -58
- package/pagination/ListStateMachinesPaginator.ts +0 -58
- package/protocols/Aws_json1_0.ts +0 -3957
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { SFN } from "../SFN";
|
|
2
|
-
import { SFNClient } from "../SFNClient";
|
|
3
|
-
import {
|
|
4
|
-
GetExecutionHistoryCommand,
|
|
5
|
-
GetExecutionHistoryCommandInput,
|
|
6
|
-
GetExecutionHistoryCommandOutput,
|
|
7
|
-
} from "../commands/GetExecutionHistoryCommand";
|
|
8
|
-
import { SFNPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: SFNClient,
|
|
16
|
-
input: GetExecutionHistoryCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<GetExecutionHistoryCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new GetExecutionHistoryCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: SFN,
|
|
27
|
-
input: GetExecutionHistoryCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<GetExecutionHistoryCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.getExecutionHistory(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateGetExecutionHistory(
|
|
34
|
-
config: SFNPaginationConfiguration,
|
|
35
|
-
input: GetExecutionHistoryCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<GetExecutionHistoryCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
39
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: GetExecutionHistoryCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.nextToken = token;
|
|
44
|
-
input["maxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof SFN) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof SFNClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected SFN | SFNClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.nextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
package/pagination/Interfaces.ts
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { SFN } from "../SFN";
|
|
2
|
-
import { SFNClient } from "../SFNClient";
|
|
3
|
-
import {
|
|
4
|
-
ListActivitiesCommand,
|
|
5
|
-
ListActivitiesCommandInput,
|
|
6
|
-
ListActivitiesCommandOutput,
|
|
7
|
-
} from "../commands/ListActivitiesCommand";
|
|
8
|
-
import { SFNPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: SFNClient,
|
|
16
|
-
input: ListActivitiesCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListActivitiesCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListActivitiesCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: SFN,
|
|
27
|
-
input: ListActivitiesCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListActivitiesCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listActivities(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListActivities(
|
|
34
|
-
config: SFNPaginationConfiguration,
|
|
35
|
-
input: ListActivitiesCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListActivitiesCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
39
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListActivitiesCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.nextToken = token;
|
|
44
|
-
input["maxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof SFN) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof SFNClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected SFN | SFNClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.nextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { SFN } from "../SFN";
|
|
2
|
-
import { SFNClient } from "../SFNClient";
|
|
3
|
-
import {
|
|
4
|
-
ListExecutionsCommand,
|
|
5
|
-
ListExecutionsCommandInput,
|
|
6
|
-
ListExecutionsCommandOutput,
|
|
7
|
-
} from "../commands/ListExecutionsCommand";
|
|
8
|
-
import { SFNPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: SFNClient,
|
|
16
|
-
input: ListExecutionsCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListExecutionsCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListExecutionsCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: SFN,
|
|
27
|
-
input: ListExecutionsCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListExecutionsCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listExecutions(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListExecutions(
|
|
34
|
-
config: SFNPaginationConfiguration,
|
|
35
|
-
input: ListExecutionsCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListExecutionsCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
39
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListExecutionsCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.nextToken = token;
|
|
44
|
-
input["maxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof SFN) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof SFNClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected SFN | SFNClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.nextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { SFN } from "../SFN";
|
|
2
|
-
import { SFNClient } from "../SFNClient";
|
|
3
|
-
import {
|
|
4
|
-
ListStateMachinesCommand,
|
|
5
|
-
ListStateMachinesCommandInput,
|
|
6
|
-
ListStateMachinesCommandOutput,
|
|
7
|
-
} from "../commands/ListStateMachinesCommand";
|
|
8
|
-
import { SFNPaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
*/
|
|
14
|
-
const makePagedClientRequest = async (
|
|
15
|
-
client: SFNClient,
|
|
16
|
-
input: ListStateMachinesCommandInput,
|
|
17
|
-
...args: any
|
|
18
|
-
): Promise<ListStateMachinesCommandOutput> => {
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
return await client.send(new ListStateMachinesCommand(input), ...args);
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* @private
|
|
24
|
-
*/
|
|
25
|
-
const makePagedRequest = async (
|
|
26
|
-
client: SFN,
|
|
27
|
-
input: ListStateMachinesCommandInput,
|
|
28
|
-
...args: any
|
|
29
|
-
): Promise<ListStateMachinesCommandOutput> => {
|
|
30
|
-
// @ts-ignore
|
|
31
|
-
return await client.listStateMachines(input, ...args);
|
|
32
|
-
};
|
|
33
|
-
export async function* paginateListStateMachines(
|
|
34
|
-
config: SFNPaginationConfiguration,
|
|
35
|
-
input: ListStateMachinesCommandInput,
|
|
36
|
-
...additionalArguments: any
|
|
37
|
-
): Paginator<ListStateMachinesCommandOutput> {
|
|
38
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
39
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
40
|
-
let hasNext = true;
|
|
41
|
-
let page: ListStateMachinesCommandOutput;
|
|
42
|
-
while (hasNext) {
|
|
43
|
-
input.nextToken = token;
|
|
44
|
-
input["maxResults"] = config.pageSize;
|
|
45
|
-
if (config.client instanceof SFN) {
|
|
46
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
47
|
-
} else if (config.client instanceof SFNClient) {
|
|
48
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
49
|
-
} else {
|
|
50
|
-
throw new Error("Invalid client, expected SFN | SFNClient");
|
|
51
|
-
}
|
|
52
|
-
yield page;
|
|
53
|
-
token = page.nextToken;
|
|
54
|
-
hasNext = !!token;
|
|
55
|
-
}
|
|
56
|
-
// @ts-ignore
|
|
57
|
-
return undefined;
|
|
58
|
-
}
|