@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,108 +0,0 @@
|
|
|
1
|
-
import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
|
|
2
|
-
import { SendTaskHeartbeatInput, SendTaskHeartbeatOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0SendTaskHeartbeatCommand,
|
|
5
|
-
serializeAws_json1_0SendTaskHeartbeatCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_0";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface SendTaskHeartbeatCommandInput extends SendTaskHeartbeatInput {}
|
|
21
|
-
export interface SendTaskHeartbeatCommandOutput extends SendTaskHeartbeatOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <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>
|
|
25
|
-
* pattern to report to Step Functions that the task represented by the specified
|
|
26
|
-
* <code>taskToken</code> is still making progress. This action resets the
|
|
27
|
-
* <code>Heartbeat</code> clock. The <code>Heartbeat</code> threshold is specified in the state
|
|
28
|
-
* machine's Amazon States Language definition (<code>HeartbeatSeconds</code>). This action does not in itself
|
|
29
|
-
* create an event in the execution history. However, if the task times out, the execution
|
|
30
|
-
* history contains an <code>ActivityTimedOut</code> entry for activities, or a
|
|
31
|
-
* <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
|
|
32
|
-
* <a href="https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token">callback</a>
|
|
33
|
-
* pattern.</p>
|
|
34
|
-
* <note>
|
|
35
|
-
* <p>The <code>Timeout</code> of a task, defined in the state machine's Amazon States Language definition, is
|
|
36
|
-
* its maximum allowed duration, regardless of the number of <a>SendTaskHeartbeat</a> requests received. Use <code>HeartbeatSeconds</code> to configure the timeout interval
|
|
37
|
-
* for heartbeats.</p>
|
|
38
|
-
* </note>
|
|
39
|
-
* @example
|
|
40
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
-
* ```javascript
|
|
42
|
-
* import { SFNClient, SendTaskHeartbeatCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
43
|
-
* // const { SFNClient, SendTaskHeartbeatCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
44
|
-
* const client = new SFNClient(config);
|
|
45
|
-
* const command = new SendTaskHeartbeatCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* @see {@link SendTaskHeartbeatCommandInput} for command's `input` shape.
|
|
50
|
-
* @see {@link SendTaskHeartbeatCommandOutput} for command's `response` shape.
|
|
51
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
export class SendTaskHeartbeatCommand extends $Command<
|
|
55
|
-
SendTaskHeartbeatCommandInput,
|
|
56
|
-
SendTaskHeartbeatCommandOutput,
|
|
57
|
-
SFNClientResolvedConfig
|
|
58
|
-
> {
|
|
59
|
-
// Start section: command_properties
|
|
60
|
-
// End section: command_properties
|
|
61
|
-
|
|
62
|
-
constructor(readonly input: SendTaskHeartbeatCommandInput) {
|
|
63
|
-
// Start section: command_constructor
|
|
64
|
-
super();
|
|
65
|
-
// End section: command_constructor
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
|
-
resolveMiddleware(
|
|
72
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
73
|
-
configuration: SFNClientResolvedConfig,
|
|
74
|
-
options?: __HttpHandlerOptions
|
|
75
|
-
): Handler<SendTaskHeartbeatCommandInput, SendTaskHeartbeatCommandOutput> {
|
|
76
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
77
|
-
|
|
78
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
79
|
-
|
|
80
|
-
const { logger } = configuration;
|
|
81
|
-
const clientName = "SFNClient";
|
|
82
|
-
const commandName = "SendTaskHeartbeatCommand";
|
|
83
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
84
|
-
logger,
|
|
85
|
-
clientName,
|
|
86
|
-
commandName,
|
|
87
|
-
inputFilterSensitiveLog: SendTaskHeartbeatInput.filterSensitiveLog,
|
|
88
|
-
outputFilterSensitiveLog: SendTaskHeartbeatOutput.filterSensitiveLog,
|
|
89
|
-
};
|
|
90
|
-
const { requestHandler } = configuration;
|
|
91
|
-
return stack.resolve(
|
|
92
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
93
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
94
|
-
handlerExecutionContext
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private serialize(input: SendTaskHeartbeatCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
99
|
-
return serializeAws_json1_0SendTaskHeartbeatCommand(input, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<SendTaskHeartbeatCommandOutput> {
|
|
103
|
-
return deserializeAws_json1_0SendTaskHeartbeatCommand(output, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Start section: command_body_extra
|
|
107
|
-
// End section: command_body_extra
|
|
108
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
|
|
2
|
-
import { SendTaskSuccessInput, SendTaskSuccessOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0SendTaskSuccessCommand,
|
|
5
|
-
serializeAws_json1_0SendTaskSuccessCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_0";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface SendTaskSuccessCommandInput extends SendTaskSuccessInput {}
|
|
21
|
-
export interface SendTaskSuccessCommandOutput extends SendTaskSuccessOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <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>
|
|
25
|
-
* pattern to report that the task identified by the <code>taskToken</code> completed
|
|
26
|
-
* successfully.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { SFNClient, SendTaskSuccessCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
31
|
-
* // const { SFNClient, SendTaskSuccessCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
32
|
-
* const client = new SFNClient(config);
|
|
33
|
-
* const command = new SendTaskSuccessCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link SendTaskSuccessCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link SendTaskSuccessCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class SendTaskSuccessCommand extends $Command<
|
|
43
|
-
SendTaskSuccessCommandInput,
|
|
44
|
-
SendTaskSuccessCommandOutput,
|
|
45
|
-
SFNClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: SendTaskSuccessCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: SFNClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<SendTaskSuccessCommandInput, SendTaskSuccessCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "SFNClient";
|
|
70
|
-
const commandName = "SendTaskSuccessCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: SendTaskSuccessInput.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: SendTaskSuccessOutput.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: SendTaskSuccessCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_0SendTaskSuccessCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<SendTaskSuccessCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_0SendTaskSuccessCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
|
|
2
|
-
import { StartExecutionInput, StartExecutionOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0StartExecutionCommand,
|
|
5
|
-
serializeAws_json1_0StartExecutionCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_0";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface StartExecutionCommandInput extends StartExecutionInput {}
|
|
21
|
-
export interface StartExecutionCommandOutput extends StartExecutionOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Starts a state machine execution.</p>
|
|
25
|
-
* <note>
|
|
26
|
-
* <p>
|
|
27
|
-
* <code>StartExecution</code> is idempotent. If <code>StartExecution</code> is called with
|
|
28
|
-
* the same name and input as a running execution, the call will succeed and return the same
|
|
29
|
-
* response as the original request. If the execution is closed or if the input is different,
|
|
30
|
-
* it will return a 400 <code>ExecutionAlreadyExists</code> error. Names can be reused after 90
|
|
31
|
-
* days. </p>
|
|
32
|
-
* </note>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { SFNClient, StartExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
37
|
-
* // const { SFNClient, StartExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
38
|
-
* const client = new SFNClient(config);
|
|
39
|
-
* const command = new StartExecutionCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link StartExecutionCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link StartExecutionCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export class StartExecutionCommand extends $Command<
|
|
49
|
-
StartExecutionCommandInput,
|
|
50
|
-
StartExecutionCommandOutput,
|
|
51
|
-
SFNClientResolvedConfig
|
|
52
|
-
> {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
|
|
56
|
-
constructor(readonly input: StartExecutionCommandInput) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
super();
|
|
59
|
-
// End section: command_constructor
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(
|
|
66
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
67
|
-
configuration: SFNClientResolvedConfig,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
69
|
-
): Handler<StartExecutionCommandInput, StartExecutionCommandOutput> {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "SFNClient";
|
|
76
|
-
const commandName = "StartExecutionCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: StartExecutionInput.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: StartExecutionOutput.filterSensitiveLog,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(input: StartExecutionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_json1_0StartExecutionCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartExecutionCommandOutput> {
|
|
97
|
-
return deserializeAws_json1_0StartExecutionCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
|
|
2
|
-
import { StartSyncExecutionInput, StartSyncExecutionOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0StartSyncExecutionCommand,
|
|
5
|
-
serializeAws_json1_0StartSyncExecutionCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_0";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface StartSyncExecutionCommandInput extends StartSyncExecutionInput {}
|
|
21
|
-
export interface StartSyncExecutionCommandOutput extends StartSyncExecutionOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Starts a Synchronous Express state machine execution.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { SFNClient, StartSyncExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
29
|
-
* // const { SFNClient, StartSyncExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
30
|
-
* const client = new SFNClient(config);
|
|
31
|
-
* const command = new StartSyncExecutionCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link StartSyncExecutionCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link StartSyncExecutionCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class StartSyncExecutionCommand extends $Command<
|
|
41
|
-
StartSyncExecutionCommandInput,
|
|
42
|
-
StartSyncExecutionCommandOutput,
|
|
43
|
-
SFNClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: StartSyncExecutionCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: SFNClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<StartSyncExecutionCommandInput, StartSyncExecutionCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "SFNClient";
|
|
68
|
-
const commandName = "StartSyncExecutionCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: StartSyncExecutionInput.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: StartSyncExecutionOutput.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: StartSyncExecutionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_0StartSyncExecutionCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartSyncExecutionCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_0StartSyncExecutionCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
|
|
2
|
-
import { StopExecutionInput, StopExecutionOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0StopExecutionCommand,
|
|
5
|
-
serializeAws_json1_0StopExecutionCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_0";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface StopExecutionCommandInput extends StopExecutionInput {}
|
|
21
|
-
export interface StopExecutionCommandOutput extends StopExecutionOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Stops an execution.</p>
|
|
25
|
-
* <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { SFNClient, StopExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
30
|
-
* // const { SFNClient, StopExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
31
|
-
* const client = new SFNClient(config);
|
|
32
|
-
* const command = new StopExecutionCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link StopExecutionCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link StopExecutionCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class StopExecutionCommand extends $Command<
|
|
42
|
-
StopExecutionCommandInput,
|
|
43
|
-
StopExecutionCommandOutput,
|
|
44
|
-
SFNClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: StopExecutionCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: SFNClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<StopExecutionCommandInput, StopExecutionCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "SFNClient";
|
|
69
|
-
const commandName = "StopExecutionCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: StopExecutionInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: StopExecutionOutput.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: StopExecutionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_0StopExecutionCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StopExecutionCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_0StopExecutionCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
|
|
2
|
-
import { TagResourceInput, TagResourceOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0TagResourceCommand,
|
|
5
|
-
serializeAws_json1_0TagResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_0";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface TagResourceCommandInput extends TagResourceInput {}
|
|
21
|
-
export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Add a tag to a Step Functions resource.</p>
|
|
25
|
-
* <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
|
|
26
|
-
* Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User
|
|
27
|
-
* Guide</i>, and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html">Controlling Access Using IAM
|
|
28
|
-
* Tags</a>.</p>
|
|
29
|
-
* <p>Tags may only contain Unicode letters, digits, white space, or these symbols: <code>_ . : / = + - @</code>.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { SFNClient, TagResourceCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
34
|
-
* // const { SFNClient, TagResourceCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
35
|
-
* const client = new SFNClient(config);
|
|
36
|
-
* const command = new TagResourceCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class TagResourceCommand extends $Command<
|
|
46
|
-
TagResourceCommandInput,
|
|
47
|
-
TagResourceCommandOutput,
|
|
48
|
-
SFNClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: TagResourceCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: SFNClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "SFNClient";
|
|
73
|
-
const commandName = "TagResourceCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: TagResourceInput.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: TagResourceOutput.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_0TagResourceCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_0TagResourceCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|