@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,99 +0,0 @@
|
|
|
1
|
-
import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
|
|
2
|
-
import { GetExecutionHistoryInput, GetExecutionHistoryOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0GetExecutionHistoryCommand,
|
|
5
|
-
serializeAws_json1_0GetExecutionHistoryCommand,
|
|
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 GetExecutionHistoryCommandInput extends GetExecutionHistoryInput {}
|
|
21
|
-
export interface GetExecutionHistoryCommandOutput extends GetExecutionHistoryOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Returns the history of the specified execution as a list of events. By default, the
|
|
25
|
-
* results are returned in ascending order of the <code>timeStamp</code> of the events. Use the
|
|
26
|
-
* <code>reverseOrder</code> parameter to get the latest events first.</p>
|
|
27
|
-
* <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
28
|
-
* Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
|
|
29
|
-
* <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { SFNClient, GetExecutionHistoryCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
34
|
-
* // const { SFNClient, GetExecutionHistoryCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
35
|
-
* const client = new SFNClient(config);
|
|
36
|
-
* const command = new GetExecutionHistoryCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link GetExecutionHistoryCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link GetExecutionHistoryCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class GetExecutionHistoryCommand extends $Command<
|
|
46
|
-
GetExecutionHistoryCommandInput,
|
|
47
|
-
GetExecutionHistoryCommandOutput,
|
|
48
|
-
SFNClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: GetExecutionHistoryCommandInput) {
|
|
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<GetExecutionHistoryCommandInput, GetExecutionHistoryCommandOutput> {
|
|
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 = "GetExecutionHistoryCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: GetExecutionHistoryInput.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: GetExecutionHistoryOutput.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: GetExecutionHistoryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_0GetExecutionHistoryCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetExecutionHistoryCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_0GetExecutionHistoryCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
|
|
2
|
-
import { ListActivitiesInput, ListActivitiesOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0ListActivitiesCommand,
|
|
5
|
-
serializeAws_json1_0ListActivitiesCommand,
|
|
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 ListActivitiesCommandInput extends ListActivitiesInput {}
|
|
21
|
-
export interface ListActivitiesCommandOutput extends ListActivitiesOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists the existing activities.</p>
|
|
25
|
-
* <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
26
|
-
* Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
|
|
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
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { SFNClient, ListActivitiesCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
34
|
-
* // const { SFNClient, ListActivitiesCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
35
|
-
* const client = new SFNClient(config);
|
|
36
|
-
* const command = new ListActivitiesCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link ListActivitiesCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link ListActivitiesCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class ListActivitiesCommand extends $Command<
|
|
46
|
-
ListActivitiesCommandInput,
|
|
47
|
-
ListActivitiesCommandOutput,
|
|
48
|
-
SFNClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: ListActivitiesCommandInput) {
|
|
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<ListActivitiesCommandInput, ListActivitiesCommandOutput> {
|
|
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 = "ListActivitiesCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: ListActivitiesInput.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: ListActivitiesOutput.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: ListActivitiesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_0ListActivitiesCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListActivitiesCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_0ListActivitiesCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
|
|
2
|
-
import { ListExecutionsInput, ListExecutionsOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0ListExecutionsCommand,
|
|
5
|
-
serializeAws_json1_0ListExecutionsCommand,
|
|
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 ListExecutionsCommandInput extends ListExecutionsInput {}
|
|
21
|
-
export interface ListExecutionsCommandOutput extends ListExecutionsOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists the executions of a state machine that meet the filtering criteria. Results are
|
|
25
|
-
* sorted by time, with the most recent execution first.</p>
|
|
26
|
-
* <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
27
|
-
* Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
|
|
28
|
-
* <note>
|
|
29
|
-
* <p>This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.</p>
|
|
30
|
-
* </note>
|
|
31
|
-
* <p>This API action is not supported by <code>EXPRESS</code> state machines.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { SFNClient, ListExecutionsCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
36
|
-
* // const { SFNClient, ListExecutionsCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
37
|
-
* const client = new SFNClient(config);
|
|
38
|
-
* const command = new ListExecutionsCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link ListExecutionsCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link ListExecutionsCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class ListExecutionsCommand extends $Command<
|
|
48
|
-
ListExecutionsCommandInput,
|
|
49
|
-
ListExecutionsCommandOutput,
|
|
50
|
-
SFNClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: ListExecutionsCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: SFNClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<ListExecutionsCommandInput, ListExecutionsCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "SFNClient";
|
|
75
|
-
const commandName = "ListExecutionsCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: ListExecutionsInput.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: ListExecutionsOutput.filterSensitiveLog,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(input: ListExecutionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_json1_0ListExecutionsCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListExecutionsCommandOutput> {
|
|
96
|
-
return deserializeAws_json1_0ListExecutionsCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
|
|
2
|
-
import { ListStateMachinesInput, ListStateMachinesOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0ListStateMachinesCommand,
|
|
5
|
-
serializeAws_json1_0ListStateMachinesCommand,
|
|
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 ListStateMachinesCommandInput extends ListStateMachinesInput {}
|
|
21
|
-
export interface ListStateMachinesCommandOutput extends ListStateMachinesOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists the existing state machines.</p>
|
|
25
|
-
* <p>If <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page.
|
|
26
|
-
* Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an <i>HTTP 400 InvalidToken</i> error.</p>
|
|
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
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { SFNClient, ListStateMachinesCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
34
|
-
* // const { SFNClient, ListStateMachinesCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
35
|
-
* const client = new SFNClient(config);
|
|
36
|
-
* const command = new ListStateMachinesCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link ListStateMachinesCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link ListStateMachinesCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class ListStateMachinesCommand extends $Command<
|
|
46
|
-
ListStateMachinesCommandInput,
|
|
47
|
-
ListStateMachinesCommandOutput,
|
|
48
|
-
SFNClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: ListStateMachinesCommandInput) {
|
|
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<ListStateMachinesCommandInput, ListStateMachinesCommandOutput> {
|
|
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 = "ListStateMachinesCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: ListStateMachinesInput.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: ListStateMachinesOutput.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: ListStateMachinesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_0ListStateMachinesCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListStateMachinesCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_0ListStateMachinesCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
|
|
2
|
-
import { ListTagsForResourceInput, ListTagsForResourceOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0ListTagsForResourceCommand,
|
|
5
|
-
serializeAws_json1_0ListTagsForResourceCommand,
|
|
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 ListTagsForResourceCommandInput extends ListTagsForResourceInput {}
|
|
21
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>List tags for a given resource.</p>
|
|
25
|
-
* <p>Tags may only contain Unicode letters, digits, white space, or these symbols: <code>_ . : / = + - @</code>.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { SFNClient, ListTagsForResourceCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
30
|
-
* // const { SFNClient, ListTagsForResourceCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
31
|
-
* const client = new SFNClient(config);
|
|
32
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
42
|
-
ListTagsForResourceCommandInput,
|
|
43
|
-
ListTagsForResourceCommandOutput,
|
|
44
|
-
SFNClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
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<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
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 = "ListTagsForResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListTagsForResourceInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListTagsForResourceOutput.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: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_0ListTagsForResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_0ListTagsForResourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { SFNClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SFNClient";
|
|
2
|
-
import { SendTaskFailureInput, SendTaskFailureOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_0SendTaskFailureCommand,
|
|
5
|
-
serializeAws_json1_0SendTaskFailureCommand,
|
|
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 SendTaskFailureCommandInput extends SendTaskFailureInput {}
|
|
21
|
-
export interface SendTaskFailureCommandOutput extends SendTaskFailureOutput, __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> failed.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { SFNClient, SendTaskFailureCommand } from "@aws-sdk/client-sfn"; // ES Modules import
|
|
30
|
-
* // const { SFNClient, SendTaskFailureCommand } = require("@aws-sdk/client-sfn"); // CommonJS import
|
|
31
|
-
* const client = new SFNClient(config);
|
|
32
|
-
* const command = new SendTaskFailureCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link SendTaskFailureCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link SendTaskFailureCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link SFNClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class SendTaskFailureCommand extends $Command<
|
|
42
|
-
SendTaskFailureCommandInput,
|
|
43
|
-
SendTaskFailureCommandOutput,
|
|
44
|
-
SFNClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: SendTaskFailureCommandInput) {
|
|
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<SendTaskFailureCommandInput, SendTaskFailureCommandOutput> {
|
|
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 = "SendTaskFailureCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: SendTaskFailureInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: SendTaskFailureOutput.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: SendTaskFailureCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_0SendTaskFailureCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<SendTaskFailureCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_0SendTaskFailureCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|