@aws-sdk/client-sfn 3.1077.0 → 3.1078.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.
Files changed (119) hide show
  1. package/dist-cjs/index.js +48 -376
  2. package/dist-es/commandBuilder.js +10 -0
  3. package/dist-es/commands/CreateActivityCommand.js +2 -14
  4. package/dist-es/commands/CreateStateMachineAliasCommand.js +2 -14
  5. package/dist-es/commands/CreateStateMachineCommand.js +2 -14
  6. package/dist-es/commands/DeleteActivityCommand.js +2 -14
  7. package/dist-es/commands/DeleteStateMachineAliasCommand.js +2 -14
  8. package/dist-es/commands/DeleteStateMachineCommand.js +2 -14
  9. package/dist-es/commands/DeleteStateMachineVersionCommand.js +2 -14
  10. package/dist-es/commands/DescribeActivityCommand.js +2 -14
  11. package/dist-es/commands/DescribeExecutionCommand.js +2 -14
  12. package/dist-es/commands/DescribeMapRunCommand.js +2 -14
  13. package/dist-es/commands/DescribeStateMachineAliasCommand.js +2 -14
  14. package/dist-es/commands/DescribeStateMachineCommand.js +2 -14
  15. package/dist-es/commands/DescribeStateMachineForExecutionCommand.js +2 -14
  16. package/dist-es/commands/GetActivityTaskCommand.js +2 -18
  17. package/dist-es/commands/GetExecutionHistoryCommand.js +2 -14
  18. package/dist-es/commands/ListActivitiesCommand.js +2 -14
  19. package/dist-es/commands/ListExecutionsCommand.js +2 -14
  20. package/dist-es/commands/ListMapRunsCommand.js +2 -14
  21. package/dist-es/commands/ListStateMachineAliasesCommand.js +2 -14
  22. package/dist-es/commands/ListStateMachineVersionsCommand.js +2 -14
  23. package/dist-es/commands/ListStateMachinesCommand.js +2 -14
  24. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  25. package/dist-es/commands/PublishStateMachineVersionCommand.js +2 -14
  26. package/dist-es/commands/RedriveExecutionCommand.js +2 -14
  27. package/dist-es/commands/SendTaskFailureCommand.js +2 -14
  28. package/dist-es/commands/SendTaskHeartbeatCommand.js +2 -14
  29. package/dist-es/commands/SendTaskSuccessCommand.js +2 -14
  30. package/dist-es/commands/StartExecutionCommand.js +2 -14
  31. package/dist-es/commands/StartSyncExecutionCommand.js +2 -14
  32. package/dist-es/commands/StopExecutionCommand.js +2 -14
  33. package/dist-es/commands/TagResourceCommand.js +2 -14
  34. package/dist-es/commands/TestStateCommand.js +2 -14
  35. package/dist-es/commands/UntagResourceCommand.js +2 -14
  36. package/dist-es/commands/UpdateMapRunCommand.js +2 -14
  37. package/dist-es/commands/UpdateStateMachineAliasCommand.js +2 -14
  38. package/dist-es/commands/UpdateStateMachineCommand.js +2 -14
  39. package/dist-es/commands/ValidateStateMachineDefinitionCommand.js +2 -14
  40. package/dist-es/index.js +1 -0
  41. package/dist-types/commandBuilder.d.ts +22 -0
  42. package/dist-types/commands/CreateActivityCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateStateMachineAliasCommand.d.ts +3 -8
  44. package/dist-types/commands/CreateStateMachineCommand.d.ts +3 -8
  45. package/dist-types/commands/DeleteActivityCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteStateMachineAliasCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteStateMachineCommand.d.ts +3 -8
  48. package/dist-types/commands/DeleteStateMachineVersionCommand.d.ts +3 -8
  49. package/dist-types/commands/DescribeActivityCommand.d.ts +3 -8
  50. package/dist-types/commands/DescribeExecutionCommand.d.ts +3 -8
  51. package/dist-types/commands/DescribeMapRunCommand.d.ts +3 -8
  52. package/dist-types/commands/DescribeStateMachineAliasCommand.d.ts +3 -8
  53. package/dist-types/commands/DescribeStateMachineCommand.d.ts +3 -8
  54. package/dist-types/commands/DescribeStateMachineForExecutionCommand.d.ts +3 -8
  55. package/dist-types/commands/GetActivityTaskCommand.d.ts +3 -8
  56. package/dist-types/commands/GetExecutionHistoryCommand.d.ts +3 -8
  57. package/dist-types/commands/ListActivitiesCommand.d.ts +3 -8
  58. package/dist-types/commands/ListExecutionsCommand.d.ts +3 -8
  59. package/dist-types/commands/ListMapRunsCommand.d.ts +3 -8
  60. package/dist-types/commands/ListStateMachineAliasesCommand.d.ts +3 -8
  61. package/dist-types/commands/ListStateMachineVersionsCommand.d.ts +3 -8
  62. package/dist-types/commands/ListStateMachinesCommand.d.ts +3 -8
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  64. package/dist-types/commands/PublishStateMachineVersionCommand.d.ts +3 -8
  65. package/dist-types/commands/RedriveExecutionCommand.d.ts +3 -8
  66. package/dist-types/commands/SendTaskFailureCommand.d.ts +3 -8
  67. package/dist-types/commands/SendTaskHeartbeatCommand.d.ts +3 -8
  68. package/dist-types/commands/SendTaskSuccessCommand.d.ts +3 -8
  69. package/dist-types/commands/StartExecutionCommand.d.ts +3 -8
  70. package/dist-types/commands/StartSyncExecutionCommand.d.ts +3 -8
  71. package/dist-types/commands/StopExecutionCommand.d.ts +3 -8
  72. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  73. package/dist-types/commands/TestStateCommand.d.ts +3 -8
  74. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  75. package/dist-types/commands/UpdateMapRunCommand.d.ts +3 -8
  76. package/dist-types/commands/UpdateStateMachineAliasCommand.d.ts +3 -8
  77. package/dist-types/commands/UpdateStateMachineCommand.d.ts +3 -8
  78. package/dist-types/commands/ValidateStateMachineDefinitionCommand.d.ts +3 -8
  79. package/dist-types/index.d.ts +1 -0
  80. package/dist-types/ts3.4/commandBuilder.d.ts +52 -0
  81. package/dist-types/ts3.4/commands/CreateActivityCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/CreateStateMachineAliasCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/CreateStateMachineCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DeleteActivityCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DeleteStateMachineAliasCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DeleteStateMachineCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DeleteStateMachineVersionCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/DescribeActivityCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/DescribeMapRunCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/DescribeStateMachineAliasCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/DescribeStateMachineCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/DescribeStateMachineForExecutionCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/GetActivityTaskCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/GetExecutionHistoryCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/ListActivitiesCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/ListMapRunsCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/ListStateMachineAliasesCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/ListStateMachineVersionsCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/ListStateMachinesCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/PublishStateMachineVersionCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/RedriveExecutionCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/SendTaskFailureCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/SendTaskHeartbeatCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/SendTaskSuccessCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/StartExecutionCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/StartSyncExecutionCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/StopExecutionCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/TestStateCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/UpdateMapRunCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/UpdateStateMachineAliasCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/UpdateStateMachineCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/ValidateStateMachineDefinitionCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/index.d.ts +1 -0
  119. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getLongPollPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -2198,451 +2199,122 @@ class SFNClient extends Client {
2198
2199
  }
2199
2200
  }
2200
2201
 
2201
- class CreateActivityCommand extends Command
2202
- .classBuilder()
2203
- .ep(commonParams)
2204
- .m(function (Command, cs, config, o) {
2205
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2206
- })
2207
- .s("AWSStepFunctions", "CreateActivity", {})
2208
- .n("SFNClient", "CreateActivityCommand")
2209
- .sc(CreateActivity$)
2210
- .build() {
2202
+ const command = makeBuilder(commonParams, "AWSStepFunctions", "SFNClient", getEndpointPlugin);
2203
+ const _ep0 = {};
2204
+ const _mw0 = (Command, cs, config, o) => [];
2205
+ const _mw1 = (Command, cs, config, o) => [
2206
+ getLongPollPlugin(config),
2207
+ ];
2208
+
2209
+ class CreateActivityCommand extends command(_ep0, _mw0, "CreateActivity", CreateActivity$) {
2211
2210
  }
2212
2211
 
2213
- class CreateStateMachineAliasCommand extends Command
2214
- .classBuilder()
2215
- .ep(commonParams)
2216
- .m(function (Command, cs, config, o) {
2217
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2218
- })
2219
- .s("AWSStepFunctions", "CreateStateMachineAlias", {})
2220
- .n("SFNClient", "CreateStateMachineAliasCommand")
2221
- .sc(CreateStateMachineAlias$)
2222
- .build() {
2212
+ class CreateStateMachineAliasCommand extends command(_ep0, _mw0, "CreateStateMachineAlias", CreateStateMachineAlias$) {
2223
2213
  }
2224
2214
 
2225
- class CreateStateMachineCommand extends Command
2226
- .classBuilder()
2227
- .ep(commonParams)
2228
- .m(function (Command, cs, config, o) {
2229
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2230
- })
2231
- .s("AWSStepFunctions", "CreateStateMachine", {})
2232
- .n("SFNClient", "CreateStateMachineCommand")
2233
- .sc(CreateStateMachine$)
2234
- .build() {
2215
+ class CreateStateMachineCommand extends command(_ep0, _mw0, "CreateStateMachine", CreateStateMachine$) {
2235
2216
  }
2236
2217
 
2237
- class DeleteActivityCommand extends Command
2238
- .classBuilder()
2239
- .ep(commonParams)
2240
- .m(function (Command, cs, config, o) {
2241
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2242
- })
2243
- .s("AWSStepFunctions", "DeleteActivity", {})
2244
- .n("SFNClient", "DeleteActivityCommand")
2245
- .sc(DeleteActivity$)
2246
- .build() {
2218
+ class DeleteActivityCommand extends command(_ep0, _mw0, "DeleteActivity", DeleteActivity$) {
2247
2219
  }
2248
2220
 
2249
- class DeleteStateMachineAliasCommand extends Command
2250
- .classBuilder()
2251
- .ep(commonParams)
2252
- .m(function (Command, cs, config, o) {
2253
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2254
- })
2255
- .s("AWSStepFunctions", "DeleteStateMachineAlias", {})
2256
- .n("SFNClient", "DeleteStateMachineAliasCommand")
2257
- .sc(DeleteStateMachineAlias$)
2258
- .build() {
2221
+ class DeleteStateMachineAliasCommand extends command(_ep0, _mw0, "DeleteStateMachineAlias", DeleteStateMachineAlias$) {
2259
2222
  }
2260
2223
 
2261
- class DeleteStateMachineCommand extends Command
2262
- .classBuilder()
2263
- .ep(commonParams)
2264
- .m(function (Command, cs, config, o) {
2265
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2266
- })
2267
- .s("AWSStepFunctions", "DeleteStateMachine", {})
2268
- .n("SFNClient", "DeleteStateMachineCommand")
2269
- .sc(DeleteStateMachine$)
2270
- .build() {
2224
+ class DeleteStateMachineCommand extends command(_ep0, _mw0, "DeleteStateMachine", DeleteStateMachine$) {
2271
2225
  }
2272
2226
 
2273
- class DeleteStateMachineVersionCommand extends Command
2274
- .classBuilder()
2275
- .ep(commonParams)
2276
- .m(function (Command, cs, config, o) {
2277
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2278
- })
2279
- .s("AWSStepFunctions", "DeleteStateMachineVersion", {})
2280
- .n("SFNClient", "DeleteStateMachineVersionCommand")
2281
- .sc(DeleteStateMachineVersion$)
2282
- .build() {
2227
+ class DeleteStateMachineVersionCommand extends command(_ep0, _mw0, "DeleteStateMachineVersion", DeleteStateMachineVersion$) {
2283
2228
  }
2284
2229
 
2285
- class DescribeActivityCommand extends Command
2286
- .classBuilder()
2287
- .ep(commonParams)
2288
- .m(function (Command, cs, config, o) {
2289
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2290
- })
2291
- .s("AWSStepFunctions", "DescribeActivity", {})
2292
- .n("SFNClient", "DescribeActivityCommand")
2293
- .sc(DescribeActivity$)
2294
- .build() {
2230
+ class DescribeActivityCommand extends command(_ep0, _mw0, "DescribeActivity", DescribeActivity$) {
2295
2231
  }
2296
2232
 
2297
- class DescribeExecutionCommand extends Command
2298
- .classBuilder()
2299
- .ep(commonParams)
2300
- .m(function (Command, cs, config, o) {
2301
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2302
- })
2303
- .s("AWSStepFunctions", "DescribeExecution", {})
2304
- .n("SFNClient", "DescribeExecutionCommand")
2305
- .sc(DescribeExecution$)
2306
- .build() {
2233
+ class DescribeExecutionCommand extends command(_ep0, _mw0, "DescribeExecution", DescribeExecution$) {
2307
2234
  }
2308
2235
 
2309
- class DescribeMapRunCommand extends Command
2310
- .classBuilder()
2311
- .ep(commonParams)
2312
- .m(function (Command, cs, config, o) {
2313
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2314
- })
2315
- .s("AWSStepFunctions", "DescribeMapRun", {})
2316
- .n("SFNClient", "DescribeMapRunCommand")
2317
- .sc(DescribeMapRun$)
2318
- .build() {
2236
+ class DescribeMapRunCommand extends command(_ep0, _mw0, "DescribeMapRun", DescribeMapRun$) {
2319
2237
  }
2320
2238
 
2321
- class DescribeStateMachineAliasCommand extends Command
2322
- .classBuilder()
2323
- .ep(commonParams)
2324
- .m(function (Command, cs, config, o) {
2325
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2326
- })
2327
- .s("AWSStepFunctions", "DescribeStateMachineAlias", {})
2328
- .n("SFNClient", "DescribeStateMachineAliasCommand")
2329
- .sc(DescribeStateMachineAlias$)
2330
- .build() {
2239
+ class DescribeStateMachineAliasCommand extends command(_ep0, _mw0, "DescribeStateMachineAlias", DescribeStateMachineAlias$) {
2331
2240
  }
2332
2241
 
2333
- class DescribeStateMachineCommand extends Command
2334
- .classBuilder()
2335
- .ep(commonParams)
2336
- .m(function (Command, cs, config, o) {
2337
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2338
- })
2339
- .s("AWSStepFunctions", "DescribeStateMachine", {})
2340
- .n("SFNClient", "DescribeStateMachineCommand")
2341
- .sc(DescribeStateMachine$)
2342
- .build() {
2242
+ class DescribeStateMachineCommand extends command(_ep0, _mw0, "DescribeStateMachine", DescribeStateMachine$) {
2343
2243
  }
2344
2244
 
2345
- class DescribeStateMachineForExecutionCommand extends Command
2346
- .classBuilder()
2347
- .ep(commonParams)
2348
- .m(function (Command, cs, config, o) {
2349
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2350
- })
2351
- .s("AWSStepFunctions", "DescribeStateMachineForExecution", {})
2352
- .n("SFNClient", "DescribeStateMachineForExecutionCommand")
2353
- .sc(DescribeStateMachineForExecution$)
2354
- .build() {
2245
+ class DescribeStateMachineForExecutionCommand extends command(_ep0, _mw0, "DescribeStateMachineForExecution", DescribeStateMachineForExecution$) {
2355
2246
  }
2356
2247
 
2357
- class GetActivityTaskCommand extends Command
2358
- .classBuilder()
2359
- .ep(commonParams)
2360
- .m(function (Command, cs, config, o) {
2361
- return [
2362
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2363
- getLongPollPlugin(config),
2364
- ];
2365
- })
2366
- .s("AWSStepFunctions", "GetActivityTask", {})
2367
- .n("SFNClient", "GetActivityTaskCommand")
2368
- .sc(GetActivityTask$)
2369
- .build() {
2248
+ class GetActivityTaskCommand extends command(_ep0, _mw1, "GetActivityTask", GetActivityTask$) {
2370
2249
  }
2371
2250
 
2372
- class GetExecutionHistoryCommand extends Command
2373
- .classBuilder()
2374
- .ep(commonParams)
2375
- .m(function (Command, cs, config, o) {
2376
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2377
- })
2378
- .s("AWSStepFunctions", "GetExecutionHistory", {})
2379
- .n("SFNClient", "GetExecutionHistoryCommand")
2380
- .sc(GetExecutionHistory$)
2381
- .build() {
2251
+ class GetExecutionHistoryCommand extends command(_ep0, _mw0, "GetExecutionHistory", GetExecutionHistory$) {
2382
2252
  }
2383
2253
 
2384
- class ListActivitiesCommand extends Command
2385
- .classBuilder()
2386
- .ep(commonParams)
2387
- .m(function (Command, cs, config, o) {
2388
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2389
- })
2390
- .s("AWSStepFunctions", "ListActivities", {})
2391
- .n("SFNClient", "ListActivitiesCommand")
2392
- .sc(ListActivities$)
2393
- .build() {
2254
+ class ListActivitiesCommand extends command(_ep0, _mw0, "ListActivities", ListActivities$) {
2394
2255
  }
2395
2256
 
2396
- class ListExecutionsCommand extends Command
2397
- .classBuilder()
2398
- .ep(commonParams)
2399
- .m(function (Command, cs, config, o) {
2400
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2401
- })
2402
- .s("AWSStepFunctions", "ListExecutions", {})
2403
- .n("SFNClient", "ListExecutionsCommand")
2404
- .sc(ListExecutions$)
2405
- .build() {
2257
+ class ListExecutionsCommand extends command(_ep0, _mw0, "ListExecutions", ListExecutions$) {
2406
2258
  }
2407
2259
 
2408
- class ListMapRunsCommand extends Command
2409
- .classBuilder()
2410
- .ep(commonParams)
2411
- .m(function (Command, cs, config, o) {
2412
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2413
- })
2414
- .s("AWSStepFunctions", "ListMapRuns", {})
2415
- .n("SFNClient", "ListMapRunsCommand")
2416
- .sc(ListMapRuns$)
2417
- .build() {
2260
+ class ListMapRunsCommand extends command(_ep0, _mw0, "ListMapRuns", ListMapRuns$) {
2418
2261
  }
2419
2262
 
2420
- class ListStateMachineAliasesCommand extends Command
2421
- .classBuilder()
2422
- .ep(commonParams)
2423
- .m(function (Command, cs, config, o) {
2424
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2425
- })
2426
- .s("AWSStepFunctions", "ListStateMachineAliases", {})
2427
- .n("SFNClient", "ListStateMachineAliasesCommand")
2428
- .sc(ListStateMachineAliases$)
2429
- .build() {
2263
+ class ListStateMachineAliasesCommand extends command(_ep0, _mw0, "ListStateMachineAliases", ListStateMachineAliases$) {
2430
2264
  }
2431
2265
 
2432
- class ListStateMachinesCommand extends Command
2433
- .classBuilder()
2434
- .ep(commonParams)
2435
- .m(function (Command, cs, config, o) {
2436
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2437
- })
2438
- .s("AWSStepFunctions", "ListStateMachines", {})
2439
- .n("SFNClient", "ListStateMachinesCommand")
2440
- .sc(ListStateMachines$)
2441
- .build() {
2266
+ class ListStateMachinesCommand extends command(_ep0, _mw0, "ListStateMachines", ListStateMachines$) {
2442
2267
  }
2443
2268
 
2444
- class ListStateMachineVersionsCommand extends Command
2445
- .classBuilder()
2446
- .ep(commonParams)
2447
- .m(function (Command, cs, config, o) {
2448
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2449
- })
2450
- .s("AWSStepFunctions", "ListStateMachineVersions", {})
2451
- .n("SFNClient", "ListStateMachineVersionsCommand")
2452
- .sc(ListStateMachineVersions$)
2453
- .build() {
2269
+ class ListStateMachineVersionsCommand extends command(_ep0, _mw0, "ListStateMachineVersions", ListStateMachineVersions$) {
2454
2270
  }
2455
2271
 
2456
- class ListTagsForResourceCommand extends Command
2457
- .classBuilder()
2458
- .ep(commonParams)
2459
- .m(function (Command, cs, config, o) {
2460
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2461
- })
2462
- .s("AWSStepFunctions", "ListTagsForResource", {})
2463
- .n("SFNClient", "ListTagsForResourceCommand")
2464
- .sc(ListTagsForResource$)
2465
- .build() {
2272
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
2466
2273
  }
2467
2274
 
2468
- class PublishStateMachineVersionCommand extends Command
2469
- .classBuilder()
2470
- .ep(commonParams)
2471
- .m(function (Command, cs, config, o) {
2472
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2473
- })
2474
- .s("AWSStepFunctions", "PublishStateMachineVersion", {})
2475
- .n("SFNClient", "PublishStateMachineVersionCommand")
2476
- .sc(PublishStateMachineVersion$)
2477
- .build() {
2275
+ class PublishStateMachineVersionCommand extends command(_ep0, _mw0, "PublishStateMachineVersion", PublishStateMachineVersion$) {
2478
2276
  }
2479
2277
 
2480
- class RedriveExecutionCommand extends Command
2481
- .classBuilder()
2482
- .ep(commonParams)
2483
- .m(function (Command, cs, config, o) {
2484
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2485
- })
2486
- .s("AWSStepFunctions", "RedriveExecution", {})
2487
- .n("SFNClient", "RedriveExecutionCommand")
2488
- .sc(RedriveExecution$)
2489
- .build() {
2278
+ class RedriveExecutionCommand extends command(_ep0, _mw0, "RedriveExecution", RedriveExecution$) {
2490
2279
  }
2491
2280
 
2492
- class SendTaskFailureCommand extends Command
2493
- .classBuilder()
2494
- .ep(commonParams)
2495
- .m(function (Command, cs, config, o) {
2496
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2497
- })
2498
- .s("AWSStepFunctions", "SendTaskFailure", {})
2499
- .n("SFNClient", "SendTaskFailureCommand")
2500
- .sc(SendTaskFailure$)
2501
- .build() {
2281
+ class SendTaskFailureCommand extends command(_ep0, _mw0, "SendTaskFailure", SendTaskFailure$) {
2502
2282
  }
2503
2283
 
2504
- class SendTaskHeartbeatCommand extends Command
2505
- .classBuilder()
2506
- .ep(commonParams)
2507
- .m(function (Command, cs, config, o) {
2508
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2509
- })
2510
- .s("AWSStepFunctions", "SendTaskHeartbeat", {})
2511
- .n("SFNClient", "SendTaskHeartbeatCommand")
2512
- .sc(SendTaskHeartbeat$)
2513
- .build() {
2284
+ class SendTaskHeartbeatCommand extends command(_ep0, _mw0, "SendTaskHeartbeat", SendTaskHeartbeat$) {
2514
2285
  }
2515
2286
 
2516
- class SendTaskSuccessCommand extends Command
2517
- .classBuilder()
2518
- .ep(commonParams)
2519
- .m(function (Command, cs, config, o) {
2520
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2521
- })
2522
- .s("AWSStepFunctions", "SendTaskSuccess", {})
2523
- .n("SFNClient", "SendTaskSuccessCommand")
2524
- .sc(SendTaskSuccess$)
2525
- .build() {
2287
+ class SendTaskSuccessCommand extends command(_ep0, _mw0, "SendTaskSuccess", SendTaskSuccess$) {
2526
2288
  }
2527
2289
 
2528
- class StartExecutionCommand extends Command
2529
- .classBuilder()
2530
- .ep(commonParams)
2531
- .m(function (Command, cs, config, o) {
2532
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2533
- })
2534
- .s("AWSStepFunctions", "StartExecution", {})
2535
- .n("SFNClient", "StartExecutionCommand")
2536
- .sc(StartExecution$)
2537
- .build() {
2290
+ class StartExecutionCommand extends command(_ep0, _mw0, "StartExecution", StartExecution$) {
2538
2291
  }
2539
2292
 
2540
- class StartSyncExecutionCommand extends Command
2541
- .classBuilder()
2542
- .ep(commonParams)
2543
- .m(function (Command, cs, config, o) {
2544
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2545
- })
2546
- .s("AWSStepFunctions", "StartSyncExecution", {})
2547
- .n("SFNClient", "StartSyncExecutionCommand")
2548
- .sc(StartSyncExecution$)
2549
- .build() {
2293
+ class StartSyncExecutionCommand extends command(_ep0, _mw0, "StartSyncExecution", StartSyncExecution$) {
2550
2294
  }
2551
2295
 
2552
- class StopExecutionCommand extends Command
2553
- .classBuilder()
2554
- .ep(commonParams)
2555
- .m(function (Command, cs, config, o) {
2556
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2557
- })
2558
- .s("AWSStepFunctions", "StopExecution", {})
2559
- .n("SFNClient", "StopExecutionCommand")
2560
- .sc(StopExecution$)
2561
- .build() {
2296
+ class StopExecutionCommand extends command(_ep0, _mw0, "StopExecution", StopExecution$) {
2562
2297
  }
2563
2298
 
2564
- class TagResourceCommand extends Command
2565
- .classBuilder()
2566
- .ep(commonParams)
2567
- .m(function (Command, cs, config, o) {
2568
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2569
- })
2570
- .s("AWSStepFunctions", "TagResource", {})
2571
- .n("SFNClient", "TagResourceCommand")
2572
- .sc(TagResource$)
2573
- .build() {
2299
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
2574
2300
  }
2575
2301
 
2576
- class TestStateCommand extends Command
2577
- .classBuilder()
2578
- .ep(commonParams)
2579
- .m(function (Command, cs, config, o) {
2580
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2581
- })
2582
- .s("AWSStepFunctions", "TestState", {})
2583
- .n("SFNClient", "TestStateCommand")
2584
- .sc(TestState$)
2585
- .build() {
2302
+ class TestStateCommand extends command(_ep0, _mw0, "TestState", TestState$) {
2586
2303
  }
2587
2304
 
2588
- class UntagResourceCommand extends Command
2589
- .classBuilder()
2590
- .ep(commonParams)
2591
- .m(function (Command, cs, config, o) {
2592
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2593
- })
2594
- .s("AWSStepFunctions", "UntagResource", {})
2595
- .n("SFNClient", "UntagResourceCommand")
2596
- .sc(UntagResource$)
2597
- .build() {
2305
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
2598
2306
  }
2599
2307
 
2600
- class UpdateMapRunCommand extends Command
2601
- .classBuilder()
2602
- .ep(commonParams)
2603
- .m(function (Command, cs, config, o) {
2604
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2605
- })
2606
- .s("AWSStepFunctions", "UpdateMapRun", {})
2607
- .n("SFNClient", "UpdateMapRunCommand")
2608
- .sc(UpdateMapRun$)
2609
- .build() {
2308
+ class UpdateMapRunCommand extends command(_ep0, _mw0, "UpdateMapRun", UpdateMapRun$) {
2610
2309
  }
2611
2310
 
2612
- class UpdateStateMachineAliasCommand extends Command
2613
- .classBuilder()
2614
- .ep(commonParams)
2615
- .m(function (Command, cs, config, o) {
2616
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2617
- })
2618
- .s("AWSStepFunctions", "UpdateStateMachineAlias", {})
2619
- .n("SFNClient", "UpdateStateMachineAliasCommand")
2620
- .sc(UpdateStateMachineAlias$)
2621
- .build() {
2311
+ class UpdateStateMachineAliasCommand extends command(_ep0, _mw0, "UpdateStateMachineAlias", UpdateStateMachineAlias$) {
2622
2312
  }
2623
2313
 
2624
- class UpdateStateMachineCommand extends Command
2625
- .classBuilder()
2626
- .ep(commonParams)
2627
- .m(function (Command, cs, config, o) {
2628
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2629
- })
2630
- .s("AWSStepFunctions", "UpdateStateMachine", {})
2631
- .n("SFNClient", "UpdateStateMachineCommand")
2632
- .sc(UpdateStateMachine$)
2633
- .build() {
2314
+ class UpdateStateMachineCommand extends command(_ep0, _mw0, "UpdateStateMachine", UpdateStateMachine$) {
2634
2315
  }
2635
2316
 
2636
- class ValidateStateMachineDefinitionCommand extends Command
2637
- .classBuilder()
2638
- .ep(commonParams)
2639
- .m(function (Command, cs, config, o) {
2640
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2641
- })
2642
- .s("AWSStepFunctions", "ValidateStateMachineDefinition", {})
2643
- .n("SFNClient", "ValidateStateMachineDefinitionCommand")
2644
- .sc(ValidateStateMachineDefinition$)
2645
- .build() {
2317
+ class ValidateStateMachineDefinitionCommand extends command(_ep0, _mw0, "ValidateStateMachineDefinition", ValidateStateMachineDefinition$) {
2646
2318
  }
2647
2319
 
2648
2320
  const paginateGetExecutionHistory = createPaginator(SFNClient, GetExecutionHistoryCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,10 @@
1
+ import { getLongPollPlugin } from "@aws-sdk/core/client";
2
+ import { makeBuilder } from "@smithy/core/client";
3
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
4
+ import { commonParams } from "./endpoint/EndpointParameters";
5
+ export const command = makeBuilder(commonParams, "AWSStepFunctions", "SFNClient", getEndpointPlugin);
6
+ export const _ep0 = {};
7
+ export const _mw0 = (Command, cs, config, o) => [];
8
+ export const _mw1 = (Command, cs, config, o) => [
9
+ getLongPollPlugin(config),
10
+ ];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateActivity$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateActivityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSStepFunctions", "CreateActivity", {})
13
- .n("SFNClient", "CreateActivityCommand")
14
- .sc(CreateActivity$)
15
- .build() {
3
+ export class CreateActivityCommand extends command(_ep0, _mw0, "CreateActivity", CreateActivity$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateStateMachineAlias$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateStateMachineAliasCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSStepFunctions", "CreateStateMachineAlias", {})
13
- .n("SFNClient", "CreateStateMachineAliasCommand")
14
- .sc(CreateStateMachineAlias$)
15
- .build() {
3
+ export class CreateStateMachineAliasCommand extends command(_ep0, _mw0, "CreateStateMachineAlias", CreateStateMachineAlias$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateStateMachine$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateStateMachineCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSStepFunctions", "CreateStateMachine", {})
13
- .n("SFNClient", "CreateStateMachineCommand")
14
- .sc(CreateStateMachine$)
15
- .build() {
3
+ export class CreateStateMachineCommand extends command(_ep0, _mw0, "CreateStateMachine", CreateStateMachine$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteActivity$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteActivityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSStepFunctions", "DeleteActivity", {})
13
- .n("SFNClient", "DeleteActivityCommand")
14
- .sc(DeleteActivity$)
15
- .build() {
3
+ export class DeleteActivityCommand extends command(_ep0, _mw0, "DeleteActivity", DeleteActivity$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteStateMachineAlias$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteStateMachineAliasCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSStepFunctions", "DeleteStateMachineAlias", {})
13
- .n("SFNClient", "DeleteStateMachineAliasCommand")
14
- .sc(DeleteStateMachineAlias$)
15
- .build() {
3
+ export class DeleteStateMachineAliasCommand extends command(_ep0, _mw0, "DeleteStateMachineAlias", DeleteStateMachineAlias$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteStateMachine$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteStateMachineCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSStepFunctions", "DeleteStateMachine", {})
13
- .n("SFNClient", "DeleteStateMachineCommand")
14
- .sc(DeleteStateMachine$)
15
- .build() {
3
+ export class DeleteStateMachineCommand extends command(_ep0, _mw0, "DeleteStateMachine", DeleteStateMachine$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteStateMachineVersion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteStateMachineVersionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSStepFunctions", "DeleteStateMachineVersion", {})
13
- .n("SFNClient", "DeleteStateMachineVersionCommand")
14
- .sc(DeleteStateMachineVersion$)
15
- .build() {
3
+ export class DeleteStateMachineVersionCommand extends command(_ep0, _mw0, "DeleteStateMachineVersion", DeleteStateMachineVersion$) {
16
4
  }