@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
package/SFN.ts
DELETED
|
@@ -1,993 +0,0 @@
|
|
|
1
|
-
import { SFNClient } from "./SFNClient";
|
|
2
|
-
import {
|
|
3
|
-
CreateActivityCommand,
|
|
4
|
-
CreateActivityCommandInput,
|
|
5
|
-
CreateActivityCommandOutput,
|
|
6
|
-
} from "./commands/CreateActivityCommand";
|
|
7
|
-
import {
|
|
8
|
-
CreateStateMachineCommand,
|
|
9
|
-
CreateStateMachineCommandInput,
|
|
10
|
-
CreateStateMachineCommandOutput,
|
|
11
|
-
} from "./commands/CreateStateMachineCommand";
|
|
12
|
-
import {
|
|
13
|
-
DeleteActivityCommand,
|
|
14
|
-
DeleteActivityCommandInput,
|
|
15
|
-
DeleteActivityCommandOutput,
|
|
16
|
-
} from "./commands/DeleteActivityCommand";
|
|
17
|
-
import {
|
|
18
|
-
DeleteStateMachineCommand,
|
|
19
|
-
DeleteStateMachineCommandInput,
|
|
20
|
-
DeleteStateMachineCommandOutput,
|
|
21
|
-
} from "./commands/DeleteStateMachineCommand";
|
|
22
|
-
import {
|
|
23
|
-
DescribeActivityCommand,
|
|
24
|
-
DescribeActivityCommandInput,
|
|
25
|
-
DescribeActivityCommandOutput,
|
|
26
|
-
} from "./commands/DescribeActivityCommand";
|
|
27
|
-
import {
|
|
28
|
-
DescribeExecutionCommand,
|
|
29
|
-
DescribeExecutionCommandInput,
|
|
30
|
-
DescribeExecutionCommandOutput,
|
|
31
|
-
} from "./commands/DescribeExecutionCommand";
|
|
32
|
-
import {
|
|
33
|
-
DescribeStateMachineCommand,
|
|
34
|
-
DescribeStateMachineCommandInput,
|
|
35
|
-
DescribeStateMachineCommandOutput,
|
|
36
|
-
} from "./commands/DescribeStateMachineCommand";
|
|
37
|
-
import {
|
|
38
|
-
DescribeStateMachineForExecutionCommand,
|
|
39
|
-
DescribeStateMachineForExecutionCommandInput,
|
|
40
|
-
DescribeStateMachineForExecutionCommandOutput,
|
|
41
|
-
} from "./commands/DescribeStateMachineForExecutionCommand";
|
|
42
|
-
import {
|
|
43
|
-
GetActivityTaskCommand,
|
|
44
|
-
GetActivityTaskCommandInput,
|
|
45
|
-
GetActivityTaskCommandOutput,
|
|
46
|
-
} from "./commands/GetActivityTaskCommand";
|
|
47
|
-
import {
|
|
48
|
-
GetExecutionHistoryCommand,
|
|
49
|
-
GetExecutionHistoryCommandInput,
|
|
50
|
-
GetExecutionHistoryCommandOutput,
|
|
51
|
-
} from "./commands/GetExecutionHistoryCommand";
|
|
52
|
-
import {
|
|
53
|
-
ListActivitiesCommand,
|
|
54
|
-
ListActivitiesCommandInput,
|
|
55
|
-
ListActivitiesCommandOutput,
|
|
56
|
-
} from "./commands/ListActivitiesCommand";
|
|
57
|
-
import {
|
|
58
|
-
ListExecutionsCommand,
|
|
59
|
-
ListExecutionsCommandInput,
|
|
60
|
-
ListExecutionsCommandOutput,
|
|
61
|
-
} from "./commands/ListExecutionsCommand";
|
|
62
|
-
import {
|
|
63
|
-
ListStateMachinesCommand,
|
|
64
|
-
ListStateMachinesCommandInput,
|
|
65
|
-
ListStateMachinesCommandOutput,
|
|
66
|
-
} from "./commands/ListStateMachinesCommand";
|
|
67
|
-
import {
|
|
68
|
-
ListTagsForResourceCommand,
|
|
69
|
-
ListTagsForResourceCommandInput,
|
|
70
|
-
ListTagsForResourceCommandOutput,
|
|
71
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
72
|
-
import {
|
|
73
|
-
SendTaskFailureCommand,
|
|
74
|
-
SendTaskFailureCommandInput,
|
|
75
|
-
SendTaskFailureCommandOutput,
|
|
76
|
-
} from "./commands/SendTaskFailureCommand";
|
|
77
|
-
import {
|
|
78
|
-
SendTaskHeartbeatCommand,
|
|
79
|
-
SendTaskHeartbeatCommandInput,
|
|
80
|
-
SendTaskHeartbeatCommandOutput,
|
|
81
|
-
} from "./commands/SendTaskHeartbeatCommand";
|
|
82
|
-
import {
|
|
83
|
-
SendTaskSuccessCommand,
|
|
84
|
-
SendTaskSuccessCommandInput,
|
|
85
|
-
SendTaskSuccessCommandOutput,
|
|
86
|
-
} from "./commands/SendTaskSuccessCommand";
|
|
87
|
-
import {
|
|
88
|
-
StartExecutionCommand,
|
|
89
|
-
StartExecutionCommandInput,
|
|
90
|
-
StartExecutionCommandOutput,
|
|
91
|
-
} from "./commands/StartExecutionCommand";
|
|
92
|
-
import {
|
|
93
|
-
StartSyncExecutionCommand,
|
|
94
|
-
StartSyncExecutionCommandInput,
|
|
95
|
-
StartSyncExecutionCommandOutput,
|
|
96
|
-
} from "./commands/StartSyncExecutionCommand";
|
|
97
|
-
import {
|
|
98
|
-
StopExecutionCommand,
|
|
99
|
-
StopExecutionCommandInput,
|
|
100
|
-
StopExecutionCommandOutput,
|
|
101
|
-
} from "./commands/StopExecutionCommand";
|
|
102
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
103
|
-
import {
|
|
104
|
-
UntagResourceCommand,
|
|
105
|
-
UntagResourceCommandInput,
|
|
106
|
-
UntagResourceCommandOutput,
|
|
107
|
-
} from "./commands/UntagResourceCommand";
|
|
108
|
-
import {
|
|
109
|
-
UpdateStateMachineCommand,
|
|
110
|
-
UpdateStateMachineCommandInput,
|
|
111
|
-
UpdateStateMachineCommandOutput,
|
|
112
|
-
} from "./commands/UpdateStateMachineCommand";
|
|
113
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* <fullname>AWS Step Functions</fullname>
|
|
117
|
-
* <p>AWS Step Functions is a service that lets you coordinate the components of distributed applications
|
|
118
|
-
* and microservices using visual workflows.</p>
|
|
119
|
-
* <p>You can use Step Functions to build applications from individual components, each of which performs
|
|
120
|
-
* a discrete function, or <i>task</i>, allowing you to scale and change
|
|
121
|
-
* applications quickly. Step Functions provides a console that helps visualize the components of your
|
|
122
|
-
* application as a series of steps. Step Functions automatically triggers and tracks each step, and
|
|
123
|
-
* retries steps when there are errors, so your application executes predictably and in the right
|
|
124
|
-
* order every time. Step Functions logs the state of each step, so you can quickly diagnose and debug any
|
|
125
|
-
* issues.</p>
|
|
126
|
-
* <p>Step Functions manages operations and underlying infrastructure to ensure your application is
|
|
127
|
-
* available at any scale. You can run tasks on AWS, your own servers, or any system that has
|
|
128
|
-
* access to AWS. You can access and use Step Functions using the console, the AWS SDKs, or an HTTP API.
|
|
129
|
-
* For more information about Step Functions, see the <i>
|
|
130
|
-
* <a href="https://docs.aws.amazon.com/step-functions/latest/dg/welcome.html">AWS Step Functions Developer Guide</a>
|
|
131
|
-
* </i>.</p>
|
|
132
|
-
*/
|
|
133
|
-
export class SFN extends SFNClient {
|
|
134
|
-
/**
|
|
135
|
-
* <p>Creates an activity. An activity is a task that you write in any programming language and
|
|
136
|
-
* host on any machine that has access to AWS Step Functions. Activities must poll Step Functions using the
|
|
137
|
-
* <code>GetActivityTask</code> API action and respond using <code>SendTask*</code> API
|
|
138
|
-
* actions. This function lets Step Functions know the existence of your activity and returns an
|
|
139
|
-
* identifier for use in a state machine and when polling from the activity.</p>
|
|
140
|
-
* <note>
|
|
141
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
142
|
-
* </note>
|
|
143
|
-
* <note>
|
|
144
|
-
* <p>
|
|
145
|
-
* <code>CreateActivity</code> is an idempotent API. Subsequent requests won’t create a
|
|
146
|
-
* duplicate resource if it was already created. <code>CreateActivity</code>'s idempotency
|
|
147
|
-
* check is based on the activity <code>name</code>. If a following request has different
|
|
148
|
-
* <code>tags</code> values, Step Functions will ignore these differences and treat it as an
|
|
149
|
-
* idempotent request of the previous. In this case, <code>tags</code> will not be updated,
|
|
150
|
-
* even if they are different.</p>
|
|
151
|
-
* </note>
|
|
152
|
-
*/
|
|
153
|
-
public createActivity(
|
|
154
|
-
args: CreateActivityCommandInput,
|
|
155
|
-
options?: __HttpHandlerOptions
|
|
156
|
-
): Promise<CreateActivityCommandOutput>;
|
|
157
|
-
public createActivity(
|
|
158
|
-
args: CreateActivityCommandInput,
|
|
159
|
-
cb: (err: any, data?: CreateActivityCommandOutput) => void
|
|
160
|
-
): void;
|
|
161
|
-
public createActivity(
|
|
162
|
-
args: CreateActivityCommandInput,
|
|
163
|
-
options: __HttpHandlerOptions,
|
|
164
|
-
cb: (err: any, data?: CreateActivityCommandOutput) => void
|
|
165
|
-
): void;
|
|
166
|
-
public createActivity(
|
|
167
|
-
args: CreateActivityCommandInput,
|
|
168
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateActivityCommandOutput) => void),
|
|
169
|
-
cb?: (err: any, data?: CreateActivityCommandOutput) => void
|
|
170
|
-
): Promise<CreateActivityCommandOutput> | void {
|
|
171
|
-
const command = new CreateActivityCommand(args);
|
|
172
|
-
if (typeof optionsOrCb === "function") {
|
|
173
|
-
this.send(command, optionsOrCb);
|
|
174
|
-
} else if (typeof cb === "function") {
|
|
175
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
176
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
177
|
-
} else {
|
|
178
|
-
return this.send(command, optionsOrCb);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* <p>Creates a state machine. A state machine consists of a collection of states that can do
|
|
184
|
-
* work (<code>Task</code> states), determine to which states to transition next
|
|
185
|
-
* (<code>Choice</code> states), stop an execution with an error (<code>Fail</code> states),
|
|
186
|
-
* and so on. State machines are specified using a JSON-based, structured language. For more
|
|
187
|
-
* information, see <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html">Amazon States
|
|
188
|
-
* Language</a> in the AWS Step Functions User Guide.</p>
|
|
189
|
-
* <note>
|
|
190
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
191
|
-
* </note>
|
|
192
|
-
* <note>
|
|
193
|
-
* <p>
|
|
194
|
-
* <code>CreateStateMachine</code> is an idempotent API. Subsequent requests won’t create a
|
|
195
|
-
* duplicate resource if it was already created. <code>CreateStateMachine</code>'s idempotency
|
|
196
|
-
* check is based on the state machine <code>name</code>, <code>definition</code>,
|
|
197
|
-
* <code>type</code>, <code>LoggingConfiguration</code> and <code>TracingConfiguration</code>. If a following request has a
|
|
198
|
-
* different <code>roleArn</code> or <code>tags</code>, Step Functions will ignore these differences and
|
|
199
|
-
* treat it as an idempotent request of the previous. In this case, <code>roleArn</code> and
|
|
200
|
-
* <code>tags</code> will not be updated, even if they are different.</p>
|
|
201
|
-
* </note>
|
|
202
|
-
*/
|
|
203
|
-
public createStateMachine(
|
|
204
|
-
args: CreateStateMachineCommandInput,
|
|
205
|
-
options?: __HttpHandlerOptions
|
|
206
|
-
): Promise<CreateStateMachineCommandOutput>;
|
|
207
|
-
public createStateMachine(
|
|
208
|
-
args: CreateStateMachineCommandInput,
|
|
209
|
-
cb: (err: any, data?: CreateStateMachineCommandOutput) => void
|
|
210
|
-
): void;
|
|
211
|
-
public createStateMachine(
|
|
212
|
-
args: CreateStateMachineCommandInput,
|
|
213
|
-
options: __HttpHandlerOptions,
|
|
214
|
-
cb: (err: any, data?: CreateStateMachineCommandOutput) => void
|
|
215
|
-
): void;
|
|
216
|
-
public createStateMachine(
|
|
217
|
-
args: CreateStateMachineCommandInput,
|
|
218
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateStateMachineCommandOutput) => void),
|
|
219
|
-
cb?: (err: any, data?: CreateStateMachineCommandOutput) => void
|
|
220
|
-
): Promise<CreateStateMachineCommandOutput> | void {
|
|
221
|
-
const command = new CreateStateMachineCommand(args);
|
|
222
|
-
if (typeof optionsOrCb === "function") {
|
|
223
|
-
this.send(command, optionsOrCb);
|
|
224
|
-
} else if (typeof cb === "function") {
|
|
225
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
226
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
227
|
-
} else {
|
|
228
|
-
return this.send(command, optionsOrCb);
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* <p>Deletes an activity.</p>
|
|
234
|
-
*/
|
|
235
|
-
public deleteActivity(
|
|
236
|
-
args: DeleteActivityCommandInput,
|
|
237
|
-
options?: __HttpHandlerOptions
|
|
238
|
-
): Promise<DeleteActivityCommandOutput>;
|
|
239
|
-
public deleteActivity(
|
|
240
|
-
args: DeleteActivityCommandInput,
|
|
241
|
-
cb: (err: any, data?: DeleteActivityCommandOutput) => void
|
|
242
|
-
): void;
|
|
243
|
-
public deleteActivity(
|
|
244
|
-
args: DeleteActivityCommandInput,
|
|
245
|
-
options: __HttpHandlerOptions,
|
|
246
|
-
cb: (err: any, data?: DeleteActivityCommandOutput) => void
|
|
247
|
-
): void;
|
|
248
|
-
public deleteActivity(
|
|
249
|
-
args: DeleteActivityCommandInput,
|
|
250
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteActivityCommandOutput) => void),
|
|
251
|
-
cb?: (err: any, data?: DeleteActivityCommandOutput) => void
|
|
252
|
-
): Promise<DeleteActivityCommandOutput> | void {
|
|
253
|
-
const command = new DeleteActivityCommand(args);
|
|
254
|
-
if (typeof optionsOrCb === "function") {
|
|
255
|
-
this.send(command, optionsOrCb);
|
|
256
|
-
} else if (typeof cb === "function") {
|
|
257
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
258
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
259
|
-
} else {
|
|
260
|
-
return this.send(command, optionsOrCb);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* <p>Deletes a state machine. This is an asynchronous operation: It sets the state machine's
|
|
266
|
-
* status to <code>DELETING</code> and begins the deletion process. </p>
|
|
267
|
-
* <note>
|
|
268
|
-
* <p>For <code>EXPRESS</code>state machines, the deletion will happen eventually (usually
|
|
269
|
-
* less than a minute). Running executions may emit logs after <code>DeleteStateMachine</code>
|
|
270
|
-
* API is called.</p>
|
|
271
|
-
* </note>
|
|
272
|
-
*/
|
|
273
|
-
public deleteStateMachine(
|
|
274
|
-
args: DeleteStateMachineCommandInput,
|
|
275
|
-
options?: __HttpHandlerOptions
|
|
276
|
-
): Promise<DeleteStateMachineCommandOutput>;
|
|
277
|
-
public deleteStateMachine(
|
|
278
|
-
args: DeleteStateMachineCommandInput,
|
|
279
|
-
cb: (err: any, data?: DeleteStateMachineCommandOutput) => void
|
|
280
|
-
): void;
|
|
281
|
-
public deleteStateMachine(
|
|
282
|
-
args: DeleteStateMachineCommandInput,
|
|
283
|
-
options: __HttpHandlerOptions,
|
|
284
|
-
cb: (err: any, data?: DeleteStateMachineCommandOutput) => void
|
|
285
|
-
): void;
|
|
286
|
-
public deleteStateMachine(
|
|
287
|
-
args: DeleteStateMachineCommandInput,
|
|
288
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteStateMachineCommandOutput) => void),
|
|
289
|
-
cb?: (err: any, data?: DeleteStateMachineCommandOutput) => void
|
|
290
|
-
): Promise<DeleteStateMachineCommandOutput> | void {
|
|
291
|
-
const command = new DeleteStateMachineCommand(args);
|
|
292
|
-
if (typeof optionsOrCb === "function") {
|
|
293
|
-
this.send(command, optionsOrCb);
|
|
294
|
-
} else if (typeof cb === "function") {
|
|
295
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
296
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
297
|
-
} else {
|
|
298
|
-
return this.send(command, optionsOrCb);
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
/**
|
|
303
|
-
* <p>Describes an activity.</p>
|
|
304
|
-
* <note>
|
|
305
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
306
|
-
* </note>
|
|
307
|
-
*/
|
|
308
|
-
public describeActivity(
|
|
309
|
-
args: DescribeActivityCommandInput,
|
|
310
|
-
options?: __HttpHandlerOptions
|
|
311
|
-
): Promise<DescribeActivityCommandOutput>;
|
|
312
|
-
public describeActivity(
|
|
313
|
-
args: DescribeActivityCommandInput,
|
|
314
|
-
cb: (err: any, data?: DescribeActivityCommandOutput) => void
|
|
315
|
-
): void;
|
|
316
|
-
public describeActivity(
|
|
317
|
-
args: DescribeActivityCommandInput,
|
|
318
|
-
options: __HttpHandlerOptions,
|
|
319
|
-
cb: (err: any, data?: DescribeActivityCommandOutput) => void
|
|
320
|
-
): void;
|
|
321
|
-
public describeActivity(
|
|
322
|
-
args: DescribeActivityCommandInput,
|
|
323
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeActivityCommandOutput) => void),
|
|
324
|
-
cb?: (err: any, data?: DescribeActivityCommandOutput) => void
|
|
325
|
-
): Promise<DescribeActivityCommandOutput> | void {
|
|
326
|
-
const command = new DescribeActivityCommand(args);
|
|
327
|
-
if (typeof optionsOrCb === "function") {
|
|
328
|
-
this.send(command, optionsOrCb);
|
|
329
|
-
} else if (typeof cb === "function") {
|
|
330
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
331
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
332
|
-
} else {
|
|
333
|
-
return this.send(command, optionsOrCb);
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* <p>Describes an execution.</p>
|
|
339
|
-
* <note>
|
|
340
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
341
|
-
* </note>
|
|
342
|
-
* <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
|
|
343
|
-
*/
|
|
344
|
-
public describeExecution(
|
|
345
|
-
args: DescribeExecutionCommandInput,
|
|
346
|
-
options?: __HttpHandlerOptions
|
|
347
|
-
): Promise<DescribeExecutionCommandOutput>;
|
|
348
|
-
public describeExecution(
|
|
349
|
-
args: DescribeExecutionCommandInput,
|
|
350
|
-
cb: (err: any, data?: DescribeExecutionCommandOutput) => void
|
|
351
|
-
): void;
|
|
352
|
-
public describeExecution(
|
|
353
|
-
args: DescribeExecutionCommandInput,
|
|
354
|
-
options: __HttpHandlerOptions,
|
|
355
|
-
cb: (err: any, data?: DescribeExecutionCommandOutput) => void
|
|
356
|
-
): void;
|
|
357
|
-
public describeExecution(
|
|
358
|
-
args: DescribeExecutionCommandInput,
|
|
359
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeExecutionCommandOutput) => void),
|
|
360
|
-
cb?: (err: any, data?: DescribeExecutionCommandOutput) => void
|
|
361
|
-
): Promise<DescribeExecutionCommandOutput> | void {
|
|
362
|
-
const command = new DescribeExecutionCommand(args);
|
|
363
|
-
if (typeof optionsOrCb === "function") {
|
|
364
|
-
this.send(command, optionsOrCb);
|
|
365
|
-
} else if (typeof cb === "function") {
|
|
366
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
367
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
368
|
-
} else {
|
|
369
|
-
return this.send(command, optionsOrCb);
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* <p>Describes a state machine.</p>
|
|
375
|
-
* <note>
|
|
376
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
377
|
-
* </note>
|
|
378
|
-
*/
|
|
379
|
-
public describeStateMachine(
|
|
380
|
-
args: DescribeStateMachineCommandInput,
|
|
381
|
-
options?: __HttpHandlerOptions
|
|
382
|
-
): Promise<DescribeStateMachineCommandOutput>;
|
|
383
|
-
public describeStateMachine(
|
|
384
|
-
args: DescribeStateMachineCommandInput,
|
|
385
|
-
cb: (err: any, data?: DescribeStateMachineCommandOutput) => void
|
|
386
|
-
): void;
|
|
387
|
-
public describeStateMachine(
|
|
388
|
-
args: DescribeStateMachineCommandInput,
|
|
389
|
-
options: __HttpHandlerOptions,
|
|
390
|
-
cb: (err: any, data?: DescribeStateMachineCommandOutput) => void
|
|
391
|
-
): void;
|
|
392
|
-
public describeStateMachine(
|
|
393
|
-
args: DescribeStateMachineCommandInput,
|
|
394
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeStateMachineCommandOutput) => void),
|
|
395
|
-
cb?: (err: any, data?: DescribeStateMachineCommandOutput) => void
|
|
396
|
-
): Promise<DescribeStateMachineCommandOutput> | void {
|
|
397
|
-
const command = new DescribeStateMachineCommand(args);
|
|
398
|
-
if (typeof optionsOrCb === "function") {
|
|
399
|
-
this.send(command, optionsOrCb);
|
|
400
|
-
} else if (typeof cb === "function") {
|
|
401
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
402
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
403
|
-
} else {
|
|
404
|
-
return this.send(command, optionsOrCb);
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* <p>Describes the state machine associated with a specific execution.</p>
|
|
410
|
-
* <note>
|
|
411
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
412
|
-
* </note>
|
|
413
|
-
* <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
|
|
414
|
-
*/
|
|
415
|
-
public describeStateMachineForExecution(
|
|
416
|
-
args: DescribeStateMachineForExecutionCommandInput,
|
|
417
|
-
options?: __HttpHandlerOptions
|
|
418
|
-
): Promise<DescribeStateMachineForExecutionCommandOutput>;
|
|
419
|
-
public describeStateMachineForExecution(
|
|
420
|
-
args: DescribeStateMachineForExecutionCommandInput,
|
|
421
|
-
cb: (err: any, data?: DescribeStateMachineForExecutionCommandOutput) => void
|
|
422
|
-
): void;
|
|
423
|
-
public describeStateMachineForExecution(
|
|
424
|
-
args: DescribeStateMachineForExecutionCommandInput,
|
|
425
|
-
options: __HttpHandlerOptions,
|
|
426
|
-
cb: (err: any, data?: DescribeStateMachineForExecutionCommandOutput) => void
|
|
427
|
-
): void;
|
|
428
|
-
public describeStateMachineForExecution(
|
|
429
|
-
args: DescribeStateMachineForExecutionCommandInput,
|
|
430
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeStateMachineForExecutionCommandOutput) => void),
|
|
431
|
-
cb?: (err: any, data?: DescribeStateMachineForExecutionCommandOutput) => void
|
|
432
|
-
): Promise<DescribeStateMachineForExecutionCommandOutput> | void {
|
|
433
|
-
const command = new DescribeStateMachineForExecutionCommand(args);
|
|
434
|
-
if (typeof optionsOrCb === "function") {
|
|
435
|
-
this.send(command, optionsOrCb);
|
|
436
|
-
} else if (typeof cb === "function") {
|
|
437
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
438
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
439
|
-
} else {
|
|
440
|
-
return this.send(command, optionsOrCb);
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
/**
|
|
445
|
-
* <p>Used by workers to retrieve a task (with the specified activity ARN) which has been
|
|
446
|
-
* scheduled for execution by a running state machine. This initiates a long poll, where the
|
|
447
|
-
* service holds the HTTP connection open and responds as soon as a task becomes available (i.e.
|
|
448
|
-
* an execution of a task of this type is needed.) The maximum time the service holds on to the
|
|
449
|
-
* request before responding is 60 seconds. If no task is available within 60 seconds, the poll
|
|
450
|
-
* returns a <code>taskToken</code> with a null string.</p>
|
|
451
|
-
* <important>
|
|
452
|
-
* <p>Workers should set their client side socket timeout to at least 65 seconds (5 seconds
|
|
453
|
-
* higher than the maximum time the service may hold the poll request).</p>
|
|
454
|
-
* <p>Polling with <code>GetActivityTask</code> can cause latency in some implementations. See
|
|
455
|
-
* <a href="https://docs.aws.amazon.com/step-functions/latest/dg/bp-activity-pollers.html">Avoid
|
|
456
|
-
* Latency When Polling for Activity Tasks</a> in the Step Functions Developer Guide.</p>
|
|
457
|
-
* </important>
|
|
458
|
-
*/
|
|
459
|
-
public getActivityTask(
|
|
460
|
-
args: GetActivityTaskCommandInput,
|
|
461
|
-
options?: __HttpHandlerOptions
|
|
462
|
-
): Promise<GetActivityTaskCommandOutput>;
|
|
463
|
-
public getActivityTask(
|
|
464
|
-
args: GetActivityTaskCommandInput,
|
|
465
|
-
cb: (err: any, data?: GetActivityTaskCommandOutput) => void
|
|
466
|
-
): void;
|
|
467
|
-
public getActivityTask(
|
|
468
|
-
args: GetActivityTaskCommandInput,
|
|
469
|
-
options: __HttpHandlerOptions,
|
|
470
|
-
cb: (err: any, data?: GetActivityTaskCommandOutput) => void
|
|
471
|
-
): void;
|
|
472
|
-
public getActivityTask(
|
|
473
|
-
args: GetActivityTaskCommandInput,
|
|
474
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetActivityTaskCommandOutput) => void),
|
|
475
|
-
cb?: (err: any, data?: GetActivityTaskCommandOutput) => void
|
|
476
|
-
): Promise<GetActivityTaskCommandOutput> | void {
|
|
477
|
-
const command = new GetActivityTaskCommand(args);
|
|
478
|
-
if (typeof optionsOrCb === "function") {
|
|
479
|
-
this.send(command, optionsOrCb);
|
|
480
|
-
} else if (typeof cb === "function") {
|
|
481
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
482
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
483
|
-
} else {
|
|
484
|
-
return this.send(command, optionsOrCb);
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
/**
|
|
489
|
-
* <p>Returns the history of the specified execution as a list of events. By default, the
|
|
490
|
-
* results are returned in ascending order of the <code>timeStamp</code> of the events. Use the
|
|
491
|
-
* <code>reverseOrder</code> parameter to get the latest events first.</p>
|
|
492
|
-
* <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
493
|
-
* Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
|
|
494
|
-
* <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
|
|
495
|
-
*/
|
|
496
|
-
public getExecutionHistory(
|
|
497
|
-
args: GetExecutionHistoryCommandInput,
|
|
498
|
-
options?: __HttpHandlerOptions
|
|
499
|
-
): Promise<GetExecutionHistoryCommandOutput>;
|
|
500
|
-
public getExecutionHistory(
|
|
501
|
-
args: GetExecutionHistoryCommandInput,
|
|
502
|
-
cb: (err: any, data?: GetExecutionHistoryCommandOutput) => void
|
|
503
|
-
): void;
|
|
504
|
-
public getExecutionHistory(
|
|
505
|
-
args: GetExecutionHistoryCommandInput,
|
|
506
|
-
options: __HttpHandlerOptions,
|
|
507
|
-
cb: (err: any, data?: GetExecutionHistoryCommandOutput) => void
|
|
508
|
-
): void;
|
|
509
|
-
public getExecutionHistory(
|
|
510
|
-
args: GetExecutionHistoryCommandInput,
|
|
511
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetExecutionHistoryCommandOutput) => void),
|
|
512
|
-
cb?: (err: any, data?: GetExecutionHistoryCommandOutput) => void
|
|
513
|
-
): Promise<GetExecutionHistoryCommandOutput> | void {
|
|
514
|
-
const command = new GetExecutionHistoryCommand(args);
|
|
515
|
-
if (typeof optionsOrCb === "function") {
|
|
516
|
-
this.send(command, optionsOrCb);
|
|
517
|
-
} else if (typeof cb === "function") {
|
|
518
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
519
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
520
|
-
} else {
|
|
521
|
-
return this.send(command, optionsOrCb);
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
/**
|
|
526
|
-
* <p>Lists the existing activities.</p>
|
|
527
|
-
* <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
528
|
-
* Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
|
|
529
|
-
* <note>
|
|
530
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
531
|
-
* </note>
|
|
532
|
-
*/
|
|
533
|
-
public listActivities(
|
|
534
|
-
args: ListActivitiesCommandInput,
|
|
535
|
-
options?: __HttpHandlerOptions
|
|
536
|
-
): Promise<ListActivitiesCommandOutput>;
|
|
537
|
-
public listActivities(
|
|
538
|
-
args: ListActivitiesCommandInput,
|
|
539
|
-
cb: (err: any, data?: ListActivitiesCommandOutput) => void
|
|
540
|
-
): void;
|
|
541
|
-
public listActivities(
|
|
542
|
-
args: ListActivitiesCommandInput,
|
|
543
|
-
options: __HttpHandlerOptions,
|
|
544
|
-
cb: (err: any, data?: ListActivitiesCommandOutput) => void
|
|
545
|
-
): void;
|
|
546
|
-
public listActivities(
|
|
547
|
-
args: ListActivitiesCommandInput,
|
|
548
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListActivitiesCommandOutput) => void),
|
|
549
|
-
cb?: (err: any, data?: ListActivitiesCommandOutput) => void
|
|
550
|
-
): Promise<ListActivitiesCommandOutput> | void {
|
|
551
|
-
const command = new ListActivitiesCommand(args);
|
|
552
|
-
if (typeof optionsOrCb === "function") {
|
|
553
|
-
this.send(command, optionsOrCb);
|
|
554
|
-
} else if (typeof cb === "function") {
|
|
555
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
556
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
557
|
-
} else {
|
|
558
|
-
return this.send(command, optionsOrCb);
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
/**
|
|
563
|
-
* <p>Lists the executions of a state machine that meet the filtering criteria. Results are
|
|
564
|
-
* sorted by time, with the most recent execution first.</p>
|
|
565
|
-
* <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
566
|
-
* Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
|
|
567
|
-
* <note>
|
|
568
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
569
|
-
* </note>
|
|
570
|
-
* <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
|
|
571
|
-
*/
|
|
572
|
-
public listExecutions(
|
|
573
|
-
args: ListExecutionsCommandInput,
|
|
574
|
-
options?: __HttpHandlerOptions
|
|
575
|
-
): Promise<ListExecutionsCommandOutput>;
|
|
576
|
-
public listExecutions(
|
|
577
|
-
args: ListExecutionsCommandInput,
|
|
578
|
-
cb: (err: any, data?: ListExecutionsCommandOutput) => void
|
|
579
|
-
): void;
|
|
580
|
-
public listExecutions(
|
|
581
|
-
args: ListExecutionsCommandInput,
|
|
582
|
-
options: __HttpHandlerOptions,
|
|
583
|
-
cb: (err: any, data?: ListExecutionsCommandOutput) => void
|
|
584
|
-
): void;
|
|
585
|
-
public listExecutions(
|
|
586
|
-
args: ListExecutionsCommandInput,
|
|
587
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListExecutionsCommandOutput) => void),
|
|
588
|
-
cb?: (err: any, data?: ListExecutionsCommandOutput) => void
|
|
589
|
-
): Promise<ListExecutionsCommandOutput> | void {
|
|
590
|
-
const command = new ListExecutionsCommand(args);
|
|
591
|
-
if (typeof optionsOrCb === "function") {
|
|
592
|
-
this.send(command, optionsOrCb);
|
|
593
|
-
} else if (typeof cb === "function") {
|
|
594
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
595
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
596
|
-
} else {
|
|
597
|
-
return this.send(command, optionsOrCb);
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
/**
|
|
602
|
-
* <p>Lists the existing state machines.</p>
|
|
603
|
-
* <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
604
|
-
* Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
|
|
605
|
-
* <note>
|
|
606
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
607
|
-
* </note>
|
|
608
|
-
*/
|
|
609
|
-
public listStateMachines(
|
|
610
|
-
args: ListStateMachinesCommandInput,
|
|
611
|
-
options?: __HttpHandlerOptions
|
|
612
|
-
): Promise<ListStateMachinesCommandOutput>;
|
|
613
|
-
public listStateMachines(
|
|
614
|
-
args: ListStateMachinesCommandInput,
|
|
615
|
-
cb: (err: any, data?: ListStateMachinesCommandOutput) => void
|
|
616
|
-
): void;
|
|
617
|
-
public listStateMachines(
|
|
618
|
-
args: ListStateMachinesCommandInput,
|
|
619
|
-
options: __HttpHandlerOptions,
|
|
620
|
-
cb: (err: any, data?: ListStateMachinesCommandOutput) => void
|
|
621
|
-
): void;
|
|
622
|
-
public listStateMachines(
|
|
623
|
-
args: ListStateMachinesCommandInput,
|
|
624
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListStateMachinesCommandOutput) => void),
|
|
625
|
-
cb?: (err: any, data?: ListStateMachinesCommandOutput) => void
|
|
626
|
-
): Promise<ListStateMachinesCommandOutput> | void {
|
|
627
|
-
const command = new ListStateMachinesCommand(args);
|
|
628
|
-
if (typeof optionsOrCb === "function") {
|
|
629
|
-
this.send(command, optionsOrCb);
|
|
630
|
-
} else if (typeof cb === "function") {
|
|
631
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
632
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
633
|
-
} else {
|
|
634
|
-
return this.send(command, optionsOrCb);
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
/**
|
|
639
|
-
* <p>List tags for a given resource.</p>
|
|
640
|
-
* <p>Tags may only contain Unicode letters, digits, white space, or these symbols: <code>_ . : / = + - @</code>.</p>
|
|
641
|
-
*/
|
|
642
|
-
public listTagsForResource(
|
|
643
|
-
args: ListTagsForResourceCommandInput,
|
|
644
|
-
options?: __HttpHandlerOptions
|
|
645
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
646
|
-
public listTagsForResource(
|
|
647
|
-
args: ListTagsForResourceCommandInput,
|
|
648
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
649
|
-
): void;
|
|
650
|
-
public listTagsForResource(
|
|
651
|
-
args: ListTagsForResourceCommandInput,
|
|
652
|
-
options: __HttpHandlerOptions,
|
|
653
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
654
|
-
): void;
|
|
655
|
-
public listTagsForResource(
|
|
656
|
-
args: ListTagsForResourceCommandInput,
|
|
657
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
658
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
659
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
660
|
-
const command = new ListTagsForResourceCommand(args);
|
|
661
|
-
if (typeof optionsOrCb === "function") {
|
|
662
|
-
this.send(command, optionsOrCb);
|
|
663
|
-
} else if (typeof cb === "function") {
|
|
664
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
665
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
666
|
-
} else {
|
|
667
|
-
return this.send(command, optionsOrCb);
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
/**
|
|
672
|
-
* <p>Used by activity workers and task states using the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token">callback</a>
|
|
673
|
-
* pattern to report that the task identified by the <code>taskToken</code> failed.</p>
|
|
674
|
-
*/
|
|
675
|
-
public sendTaskFailure(
|
|
676
|
-
args: SendTaskFailureCommandInput,
|
|
677
|
-
options?: __HttpHandlerOptions
|
|
678
|
-
): Promise<SendTaskFailureCommandOutput>;
|
|
679
|
-
public sendTaskFailure(
|
|
680
|
-
args: SendTaskFailureCommandInput,
|
|
681
|
-
cb: (err: any, data?: SendTaskFailureCommandOutput) => void
|
|
682
|
-
): void;
|
|
683
|
-
public sendTaskFailure(
|
|
684
|
-
args: SendTaskFailureCommandInput,
|
|
685
|
-
options: __HttpHandlerOptions,
|
|
686
|
-
cb: (err: any, data?: SendTaskFailureCommandOutput) => void
|
|
687
|
-
): void;
|
|
688
|
-
public sendTaskFailure(
|
|
689
|
-
args: SendTaskFailureCommandInput,
|
|
690
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SendTaskFailureCommandOutput) => void),
|
|
691
|
-
cb?: (err: any, data?: SendTaskFailureCommandOutput) => void
|
|
692
|
-
): Promise<SendTaskFailureCommandOutput> | void {
|
|
693
|
-
const command = new SendTaskFailureCommand(args);
|
|
694
|
-
if (typeof optionsOrCb === "function") {
|
|
695
|
-
this.send(command, optionsOrCb);
|
|
696
|
-
} else if (typeof cb === "function") {
|
|
697
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
698
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
699
|
-
} else {
|
|
700
|
-
return this.send(command, optionsOrCb);
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
/**
|
|
705
|
-
* <p>Used by activity workers and task states using the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token">callback</a>
|
|
706
|
-
* pattern to report to Step Functions that the task represented by the specified
|
|
707
|
-
* <code>taskToken</code> is still making progress. This action resets the
|
|
708
|
-
* <code>Heartbeat</code> clock. The <code>Heartbeat</code> threshold is specified in the state
|
|
709
|
-
* machine's Amazon States Language definition (<code>HeartbeatSeconds</code>). This action does not in itself
|
|
710
|
-
* create an event in the execution history. However, if the task times out, the execution
|
|
711
|
-
* history contains an <code>ActivityTimedOut</code> entry for activities, or a
|
|
712
|
-
* <code>TaskTimedOut</code> entry for for tasks using the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-sync">job run</a> or
|
|
713
|
-
* <a href="https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token">callback</a>
|
|
714
|
-
* pattern.</p>
|
|
715
|
-
* <note>
|
|
716
|
-
* <p>The <code>Timeout</code> of a task, defined in the state machine's Amazon States Language definition, is
|
|
717
|
-
* its maximum allowed duration, regardless of the number of <a>SendTaskHeartbeat</a> requests received. Use <code>HeartbeatSeconds</code> to configure the timeout interval
|
|
718
|
-
* for heartbeats.</p>
|
|
719
|
-
* </note>
|
|
720
|
-
*/
|
|
721
|
-
public sendTaskHeartbeat(
|
|
722
|
-
args: SendTaskHeartbeatCommandInput,
|
|
723
|
-
options?: __HttpHandlerOptions
|
|
724
|
-
): Promise<SendTaskHeartbeatCommandOutput>;
|
|
725
|
-
public sendTaskHeartbeat(
|
|
726
|
-
args: SendTaskHeartbeatCommandInput,
|
|
727
|
-
cb: (err: any, data?: SendTaskHeartbeatCommandOutput) => void
|
|
728
|
-
): void;
|
|
729
|
-
public sendTaskHeartbeat(
|
|
730
|
-
args: SendTaskHeartbeatCommandInput,
|
|
731
|
-
options: __HttpHandlerOptions,
|
|
732
|
-
cb: (err: any, data?: SendTaskHeartbeatCommandOutput) => void
|
|
733
|
-
): void;
|
|
734
|
-
public sendTaskHeartbeat(
|
|
735
|
-
args: SendTaskHeartbeatCommandInput,
|
|
736
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SendTaskHeartbeatCommandOutput) => void),
|
|
737
|
-
cb?: (err: any, data?: SendTaskHeartbeatCommandOutput) => void
|
|
738
|
-
): Promise<SendTaskHeartbeatCommandOutput> | void {
|
|
739
|
-
const command = new SendTaskHeartbeatCommand(args);
|
|
740
|
-
if (typeof optionsOrCb === "function") {
|
|
741
|
-
this.send(command, optionsOrCb);
|
|
742
|
-
} else if (typeof cb === "function") {
|
|
743
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
744
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
745
|
-
} else {
|
|
746
|
-
return this.send(command, optionsOrCb);
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
/**
|
|
751
|
-
* <p>Used by activity workers and task states using the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token">callback</a>
|
|
752
|
-
* pattern to report that the task identified by the <code>taskToken</code> completed
|
|
753
|
-
* successfully.</p>
|
|
754
|
-
*/
|
|
755
|
-
public sendTaskSuccess(
|
|
756
|
-
args: SendTaskSuccessCommandInput,
|
|
757
|
-
options?: __HttpHandlerOptions
|
|
758
|
-
): Promise<SendTaskSuccessCommandOutput>;
|
|
759
|
-
public sendTaskSuccess(
|
|
760
|
-
args: SendTaskSuccessCommandInput,
|
|
761
|
-
cb: (err: any, data?: SendTaskSuccessCommandOutput) => void
|
|
762
|
-
): void;
|
|
763
|
-
public sendTaskSuccess(
|
|
764
|
-
args: SendTaskSuccessCommandInput,
|
|
765
|
-
options: __HttpHandlerOptions,
|
|
766
|
-
cb: (err: any, data?: SendTaskSuccessCommandOutput) => void
|
|
767
|
-
): void;
|
|
768
|
-
public sendTaskSuccess(
|
|
769
|
-
args: SendTaskSuccessCommandInput,
|
|
770
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SendTaskSuccessCommandOutput) => void),
|
|
771
|
-
cb?: (err: any, data?: SendTaskSuccessCommandOutput) => void
|
|
772
|
-
): Promise<SendTaskSuccessCommandOutput> | void {
|
|
773
|
-
const command = new SendTaskSuccessCommand(args);
|
|
774
|
-
if (typeof optionsOrCb === "function") {
|
|
775
|
-
this.send(command, optionsOrCb);
|
|
776
|
-
} else if (typeof cb === "function") {
|
|
777
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
778
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
779
|
-
} else {
|
|
780
|
-
return this.send(command, optionsOrCb);
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
/**
|
|
785
|
-
* <p>Starts a state machine execution.</p>
|
|
786
|
-
* <note>
|
|
787
|
-
* <p>
|
|
788
|
-
* <code>StartExecution</code> is idempotent. If <code>StartExecution</code> is called with
|
|
789
|
-
* the same name and input as a running execution, the call will succeed and return the same
|
|
790
|
-
* response as the original request. If the execution is closed or if the input is different,
|
|
791
|
-
* it will return a 400 <code>ExecutionAlreadyExists</code> error. Names can be reused after 90
|
|
792
|
-
* days. </p>
|
|
793
|
-
* </note>
|
|
794
|
-
*/
|
|
795
|
-
public startExecution(
|
|
796
|
-
args: StartExecutionCommandInput,
|
|
797
|
-
options?: __HttpHandlerOptions
|
|
798
|
-
): Promise<StartExecutionCommandOutput>;
|
|
799
|
-
public startExecution(
|
|
800
|
-
args: StartExecutionCommandInput,
|
|
801
|
-
cb: (err: any, data?: StartExecutionCommandOutput) => void
|
|
802
|
-
): void;
|
|
803
|
-
public startExecution(
|
|
804
|
-
args: StartExecutionCommandInput,
|
|
805
|
-
options: __HttpHandlerOptions,
|
|
806
|
-
cb: (err: any, data?: StartExecutionCommandOutput) => void
|
|
807
|
-
): void;
|
|
808
|
-
public startExecution(
|
|
809
|
-
args: StartExecutionCommandInput,
|
|
810
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartExecutionCommandOutput) => void),
|
|
811
|
-
cb?: (err: any, data?: StartExecutionCommandOutput) => void
|
|
812
|
-
): Promise<StartExecutionCommandOutput> | void {
|
|
813
|
-
const command = new StartExecutionCommand(args);
|
|
814
|
-
if (typeof optionsOrCb === "function") {
|
|
815
|
-
this.send(command, optionsOrCb);
|
|
816
|
-
} else if (typeof cb === "function") {
|
|
817
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
818
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
819
|
-
} else {
|
|
820
|
-
return this.send(command, optionsOrCb);
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
/**
|
|
825
|
-
* <p>Starts a Synchronous Express state machine execution.</p>
|
|
826
|
-
*/
|
|
827
|
-
public startSyncExecution(
|
|
828
|
-
args: StartSyncExecutionCommandInput,
|
|
829
|
-
options?: __HttpHandlerOptions
|
|
830
|
-
): Promise<StartSyncExecutionCommandOutput>;
|
|
831
|
-
public startSyncExecution(
|
|
832
|
-
args: StartSyncExecutionCommandInput,
|
|
833
|
-
cb: (err: any, data?: StartSyncExecutionCommandOutput) => void
|
|
834
|
-
): void;
|
|
835
|
-
public startSyncExecution(
|
|
836
|
-
args: StartSyncExecutionCommandInput,
|
|
837
|
-
options: __HttpHandlerOptions,
|
|
838
|
-
cb: (err: any, data?: StartSyncExecutionCommandOutput) => void
|
|
839
|
-
): void;
|
|
840
|
-
public startSyncExecution(
|
|
841
|
-
args: StartSyncExecutionCommandInput,
|
|
842
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartSyncExecutionCommandOutput) => void),
|
|
843
|
-
cb?: (err: any, data?: StartSyncExecutionCommandOutput) => void
|
|
844
|
-
): Promise<StartSyncExecutionCommandOutput> | void {
|
|
845
|
-
const command = new StartSyncExecutionCommand(args);
|
|
846
|
-
if (typeof optionsOrCb === "function") {
|
|
847
|
-
this.send(command, optionsOrCb);
|
|
848
|
-
} else if (typeof cb === "function") {
|
|
849
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
850
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
851
|
-
} else {
|
|
852
|
-
return this.send(command, optionsOrCb);
|
|
853
|
-
}
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
/**
|
|
857
|
-
* <p>Stops an execution.</p>
|
|
858
|
-
* <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
|
|
859
|
-
*/
|
|
860
|
-
public stopExecution(
|
|
861
|
-
args: StopExecutionCommandInput,
|
|
862
|
-
options?: __HttpHandlerOptions
|
|
863
|
-
): Promise<StopExecutionCommandOutput>;
|
|
864
|
-
public stopExecution(
|
|
865
|
-
args: StopExecutionCommandInput,
|
|
866
|
-
cb: (err: any, data?: StopExecutionCommandOutput) => void
|
|
867
|
-
): void;
|
|
868
|
-
public stopExecution(
|
|
869
|
-
args: StopExecutionCommandInput,
|
|
870
|
-
options: __HttpHandlerOptions,
|
|
871
|
-
cb: (err: any, data?: StopExecutionCommandOutput) => void
|
|
872
|
-
): void;
|
|
873
|
-
public stopExecution(
|
|
874
|
-
args: StopExecutionCommandInput,
|
|
875
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopExecutionCommandOutput) => void),
|
|
876
|
-
cb?: (err: any, data?: StopExecutionCommandOutput) => void
|
|
877
|
-
): Promise<StopExecutionCommandOutput> | void {
|
|
878
|
-
const command = new StopExecutionCommand(args);
|
|
879
|
-
if (typeof optionsOrCb === "function") {
|
|
880
|
-
this.send(command, optionsOrCb);
|
|
881
|
-
} else if (typeof cb === "function") {
|
|
882
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
883
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
884
|
-
} else {
|
|
885
|
-
return this.send(command, optionsOrCb);
|
|
886
|
-
}
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
/**
|
|
890
|
-
* <p>Add a tag to a Step Functions resource.</p>
|
|
891
|
-
* <p>An array of key-value pairs. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Using
|
|
892
|
-
* Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User
|
|
893
|
-
* Guide</i>, and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html">Controlling Access Using IAM
|
|
894
|
-
* Tags</a>.</p>
|
|
895
|
-
* <p>Tags may only contain Unicode letters, digits, white space, or these symbols: <code>_ . : / = + - @</code>.</p>
|
|
896
|
-
*/
|
|
897
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
898
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
899
|
-
public tagResource(
|
|
900
|
-
args: TagResourceCommandInput,
|
|
901
|
-
options: __HttpHandlerOptions,
|
|
902
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
903
|
-
): void;
|
|
904
|
-
public tagResource(
|
|
905
|
-
args: TagResourceCommandInput,
|
|
906
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
907
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
908
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
909
|
-
const command = new TagResourceCommand(args);
|
|
910
|
-
if (typeof optionsOrCb === "function") {
|
|
911
|
-
this.send(command, optionsOrCb);
|
|
912
|
-
} else if (typeof cb === "function") {
|
|
913
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
914
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
915
|
-
} else {
|
|
916
|
-
return this.send(command, optionsOrCb);
|
|
917
|
-
}
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
/**
|
|
921
|
-
* <p>Remove a tag from a Step Functions resource</p>
|
|
922
|
-
*/
|
|
923
|
-
public untagResource(
|
|
924
|
-
args: UntagResourceCommandInput,
|
|
925
|
-
options?: __HttpHandlerOptions
|
|
926
|
-
): Promise<UntagResourceCommandOutput>;
|
|
927
|
-
public untagResource(
|
|
928
|
-
args: UntagResourceCommandInput,
|
|
929
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
930
|
-
): void;
|
|
931
|
-
public untagResource(
|
|
932
|
-
args: UntagResourceCommandInput,
|
|
933
|
-
options: __HttpHandlerOptions,
|
|
934
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
935
|
-
): void;
|
|
936
|
-
public untagResource(
|
|
937
|
-
args: UntagResourceCommandInput,
|
|
938
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
939
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
940
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
941
|
-
const command = new UntagResourceCommand(args);
|
|
942
|
-
if (typeof optionsOrCb === "function") {
|
|
943
|
-
this.send(command, optionsOrCb);
|
|
944
|
-
} else if (typeof cb === "function") {
|
|
945
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
946
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
947
|
-
} else {
|
|
948
|
-
return this.send(command, optionsOrCb);
|
|
949
|
-
}
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
/**
|
|
953
|
-
* <p>Updates an existing state machine by modifying its <code>definition</code>,
|
|
954
|
-
* <code>roleArn</code>, or <code>loggingConfiguration</code>. Running executions will continue
|
|
955
|
-
* to use the previous <code>definition</code> and <code>roleArn</code>. You must include at
|
|
956
|
-
* least one of <code>definition</code> or <code>roleArn</code> or you will receive a
|
|
957
|
-
* <code>MissingRequiredParameter</code> error.</p>
|
|
958
|
-
* <note>
|
|
959
|
-
* <p>All <code>StartExecution</code> calls within a few seconds will use the updated
|
|
960
|
-
* <code>definition</code> and <code>roleArn</code>. Executions started immediately after
|
|
961
|
-
* calling <code>UpdateStateMachine</code> may use the previous state machine
|
|
962
|
-
* <code>definition</code> and <code>roleArn</code>. </p>
|
|
963
|
-
* </note>
|
|
964
|
-
*/
|
|
965
|
-
public updateStateMachine(
|
|
966
|
-
args: UpdateStateMachineCommandInput,
|
|
967
|
-
options?: __HttpHandlerOptions
|
|
968
|
-
): Promise<UpdateStateMachineCommandOutput>;
|
|
969
|
-
public updateStateMachine(
|
|
970
|
-
args: UpdateStateMachineCommandInput,
|
|
971
|
-
cb: (err: any, data?: UpdateStateMachineCommandOutput) => void
|
|
972
|
-
): void;
|
|
973
|
-
public updateStateMachine(
|
|
974
|
-
args: UpdateStateMachineCommandInput,
|
|
975
|
-
options: __HttpHandlerOptions,
|
|
976
|
-
cb: (err: any, data?: UpdateStateMachineCommandOutput) => void
|
|
977
|
-
): void;
|
|
978
|
-
public updateStateMachine(
|
|
979
|
-
args: UpdateStateMachineCommandInput,
|
|
980
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateStateMachineCommandOutput) => void),
|
|
981
|
-
cb?: (err: any, data?: UpdateStateMachineCommandOutput) => void
|
|
982
|
-
): Promise<UpdateStateMachineCommandOutput> | void {
|
|
983
|
-
const command = new UpdateStateMachineCommand(args);
|
|
984
|
-
if (typeof optionsOrCb === "function") {
|
|
985
|
-
this.send(command, optionsOrCb);
|
|
986
|
-
} else if (typeof cb === "function") {
|
|
987
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
988
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
989
|
-
} else {
|
|
990
|
-
return this.send(command, optionsOrCb);
|
|
991
|
-
}
|
|
992
|
-
}
|
|
993
|
-
}
|