@aws-sdk/client-sfn 3.490.0 → 3.496.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/dist-cjs/SFN.js +1 -83
- package/dist-cjs/SFNClient.js +1 -43
- package/dist-cjs/commands/CreateActivityCommand.js +1 -28
- package/dist-cjs/commands/CreateStateMachineAliasCommand.js +1 -29
- package/dist-cjs/commands/CreateStateMachineCommand.js +1 -29
- package/dist-cjs/commands/DeleteActivityCommand.js +1 -28
- package/dist-cjs/commands/DeleteStateMachineAliasCommand.js +1 -28
- package/dist-cjs/commands/DeleteStateMachineCommand.js +1 -28
- package/dist-cjs/commands/DeleteStateMachineVersionCommand.js +1 -28
- package/dist-cjs/commands/DescribeActivityCommand.js +1 -28
- package/dist-cjs/commands/DescribeExecutionCommand.js +1 -29
- package/dist-cjs/commands/DescribeMapRunCommand.js +1 -28
- package/dist-cjs/commands/DescribeStateMachineAliasCommand.js +1 -29
- package/dist-cjs/commands/DescribeStateMachineCommand.js +1 -29
- package/dist-cjs/commands/DescribeStateMachineForExecutionCommand.js +1 -29
- package/dist-cjs/commands/GetActivityTaskCommand.js +1 -29
- package/dist-cjs/commands/GetExecutionHistoryCommand.js +1 -29
- package/dist-cjs/commands/ListActivitiesCommand.js +1 -28
- package/dist-cjs/commands/ListExecutionsCommand.js +1 -28
- package/dist-cjs/commands/ListMapRunsCommand.js +1 -28
- package/dist-cjs/commands/ListStateMachineAliasesCommand.js +1 -28
- package/dist-cjs/commands/ListStateMachineVersionsCommand.js +1 -28
- package/dist-cjs/commands/ListStateMachinesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/PublishStateMachineVersionCommand.js +1 -29
- package/dist-cjs/commands/RedriveExecutionCommand.js +1 -28
- package/dist-cjs/commands/SendTaskFailureCommand.js +1 -29
- package/dist-cjs/commands/SendTaskHeartbeatCommand.js +1 -28
- package/dist-cjs/commands/SendTaskSuccessCommand.js +1 -29
- package/dist-cjs/commands/StartExecutionCommand.js +1 -29
- package/dist-cjs/commands/StartSyncExecutionCommand.js +1 -29
- package/dist-cjs/commands/StopExecutionCommand.js +1 -29
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/TestStateCommand.js +1 -29
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateMapRunCommand.js +1 -28
- package/dist-cjs/commands/UpdateStateMachineAliasCommand.js +1 -29
- package/dist-cjs/commands/UpdateStateMachineCommand.js +1 -29
- package/dist-cjs/commands/index.js +1 -39
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +4366 -11
- package/dist-cjs/models/SFNServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -843
- package/dist-cjs/pagination/GetExecutionHistoryPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListActivitiesPaginator.js +1 -7
- package/dist-cjs/pagination/ListExecutionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListMapRunsPaginator.js +1 -7
- package/dist-cjs/pagination/ListStateMachinesPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -9
- package/dist-cjs/protocols/Aws_json1_0.js +1 -2453
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,4367 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
ActivityDoesNotExist: () => ActivityDoesNotExist,
|
|
25
|
+
ActivityFailedEventDetailsFilterSensitiveLog: () => ActivityFailedEventDetailsFilterSensitiveLog,
|
|
26
|
+
ActivityLimitExceeded: () => ActivityLimitExceeded,
|
|
27
|
+
ActivityScheduleFailedEventDetailsFilterSensitiveLog: () => ActivityScheduleFailedEventDetailsFilterSensitiveLog,
|
|
28
|
+
ActivityScheduledEventDetailsFilterSensitiveLog: () => ActivityScheduledEventDetailsFilterSensitiveLog,
|
|
29
|
+
ActivitySucceededEventDetailsFilterSensitiveLog: () => ActivitySucceededEventDetailsFilterSensitiveLog,
|
|
30
|
+
ActivityTimedOutEventDetailsFilterSensitiveLog: () => ActivityTimedOutEventDetailsFilterSensitiveLog,
|
|
31
|
+
ActivityWorkerLimitExceeded: () => ActivityWorkerLimitExceeded,
|
|
32
|
+
ConflictException: () => ConflictException,
|
|
33
|
+
CreateActivityCommand: () => CreateActivityCommand,
|
|
34
|
+
CreateStateMachineAliasCommand: () => CreateStateMachineAliasCommand,
|
|
35
|
+
CreateStateMachineAliasInputFilterSensitiveLog: () => CreateStateMachineAliasInputFilterSensitiveLog,
|
|
36
|
+
CreateStateMachineCommand: () => CreateStateMachineCommand,
|
|
37
|
+
CreateStateMachineInputFilterSensitiveLog: () => CreateStateMachineInputFilterSensitiveLog,
|
|
38
|
+
DeleteActivityCommand: () => DeleteActivityCommand,
|
|
39
|
+
DeleteStateMachineAliasCommand: () => DeleteStateMachineAliasCommand,
|
|
40
|
+
DeleteStateMachineCommand: () => DeleteStateMachineCommand,
|
|
41
|
+
DeleteStateMachineVersionCommand: () => DeleteStateMachineVersionCommand,
|
|
42
|
+
DescribeActivityCommand: () => DescribeActivityCommand,
|
|
43
|
+
DescribeExecutionCommand: () => DescribeExecutionCommand,
|
|
44
|
+
DescribeExecutionOutputFilterSensitiveLog: () => DescribeExecutionOutputFilterSensitiveLog,
|
|
45
|
+
DescribeMapRunCommand: () => DescribeMapRunCommand,
|
|
46
|
+
DescribeStateMachineAliasCommand: () => DescribeStateMachineAliasCommand,
|
|
47
|
+
DescribeStateMachineAliasOutputFilterSensitiveLog: () => DescribeStateMachineAliasOutputFilterSensitiveLog,
|
|
48
|
+
DescribeStateMachineCommand: () => DescribeStateMachineCommand,
|
|
49
|
+
DescribeStateMachineForExecutionCommand: () => DescribeStateMachineForExecutionCommand,
|
|
50
|
+
DescribeStateMachineForExecutionOutputFilterSensitiveLog: () => DescribeStateMachineForExecutionOutputFilterSensitiveLog,
|
|
51
|
+
DescribeStateMachineOutputFilterSensitiveLog: () => DescribeStateMachineOutputFilterSensitiveLog,
|
|
52
|
+
ExecutionAbortedEventDetailsFilterSensitiveLog: () => ExecutionAbortedEventDetailsFilterSensitiveLog,
|
|
53
|
+
ExecutionAlreadyExists: () => ExecutionAlreadyExists,
|
|
54
|
+
ExecutionDoesNotExist: () => ExecutionDoesNotExist,
|
|
55
|
+
ExecutionFailedEventDetailsFilterSensitiveLog: () => ExecutionFailedEventDetailsFilterSensitiveLog,
|
|
56
|
+
ExecutionLimitExceeded: () => ExecutionLimitExceeded,
|
|
57
|
+
ExecutionNotRedrivable: () => ExecutionNotRedrivable,
|
|
58
|
+
ExecutionRedriveFilter: () => ExecutionRedriveFilter,
|
|
59
|
+
ExecutionRedriveStatus: () => ExecutionRedriveStatus,
|
|
60
|
+
ExecutionStartedEventDetailsFilterSensitiveLog: () => ExecutionStartedEventDetailsFilterSensitiveLog,
|
|
61
|
+
ExecutionStatus: () => ExecutionStatus,
|
|
62
|
+
ExecutionSucceededEventDetailsFilterSensitiveLog: () => ExecutionSucceededEventDetailsFilterSensitiveLog,
|
|
63
|
+
ExecutionTimedOutEventDetailsFilterSensitiveLog: () => ExecutionTimedOutEventDetailsFilterSensitiveLog,
|
|
64
|
+
GetActivityTaskCommand: () => GetActivityTaskCommand,
|
|
65
|
+
GetActivityTaskOutputFilterSensitiveLog: () => GetActivityTaskOutputFilterSensitiveLog,
|
|
66
|
+
GetExecutionHistoryCommand: () => GetExecutionHistoryCommand,
|
|
67
|
+
GetExecutionHistoryOutputFilterSensitiveLog: () => GetExecutionHistoryOutputFilterSensitiveLog,
|
|
68
|
+
HistoryEventFilterSensitiveLog: () => HistoryEventFilterSensitiveLog,
|
|
69
|
+
HistoryEventType: () => HistoryEventType,
|
|
70
|
+
InspectionDataFilterSensitiveLog: () => InspectionDataFilterSensitiveLog,
|
|
71
|
+
InspectionLevel: () => InspectionLevel,
|
|
72
|
+
InvalidArn: () => InvalidArn,
|
|
73
|
+
InvalidDefinition: () => InvalidDefinition,
|
|
74
|
+
InvalidExecutionInput: () => InvalidExecutionInput,
|
|
75
|
+
InvalidLoggingConfiguration: () => InvalidLoggingConfiguration,
|
|
76
|
+
InvalidName: () => InvalidName,
|
|
77
|
+
InvalidOutput: () => InvalidOutput,
|
|
78
|
+
InvalidToken: () => InvalidToken,
|
|
79
|
+
InvalidTracingConfiguration: () => InvalidTracingConfiguration,
|
|
80
|
+
LambdaFunctionFailedEventDetailsFilterSensitiveLog: () => LambdaFunctionFailedEventDetailsFilterSensitiveLog,
|
|
81
|
+
LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog: () => LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog,
|
|
82
|
+
LambdaFunctionScheduledEventDetailsFilterSensitiveLog: () => LambdaFunctionScheduledEventDetailsFilterSensitiveLog,
|
|
83
|
+
LambdaFunctionStartFailedEventDetailsFilterSensitiveLog: () => LambdaFunctionStartFailedEventDetailsFilterSensitiveLog,
|
|
84
|
+
LambdaFunctionSucceededEventDetailsFilterSensitiveLog: () => LambdaFunctionSucceededEventDetailsFilterSensitiveLog,
|
|
85
|
+
LambdaFunctionTimedOutEventDetailsFilterSensitiveLog: () => LambdaFunctionTimedOutEventDetailsFilterSensitiveLog,
|
|
86
|
+
ListActivitiesCommand: () => ListActivitiesCommand,
|
|
87
|
+
ListExecutionsCommand: () => ListExecutionsCommand,
|
|
88
|
+
ListMapRunsCommand: () => ListMapRunsCommand,
|
|
89
|
+
ListStateMachineAliasesCommand: () => ListStateMachineAliasesCommand,
|
|
90
|
+
ListStateMachineVersionsCommand: () => ListStateMachineVersionsCommand,
|
|
91
|
+
ListStateMachinesCommand: () => ListStateMachinesCommand,
|
|
92
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
93
|
+
LogLevel: () => LogLevel,
|
|
94
|
+
MapRunFailedEventDetailsFilterSensitiveLog: () => MapRunFailedEventDetailsFilterSensitiveLog,
|
|
95
|
+
MapRunStatus: () => MapRunStatus,
|
|
96
|
+
MissingRequiredParameter: () => MissingRequiredParameter,
|
|
97
|
+
PublishStateMachineVersionCommand: () => PublishStateMachineVersionCommand,
|
|
98
|
+
PublishStateMachineVersionInputFilterSensitiveLog: () => PublishStateMachineVersionInputFilterSensitiveLog,
|
|
99
|
+
RedriveExecutionCommand: () => RedriveExecutionCommand,
|
|
100
|
+
ResourceNotFound: () => ResourceNotFound,
|
|
101
|
+
SFN: () => SFN,
|
|
102
|
+
SFNClient: () => SFNClient,
|
|
103
|
+
SFNServiceException: () => SFNServiceException,
|
|
104
|
+
SendTaskFailureCommand: () => SendTaskFailureCommand,
|
|
105
|
+
SendTaskFailureInputFilterSensitiveLog: () => SendTaskFailureInputFilterSensitiveLog,
|
|
106
|
+
SendTaskHeartbeatCommand: () => SendTaskHeartbeatCommand,
|
|
107
|
+
SendTaskSuccessCommand: () => SendTaskSuccessCommand,
|
|
108
|
+
SendTaskSuccessInputFilterSensitiveLog: () => SendTaskSuccessInputFilterSensitiveLog,
|
|
109
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
110
|
+
StartExecutionCommand: () => StartExecutionCommand,
|
|
111
|
+
StartExecutionInputFilterSensitiveLog: () => StartExecutionInputFilterSensitiveLog,
|
|
112
|
+
StartSyncExecutionCommand: () => StartSyncExecutionCommand,
|
|
113
|
+
StartSyncExecutionInputFilterSensitiveLog: () => StartSyncExecutionInputFilterSensitiveLog,
|
|
114
|
+
StartSyncExecutionOutputFilterSensitiveLog: () => StartSyncExecutionOutputFilterSensitiveLog,
|
|
115
|
+
StateEnteredEventDetailsFilterSensitiveLog: () => StateEnteredEventDetailsFilterSensitiveLog,
|
|
116
|
+
StateExitedEventDetailsFilterSensitiveLog: () => StateExitedEventDetailsFilterSensitiveLog,
|
|
117
|
+
StateMachineAlreadyExists: () => StateMachineAlreadyExists,
|
|
118
|
+
StateMachineDeleting: () => StateMachineDeleting,
|
|
119
|
+
StateMachineDoesNotExist: () => StateMachineDoesNotExist,
|
|
120
|
+
StateMachineLimitExceeded: () => StateMachineLimitExceeded,
|
|
121
|
+
StateMachineStatus: () => StateMachineStatus,
|
|
122
|
+
StateMachineType: () => StateMachineType,
|
|
123
|
+
StateMachineTypeNotSupported: () => StateMachineTypeNotSupported,
|
|
124
|
+
StopExecutionCommand: () => StopExecutionCommand,
|
|
125
|
+
StopExecutionInputFilterSensitiveLog: () => StopExecutionInputFilterSensitiveLog,
|
|
126
|
+
SyncExecutionStatus: () => SyncExecutionStatus,
|
|
127
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
128
|
+
TaskDoesNotExist: () => TaskDoesNotExist,
|
|
129
|
+
TaskFailedEventDetailsFilterSensitiveLog: () => TaskFailedEventDetailsFilterSensitiveLog,
|
|
130
|
+
TaskScheduledEventDetailsFilterSensitiveLog: () => TaskScheduledEventDetailsFilterSensitiveLog,
|
|
131
|
+
TaskStartFailedEventDetailsFilterSensitiveLog: () => TaskStartFailedEventDetailsFilterSensitiveLog,
|
|
132
|
+
TaskSubmitFailedEventDetailsFilterSensitiveLog: () => TaskSubmitFailedEventDetailsFilterSensitiveLog,
|
|
133
|
+
TaskSubmittedEventDetailsFilterSensitiveLog: () => TaskSubmittedEventDetailsFilterSensitiveLog,
|
|
134
|
+
TaskSucceededEventDetailsFilterSensitiveLog: () => TaskSucceededEventDetailsFilterSensitiveLog,
|
|
135
|
+
TaskTimedOut: () => TaskTimedOut,
|
|
136
|
+
TaskTimedOutEventDetailsFilterSensitiveLog: () => TaskTimedOutEventDetailsFilterSensitiveLog,
|
|
137
|
+
TestExecutionStatus: () => TestExecutionStatus,
|
|
138
|
+
TestStateCommand: () => TestStateCommand,
|
|
139
|
+
TestStateInputFilterSensitiveLog: () => TestStateInputFilterSensitiveLog,
|
|
140
|
+
TestStateOutputFilterSensitiveLog: () => TestStateOutputFilterSensitiveLog,
|
|
141
|
+
TooManyTags: () => TooManyTags,
|
|
142
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
143
|
+
UpdateMapRunCommand: () => UpdateMapRunCommand,
|
|
144
|
+
UpdateStateMachineAliasCommand: () => UpdateStateMachineAliasCommand,
|
|
145
|
+
UpdateStateMachineAliasInputFilterSensitiveLog: () => UpdateStateMachineAliasInputFilterSensitiveLog,
|
|
146
|
+
UpdateStateMachineCommand: () => UpdateStateMachineCommand,
|
|
147
|
+
UpdateStateMachineInputFilterSensitiveLog: () => UpdateStateMachineInputFilterSensitiveLog,
|
|
148
|
+
ValidationException: () => ValidationException,
|
|
149
|
+
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
150
|
+
__Client: () => import_smithy_client.Client,
|
|
151
|
+
paginateGetExecutionHistory: () => paginateGetExecutionHistory,
|
|
152
|
+
paginateListActivities: () => paginateListActivities,
|
|
153
|
+
paginateListExecutions: () => paginateListExecutions,
|
|
154
|
+
paginateListMapRuns: () => paginateListMapRuns,
|
|
155
|
+
paginateListStateMachines: () => paginateListStateMachines
|
|
156
|
+
});
|
|
157
|
+
module.exports = __toCommonJS(src_exports);
|
|
158
|
+
|
|
159
|
+
// src/SFNClient.ts
|
|
160
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
161
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
162
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
163
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
164
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
165
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
166
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
167
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
168
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
// src/endpoint/EndpointParameters.ts
|
|
172
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
173
|
+
return {
|
|
174
|
+
...options,
|
|
175
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
176
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
177
|
+
defaultSigningName: "states"
|
|
178
|
+
};
|
|
179
|
+
}, "resolveClientEndpointParameters");
|
|
180
|
+
var commonParams = {
|
|
181
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
182
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
183
|
+
Region: { type: "builtInParams", name: "region" },
|
|
184
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
// src/SFNClient.ts
|
|
188
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
189
|
+
|
|
190
|
+
// src/runtimeExtensions.ts
|
|
191
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
192
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
193
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
194
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
195
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
196
|
+
const extensionConfiguration = {
|
|
197
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
198
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
199
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
200
|
+
};
|
|
201
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
202
|
+
return {
|
|
203
|
+
...runtimeConfig,
|
|
204
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
205
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
206
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
207
|
+
};
|
|
208
|
+
}, "resolveRuntimeExtensions");
|
|
209
|
+
|
|
210
|
+
// src/SFNClient.ts
|
|
211
|
+
var _SFNClient = class _SFNClient extends import_smithy_client.Client {
|
|
212
|
+
constructor(...[configuration]) {
|
|
213
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
214
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
215
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
216
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
217
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
218
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
219
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
220
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
221
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
222
|
+
super(_config_8);
|
|
223
|
+
this.config = _config_8;
|
|
224
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
225
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
226
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
227
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
228
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
229
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
230
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
234
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
235
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
236
|
+
*/
|
|
237
|
+
destroy() {
|
|
238
|
+
super.destroy();
|
|
239
|
+
}
|
|
240
|
+
};
|
|
241
|
+
__name(_SFNClient, "SFNClient");
|
|
242
|
+
var SFNClient = _SFNClient;
|
|
243
|
+
|
|
244
|
+
// src/SFN.ts
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
// src/commands/CreateActivityCommand.ts
|
|
248
|
+
|
|
249
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
250
|
+
|
|
251
|
+
var import_types = require("@smithy/types");
|
|
252
|
+
|
|
253
|
+
// src/protocols/Aws_json1_0.ts
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
var import_uuid = require("uuid");
|
|
257
|
+
|
|
258
|
+
// src/models/models_0.ts
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
// src/models/SFNServiceException.ts
|
|
262
|
+
|
|
263
|
+
var _SFNServiceException = class _SFNServiceException extends import_smithy_client.ServiceException {
|
|
264
|
+
/**
|
|
265
|
+
* @internal
|
|
266
|
+
*/
|
|
267
|
+
constructor(options) {
|
|
268
|
+
super(options);
|
|
269
|
+
Object.setPrototypeOf(this, _SFNServiceException.prototype);
|
|
270
|
+
}
|
|
271
|
+
};
|
|
272
|
+
__name(_SFNServiceException, "SFNServiceException");
|
|
273
|
+
var SFNServiceException = _SFNServiceException;
|
|
274
|
+
|
|
275
|
+
// src/models/models_0.ts
|
|
276
|
+
var _ActivityDoesNotExist = class _ActivityDoesNotExist extends SFNServiceException {
|
|
277
|
+
/**
|
|
278
|
+
* @internal
|
|
279
|
+
*/
|
|
280
|
+
constructor(opts) {
|
|
281
|
+
super({
|
|
282
|
+
name: "ActivityDoesNotExist",
|
|
283
|
+
$fault: "client",
|
|
284
|
+
...opts
|
|
285
|
+
});
|
|
286
|
+
this.name = "ActivityDoesNotExist";
|
|
287
|
+
this.$fault = "client";
|
|
288
|
+
Object.setPrototypeOf(this, _ActivityDoesNotExist.prototype);
|
|
289
|
+
}
|
|
290
|
+
};
|
|
291
|
+
__name(_ActivityDoesNotExist, "ActivityDoesNotExist");
|
|
292
|
+
var ActivityDoesNotExist = _ActivityDoesNotExist;
|
|
293
|
+
var _ActivityLimitExceeded = class _ActivityLimitExceeded extends SFNServiceException {
|
|
294
|
+
/**
|
|
295
|
+
* @internal
|
|
296
|
+
*/
|
|
297
|
+
constructor(opts) {
|
|
298
|
+
super({
|
|
299
|
+
name: "ActivityLimitExceeded",
|
|
300
|
+
$fault: "client",
|
|
301
|
+
...opts
|
|
302
|
+
});
|
|
303
|
+
this.name = "ActivityLimitExceeded";
|
|
304
|
+
this.$fault = "client";
|
|
305
|
+
Object.setPrototypeOf(this, _ActivityLimitExceeded.prototype);
|
|
306
|
+
}
|
|
307
|
+
};
|
|
308
|
+
__name(_ActivityLimitExceeded, "ActivityLimitExceeded");
|
|
309
|
+
var ActivityLimitExceeded = _ActivityLimitExceeded;
|
|
310
|
+
var _ActivityWorkerLimitExceeded = class _ActivityWorkerLimitExceeded extends SFNServiceException {
|
|
311
|
+
/**
|
|
312
|
+
* @internal
|
|
313
|
+
*/
|
|
314
|
+
constructor(opts) {
|
|
315
|
+
super({
|
|
316
|
+
name: "ActivityWorkerLimitExceeded",
|
|
317
|
+
$fault: "client",
|
|
318
|
+
...opts
|
|
319
|
+
});
|
|
320
|
+
this.name = "ActivityWorkerLimitExceeded";
|
|
321
|
+
this.$fault = "client";
|
|
322
|
+
Object.setPrototypeOf(this, _ActivityWorkerLimitExceeded.prototype);
|
|
323
|
+
}
|
|
324
|
+
};
|
|
325
|
+
__name(_ActivityWorkerLimitExceeded, "ActivityWorkerLimitExceeded");
|
|
326
|
+
var ActivityWorkerLimitExceeded = _ActivityWorkerLimitExceeded;
|
|
327
|
+
var _InvalidName = class _InvalidName extends SFNServiceException {
|
|
328
|
+
/**
|
|
329
|
+
* @internal
|
|
330
|
+
*/
|
|
331
|
+
constructor(opts) {
|
|
332
|
+
super({
|
|
333
|
+
name: "InvalidName",
|
|
334
|
+
$fault: "client",
|
|
335
|
+
...opts
|
|
336
|
+
});
|
|
337
|
+
this.name = "InvalidName";
|
|
338
|
+
this.$fault = "client";
|
|
339
|
+
Object.setPrototypeOf(this, _InvalidName.prototype);
|
|
340
|
+
}
|
|
341
|
+
};
|
|
342
|
+
__name(_InvalidName, "InvalidName");
|
|
343
|
+
var InvalidName = _InvalidName;
|
|
344
|
+
var _TooManyTags = class _TooManyTags extends SFNServiceException {
|
|
345
|
+
/**
|
|
346
|
+
* @internal
|
|
347
|
+
*/
|
|
348
|
+
constructor(opts) {
|
|
349
|
+
super({
|
|
350
|
+
name: "TooManyTags",
|
|
351
|
+
$fault: "client",
|
|
352
|
+
...opts
|
|
353
|
+
});
|
|
354
|
+
this.name = "TooManyTags";
|
|
355
|
+
this.$fault = "client";
|
|
356
|
+
Object.setPrototypeOf(this, _TooManyTags.prototype);
|
|
357
|
+
this.resourceName = opts.resourceName;
|
|
358
|
+
}
|
|
359
|
+
};
|
|
360
|
+
__name(_TooManyTags, "TooManyTags");
|
|
361
|
+
var TooManyTags = _TooManyTags;
|
|
362
|
+
var _ConflictException = class _ConflictException extends SFNServiceException {
|
|
363
|
+
/**
|
|
364
|
+
* @internal
|
|
365
|
+
*/
|
|
366
|
+
constructor(opts) {
|
|
367
|
+
super({
|
|
368
|
+
name: "ConflictException",
|
|
369
|
+
$fault: "client",
|
|
370
|
+
...opts
|
|
371
|
+
});
|
|
372
|
+
this.name = "ConflictException";
|
|
373
|
+
this.$fault = "client";
|
|
374
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
375
|
+
}
|
|
376
|
+
};
|
|
377
|
+
__name(_ConflictException, "ConflictException");
|
|
378
|
+
var ConflictException = _ConflictException;
|
|
379
|
+
var LogLevel = {
|
|
380
|
+
ALL: "ALL",
|
|
381
|
+
ERROR: "ERROR",
|
|
382
|
+
FATAL: "FATAL",
|
|
383
|
+
OFF: "OFF"
|
|
384
|
+
};
|
|
385
|
+
var StateMachineType = {
|
|
386
|
+
EXPRESS: "EXPRESS",
|
|
387
|
+
STANDARD: "STANDARD"
|
|
388
|
+
};
|
|
389
|
+
var _InvalidArn = class _InvalidArn extends SFNServiceException {
|
|
390
|
+
/**
|
|
391
|
+
* @internal
|
|
392
|
+
*/
|
|
393
|
+
constructor(opts) {
|
|
394
|
+
super({
|
|
395
|
+
name: "InvalidArn",
|
|
396
|
+
$fault: "client",
|
|
397
|
+
...opts
|
|
398
|
+
});
|
|
399
|
+
this.name = "InvalidArn";
|
|
400
|
+
this.$fault = "client";
|
|
401
|
+
Object.setPrototypeOf(this, _InvalidArn.prototype);
|
|
402
|
+
}
|
|
403
|
+
};
|
|
404
|
+
__name(_InvalidArn, "InvalidArn");
|
|
405
|
+
var InvalidArn = _InvalidArn;
|
|
406
|
+
var _InvalidDefinition = class _InvalidDefinition extends SFNServiceException {
|
|
407
|
+
/**
|
|
408
|
+
* @internal
|
|
409
|
+
*/
|
|
410
|
+
constructor(opts) {
|
|
411
|
+
super({
|
|
412
|
+
name: "InvalidDefinition",
|
|
413
|
+
$fault: "client",
|
|
414
|
+
...opts
|
|
415
|
+
});
|
|
416
|
+
this.name = "InvalidDefinition";
|
|
417
|
+
this.$fault = "client";
|
|
418
|
+
Object.setPrototypeOf(this, _InvalidDefinition.prototype);
|
|
419
|
+
}
|
|
420
|
+
};
|
|
421
|
+
__name(_InvalidDefinition, "InvalidDefinition");
|
|
422
|
+
var InvalidDefinition = _InvalidDefinition;
|
|
423
|
+
var _InvalidLoggingConfiguration = class _InvalidLoggingConfiguration extends SFNServiceException {
|
|
424
|
+
/**
|
|
425
|
+
* @internal
|
|
426
|
+
*/
|
|
427
|
+
constructor(opts) {
|
|
428
|
+
super({
|
|
429
|
+
name: "InvalidLoggingConfiguration",
|
|
430
|
+
$fault: "client",
|
|
431
|
+
...opts
|
|
432
|
+
});
|
|
433
|
+
this.name = "InvalidLoggingConfiguration";
|
|
434
|
+
this.$fault = "client";
|
|
435
|
+
Object.setPrototypeOf(this, _InvalidLoggingConfiguration.prototype);
|
|
436
|
+
}
|
|
437
|
+
};
|
|
438
|
+
__name(_InvalidLoggingConfiguration, "InvalidLoggingConfiguration");
|
|
439
|
+
var InvalidLoggingConfiguration = _InvalidLoggingConfiguration;
|
|
440
|
+
var _InvalidTracingConfiguration = class _InvalidTracingConfiguration extends SFNServiceException {
|
|
441
|
+
/**
|
|
442
|
+
* @internal
|
|
443
|
+
*/
|
|
444
|
+
constructor(opts) {
|
|
445
|
+
super({
|
|
446
|
+
name: "InvalidTracingConfiguration",
|
|
447
|
+
$fault: "client",
|
|
448
|
+
...opts
|
|
449
|
+
});
|
|
450
|
+
this.name = "InvalidTracingConfiguration";
|
|
451
|
+
this.$fault = "client";
|
|
452
|
+
Object.setPrototypeOf(this, _InvalidTracingConfiguration.prototype);
|
|
453
|
+
}
|
|
454
|
+
};
|
|
455
|
+
__name(_InvalidTracingConfiguration, "InvalidTracingConfiguration");
|
|
456
|
+
var InvalidTracingConfiguration = _InvalidTracingConfiguration;
|
|
457
|
+
var _StateMachineAlreadyExists = class _StateMachineAlreadyExists extends SFNServiceException {
|
|
458
|
+
/**
|
|
459
|
+
* @internal
|
|
460
|
+
*/
|
|
461
|
+
constructor(opts) {
|
|
462
|
+
super({
|
|
463
|
+
name: "StateMachineAlreadyExists",
|
|
464
|
+
$fault: "client",
|
|
465
|
+
...opts
|
|
466
|
+
});
|
|
467
|
+
this.name = "StateMachineAlreadyExists";
|
|
468
|
+
this.$fault = "client";
|
|
469
|
+
Object.setPrototypeOf(this, _StateMachineAlreadyExists.prototype);
|
|
470
|
+
}
|
|
471
|
+
};
|
|
472
|
+
__name(_StateMachineAlreadyExists, "StateMachineAlreadyExists");
|
|
473
|
+
var StateMachineAlreadyExists = _StateMachineAlreadyExists;
|
|
474
|
+
var _StateMachineDeleting = class _StateMachineDeleting extends SFNServiceException {
|
|
475
|
+
/**
|
|
476
|
+
* @internal
|
|
477
|
+
*/
|
|
478
|
+
constructor(opts) {
|
|
479
|
+
super({
|
|
480
|
+
name: "StateMachineDeleting",
|
|
481
|
+
$fault: "client",
|
|
482
|
+
...opts
|
|
483
|
+
});
|
|
484
|
+
this.name = "StateMachineDeleting";
|
|
485
|
+
this.$fault = "client";
|
|
486
|
+
Object.setPrototypeOf(this, _StateMachineDeleting.prototype);
|
|
487
|
+
}
|
|
488
|
+
};
|
|
489
|
+
__name(_StateMachineDeleting, "StateMachineDeleting");
|
|
490
|
+
var StateMachineDeleting = _StateMachineDeleting;
|
|
491
|
+
var _StateMachineLimitExceeded = class _StateMachineLimitExceeded extends SFNServiceException {
|
|
492
|
+
/**
|
|
493
|
+
* @internal
|
|
494
|
+
*/
|
|
495
|
+
constructor(opts) {
|
|
496
|
+
super({
|
|
497
|
+
name: "StateMachineLimitExceeded",
|
|
498
|
+
$fault: "client",
|
|
499
|
+
...opts
|
|
500
|
+
});
|
|
501
|
+
this.name = "StateMachineLimitExceeded";
|
|
502
|
+
this.$fault = "client";
|
|
503
|
+
Object.setPrototypeOf(this, _StateMachineLimitExceeded.prototype);
|
|
504
|
+
}
|
|
505
|
+
};
|
|
506
|
+
__name(_StateMachineLimitExceeded, "StateMachineLimitExceeded");
|
|
507
|
+
var StateMachineLimitExceeded = _StateMachineLimitExceeded;
|
|
508
|
+
var _StateMachineTypeNotSupported = class _StateMachineTypeNotSupported extends SFNServiceException {
|
|
509
|
+
/**
|
|
510
|
+
* @internal
|
|
511
|
+
*/
|
|
512
|
+
constructor(opts) {
|
|
513
|
+
super({
|
|
514
|
+
name: "StateMachineTypeNotSupported",
|
|
515
|
+
$fault: "client",
|
|
516
|
+
...opts
|
|
517
|
+
});
|
|
518
|
+
this.name = "StateMachineTypeNotSupported";
|
|
519
|
+
this.$fault = "client";
|
|
520
|
+
Object.setPrototypeOf(this, _StateMachineTypeNotSupported.prototype);
|
|
521
|
+
}
|
|
522
|
+
};
|
|
523
|
+
__name(_StateMachineTypeNotSupported, "StateMachineTypeNotSupported");
|
|
524
|
+
var StateMachineTypeNotSupported = _StateMachineTypeNotSupported;
|
|
525
|
+
var ValidationExceptionReason = {
|
|
526
|
+
API_DOES_NOT_SUPPORT_LABELED_ARNS: "API_DOES_NOT_SUPPORT_LABELED_ARNS",
|
|
527
|
+
CANNOT_UPDATE_COMPLETED_MAP_RUN: "CANNOT_UPDATE_COMPLETED_MAP_RUN",
|
|
528
|
+
INVALID_ROUTING_CONFIGURATION: "INVALID_ROUTING_CONFIGURATION",
|
|
529
|
+
MISSING_REQUIRED_PARAMETER: "MISSING_REQUIRED_PARAMETER"
|
|
530
|
+
};
|
|
531
|
+
var _ValidationException = class _ValidationException extends SFNServiceException {
|
|
532
|
+
/**
|
|
533
|
+
* @internal
|
|
534
|
+
*/
|
|
535
|
+
constructor(opts) {
|
|
536
|
+
super({
|
|
537
|
+
name: "ValidationException",
|
|
538
|
+
$fault: "client",
|
|
539
|
+
...opts
|
|
540
|
+
});
|
|
541
|
+
this.name = "ValidationException";
|
|
542
|
+
this.$fault = "client";
|
|
543
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
544
|
+
this.reason = opts.reason;
|
|
545
|
+
}
|
|
546
|
+
};
|
|
547
|
+
__name(_ValidationException, "ValidationException");
|
|
548
|
+
var ValidationException = _ValidationException;
|
|
549
|
+
var _ResourceNotFound = class _ResourceNotFound extends SFNServiceException {
|
|
550
|
+
/**
|
|
551
|
+
* @internal
|
|
552
|
+
*/
|
|
553
|
+
constructor(opts) {
|
|
554
|
+
super({
|
|
555
|
+
name: "ResourceNotFound",
|
|
556
|
+
$fault: "client",
|
|
557
|
+
...opts
|
|
558
|
+
});
|
|
559
|
+
this.name = "ResourceNotFound";
|
|
560
|
+
this.$fault = "client";
|
|
561
|
+
Object.setPrototypeOf(this, _ResourceNotFound.prototype);
|
|
562
|
+
this.resourceName = opts.resourceName;
|
|
563
|
+
}
|
|
564
|
+
};
|
|
565
|
+
__name(_ResourceNotFound, "ResourceNotFound");
|
|
566
|
+
var ResourceNotFound = _ResourceNotFound;
|
|
567
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SFNServiceException {
|
|
568
|
+
/**
|
|
569
|
+
* @internal
|
|
570
|
+
*/
|
|
571
|
+
constructor(opts) {
|
|
572
|
+
super({
|
|
573
|
+
name: "ServiceQuotaExceededException",
|
|
574
|
+
$fault: "client",
|
|
575
|
+
...opts
|
|
576
|
+
});
|
|
577
|
+
this.name = "ServiceQuotaExceededException";
|
|
578
|
+
this.$fault = "client";
|
|
579
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
580
|
+
}
|
|
581
|
+
};
|
|
582
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
583
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
584
|
+
var ExecutionRedriveStatus = {
|
|
585
|
+
NOT_REDRIVABLE: "NOT_REDRIVABLE",
|
|
586
|
+
REDRIVABLE: "REDRIVABLE",
|
|
587
|
+
REDRIVABLE_BY_MAP_RUN: "REDRIVABLE_BY_MAP_RUN"
|
|
588
|
+
};
|
|
589
|
+
var ExecutionStatus = {
|
|
590
|
+
ABORTED: "ABORTED",
|
|
591
|
+
FAILED: "FAILED",
|
|
592
|
+
PENDING_REDRIVE: "PENDING_REDRIVE",
|
|
593
|
+
RUNNING: "RUNNING",
|
|
594
|
+
SUCCEEDED: "SUCCEEDED",
|
|
595
|
+
TIMED_OUT: "TIMED_OUT"
|
|
596
|
+
};
|
|
597
|
+
var _ExecutionDoesNotExist = class _ExecutionDoesNotExist extends SFNServiceException {
|
|
598
|
+
/**
|
|
599
|
+
* @internal
|
|
600
|
+
*/
|
|
601
|
+
constructor(opts) {
|
|
602
|
+
super({
|
|
603
|
+
name: "ExecutionDoesNotExist",
|
|
604
|
+
$fault: "client",
|
|
605
|
+
...opts
|
|
606
|
+
});
|
|
607
|
+
this.name = "ExecutionDoesNotExist";
|
|
608
|
+
this.$fault = "client";
|
|
609
|
+
Object.setPrototypeOf(this, _ExecutionDoesNotExist.prototype);
|
|
610
|
+
}
|
|
611
|
+
};
|
|
612
|
+
__name(_ExecutionDoesNotExist, "ExecutionDoesNotExist");
|
|
613
|
+
var ExecutionDoesNotExist = _ExecutionDoesNotExist;
|
|
614
|
+
var MapRunStatus = {
|
|
615
|
+
ABORTED: "ABORTED",
|
|
616
|
+
FAILED: "FAILED",
|
|
617
|
+
RUNNING: "RUNNING",
|
|
618
|
+
SUCCEEDED: "SUCCEEDED"
|
|
619
|
+
};
|
|
620
|
+
var StateMachineStatus = {
|
|
621
|
+
ACTIVE: "ACTIVE",
|
|
622
|
+
DELETING: "DELETING"
|
|
623
|
+
};
|
|
624
|
+
var _StateMachineDoesNotExist = class _StateMachineDoesNotExist extends SFNServiceException {
|
|
625
|
+
/**
|
|
626
|
+
* @internal
|
|
627
|
+
*/
|
|
628
|
+
constructor(opts) {
|
|
629
|
+
super({
|
|
630
|
+
name: "StateMachineDoesNotExist",
|
|
631
|
+
$fault: "client",
|
|
632
|
+
...opts
|
|
633
|
+
});
|
|
634
|
+
this.name = "StateMachineDoesNotExist";
|
|
635
|
+
this.$fault = "client";
|
|
636
|
+
Object.setPrototypeOf(this, _StateMachineDoesNotExist.prototype);
|
|
637
|
+
}
|
|
638
|
+
};
|
|
639
|
+
__name(_StateMachineDoesNotExist, "StateMachineDoesNotExist");
|
|
640
|
+
var StateMachineDoesNotExist = _StateMachineDoesNotExist;
|
|
641
|
+
var HistoryEventType = {
|
|
642
|
+
ActivityFailed: "ActivityFailed",
|
|
643
|
+
ActivityScheduleFailed: "ActivityScheduleFailed",
|
|
644
|
+
ActivityScheduled: "ActivityScheduled",
|
|
645
|
+
ActivityStarted: "ActivityStarted",
|
|
646
|
+
ActivitySucceeded: "ActivitySucceeded",
|
|
647
|
+
ActivityTimedOut: "ActivityTimedOut",
|
|
648
|
+
ChoiceStateEntered: "ChoiceStateEntered",
|
|
649
|
+
ChoiceStateExited: "ChoiceStateExited",
|
|
650
|
+
ExecutionAborted: "ExecutionAborted",
|
|
651
|
+
ExecutionFailed: "ExecutionFailed",
|
|
652
|
+
ExecutionRedriven: "ExecutionRedriven",
|
|
653
|
+
ExecutionStarted: "ExecutionStarted",
|
|
654
|
+
ExecutionSucceeded: "ExecutionSucceeded",
|
|
655
|
+
ExecutionTimedOut: "ExecutionTimedOut",
|
|
656
|
+
FailStateEntered: "FailStateEntered",
|
|
657
|
+
LambdaFunctionFailed: "LambdaFunctionFailed",
|
|
658
|
+
LambdaFunctionScheduleFailed: "LambdaFunctionScheduleFailed",
|
|
659
|
+
LambdaFunctionScheduled: "LambdaFunctionScheduled",
|
|
660
|
+
LambdaFunctionStartFailed: "LambdaFunctionStartFailed",
|
|
661
|
+
LambdaFunctionStarted: "LambdaFunctionStarted",
|
|
662
|
+
LambdaFunctionSucceeded: "LambdaFunctionSucceeded",
|
|
663
|
+
LambdaFunctionTimedOut: "LambdaFunctionTimedOut",
|
|
664
|
+
MapIterationAborted: "MapIterationAborted",
|
|
665
|
+
MapIterationFailed: "MapIterationFailed",
|
|
666
|
+
MapIterationStarted: "MapIterationStarted",
|
|
667
|
+
MapIterationSucceeded: "MapIterationSucceeded",
|
|
668
|
+
MapRunAborted: "MapRunAborted",
|
|
669
|
+
MapRunFailed: "MapRunFailed",
|
|
670
|
+
MapRunRedriven: "MapRunRedriven",
|
|
671
|
+
MapRunStarted: "MapRunStarted",
|
|
672
|
+
MapRunSucceeded: "MapRunSucceeded",
|
|
673
|
+
MapStateAborted: "MapStateAborted",
|
|
674
|
+
MapStateEntered: "MapStateEntered",
|
|
675
|
+
MapStateExited: "MapStateExited",
|
|
676
|
+
MapStateFailed: "MapStateFailed",
|
|
677
|
+
MapStateStarted: "MapStateStarted",
|
|
678
|
+
MapStateSucceeded: "MapStateSucceeded",
|
|
679
|
+
ParallelStateAborted: "ParallelStateAborted",
|
|
680
|
+
ParallelStateEntered: "ParallelStateEntered",
|
|
681
|
+
ParallelStateExited: "ParallelStateExited",
|
|
682
|
+
ParallelStateFailed: "ParallelStateFailed",
|
|
683
|
+
ParallelStateStarted: "ParallelStateStarted",
|
|
684
|
+
ParallelStateSucceeded: "ParallelStateSucceeded",
|
|
685
|
+
PassStateEntered: "PassStateEntered",
|
|
686
|
+
PassStateExited: "PassStateExited",
|
|
687
|
+
SucceedStateEntered: "SucceedStateEntered",
|
|
688
|
+
SucceedStateExited: "SucceedStateExited",
|
|
689
|
+
TaskFailed: "TaskFailed",
|
|
690
|
+
TaskScheduled: "TaskScheduled",
|
|
691
|
+
TaskStartFailed: "TaskStartFailed",
|
|
692
|
+
TaskStarted: "TaskStarted",
|
|
693
|
+
TaskStateAborted: "TaskStateAborted",
|
|
694
|
+
TaskStateEntered: "TaskStateEntered",
|
|
695
|
+
TaskStateExited: "TaskStateExited",
|
|
696
|
+
TaskSubmitFailed: "TaskSubmitFailed",
|
|
697
|
+
TaskSubmitted: "TaskSubmitted",
|
|
698
|
+
TaskSucceeded: "TaskSucceeded",
|
|
699
|
+
TaskTimedOut: "TaskTimedOut",
|
|
700
|
+
WaitStateAborted: "WaitStateAborted",
|
|
701
|
+
WaitStateEntered: "WaitStateEntered",
|
|
702
|
+
WaitStateExited: "WaitStateExited"
|
|
703
|
+
};
|
|
704
|
+
var _InvalidToken = class _InvalidToken extends SFNServiceException {
|
|
705
|
+
/**
|
|
706
|
+
* @internal
|
|
707
|
+
*/
|
|
708
|
+
constructor(opts) {
|
|
709
|
+
super({
|
|
710
|
+
name: "InvalidToken",
|
|
711
|
+
$fault: "client",
|
|
712
|
+
...opts
|
|
713
|
+
});
|
|
714
|
+
this.name = "InvalidToken";
|
|
715
|
+
this.$fault = "client";
|
|
716
|
+
Object.setPrototypeOf(this, _InvalidToken.prototype);
|
|
717
|
+
}
|
|
718
|
+
};
|
|
719
|
+
__name(_InvalidToken, "InvalidToken");
|
|
720
|
+
var InvalidToken = _InvalidToken;
|
|
721
|
+
var ExecutionRedriveFilter = {
|
|
722
|
+
NOT_REDRIVEN: "NOT_REDRIVEN",
|
|
723
|
+
REDRIVEN: "REDRIVEN"
|
|
724
|
+
};
|
|
725
|
+
var _ExecutionLimitExceeded = class _ExecutionLimitExceeded extends SFNServiceException {
|
|
726
|
+
/**
|
|
727
|
+
* @internal
|
|
728
|
+
*/
|
|
729
|
+
constructor(opts) {
|
|
730
|
+
super({
|
|
731
|
+
name: "ExecutionLimitExceeded",
|
|
732
|
+
$fault: "client",
|
|
733
|
+
...opts
|
|
734
|
+
});
|
|
735
|
+
this.name = "ExecutionLimitExceeded";
|
|
736
|
+
this.$fault = "client";
|
|
737
|
+
Object.setPrototypeOf(this, _ExecutionLimitExceeded.prototype);
|
|
738
|
+
}
|
|
739
|
+
};
|
|
740
|
+
__name(_ExecutionLimitExceeded, "ExecutionLimitExceeded");
|
|
741
|
+
var ExecutionLimitExceeded = _ExecutionLimitExceeded;
|
|
742
|
+
var _ExecutionNotRedrivable = class _ExecutionNotRedrivable extends SFNServiceException {
|
|
743
|
+
/**
|
|
744
|
+
* @internal
|
|
745
|
+
*/
|
|
746
|
+
constructor(opts) {
|
|
747
|
+
super({
|
|
748
|
+
name: "ExecutionNotRedrivable",
|
|
749
|
+
$fault: "client",
|
|
750
|
+
...opts
|
|
751
|
+
});
|
|
752
|
+
this.name = "ExecutionNotRedrivable";
|
|
753
|
+
this.$fault = "client";
|
|
754
|
+
Object.setPrototypeOf(this, _ExecutionNotRedrivable.prototype);
|
|
755
|
+
}
|
|
756
|
+
};
|
|
757
|
+
__name(_ExecutionNotRedrivable, "ExecutionNotRedrivable");
|
|
758
|
+
var ExecutionNotRedrivable = _ExecutionNotRedrivable;
|
|
759
|
+
var _TaskDoesNotExist = class _TaskDoesNotExist extends SFNServiceException {
|
|
760
|
+
/**
|
|
761
|
+
* @internal
|
|
762
|
+
*/
|
|
763
|
+
constructor(opts) {
|
|
764
|
+
super({
|
|
765
|
+
name: "TaskDoesNotExist",
|
|
766
|
+
$fault: "client",
|
|
767
|
+
...opts
|
|
768
|
+
});
|
|
769
|
+
this.name = "TaskDoesNotExist";
|
|
770
|
+
this.$fault = "client";
|
|
771
|
+
Object.setPrototypeOf(this, _TaskDoesNotExist.prototype);
|
|
772
|
+
}
|
|
773
|
+
};
|
|
774
|
+
__name(_TaskDoesNotExist, "TaskDoesNotExist");
|
|
775
|
+
var TaskDoesNotExist = _TaskDoesNotExist;
|
|
776
|
+
var _TaskTimedOut = class _TaskTimedOut extends SFNServiceException {
|
|
777
|
+
/**
|
|
778
|
+
* @internal
|
|
779
|
+
*/
|
|
780
|
+
constructor(opts) {
|
|
781
|
+
super({
|
|
782
|
+
name: "TaskTimedOut",
|
|
783
|
+
$fault: "client",
|
|
784
|
+
...opts
|
|
785
|
+
});
|
|
786
|
+
this.name = "TaskTimedOut";
|
|
787
|
+
this.$fault = "client";
|
|
788
|
+
Object.setPrototypeOf(this, _TaskTimedOut.prototype);
|
|
789
|
+
}
|
|
790
|
+
};
|
|
791
|
+
__name(_TaskTimedOut, "TaskTimedOut");
|
|
792
|
+
var TaskTimedOut = _TaskTimedOut;
|
|
793
|
+
var _InvalidOutput = class _InvalidOutput extends SFNServiceException {
|
|
794
|
+
/**
|
|
795
|
+
* @internal
|
|
796
|
+
*/
|
|
797
|
+
constructor(opts) {
|
|
798
|
+
super({
|
|
799
|
+
name: "InvalidOutput",
|
|
800
|
+
$fault: "client",
|
|
801
|
+
...opts
|
|
802
|
+
});
|
|
803
|
+
this.name = "InvalidOutput";
|
|
804
|
+
this.$fault = "client";
|
|
805
|
+
Object.setPrototypeOf(this, _InvalidOutput.prototype);
|
|
806
|
+
}
|
|
807
|
+
};
|
|
808
|
+
__name(_InvalidOutput, "InvalidOutput");
|
|
809
|
+
var InvalidOutput = _InvalidOutput;
|
|
810
|
+
var _ExecutionAlreadyExists = class _ExecutionAlreadyExists extends SFNServiceException {
|
|
811
|
+
/**
|
|
812
|
+
* @internal
|
|
813
|
+
*/
|
|
814
|
+
constructor(opts) {
|
|
815
|
+
super({
|
|
816
|
+
name: "ExecutionAlreadyExists",
|
|
817
|
+
$fault: "client",
|
|
818
|
+
...opts
|
|
819
|
+
});
|
|
820
|
+
this.name = "ExecutionAlreadyExists";
|
|
821
|
+
this.$fault = "client";
|
|
822
|
+
Object.setPrototypeOf(this, _ExecutionAlreadyExists.prototype);
|
|
823
|
+
}
|
|
824
|
+
};
|
|
825
|
+
__name(_ExecutionAlreadyExists, "ExecutionAlreadyExists");
|
|
826
|
+
var ExecutionAlreadyExists = _ExecutionAlreadyExists;
|
|
827
|
+
var _InvalidExecutionInput = class _InvalidExecutionInput extends SFNServiceException {
|
|
828
|
+
/**
|
|
829
|
+
* @internal
|
|
830
|
+
*/
|
|
831
|
+
constructor(opts) {
|
|
832
|
+
super({
|
|
833
|
+
name: "InvalidExecutionInput",
|
|
834
|
+
$fault: "client",
|
|
835
|
+
...opts
|
|
836
|
+
});
|
|
837
|
+
this.name = "InvalidExecutionInput";
|
|
838
|
+
this.$fault = "client";
|
|
839
|
+
Object.setPrototypeOf(this, _InvalidExecutionInput.prototype);
|
|
840
|
+
}
|
|
841
|
+
};
|
|
842
|
+
__name(_InvalidExecutionInput, "InvalidExecutionInput");
|
|
843
|
+
var InvalidExecutionInput = _InvalidExecutionInput;
|
|
844
|
+
var SyncExecutionStatus = {
|
|
845
|
+
FAILED: "FAILED",
|
|
846
|
+
SUCCEEDED: "SUCCEEDED",
|
|
847
|
+
TIMED_OUT: "TIMED_OUT"
|
|
848
|
+
};
|
|
849
|
+
var InspectionLevel = {
|
|
850
|
+
DEBUG: "DEBUG",
|
|
851
|
+
INFO: "INFO",
|
|
852
|
+
TRACE: "TRACE"
|
|
853
|
+
};
|
|
854
|
+
var TestExecutionStatus = {
|
|
855
|
+
CAUGHT_ERROR: "CAUGHT_ERROR",
|
|
856
|
+
FAILED: "FAILED",
|
|
857
|
+
RETRIABLE: "RETRIABLE",
|
|
858
|
+
SUCCEEDED: "SUCCEEDED"
|
|
859
|
+
};
|
|
860
|
+
var _MissingRequiredParameter = class _MissingRequiredParameter extends SFNServiceException {
|
|
861
|
+
/**
|
|
862
|
+
* @internal
|
|
863
|
+
*/
|
|
864
|
+
constructor(opts) {
|
|
865
|
+
super({
|
|
866
|
+
name: "MissingRequiredParameter",
|
|
867
|
+
$fault: "client",
|
|
868
|
+
...opts
|
|
869
|
+
});
|
|
870
|
+
this.name = "MissingRequiredParameter";
|
|
871
|
+
this.$fault = "client";
|
|
872
|
+
Object.setPrototypeOf(this, _MissingRequiredParameter.prototype);
|
|
873
|
+
}
|
|
874
|
+
};
|
|
875
|
+
__name(_MissingRequiredParameter, "MissingRequiredParameter");
|
|
876
|
+
var MissingRequiredParameter = _MissingRequiredParameter;
|
|
877
|
+
var ActivityFailedEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
878
|
+
...obj,
|
|
879
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
880
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING }
|
|
881
|
+
}), "ActivityFailedEventDetailsFilterSensitiveLog");
|
|
882
|
+
var ActivityScheduledEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
883
|
+
...obj,
|
|
884
|
+
...obj.input && { input: import_smithy_client.SENSITIVE_STRING }
|
|
885
|
+
}), "ActivityScheduledEventDetailsFilterSensitiveLog");
|
|
886
|
+
var ActivityScheduleFailedEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
887
|
+
...obj,
|
|
888
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
889
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING }
|
|
890
|
+
}), "ActivityScheduleFailedEventDetailsFilterSensitiveLog");
|
|
891
|
+
var ActivitySucceededEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
892
|
+
...obj,
|
|
893
|
+
...obj.output && { output: import_smithy_client.SENSITIVE_STRING }
|
|
894
|
+
}), "ActivitySucceededEventDetailsFilterSensitiveLog");
|
|
895
|
+
var ActivityTimedOutEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
896
|
+
...obj,
|
|
897
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
898
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING }
|
|
899
|
+
}), "ActivityTimedOutEventDetailsFilterSensitiveLog");
|
|
900
|
+
var CreateStateMachineInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
901
|
+
...obj,
|
|
902
|
+
...obj.definition && { definition: import_smithy_client.SENSITIVE_STRING },
|
|
903
|
+
...obj.versionDescription && { versionDescription: import_smithy_client.SENSITIVE_STRING }
|
|
904
|
+
}), "CreateStateMachineInputFilterSensitiveLog");
|
|
905
|
+
var CreateStateMachineAliasInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
906
|
+
...obj,
|
|
907
|
+
...obj.description && { description: import_smithy_client.SENSITIVE_STRING }
|
|
908
|
+
}), "CreateStateMachineAliasInputFilterSensitiveLog");
|
|
909
|
+
var DescribeExecutionOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
910
|
+
...obj,
|
|
911
|
+
...obj.input && { input: import_smithy_client.SENSITIVE_STRING },
|
|
912
|
+
...obj.output && { output: import_smithy_client.SENSITIVE_STRING },
|
|
913
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
914
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING },
|
|
915
|
+
...obj.redriveStatusReason && { redriveStatusReason: import_smithy_client.SENSITIVE_STRING }
|
|
916
|
+
}), "DescribeExecutionOutputFilterSensitiveLog");
|
|
917
|
+
var DescribeStateMachineOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
918
|
+
...obj,
|
|
919
|
+
...obj.definition && { definition: import_smithy_client.SENSITIVE_STRING },
|
|
920
|
+
...obj.description && { description: import_smithy_client.SENSITIVE_STRING }
|
|
921
|
+
}), "DescribeStateMachineOutputFilterSensitiveLog");
|
|
922
|
+
var DescribeStateMachineAliasOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
923
|
+
...obj,
|
|
924
|
+
...obj.description && { description: import_smithy_client.SENSITIVE_STRING }
|
|
925
|
+
}), "DescribeStateMachineAliasOutputFilterSensitiveLog");
|
|
926
|
+
var DescribeStateMachineForExecutionOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
927
|
+
...obj,
|
|
928
|
+
...obj.definition && { definition: import_smithy_client.SENSITIVE_STRING }
|
|
929
|
+
}), "DescribeStateMachineForExecutionOutputFilterSensitiveLog");
|
|
930
|
+
var GetActivityTaskOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
931
|
+
...obj,
|
|
932
|
+
...obj.input && { input: import_smithy_client.SENSITIVE_STRING }
|
|
933
|
+
}), "GetActivityTaskOutputFilterSensitiveLog");
|
|
934
|
+
var ExecutionAbortedEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
935
|
+
...obj,
|
|
936
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
937
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING }
|
|
938
|
+
}), "ExecutionAbortedEventDetailsFilterSensitiveLog");
|
|
939
|
+
var ExecutionFailedEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
940
|
+
...obj,
|
|
941
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
942
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING }
|
|
943
|
+
}), "ExecutionFailedEventDetailsFilterSensitiveLog");
|
|
944
|
+
var ExecutionStartedEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
945
|
+
...obj,
|
|
946
|
+
...obj.input && { input: import_smithy_client.SENSITIVE_STRING }
|
|
947
|
+
}), "ExecutionStartedEventDetailsFilterSensitiveLog");
|
|
948
|
+
var ExecutionSucceededEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
949
|
+
...obj,
|
|
950
|
+
...obj.output && { output: import_smithy_client.SENSITIVE_STRING }
|
|
951
|
+
}), "ExecutionSucceededEventDetailsFilterSensitiveLog");
|
|
952
|
+
var ExecutionTimedOutEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
953
|
+
...obj,
|
|
954
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
955
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING }
|
|
956
|
+
}), "ExecutionTimedOutEventDetailsFilterSensitiveLog");
|
|
957
|
+
var LambdaFunctionFailedEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
958
|
+
...obj,
|
|
959
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
960
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING }
|
|
961
|
+
}), "LambdaFunctionFailedEventDetailsFilterSensitiveLog");
|
|
962
|
+
var LambdaFunctionScheduledEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
963
|
+
...obj,
|
|
964
|
+
...obj.input && { input: import_smithy_client.SENSITIVE_STRING }
|
|
965
|
+
}), "LambdaFunctionScheduledEventDetailsFilterSensitiveLog");
|
|
966
|
+
var LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
967
|
+
...obj,
|
|
968
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
969
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING }
|
|
970
|
+
}), "LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog");
|
|
971
|
+
var LambdaFunctionStartFailedEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
972
|
+
...obj,
|
|
973
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
974
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING }
|
|
975
|
+
}), "LambdaFunctionStartFailedEventDetailsFilterSensitiveLog");
|
|
976
|
+
var LambdaFunctionSucceededEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
977
|
+
...obj,
|
|
978
|
+
...obj.output && { output: import_smithy_client.SENSITIVE_STRING }
|
|
979
|
+
}), "LambdaFunctionSucceededEventDetailsFilterSensitiveLog");
|
|
980
|
+
var LambdaFunctionTimedOutEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
981
|
+
...obj,
|
|
982
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
983
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING }
|
|
984
|
+
}), "LambdaFunctionTimedOutEventDetailsFilterSensitiveLog");
|
|
985
|
+
var MapRunFailedEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
986
|
+
...obj,
|
|
987
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
988
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING }
|
|
989
|
+
}), "MapRunFailedEventDetailsFilterSensitiveLog");
|
|
990
|
+
var StateEnteredEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
991
|
+
...obj,
|
|
992
|
+
...obj.input && { input: import_smithy_client.SENSITIVE_STRING }
|
|
993
|
+
}), "StateEnteredEventDetailsFilterSensitiveLog");
|
|
994
|
+
var StateExitedEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
995
|
+
...obj,
|
|
996
|
+
...obj.output && { output: import_smithy_client.SENSITIVE_STRING }
|
|
997
|
+
}), "StateExitedEventDetailsFilterSensitiveLog");
|
|
998
|
+
var TaskFailedEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
999
|
+
...obj,
|
|
1000
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
1001
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING }
|
|
1002
|
+
}), "TaskFailedEventDetailsFilterSensitiveLog");
|
|
1003
|
+
var TaskScheduledEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1004
|
+
...obj,
|
|
1005
|
+
...obj.parameters && { parameters: import_smithy_client.SENSITIVE_STRING }
|
|
1006
|
+
}), "TaskScheduledEventDetailsFilterSensitiveLog");
|
|
1007
|
+
var TaskStartFailedEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1008
|
+
...obj,
|
|
1009
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
1010
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING }
|
|
1011
|
+
}), "TaskStartFailedEventDetailsFilterSensitiveLog");
|
|
1012
|
+
var TaskSubmitFailedEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1013
|
+
...obj,
|
|
1014
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
1015
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING }
|
|
1016
|
+
}), "TaskSubmitFailedEventDetailsFilterSensitiveLog");
|
|
1017
|
+
var TaskSubmittedEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1018
|
+
...obj,
|
|
1019
|
+
...obj.output && { output: import_smithy_client.SENSITIVE_STRING }
|
|
1020
|
+
}), "TaskSubmittedEventDetailsFilterSensitiveLog");
|
|
1021
|
+
var TaskSucceededEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1022
|
+
...obj,
|
|
1023
|
+
...obj.output && { output: import_smithy_client.SENSITIVE_STRING }
|
|
1024
|
+
}), "TaskSucceededEventDetailsFilterSensitiveLog");
|
|
1025
|
+
var TaskTimedOutEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1026
|
+
...obj,
|
|
1027
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
1028
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING }
|
|
1029
|
+
}), "TaskTimedOutEventDetailsFilterSensitiveLog");
|
|
1030
|
+
var HistoryEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1031
|
+
...obj,
|
|
1032
|
+
...obj.activityFailedEventDetails && {
|
|
1033
|
+
activityFailedEventDetails: ActivityFailedEventDetailsFilterSensitiveLog(obj.activityFailedEventDetails)
|
|
1034
|
+
},
|
|
1035
|
+
...obj.activityScheduleFailedEventDetails && {
|
|
1036
|
+
activityScheduleFailedEventDetails: ActivityScheduleFailedEventDetailsFilterSensitiveLog(
|
|
1037
|
+
obj.activityScheduleFailedEventDetails
|
|
1038
|
+
)
|
|
1039
|
+
},
|
|
1040
|
+
...obj.activityScheduledEventDetails && {
|
|
1041
|
+
activityScheduledEventDetails: ActivityScheduledEventDetailsFilterSensitiveLog(obj.activityScheduledEventDetails)
|
|
1042
|
+
},
|
|
1043
|
+
...obj.activitySucceededEventDetails && {
|
|
1044
|
+
activitySucceededEventDetails: ActivitySucceededEventDetailsFilterSensitiveLog(obj.activitySucceededEventDetails)
|
|
1045
|
+
},
|
|
1046
|
+
...obj.activityTimedOutEventDetails && {
|
|
1047
|
+
activityTimedOutEventDetails: ActivityTimedOutEventDetailsFilterSensitiveLog(obj.activityTimedOutEventDetails)
|
|
1048
|
+
},
|
|
1049
|
+
...obj.taskFailedEventDetails && {
|
|
1050
|
+
taskFailedEventDetails: TaskFailedEventDetailsFilterSensitiveLog(obj.taskFailedEventDetails)
|
|
1051
|
+
},
|
|
1052
|
+
...obj.taskScheduledEventDetails && {
|
|
1053
|
+
taskScheduledEventDetails: TaskScheduledEventDetailsFilterSensitiveLog(obj.taskScheduledEventDetails)
|
|
1054
|
+
},
|
|
1055
|
+
...obj.taskStartFailedEventDetails && {
|
|
1056
|
+
taskStartFailedEventDetails: TaskStartFailedEventDetailsFilterSensitiveLog(obj.taskStartFailedEventDetails)
|
|
1057
|
+
},
|
|
1058
|
+
...obj.taskSubmitFailedEventDetails && {
|
|
1059
|
+
taskSubmitFailedEventDetails: TaskSubmitFailedEventDetailsFilterSensitiveLog(obj.taskSubmitFailedEventDetails)
|
|
1060
|
+
},
|
|
1061
|
+
...obj.taskSubmittedEventDetails && {
|
|
1062
|
+
taskSubmittedEventDetails: TaskSubmittedEventDetailsFilterSensitiveLog(obj.taskSubmittedEventDetails)
|
|
1063
|
+
},
|
|
1064
|
+
...obj.taskSucceededEventDetails && {
|
|
1065
|
+
taskSucceededEventDetails: TaskSucceededEventDetailsFilterSensitiveLog(obj.taskSucceededEventDetails)
|
|
1066
|
+
},
|
|
1067
|
+
...obj.taskTimedOutEventDetails && {
|
|
1068
|
+
taskTimedOutEventDetails: TaskTimedOutEventDetailsFilterSensitiveLog(obj.taskTimedOutEventDetails)
|
|
1069
|
+
},
|
|
1070
|
+
...obj.executionFailedEventDetails && {
|
|
1071
|
+
executionFailedEventDetails: ExecutionFailedEventDetailsFilterSensitiveLog(obj.executionFailedEventDetails)
|
|
1072
|
+
},
|
|
1073
|
+
...obj.executionStartedEventDetails && {
|
|
1074
|
+
executionStartedEventDetails: ExecutionStartedEventDetailsFilterSensitiveLog(obj.executionStartedEventDetails)
|
|
1075
|
+
},
|
|
1076
|
+
...obj.executionSucceededEventDetails && {
|
|
1077
|
+
executionSucceededEventDetails: ExecutionSucceededEventDetailsFilterSensitiveLog(
|
|
1078
|
+
obj.executionSucceededEventDetails
|
|
1079
|
+
)
|
|
1080
|
+
},
|
|
1081
|
+
...obj.executionAbortedEventDetails && {
|
|
1082
|
+
executionAbortedEventDetails: ExecutionAbortedEventDetailsFilterSensitiveLog(obj.executionAbortedEventDetails)
|
|
1083
|
+
},
|
|
1084
|
+
...obj.executionTimedOutEventDetails && {
|
|
1085
|
+
executionTimedOutEventDetails: ExecutionTimedOutEventDetailsFilterSensitiveLog(obj.executionTimedOutEventDetails)
|
|
1086
|
+
},
|
|
1087
|
+
...obj.lambdaFunctionFailedEventDetails && {
|
|
1088
|
+
lambdaFunctionFailedEventDetails: LambdaFunctionFailedEventDetailsFilterSensitiveLog(
|
|
1089
|
+
obj.lambdaFunctionFailedEventDetails
|
|
1090
|
+
)
|
|
1091
|
+
},
|
|
1092
|
+
...obj.lambdaFunctionScheduleFailedEventDetails && {
|
|
1093
|
+
lambdaFunctionScheduleFailedEventDetails: LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog(
|
|
1094
|
+
obj.lambdaFunctionScheduleFailedEventDetails
|
|
1095
|
+
)
|
|
1096
|
+
},
|
|
1097
|
+
...obj.lambdaFunctionScheduledEventDetails && {
|
|
1098
|
+
lambdaFunctionScheduledEventDetails: LambdaFunctionScheduledEventDetailsFilterSensitiveLog(
|
|
1099
|
+
obj.lambdaFunctionScheduledEventDetails
|
|
1100
|
+
)
|
|
1101
|
+
},
|
|
1102
|
+
...obj.lambdaFunctionStartFailedEventDetails && {
|
|
1103
|
+
lambdaFunctionStartFailedEventDetails: LambdaFunctionStartFailedEventDetailsFilterSensitiveLog(
|
|
1104
|
+
obj.lambdaFunctionStartFailedEventDetails
|
|
1105
|
+
)
|
|
1106
|
+
},
|
|
1107
|
+
...obj.lambdaFunctionSucceededEventDetails && {
|
|
1108
|
+
lambdaFunctionSucceededEventDetails: LambdaFunctionSucceededEventDetailsFilterSensitiveLog(
|
|
1109
|
+
obj.lambdaFunctionSucceededEventDetails
|
|
1110
|
+
)
|
|
1111
|
+
},
|
|
1112
|
+
...obj.lambdaFunctionTimedOutEventDetails && {
|
|
1113
|
+
lambdaFunctionTimedOutEventDetails: LambdaFunctionTimedOutEventDetailsFilterSensitiveLog(
|
|
1114
|
+
obj.lambdaFunctionTimedOutEventDetails
|
|
1115
|
+
)
|
|
1116
|
+
},
|
|
1117
|
+
...obj.stateEnteredEventDetails && {
|
|
1118
|
+
stateEnteredEventDetails: StateEnteredEventDetailsFilterSensitiveLog(obj.stateEnteredEventDetails)
|
|
1119
|
+
},
|
|
1120
|
+
...obj.stateExitedEventDetails && {
|
|
1121
|
+
stateExitedEventDetails: StateExitedEventDetailsFilterSensitiveLog(obj.stateExitedEventDetails)
|
|
1122
|
+
},
|
|
1123
|
+
...obj.mapRunFailedEventDetails && {
|
|
1124
|
+
mapRunFailedEventDetails: MapRunFailedEventDetailsFilterSensitiveLog(obj.mapRunFailedEventDetails)
|
|
1125
|
+
}
|
|
1126
|
+
}), "HistoryEventFilterSensitiveLog");
|
|
1127
|
+
var GetExecutionHistoryOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1128
|
+
...obj,
|
|
1129
|
+
...obj.events && { events: obj.events.map((item) => HistoryEventFilterSensitiveLog(item)) }
|
|
1130
|
+
}), "GetExecutionHistoryOutputFilterSensitiveLog");
|
|
1131
|
+
var PublishStateMachineVersionInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1132
|
+
...obj,
|
|
1133
|
+
...obj.description && { description: import_smithy_client.SENSITIVE_STRING }
|
|
1134
|
+
}), "PublishStateMachineVersionInputFilterSensitiveLog");
|
|
1135
|
+
var SendTaskFailureInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1136
|
+
...obj,
|
|
1137
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
1138
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING }
|
|
1139
|
+
}), "SendTaskFailureInputFilterSensitiveLog");
|
|
1140
|
+
var SendTaskSuccessInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1141
|
+
...obj,
|
|
1142
|
+
...obj.output && { output: import_smithy_client.SENSITIVE_STRING }
|
|
1143
|
+
}), "SendTaskSuccessInputFilterSensitiveLog");
|
|
1144
|
+
var StartExecutionInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1145
|
+
...obj,
|
|
1146
|
+
...obj.input && { input: import_smithy_client.SENSITIVE_STRING }
|
|
1147
|
+
}), "StartExecutionInputFilterSensitiveLog");
|
|
1148
|
+
var StartSyncExecutionInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1149
|
+
...obj,
|
|
1150
|
+
...obj.input && { input: import_smithy_client.SENSITIVE_STRING }
|
|
1151
|
+
}), "StartSyncExecutionInputFilterSensitiveLog");
|
|
1152
|
+
var StartSyncExecutionOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1153
|
+
...obj,
|
|
1154
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
1155
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING },
|
|
1156
|
+
...obj.input && { input: import_smithy_client.SENSITIVE_STRING },
|
|
1157
|
+
...obj.output && { output: import_smithy_client.SENSITIVE_STRING }
|
|
1158
|
+
}), "StartSyncExecutionOutputFilterSensitiveLog");
|
|
1159
|
+
var StopExecutionInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1160
|
+
...obj,
|
|
1161
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
1162
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING }
|
|
1163
|
+
}), "StopExecutionInputFilterSensitiveLog");
|
|
1164
|
+
var TestStateInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1165
|
+
...obj,
|
|
1166
|
+
...obj.definition && { definition: import_smithy_client.SENSITIVE_STRING },
|
|
1167
|
+
...obj.input && { input: import_smithy_client.SENSITIVE_STRING }
|
|
1168
|
+
}), "TestStateInputFilterSensitiveLog");
|
|
1169
|
+
var InspectionDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1170
|
+
...obj,
|
|
1171
|
+
...obj.input && { input: import_smithy_client.SENSITIVE_STRING },
|
|
1172
|
+
...obj.afterInputPath && { afterInputPath: import_smithy_client.SENSITIVE_STRING },
|
|
1173
|
+
...obj.afterParameters && { afterParameters: import_smithy_client.SENSITIVE_STRING },
|
|
1174
|
+
...obj.result && { result: import_smithy_client.SENSITIVE_STRING },
|
|
1175
|
+
...obj.afterResultSelector && { afterResultSelector: import_smithy_client.SENSITIVE_STRING },
|
|
1176
|
+
...obj.afterResultPath && { afterResultPath: import_smithy_client.SENSITIVE_STRING }
|
|
1177
|
+
}), "InspectionDataFilterSensitiveLog");
|
|
1178
|
+
var TestStateOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1179
|
+
...obj,
|
|
1180
|
+
...obj.output && { output: import_smithy_client.SENSITIVE_STRING },
|
|
1181
|
+
...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
|
|
1182
|
+
...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING },
|
|
1183
|
+
...obj.inspectionData && { inspectionData: import_smithy_client.SENSITIVE_STRING }
|
|
1184
|
+
}), "TestStateOutputFilterSensitiveLog");
|
|
1185
|
+
var UpdateStateMachineInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1186
|
+
...obj,
|
|
1187
|
+
...obj.definition && { definition: import_smithy_client.SENSITIVE_STRING },
|
|
1188
|
+
...obj.versionDescription && { versionDescription: import_smithy_client.SENSITIVE_STRING }
|
|
1189
|
+
}), "UpdateStateMachineInputFilterSensitiveLog");
|
|
1190
|
+
var UpdateStateMachineAliasInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1191
|
+
...obj,
|
|
1192
|
+
...obj.description && { description: import_smithy_client.SENSITIVE_STRING }
|
|
1193
|
+
}), "UpdateStateMachineAliasInputFilterSensitiveLog");
|
|
1194
|
+
|
|
1195
|
+
// src/protocols/Aws_json1_0.ts
|
|
1196
|
+
var se_CreateActivityCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1197
|
+
const headers = sharedHeaders("CreateActivity");
|
|
1198
|
+
let body;
|
|
1199
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1200
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1201
|
+
}, "se_CreateActivityCommand");
|
|
1202
|
+
var se_CreateStateMachineCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1203
|
+
const headers = sharedHeaders("CreateStateMachine");
|
|
1204
|
+
let body;
|
|
1205
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1206
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1207
|
+
}, "se_CreateStateMachineCommand");
|
|
1208
|
+
var se_CreateStateMachineAliasCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1209
|
+
const headers = sharedHeaders("CreateStateMachineAlias");
|
|
1210
|
+
let body;
|
|
1211
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1212
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1213
|
+
}, "se_CreateStateMachineAliasCommand");
|
|
1214
|
+
var se_DeleteActivityCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1215
|
+
const headers = sharedHeaders("DeleteActivity");
|
|
1216
|
+
let body;
|
|
1217
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1218
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1219
|
+
}, "se_DeleteActivityCommand");
|
|
1220
|
+
var se_DeleteStateMachineCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1221
|
+
const headers = sharedHeaders("DeleteStateMachine");
|
|
1222
|
+
let body;
|
|
1223
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1224
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1225
|
+
}, "se_DeleteStateMachineCommand");
|
|
1226
|
+
var se_DeleteStateMachineAliasCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1227
|
+
const headers = sharedHeaders("DeleteStateMachineAlias");
|
|
1228
|
+
let body;
|
|
1229
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1230
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1231
|
+
}, "se_DeleteStateMachineAliasCommand");
|
|
1232
|
+
var se_DeleteStateMachineVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1233
|
+
const headers = sharedHeaders("DeleteStateMachineVersion");
|
|
1234
|
+
let body;
|
|
1235
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1236
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1237
|
+
}, "se_DeleteStateMachineVersionCommand");
|
|
1238
|
+
var se_DescribeActivityCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1239
|
+
const headers = sharedHeaders("DescribeActivity");
|
|
1240
|
+
let body;
|
|
1241
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1242
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1243
|
+
}, "se_DescribeActivityCommand");
|
|
1244
|
+
var se_DescribeExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1245
|
+
const headers = sharedHeaders("DescribeExecution");
|
|
1246
|
+
let body;
|
|
1247
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1248
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1249
|
+
}, "se_DescribeExecutionCommand");
|
|
1250
|
+
var se_DescribeMapRunCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1251
|
+
const headers = sharedHeaders("DescribeMapRun");
|
|
1252
|
+
let body;
|
|
1253
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1254
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1255
|
+
}, "se_DescribeMapRunCommand");
|
|
1256
|
+
var se_DescribeStateMachineCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1257
|
+
const headers = sharedHeaders("DescribeStateMachine");
|
|
1258
|
+
let body;
|
|
1259
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1260
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1261
|
+
}, "se_DescribeStateMachineCommand");
|
|
1262
|
+
var se_DescribeStateMachineAliasCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1263
|
+
const headers = sharedHeaders("DescribeStateMachineAlias");
|
|
1264
|
+
let body;
|
|
1265
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1266
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1267
|
+
}, "se_DescribeStateMachineAliasCommand");
|
|
1268
|
+
var se_DescribeStateMachineForExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1269
|
+
const headers = sharedHeaders("DescribeStateMachineForExecution");
|
|
1270
|
+
let body;
|
|
1271
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1272
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1273
|
+
}, "se_DescribeStateMachineForExecutionCommand");
|
|
1274
|
+
var se_GetActivityTaskCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1275
|
+
const headers = sharedHeaders("GetActivityTask");
|
|
1276
|
+
let body;
|
|
1277
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1278
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1279
|
+
}, "se_GetActivityTaskCommand");
|
|
1280
|
+
var se_GetExecutionHistoryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1281
|
+
const headers = sharedHeaders("GetExecutionHistory");
|
|
1282
|
+
let body;
|
|
1283
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1284
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1285
|
+
}, "se_GetExecutionHistoryCommand");
|
|
1286
|
+
var se_ListActivitiesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1287
|
+
const headers = sharedHeaders("ListActivities");
|
|
1288
|
+
let body;
|
|
1289
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1290
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1291
|
+
}, "se_ListActivitiesCommand");
|
|
1292
|
+
var se_ListExecutionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1293
|
+
const headers = sharedHeaders("ListExecutions");
|
|
1294
|
+
let body;
|
|
1295
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1296
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1297
|
+
}, "se_ListExecutionsCommand");
|
|
1298
|
+
var se_ListMapRunsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1299
|
+
const headers = sharedHeaders("ListMapRuns");
|
|
1300
|
+
let body;
|
|
1301
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1302
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1303
|
+
}, "se_ListMapRunsCommand");
|
|
1304
|
+
var se_ListStateMachineAliasesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1305
|
+
const headers = sharedHeaders("ListStateMachineAliases");
|
|
1306
|
+
let body;
|
|
1307
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1308
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1309
|
+
}, "se_ListStateMachineAliasesCommand");
|
|
1310
|
+
var se_ListStateMachinesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1311
|
+
const headers = sharedHeaders("ListStateMachines");
|
|
1312
|
+
let body;
|
|
1313
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1314
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1315
|
+
}, "se_ListStateMachinesCommand");
|
|
1316
|
+
var se_ListStateMachineVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1317
|
+
const headers = sharedHeaders("ListStateMachineVersions");
|
|
1318
|
+
let body;
|
|
1319
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1320
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1321
|
+
}, "se_ListStateMachineVersionsCommand");
|
|
1322
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1323
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
1324
|
+
let body;
|
|
1325
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1326
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1327
|
+
}, "se_ListTagsForResourceCommand");
|
|
1328
|
+
var se_PublishStateMachineVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1329
|
+
const headers = sharedHeaders("PublishStateMachineVersion");
|
|
1330
|
+
let body;
|
|
1331
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1332
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1333
|
+
}, "se_PublishStateMachineVersionCommand");
|
|
1334
|
+
var se_RedriveExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1335
|
+
const headers = sharedHeaders("RedriveExecution");
|
|
1336
|
+
let body;
|
|
1337
|
+
body = JSON.stringify(se_RedriveExecutionInput(input, context));
|
|
1338
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1339
|
+
}, "se_RedriveExecutionCommand");
|
|
1340
|
+
var se_SendTaskFailureCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1341
|
+
const headers = sharedHeaders("SendTaskFailure");
|
|
1342
|
+
let body;
|
|
1343
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1344
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1345
|
+
}, "se_SendTaskFailureCommand");
|
|
1346
|
+
var se_SendTaskHeartbeatCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1347
|
+
const headers = sharedHeaders("SendTaskHeartbeat");
|
|
1348
|
+
let body;
|
|
1349
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1350
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1351
|
+
}, "se_SendTaskHeartbeatCommand");
|
|
1352
|
+
var se_SendTaskSuccessCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1353
|
+
const headers = sharedHeaders("SendTaskSuccess");
|
|
1354
|
+
let body;
|
|
1355
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1356
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1357
|
+
}, "se_SendTaskSuccessCommand");
|
|
1358
|
+
var se_StartExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1359
|
+
const headers = sharedHeaders("StartExecution");
|
|
1360
|
+
let body;
|
|
1361
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1362
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1363
|
+
}, "se_StartExecutionCommand");
|
|
1364
|
+
var se_StartSyncExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1365
|
+
const headers = sharedHeaders("StartSyncExecution");
|
|
1366
|
+
let body;
|
|
1367
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1368
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1369
|
+
if (context.disableHostPrefix !== true) {
|
|
1370
|
+
resolvedHostname = "sync-" + resolvedHostname;
|
|
1371
|
+
if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
|
|
1372
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
return buildHttpRpcRequest(context, headers, "/", resolvedHostname, body);
|
|
1376
|
+
}, "se_StartSyncExecutionCommand");
|
|
1377
|
+
var se_StopExecutionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1378
|
+
const headers = sharedHeaders("StopExecution");
|
|
1379
|
+
let body;
|
|
1380
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1381
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1382
|
+
}, "se_StopExecutionCommand");
|
|
1383
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1384
|
+
const headers = sharedHeaders("TagResource");
|
|
1385
|
+
let body;
|
|
1386
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1387
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1388
|
+
}, "se_TagResourceCommand");
|
|
1389
|
+
var se_TestStateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1390
|
+
const headers = sharedHeaders("TestState");
|
|
1391
|
+
let body;
|
|
1392
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1393
|
+
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1394
|
+
if (context.disableHostPrefix !== true) {
|
|
1395
|
+
resolvedHostname = "sync-" + resolvedHostname;
|
|
1396
|
+
if (!(0, import_protocol_http.isValidHostname)(resolvedHostname)) {
|
|
1397
|
+
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
return buildHttpRpcRequest(context, headers, "/", resolvedHostname, body);
|
|
1401
|
+
}, "se_TestStateCommand");
|
|
1402
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1403
|
+
const headers = sharedHeaders("UntagResource");
|
|
1404
|
+
let body;
|
|
1405
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1406
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1407
|
+
}, "se_UntagResourceCommand");
|
|
1408
|
+
var se_UpdateMapRunCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1409
|
+
const headers = sharedHeaders("UpdateMapRun");
|
|
1410
|
+
let body;
|
|
1411
|
+
body = JSON.stringify(se_UpdateMapRunInput(input, context));
|
|
1412
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1413
|
+
}, "se_UpdateMapRunCommand");
|
|
1414
|
+
var se_UpdateStateMachineCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1415
|
+
const headers = sharedHeaders("UpdateStateMachine");
|
|
1416
|
+
let body;
|
|
1417
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1418
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1419
|
+
}, "se_UpdateStateMachineCommand");
|
|
1420
|
+
var se_UpdateStateMachineAliasCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1421
|
+
const headers = sharedHeaders("UpdateStateMachineAlias");
|
|
1422
|
+
let body;
|
|
1423
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1424
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1425
|
+
}, "se_UpdateStateMachineAliasCommand");
|
|
1426
|
+
var de_CreateActivityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1427
|
+
if (output.statusCode >= 300) {
|
|
1428
|
+
return de_CreateActivityCommandError(output, context);
|
|
1429
|
+
}
|
|
1430
|
+
const data = await parseBody(output.body, context);
|
|
1431
|
+
let contents = {};
|
|
1432
|
+
contents = de_CreateActivityOutput(data, context);
|
|
1433
|
+
const response = {
|
|
1434
|
+
$metadata: deserializeMetadata(output),
|
|
1435
|
+
...contents
|
|
1436
|
+
};
|
|
1437
|
+
return response;
|
|
1438
|
+
}, "de_CreateActivityCommand");
|
|
1439
|
+
var de_CreateActivityCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1440
|
+
const parsedOutput = {
|
|
1441
|
+
...output,
|
|
1442
|
+
body: await parseErrorBody(output.body, context)
|
|
1443
|
+
};
|
|
1444
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1445
|
+
switch (errorCode) {
|
|
1446
|
+
case "ActivityLimitExceeded":
|
|
1447
|
+
case "com.amazonaws.sfn#ActivityLimitExceeded":
|
|
1448
|
+
throw await de_ActivityLimitExceededRes(parsedOutput, context);
|
|
1449
|
+
case "InvalidName":
|
|
1450
|
+
case "com.amazonaws.sfn#InvalidName":
|
|
1451
|
+
throw await de_InvalidNameRes(parsedOutput, context);
|
|
1452
|
+
case "TooManyTags":
|
|
1453
|
+
case "com.amazonaws.sfn#TooManyTags":
|
|
1454
|
+
throw await de_TooManyTagsRes(parsedOutput, context);
|
|
1455
|
+
default:
|
|
1456
|
+
const parsedBody = parsedOutput.body;
|
|
1457
|
+
return throwDefaultError({
|
|
1458
|
+
output,
|
|
1459
|
+
parsedBody,
|
|
1460
|
+
errorCode
|
|
1461
|
+
});
|
|
1462
|
+
}
|
|
1463
|
+
}, "de_CreateActivityCommandError");
|
|
1464
|
+
var de_CreateStateMachineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1465
|
+
if (output.statusCode >= 300) {
|
|
1466
|
+
return de_CreateStateMachineCommandError(output, context);
|
|
1467
|
+
}
|
|
1468
|
+
const data = await parseBody(output.body, context);
|
|
1469
|
+
let contents = {};
|
|
1470
|
+
contents = de_CreateStateMachineOutput(data, context);
|
|
1471
|
+
const response = {
|
|
1472
|
+
$metadata: deserializeMetadata(output),
|
|
1473
|
+
...contents
|
|
1474
|
+
};
|
|
1475
|
+
return response;
|
|
1476
|
+
}, "de_CreateStateMachineCommand");
|
|
1477
|
+
var de_CreateStateMachineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1478
|
+
const parsedOutput = {
|
|
1479
|
+
...output,
|
|
1480
|
+
body: await parseErrorBody(output.body, context)
|
|
1481
|
+
};
|
|
1482
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1483
|
+
switch (errorCode) {
|
|
1484
|
+
case "ConflictException":
|
|
1485
|
+
case "com.amazonaws.sfn#ConflictException":
|
|
1486
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1487
|
+
case "InvalidArn":
|
|
1488
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
1489
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1490
|
+
case "InvalidDefinition":
|
|
1491
|
+
case "com.amazonaws.sfn#InvalidDefinition":
|
|
1492
|
+
throw await de_InvalidDefinitionRes(parsedOutput, context);
|
|
1493
|
+
case "InvalidLoggingConfiguration":
|
|
1494
|
+
case "com.amazonaws.sfn#InvalidLoggingConfiguration":
|
|
1495
|
+
throw await de_InvalidLoggingConfigurationRes(parsedOutput, context);
|
|
1496
|
+
case "InvalidName":
|
|
1497
|
+
case "com.amazonaws.sfn#InvalidName":
|
|
1498
|
+
throw await de_InvalidNameRes(parsedOutput, context);
|
|
1499
|
+
case "InvalidTracingConfiguration":
|
|
1500
|
+
case "com.amazonaws.sfn#InvalidTracingConfiguration":
|
|
1501
|
+
throw await de_InvalidTracingConfigurationRes(parsedOutput, context);
|
|
1502
|
+
case "StateMachineAlreadyExists":
|
|
1503
|
+
case "com.amazonaws.sfn#StateMachineAlreadyExists":
|
|
1504
|
+
throw await de_StateMachineAlreadyExistsRes(parsedOutput, context);
|
|
1505
|
+
case "StateMachineDeleting":
|
|
1506
|
+
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
1507
|
+
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
1508
|
+
case "StateMachineLimitExceeded":
|
|
1509
|
+
case "com.amazonaws.sfn#StateMachineLimitExceeded":
|
|
1510
|
+
throw await de_StateMachineLimitExceededRes(parsedOutput, context);
|
|
1511
|
+
case "StateMachineTypeNotSupported":
|
|
1512
|
+
case "com.amazonaws.sfn#StateMachineTypeNotSupported":
|
|
1513
|
+
throw await de_StateMachineTypeNotSupportedRes(parsedOutput, context);
|
|
1514
|
+
case "TooManyTags":
|
|
1515
|
+
case "com.amazonaws.sfn#TooManyTags":
|
|
1516
|
+
throw await de_TooManyTagsRes(parsedOutput, context);
|
|
1517
|
+
case "ValidationException":
|
|
1518
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
1519
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1520
|
+
default:
|
|
1521
|
+
const parsedBody = parsedOutput.body;
|
|
1522
|
+
return throwDefaultError({
|
|
1523
|
+
output,
|
|
1524
|
+
parsedBody,
|
|
1525
|
+
errorCode
|
|
1526
|
+
});
|
|
1527
|
+
}
|
|
1528
|
+
}, "de_CreateStateMachineCommandError");
|
|
1529
|
+
var de_CreateStateMachineAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1530
|
+
if (output.statusCode >= 300) {
|
|
1531
|
+
return de_CreateStateMachineAliasCommandError(output, context);
|
|
1532
|
+
}
|
|
1533
|
+
const data = await parseBody(output.body, context);
|
|
1534
|
+
let contents = {};
|
|
1535
|
+
contents = de_CreateStateMachineAliasOutput(data, context);
|
|
1536
|
+
const response = {
|
|
1537
|
+
$metadata: deserializeMetadata(output),
|
|
1538
|
+
...contents
|
|
1539
|
+
};
|
|
1540
|
+
return response;
|
|
1541
|
+
}, "de_CreateStateMachineAliasCommand");
|
|
1542
|
+
var de_CreateStateMachineAliasCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1543
|
+
const parsedOutput = {
|
|
1544
|
+
...output,
|
|
1545
|
+
body: await parseErrorBody(output.body, context)
|
|
1546
|
+
};
|
|
1547
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1548
|
+
switch (errorCode) {
|
|
1549
|
+
case "ConflictException":
|
|
1550
|
+
case "com.amazonaws.sfn#ConflictException":
|
|
1551
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1552
|
+
case "InvalidArn":
|
|
1553
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
1554
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1555
|
+
case "InvalidName":
|
|
1556
|
+
case "com.amazonaws.sfn#InvalidName":
|
|
1557
|
+
throw await de_InvalidNameRes(parsedOutput, context);
|
|
1558
|
+
case "ResourceNotFound":
|
|
1559
|
+
case "com.amazonaws.sfn#ResourceNotFound":
|
|
1560
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
1561
|
+
case "ServiceQuotaExceededException":
|
|
1562
|
+
case "com.amazonaws.sfn#ServiceQuotaExceededException":
|
|
1563
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1564
|
+
case "StateMachineDeleting":
|
|
1565
|
+
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
1566
|
+
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
1567
|
+
case "ValidationException":
|
|
1568
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
1569
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1570
|
+
default:
|
|
1571
|
+
const parsedBody = parsedOutput.body;
|
|
1572
|
+
return throwDefaultError({
|
|
1573
|
+
output,
|
|
1574
|
+
parsedBody,
|
|
1575
|
+
errorCode
|
|
1576
|
+
});
|
|
1577
|
+
}
|
|
1578
|
+
}, "de_CreateStateMachineAliasCommandError");
|
|
1579
|
+
var de_DeleteActivityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1580
|
+
if (output.statusCode >= 300) {
|
|
1581
|
+
return de_DeleteActivityCommandError(output, context);
|
|
1582
|
+
}
|
|
1583
|
+
const data = await parseBody(output.body, context);
|
|
1584
|
+
let contents = {};
|
|
1585
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1586
|
+
const response = {
|
|
1587
|
+
$metadata: deserializeMetadata(output),
|
|
1588
|
+
...contents
|
|
1589
|
+
};
|
|
1590
|
+
return response;
|
|
1591
|
+
}, "de_DeleteActivityCommand");
|
|
1592
|
+
var de_DeleteActivityCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1593
|
+
const parsedOutput = {
|
|
1594
|
+
...output,
|
|
1595
|
+
body: await parseErrorBody(output.body, context)
|
|
1596
|
+
};
|
|
1597
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1598
|
+
switch (errorCode) {
|
|
1599
|
+
case "InvalidArn":
|
|
1600
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
1601
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1602
|
+
default:
|
|
1603
|
+
const parsedBody = parsedOutput.body;
|
|
1604
|
+
return throwDefaultError({
|
|
1605
|
+
output,
|
|
1606
|
+
parsedBody,
|
|
1607
|
+
errorCode
|
|
1608
|
+
});
|
|
1609
|
+
}
|
|
1610
|
+
}, "de_DeleteActivityCommandError");
|
|
1611
|
+
var de_DeleteStateMachineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1612
|
+
if (output.statusCode >= 300) {
|
|
1613
|
+
return de_DeleteStateMachineCommandError(output, context);
|
|
1614
|
+
}
|
|
1615
|
+
const data = await parseBody(output.body, context);
|
|
1616
|
+
let contents = {};
|
|
1617
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1618
|
+
const response = {
|
|
1619
|
+
$metadata: deserializeMetadata(output),
|
|
1620
|
+
...contents
|
|
1621
|
+
};
|
|
1622
|
+
return response;
|
|
1623
|
+
}, "de_DeleteStateMachineCommand");
|
|
1624
|
+
var de_DeleteStateMachineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1625
|
+
const parsedOutput = {
|
|
1626
|
+
...output,
|
|
1627
|
+
body: await parseErrorBody(output.body, context)
|
|
1628
|
+
};
|
|
1629
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1630
|
+
switch (errorCode) {
|
|
1631
|
+
case "InvalidArn":
|
|
1632
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
1633
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1634
|
+
case "ValidationException":
|
|
1635
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
1636
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1637
|
+
default:
|
|
1638
|
+
const parsedBody = parsedOutput.body;
|
|
1639
|
+
return throwDefaultError({
|
|
1640
|
+
output,
|
|
1641
|
+
parsedBody,
|
|
1642
|
+
errorCode
|
|
1643
|
+
});
|
|
1644
|
+
}
|
|
1645
|
+
}, "de_DeleteStateMachineCommandError");
|
|
1646
|
+
var de_DeleteStateMachineAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1647
|
+
if (output.statusCode >= 300) {
|
|
1648
|
+
return de_DeleteStateMachineAliasCommandError(output, context);
|
|
1649
|
+
}
|
|
1650
|
+
const data = await parseBody(output.body, context);
|
|
1651
|
+
let contents = {};
|
|
1652
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1653
|
+
const response = {
|
|
1654
|
+
$metadata: deserializeMetadata(output),
|
|
1655
|
+
...contents
|
|
1656
|
+
};
|
|
1657
|
+
return response;
|
|
1658
|
+
}, "de_DeleteStateMachineAliasCommand");
|
|
1659
|
+
var de_DeleteStateMachineAliasCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1660
|
+
const parsedOutput = {
|
|
1661
|
+
...output,
|
|
1662
|
+
body: await parseErrorBody(output.body, context)
|
|
1663
|
+
};
|
|
1664
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1665
|
+
switch (errorCode) {
|
|
1666
|
+
case "ConflictException":
|
|
1667
|
+
case "com.amazonaws.sfn#ConflictException":
|
|
1668
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1669
|
+
case "InvalidArn":
|
|
1670
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
1671
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1672
|
+
case "ResourceNotFound":
|
|
1673
|
+
case "com.amazonaws.sfn#ResourceNotFound":
|
|
1674
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
1675
|
+
case "ValidationException":
|
|
1676
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
1677
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1678
|
+
default:
|
|
1679
|
+
const parsedBody = parsedOutput.body;
|
|
1680
|
+
return throwDefaultError({
|
|
1681
|
+
output,
|
|
1682
|
+
parsedBody,
|
|
1683
|
+
errorCode
|
|
1684
|
+
});
|
|
1685
|
+
}
|
|
1686
|
+
}, "de_DeleteStateMachineAliasCommandError");
|
|
1687
|
+
var de_DeleteStateMachineVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1688
|
+
if (output.statusCode >= 300) {
|
|
1689
|
+
return de_DeleteStateMachineVersionCommandError(output, context);
|
|
1690
|
+
}
|
|
1691
|
+
const data = await parseBody(output.body, context);
|
|
1692
|
+
let contents = {};
|
|
1693
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1694
|
+
const response = {
|
|
1695
|
+
$metadata: deserializeMetadata(output),
|
|
1696
|
+
...contents
|
|
1697
|
+
};
|
|
1698
|
+
return response;
|
|
1699
|
+
}, "de_DeleteStateMachineVersionCommand");
|
|
1700
|
+
var de_DeleteStateMachineVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1701
|
+
const parsedOutput = {
|
|
1702
|
+
...output,
|
|
1703
|
+
body: await parseErrorBody(output.body, context)
|
|
1704
|
+
};
|
|
1705
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1706
|
+
switch (errorCode) {
|
|
1707
|
+
case "ConflictException":
|
|
1708
|
+
case "com.amazonaws.sfn#ConflictException":
|
|
1709
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1710
|
+
case "InvalidArn":
|
|
1711
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
1712
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1713
|
+
case "ValidationException":
|
|
1714
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
1715
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1716
|
+
default:
|
|
1717
|
+
const parsedBody = parsedOutput.body;
|
|
1718
|
+
return throwDefaultError({
|
|
1719
|
+
output,
|
|
1720
|
+
parsedBody,
|
|
1721
|
+
errorCode
|
|
1722
|
+
});
|
|
1723
|
+
}
|
|
1724
|
+
}, "de_DeleteStateMachineVersionCommandError");
|
|
1725
|
+
var de_DescribeActivityCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1726
|
+
if (output.statusCode >= 300) {
|
|
1727
|
+
return de_DescribeActivityCommandError(output, context);
|
|
1728
|
+
}
|
|
1729
|
+
const data = await parseBody(output.body, context);
|
|
1730
|
+
let contents = {};
|
|
1731
|
+
contents = de_DescribeActivityOutput(data, context);
|
|
1732
|
+
const response = {
|
|
1733
|
+
$metadata: deserializeMetadata(output),
|
|
1734
|
+
...contents
|
|
1735
|
+
};
|
|
1736
|
+
return response;
|
|
1737
|
+
}, "de_DescribeActivityCommand");
|
|
1738
|
+
var de_DescribeActivityCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1739
|
+
const parsedOutput = {
|
|
1740
|
+
...output,
|
|
1741
|
+
body: await parseErrorBody(output.body, context)
|
|
1742
|
+
};
|
|
1743
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1744
|
+
switch (errorCode) {
|
|
1745
|
+
case "ActivityDoesNotExist":
|
|
1746
|
+
case "com.amazonaws.sfn#ActivityDoesNotExist":
|
|
1747
|
+
throw await de_ActivityDoesNotExistRes(parsedOutput, context);
|
|
1748
|
+
case "InvalidArn":
|
|
1749
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
1750
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1751
|
+
default:
|
|
1752
|
+
const parsedBody = parsedOutput.body;
|
|
1753
|
+
return throwDefaultError({
|
|
1754
|
+
output,
|
|
1755
|
+
parsedBody,
|
|
1756
|
+
errorCode
|
|
1757
|
+
});
|
|
1758
|
+
}
|
|
1759
|
+
}, "de_DescribeActivityCommandError");
|
|
1760
|
+
var de_DescribeExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1761
|
+
if (output.statusCode >= 300) {
|
|
1762
|
+
return de_DescribeExecutionCommandError(output, context);
|
|
1763
|
+
}
|
|
1764
|
+
const data = await parseBody(output.body, context);
|
|
1765
|
+
let contents = {};
|
|
1766
|
+
contents = de_DescribeExecutionOutput(data, context);
|
|
1767
|
+
const response = {
|
|
1768
|
+
$metadata: deserializeMetadata(output),
|
|
1769
|
+
...contents
|
|
1770
|
+
};
|
|
1771
|
+
return response;
|
|
1772
|
+
}, "de_DescribeExecutionCommand");
|
|
1773
|
+
var de_DescribeExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1774
|
+
const parsedOutput = {
|
|
1775
|
+
...output,
|
|
1776
|
+
body: await parseErrorBody(output.body, context)
|
|
1777
|
+
};
|
|
1778
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1779
|
+
switch (errorCode) {
|
|
1780
|
+
case "ExecutionDoesNotExist":
|
|
1781
|
+
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
1782
|
+
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
1783
|
+
case "InvalidArn":
|
|
1784
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
1785
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1786
|
+
default:
|
|
1787
|
+
const parsedBody = parsedOutput.body;
|
|
1788
|
+
return throwDefaultError({
|
|
1789
|
+
output,
|
|
1790
|
+
parsedBody,
|
|
1791
|
+
errorCode
|
|
1792
|
+
});
|
|
1793
|
+
}
|
|
1794
|
+
}, "de_DescribeExecutionCommandError");
|
|
1795
|
+
var de_DescribeMapRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1796
|
+
if (output.statusCode >= 300) {
|
|
1797
|
+
return de_DescribeMapRunCommandError(output, context);
|
|
1798
|
+
}
|
|
1799
|
+
const data = await parseBody(output.body, context);
|
|
1800
|
+
let contents = {};
|
|
1801
|
+
contents = de_DescribeMapRunOutput(data, context);
|
|
1802
|
+
const response = {
|
|
1803
|
+
$metadata: deserializeMetadata(output),
|
|
1804
|
+
...contents
|
|
1805
|
+
};
|
|
1806
|
+
return response;
|
|
1807
|
+
}, "de_DescribeMapRunCommand");
|
|
1808
|
+
var de_DescribeMapRunCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1809
|
+
const parsedOutput = {
|
|
1810
|
+
...output,
|
|
1811
|
+
body: await parseErrorBody(output.body, context)
|
|
1812
|
+
};
|
|
1813
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1814
|
+
switch (errorCode) {
|
|
1815
|
+
case "InvalidArn":
|
|
1816
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
1817
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1818
|
+
case "ResourceNotFound":
|
|
1819
|
+
case "com.amazonaws.sfn#ResourceNotFound":
|
|
1820
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
1821
|
+
default:
|
|
1822
|
+
const parsedBody = parsedOutput.body;
|
|
1823
|
+
return throwDefaultError({
|
|
1824
|
+
output,
|
|
1825
|
+
parsedBody,
|
|
1826
|
+
errorCode
|
|
1827
|
+
});
|
|
1828
|
+
}
|
|
1829
|
+
}, "de_DescribeMapRunCommandError");
|
|
1830
|
+
var de_DescribeStateMachineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1831
|
+
if (output.statusCode >= 300) {
|
|
1832
|
+
return de_DescribeStateMachineCommandError(output, context);
|
|
1833
|
+
}
|
|
1834
|
+
const data = await parseBody(output.body, context);
|
|
1835
|
+
let contents = {};
|
|
1836
|
+
contents = de_DescribeStateMachineOutput(data, context);
|
|
1837
|
+
const response = {
|
|
1838
|
+
$metadata: deserializeMetadata(output),
|
|
1839
|
+
...contents
|
|
1840
|
+
};
|
|
1841
|
+
return response;
|
|
1842
|
+
}, "de_DescribeStateMachineCommand");
|
|
1843
|
+
var de_DescribeStateMachineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1844
|
+
const parsedOutput = {
|
|
1845
|
+
...output,
|
|
1846
|
+
body: await parseErrorBody(output.body, context)
|
|
1847
|
+
};
|
|
1848
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1849
|
+
switch (errorCode) {
|
|
1850
|
+
case "InvalidArn":
|
|
1851
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
1852
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1853
|
+
case "StateMachineDoesNotExist":
|
|
1854
|
+
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
1855
|
+
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
1856
|
+
default:
|
|
1857
|
+
const parsedBody = parsedOutput.body;
|
|
1858
|
+
return throwDefaultError({
|
|
1859
|
+
output,
|
|
1860
|
+
parsedBody,
|
|
1861
|
+
errorCode
|
|
1862
|
+
});
|
|
1863
|
+
}
|
|
1864
|
+
}, "de_DescribeStateMachineCommandError");
|
|
1865
|
+
var de_DescribeStateMachineAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1866
|
+
if (output.statusCode >= 300) {
|
|
1867
|
+
return de_DescribeStateMachineAliasCommandError(output, context);
|
|
1868
|
+
}
|
|
1869
|
+
const data = await parseBody(output.body, context);
|
|
1870
|
+
let contents = {};
|
|
1871
|
+
contents = de_DescribeStateMachineAliasOutput(data, context);
|
|
1872
|
+
const response = {
|
|
1873
|
+
$metadata: deserializeMetadata(output),
|
|
1874
|
+
...contents
|
|
1875
|
+
};
|
|
1876
|
+
return response;
|
|
1877
|
+
}, "de_DescribeStateMachineAliasCommand");
|
|
1878
|
+
var de_DescribeStateMachineAliasCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1879
|
+
const parsedOutput = {
|
|
1880
|
+
...output,
|
|
1881
|
+
body: await parseErrorBody(output.body, context)
|
|
1882
|
+
};
|
|
1883
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1884
|
+
switch (errorCode) {
|
|
1885
|
+
case "InvalidArn":
|
|
1886
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
1887
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1888
|
+
case "ResourceNotFound":
|
|
1889
|
+
case "com.amazonaws.sfn#ResourceNotFound":
|
|
1890
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
1891
|
+
case "ValidationException":
|
|
1892
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
1893
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1894
|
+
default:
|
|
1895
|
+
const parsedBody = parsedOutput.body;
|
|
1896
|
+
return throwDefaultError({
|
|
1897
|
+
output,
|
|
1898
|
+
parsedBody,
|
|
1899
|
+
errorCode
|
|
1900
|
+
});
|
|
1901
|
+
}
|
|
1902
|
+
}, "de_DescribeStateMachineAliasCommandError");
|
|
1903
|
+
var de_DescribeStateMachineForExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1904
|
+
if (output.statusCode >= 300) {
|
|
1905
|
+
return de_DescribeStateMachineForExecutionCommandError(output, context);
|
|
1906
|
+
}
|
|
1907
|
+
const data = await parseBody(output.body, context);
|
|
1908
|
+
let contents = {};
|
|
1909
|
+
contents = de_DescribeStateMachineForExecutionOutput(data, context);
|
|
1910
|
+
const response = {
|
|
1911
|
+
$metadata: deserializeMetadata(output),
|
|
1912
|
+
...contents
|
|
1913
|
+
};
|
|
1914
|
+
return response;
|
|
1915
|
+
}, "de_DescribeStateMachineForExecutionCommand");
|
|
1916
|
+
var de_DescribeStateMachineForExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1917
|
+
const parsedOutput = {
|
|
1918
|
+
...output,
|
|
1919
|
+
body: await parseErrorBody(output.body, context)
|
|
1920
|
+
};
|
|
1921
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1922
|
+
switch (errorCode) {
|
|
1923
|
+
case "ExecutionDoesNotExist":
|
|
1924
|
+
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
1925
|
+
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
1926
|
+
case "InvalidArn":
|
|
1927
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
1928
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1929
|
+
default:
|
|
1930
|
+
const parsedBody = parsedOutput.body;
|
|
1931
|
+
return throwDefaultError({
|
|
1932
|
+
output,
|
|
1933
|
+
parsedBody,
|
|
1934
|
+
errorCode
|
|
1935
|
+
});
|
|
1936
|
+
}
|
|
1937
|
+
}, "de_DescribeStateMachineForExecutionCommandError");
|
|
1938
|
+
var de_GetActivityTaskCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1939
|
+
if (output.statusCode >= 300) {
|
|
1940
|
+
return de_GetActivityTaskCommandError(output, context);
|
|
1941
|
+
}
|
|
1942
|
+
const data = await parseBody(output.body, context);
|
|
1943
|
+
let contents = {};
|
|
1944
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1945
|
+
const response = {
|
|
1946
|
+
$metadata: deserializeMetadata(output),
|
|
1947
|
+
...contents
|
|
1948
|
+
};
|
|
1949
|
+
return response;
|
|
1950
|
+
}, "de_GetActivityTaskCommand");
|
|
1951
|
+
var de_GetActivityTaskCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1952
|
+
const parsedOutput = {
|
|
1953
|
+
...output,
|
|
1954
|
+
body: await parseErrorBody(output.body, context)
|
|
1955
|
+
};
|
|
1956
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1957
|
+
switch (errorCode) {
|
|
1958
|
+
case "ActivityDoesNotExist":
|
|
1959
|
+
case "com.amazonaws.sfn#ActivityDoesNotExist":
|
|
1960
|
+
throw await de_ActivityDoesNotExistRes(parsedOutput, context);
|
|
1961
|
+
case "ActivityWorkerLimitExceeded":
|
|
1962
|
+
case "com.amazonaws.sfn#ActivityWorkerLimitExceeded":
|
|
1963
|
+
throw await de_ActivityWorkerLimitExceededRes(parsedOutput, context);
|
|
1964
|
+
case "InvalidArn":
|
|
1965
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
1966
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
1967
|
+
default:
|
|
1968
|
+
const parsedBody = parsedOutput.body;
|
|
1969
|
+
return throwDefaultError({
|
|
1970
|
+
output,
|
|
1971
|
+
parsedBody,
|
|
1972
|
+
errorCode
|
|
1973
|
+
});
|
|
1974
|
+
}
|
|
1975
|
+
}, "de_GetActivityTaskCommandError");
|
|
1976
|
+
var de_GetExecutionHistoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1977
|
+
if (output.statusCode >= 300) {
|
|
1978
|
+
return de_GetExecutionHistoryCommandError(output, context);
|
|
1979
|
+
}
|
|
1980
|
+
const data = await parseBody(output.body, context);
|
|
1981
|
+
let contents = {};
|
|
1982
|
+
contents = de_GetExecutionHistoryOutput(data, context);
|
|
1983
|
+
const response = {
|
|
1984
|
+
$metadata: deserializeMetadata(output),
|
|
1985
|
+
...contents
|
|
1986
|
+
};
|
|
1987
|
+
return response;
|
|
1988
|
+
}, "de_GetExecutionHistoryCommand");
|
|
1989
|
+
var de_GetExecutionHistoryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1990
|
+
const parsedOutput = {
|
|
1991
|
+
...output,
|
|
1992
|
+
body: await parseErrorBody(output.body, context)
|
|
1993
|
+
};
|
|
1994
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1995
|
+
switch (errorCode) {
|
|
1996
|
+
case "ExecutionDoesNotExist":
|
|
1997
|
+
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
1998
|
+
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
1999
|
+
case "InvalidArn":
|
|
2000
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
2001
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2002
|
+
case "InvalidToken":
|
|
2003
|
+
case "com.amazonaws.sfn#InvalidToken":
|
|
2004
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2005
|
+
default:
|
|
2006
|
+
const parsedBody = parsedOutput.body;
|
|
2007
|
+
return throwDefaultError({
|
|
2008
|
+
output,
|
|
2009
|
+
parsedBody,
|
|
2010
|
+
errorCode
|
|
2011
|
+
});
|
|
2012
|
+
}
|
|
2013
|
+
}, "de_GetExecutionHistoryCommandError");
|
|
2014
|
+
var de_ListActivitiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2015
|
+
if (output.statusCode >= 300) {
|
|
2016
|
+
return de_ListActivitiesCommandError(output, context);
|
|
2017
|
+
}
|
|
2018
|
+
const data = await parseBody(output.body, context);
|
|
2019
|
+
let contents = {};
|
|
2020
|
+
contents = de_ListActivitiesOutput(data, context);
|
|
2021
|
+
const response = {
|
|
2022
|
+
$metadata: deserializeMetadata(output),
|
|
2023
|
+
...contents
|
|
2024
|
+
};
|
|
2025
|
+
return response;
|
|
2026
|
+
}, "de_ListActivitiesCommand");
|
|
2027
|
+
var de_ListActivitiesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2028
|
+
const parsedOutput = {
|
|
2029
|
+
...output,
|
|
2030
|
+
body: await parseErrorBody(output.body, context)
|
|
2031
|
+
};
|
|
2032
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2033
|
+
switch (errorCode) {
|
|
2034
|
+
case "InvalidToken":
|
|
2035
|
+
case "com.amazonaws.sfn#InvalidToken":
|
|
2036
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2037
|
+
default:
|
|
2038
|
+
const parsedBody = parsedOutput.body;
|
|
2039
|
+
return throwDefaultError({
|
|
2040
|
+
output,
|
|
2041
|
+
parsedBody,
|
|
2042
|
+
errorCode
|
|
2043
|
+
});
|
|
2044
|
+
}
|
|
2045
|
+
}, "de_ListActivitiesCommandError");
|
|
2046
|
+
var de_ListExecutionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2047
|
+
if (output.statusCode >= 300) {
|
|
2048
|
+
return de_ListExecutionsCommandError(output, context);
|
|
2049
|
+
}
|
|
2050
|
+
const data = await parseBody(output.body, context);
|
|
2051
|
+
let contents = {};
|
|
2052
|
+
contents = de_ListExecutionsOutput(data, context);
|
|
2053
|
+
const response = {
|
|
2054
|
+
$metadata: deserializeMetadata(output),
|
|
2055
|
+
...contents
|
|
2056
|
+
};
|
|
2057
|
+
return response;
|
|
2058
|
+
}, "de_ListExecutionsCommand");
|
|
2059
|
+
var de_ListExecutionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2060
|
+
const parsedOutput = {
|
|
2061
|
+
...output,
|
|
2062
|
+
body: await parseErrorBody(output.body, context)
|
|
2063
|
+
};
|
|
2064
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2065
|
+
switch (errorCode) {
|
|
2066
|
+
case "InvalidArn":
|
|
2067
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
2068
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2069
|
+
case "InvalidToken":
|
|
2070
|
+
case "com.amazonaws.sfn#InvalidToken":
|
|
2071
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2072
|
+
case "ResourceNotFound":
|
|
2073
|
+
case "com.amazonaws.sfn#ResourceNotFound":
|
|
2074
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
2075
|
+
case "StateMachineDoesNotExist":
|
|
2076
|
+
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
2077
|
+
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
2078
|
+
case "StateMachineTypeNotSupported":
|
|
2079
|
+
case "com.amazonaws.sfn#StateMachineTypeNotSupported":
|
|
2080
|
+
throw await de_StateMachineTypeNotSupportedRes(parsedOutput, context);
|
|
2081
|
+
case "ValidationException":
|
|
2082
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
2083
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2084
|
+
default:
|
|
2085
|
+
const parsedBody = parsedOutput.body;
|
|
2086
|
+
return throwDefaultError({
|
|
2087
|
+
output,
|
|
2088
|
+
parsedBody,
|
|
2089
|
+
errorCode
|
|
2090
|
+
});
|
|
2091
|
+
}
|
|
2092
|
+
}, "de_ListExecutionsCommandError");
|
|
2093
|
+
var de_ListMapRunsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2094
|
+
if (output.statusCode >= 300) {
|
|
2095
|
+
return de_ListMapRunsCommandError(output, context);
|
|
2096
|
+
}
|
|
2097
|
+
const data = await parseBody(output.body, context);
|
|
2098
|
+
let contents = {};
|
|
2099
|
+
contents = de_ListMapRunsOutput(data, context);
|
|
2100
|
+
const response = {
|
|
2101
|
+
$metadata: deserializeMetadata(output),
|
|
2102
|
+
...contents
|
|
2103
|
+
};
|
|
2104
|
+
return response;
|
|
2105
|
+
}, "de_ListMapRunsCommand");
|
|
2106
|
+
var de_ListMapRunsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2107
|
+
const parsedOutput = {
|
|
2108
|
+
...output,
|
|
2109
|
+
body: await parseErrorBody(output.body, context)
|
|
2110
|
+
};
|
|
2111
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2112
|
+
switch (errorCode) {
|
|
2113
|
+
case "ExecutionDoesNotExist":
|
|
2114
|
+
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
2115
|
+
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
2116
|
+
case "InvalidArn":
|
|
2117
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
2118
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2119
|
+
case "InvalidToken":
|
|
2120
|
+
case "com.amazonaws.sfn#InvalidToken":
|
|
2121
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2122
|
+
default:
|
|
2123
|
+
const parsedBody = parsedOutput.body;
|
|
2124
|
+
return throwDefaultError({
|
|
2125
|
+
output,
|
|
2126
|
+
parsedBody,
|
|
2127
|
+
errorCode
|
|
2128
|
+
});
|
|
2129
|
+
}
|
|
2130
|
+
}, "de_ListMapRunsCommandError");
|
|
2131
|
+
var de_ListStateMachineAliasesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2132
|
+
if (output.statusCode >= 300) {
|
|
2133
|
+
return de_ListStateMachineAliasesCommandError(output, context);
|
|
2134
|
+
}
|
|
2135
|
+
const data = await parseBody(output.body, context);
|
|
2136
|
+
let contents = {};
|
|
2137
|
+
contents = de_ListStateMachineAliasesOutput(data, context);
|
|
2138
|
+
const response = {
|
|
2139
|
+
$metadata: deserializeMetadata(output),
|
|
2140
|
+
...contents
|
|
2141
|
+
};
|
|
2142
|
+
return response;
|
|
2143
|
+
}, "de_ListStateMachineAliasesCommand");
|
|
2144
|
+
var de_ListStateMachineAliasesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2145
|
+
const parsedOutput = {
|
|
2146
|
+
...output,
|
|
2147
|
+
body: await parseErrorBody(output.body, context)
|
|
2148
|
+
};
|
|
2149
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2150
|
+
switch (errorCode) {
|
|
2151
|
+
case "InvalidArn":
|
|
2152
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
2153
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2154
|
+
case "InvalidToken":
|
|
2155
|
+
case "com.amazonaws.sfn#InvalidToken":
|
|
2156
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2157
|
+
case "ResourceNotFound":
|
|
2158
|
+
case "com.amazonaws.sfn#ResourceNotFound":
|
|
2159
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
2160
|
+
case "StateMachineDeleting":
|
|
2161
|
+
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
2162
|
+
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
2163
|
+
case "StateMachineDoesNotExist":
|
|
2164
|
+
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
2165
|
+
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
2166
|
+
default:
|
|
2167
|
+
const parsedBody = parsedOutput.body;
|
|
2168
|
+
return throwDefaultError({
|
|
2169
|
+
output,
|
|
2170
|
+
parsedBody,
|
|
2171
|
+
errorCode
|
|
2172
|
+
});
|
|
2173
|
+
}
|
|
2174
|
+
}, "de_ListStateMachineAliasesCommandError");
|
|
2175
|
+
var de_ListStateMachinesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2176
|
+
if (output.statusCode >= 300) {
|
|
2177
|
+
return de_ListStateMachinesCommandError(output, context);
|
|
2178
|
+
}
|
|
2179
|
+
const data = await parseBody(output.body, context);
|
|
2180
|
+
let contents = {};
|
|
2181
|
+
contents = de_ListStateMachinesOutput(data, context);
|
|
2182
|
+
const response = {
|
|
2183
|
+
$metadata: deserializeMetadata(output),
|
|
2184
|
+
...contents
|
|
2185
|
+
};
|
|
2186
|
+
return response;
|
|
2187
|
+
}, "de_ListStateMachinesCommand");
|
|
2188
|
+
var de_ListStateMachinesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2189
|
+
const parsedOutput = {
|
|
2190
|
+
...output,
|
|
2191
|
+
body: await parseErrorBody(output.body, context)
|
|
2192
|
+
};
|
|
2193
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2194
|
+
switch (errorCode) {
|
|
2195
|
+
case "InvalidToken":
|
|
2196
|
+
case "com.amazonaws.sfn#InvalidToken":
|
|
2197
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2198
|
+
default:
|
|
2199
|
+
const parsedBody = parsedOutput.body;
|
|
2200
|
+
return throwDefaultError({
|
|
2201
|
+
output,
|
|
2202
|
+
parsedBody,
|
|
2203
|
+
errorCode
|
|
2204
|
+
});
|
|
2205
|
+
}
|
|
2206
|
+
}, "de_ListStateMachinesCommandError");
|
|
2207
|
+
var de_ListStateMachineVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2208
|
+
if (output.statusCode >= 300) {
|
|
2209
|
+
return de_ListStateMachineVersionsCommandError(output, context);
|
|
2210
|
+
}
|
|
2211
|
+
const data = await parseBody(output.body, context);
|
|
2212
|
+
let contents = {};
|
|
2213
|
+
contents = de_ListStateMachineVersionsOutput(data, context);
|
|
2214
|
+
const response = {
|
|
2215
|
+
$metadata: deserializeMetadata(output),
|
|
2216
|
+
...contents
|
|
2217
|
+
};
|
|
2218
|
+
return response;
|
|
2219
|
+
}, "de_ListStateMachineVersionsCommand");
|
|
2220
|
+
var de_ListStateMachineVersionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2221
|
+
const parsedOutput = {
|
|
2222
|
+
...output,
|
|
2223
|
+
body: await parseErrorBody(output.body, context)
|
|
2224
|
+
};
|
|
2225
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2226
|
+
switch (errorCode) {
|
|
2227
|
+
case "InvalidArn":
|
|
2228
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
2229
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2230
|
+
case "InvalidToken":
|
|
2231
|
+
case "com.amazonaws.sfn#InvalidToken":
|
|
2232
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2233
|
+
case "ValidationException":
|
|
2234
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
2235
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2236
|
+
default:
|
|
2237
|
+
const parsedBody = parsedOutput.body;
|
|
2238
|
+
return throwDefaultError({
|
|
2239
|
+
output,
|
|
2240
|
+
parsedBody,
|
|
2241
|
+
errorCode
|
|
2242
|
+
});
|
|
2243
|
+
}
|
|
2244
|
+
}, "de_ListStateMachineVersionsCommandError");
|
|
2245
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2246
|
+
if (output.statusCode >= 300) {
|
|
2247
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
2248
|
+
}
|
|
2249
|
+
const data = await parseBody(output.body, context);
|
|
2250
|
+
let contents = {};
|
|
2251
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2252
|
+
const response = {
|
|
2253
|
+
$metadata: deserializeMetadata(output),
|
|
2254
|
+
...contents
|
|
2255
|
+
};
|
|
2256
|
+
return response;
|
|
2257
|
+
}, "de_ListTagsForResourceCommand");
|
|
2258
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2259
|
+
const parsedOutput = {
|
|
2260
|
+
...output,
|
|
2261
|
+
body: await parseErrorBody(output.body, context)
|
|
2262
|
+
};
|
|
2263
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2264
|
+
switch (errorCode) {
|
|
2265
|
+
case "InvalidArn":
|
|
2266
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
2267
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2268
|
+
case "ResourceNotFound":
|
|
2269
|
+
case "com.amazonaws.sfn#ResourceNotFound":
|
|
2270
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
2271
|
+
default:
|
|
2272
|
+
const parsedBody = parsedOutput.body;
|
|
2273
|
+
return throwDefaultError({
|
|
2274
|
+
output,
|
|
2275
|
+
parsedBody,
|
|
2276
|
+
errorCode
|
|
2277
|
+
});
|
|
2278
|
+
}
|
|
2279
|
+
}, "de_ListTagsForResourceCommandError");
|
|
2280
|
+
var de_PublishStateMachineVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2281
|
+
if (output.statusCode >= 300) {
|
|
2282
|
+
return de_PublishStateMachineVersionCommandError(output, context);
|
|
2283
|
+
}
|
|
2284
|
+
const data = await parseBody(output.body, context);
|
|
2285
|
+
let contents = {};
|
|
2286
|
+
contents = de_PublishStateMachineVersionOutput(data, context);
|
|
2287
|
+
const response = {
|
|
2288
|
+
$metadata: deserializeMetadata(output),
|
|
2289
|
+
...contents
|
|
2290
|
+
};
|
|
2291
|
+
return response;
|
|
2292
|
+
}, "de_PublishStateMachineVersionCommand");
|
|
2293
|
+
var de_PublishStateMachineVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2294
|
+
const parsedOutput = {
|
|
2295
|
+
...output,
|
|
2296
|
+
body: await parseErrorBody(output.body, context)
|
|
2297
|
+
};
|
|
2298
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2299
|
+
switch (errorCode) {
|
|
2300
|
+
case "ConflictException":
|
|
2301
|
+
case "com.amazonaws.sfn#ConflictException":
|
|
2302
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2303
|
+
case "InvalidArn":
|
|
2304
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
2305
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2306
|
+
case "ServiceQuotaExceededException":
|
|
2307
|
+
case "com.amazonaws.sfn#ServiceQuotaExceededException":
|
|
2308
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2309
|
+
case "StateMachineDeleting":
|
|
2310
|
+
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
2311
|
+
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
2312
|
+
case "StateMachineDoesNotExist":
|
|
2313
|
+
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
2314
|
+
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
2315
|
+
case "ValidationException":
|
|
2316
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
2317
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2318
|
+
default:
|
|
2319
|
+
const parsedBody = parsedOutput.body;
|
|
2320
|
+
return throwDefaultError({
|
|
2321
|
+
output,
|
|
2322
|
+
parsedBody,
|
|
2323
|
+
errorCode
|
|
2324
|
+
});
|
|
2325
|
+
}
|
|
2326
|
+
}, "de_PublishStateMachineVersionCommandError");
|
|
2327
|
+
var de_RedriveExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2328
|
+
if (output.statusCode >= 300) {
|
|
2329
|
+
return de_RedriveExecutionCommandError(output, context);
|
|
2330
|
+
}
|
|
2331
|
+
const data = await parseBody(output.body, context);
|
|
2332
|
+
let contents = {};
|
|
2333
|
+
contents = de_RedriveExecutionOutput(data, context);
|
|
2334
|
+
const response = {
|
|
2335
|
+
$metadata: deserializeMetadata(output),
|
|
2336
|
+
...contents
|
|
2337
|
+
};
|
|
2338
|
+
return response;
|
|
2339
|
+
}, "de_RedriveExecutionCommand");
|
|
2340
|
+
var de_RedriveExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2341
|
+
const parsedOutput = {
|
|
2342
|
+
...output,
|
|
2343
|
+
body: await parseErrorBody(output.body, context)
|
|
2344
|
+
};
|
|
2345
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2346
|
+
switch (errorCode) {
|
|
2347
|
+
case "ExecutionDoesNotExist":
|
|
2348
|
+
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
2349
|
+
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
2350
|
+
case "ExecutionLimitExceeded":
|
|
2351
|
+
case "com.amazonaws.sfn#ExecutionLimitExceeded":
|
|
2352
|
+
throw await de_ExecutionLimitExceededRes(parsedOutput, context);
|
|
2353
|
+
case "ExecutionNotRedrivable":
|
|
2354
|
+
case "com.amazonaws.sfn#ExecutionNotRedrivable":
|
|
2355
|
+
throw await de_ExecutionNotRedrivableRes(parsedOutput, context);
|
|
2356
|
+
case "InvalidArn":
|
|
2357
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
2358
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2359
|
+
default:
|
|
2360
|
+
const parsedBody = parsedOutput.body;
|
|
2361
|
+
return throwDefaultError({
|
|
2362
|
+
output,
|
|
2363
|
+
parsedBody,
|
|
2364
|
+
errorCode
|
|
2365
|
+
});
|
|
2366
|
+
}
|
|
2367
|
+
}, "de_RedriveExecutionCommandError");
|
|
2368
|
+
var de_SendTaskFailureCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2369
|
+
if (output.statusCode >= 300) {
|
|
2370
|
+
return de_SendTaskFailureCommandError(output, context);
|
|
2371
|
+
}
|
|
2372
|
+
const data = await parseBody(output.body, context);
|
|
2373
|
+
let contents = {};
|
|
2374
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2375
|
+
const response = {
|
|
2376
|
+
$metadata: deserializeMetadata(output),
|
|
2377
|
+
...contents
|
|
2378
|
+
};
|
|
2379
|
+
return response;
|
|
2380
|
+
}, "de_SendTaskFailureCommand");
|
|
2381
|
+
var de_SendTaskFailureCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2382
|
+
const parsedOutput = {
|
|
2383
|
+
...output,
|
|
2384
|
+
body: await parseErrorBody(output.body, context)
|
|
2385
|
+
};
|
|
2386
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2387
|
+
switch (errorCode) {
|
|
2388
|
+
case "InvalidToken":
|
|
2389
|
+
case "com.amazonaws.sfn#InvalidToken":
|
|
2390
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2391
|
+
case "TaskDoesNotExist":
|
|
2392
|
+
case "com.amazonaws.sfn#TaskDoesNotExist":
|
|
2393
|
+
throw await de_TaskDoesNotExistRes(parsedOutput, context);
|
|
2394
|
+
case "TaskTimedOut":
|
|
2395
|
+
case "com.amazonaws.sfn#TaskTimedOut":
|
|
2396
|
+
throw await de_TaskTimedOutRes(parsedOutput, context);
|
|
2397
|
+
default:
|
|
2398
|
+
const parsedBody = parsedOutput.body;
|
|
2399
|
+
return throwDefaultError({
|
|
2400
|
+
output,
|
|
2401
|
+
parsedBody,
|
|
2402
|
+
errorCode
|
|
2403
|
+
});
|
|
2404
|
+
}
|
|
2405
|
+
}, "de_SendTaskFailureCommandError");
|
|
2406
|
+
var de_SendTaskHeartbeatCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2407
|
+
if (output.statusCode >= 300) {
|
|
2408
|
+
return de_SendTaskHeartbeatCommandError(output, context);
|
|
2409
|
+
}
|
|
2410
|
+
const data = await parseBody(output.body, context);
|
|
2411
|
+
let contents = {};
|
|
2412
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2413
|
+
const response = {
|
|
2414
|
+
$metadata: deserializeMetadata(output),
|
|
2415
|
+
...contents
|
|
2416
|
+
};
|
|
2417
|
+
return response;
|
|
2418
|
+
}, "de_SendTaskHeartbeatCommand");
|
|
2419
|
+
var de_SendTaskHeartbeatCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2420
|
+
const parsedOutput = {
|
|
2421
|
+
...output,
|
|
2422
|
+
body: await parseErrorBody(output.body, context)
|
|
2423
|
+
};
|
|
2424
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2425
|
+
switch (errorCode) {
|
|
2426
|
+
case "InvalidToken":
|
|
2427
|
+
case "com.amazonaws.sfn#InvalidToken":
|
|
2428
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2429
|
+
case "TaskDoesNotExist":
|
|
2430
|
+
case "com.amazonaws.sfn#TaskDoesNotExist":
|
|
2431
|
+
throw await de_TaskDoesNotExistRes(parsedOutput, context);
|
|
2432
|
+
case "TaskTimedOut":
|
|
2433
|
+
case "com.amazonaws.sfn#TaskTimedOut":
|
|
2434
|
+
throw await de_TaskTimedOutRes(parsedOutput, context);
|
|
2435
|
+
default:
|
|
2436
|
+
const parsedBody = parsedOutput.body;
|
|
2437
|
+
return throwDefaultError({
|
|
2438
|
+
output,
|
|
2439
|
+
parsedBody,
|
|
2440
|
+
errorCode
|
|
2441
|
+
});
|
|
2442
|
+
}
|
|
2443
|
+
}, "de_SendTaskHeartbeatCommandError");
|
|
2444
|
+
var de_SendTaskSuccessCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2445
|
+
if (output.statusCode >= 300) {
|
|
2446
|
+
return de_SendTaskSuccessCommandError(output, context);
|
|
2447
|
+
}
|
|
2448
|
+
const data = await parseBody(output.body, context);
|
|
2449
|
+
let contents = {};
|
|
2450
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2451
|
+
const response = {
|
|
2452
|
+
$metadata: deserializeMetadata(output),
|
|
2453
|
+
...contents
|
|
2454
|
+
};
|
|
2455
|
+
return response;
|
|
2456
|
+
}, "de_SendTaskSuccessCommand");
|
|
2457
|
+
var de_SendTaskSuccessCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2458
|
+
const parsedOutput = {
|
|
2459
|
+
...output,
|
|
2460
|
+
body: await parseErrorBody(output.body, context)
|
|
2461
|
+
};
|
|
2462
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2463
|
+
switch (errorCode) {
|
|
2464
|
+
case "InvalidOutput":
|
|
2465
|
+
case "com.amazonaws.sfn#InvalidOutput":
|
|
2466
|
+
throw await de_InvalidOutputRes(parsedOutput, context);
|
|
2467
|
+
case "InvalidToken":
|
|
2468
|
+
case "com.amazonaws.sfn#InvalidToken":
|
|
2469
|
+
throw await de_InvalidTokenRes(parsedOutput, context);
|
|
2470
|
+
case "TaskDoesNotExist":
|
|
2471
|
+
case "com.amazonaws.sfn#TaskDoesNotExist":
|
|
2472
|
+
throw await de_TaskDoesNotExistRes(parsedOutput, context);
|
|
2473
|
+
case "TaskTimedOut":
|
|
2474
|
+
case "com.amazonaws.sfn#TaskTimedOut":
|
|
2475
|
+
throw await de_TaskTimedOutRes(parsedOutput, context);
|
|
2476
|
+
default:
|
|
2477
|
+
const parsedBody = parsedOutput.body;
|
|
2478
|
+
return throwDefaultError({
|
|
2479
|
+
output,
|
|
2480
|
+
parsedBody,
|
|
2481
|
+
errorCode
|
|
2482
|
+
});
|
|
2483
|
+
}
|
|
2484
|
+
}, "de_SendTaskSuccessCommandError");
|
|
2485
|
+
var de_StartExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2486
|
+
if (output.statusCode >= 300) {
|
|
2487
|
+
return de_StartExecutionCommandError(output, context);
|
|
2488
|
+
}
|
|
2489
|
+
const data = await parseBody(output.body, context);
|
|
2490
|
+
let contents = {};
|
|
2491
|
+
contents = de_StartExecutionOutput(data, context);
|
|
2492
|
+
const response = {
|
|
2493
|
+
$metadata: deserializeMetadata(output),
|
|
2494
|
+
...contents
|
|
2495
|
+
};
|
|
2496
|
+
return response;
|
|
2497
|
+
}, "de_StartExecutionCommand");
|
|
2498
|
+
var de_StartExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2499
|
+
const parsedOutput = {
|
|
2500
|
+
...output,
|
|
2501
|
+
body: await parseErrorBody(output.body, context)
|
|
2502
|
+
};
|
|
2503
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2504
|
+
switch (errorCode) {
|
|
2505
|
+
case "ExecutionAlreadyExists":
|
|
2506
|
+
case "com.amazonaws.sfn#ExecutionAlreadyExists":
|
|
2507
|
+
throw await de_ExecutionAlreadyExistsRes(parsedOutput, context);
|
|
2508
|
+
case "ExecutionLimitExceeded":
|
|
2509
|
+
case "com.amazonaws.sfn#ExecutionLimitExceeded":
|
|
2510
|
+
throw await de_ExecutionLimitExceededRes(parsedOutput, context);
|
|
2511
|
+
case "InvalidArn":
|
|
2512
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
2513
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2514
|
+
case "InvalidExecutionInput":
|
|
2515
|
+
case "com.amazonaws.sfn#InvalidExecutionInput":
|
|
2516
|
+
throw await de_InvalidExecutionInputRes(parsedOutput, context);
|
|
2517
|
+
case "InvalidName":
|
|
2518
|
+
case "com.amazonaws.sfn#InvalidName":
|
|
2519
|
+
throw await de_InvalidNameRes(parsedOutput, context);
|
|
2520
|
+
case "StateMachineDeleting":
|
|
2521
|
+
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
2522
|
+
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
2523
|
+
case "StateMachineDoesNotExist":
|
|
2524
|
+
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
2525
|
+
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
2526
|
+
case "ValidationException":
|
|
2527
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
2528
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2529
|
+
default:
|
|
2530
|
+
const parsedBody = parsedOutput.body;
|
|
2531
|
+
return throwDefaultError({
|
|
2532
|
+
output,
|
|
2533
|
+
parsedBody,
|
|
2534
|
+
errorCode
|
|
2535
|
+
});
|
|
2536
|
+
}
|
|
2537
|
+
}, "de_StartExecutionCommandError");
|
|
2538
|
+
var de_StartSyncExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2539
|
+
if (output.statusCode >= 300) {
|
|
2540
|
+
return de_StartSyncExecutionCommandError(output, context);
|
|
2541
|
+
}
|
|
2542
|
+
const data = await parseBody(output.body, context);
|
|
2543
|
+
let contents = {};
|
|
2544
|
+
contents = de_StartSyncExecutionOutput(data, context);
|
|
2545
|
+
const response = {
|
|
2546
|
+
$metadata: deserializeMetadata(output),
|
|
2547
|
+
...contents
|
|
2548
|
+
};
|
|
2549
|
+
return response;
|
|
2550
|
+
}, "de_StartSyncExecutionCommand");
|
|
2551
|
+
var de_StartSyncExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2552
|
+
const parsedOutput = {
|
|
2553
|
+
...output,
|
|
2554
|
+
body: await parseErrorBody(output.body, context)
|
|
2555
|
+
};
|
|
2556
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2557
|
+
switch (errorCode) {
|
|
2558
|
+
case "InvalidArn":
|
|
2559
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
2560
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2561
|
+
case "InvalidExecutionInput":
|
|
2562
|
+
case "com.amazonaws.sfn#InvalidExecutionInput":
|
|
2563
|
+
throw await de_InvalidExecutionInputRes(parsedOutput, context);
|
|
2564
|
+
case "InvalidName":
|
|
2565
|
+
case "com.amazonaws.sfn#InvalidName":
|
|
2566
|
+
throw await de_InvalidNameRes(parsedOutput, context);
|
|
2567
|
+
case "StateMachineDeleting":
|
|
2568
|
+
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
2569
|
+
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
2570
|
+
case "StateMachineDoesNotExist":
|
|
2571
|
+
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
2572
|
+
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
2573
|
+
case "StateMachineTypeNotSupported":
|
|
2574
|
+
case "com.amazonaws.sfn#StateMachineTypeNotSupported":
|
|
2575
|
+
throw await de_StateMachineTypeNotSupportedRes(parsedOutput, context);
|
|
2576
|
+
default:
|
|
2577
|
+
const parsedBody = parsedOutput.body;
|
|
2578
|
+
return throwDefaultError({
|
|
2579
|
+
output,
|
|
2580
|
+
parsedBody,
|
|
2581
|
+
errorCode
|
|
2582
|
+
});
|
|
2583
|
+
}
|
|
2584
|
+
}, "de_StartSyncExecutionCommandError");
|
|
2585
|
+
var de_StopExecutionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2586
|
+
if (output.statusCode >= 300) {
|
|
2587
|
+
return de_StopExecutionCommandError(output, context);
|
|
2588
|
+
}
|
|
2589
|
+
const data = await parseBody(output.body, context);
|
|
2590
|
+
let contents = {};
|
|
2591
|
+
contents = de_StopExecutionOutput(data, context);
|
|
2592
|
+
const response = {
|
|
2593
|
+
$metadata: deserializeMetadata(output),
|
|
2594
|
+
...contents
|
|
2595
|
+
};
|
|
2596
|
+
return response;
|
|
2597
|
+
}, "de_StopExecutionCommand");
|
|
2598
|
+
var de_StopExecutionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2599
|
+
const parsedOutput = {
|
|
2600
|
+
...output,
|
|
2601
|
+
body: await parseErrorBody(output.body, context)
|
|
2602
|
+
};
|
|
2603
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2604
|
+
switch (errorCode) {
|
|
2605
|
+
case "ExecutionDoesNotExist":
|
|
2606
|
+
case "com.amazonaws.sfn#ExecutionDoesNotExist":
|
|
2607
|
+
throw await de_ExecutionDoesNotExistRes(parsedOutput, context);
|
|
2608
|
+
case "InvalidArn":
|
|
2609
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
2610
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2611
|
+
case "ValidationException":
|
|
2612
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
2613
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2614
|
+
default:
|
|
2615
|
+
const parsedBody = parsedOutput.body;
|
|
2616
|
+
return throwDefaultError({
|
|
2617
|
+
output,
|
|
2618
|
+
parsedBody,
|
|
2619
|
+
errorCode
|
|
2620
|
+
});
|
|
2621
|
+
}
|
|
2622
|
+
}, "de_StopExecutionCommandError");
|
|
2623
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2624
|
+
if (output.statusCode >= 300) {
|
|
2625
|
+
return de_TagResourceCommandError(output, context);
|
|
2626
|
+
}
|
|
2627
|
+
const data = await parseBody(output.body, context);
|
|
2628
|
+
let contents = {};
|
|
2629
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2630
|
+
const response = {
|
|
2631
|
+
$metadata: deserializeMetadata(output),
|
|
2632
|
+
...contents
|
|
2633
|
+
};
|
|
2634
|
+
return response;
|
|
2635
|
+
}, "de_TagResourceCommand");
|
|
2636
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2637
|
+
const parsedOutput = {
|
|
2638
|
+
...output,
|
|
2639
|
+
body: await parseErrorBody(output.body, context)
|
|
2640
|
+
};
|
|
2641
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2642
|
+
switch (errorCode) {
|
|
2643
|
+
case "InvalidArn":
|
|
2644
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
2645
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2646
|
+
case "ResourceNotFound":
|
|
2647
|
+
case "com.amazonaws.sfn#ResourceNotFound":
|
|
2648
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
2649
|
+
case "TooManyTags":
|
|
2650
|
+
case "com.amazonaws.sfn#TooManyTags":
|
|
2651
|
+
throw await de_TooManyTagsRes(parsedOutput, context);
|
|
2652
|
+
default:
|
|
2653
|
+
const parsedBody = parsedOutput.body;
|
|
2654
|
+
return throwDefaultError({
|
|
2655
|
+
output,
|
|
2656
|
+
parsedBody,
|
|
2657
|
+
errorCode
|
|
2658
|
+
});
|
|
2659
|
+
}
|
|
2660
|
+
}, "de_TagResourceCommandError");
|
|
2661
|
+
var de_TestStateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2662
|
+
if (output.statusCode >= 300) {
|
|
2663
|
+
return de_TestStateCommandError(output, context);
|
|
2664
|
+
}
|
|
2665
|
+
const data = await parseBody(output.body, context);
|
|
2666
|
+
let contents = {};
|
|
2667
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2668
|
+
const response = {
|
|
2669
|
+
$metadata: deserializeMetadata(output),
|
|
2670
|
+
...contents
|
|
2671
|
+
};
|
|
2672
|
+
return response;
|
|
2673
|
+
}, "de_TestStateCommand");
|
|
2674
|
+
var de_TestStateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2675
|
+
const parsedOutput = {
|
|
2676
|
+
...output,
|
|
2677
|
+
body: await parseErrorBody(output.body, context)
|
|
2678
|
+
};
|
|
2679
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2680
|
+
switch (errorCode) {
|
|
2681
|
+
case "InvalidArn":
|
|
2682
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
2683
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2684
|
+
case "InvalidDefinition":
|
|
2685
|
+
case "com.amazonaws.sfn#InvalidDefinition":
|
|
2686
|
+
throw await de_InvalidDefinitionRes(parsedOutput, context);
|
|
2687
|
+
case "InvalidExecutionInput":
|
|
2688
|
+
case "com.amazonaws.sfn#InvalidExecutionInput":
|
|
2689
|
+
throw await de_InvalidExecutionInputRes(parsedOutput, context);
|
|
2690
|
+
case "ValidationException":
|
|
2691
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
2692
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2693
|
+
default:
|
|
2694
|
+
const parsedBody = parsedOutput.body;
|
|
2695
|
+
return throwDefaultError({
|
|
2696
|
+
output,
|
|
2697
|
+
parsedBody,
|
|
2698
|
+
errorCode
|
|
2699
|
+
});
|
|
2700
|
+
}
|
|
2701
|
+
}, "de_TestStateCommandError");
|
|
2702
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2703
|
+
if (output.statusCode >= 300) {
|
|
2704
|
+
return de_UntagResourceCommandError(output, context);
|
|
2705
|
+
}
|
|
2706
|
+
const data = await parseBody(output.body, context);
|
|
2707
|
+
let contents = {};
|
|
2708
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2709
|
+
const response = {
|
|
2710
|
+
$metadata: deserializeMetadata(output),
|
|
2711
|
+
...contents
|
|
2712
|
+
};
|
|
2713
|
+
return response;
|
|
2714
|
+
}, "de_UntagResourceCommand");
|
|
2715
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2716
|
+
const parsedOutput = {
|
|
2717
|
+
...output,
|
|
2718
|
+
body: await parseErrorBody(output.body, context)
|
|
2719
|
+
};
|
|
2720
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2721
|
+
switch (errorCode) {
|
|
2722
|
+
case "InvalidArn":
|
|
2723
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
2724
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2725
|
+
case "ResourceNotFound":
|
|
2726
|
+
case "com.amazonaws.sfn#ResourceNotFound":
|
|
2727
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
2728
|
+
default:
|
|
2729
|
+
const parsedBody = parsedOutput.body;
|
|
2730
|
+
return throwDefaultError({
|
|
2731
|
+
output,
|
|
2732
|
+
parsedBody,
|
|
2733
|
+
errorCode
|
|
2734
|
+
});
|
|
2735
|
+
}
|
|
2736
|
+
}, "de_UntagResourceCommandError");
|
|
2737
|
+
var de_UpdateMapRunCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2738
|
+
if (output.statusCode >= 300) {
|
|
2739
|
+
return de_UpdateMapRunCommandError(output, context);
|
|
2740
|
+
}
|
|
2741
|
+
const data = await parseBody(output.body, context);
|
|
2742
|
+
let contents = {};
|
|
2743
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2744
|
+
const response = {
|
|
2745
|
+
$metadata: deserializeMetadata(output),
|
|
2746
|
+
...contents
|
|
2747
|
+
};
|
|
2748
|
+
return response;
|
|
2749
|
+
}, "de_UpdateMapRunCommand");
|
|
2750
|
+
var de_UpdateMapRunCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2751
|
+
const parsedOutput = {
|
|
2752
|
+
...output,
|
|
2753
|
+
body: await parseErrorBody(output.body, context)
|
|
2754
|
+
};
|
|
2755
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2756
|
+
switch (errorCode) {
|
|
2757
|
+
case "InvalidArn":
|
|
2758
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
2759
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2760
|
+
case "ResourceNotFound":
|
|
2761
|
+
case "com.amazonaws.sfn#ResourceNotFound":
|
|
2762
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
2763
|
+
case "ValidationException":
|
|
2764
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
2765
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2766
|
+
default:
|
|
2767
|
+
const parsedBody = parsedOutput.body;
|
|
2768
|
+
return throwDefaultError({
|
|
2769
|
+
output,
|
|
2770
|
+
parsedBody,
|
|
2771
|
+
errorCode
|
|
2772
|
+
});
|
|
2773
|
+
}
|
|
2774
|
+
}, "de_UpdateMapRunCommandError");
|
|
2775
|
+
var de_UpdateStateMachineCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2776
|
+
if (output.statusCode >= 300) {
|
|
2777
|
+
return de_UpdateStateMachineCommandError(output, context);
|
|
2778
|
+
}
|
|
2779
|
+
const data = await parseBody(output.body, context);
|
|
2780
|
+
let contents = {};
|
|
2781
|
+
contents = de_UpdateStateMachineOutput(data, context);
|
|
2782
|
+
const response = {
|
|
2783
|
+
$metadata: deserializeMetadata(output),
|
|
2784
|
+
...contents
|
|
2785
|
+
};
|
|
2786
|
+
return response;
|
|
2787
|
+
}, "de_UpdateStateMachineCommand");
|
|
2788
|
+
var de_UpdateStateMachineCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2789
|
+
const parsedOutput = {
|
|
2790
|
+
...output,
|
|
2791
|
+
body: await parseErrorBody(output.body, context)
|
|
2792
|
+
};
|
|
2793
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2794
|
+
switch (errorCode) {
|
|
2795
|
+
case "ConflictException":
|
|
2796
|
+
case "com.amazonaws.sfn#ConflictException":
|
|
2797
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2798
|
+
case "InvalidArn":
|
|
2799
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
2800
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2801
|
+
case "InvalidDefinition":
|
|
2802
|
+
case "com.amazonaws.sfn#InvalidDefinition":
|
|
2803
|
+
throw await de_InvalidDefinitionRes(parsedOutput, context);
|
|
2804
|
+
case "InvalidLoggingConfiguration":
|
|
2805
|
+
case "com.amazonaws.sfn#InvalidLoggingConfiguration":
|
|
2806
|
+
throw await de_InvalidLoggingConfigurationRes(parsedOutput, context);
|
|
2807
|
+
case "InvalidTracingConfiguration":
|
|
2808
|
+
case "com.amazonaws.sfn#InvalidTracingConfiguration":
|
|
2809
|
+
throw await de_InvalidTracingConfigurationRes(parsedOutput, context);
|
|
2810
|
+
case "MissingRequiredParameter":
|
|
2811
|
+
case "com.amazonaws.sfn#MissingRequiredParameter":
|
|
2812
|
+
throw await de_MissingRequiredParameterRes(parsedOutput, context);
|
|
2813
|
+
case "ServiceQuotaExceededException":
|
|
2814
|
+
case "com.amazonaws.sfn#ServiceQuotaExceededException":
|
|
2815
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2816
|
+
case "StateMachineDeleting":
|
|
2817
|
+
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
2818
|
+
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
2819
|
+
case "StateMachineDoesNotExist":
|
|
2820
|
+
case "com.amazonaws.sfn#StateMachineDoesNotExist":
|
|
2821
|
+
throw await de_StateMachineDoesNotExistRes(parsedOutput, context);
|
|
2822
|
+
case "ValidationException":
|
|
2823
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
2824
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2825
|
+
default:
|
|
2826
|
+
const parsedBody = parsedOutput.body;
|
|
2827
|
+
return throwDefaultError({
|
|
2828
|
+
output,
|
|
2829
|
+
parsedBody,
|
|
2830
|
+
errorCode
|
|
2831
|
+
});
|
|
2832
|
+
}
|
|
2833
|
+
}, "de_UpdateStateMachineCommandError");
|
|
2834
|
+
var de_UpdateStateMachineAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2835
|
+
if (output.statusCode >= 300) {
|
|
2836
|
+
return de_UpdateStateMachineAliasCommandError(output, context);
|
|
2837
|
+
}
|
|
2838
|
+
const data = await parseBody(output.body, context);
|
|
2839
|
+
let contents = {};
|
|
2840
|
+
contents = de_UpdateStateMachineAliasOutput(data, context);
|
|
2841
|
+
const response = {
|
|
2842
|
+
$metadata: deserializeMetadata(output),
|
|
2843
|
+
...contents
|
|
2844
|
+
};
|
|
2845
|
+
return response;
|
|
2846
|
+
}, "de_UpdateStateMachineAliasCommand");
|
|
2847
|
+
var de_UpdateStateMachineAliasCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2848
|
+
const parsedOutput = {
|
|
2849
|
+
...output,
|
|
2850
|
+
body: await parseErrorBody(output.body, context)
|
|
2851
|
+
};
|
|
2852
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2853
|
+
switch (errorCode) {
|
|
2854
|
+
case "ConflictException":
|
|
2855
|
+
case "com.amazonaws.sfn#ConflictException":
|
|
2856
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2857
|
+
case "InvalidArn":
|
|
2858
|
+
case "com.amazonaws.sfn#InvalidArn":
|
|
2859
|
+
throw await de_InvalidArnRes(parsedOutput, context);
|
|
2860
|
+
case "ResourceNotFound":
|
|
2861
|
+
case "com.amazonaws.sfn#ResourceNotFound":
|
|
2862
|
+
throw await de_ResourceNotFoundRes(parsedOutput, context);
|
|
2863
|
+
case "StateMachineDeleting":
|
|
2864
|
+
case "com.amazonaws.sfn#StateMachineDeleting":
|
|
2865
|
+
throw await de_StateMachineDeletingRes(parsedOutput, context);
|
|
2866
|
+
case "ValidationException":
|
|
2867
|
+
case "com.amazonaws.sfn#ValidationException":
|
|
2868
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2869
|
+
default:
|
|
2870
|
+
const parsedBody = parsedOutput.body;
|
|
2871
|
+
return throwDefaultError({
|
|
2872
|
+
output,
|
|
2873
|
+
parsedBody,
|
|
2874
|
+
errorCode
|
|
2875
|
+
});
|
|
2876
|
+
}
|
|
2877
|
+
}, "de_UpdateStateMachineAliasCommandError");
|
|
2878
|
+
var de_ActivityDoesNotExistRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2879
|
+
const body = parsedOutput.body;
|
|
2880
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2881
|
+
const exception = new ActivityDoesNotExist({
|
|
2882
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2883
|
+
...deserialized
|
|
2884
|
+
});
|
|
2885
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2886
|
+
}, "de_ActivityDoesNotExistRes");
|
|
2887
|
+
var de_ActivityLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2888
|
+
const body = parsedOutput.body;
|
|
2889
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2890
|
+
const exception = new ActivityLimitExceeded({
|
|
2891
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2892
|
+
...deserialized
|
|
2893
|
+
});
|
|
2894
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2895
|
+
}, "de_ActivityLimitExceededRes");
|
|
2896
|
+
var de_ActivityWorkerLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2897
|
+
const body = parsedOutput.body;
|
|
2898
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2899
|
+
const exception = new ActivityWorkerLimitExceeded({
|
|
2900
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2901
|
+
...deserialized
|
|
2902
|
+
});
|
|
2903
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2904
|
+
}, "de_ActivityWorkerLimitExceededRes");
|
|
2905
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2906
|
+
const body = parsedOutput.body;
|
|
2907
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2908
|
+
const exception = new ConflictException({
|
|
2909
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2910
|
+
...deserialized
|
|
2911
|
+
});
|
|
2912
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2913
|
+
}, "de_ConflictExceptionRes");
|
|
2914
|
+
var de_ExecutionAlreadyExistsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2915
|
+
const body = parsedOutput.body;
|
|
2916
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2917
|
+
const exception = new ExecutionAlreadyExists({
|
|
2918
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2919
|
+
...deserialized
|
|
2920
|
+
});
|
|
2921
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2922
|
+
}, "de_ExecutionAlreadyExistsRes");
|
|
2923
|
+
var de_ExecutionDoesNotExistRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2924
|
+
const body = parsedOutput.body;
|
|
2925
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2926
|
+
const exception = new ExecutionDoesNotExist({
|
|
2927
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2928
|
+
...deserialized
|
|
2929
|
+
});
|
|
2930
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2931
|
+
}, "de_ExecutionDoesNotExistRes");
|
|
2932
|
+
var de_ExecutionLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2933
|
+
const body = parsedOutput.body;
|
|
2934
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2935
|
+
const exception = new ExecutionLimitExceeded({
|
|
2936
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2937
|
+
...deserialized
|
|
2938
|
+
});
|
|
2939
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2940
|
+
}, "de_ExecutionLimitExceededRes");
|
|
2941
|
+
var de_ExecutionNotRedrivableRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2942
|
+
const body = parsedOutput.body;
|
|
2943
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2944
|
+
const exception = new ExecutionNotRedrivable({
|
|
2945
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2946
|
+
...deserialized
|
|
2947
|
+
});
|
|
2948
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2949
|
+
}, "de_ExecutionNotRedrivableRes");
|
|
2950
|
+
var de_InvalidArnRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2951
|
+
const body = parsedOutput.body;
|
|
2952
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2953
|
+
const exception = new InvalidArn({
|
|
2954
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2955
|
+
...deserialized
|
|
2956
|
+
});
|
|
2957
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2958
|
+
}, "de_InvalidArnRes");
|
|
2959
|
+
var de_InvalidDefinitionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2960
|
+
const body = parsedOutput.body;
|
|
2961
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2962
|
+
const exception = new InvalidDefinition({
|
|
2963
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2964
|
+
...deserialized
|
|
2965
|
+
});
|
|
2966
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2967
|
+
}, "de_InvalidDefinitionRes");
|
|
2968
|
+
var de_InvalidExecutionInputRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2969
|
+
const body = parsedOutput.body;
|
|
2970
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2971
|
+
const exception = new InvalidExecutionInput({
|
|
2972
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2973
|
+
...deserialized
|
|
2974
|
+
});
|
|
2975
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2976
|
+
}, "de_InvalidExecutionInputRes");
|
|
2977
|
+
var de_InvalidLoggingConfigurationRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2978
|
+
const body = parsedOutput.body;
|
|
2979
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2980
|
+
const exception = new InvalidLoggingConfiguration({
|
|
2981
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2982
|
+
...deserialized
|
|
2983
|
+
});
|
|
2984
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2985
|
+
}, "de_InvalidLoggingConfigurationRes");
|
|
2986
|
+
var de_InvalidNameRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2987
|
+
const body = parsedOutput.body;
|
|
2988
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2989
|
+
const exception = new InvalidName({
|
|
2990
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2991
|
+
...deserialized
|
|
2992
|
+
});
|
|
2993
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
2994
|
+
}, "de_InvalidNameRes");
|
|
2995
|
+
var de_InvalidOutputRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2996
|
+
const body = parsedOutput.body;
|
|
2997
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
2998
|
+
const exception = new InvalidOutput({
|
|
2999
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3000
|
+
...deserialized
|
|
3001
|
+
});
|
|
3002
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3003
|
+
}, "de_InvalidOutputRes");
|
|
3004
|
+
var de_InvalidTokenRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3005
|
+
const body = parsedOutput.body;
|
|
3006
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3007
|
+
const exception = new InvalidToken({
|
|
3008
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3009
|
+
...deserialized
|
|
3010
|
+
});
|
|
3011
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3012
|
+
}, "de_InvalidTokenRes");
|
|
3013
|
+
var de_InvalidTracingConfigurationRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3014
|
+
const body = parsedOutput.body;
|
|
3015
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3016
|
+
const exception = new InvalidTracingConfiguration({
|
|
3017
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3018
|
+
...deserialized
|
|
3019
|
+
});
|
|
3020
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3021
|
+
}, "de_InvalidTracingConfigurationRes");
|
|
3022
|
+
var de_MissingRequiredParameterRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3023
|
+
const body = parsedOutput.body;
|
|
3024
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3025
|
+
const exception = new MissingRequiredParameter({
|
|
3026
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3027
|
+
...deserialized
|
|
3028
|
+
});
|
|
3029
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3030
|
+
}, "de_MissingRequiredParameterRes");
|
|
3031
|
+
var de_ResourceNotFoundRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3032
|
+
const body = parsedOutput.body;
|
|
3033
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3034
|
+
const exception = new ResourceNotFound({
|
|
3035
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3036
|
+
...deserialized
|
|
3037
|
+
});
|
|
3038
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3039
|
+
}, "de_ResourceNotFoundRes");
|
|
3040
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3041
|
+
const body = parsedOutput.body;
|
|
3042
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3043
|
+
const exception = new ServiceQuotaExceededException({
|
|
3044
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3045
|
+
...deserialized
|
|
3046
|
+
});
|
|
3047
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3048
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
3049
|
+
var de_StateMachineAlreadyExistsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3050
|
+
const body = parsedOutput.body;
|
|
3051
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3052
|
+
const exception = new StateMachineAlreadyExists({
|
|
3053
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3054
|
+
...deserialized
|
|
3055
|
+
});
|
|
3056
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3057
|
+
}, "de_StateMachineAlreadyExistsRes");
|
|
3058
|
+
var de_StateMachineDeletingRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3059
|
+
const body = parsedOutput.body;
|
|
3060
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3061
|
+
const exception = new StateMachineDeleting({
|
|
3062
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3063
|
+
...deserialized
|
|
3064
|
+
});
|
|
3065
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3066
|
+
}, "de_StateMachineDeletingRes");
|
|
3067
|
+
var de_StateMachineDoesNotExistRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3068
|
+
const body = parsedOutput.body;
|
|
3069
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3070
|
+
const exception = new StateMachineDoesNotExist({
|
|
3071
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3072
|
+
...deserialized
|
|
3073
|
+
});
|
|
3074
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3075
|
+
}, "de_StateMachineDoesNotExistRes");
|
|
3076
|
+
var de_StateMachineLimitExceededRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3077
|
+
const body = parsedOutput.body;
|
|
3078
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3079
|
+
const exception = new StateMachineLimitExceeded({
|
|
3080
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3081
|
+
...deserialized
|
|
3082
|
+
});
|
|
3083
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3084
|
+
}, "de_StateMachineLimitExceededRes");
|
|
3085
|
+
var de_StateMachineTypeNotSupportedRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3086
|
+
const body = parsedOutput.body;
|
|
3087
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3088
|
+
const exception = new StateMachineTypeNotSupported({
|
|
3089
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3090
|
+
...deserialized
|
|
3091
|
+
});
|
|
3092
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3093
|
+
}, "de_StateMachineTypeNotSupportedRes");
|
|
3094
|
+
var de_TaskDoesNotExistRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3095
|
+
const body = parsedOutput.body;
|
|
3096
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3097
|
+
const exception = new TaskDoesNotExist({
|
|
3098
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3099
|
+
...deserialized
|
|
3100
|
+
});
|
|
3101
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3102
|
+
}, "de_TaskDoesNotExistRes");
|
|
3103
|
+
var de_TaskTimedOutRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3104
|
+
const body = parsedOutput.body;
|
|
3105
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3106
|
+
const exception = new TaskTimedOut({
|
|
3107
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3108
|
+
...deserialized
|
|
3109
|
+
});
|
|
3110
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3111
|
+
}, "de_TaskTimedOutRes");
|
|
3112
|
+
var de_TooManyTagsRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3113
|
+
const body = parsedOutput.body;
|
|
3114
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3115
|
+
const exception = new TooManyTags({
|
|
3116
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3117
|
+
...deserialized
|
|
3118
|
+
});
|
|
3119
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3120
|
+
}, "de_TooManyTagsRes");
|
|
3121
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3122
|
+
const body = parsedOutput.body;
|
|
3123
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3124
|
+
const exception = new ValidationException({
|
|
3125
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3126
|
+
...deserialized
|
|
3127
|
+
});
|
|
3128
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3129
|
+
}, "de_ValidationExceptionRes");
|
|
3130
|
+
var se_RedriveExecutionInput = /* @__PURE__ */ __name((input, context) => {
|
|
3131
|
+
return (0, import_smithy_client.take)(input, {
|
|
3132
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
3133
|
+
executionArn: []
|
|
3134
|
+
});
|
|
3135
|
+
}, "se_RedriveExecutionInput");
|
|
3136
|
+
var se_UpdateMapRunInput = /* @__PURE__ */ __name((input, context) => {
|
|
3137
|
+
return (0, import_smithy_client.take)(input, {
|
|
3138
|
+
mapRunArn: [],
|
|
3139
|
+
maxConcurrency: [],
|
|
3140
|
+
toleratedFailureCount: [],
|
|
3141
|
+
toleratedFailurePercentage: import_smithy_client.serializeFloat
|
|
3142
|
+
});
|
|
3143
|
+
}, "se_UpdateMapRunInput");
|
|
3144
|
+
var de_ActivityList = /* @__PURE__ */ __name((output, context) => {
|
|
3145
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3146
|
+
return de_ActivityListItem(entry, context);
|
|
3147
|
+
});
|
|
3148
|
+
return retVal;
|
|
3149
|
+
}, "de_ActivityList");
|
|
3150
|
+
var de_ActivityListItem = /* @__PURE__ */ __name((output, context) => {
|
|
3151
|
+
return (0, import_smithy_client.take)(output, {
|
|
3152
|
+
activityArn: import_smithy_client.expectString,
|
|
3153
|
+
creationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3154
|
+
name: import_smithy_client.expectString
|
|
3155
|
+
});
|
|
3156
|
+
}, "de_ActivityListItem");
|
|
3157
|
+
var de_CreateActivityOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3158
|
+
return (0, import_smithy_client.take)(output, {
|
|
3159
|
+
activityArn: import_smithy_client.expectString,
|
|
3160
|
+
creationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3161
|
+
});
|
|
3162
|
+
}, "de_CreateActivityOutput");
|
|
3163
|
+
var de_CreateStateMachineAliasOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3164
|
+
return (0, import_smithy_client.take)(output, {
|
|
3165
|
+
creationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3166
|
+
stateMachineAliasArn: import_smithy_client.expectString
|
|
3167
|
+
});
|
|
3168
|
+
}, "de_CreateStateMachineAliasOutput");
|
|
3169
|
+
var de_CreateStateMachineOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3170
|
+
return (0, import_smithy_client.take)(output, {
|
|
3171
|
+
creationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3172
|
+
stateMachineArn: import_smithy_client.expectString,
|
|
3173
|
+
stateMachineVersionArn: import_smithy_client.expectString
|
|
3174
|
+
});
|
|
3175
|
+
}, "de_CreateStateMachineOutput");
|
|
3176
|
+
var de_DescribeActivityOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3177
|
+
return (0, import_smithy_client.take)(output, {
|
|
3178
|
+
activityArn: import_smithy_client.expectString,
|
|
3179
|
+
creationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3180
|
+
name: import_smithy_client.expectString
|
|
3181
|
+
});
|
|
3182
|
+
}, "de_DescribeActivityOutput");
|
|
3183
|
+
var de_DescribeExecutionOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3184
|
+
return (0, import_smithy_client.take)(output, {
|
|
3185
|
+
cause: import_smithy_client.expectString,
|
|
3186
|
+
error: import_smithy_client.expectString,
|
|
3187
|
+
executionArn: import_smithy_client.expectString,
|
|
3188
|
+
input: import_smithy_client.expectString,
|
|
3189
|
+
inputDetails: import_smithy_client._json,
|
|
3190
|
+
mapRunArn: import_smithy_client.expectString,
|
|
3191
|
+
name: import_smithy_client.expectString,
|
|
3192
|
+
output: import_smithy_client.expectString,
|
|
3193
|
+
outputDetails: import_smithy_client._json,
|
|
3194
|
+
redriveCount: import_smithy_client.expectInt32,
|
|
3195
|
+
redriveDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3196
|
+
redriveStatus: import_smithy_client.expectString,
|
|
3197
|
+
redriveStatusReason: import_smithy_client.expectString,
|
|
3198
|
+
startDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3199
|
+
stateMachineAliasArn: import_smithy_client.expectString,
|
|
3200
|
+
stateMachineArn: import_smithy_client.expectString,
|
|
3201
|
+
stateMachineVersionArn: import_smithy_client.expectString,
|
|
3202
|
+
status: import_smithy_client.expectString,
|
|
3203
|
+
stopDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3204
|
+
traceHeader: import_smithy_client.expectString
|
|
3205
|
+
});
|
|
3206
|
+
}, "de_DescribeExecutionOutput");
|
|
3207
|
+
var de_DescribeMapRunOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3208
|
+
return (0, import_smithy_client.take)(output, {
|
|
3209
|
+
executionArn: import_smithy_client.expectString,
|
|
3210
|
+
executionCounts: import_smithy_client._json,
|
|
3211
|
+
itemCounts: import_smithy_client._json,
|
|
3212
|
+
mapRunArn: import_smithy_client.expectString,
|
|
3213
|
+
maxConcurrency: import_smithy_client.expectInt32,
|
|
3214
|
+
redriveCount: import_smithy_client.expectInt32,
|
|
3215
|
+
redriveDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3216
|
+
startDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3217
|
+
status: import_smithy_client.expectString,
|
|
3218
|
+
stopDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3219
|
+
toleratedFailureCount: import_smithy_client.expectLong,
|
|
3220
|
+
toleratedFailurePercentage: import_smithy_client.limitedParseFloat32
|
|
3221
|
+
});
|
|
3222
|
+
}, "de_DescribeMapRunOutput");
|
|
3223
|
+
var de_DescribeStateMachineAliasOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3224
|
+
return (0, import_smithy_client.take)(output, {
|
|
3225
|
+
creationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3226
|
+
description: import_smithy_client.expectString,
|
|
3227
|
+
name: import_smithy_client.expectString,
|
|
3228
|
+
routingConfiguration: import_smithy_client._json,
|
|
3229
|
+
stateMachineAliasArn: import_smithy_client.expectString,
|
|
3230
|
+
updateDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3231
|
+
});
|
|
3232
|
+
}, "de_DescribeStateMachineAliasOutput");
|
|
3233
|
+
var de_DescribeStateMachineForExecutionOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3234
|
+
return (0, import_smithy_client.take)(output, {
|
|
3235
|
+
definition: import_smithy_client.expectString,
|
|
3236
|
+
label: import_smithy_client.expectString,
|
|
3237
|
+
loggingConfiguration: import_smithy_client._json,
|
|
3238
|
+
mapRunArn: import_smithy_client.expectString,
|
|
3239
|
+
name: import_smithy_client.expectString,
|
|
3240
|
+
revisionId: import_smithy_client.expectString,
|
|
3241
|
+
roleArn: import_smithy_client.expectString,
|
|
3242
|
+
stateMachineArn: import_smithy_client.expectString,
|
|
3243
|
+
tracingConfiguration: import_smithy_client._json,
|
|
3244
|
+
updateDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3245
|
+
});
|
|
3246
|
+
}, "de_DescribeStateMachineForExecutionOutput");
|
|
3247
|
+
var de_DescribeStateMachineOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3248
|
+
return (0, import_smithy_client.take)(output, {
|
|
3249
|
+
creationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3250
|
+
definition: import_smithy_client.expectString,
|
|
3251
|
+
description: import_smithy_client.expectString,
|
|
3252
|
+
label: import_smithy_client.expectString,
|
|
3253
|
+
loggingConfiguration: import_smithy_client._json,
|
|
3254
|
+
name: import_smithy_client.expectString,
|
|
3255
|
+
revisionId: import_smithy_client.expectString,
|
|
3256
|
+
roleArn: import_smithy_client.expectString,
|
|
3257
|
+
stateMachineArn: import_smithy_client.expectString,
|
|
3258
|
+
status: import_smithy_client.expectString,
|
|
3259
|
+
tracingConfiguration: import_smithy_client._json,
|
|
3260
|
+
type: import_smithy_client.expectString
|
|
3261
|
+
});
|
|
3262
|
+
}, "de_DescribeStateMachineOutput");
|
|
3263
|
+
var de_ExecutionList = /* @__PURE__ */ __name((output, context) => {
|
|
3264
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3265
|
+
return de_ExecutionListItem(entry, context);
|
|
3266
|
+
});
|
|
3267
|
+
return retVal;
|
|
3268
|
+
}, "de_ExecutionList");
|
|
3269
|
+
var de_ExecutionListItem = /* @__PURE__ */ __name((output, context) => {
|
|
3270
|
+
return (0, import_smithy_client.take)(output, {
|
|
3271
|
+
executionArn: import_smithy_client.expectString,
|
|
3272
|
+
itemCount: import_smithy_client.expectInt32,
|
|
3273
|
+
mapRunArn: import_smithy_client.expectString,
|
|
3274
|
+
name: import_smithy_client.expectString,
|
|
3275
|
+
redriveCount: import_smithy_client.expectInt32,
|
|
3276
|
+
redriveDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3277
|
+
startDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3278
|
+
stateMachineAliasArn: import_smithy_client.expectString,
|
|
3279
|
+
stateMachineArn: import_smithy_client.expectString,
|
|
3280
|
+
stateMachineVersionArn: import_smithy_client.expectString,
|
|
3281
|
+
status: import_smithy_client.expectString,
|
|
3282
|
+
stopDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3283
|
+
});
|
|
3284
|
+
}, "de_ExecutionListItem");
|
|
3285
|
+
var de_GetExecutionHistoryOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3286
|
+
return (0, import_smithy_client.take)(output, {
|
|
3287
|
+
events: (_) => de_HistoryEventList(_, context),
|
|
3288
|
+
nextToken: import_smithy_client.expectString
|
|
3289
|
+
});
|
|
3290
|
+
}, "de_GetExecutionHistoryOutput");
|
|
3291
|
+
var de_HistoryEvent = /* @__PURE__ */ __name((output, context) => {
|
|
3292
|
+
return (0, import_smithy_client.take)(output, {
|
|
3293
|
+
activityFailedEventDetails: import_smithy_client._json,
|
|
3294
|
+
activityScheduleFailedEventDetails: import_smithy_client._json,
|
|
3295
|
+
activityScheduledEventDetails: import_smithy_client._json,
|
|
3296
|
+
activityStartedEventDetails: import_smithy_client._json,
|
|
3297
|
+
activitySucceededEventDetails: import_smithy_client._json,
|
|
3298
|
+
activityTimedOutEventDetails: import_smithy_client._json,
|
|
3299
|
+
executionAbortedEventDetails: import_smithy_client._json,
|
|
3300
|
+
executionFailedEventDetails: import_smithy_client._json,
|
|
3301
|
+
executionRedrivenEventDetails: import_smithy_client._json,
|
|
3302
|
+
executionStartedEventDetails: import_smithy_client._json,
|
|
3303
|
+
executionSucceededEventDetails: import_smithy_client._json,
|
|
3304
|
+
executionTimedOutEventDetails: import_smithy_client._json,
|
|
3305
|
+
id: import_smithy_client.expectLong,
|
|
3306
|
+
lambdaFunctionFailedEventDetails: import_smithy_client._json,
|
|
3307
|
+
lambdaFunctionScheduleFailedEventDetails: import_smithy_client._json,
|
|
3308
|
+
lambdaFunctionScheduledEventDetails: import_smithy_client._json,
|
|
3309
|
+
lambdaFunctionStartFailedEventDetails: import_smithy_client._json,
|
|
3310
|
+
lambdaFunctionSucceededEventDetails: import_smithy_client._json,
|
|
3311
|
+
lambdaFunctionTimedOutEventDetails: import_smithy_client._json,
|
|
3312
|
+
mapIterationAbortedEventDetails: import_smithy_client._json,
|
|
3313
|
+
mapIterationFailedEventDetails: import_smithy_client._json,
|
|
3314
|
+
mapIterationStartedEventDetails: import_smithy_client._json,
|
|
3315
|
+
mapIterationSucceededEventDetails: import_smithy_client._json,
|
|
3316
|
+
mapRunFailedEventDetails: import_smithy_client._json,
|
|
3317
|
+
mapRunRedrivenEventDetails: import_smithy_client._json,
|
|
3318
|
+
mapRunStartedEventDetails: import_smithy_client._json,
|
|
3319
|
+
mapStateStartedEventDetails: import_smithy_client._json,
|
|
3320
|
+
previousEventId: import_smithy_client.expectLong,
|
|
3321
|
+
stateEnteredEventDetails: import_smithy_client._json,
|
|
3322
|
+
stateExitedEventDetails: import_smithy_client._json,
|
|
3323
|
+
taskFailedEventDetails: import_smithy_client._json,
|
|
3324
|
+
taskScheduledEventDetails: import_smithy_client._json,
|
|
3325
|
+
taskStartFailedEventDetails: import_smithy_client._json,
|
|
3326
|
+
taskStartedEventDetails: import_smithy_client._json,
|
|
3327
|
+
taskSubmitFailedEventDetails: import_smithy_client._json,
|
|
3328
|
+
taskSubmittedEventDetails: import_smithy_client._json,
|
|
3329
|
+
taskSucceededEventDetails: import_smithy_client._json,
|
|
3330
|
+
taskTimedOutEventDetails: import_smithy_client._json,
|
|
3331
|
+
timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3332
|
+
type: import_smithy_client.expectString
|
|
3333
|
+
});
|
|
3334
|
+
}, "de_HistoryEvent");
|
|
3335
|
+
var de_HistoryEventList = /* @__PURE__ */ __name((output, context) => {
|
|
3336
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3337
|
+
return de_HistoryEvent(entry, context);
|
|
3338
|
+
});
|
|
3339
|
+
return retVal;
|
|
3340
|
+
}, "de_HistoryEventList");
|
|
3341
|
+
var de_ListActivitiesOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3342
|
+
return (0, import_smithy_client.take)(output, {
|
|
3343
|
+
activities: (_) => de_ActivityList(_, context),
|
|
3344
|
+
nextToken: import_smithy_client.expectString
|
|
3345
|
+
});
|
|
3346
|
+
}, "de_ListActivitiesOutput");
|
|
3347
|
+
var de_ListExecutionsOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3348
|
+
return (0, import_smithy_client.take)(output, {
|
|
3349
|
+
executions: (_) => de_ExecutionList(_, context),
|
|
3350
|
+
nextToken: import_smithy_client.expectString
|
|
3351
|
+
});
|
|
3352
|
+
}, "de_ListExecutionsOutput");
|
|
3353
|
+
var de_ListMapRunsOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3354
|
+
return (0, import_smithy_client.take)(output, {
|
|
3355
|
+
mapRuns: (_) => de_MapRunList(_, context),
|
|
3356
|
+
nextToken: import_smithy_client.expectString
|
|
3357
|
+
});
|
|
3358
|
+
}, "de_ListMapRunsOutput");
|
|
3359
|
+
var de_ListStateMachineAliasesOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3360
|
+
return (0, import_smithy_client.take)(output, {
|
|
3361
|
+
nextToken: import_smithy_client.expectString,
|
|
3362
|
+
stateMachineAliases: (_) => de_StateMachineAliasList(_, context)
|
|
3363
|
+
});
|
|
3364
|
+
}, "de_ListStateMachineAliasesOutput");
|
|
3365
|
+
var de_ListStateMachinesOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3366
|
+
return (0, import_smithy_client.take)(output, {
|
|
3367
|
+
nextToken: import_smithy_client.expectString,
|
|
3368
|
+
stateMachines: (_) => de_StateMachineList(_, context)
|
|
3369
|
+
});
|
|
3370
|
+
}, "de_ListStateMachinesOutput");
|
|
3371
|
+
var de_ListStateMachineVersionsOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3372
|
+
return (0, import_smithy_client.take)(output, {
|
|
3373
|
+
nextToken: import_smithy_client.expectString,
|
|
3374
|
+
stateMachineVersions: (_) => de_StateMachineVersionList(_, context)
|
|
3375
|
+
});
|
|
3376
|
+
}, "de_ListStateMachineVersionsOutput");
|
|
3377
|
+
var de_MapRunList = /* @__PURE__ */ __name((output, context) => {
|
|
3378
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3379
|
+
return de_MapRunListItem(entry, context);
|
|
3380
|
+
});
|
|
3381
|
+
return retVal;
|
|
3382
|
+
}, "de_MapRunList");
|
|
3383
|
+
var de_MapRunListItem = /* @__PURE__ */ __name((output, context) => {
|
|
3384
|
+
return (0, import_smithy_client.take)(output, {
|
|
3385
|
+
executionArn: import_smithy_client.expectString,
|
|
3386
|
+
mapRunArn: import_smithy_client.expectString,
|
|
3387
|
+
startDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3388
|
+
stateMachineArn: import_smithy_client.expectString,
|
|
3389
|
+
stopDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3390
|
+
});
|
|
3391
|
+
}, "de_MapRunListItem");
|
|
3392
|
+
var de_PublishStateMachineVersionOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3393
|
+
return (0, import_smithy_client.take)(output, {
|
|
3394
|
+
creationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3395
|
+
stateMachineVersionArn: import_smithy_client.expectString
|
|
3396
|
+
});
|
|
3397
|
+
}, "de_PublishStateMachineVersionOutput");
|
|
3398
|
+
var de_RedriveExecutionOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3399
|
+
return (0, import_smithy_client.take)(output, {
|
|
3400
|
+
redriveDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3401
|
+
});
|
|
3402
|
+
}, "de_RedriveExecutionOutput");
|
|
3403
|
+
var de_StartExecutionOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3404
|
+
return (0, import_smithy_client.take)(output, {
|
|
3405
|
+
executionArn: import_smithy_client.expectString,
|
|
3406
|
+
startDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3407
|
+
});
|
|
3408
|
+
}, "de_StartExecutionOutput");
|
|
3409
|
+
var de_StartSyncExecutionOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3410
|
+
return (0, import_smithy_client.take)(output, {
|
|
3411
|
+
billingDetails: import_smithy_client._json,
|
|
3412
|
+
cause: import_smithy_client.expectString,
|
|
3413
|
+
error: import_smithy_client.expectString,
|
|
3414
|
+
executionArn: import_smithy_client.expectString,
|
|
3415
|
+
input: import_smithy_client.expectString,
|
|
3416
|
+
inputDetails: import_smithy_client._json,
|
|
3417
|
+
name: import_smithy_client.expectString,
|
|
3418
|
+
output: import_smithy_client.expectString,
|
|
3419
|
+
outputDetails: import_smithy_client._json,
|
|
3420
|
+
startDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3421
|
+
stateMachineArn: import_smithy_client.expectString,
|
|
3422
|
+
status: import_smithy_client.expectString,
|
|
3423
|
+
stopDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3424
|
+
traceHeader: import_smithy_client.expectString
|
|
3425
|
+
});
|
|
3426
|
+
}, "de_StartSyncExecutionOutput");
|
|
3427
|
+
var de_StateMachineAliasList = /* @__PURE__ */ __name((output, context) => {
|
|
3428
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3429
|
+
return de_StateMachineAliasListItem(entry, context);
|
|
3430
|
+
});
|
|
3431
|
+
return retVal;
|
|
3432
|
+
}, "de_StateMachineAliasList");
|
|
3433
|
+
var de_StateMachineAliasListItem = /* @__PURE__ */ __name((output, context) => {
|
|
3434
|
+
return (0, import_smithy_client.take)(output, {
|
|
3435
|
+
creationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3436
|
+
stateMachineAliasArn: import_smithy_client.expectString
|
|
3437
|
+
});
|
|
3438
|
+
}, "de_StateMachineAliasListItem");
|
|
3439
|
+
var de_StateMachineList = /* @__PURE__ */ __name((output, context) => {
|
|
3440
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3441
|
+
return de_StateMachineListItem(entry, context);
|
|
3442
|
+
});
|
|
3443
|
+
return retVal;
|
|
3444
|
+
}, "de_StateMachineList");
|
|
3445
|
+
var de_StateMachineListItem = /* @__PURE__ */ __name((output, context) => {
|
|
3446
|
+
return (0, import_smithy_client.take)(output, {
|
|
3447
|
+
creationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3448
|
+
name: import_smithy_client.expectString,
|
|
3449
|
+
stateMachineArn: import_smithy_client.expectString,
|
|
3450
|
+
type: import_smithy_client.expectString
|
|
3451
|
+
});
|
|
3452
|
+
}, "de_StateMachineListItem");
|
|
3453
|
+
var de_StateMachineVersionList = /* @__PURE__ */ __name((output, context) => {
|
|
3454
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3455
|
+
return de_StateMachineVersionListItem(entry, context);
|
|
3456
|
+
});
|
|
3457
|
+
return retVal;
|
|
3458
|
+
}, "de_StateMachineVersionList");
|
|
3459
|
+
var de_StateMachineVersionListItem = /* @__PURE__ */ __name((output, context) => {
|
|
3460
|
+
return (0, import_smithy_client.take)(output, {
|
|
3461
|
+
creationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
3462
|
+
stateMachineVersionArn: import_smithy_client.expectString
|
|
3463
|
+
});
|
|
3464
|
+
}, "de_StateMachineVersionListItem");
|
|
3465
|
+
var de_StopExecutionOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3466
|
+
return (0, import_smithy_client.take)(output, {
|
|
3467
|
+
stopDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3468
|
+
});
|
|
3469
|
+
}, "de_StopExecutionOutput");
|
|
3470
|
+
var de_UpdateStateMachineAliasOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3471
|
+
return (0, import_smithy_client.take)(output, {
|
|
3472
|
+
updateDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3473
|
+
});
|
|
3474
|
+
}, "de_UpdateStateMachineAliasOutput");
|
|
3475
|
+
var de_UpdateStateMachineOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3476
|
+
return (0, import_smithy_client.take)(output, {
|
|
3477
|
+
revisionId: import_smithy_client.expectString,
|
|
3478
|
+
stateMachineVersionArn: import_smithy_client.expectString,
|
|
3479
|
+
updateDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3480
|
+
});
|
|
3481
|
+
}, "de_UpdateStateMachineOutput");
|
|
3482
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
3483
|
+
httpStatusCode: output.statusCode,
|
|
3484
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
3485
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3486
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
3487
|
+
}), "deserializeMetadata");
|
|
3488
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
3489
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(SFNServiceException);
|
|
3490
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
3491
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3492
|
+
const contents = {
|
|
3493
|
+
protocol,
|
|
3494
|
+
hostname,
|
|
3495
|
+
port,
|
|
3496
|
+
method: "POST",
|
|
3497
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
3498
|
+
headers
|
|
3499
|
+
};
|
|
3500
|
+
if (resolvedHostname !== void 0) {
|
|
3501
|
+
contents.hostname = resolvedHostname;
|
|
3502
|
+
}
|
|
3503
|
+
if (body !== void 0) {
|
|
3504
|
+
contents.body = body;
|
|
3505
|
+
}
|
|
3506
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
3507
|
+
}, "buildHttpRpcRequest");
|
|
3508
|
+
function sharedHeaders(operation) {
|
|
3509
|
+
return {
|
|
3510
|
+
"content-type": "application/x-amz-json-1.0",
|
|
3511
|
+
"x-amz-target": `AWSStepFunctions.${operation}`
|
|
3512
|
+
};
|
|
3513
|
+
}
|
|
3514
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
3515
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3516
|
+
if (encoded.length) {
|
|
3517
|
+
return JSON.parse(encoded);
|
|
3518
|
+
}
|
|
3519
|
+
return {};
|
|
3520
|
+
}), "parseBody");
|
|
3521
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
3522
|
+
const value = await parseBody(errorBody, context);
|
|
3523
|
+
value.message = value.message ?? value.Message;
|
|
3524
|
+
return value;
|
|
3525
|
+
}, "parseErrorBody");
|
|
3526
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
3527
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
3528
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
3529
|
+
let cleanValue = rawValue;
|
|
3530
|
+
if (typeof cleanValue === "number") {
|
|
3531
|
+
cleanValue = cleanValue.toString();
|
|
3532
|
+
}
|
|
3533
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
3534
|
+
cleanValue = cleanValue.split(",")[0];
|
|
3535
|
+
}
|
|
3536
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
3537
|
+
cleanValue = cleanValue.split(":")[0];
|
|
3538
|
+
}
|
|
3539
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
3540
|
+
cleanValue = cleanValue.split("#")[1];
|
|
3541
|
+
}
|
|
3542
|
+
return cleanValue;
|
|
3543
|
+
}, "sanitizeErrorCode");
|
|
3544
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
3545
|
+
if (headerKey !== void 0) {
|
|
3546
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
3547
|
+
}
|
|
3548
|
+
if (data.code !== void 0) {
|
|
3549
|
+
return sanitizeErrorCode(data.code);
|
|
3550
|
+
}
|
|
3551
|
+
if (data["__type"] !== void 0) {
|
|
3552
|
+
return sanitizeErrorCode(data["__type"]);
|
|
3553
|
+
}
|
|
3554
|
+
}, "loadRestJsonErrorCode");
|
|
3555
|
+
|
|
3556
|
+
// src/commands/CreateActivityCommand.ts
|
|
3557
|
+
var _CreateActivityCommand = class _CreateActivityCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3558
|
+
...commonParams
|
|
3559
|
+
}).m(function(Command, cs, config, o) {
|
|
3560
|
+
return [
|
|
3561
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3562
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3563
|
+
];
|
|
3564
|
+
}).s("AWSStepFunctions", "CreateActivity", {}).n("SFNClient", "CreateActivityCommand").f(void 0, void 0).ser(se_CreateActivityCommand).de(de_CreateActivityCommand).build() {
|
|
3565
|
+
};
|
|
3566
|
+
__name(_CreateActivityCommand, "CreateActivityCommand");
|
|
3567
|
+
var CreateActivityCommand = _CreateActivityCommand;
|
|
3568
|
+
|
|
3569
|
+
// src/commands/CreateStateMachineAliasCommand.ts
|
|
3570
|
+
|
|
3571
|
+
|
|
3572
|
+
|
|
3573
|
+
|
|
3574
|
+
var _CreateStateMachineAliasCommand = class _CreateStateMachineAliasCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3575
|
+
...commonParams
|
|
3576
|
+
}).m(function(Command, cs, config, o) {
|
|
3577
|
+
return [
|
|
3578
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3579
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3580
|
+
];
|
|
3581
|
+
}).s("AWSStepFunctions", "CreateStateMachineAlias", {}).n("SFNClient", "CreateStateMachineAliasCommand").f(CreateStateMachineAliasInputFilterSensitiveLog, void 0).ser(se_CreateStateMachineAliasCommand).de(de_CreateStateMachineAliasCommand).build() {
|
|
3582
|
+
};
|
|
3583
|
+
__name(_CreateStateMachineAliasCommand, "CreateStateMachineAliasCommand");
|
|
3584
|
+
var CreateStateMachineAliasCommand = _CreateStateMachineAliasCommand;
|
|
3585
|
+
|
|
3586
|
+
// src/commands/CreateStateMachineCommand.ts
|
|
3587
|
+
|
|
3588
|
+
|
|
3589
|
+
|
|
3590
|
+
|
|
3591
|
+
var _CreateStateMachineCommand = class _CreateStateMachineCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3592
|
+
...commonParams
|
|
3593
|
+
}).m(function(Command, cs, config, o) {
|
|
3594
|
+
return [
|
|
3595
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3596
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3597
|
+
];
|
|
3598
|
+
}).s("AWSStepFunctions", "CreateStateMachine", {}).n("SFNClient", "CreateStateMachineCommand").f(CreateStateMachineInputFilterSensitiveLog, void 0).ser(se_CreateStateMachineCommand).de(de_CreateStateMachineCommand).build() {
|
|
3599
|
+
};
|
|
3600
|
+
__name(_CreateStateMachineCommand, "CreateStateMachineCommand");
|
|
3601
|
+
var CreateStateMachineCommand = _CreateStateMachineCommand;
|
|
3602
|
+
|
|
3603
|
+
// src/commands/DeleteActivityCommand.ts
|
|
3604
|
+
|
|
3605
|
+
|
|
3606
|
+
|
|
3607
|
+
|
|
3608
|
+
var _DeleteActivityCommand = class _DeleteActivityCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3609
|
+
...commonParams
|
|
3610
|
+
}).m(function(Command, cs, config, o) {
|
|
3611
|
+
return [
|
|
3612
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3613
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3614
|
+
];
|
|
3615
|
+
}).s("AWSStepFunctions", "DeleteActivity", {}).n("SFNClient", "DeleteActivityCommand").f(void 0, void 0).ser(se_DeleteActivityCommand).de(de_DeleteActivityCommand).build() {
|
|
3616
|
+
};
|
|
3617
|
+
__name(_DeleteActivityCommand, "DeleteActivityCommand");
|
|
3618
|
+
var DeleteActivityCommand = _DeleteActivityCommand;
|
|
3619
|
+
|
|
3620
|
+
// src/commands/DeleteStateMachineAliasCommand.ts
|
|
3621
|
+
|
|
3622
|
+
|
|
3623
|
+
|
|
3624
|
+
|
|
3625
|
+
var _DeleteStateMachineAliasCommand = class _DeleteStateMachineAliasCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3626
|
+
...commonParams
|
|
3627
|
+
}).m(function(Command, cs, config, o) {
|
|
3628
|
+
return [
|
|
3629
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3630
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3631
|
+
];
|
|
3632
|
+
}).s("AWSStepFunctions", "DeleteStateMachineAlias", {}).n("SFNClient", "DeleteStateMachineAliasCommand").f(void 0, void 0).ser(se_DeleteStateMachineAliasCommand).de(de_DeleteStateMachineAliasCommand).build() {
|
|
3633
|
+
};
|
|
3634
|
+
__name(_DeleteStateMachineAliasCommand, "DeleteStateMachineAliasCommand");
|
|
3635
|
+
var DeleteStateMachineAliasCommand = _DeleteStateMachineAliasCommand;
|
|
3636
|
+
|
|
3637
|
+
// src/commands/DeleteStateMachineCommand.ts
|
|
3638
|
+
|
|
3639
|
+
|
|
3640
|
+
|
|
3641
|
+
|
|
3642
|
+
var _DeleteStateMachineCommand = class _DeleteStateMachineCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3643
|
+
...commonParams
|
|
3644
|
+
}).m(function(Command, cs, config, o) {
|
|
3645
|
+
return [
|
|
3646
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3647
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3648
|
+
];
|
|
3649
|
+
}).s("AWSStepFunctions", "DeleteStateMachine", {}).n("SFNClient", "DeleteStateMachineCommand").f(void 0, void 0).ser(se_DeleteStateMachineCommand).de(de_DeleteStateMachineCommand).build() {
|
|
3650
|
+
};
|
|
3651
|
+
__name(_DeleteStateMachineCommand, "DeleteStateMachineCommand");
|
|
3652
|
+
var DeleteStateMachineCommand = _DeleteStateMachineCommand;
|
|
3653
|
+
|
|
3654
|
+
// src/commands/DeleteStateMachineVersionCommand.ts
|
|
3655
|
+
|
|
3656
|
+
|
|
3657
|
+
|
|
3658
|
+
|
|
3659
|
+
var _DeleteStateMachineVersionCommand = class _DeleteStateMachineVersionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3660
|
+
...commonParams
|
|
3661
|
+
}).m(function(Command, cs, config, o) {
|
|
3662
|
+
return [
|
|
3663
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3664
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3665
|
+
];
|
|
3666
|
+
}).s("AWSStepFunctions", "DeleteStateMachineVersion", {}).n("SFNClient", "DeleteStateMachineVersionCommand").f(void 0, void 0).ser(se_DeleteStateMachineVersionCommand).de(de_DeleteStateMachineVersionCommand).build() {
|
|
3667
|
+
};
|
|
3668
|
+
__name(_DeleteStateMachineVersionCommand, "DeleteStateMachineVersionCommand");
|
|
3669
|
+
var DeleteStateMachineVersionCommand = _DeleteStateMachineVersionCommand;
|
|
3670
|
+
|
|
3671
|
+
// src/commands/DescribeActivityCommand.ts
|
|
3672
|
+
|
|
3673
|
+
|
|
3674
|
+
|
|
3675
|
+
|
|
3676
|
+
var _DescribeActivityCommand = class _DescribeActivityCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3677
|
+
...commonParams
|
|
3678
|
+
}).m(function(Command, cs, config, o) {
|
|
3679
|
+
return [
|
|
3680
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3681
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3682
|
+
];
|
|
3683
|
+
}).s("AWSStepFunctions", "DescribeActivity", {}).n("SFNClient", "DescribeActivityCommand").f(void 0, void 0).ser(se_DescribeActivityCommand).de(de_DescribeActivityCommand).build() {
|
|
3684
|
+
};
|
|
3685
|
+
__name(_DescribeActivityCommand, "DescribeActivityCommand");
|
|
3686
|
+
var DescribeActivityCommand = _DescribeActivityCommand;
|
|
3687
|
+
|
|
3688
|
+
// src/commands/DescribeExecutionCommand.ts
|
|
3689
|
+
|
|
3690
|
+
|
|
3691
|
+
|
|
3692
|
+
|
|
3693
|
+
var _DescribeExecutionCommand = class _DescribeExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3694
|
+
...commonParams
|
|
3695
|
+
}).m(function(Command, cs, config, o) {
|
|
3696
|
+
return [
|
|
3697
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3698
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3699
|
+
];
|
|
3700
|
+
}).s("AWSStepFunctions", "DescribeExecution", {}).n("SFNClient", "DescribeExecutionCommand").f(void 0, DescribeExecutionOutputFilterSensitiveLog).ser(se_DescribeExecutionCommand).de(de_DescribeExecutionCommand).build() {
|
|
3701
|
+
};
|
|
3702
|
+
__name(_DescribeExecutionCommand, "DescribeExecutionCommand");
|
|
3703
|
+
var DescribeExecutionCommand = _DescribeExecutionCommand;
|
|
3704
|
+
|
|
3705
|
+
// src/commands/DescribeMapRunCommand.ts
|
|
3706
|
+
|
|
3707
|
+
|
|
3708
|
+
|
|
3709
|
+
|
|
3710
|
+
var _DescribeMapRunCommand = class _DescribeMapRunCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3711
|
+
...commonParams
|
|
3712
|
+
}).m(function(Command, cs, config, o) {
|
|
3713
|
+
return [
|
|
3714
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3715
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3716
|
+
];
|
|
3717
|
+
}).s("AWSStepFunctions", "DescribeMapRun", {}).n("SFNClient", "DescribeMapRunCommand").f(void 0, void 0).ser(se_DescribeMapRunCommand).de(de_DescribeMapRunCommand).build() {
|
|
3718
|
+
};
|
|
3719
|
+
__name(_DescribeMapRunCommand, "DescribeMapRunCommand");
|
|
3720
|
+
var DescribeMapRunCommand = _DescribeMapRunCommand;
|
|
3721
|
+
|
|
3722
|
+
// src/commands/DescribeStateMachineAliasCommand.ts
|
|
3723
|
+
|
|
3724
|
+
|
|
3725
|
+
|
|
3726
|
+
|
|
3727
|
+
var _DescribeStateMachineAliasCommand = class _DescribeStateMachineAliasCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3728
|
+
...commonParams
|
|
3729
|
+
}).m(function(Command, cs, config, o) {
|
|
3730
|
+
return [
|
|
3731
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3732
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3733
|
+
];
|
|
3734
|
+
}).s("AWSStepFunctions", "DescribeStateMachineAlias", {}).n("SFNClient", "DescribeStateMachineAliasCommand").f(void 0, DescribeStateMachineAliasOutputFilterSensitiveLog).ser(se_DescribeStateMachineAliasCommand).de(de_DescribeStateMachineAliasCommand).build() {
|
|
3735
|
+
};
|
|
3736
|
+
__name(_DescribeStateMachineAliasCommand, "DescribeStateMachineAliasCommand");
|
|
3737
|
+
var DescribeStateMachineAliasCommand = _DescribeStateMachineAliasCommand;
|
|
3738
|
+
|
|
3739
|
+
// src/commands/DescribeStateMachineCommand.ts
|
|
3740
|
+
|
|
3741
|
+
|
|
3742
|
+
|
|
3743
|
+
|
|
3744
|
+
var _DescribeStateMachineCommand = class _DescribeStateMachineCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3745
|
+
...commonParams
|
|
3746
|
+
}).m(function(Command, cs, config, o) {
|
|
3747
|
+
return [
|
|
3748
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3749
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3750
|
+
];
|
|
3751
|
+
}).s("AWSStepFunctions", "DescribeStateMachine", {}).n("SFNClient", "DescribeStateMachineCommand").f(void 0, DescribeStateMachineOutputFilterSensitiveLog).ser(se_DescribeStateMachineCommand).de(de_DescribeStateMachineCommand).build() {
|
|
3752
|
+
};
|
|
3753
|
+
__name(_DescribeStateMachineCommand, "DescribeStateMachineCommand");
|
|
3754
|
+
var DescribeStateMachineCommand = _DescribeStateMachineCommand;
|
|
3755
|
+
|
|
3756
|
+
// src/commands/DescribeStateMachineForExecutionCommand.ts
|
|
3757
|
+
|
|
3758
|
+
|
|
3759
|
+
|
|
3760
|
+
|
|
3761
|
+
var _DescribeStateMachineForExecutionCommand = class _DescribeStateMachineForExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3762
|
+
...commonParams
|
|
3763
|
+
}).m(function(Command, cs, config, o) {
|
|
3764
|
+
return [
|
|
3765
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3766
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3767
|
+
];
|
|
3768
|
+
}).s("AWSStepFunctions", "DescribeStateMachineForExecution", {}).n("SFNClient", "DescribeStateMachineForExecutionCommand").f(void 0, DescribeStateMachineForExecutionOutputFilterSensitiveLog).ser(se_DescribeStateMachineForExecutionCommand).de(de_DescribeStateMachineForExecutionCommand).build() {
|
|
3769
|
+
};
|
|
3770
|
+
__name(_DescribeStateMachineForExecutionCommand, "DescribeStateMachineForExecutionCommand");
|
|
3771
|
+
var DescribeStateMachineForExecutionCommand = _DescribeStateMachineForExecutionCommand;
|
|
3772
|
+
|
|
3773
|
+
// src/commands/GetActivityTaskCommand.ts
|
|
3774
|
+
|
|
3775
|
+
|
|
3776
|
+
|
|
3777
|
+
|
|
3778
|
+
var _GetActivityTaskCommand = class _GetActivityTaskCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3779
|
+
...commonParams
|
|
3780
|
+
}).m(function(Command, cs, config, o) {
|
|
3781
|
+
return [
|
|
3782
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3783
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3784
|
+
];
|
|
3785
|
+
}).s("AWSStepFunctions", "GetActivityTask", {}).n("SFNClient", "GetActivityTaskCommand").f(void 0, GetActivityTaskOutputFilterSensitiveLog).ser(se_GetActivityTaskCommand).de(de_GetActivityTaskCommand).build() {
|
|
3786
|
+
};
|
|
3787
|
+
__name(_GetActivityTaskCommand, "GetActivityTaskCommand");
|
|
3788
|
+
var GetActivityTaskCommand = _GetActivityTaskCommand;
|
|
3789
|
+
|
|
3790
|
+
// src/commands/GetExecutionHistoryCommand.ts
|
|
3791
|
+
|
|
3792
|
+
|
|
3793
|
+
|
|
3794
|
+
|
|
3795
|
+
var _GetExecutionHistoryCommand = class _GetExecutionHistoryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3796
|
+
...commonParams
|
|
3797
|
+
}).m(function(Command, cs, config, o) {
|
|
3798
|
+
return [
|
|
3799
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3800
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3801
|
+
];
|
|
3802
|
+
}).s("AWSStepFunctions", "GetExecutionHistory", {}).n("SFNClient", "GetExecutionHistoryCommand").f(void 0, GetExecutionHistoryOutputFilterSensitiveLog).ser(se_GetExecutionHistoryCommand).de(de_GetExecutionHistoryCommand).build() {
|
|
3803
|
+
};
|
|
3804
|
+
__name(_GetExecutionHistoryCommand, "GetExecutionHistoryCommand");
|
|
3805
|
+
var GetExecutionHistoryCommand = _GetExecutionHistoryCommand;
|
|
3806
|
+
|
|
3807
|
+
// src/commands/ListActivitiesCommand.ts
|
|
3808
|
+
|
|
3809
|
+
|
|
3810
|
+
|
|
3811
|
+
|
|
3812
|
+
var _ListActivitiesCommand = class _ListActivitiesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3813
|
+
...commonParams
|
|
3814
|
+
}).m(function(Command, cs, config, o) {
|
|
3815
|
+
return [
|
|
3816
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3817
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3818
|
+
];
|
|
3819
|
+
}).s("AWSStepFunctions", "ListActivities", {}).n("SFNClient", "ListActivitiesCommand").f(void 0, void 0).ser(se_ListActivitiesCommand).de(de_ListActivitiesCommand).build() {
|
|
3820
|
+
};
|
|
3821
|
+
__name(_ListActivitiesCommand, "ListActivitiesCommand");
|
|
3822
|
+
var ListActivitiesCommand = _ListActivitiesCommand;
|
|
3823
|
+
|
|
3824
|
+
// src/commands/ListExecutionsCommand.ts
|
|
3825
|
+
|
|
3826
|
+
|
|
3827
|
+
|
|
3828
|
+
|
|
3829
|
+
var _ListExecutionsCommand = class _ListExecutionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3830
|
+
...commonParams
|
|
3831
|
+
}).m(function(Command, cs, config, o) {
|
|
3832
|
+
return [
|
|
3833
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3834
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3835
|
+
];
|
|
3836
|
+
}).s("AWSStepFunctions", "ListExecutions", {}).n("SFNClient", "ListExecutionsCommand").f(void 0, void 0).ser(se_ListExecutionsCommand).de(de_ListExecutionsCommand).build() {
|
|
3837
|
+
};
|
|
3838
|
+
__name(_ListExecutionsCommand, "ListExecutionsCommand");
|
|
3839
|
+
var ListExecutionsCommand = _ListExecutionsCommand;
|
|
3840
|
+
|
|
3841
|
+
// src/commands/ListMapRunsCommand.ts
|
|
3842
|
+
|
|
3843
|
+
|
|
3844
|
+
|
|
3845
|
+
|
|
3846
|
+
var _ListMapRunsCommand = class _ListMapRunsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3847
|
+
...commonParams
|
|
3848
|
+
}).m(function(Command, cs, config, o) {
|
|
3849
|
+
return [
|
|
3850
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3851
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3852
|
+
];
|
|
3853
|
+
}).s("AWSStepFunctions", "ListMapRuns", {}).n("SFNClient", "ListMapRunsCommand").f(void 0, void 0).ser(se_ListMapRunsCommand).de(de_ListMapRunsCommand).build() {
|
|
3854
|
+
};
|
|
3855
|
+
__name(_ListMapRunsCommand, "ListMapRunsCommand");
|
|
3856
|
+
var ListMapRunsCommand = _ListMapRunsCommand;
|
|
3857
|
+
|
|
3858
|
+
// src/commands/ListStateMachineAliasesCommand.ts
|
|
3859
|
+
|
|
3860
|
+
|
|
3861
|
+
|
|
3862
|
+
|
|
3863
|
+
var _ListStateMachineAliasesCommand = class _ListStateMachineAliasesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3864
|
+
...commonParams
|
|
3865
|
+
}).m(function(Command, cs, config, o) {
|
|
3866
|
+
return [
|
|
3867
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3868
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3869
|
+
];
|
|
3870
|
+
}).s("AWSStepFunctions", "ListStateMachineAliases", {}).n("SFNClient", "ListStateMachineAliasesCommand").f(void 0, void 0).ser(se_ListStateMachineAliasesCommand).de(de_ListStateMachineAliasesCommand).build() {
|
|
3871
|
+
};
|
|
3872
|
+
__name(_ListStateMachineAliasesCommand, "ListStateMachineAliasesCommand");
|
|
3873
|
+
var ListStateMachineAliasesCommand = _ListStateMachineAliasesCommand;
|
|
3874
|
+
|
|
3875
|
+
// src/commands/ListStateMachinesCommand.ts
|
|
3876
|
+
|
|
3877
|
+
|
|
3878
|
+
|
|
3879
|
+
|
|
3880
|
+
var _ListStateMachinesCommand = class _ListStateMachinesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3881
|
+
...commonParams
|
|
3882
|
+
}).m(function(Command, cs, config, o) {
|
|
3883
|
+
return [
|
|
3884
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3885
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3886
|
+
];
|
|
3887
|
+
}).s("AWSStepFunctions", "ListStateMachines", {}).n("SFNClient", "ListStateMachinesCommand").f(void 0, void 0).ser(se_ListStateMachinesCommand).de(de_ListStateMachinesCommand).build() {
|
|
3888
|
+
};
|
|
3889
|
+
__name(_ListStateMachinesCommand, "ListStateMachinesCommand");
|
|
3890
|
+
var ListStateMachinesCommand = _ListStateMachinesCommand;
|
|
3891
|
+
|
|
3892
|
+
// src/commands/ListStateMachineVersionsCommand.ts
|
|
3893
|
+
|
|
3894
|
+
|
|
3895
|
+
|
|
3896
|
+
|
|
3897
|
+
var _ListStateMachineVersionsCommand = class _ListStateMachineVersionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3898
|
+
...commonParams
|
|
3899
|
+
}).m(function(Command, cs, config, o) {
|
|
3900
|
+
return [
|
|
3901
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3902
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3903
|
+
];
|
|
3904
|
+
}).s("AWSStepFunctions", "ListStateMachineVersions", {}).n("SFNClient", "ListStateMachineVersionsCommand").f(void 0, void 0).ser(se_ListStateMachineVersionsCommand).de(de_ListStateMachineVersionsCommand).build() {
|
|
3905
|
+
};
|
|
3906
|
+
__name(_ListStateMachineVersionsCommand, "ListStateMachineVersionsCommand");
|
|
3907
|
+
var ListStateMachineVersionsCommand = _ListStateMachineVersionsCommand;
|
|
3908
|
+
|
|
3909
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
3910
|
+
|
|
3911
|
+
|
|
3912
|
+
|
|
3913
|
+
|
|
3914
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3915
|
+
...commonParams
|
|
3916
|
+
}).m(function(Command, cs, config, o) {
|
|
3917
|
+
return [
|
|
3918
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3919
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3920
|
+
];
|
|
3921
|
+
}).s("AWSStepFunctions", "ListTagsForResource", {}).n("SFNClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
3922
|
+
};
|
|
3923
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
3924
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
3925
|
+
|
|
3926
|
+
// src/commands/PublishStateMachineVersionCommand.ts
|
|
3927
|
+
|
|
3928
|
+
|
|
3929
|
+
|
|
3930
|
+
|
|
3931
|
+
var _PublishStateMachineVersionCommand = class _PublishStateMachineVersionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3932
|
+
...commonParams
|
|
3933
|
+
}).m(function(Command, cs, config, o) {
|
|
3934
|
+
return [
|
|
3935
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3936
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3937
|
+
];
|
|
3938
|
+
}).s("AWSStepFunctions", "PublishStateMachineVersion", {}).n("SFNClient", "PublishStateMachineVersionCommand").f(PublishStateMachineVersionInputFilterSensitiveLog, void 0).ser(se_PublishStateMachineVersionCommand).de(de_PublishStateMachineVersionCommand).build() {
|
|
3939
|
+
};
|
|
3940
|
+
__name(_PublishStateMachineVersionCommand, "PublishStateMachineVersionCommand");
|
|
3941
|
+
var PublishStateMachineVersionCommand = _PublishStateMachineVersionCommand;
|
|
3942
|
+
|
|
3943
|
+
// src/commands/RedriveExecutionCommand.ts
|
|
3944
|
+
|
|
3945
|
+
|
|
3946
|
+
|
|
3947
|
+
|
|
3948
|
+
var _RedriveExecutionCommand = class _RedriveExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3949
|
+
...commonParams
|
|
3950
|
+
}).m(function(Command, cs, config, o) {
|
|
3951
|
+
return [
|
|
3952
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3953
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3954
|
+
];
|
|
3955
|
+
}).s("AWSStepFunctions", "RedriveExecution", {}).n("SFNClient", "RedriveExecutionCommand").f(void 0, void 0).ser(se_RedriveExecutionCommand).de(de_RedriveExecutionCommand).build() {
|
|
3956
|
+
};
|
|
3957
|
+
__name(_RedriveExecutionCommand, "RedriveExecutionCommand");
|
|
3958
|
+
var RedriveExecutionCommand = _RedriveExecutionCommand;
|
|
3959
|
+
|
|
3960
|
+
// src/commands/SendTaskFailureCommand.ts
|
|
3961
|
+
|
|
3962
|
+
|
|
3963
|
+
|
|
3964
|
+
|
|
3965
|
+
var _SendTaskFailureCommand = class _SendTaskFailureCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3966
|
+
...commonParams
|
|
3967
|
+
}).m(function(Command, cs, config, o) {
|
|
3968
|
+
return [
|
|
3969
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3970
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3971
|
+
];
|
|
3972
|
+
}).s("AWSStepFunctions", "SendTaskFailure", {}).n("SFNClient", "SendTaskFailureCommand").f(SendTaskFailureInputFilterSensitiveLog, void 0).ser(se_SendTaskFailureCommand).de(de_SendTaskFailureCommand).build() {
|
|
3973
|
+
};
|
|
3974
|
+
__name(_SendTaskFailureCommand, "SendTaskFailureCommand");
|
|
3975
|
+
var SendTaskFailureCommand = _SendTaskFailureCommand;
|
|
3976
|
+
|
|
3977
|
+
// src/commands/SendTaskHeartbeatCommand.ts
|
|
3978
|
+
|
|
3979
|
+
|
|
3980
|
+
|
|
3981
|
+
|
|
3982
|
+
var _SendTaskHeartbeatCommand = class _SendTaskHeartbeatCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3983
|
+
...commonParams
|
|
3984
|
+
}).m(function(Command, cs, config, o) {
|
|
3985
|
+
return [
|
|
3986
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3987
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3988
|
+
];
|
|
3989
|
+
}).s("AWSStepFunctions", "SendTaskHeartbeat", {}).n("SFNClient", "SendTaskHeartbeatCommand").f(void 0, void 0).ser(se_SendTaskHeartbeatCommand).de(de_SendTaskHeartbeatCommand).build() {
|
|
3990
|
+
};
|
|
3991
|
+
__name(_SendTaskHeartbeatCommand, "SendTaskHeartbeatCommand");
|
|
3992
|
+
var SendTaskHeartbeatCommand = _SendTaskHeartbeatCommand;
|
|
3993
|
+
|
|
3994
|
+
// src/commands/SendTaskSuccessCommand.ts
|
|
3995
|
+
|
|
3996
|
+
|
|
3997
|
+
|
|
3998
|
+
|
|
3999
|
+
var _SendTaskSuccessCommand = class _SendTaskSuccessCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4000
|
+
...commonParams
|
|
4001
|
+
}).m(function(Command, cs, config, o) {
|
|
4002
|
+
return [
|
|
4003
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4004
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4005
|
+
];
|
|
4006
|
+
}).s("AWSStepFunctions", "SendTaskSuccess", {}).n("SFNClient", "SendTaskSuccessCommand").f(SendTaskSuccessInputFilterSensitiveLog, void 0).ser(se_SendTaskSuccessCommand).de(de_SendTaskSuccessCommand).build() {
|
|
4007
|
+
};
|
|
4008
|
+
__name(_SendTaskSuccessCommand, "SendTaskSuccessCommand");
|
|
4009
|
+
var SendTaskSuccessCommand = _SendTaskSuccessCommand;
|
|
4010
|
+
|
|
4011
|
+
// src/commands/StartExecutionCommand.ts
|
|
4012
|
+
|
|
4013
|
+
|
|
4014
|
+
|
|
4015
|
+
|
|
4016
|
+
var _StartExecutionCommand = class _StartExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4017
|
+
...commonParams
|
|
4018
|
+
}).m(function(Command, cs, config, o) {
|
|
4019
|
+
return [
|
|
4020
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4021
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4022
|
+
];
|
|
4023
|
+
}).s("AWSStepFunctions", "StartExecution", {}).n("SFNClient", "StartExecutionCommand").f(StartExecutionInputFilterSensitiveLog, void 0).ser(se_StartExecutionCommand).de(de_StartExecutionCommand).build() {
|
|
4024
|
+
};
|
|
4025
|
+
__name(_StartExecutionCommand, "StartExecutionCommand");
|
|
4026
|
+
var StartExecutionCommand = _StartExecutionCommand;
|
|
4027
|
+
|
|
4028
|
+
// src/commands/StartSyncExecutionCommand.ts
|
|
4029
|
+
|
|
4030
|
+
|
|
4031
|
+
|
|
4032
|
+
|
|
4033
|
+
var _StartSyncExecutionCommand = class _StartSyncExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4034
|
+
...commonParams
|
|
4035
|
+
}).m(function(Command, cs, config, o) {
|
|
4036
|
+
return [
|
|
4037
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4038
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4039
|
+
];
|
|
4040
|
+
}).s("AWSStepFunctions", "StartSyncExecution", {}).n("SFNClient", "StartSyncExecutionCommand").f(StartSyncExecutionInputFilterSensitiveLog, StartSyncExecutionOutputFilterSensitiveLog).ser(se_StartSyncExecutionCommand).de(de_StartSyncExecutionCommand).build() {
|
|
4041
|
+
};
|
|
4042
|
+
__name(_StartSyncExecutionCommand, "StartSyncExecutionCommand");
|
|
4043
|
+
var StartSyncExecutionCommand = _StartSyncExecutionCommand;
|
|
4044
|
+
|
|
4045
|
+
// src/commands/StopExecutionCommand.ts
|
|
4046
|
+
|
|
4047
|
+
|
|
4048
|
+
|
|
4049
|
+
|
|
4050
|
+
var _StopExecutionCommand = class _StopExecutionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4051
|
+
...commonParams
|
|
4052
|
+
}).m(function(Command, cs, config, o) {
|
|
4053
|
+
return [
|
|
4054
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4055
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4056
|
+
];
|
|
4057
|
+
}).s("AWSStepFunctions", "StopExecution", {}).n("SFNClient", "StopExecutionCommand").f(StopExecutionInputFilterSensitiveLog, void 0).ser(se_StopExecutionCommand).de(de_StopExecutionCommand).build() {
|
|
4058
|
+
};
|
|
4059
|
+
__name(_StopExecutionCommand, "StopExecutionCommand");
|
|
4060
|
+
var StopExecutionCommand = _StopExecutionCommand;
|
|
4061
|
+
|
|
4062
|
+
// src/commands/TagResourceCommand.ts
|
|
4063
|
+
|
|
4064
|
+
|
|
4065
|
+
|
|
4066
|
+
|
|
4067
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4068
|
+
...commonParams
|
|
4069
|
+
}).m(function(Command, cs, config, o) {
|
|
4070
|
+
return [
|
|
4071
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4072
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4073
|
+
];
|
|
4074
|
+
}).s("AWSStepFunctions", "TagResource", {}).n("SFNClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
4075
|
+
};
|
|
4076
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
4077
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
4078
|
+
|
|
4079
|
+
// src/commands/TestStateCommand.ts
|
|
4080
|
+
|
|
4081
|
+
|
|
4082
|
+
|
|
4083
|
+
|
|
4084
|
+
var _TestStateCommand = class _TestStateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4085
|
+
...commonParams
|
|
4086
|
+
}).m(function(Command, cs, config, o) {
|
|
4087
|
+
return [
|
|
4088
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4089
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4090
|
+
];
|
|
4091
|
+
}).s("AWSStepFunctions", "TestState", {}).n("SFNClient", "TestStateCommand").f(TestStateInputFilterSensitiveLog, TestStateOutputFilterSensitiveLog).ser(se_TestStateCommand).de(de_TestStateCommand).build() {
|
|
4092
|
+
};
|
|
4093
|
+
__name(_TestStateCommand, "TestStateCommand");
|
|
4094
|
+
var TestStateCommand = _TestStateCommand;
|
|
4095
|
+
|
|
4096
|
+
// src/commands/UntagResourceCommand.ts
|
|
4097
|
+
|
|
4098
|
+
|
|
4099
|
+
|
|
4100
|
+
|
|
4101
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4102
|
+
...commonParams
|
|
4103
|
+
}).m(function(Command, cs, config, o) {
|
|
4104
|
+
return [
|
|
4105
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4106
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4107
|
+
];
|
|
4108
|
+
}).s("AWSStepFunctions", "UntagResource", {}).n("SFNClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
4109
|
+
};
|
|
4110
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
4111
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
4112
|
+
|
|
4113
|
+
// src/commands/UpdateMapRunCommand.ts
|
|
4114
|
+
|
|
4115
|
+
|
|
4116
|
+
|
|
4117
|
+
|
|
4118
|
+
var _UpdateMapRunCommand = class _UpdateMapRunCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4119
|
+
...commonParams
|
|
4120
|
+
}).m(function(Command, cs, config, o) {
|
|
4121
|
+
return [
|
|
4122
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4123
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4124
|
+
];
|
|
4125
|
+
}).s("AWSStepFunctions", "UpdateMapRun", {}).n("SFNClient", "UpdateMapRunCommand").f(void 0, void 0).ser(se_UpdateMapRunCommand).de(de_UpdateMapRunCommand).build() {
|
|
4126
|
+
};
|
|
4127
|
+
__name(_UpdateMapRunCommand, "UpdateMapRunCommand");
|
|
4128
|
+
var UpdateMapRunCommand = _UpdateMapRunCommand;
|
|
4129
|
+
|
|
4130
|
+
// src/commands/UpdateStateMachineAliasCommand.ts
|
|
4131
|
+
|
|
4132
|
+
|
|
4133
|
+
|
|
4134
|
+
|
|
4135
|
+
var _UpdateStateMachineAliasCommand = class _UpdateStateMachineAliasCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4136
|
+
...commonParams
|
|
4137
|
+
}).m(function(Command, cs, config, o) {
|
|
4138
|
+
return [
|
|
4139
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4140
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4141
|
+
];
|
|
4142
|
+
}).s("AWSStepFunctions", "UpdateStateMachineAlias", {}).n("SFNClient", "UpdateStateMachineAliasCommand").f(UpdateStateMachineAliasInputFilterSensitiveLog, void 0).ser(se_UpdateStateMachineAliasCommand).de(de_UpdateStateMachineAliasCommand).build() {
|
|
4143
|
+
};
|
|
4144
|
+
__name(_UpdateStateMachineAliasCommand, "UpdateStateMachineAliasCommand");
|
|
4145
|
+
var UpdateStateMachineAliasCommand = _UpdateStateMachineAliasCommand;
|
|
4146
|
+
|
|
4147
|
+
// src/commands/UpdateStateMachineCommand.ts
|
|
4148
|
+
|
|
4149
|
+
|
|
4150
|
+
|
|
4151
|
+
|
|
4152
|
+
var _UpdateStateMachineCommand = class _UpdateStateMachineCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4153
|
+
...commonParams
|
|
4154
|
+
}).m(function(Command, cs, config, o) {
|
|
4155
|
+
return [
|
|
4156
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4157
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4158
|
+
];
|
|
4159
|
+
}).s("AWSStepFunctions", "UpdateStateMachine", {}).n("SFNClient", "UpdateStateMachineCommand").f(UpdateStateMachineInputFilterSensitiveLog, void 0).ser(se_UpdateStateMachineCommand).de(de_UpdateStateMachineCommand).build() {
|
|
4160
|
+
};
|
|
4161
|
+
__name(_UpdateStateMachineCommand, "UpdateStateMachineCommand");
|
|
4162
|
+
var UpdateStateMachineCommand = _UpdateStateMachineCommand;
|
|
4163
|
+
|
|
4164
|
+
// src/SFN.ts
|
|
4165
|
+
var commands = {
|
|
4166
|
+
CreateActivityCommand,
|
|
4167
|
+
CreateStateMachineCommand,
|
|
4168
|
+
CreateStateMachineAliasCommand,
|
|
4169
|
+
DeleteActivityCommand,
|
|
4170
|
+
DeleteStateMachineCommand,
|
|
4171
|
+
DeleteStateMachineAliasCommand,
|
|
4172
|
+
DeleteStateMachineVersionCommand,
|
|
4173
|
+
DescribeActivityCommand,
|
|
4174
|
+
DescribeExecutionCommand,
|
|
4175
|
+
DescribeMapRunCommand,
|
|
4176
|
+
DescribeStateMachineCommand,
|
|
4177
|
+
DescribeStateMachineAliasCommand,
|
|
4178
|
+
DescribeStateMachineForExecutionCommand,
|
|
4179
|
+
GetActivityTaskCommand,
|
|
4180
|
+
GetExecutionHistoryCommand,
|
|
4181
|
+
ListActivitiesCommand,
|
|
4182
|
+
ListExecutionsCommand,
|
|
4183
|
+
ListMapRunsCommand,
|
|
4184
|
+
ListStateMachineAliasesCommand,
|
|
4185
|
+
ListStateMachinesCommand,
|
|
4186
|
+
ListStateMachineVersionsCommand,
|
|
4187
|
+
ListTagsForResourceCommand,
|
|
4188
|
+
PublishStateMachineVersionCommand,
|
|
4189
|
+
RedriveExecutionCommand,
|
|
4190
|
+
SendTaskFailureCommand,
|
|
4191
|
+
SendTaskHeartbeatCommand,
|
|
4192
|
+
SendTaskSuccessCommand,
|
|
4193
|
+
StartExecutionCommand,
|
|
4194
|
+
StartSyncExecutionCommand,
|
|
4195
|
+
StopExecutionCommand,
|
|
4196
|
+
TagResourceCommand,
|
|
4197
|
+
TestStateCommand,
|
|
4198
|
+
UntagResourceCommand,
|
|
4199
|
+
UpdateMapRunCommand,
|
|
4200
|
+
UpdateStateMachineCommand,
|
|
4201
|
+
UpdateStateMachineAliasCommand
|
|
4202
|
+
};
|
|
4203
|
+
var _SFN = class _SFN extends SFNClient {
|
|
4204
|
+
};
|
|
4205
|
+
__name(_SFN, "SFN");
|
|
4206
|
+
var SFN = _SFN;
|
|
4207
|
+
(0, import_smithy_client.createAggregatedClient)(commands, SFN);
|
|
4208
|
+
|
|
4209
|
+
// src/pagination/GetExecutionHistoryPaginator.ts
|
|
4210
|
+
var import_core = require("@smithy/core");
|
|
4211
|
+
var paginateGetExecutionHistory = (0, import_core.createPaginator)(SFNClient, GetExecutionHistoryCommand, "nextToken", "nextToken", "maxResults");
|
|
4212
|
+
|
|
4213
|
+
// src/pagination/ListActivitiesPaginator.ts
|
|
4214
|
+
|
|
4215
|
+
var paginateListActivities = (0, import_core.createPaginator)(SFNClient, ListActivitiesCommand, "nextToken", "nextToken", "maxResults");
|
|
4216
|
+
|
|
4217
|
+
// src/pagination/ListExecutionsPaginator.ts
|
|
4218
|
+
|
|
4219
|
+
var paginateListExecutions = (0, import_core.createPaginator)(SFNClient, ListExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
4220
|
+
|
|
4221
|
+
// src/pagination/ListMapRunsPaginator.ts
|
|
4222
|
+
|
|
4223
|
+
var paginateListMapRuns = (0, import_core.createPaginator)(SFNClient, ListMapRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
4224
|
+
|
|
4225
|
+
// src/pagination/ListStateMachinesPaginator.ts
|
|
4226
|
+
|
|
4227
|
+
var paginateListStateMachines = (0, import_core.createPaginator)(SFNClient, ListStateMachinesCommand, "nextToken", "nextToken", "maxResults");
|
|
4228
|
+
|
|
4229
|
+
// src/index.ts
|
|
4230
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
4231
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
4232
|
+
|
|
4233
|
+
0 && (module.exports = {
|
|
4234
|
+
ActivityDoesNotExist,
|
|
4235
|
+
ActivityFailedEventDetailsFilterSensitiveLog,
|
|
4236
|
+
ActivityLimitExceeded,
|
|
4237
|
+
ActivityScheduleFailedEventDetailsFilterSensitiveLog,
|
|
4238
|
+
ActivityScheduledEventDetailsFilterSensitiveLog,
|
|
4239
|
+
ActivitySucceededEventDetailsFilterSensitiveLog,
|
|
4240
|
+
ActivityTimedOutEventDetailsFilterSensitiveLog,
|
|
4241
|
+
ActivityWorkerLimitExceeded,
|
|
4242
|
+
ConflictException,
|
|
4243
|
+
CreateActivityCommand,
|
|
4244
|
+
CreateStateMachineAliasCommand,
|
|
4245
|
+
CreateStateMachineAliasInputFilterSensitiveLog,
|
|
4246
|
+
CreateStateMachineCommand,
|
|
4247
|
+
CreateStateMachineInputFilterSensitiveLog,
|
|
4248
|
+
DeleteActivityCommand,
|
|
4249
|
+
DeleteStateMachineAliasCommand,
|
|
4250
|
+
DeleteStateMachineCommand,
|
|
4251
|
+
DeleteStateMachineVersionCommand,
|
|
4252
|
+
DescribeActivityCommand,
|
|
4253
|
+
DescribeExecutionCommand,
|
|
4254
|
+
DescribeExecutionOutputFilterSensitiveLog,
|
|
4255
|
+
DescribeMapRunCommand,
|
|
4256
|
+
DescribeStateMachineAliasCommand,
|
|
4257
|
+
DescribeStateMachineAliasOutputFilterSensitiveLog,
|
|
4258
|
+
DescribeStateMachineCommand,
|
|
4259
|
+
DescribeStateMachineForExecutionCommand,
|
|
4260
|
+
DescribeStateMachineForExecutionOutputFilterSensitiveLog,
|
|
4261
|
+
DescribeStateMachineOutputFilterSensitiveLog,
|
|
4262
|
+
ExecutionAbortedEventDetailsFilterSensitiveLog,
|
|
4263
|
+
ExecutionAlreadyExists,
|
|
4264
|
+
ExecutionDoesNotExist,
|
|
4265
|
+
ExecutionFailedEventDetailsFilterSensitiveLog,
|
|
4266
|
+
ExecutionLimitExceeded,
|
|
4267
|
+
ExecutionNotRedrivable,
|
|
4268
|
+
ExecutionRedriveFilter,
|
|
4269
|
+
ExecutionRedriveStatus,
|
|
4270
|
+
ExecutionStartedEventDetailsFilterSensitiveLog,
|
|
4271
|
+
ExecutionStatus,
|
|
4272
|
+
ExecutionSucceededEventDetailsFilterSensitiveLog,
|
|
4273
|
+
ExecutionTimedOutEventDetailsFilterSensitiveLog,
|
|
4274
|
+
GetActivityTaskCommand,
|
|
4275
|
+
GetActivityTaskOutputFilterSensitiveLog,
|
|
4276
|
+
GetExecutionHistoryCommand,
|
|
4277
|
+
GetExecutionHistoryOutputFilterSensitiveLog,
|
|
4278
|
+
HistoryEventFilterSensitiveLog,
|
|
4279
|
+
HistoryEventType,
|
|
4280
|
+
InspectionDataFilterSensitiveLog,
|
|
4281
|
+
InspectionLevel,
|
|
4282
|
+
InvalidArn,
|
|
4283
|
+
InvalidDefinition,
|
|
4284
|
+
InvalidExecutionInput,
|
|
4285
|
+
InvalidLoggingConfiguration,
|
|
4286
|
+
InvalidName,
|
|
4287
|
+
InvalidOutput,
|
|
4288
|
+
InvalidToken,
|
|
4289
|
+
InvalidTracingConfiguration,
|
|
4290
|
+
LambdaFunctionFailedEventDetailsFilterSensitiveLog,
|
|
4291
|
+
LambdaFunctionScheduleFailedEventDetailsFilterSensitiveLog,
|
|
4292
|
+
LambdaFunctionScheduledEventDetailsFilterSensitiveLog,
|
|
4293
|
+
LambdaFunctionStartFailedEventDetailsFilterSensitiveLog,
|
|
4294
|
+
LambdaFunctionSucceededEventDetailsFilterSensitiveLog,
|
|
4295
|
+
LambdaFunctionTimedOutEventDetailsFilterSensitiveLog,
|
|
4296
|
+
ListActivitiesCommand,
|
|
4297
|
+
ListExecutionsCommand,
|
|
4298
|
+
ListMapRunsCommand,
|
|
4299
|
+
ListStateMachineAliasesCommand,
|
|
4300
|
+
ListStateMachineVersionsCommand,
|
|
4301
|
+
ListStateMachinesCommand,
|
|
4302
|
+
ListTagsForResourceCommand,
|
|
4303
|
+
LogLevel,
|
|
4304
|
+
MapRunFailedEventDetailsFilterSensitiveLog,
|
|
4305
|
+
MapRunStatus,
|
|
4306
|
+
MissingRequiredParameter,
|
|
4307
|
+
PublishStateMachineVersionCommand,
|
|
4308
|
+
PublishStateMachineVersionInputFilterSensitiveLog,
|
|
4309
|
+
RedriveExecutionCommand,
|
|
4310
|
+
ResourceNotFound,
|
|
4311
|
+
SFN,
|
|
4312
|
+
SFNClient,
|
|
4313
|
+
SFNServiceException,
|
|
4314
|
+
SendTaskFailureCommand,
|
|
4315
|
+
SendTaskFailureInputFilterSensitiveLog,
|
|
4316
|
+
SendTaskHeartbeatCommand,
|
|
4317
|
+
SendTaskSuccessCommand,
|
|
4318
|
+
SendTaskSuccessInputFilterSensitiveLog,
|
|
4319
|
+
ServiceQuotaExceededException,
|
|
4320
|
+
StartExecutionCommand,
|
|
4321
|
+
StartExecutionInputFilterSensitiveLog,
|
|
4322
|
+
StartSyncExecutionCommand,
|
|
4323
|
+
StartSyncExecutionInputFilterSensitiveLog,
|
|
4324
|
+
StartSyncExecutionOutputFilterSensitiveLog,
|
|
4325
|
+
StateEnteredEventDetailsFilterSensitiveLog,
|
|
4326
|
+
StateExitedEventDetailsFilterSensitiveLog,
|
|
4327
|
+
StateMachineAlreadyExists,
|
|
4328
|
+
StateMachineDeleting,
|
|
4329
|
+
StateMachineDoesNotExist,
|
|
4330
|
+
StateMachineLimitExceeded,
|
|
4331
|
+
StateMachineStatus,
|
|
4332
|
+
StateMachineType,
|
|
4333
|
+
StateMachineTypeNotSupported,
|
|
4334
|
+
StopExecutionCommand,
|
|
4335
|
+
StopExecutionInputFilterSensitiveLog,
|
|
4336
|
+
SyncExecutionStatus,
|
|
4337
|
+
TagResourceCommand,
|
|
4338
|
+
TaskDoesNotExist,
|
|
4339
|
+
TaskFailedEventDetailsFilterSensitiveLog,
|
|
4340
|
+
TaskScheduledEventDetailsFilterSensitiveLog,
|
|
4341
|
+
TaskStartFailedEventDetailsFilterSensitiveLog,
|
|
4342
|
+
TaskSubmitFailedEventDetailsFilterSensitiveLog,
|
|
4343
|
+
TaskSubmittedEventDetailsFilterSensitiveLog,
|
|
4344
|
+
TaskSucceededEventDetailsFilterSensitiveLog,
|
|
4345
|
+
TaskTimedOut,
|
|
4346
|
+
TaskTimedOutEventDetailsFilterSensitiveLog,
|
|
4347
|
+
TestExecutionStatus,
|
|
4348
|
+
TestStateCommand,
|
|
4349
|
+
TestStateInputFilterSensitiveLog,
|
|
4350
|
+
TestStateOutputFilterSensitiveLog,
|
|
4351
|
+
TooManyTags,
|
|
4352
|
+
UntagResourceCommand,
|
|
4353
|
+
UpdateMapRunCommand,
|
|
4354
|
+
UpdateStateMachineAliasCommand,
|
|
4355
|
+
UpdateStateMachineAliasInputFilterSensitiveLog,
|
|
4356
|
+
UpdateStateMachineCommand,
|
|
4357
|
+
UpdateStateMachineInputFilterSensitiveLog,
|
|
4358
|
+
ValidationException,
|
|
4359
|
+
ValidationExceptionReason,
|
|
4360
|
+
__Client,
|
|
4361
|
+
paginateGetExecutionHistory,
|
|
4362
|
+
paginateListActivities,
|
|
4363
|
+
paginateListExecutions,
|
|
4364
|
+
paginateListMapRuns,
|
|
4365
|
+
paginateListStateMachines
|
|
4366
|
+
});
|
|
4367
|
+
|