@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,100 +0,0 @@
|
|
|
1
|
-
import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
|
|
2
|
-
import { DeleteStateMachineInput, DeleteStateMachineOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0DeleteStateMachineCommand,
|
|
5
|
-
serializeAws_json1_0DeleteStateMachineCommand,
|
|
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 DeleteStateMachineCommandInput extends DeleteStateMachineInput {}
|
|
21
|
-
export interface DeleteStateMachineCommandOutput extends DeleteStateMachineOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes a state machine. This is an asynchronous operation: It sets the state machine's
|
|
25
|
-
* status to <code>DELETING</code> and begins the deletion process. </p>
|
|
26
|
-
* <note>
|
|
27
|
-
* <p>For <code>EXPRESS</code>state machines, the deletion will happen eventually (usually
|
|
28
|
-
* less than a minute). Running executions may emit logs after <code>DeleteStateMachine</code>
|
|
29
|
-
* API is called.</p>
|
|
30
|
-
* </note>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { SFNClient, DeleteStateMachineCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
35
|
-
* // const { SFNClient, DeleteStateMachineCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
36
|
-
* const client = new SFNClient(config);
|
|
37
|
-
* const command = new DeleteStateMachineCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link DeleteStateMachineCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link DeleteStateMachineCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class DeleteStateMachineCommand extends $Command<
|
|
47
|
-
DeleteStateMachineCommandInput,
|
|
48
|
-
DeleteStateMachineCommandOutput,
|
|
49
|
-
SFNClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: DeleteStateMachineCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: SFNClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<DeleteStateMachineCommandInput, DeleteStateMachineCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "SFNClient";
|
|
74
|
-
const commandName = "DeleteStateMachineCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: DeleteStateMachineInput.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: DeleteStateMachineOutput.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: DeleteStateMachineCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_0DeleteStateMachineCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteStateMachineCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_0DeleteStateMachineCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
|
|
2
|
-
import { DescribeActivityInput, DescribeActivityOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0DescribeActivityCommand,
|
|
5
|
-
serializeAws_json1_0DescribeActivityCommand,
|
|
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 DescribeActivityCommandInput extends DescribeActivityInput {}
|
|
21
|
-
export interface DescribeActivityCommandOutput extends DescribeActivityOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Describes an activity.</p>
|
|
25
|
-
* <note>
|
|
26
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
27
|
-
* </note>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { SFNClient, DescribeActivityCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
32
|
-
* // const { SFNClient, DescribeActivityCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
33
|
-
* const client = new SFNClient(config);
|
|
34
|
-
* const command = new DescribeActivityCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link DescribeActivityCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link DescribeActivityCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class DescribeActivityCommand extends $Command<
|
|
44
|
-
DescribeActivityCommandInput,
|
|
45
|
-
DescribeActivityCommandOutput,
|
|
46
|
-
SFNClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: DescribeActivityCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: SFNClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<DescribeActivityCommandInput, DescribeActivityCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "SFNClient";
|
|
71
|
-
const commandName = "DescribeActivityCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: DescribeActivityInput.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: DescribeActivityOutput.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: DescribeActivityCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_0DescribeActivityCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeActivityCommandOutput> {
|
|
92
|
-
return deserializeAws_json1_0DescribeActivityCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
|
|
2
|
-
import { DescribeExecutionInput, DescribeExecutionOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0DescribeExecutionCommand,
|
|
5
|
-
serializeAws_json1_0DescribeExecutionCommand,
|
|
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 DescribeExecutionCommandInput extends DescribeExecutionInput {}
|
|
21
|
-
export interface DescribeExecutionCommandOutput extends DescribeExecutionOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Describes an execution.</p>
|
|
25
|
-
* <note>
|
|
26
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
27
|
-
* </note>
|
|
28
|
-
* <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { SFNClient, DescribeExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
33
|
-
* // const { SFNClient, DescribeExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
34
|
-
* const client = new SFNClient(config);
|
|
35
|
-
* const command = new DescribeExecutionCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link DescribeExecutionCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link DescribeExecutionCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class DescribeExecutionCommand extends $Command<
|
|
45
|
-
DescribeExecutionCommandInput,
|
|
46
|
-
DescribeExecutionCommandOutput,
|
|
47
|
-
SFNClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: DescribeExecutionCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: SFNClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<DescribeExecutionCommandInput, DescribeExecutionCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "SFNClient";
|
|
72
|
-
const commandName = "DescribeExecutionCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: DescribeExecutionInput.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: DescribeExecutionOutput.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: DescribeExecutionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_json1_0DescribeExecutionCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeExecutionCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_0DescribeExecutionCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
|
|
2
|
-
import { DescribeStateMachineInput, DescribeStateMachineOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0DescribeStateMachineCommand,
|
|
5
|
-
serializeAws_json1_0DescribeStateMachineCommand,
|
|
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 DescribeStateMachineCommandInput extends DescribeStateMachineInput {}
|
|
21
|
-
export interface DescribeStateMachineCommandOutput extends DescribeStateMachineOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Describes a state machine.</p>
|
|
25
|
-
* <note>
|
|
26
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
27
|
-
* </note>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { SFNClient, DescribeStateMachineCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
32
|
-
* // const { SFNClient, DescribeStateMachineCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
33
|
-
* const client = new SFNClient(config);
|
|
34
|
-
* const command = new DescribeStateMachineCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link DescribeStateMachineCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link DescribeStateMachineCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class DescribeStateMachineCommand extends $Command<
|
|
44
|
-
DescribeStateMachineCommandInput,
|
|
45
|
-
DescribeStateMachineCommandOutput,
|
|
46
|
-
SFNClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: DescribeStateMachineCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: SFNClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<DescribeStateMachineCommandInput, DescribeStateMachineCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "SFNClient";
|
|
71
|
-
const commandName = "DescribeStateMachineCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: DescribeStateMachineInput.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: DescribeStateMachineOutput.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: DescribeStateMachineCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_0DescribeStateMachineCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeStateMachineCommandOutput> {
|
|
92
|
-
return deserializeAws_json1_0DescribeStateMachineCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
|
|
2
|
-
import { DescribeStateMachineForExecutionInput, DescribeStateMachineForExecutionOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0DescribeStateMachineForExecutionCommand,
|
|
5
|
-
serializeAws_json1_0DescribeStateMachineForExecutionCommand,
|
|
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 DescribeStateMachineForExecutionCommandInput extends DescribeStateMachineForExecutionInput {}
|
|
21
|
-
export interface DescribeStateMachineForExecutionCommandOutput
|
|
22
|
-
extends DescribeStateMachineForExecutionOutput,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Describes the state machine associated with a specific execution.</p>
|
|
27
|
-
* <note>
|
|
28
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
29
|
-
* </note>
|
|
30
|
-
* <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { SFNClient, DescribeStateMachineForExecutionCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
35
|
-
* // const { SFNClient, DescribeStateMachineForExecutionCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
36
|
-
* const client = new SFNClient(config);
|
|
37
|
-
* const command = new DescribeStateMachineForExecutionCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link DescribeStateMachineForExecutionCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link DescribeStateMachineForExecutionCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class DescribeStateMachineForExecutionCommand extends $Command<
|
|
47
|
-
DescribeStateMachineForExecutionCommandInput,
|
|
48
|
-
DescribeStateMachineForExecutionCommandOutput,
|
|
49
|
-
SFNClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: DescribeStateMachineForExecutionCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: SFNClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<DescribeStateMachineForExecutionCommandInput, DescribeStateMachineForExecutionCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "SFNClient";
|
|
74
|
-
const commandName = "DescribeStateMachineForExecutionCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: DescribeStateMachineForExecutionInput.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: DescribeStateMachineForExecutionOutput.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(
|
|
91
|
-
input: DescribeStateMachineForExecutionCommandInput,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_json1_0DescribeStateMachineForExecutionCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(
|
|
98
|
-
output: __HttpResponse,
|
|
99
|
-
context: __SerdeContext
|
|
100
|
-
): Promise<DescribeStateMachineForExecutionCommandOutput> {
|
|
101
|
-
return deserializeAws_json1_0DescribeStateMachineForExecutionCommand(output, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Start section: command_body_extra
|
|
105
|
-
// End section: command_body_extra
|
|
106
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
|
|
2
|
-
import { GetActivityTaskInput, GetActivityTaskOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0GetActivityTaskCommand,
|
|
5
|
-
serializeAws_json1_0GetActivityTaskCommand,
|
|
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 GetActivityTaskCommandInput extends GetActivityTaskInput {}
|
|
21
|
-
export interface GetActivityTaskCommandOutput extends GetActivityTaskOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Used by workers to retrieve a task (with the specified activity ARN) which has been
|
|
25
|
-
* scheduled for execution by a running state machine. This initiates a long poll, where the
|
|
26
|
-
* service holds the HTTP connection open and responds as soon as a task becomes available (i.e.
|
|
27
|
-
* an execution of a task of this type is needed.) The maximum time the service holds on to the
|
|
28
|
-
* request before responding is 60 seconds. If no task is available within 60 seconds, the poll
|
|
29
|
-
* returns a <code>taskToken</code> with a null string.</p>
|
|
30
|
-
* <important>
|
|
31
|
-
* <p>Workers should set their client side socket timeout to at least 65 seconds (5 seconds
|
|
32
|
-
* higher than the maximum time the service may hold the poll request).</p>
|
|
33
|
-
* <p>Polling with <code>GetActivityTask</code> can cause latency in some implementations. See
|
|
34
|
-
* <a href="https://docs.aws.amazon.com/step-functions/latest/dg/bp-activity-pollers.html">Avoid
|
|
35
|
-
* Latency When Polling for Activity Tasks</a> in the Step Functions Developer Guide.</p>
|
|
36
|
-
* </important>
|
|
37
|
-
* @example
|
|
38
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
-
* ```javascript
|
|
40
|
-
* import { SFNClient, GetActivityTaskCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
41
|
-
* // const { SFNClient, GetActivityTaskCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
42
|
-
* const client = new SFNClient(config);
|
|
43
|
-
* const command = new GetActivityTaskCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @see {@link GetActivityTaskCommandInput} for command's `input` shape.
|
|
48
|
-
* @see {@link GetActivityTaskCommandOutput} for command's `response` shape.
|
|
49
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
|
-
export class GetActivityTaskCommand extends $Command<
|
|
53
|
-
GetActivityTaskCommandInput,
|
|
54
|
-
GetActivityTaskCommandOutput,
|
|
55
|
-
SFNClientResolvedConfig
|
|
56
|
-
> {
|
|
57
|
-
// Start section: command_properties
|
|
58
|
-
// End section: command_properties
|
|
59
|
-
|
|
60
|
-
constructor(readonly input: GetActivityTaskCommandInput) {
|
|
61
|
-
// Start section: command_constructor
|
|
62
|
-
super();
|
|
63
|
-
// End section: command_constructor
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
|
-
resolveMiddleware(
|
|
70
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
71
|
-
configuration: SFNClientResolvedConfig,
|
|
72
|
-
options?: __HttpHandlerOptions
|
|
73
|
-
): Handler<GetActivityTaskCommandInput, GetActivityTaskCommandOutput> {
|
|
74
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
75
|
-
|
|
76
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
77
|
-
|
|
78
|
-
const { logger } = configuration;
|
|
79
|
-
const clientName = "SFNClient";
|
|
80
|
-
const commandName = "GetActivityTaskCommand";
|
|
81
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
82
|
-
logger,
|
|
83
|
-
clientName,
|
|
84
|
-
commandName,
|
|
85
|
-
inputFilterSensitiveLog: GetActivityTaskInput.filterSensitiveLog,
|
|
86
|
-
outputFilterSensitiveLog: GetActivityTaskOutput.filterSensitiveLog,
|
|
87
|
-
};
|
|
88
|
-
const { requestHandler } = configuration;
|
|
89
|
-
return stack.resolve(
|
|
90
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
91
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
92
|
-
handlerExecutionContext
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private serialize(input: GetActivityTaskCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
97
|
-
return serializeAws_json1_0GetActivityTaskCommand(input, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetActivityTaskCommandOutput> {
|
|
101
|
-
return deserializeAws_json1_0GetActivityTaskCommand(output, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Start section: command_body_extra
|
|
105
|
-
// End section: command_body_extra
|
|
106
|
-
}
|