@aws-sdk/client-sfn 3.1067.0 → 3.1069.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/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +157 -177
- package/dist-cjs/models/SFNServiceException.js +4 -8
- package/dist-cjs/models/errors.js +67 -103
- package/dist-cjs/runtimeConfig.browser.js +22 -26
- package/dist-cjs/runtimeConfig.js +30 -34
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +20 -24
- package/dist-cjs/schemas/schemas_0.js +455 -291
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
var __exportStar = (m, e) => { Object.assign(e, m); };
|
|
2
|
+
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getLongPollPlugin } = require("@aws-sdk/core/client");
|
|
3
|
+
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
+
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = Command;
|
|
6
|
+
exports.__Client = Client;
|
|
7
|
+
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
+
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
+
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
+
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
+
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
+
const { resolveHttpAuthSchemeConfig, defaultSFNHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
13
|
+
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
14
|
+
const { CreateActivity$, CreateStateMachineAlias$, CreateStateMachine$, DeleteActivity$, DeleteStateMachineAlias$, DeleteStateMachine$, DeleteStateMachineVersion$, DescribeActivity$, DescribeExecution$, DescribeMapRun$, DescribeStateMachineAlias$, DescribeStateMachine$, DescribeStateMachineForExecution$, GetActivityTask$, GetExecutionHistory$, ListActivities$, ListExecutions$, ListMapRuns$, ListStateMachineAliases$, ListStateMachines$, ListStateMachineVersions$, ListTagsForResource$, PublishStateMachineVersion$, RedriveExecution$, SendTaskFailure$, SendTaskHeartbeat$, SendTaskSuccess$, StartExecution$, StartSyncExecution$, StopExecution$, TagResource$, TestState$, UntagResource$, UpdateMapRun$, UpdateStateMachineAlias$, UpdateStateMachine$, ValidateStateMachineDefinition$ } = require("./schemas/schemas_0");
|
|
15
|
+
__exportStar(require("./schemas/schemas_0"), exports);
|
|
16
|
+
__exportStar(require("./models/errors"), exports);
|
|
17
|
+
const { SFNServiceException } = require("./models/SFNServiceException");
|
|
18
|
+
exports.SFNServiceException = SFNServiceException;
|
|
16
19
|
|
|
17
20
|
const resolveClientEndpointParameters = (options) => {
|
|
18
21
|
return Object.assign(options, {
|
|
@@ -68,502 +71,502 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
68
71
|
};
|
|
69
72
|
|
|
70
73
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
71
|
-
const extensionConfiguration = Object.assign(
|
|
74
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
72
75
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
73
|
-
return Object.assign(runtimeConfig,
|
|
76
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
74
77
|
};
|
|
75
78
|
|
|
76
|
-
class SFNClient extends
|
|
79
|
+
class SFNClient extends Client {
|
|
77
80
|
config;
|
|
78
81
|
constructor(...[configuration]) {
|
|
79
|
-
const _config_0 =
|
|
82
|
+
const _config_0 = getRuntimeConfig(configuration || {});
|
|
80
83
|
super(_config_0);
|
|
81
84
|
this.initConfig = _config_0;
|
|
82
85
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
83
|
-
const _config_2 =
|
|
84
|
-
const _config_3 =
|
|
85
|
-
const _config_4 =
|
|
86
|
-
const _config_5 =
|
|
87
|
-
const _config_6 =
|
|
88
|
-
const _config_7 =
|
|
86
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
89
92
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
90
93
|
this.config = _config_8;
|
|
91
|
-
this.middlewareStack.use(
|
|
92
|
-
this.middlewareStack.use(
|
|
93
|
-
this.middlewareStack.use(
|
|
94
|
-
this.middlewareStack.use(
|
|
95
|
-
this.middlewareStack.use(
|
|
96
|
-
this.middlewareStack.use(
|
|
97
|
-
this.middlewareStack.use(
|
|
98
|
-
this.middlewareStack.use(
|
|
99
|
-
httpAuthSchemeParametersProvider:
|
|
100
|
-
identityProviderConfigProvider: async (config) => new
|
|
94
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
101
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
102
|
+
httpAuthSchemeParametersProvider: defaultSFNHttpAuthSchemeParametersProvider,
|
|
103
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
101
104
|
"aws.auth#sigv4": config.credentials,
|
|
102
105
|
}),
|
|
103
106
|
}));
|
|
104
|
-
this.middlewareStack.use(
|
|
107
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
105
108
|
}
|
|
106
109
|
destroy() {
|
|
107
110
|
super.destroy();
|
|
108
111
|
}
|
|
109
112
|
}
|
|
110
113
|
|
|
111
|
-
class CreateActivityCommand extends
|
|
114
|
+
class CreateActivityCommand extends Command
|
|
112
115
|
.classBuilder()
|
|
113
116
|
.ep(commonParams)
|
|
114
117
|
.m(function (Command, cs, config, o) {
|
|
115
|
-
return [
|
|
118
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
116
119
|
})
|
|
117
120
|
.s("AWSStepFunctions", "CreateActivity", {})
|
|
118
121
|
.n("SFNClient", "CreateActivityCommand")
|
|
119
|
-
.sc(
|
|
122
|
+
.sc(CreateActivity$)
|
|
120
123
|
.build() {
|
|
121
124
|
}
|
|
122
125
|
|
|
123
|
-
class CreateStateMachineAliasCommand extends
|
|
126
|
+
class CreateStateMachineAliasCommand extends Command
|
|
124
127
|
.classBuilder()
|
|
125
128
|
.ep(commonParams)
|
|
126
129
|
.m(function (Command, cs, config, o) {
|
|
127
|
-
return [
|
|
130
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
128
131
|
})
|
|
129
132
|
.s("AWSStepFunctions", "CreateStateMachineAlias", {})
|
|
130
133
|
.n("SFNClient", "CreateStateMachineAliasCommand")
|
|
131
|
-
.sc(
|
|
134
|
+
.sc(CreateStateMachineAlias$)
|
|
132
135
|
.build() {
|
|
133
136
|
}
|
|
134
137
|
|
|
135
|
-
class CreateStateMachineCommand extends
|
|
138
|
+
class CreateStateMachineCommand extends Command
|
|
136
139
|
.classBuilder()
|
|
137
140
|
.ep(commonParams)
|
|
138
141
|
.m(function (Command, cs, config, o) {
|
|
139
|
-
return [
|
|
142
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
140
143
|
})
|
|
141
144
|
.s("AWSStepFunctions", "CreateStateMachine", {})
|
|
142
145
|
.n("SFNClient", "CreateStateMachineCommand")
|
|
143
|
-
.sc(
|
|
146
|
+
.sc(CreateStateMachine$)
|
|
144
147
|
.build() {
|
|
145
148
|
}
|
|
146
149
|
|
|
147
|
-
class DeleteActivityCommand extends
|
|
150
|
+
class DeleteActivityCommand extends Command
|
|
148
151
|
.classBuilder()
|
|
149
152
|
.ep(commonParams)
|
|
150
153
|
.m(function (Command, cs, config, o) {
|
|
151
|
-
return [
|
|
154
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
152
155
|
})
|
|
153
156
|
.s("AWSStepFunctions", "DeleteActivity", {})
|
|
154
157
|
.n("SFNClient", "DeleteActivityCommand")
|
|
155
|
-
.sc(
|
|
158
|
+
.sc(DeleteActivity$)
|
|
156
159
|
.build() {
|
|
157
160
|
}
|
|
158
161
|
|
|
159
|
-
class DeleteStateMachineAliasCommand extends
|
|
162
|
+
class DeleteStateMachineAliasCommand extends Command
|
|
160
163
|
.classBuilder()
|
|
161
164
|
.ep(commonParams)
|
|
162
165
|
.m(function (Command, cs, config, o) {
|
|
163
|
-
return [
|
|
166
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
164
167
|
})
|
|
165
168
|
.s("AWSStepFunctions", "DeleteStateMachineAlias", {})
|
|
166
169
|
.n("SFNClient", "DeleteStateMachineAliasCommand")
|
|
167
|
-
.sc(
|
|
170
|
+
.sc(DeleteStateMachineAlias$)
|
|
168
171
|
.build() {
|
|
169
172
|
}
|
|
170
173
|
|
|
171
|
-
class DeleteStateMachineCommand extends
|
|
174
|
+
class DeleteStateMachineCommand extends Command
|
|
172
175
|
.classBuilder()
|
|
173
176
|
.ep(commonParams)
|
|
174
177
|
.m(function (Command, cs, config, o) {
|
|
175
|
-
return [
|
|
178
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
176
179
|
})
|
|
177
180
|
.s("AWSStepFunctions", "DeleteStateMachine", {})
|
|
178
181
|
.n("SFNClient", "DeleteStateMachineCommand")
|
|
179
|
-
.sc(
|
|
182
|
+
.sc(DeleteStateMachine$)
|
|
180
183
|
.build() {
|
|
181
184
|
}
|
|
182
185
|
|
|
183
|
-
class DeleteStateMachineVersionCommand extends
|
|
186
|
+
class DeleteStateMachineVersionCommand extends Command
|
|
184
187
|
.classBuilder()
|
|
185
188
|
.ep(commonParams)
|
|
186
189
|
.m(function (Command, cs, config, o) {
|
|
187
|
-
return [
|
|
190
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
188
191
|
})
|
|
189
192
|
.s("AWSStepFunctions", "DeleteStateMachineVersion", {})
|
|
190
193
|
.n("SFNClient", "DeleteStateMachineVersionCommand")
|
|
191
|
-
.sc(
|
|
194
|
+
.sc(DeleteStateMachineVersion$)
|
|
192
195
|
.build() {
|
|
193
196
|
}
|
|
194
197
|
|
|
195
|
-
class DescribeActivityCommand extends
|
|
198
|
+
class DescribeActivityCommand extends Command
|
|
196
199
|
.classBuilder()
|
|
197
200
|
.ep(commonParams)
|
|
198
201
|
.m(function (Command, cs, config, o) {
|
|
199
|
-
return [
|
|
202
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
200
203
|
})
|
|
201
204
|
.s("AWSStepFunctions", "DescribeActivity", {})
|
|
202
205
|
.n("SFNClient", "DescribeActivityCommand")
|
|
203
|
-
.sc(
|
|
206
|
+
.sc(DescribeActivity$)
|
|
204
207
|
.build() {
|
|
205
208
|
}
|
|
206
209
|
|
|
207
|
-
class DescribeExecutionCommand extends
|
|
210
|
+
class DescribeExecutionCommand extends Command
|
|
208
211
|
.classBuilder()
|
|
209
212
|
.ep(commonParams)
|
|
210
213
|
.m(function (Command, cs, config, o) {
|
|
211
|
-
return [
|
|
214
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
212
215
|
})
|
|
213
216
|
.s("AWSStepFunctions", "DescribeExecution", {})
|
|
214
217
|
.n("SFNClient", "DescribeExecutionCommand")
|
|
215
|
-
.sc(
|
|
218
|
+
.sc(DescribeExecution$)
|
|
216
219
|
.build() {
|
|
217
220
|
}
|
|
218
221
|
|
|
219
|
-
class DescribeMapRunCommand extends
|
|
222
|
+
class DescribeMapRunCommand extends Command
|
|
220
223
|
.classBuilder()
|
|
221
224
|
.ep(commonParams)
|
|
222
225
|
.m(function (Command, cs, config, o) {
|
|
223
|
-
return [
|
|
226
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
224
227
|
})
|
|
225
228
|
.s("AWSStepFunctions", "DescribeMapRun", {})
|
|
226
229
|
.n("SFNClient", "DescribeMapRunCommand")
|
|
227
|
-
.sc(
|
|
230
|
+
.sc(DescribeMapRun$)
|
|
228
231
|
.build() {
|
|
229
232
|
}
|
|
230
233
|
|
|
231
|
-
class DescribeStateMachineAliasCommand extends
|
|
234
|
+
class DescribeStateMachineAliasCommand extends Command
|
|
232
235
|
.classBuilder()
|
|
233
236
|
.ep(commonParams)
|
|
234
237
|
.m(function (Command, cs, config, o) {
|
|
235
|
-
return [
|
|
238
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
236
239
|
})
|
|
237
240
|
.s("AWSStepFunctions", "DescribeStateMachineAlias", {})
|
|
238
241
|
.n("SFNClient", "DescribeStateMachineAliasCommand")
|
|
239
|
-
.sc(
|
|
242
|
+
.sc(DescribeStateMachineAlias$)
|
|
240
243
|
.build() {
|
|
241
244
|
}
|
|
242
245
|
|
|
243
|
-
class DescribeStateMachineCommand extends
|
|
246
|
+
class DescribeStateMachineCommand extends Command
|
|
244
247
|
.classBuilder()
|
|
245
248
|
.ep(commonParams)
|
|
246
249
|
.m(function (Command, cs, config, o) {
|
|
247
|
-
return [
|
|
250
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
248
251
|
})
|
|
249
252
|
.s("AWSStepFunctions", "DescribeStateMachine", {})
|
|
250
253
|
.n("SFNClient", "DescribeStateMachineCommand")
|
|
251
|
-
.sc(
|
|
254
|
+
.sc(DescribeStateMachine$)
|
|
252
255
|
.build() {
|
|
253
256
|
}
|
|
254
257
|
|
|
255
|
-
class DescribeStateMachineForExecutionCommand extends
|
|
258
|
+
class DescribeStateMachineForExecutionCommand extends Command
|
|
256
259
|
.classBuilder()
|
|
257
260
|
.ep(commonParams)
|
|
258
261
|
.m(function (Command, cs, config, o) {
|
|
259
|
-
return [
|
|
262
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
260
263
|
})
|
|
261
264
|
.s("AWSStepFunctions", "DescribeStateMachineForExecution", {})
|
|
262
265
|
.n("SFNClient", "DescribeStateMachineForExecutionCommand")
|
|
263
|
-
.sc(
|
|
266
|
+
.sc(DescribeStateMachineForExecution$)
|
|
264
267
|
.build() {
|
|
265
268
|
}
|
|
266
269
|
|
|
267
|
-
class GetActivityTaskCommand extends
|
|
270
|
+
class GetActivityTaskCommand extends Command
|
|
268
271
|
.classBuilder()
|
|
269
272
|
.ep(commonParams)
|
|
270
273
|
.m(function (Command, cs, config, o) {
|
|
271
274
|
return [
|
|
272
|
-
|
|
273
|
-
|
|
275
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
276
|
+
getLongPollPlugin(config),
|
|
274
277
|
];
|
|
275
278
|
})
|
|
276
279
|
.s("AWSStepFunctions", "GetActivityTask", {})
|
|
277
280
|
.n("SFNClient", "GetActivityTaskCommand")
|
|
278
|
-
.sc(
|
|
281
|
+
.sc(GetActivityTask$)
|
|
279
282
|
.build() {
|
|
280
283
|
}
|
|
281
284
|
|
|
282
|
-
class GetExecutionHistoryCommand extends
|
|
285
|
+
class GetExecutionHistoryCommand extends Command
|
|
283
286
|
.classBuilder()
|
|
284
287
|
.ep(commonParams)
|
|
285
288
|
.m(function (Command, cs, config, o) {
|
|
286
|
-
return [
|
|
289
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
287
290
|
})
|
|
288
291
|
.s("AWSStepFunctions", "GetExecutionHistory", {})
|
|
289
292
|
.n("SFNClient", "GetExecutionHistoryCommand")
|
|
290
|
-
.sc(
|
|
293
|
+
.sc(GetExecutionHistory$)
|
|
291
294
|
.build() {
|
|
292
295
|
}
|
|
293
296
|
|
|
294
|
-
class ListActivitiesCommand extends
|
|
297
|
+
class ListActivitiesCommand extends Command
|
|
295
298
|
.classBuilder()
|
|
296
299
|
.ep(commonParams)
|
|
297
300
|
.m(function (Command, cs, config, o) {
|
|
298
|
-
return [
|
|
301
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
299
302
|
})
|
|
300
303
|
.s("AWSStepFunctions", "ListActivities", {})
|
|
301
304
|
.n("SFNClient", "ListActivitiesCommand")
|
|
302
|
-
.sc(
|
|
305
|
+
.sc(ListActivities$)
|
|
303
306
|
.build() {
|
|
304
307
|
}
|
|
305
308
|
|
|
306
|
-
class ListExecutionsCommand extends
|
|
309
|
+
class ListExecutionsCommand extends Command
|
|
307
310
|
.classBuilder()
|
|
308
311
|
.ep(commonParams)
|
|
309
312
|
.m(function (Command, cs, config, o) {
|
|
310
|
-
return [
|
|
313
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
311
314
|
})
|
|
312
315
|
.s("AWSStepFunctions", "ListExecutions", {})
|
|
313
316
|
.n("SFNClient", "ListExecutionsCommand")
|
|
314
|
-
.sc(
|
|
317
|
+
.sc(ListExecutions$)
|
|
315
318
|
.build() {
|
|
316
319
|
}
|
|
317
320
|
|
|
318
|
-
class ListMapRunsCommand extends
|
|
321
|
+
class ListMapRunsCommand extends Command
|
|
319
322
|
.classBuilder()
|
|
320
323
|
.ep(commonParams)
|
|
321
324
|
.m(function (Command, cs, config, o) {
|
|
322
|
-
return [
|
|
325
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
323
326
|
})
|
|
324
327
|
.s("AWSStepFunctions", "ListMapRuns", {})
|
|
325
328
|
.n("SFNClient", "ListMapRunsCommand")
|
|
326
|
-
.sc(
|
|
329
|
+
.sc(ListMapRuns$)
|
|
327
330
|
.build() {
|
|
328
331
|
}
|
|
329
332
|
|
|
330
|
-
class ListStateMachineAliasesCommand extends
|
|
333
|
+
class ListStateMachineAliasesCommand extends Command
|
|
331
334
|
.classBuilder()
|
|
332
335
|
.ep(commonParams)
|
|
333
336
|
.m(function (Command, cs, config, o) {
|
|
334
|
-
return [
|
|
337
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
335
338
|
})
|
|
336
339
|
.s("AWSStepFunctions", "ListStateMachineAliases", {})
|
|
337
340
|
.n("SFNClient", "ListStateMachineAliasesCommand")
|
|
338
|
-
.sc(
|
|
341
|
+
.sc(ListStateMachineAliases$)
|
|
339
342
|
.build() {
|
|
340
343
|
}
|
|
341
344
|
|
|
342
|
-
class ListStateMachinesCommand extends
|
|
345
|
+
class ListStateMachinesCommand extends Command
|
|
343
346
|
.classBuilder()
|
|
344
347
|
.ep(commonParams)
|
|
345
348
|
.m(function (Command, cs, config, o) {
|
|
346
|
-
return [
|
|
349
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
347
350
|
})
|
|
348
351
|
.s("AWSStepFunctions", "ListStateMachines", {})
|
|
349
352
|
.n("SFNClient", "ListStateMachinesCommand")
|
|
350
|
-
.sc(
|
|
353
|
+
.sc(ListStateMachines$)
|
|
351
354
|
.build() {
|
|
352
355
|
}
|
|
353
356
|
|
|
354
|
-
class ListStateMachineVersionsCommand extends
|
|
357
|
+
class ListStateMachineVersionsCommand extends Command
|
|
355
358
|
.classBuilder()
|
|
356
359
|
.ep(commonParams)
|
|
357
360
|
.m(function (Command, cs, config, o) {
|
|
358
|
-
return [
|
|
361
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
359
362
|
})
|
|
360
363
|
.s("AWSStepFunctions", "ListStateMachineVersions", {})
|
|
361
364
|
.n("SFNClient", "ListStateMachineVersionsCommand")
|
|
362
|
-
.sc(
|
|
365
|
+
.sc(ListStateMachineVersions$)
|
|
363
366
|
.build() {
|
|
364
367
|
}
|
|
365
368
|
|
|
366
|
-
class ListTagsForResourceCommand extends
|
|
369
|
+
class ListTagsForResourceCommand extends Command
|
|
367
370
|
.classBuilder()
|
|
368
371
|
.ep(commonParams)
|
|
369
372
|
.m(function (Command, cs, config, o) {
|
|
370
|
-
return [
|
|
373
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
371
374
|
})
|
|
372
375
|
.s("AWSStepFunctions", "ListTagsForResource", {})
|
|
373
376
|
.n("SFNClient", "ListTagsForResourceCommand")
|
|
374
|
-
.sc(
|
|
377
|
+
.sc(ListTagsForResource$)
|
|
375
378
|
.build() {
|
|
376
379
|
}
|
|
377
380
|
|
|
378
|
-
class PublishStateMachineVersionCommand extends
|
|
381
|
+
class PublishStateMachineVersionCommand extends Command
|
|
379
382
|
.classBuilder()
|
|
380
383
|
.ep(commonParams)
|
|
381
384
|
.m(function (Command, cs, config, o) {
|
|
382
|
-
return [
|
|
385
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
383
386
|
})
|
|
384
387
|
.s("AWSStepFunctions", "PublishStateMachineVersion", {})
|
|
385
388
|
.n("SFNClient", "PublishStateMachineVersionCommand")
|
|
386
|
-
.sc(
|
|
389
|
+
.sc(PublishStateMachineVersion$)
|
|
387
390
|
.build() {
|
|
388
391
|
}
|
|
389
392
|
|
|
390
|
-
class RedriveExecutionCommand extends
|
|
393
|
+
class RedriveExecutionCommand extends Command
|
|
391
394
|
.classBuilder()
|
|
392
395
|
.ep(commonParams)
|
|
393
396
|
.m(function (Command, cs, config, o) {
|
|
394
|
-
return [
|
|
397
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
395
398
|
})
|
|
396
399
|
.s("AWSStepFunctions", "RedriveExecution", {})
|
|
397
400
|
.n("SFNClient", "RedriveExecutionCommand")
|
|
398
|
-
.sc(
|
|
401
|
+
.sc(RedriveExecution$)
|
|
399
402
|
.build() {
|
|
400
403
|
}
|
|
401
404
|
|
|
402
|
-
class SendTaskFailureCommand extends
|
|
405
|
+
class SendTaskFailureCommand extends Command
|
|
403
406
|
.classBuilder()
|
|
404
407
|
.ep(commonParams)
|
|
405
408
|
.m(function (Command, cs, config, o) {
|
|
406
|
-
return [
|
|
409
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
407
410
|
})
|
|
408
411
|
.s("AWSStepFunctions", "SendTaskFailure", {})
|
|
409
412
|
.n("SFNClient", "SendTaskFailureCommand")
|
|
410
|
-
.sc(
|
|
413
|
+
.sc(SendTaskFailure$)
|
|
411
414
|
.build() {
|
|
412
415
|
}
|
|
413
416
|
|
|
414
|
-
class SendTaskHeartbeatCommand extends
|
|
417
|
+
class SendTaskHeartbeatCommand extends Command
|
|
415
418
|
.classBuilder()
|
|
416
419
|
.ep(commonParams)
|
|
417
420
|
.m(function (Command, cs, config, o) {
|
|
418
|
-
return [
|
|
421
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
419
422
|
})
|
|
420
423
|
.s("AWSStepFunctions", "SendTaskHeartbeat", {})
|
|
421
424
|
.n("SFNClient", "SendTaskHeartbeatCommand")
|
|
422
|
-
.sc(
|
|
425
|
+
.sc(SendTaskHeartbeat$)
|
|
423
426
|
.build() {
|
|
424
427
|
}
|
|
425
428
|
|
|
426
|
-
class SendTaskSuccessCommand extends
|
|
429
|
+
class SendTaskSuccessCommand extends Command
|
|
427
430
|
.classBuilder()
|
|
428
431
|
.ep(commonParams)
|
|
429
432
|
.m(function (Command, cs, config, o) {
|
|
430
|
-
return [
|
|
433
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
431
434
|
})
|
|
432
435
|
.s("AWSStepFunctions", "SendTaskSuccess", {})
|
|
433
436
|
.n("SFNClient", "SendTaskSuccessCommand")
|
|
434
|
-
.sc(
|
|
437
|
+
.sc(SendTaskSuccess$)
|
|
435
438
|
.build() {
|
|
436
439
|
}
|
|
437
440
|
|
|
438
|
-
class StartExecutionCommand extends
|
|
441
|
+
class StartExecutionCommand extends Command
|
|
439
442
|
.classBuilder()
|
|
440
443
|
.ep(commonParams)
|
|
441
444
|
.m(function (Command, cs, config, o) {
|
|
442
|
-
return [
|
|
445
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
443
446
|
})
|
|
444
447
|
.s("AWSStepFunctions", "StartExecution", {})
|
|
445
448
|
.n("SFNClient", "StartExecutionCommand")
|
|
446
|
-
.sc(
|
|
449
|
+
.sc(StartExecution$)
|
|
447
450
|
.build() {
|
|
448
451
|
}
|
|
449
452
|
|
|
450
|
-
class StartSyncExecutionCommand extends
|
|
453
|
+
class StartSyncExecutionCommand extends Command
|
|
451
454
|
.classBuilder()
|
|
452
455
|
.ep(commonParams)
|
|
453
456
|
.m(function (Command, cs, config, o) {
|
|
454
|
-
return [
|
|
457
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
455
458
|
})
|
|
456
459
|
.s("AWSStepFunctions", "StartSyncExecution", {})
|
|
457
460
|
.n("SFNClient", "StartSyncExecutionCommand")
|
|
458
|
-
.sc(
|
|
461
|
+
.sc(StartSyncExecution$)
|
|
459
462
|
.build() {
|
|
460
463
|
}
|
|
461
464
|
|
|
462
|
-
class StopExecutionCommand extends
|
|
465
|
+
class StopExecutionCommand extends Command
|
|
463
466
|
.classBuilder()
|
|
464
467
|
.ep(commonParams)
|
|
465
468
|
.m(function (Command, cs, config, o) {
|
|
466
|
-
return [
|
|
469
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
467
470
|
})
|
|
468
471
|
.s("AWSStepFunctions", "StopExecution", {})
|
|
469
472
|
.n("SFNClient", "StopExecutionCommand")
|
|
470
|
-
.sc(
|
|
473
|
+
.sc(StopExecution$)
|
|
471
474
|
.build() {
|
|
472
475
|
}
|
|
473
476
|
|
|
474
|
-
class TagResourceCommand extends
|
|
477
|
+
class TagResourceCommand extends Command
|
|
475
478
|
.classBuilder()
|
|
476
479
|
.ep(commonParams)
|
|
477
480
|
.m(function (Command, cs, config, o) {
|
|
478
|
-
return [
|
|
481
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
479
482
|
})
|
|
480
483
|
.s("AWSStepFunctions", "TagResource", {})
|
|
481
484
|
.n("SFNClient", "TagResourceCommand")
|
|
482
|
-
.sc(
|
|
485
|
+
.sc(TagResource$)
|
|
483
486
|
.build() {
|
|
484
487
|
}
|
|
485
488
|
|
|
486
|
-
class TestStateCommand extends
|
|
489
|
+
class TestStateCommand extends Command
|
|
487
490
|
.classBuilder()
|
|
488
491
|
.ep(commonParams)
|
|
489
492
|
.m(function (Command, cs, config, o) {
|
|
490
|
-
return [
|
|
493
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
491
494
|
})
|
|
492
495
|
.s("AWSStepFunctions", "TestState", {})
|
|
493
496
|
.n("SFNClient", "TestStateCommand")
|
|
494
|
-
.sc(
|
|
497
|
+
.sc(TestState$)
|
|
495
498
|
.build() {
|
|
496
499
|
}
|
|
497
500
|
|
|
498
|
-
class UntagResourceCommand extends
|
|
501
|
+
class UntagResourceCommand extends Command
|
|
499
502
|
.classBuilder()
|
|
500
503
|
.ep(commonParams)
|
|
501
504
|
.m(function (Command, cs, config, o) {
|
|
502
|
-
return [
|
|
505
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
503
506
|
})
|
|
504
507
|
.s("AWSStepFunctions", "UntagResource", {})
|
|
505
508
|
.n("SFNClient", "UntagResourceCommand")
|
|
506
|
-
.sc(
|
|
509
|
+
.sc(UntagResource$)
|
|
507
510
|
.build() {
|
|
508
511
|
}
|
|
509
512
|
|
|
510
|
-
class UpdateMapRunCommand extends
|
|
513
|
+
class UpdateMapRunCommand extends Command
|
|
511
514
|
.classBuilder()
|
|
512
515
|
.ep(commonParams)
|
|
513
516
|
.m(function (Command, cs, config, o) {
|
|
514
|
-
return [
|
|
517
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
515
518
|
})
|
|
516
519
|
.s("AWSStepFunctions", "UpdateMapRun", {})
|
|
517
520
|
.n("SFNClient", "UpdateMapRunCommand")
|
|
518
|
-
.sc(
|
|
521
|
+
.sc(UpdateMapRun$)
|
|
519
522
|
.build() {
|
|
520
523
|
}
|
|
521
524
|
|
|
522
|
-
class UpdateStateMachineAliasCommand extends
|
|
525
|
+
class UpdateStateMachineAliasCommand extends Command
|
|
523
526
|
.classBuilder()
|
|
524
527
|
.ep(commonParams)
|
|
525
528
|
.m(function (Command, cs, config, o) {
|
|
526
|
-
return [
|
|
529
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
527
530
|
})
|
|
528
531
|
.s("AWSStepFunctions", "UpdateStateMachineAlias", {})
|
|
529
532
|
.n("SFNClient", "UpdateStateMachineAliasCommand")
|
|
530
|
-
.sc(
|
|
533
|
+
.sc(UpdateStateMachineAlias$)
|
|
531
534
|
.build() {
|
|
532
535
|
}
|
|
533
536
|
|
|
534
|
-
class UpdateStateMachineCommand extends
|
|
537
|
+
class UpdateStateMachineCommand extends Command
|
|
535
538
|
.classBuilder()
|
|
536
539
|
.ep(commonParams)
|
|
537
540
|
.m(function (Command, cs, config, o) {
|
|
538
|
-
return [
|
|
541
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
539
542
|
})
|
|
540
543
|
.s("AWSStepFunctions", "UpdateStateMachine", {})
|
|
541
544
|
.n("SFNClient", "UpdateStateMachineCommand")
|
|
542
|
-
.sc(
|
|
545
|
+
.sc(UpdateStateMachine$)
|
|
543
546
|
.build() {
|
|
544
547
|
}
|
|
545
548
|
|
|
546
|
-
class ValidateStateMachineDefinitionCommand extends
|
|
549
|
+
class ValidateStateMachineDefinitionCommand extends Command
|
|
547
550
|
.classBuilder()
|
|
548
551
|
.ep(commonParams)
|
|
549
552
|
.m(function (Command, cs, config, o) {
|
|
550
|
-
return [
|
|
553
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
551
554
|
})
|
|
552
555
|
.s("AWSStepFunctions", "ValidateStateMachineDefinition", {})
|
|
553
556
|
.n("SFNClient", "ValidateStateMachineDefinitionCommand")
|
|
554
|
-
.sc(
|
|
557
|
+
.sc(ValidateStateMachineDefinition$)
|
|
555
558
|
.build() {
|
|
556
559
|
}
|
|
557
560
|
|
|
558
|
-
const paginateGetExecutionHistory =
|
|
561
|
+
const paginateGetExecutionHistory = createPaginator(SFNClient, GetExecutionHistoryCommand, "nextToken", "nextToken", "maxResults");
|
|
559
562
|
|
|
560
|
-
const paginateListActivities =
|
|
563
|
+
const paginateListActivities = createPaginator(SFNClient, ListActivitiesCommand, "nextToken", "nextToken", "maxResults");
|
|
561
564
|
|
|
562
|
-
const paginateListExecutions =
|
|
565
|
+
const paginateListExecutions = createPaginator(SFNClient, ListExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
563
566
|
|
|
564
|
-
const paginateListMapRuns =
|
|
567
|
+
const paginateListMapRuns = createPaginator(SFNClient, ListMapRunsCommand, "nextToken", "nextToken", "maxResults");
|
|
565
568
|
|
|
566
|
-
const paginateListStateMachines =
|
|
569
|
+
const paginateListStateMachines = createPaginator(SFNClient, ListStateMachinesCommand, "nextToken", "nextToken", "maxResults");
|
|
567
570
|
|
|
568
571
|
const commands = {
|
|
569
572
|
CreateActivityCommand,
|
|
@@ -613,7 +616,7 @@ const paginators = {
|
|
|
613
616
|
};
|
|
614
617
|
class SFN extends SFNClient {
|
|
615
618
|
}
|
|
616
|
-
|
|
619
|
+
createAggregatedClient(commands, SFN, { paginators });
|
|
617
620
|
|
|
618
621
|
const EncryptionType = {
|
|
619
622
|
AWS_OWNED_KEY: "AWS_OWNED_KEY",
|
|
@@ -767,9 +770,6 @@ const ValidateStateMachineDefinitionResultCode = {
|
|
|
767
770
|
OK: "OK",
|
|
768
771
|
};
|
|
769
772
|
|
|
770
|
-
exports.$Command = client.Command;
|
|
771
|
-
exports.__Client = client.Client;
|
|
772
|
-
exports.SFNServiceException = SFNServiceException.SFNServiceException;
|
|
773
773
|
exports.CreateActivityCommand = CreateActivityCommand;
|
|
774
774
|
exports.CreateStateMachineAliasCommand = CreateStateMachineAliasCommand;
|
|
775
775
|
exports.CreateStateMachineCommand = CreateStateMachineCommand;
|
|
@@ -832,23 +832,3 @@ exports.paginateListActivities = paginateListActivities;
|
|
|
832
832
|
exports.paginateListExecutions = paginateListExecutions;
|
|
833
833
|
exports.paginateListMapRuns = paginateListMapRuns;
|
|
834
834
|
exports.paginateListStateMachines = paginateListStateMachines;
|
|
835
|
-
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
836
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
837
|
-
Object.defineProperty(exports, '__proto__', {
|
|
838
|
-
enumerable: true,
|
|
839
|
-
value: schemas_0['__proto__']
|
|
840
|
-
});
|
|
841
|
-
|
|
842
|
-
Object.keys(schemas_0).forEach(function (k) {
|
|
843
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
844
|
-
});
|
|
845
|
-
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
846
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
847
|
-
Object.defineProperty(exports, '__proto__', {
|
|
848
|
-
enumerable: true,
|
|
849
|
-
value: errors['__proto__']
|
|
850
|
-
});
|
|
851
|
-
|
|
852
|
-
Object.keys(errors).forEach(function (k) {
|
|
853
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
854
|
-
});
|