@aws-sdk/client-sfn 3.357.0 → 3.359.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/README.md +64 -0
- package/dist-cjs/SFN.js +16 -0
- package/dist-cjs/commands/CreateStateMachineAliasCommand.js +47 -0
- package/dist-cjs/commands/DeleteStateMachineAliasCommand.js +46 -0
- package/dist-cjs/commands/DeleteStateMachineVersionCommand.js +46 -0
- package/dist-cjs/commands/DescribeStateMachineAliasCommand.js +47 -0
- package/dist-cjs/commands/ListStateMachineAliasesCommand.js +46 -0
- package/dist-cjs/commands/ListStateMachineVersionsCommand.js +46 -0
- package/dist-cjs/commands/PublishStateMachineVersionCommand.js +47 -0
- package/dist-cjs/commands/UpdateStateMachineAliasCommand.js +47 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +66 -16
- package/dist-cjs/protocols/Aws_json1_0.js +510 -2
- package/dist-es/SFN.js +16 -0
- package/dist-es/commands/CreateStateMachineAliasCommand.js +43 -0
- package/dist-es/commands/DeleteStateMachineAliasCommand.js +42 -0
- package/dist-es/commands/DeleteStateMachineVersionCommand.js +42 -0
- package/dist-es/commands/DescribeStateMachineAliasCommand.js +43 -0
- package/dist-es/commands/ListStateMachineAliasesCommand.js +42 -0
- package/dist-es/commands/ListStateMachineVersionsCommand.js +42 -0
- package/dist-es/commands/PublishStateMachineVersionCommand.js +43 -0
- package/dist-es/commands/UpdateStateMachineAliasCommand.js +43 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +57 -13
- package/dist-es/protocols/Aws_json1_0.js +493 -1
- package/dist-types/SFN.d.ts +56 -0
- package/dist-types/SFNClient.d.ts +10 -2
- package/dist-types/commands/CreateStateMachineAliasCommand.d.ts +144 -0
- package/dist-types/commands/CreateStateMachineCommand.d.ts +14 -2
- package/dist-types/commands/DeleteStateMachineAliasCommand.d.ts +112 -0
- package/dist-types/commands/DeleteStateMachineCommand.d.ts +21 -6
- package/dist-types/commands/DeleteStateMachineVersionCommand.d.ts +106 -0
- package/dist-types/commands/DescribeExecutionCommand.d.ts +9 -2
- package/dist-types/commands/DescribeMapRunCommand.d.ts +1 -2
- package/dist-types/commands/DescribeStateMachineAliasCommand.d.ts +117 -0
- package/dist-types/commands/DescribeStateMachineCommand.d.ts +33 -4
- package/dist-types/commands/DescribeStateMachineForExecutionCommand.d.ts +7 -1
- package/dist-types/commands/GetActivityTaskCommand.d.ts +0 -2
- package/dist-types/commands/GetExecutionHistoryCommand.d.ts +2 -0
- package/dist-types/commands/ListExecutionsCommand.d.ts +4 -2
- package/dist-types/commands/ListStateMachineAliasesCommand.d.ts +124 -0
- package/dist-types/commands/ListStateMachineVersionsCommand.d.ts +108 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
- package/dist-types/commands/PublishStateMachineVersionCommand.d.ts +122 -0
- package/dist-types/commands/StartExecutionCommand.d.ts +37 -9
- package/dist-types/commands/TagResourceCommand.d.ts +1 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
- package/dist-types/commands/UpdateMapRunCommand.d.ts +1 -2
- package/dist-types/commands/UpdateStateMachineAliasCommand.d.ts +132 -0
- package/dist-types/commands/UpdateStateMachineCommand.d.ts +49 -7
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +475 -36
- package/dist-types/protocols/Aws_json1_0.d.ts +72 -0
- package/dist-types/ts3.4/SFN.d.ts +136 -0
- package/dist-types/ts3.4/SFNClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/CreateStateMachineAliasCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteStateMachineAliasCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteStateMachineVersionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeStateMachineAliasCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListStateMachineAliasesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListStateMachineVersionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PublishStateMachineVersionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateStateMachineAliasCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +130 -14
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +96 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -234,6 +234,14 @@ CreateStateMachine
|
|
|
234
234
|
|
|
235
235
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/classes/createstatemachinecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/createstatemachinecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/createstatemachinecommandoutput.html)
|
|
236
236
|
|
|
237
|
+
</details>
|
|
238
|
+
<details>
|
|
239
|
+
<summary>
|
|
240
|
+
CreateStateMachineAlias
|
|
241
|
+
</summary>
|
|
242
|
+
|
|
243
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/classes/createstatemachinealiascommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/createstatemachinealiascommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/createstatemachinealiascommandoutput.html)
|
|
244
|
+
|
|
237
245
|
</details>
|
|
238
246
|
<details>
|
|
239
247
|
<summary>
|
|
@@ -250,6 +258,22 @@ DeleteStateMachine
|
|
|
250
258
|
|
|
251
259
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/classes/deletestatemachinecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/deletestatemachinecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/deletestatemachinecommandoutput.html)
|
|
252
260
|
|
|
261
|
+
</details>
|
|
262
|
+
<details>
|
|
263
|
+
<summary>
|
|
264
|
+
DeleteStateMachineAlias
|
|
265
|
+
</summary>
|
|
266
|
+
|
|
267
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/classes/deletestatemachinealiascommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/deletestatemachinealiascommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/deletestatemachinealiascommandoutput.html)
|
|
268
|
+
|
|
269
|
+
</details>
|
|
270
|
+
<details>
|
|
271
|
+
<summary>
|
|
272
|
+
DeleteStateMachineVersion
|
|
273
|
+
</summary>
|
|
274
|
+
|
|
275
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/classes/deletestatemachineversioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/deletestatemachineversioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/deletestatemachineversioncommandoutput.html)
|
|
276
|
+
|
|
253
277
|
</details>
|
|
254
278
|
<details>
|
|
255
279
|
<summary>
|
|
@@ -282,6 +306,14 @@ DescribeStateMachine
|
|
|
282
306
|
|
|
283
307
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/classes/describestatemachinecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/describestatemachinecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/describestatemachinecommandoutput.html)
|
|
284
308
|
|
|
309
|
+
</details>
|
|
310
|
+
<details>
|
|
311
|
+
<summary>
|
|
312
|
+
DescribeStateMachineAlias
|
|
313
|
+
</summary>
|
|
314
|
+
|
|
315
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/classes/describestatemachinealiascommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/describestatemachinealiascommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/describestatemachinealiascommandoutput.html)
|
|
316
|
+
|
|
285
317
|
</details>
|
|
286
318
|
<details>
|
|
287
319
|
<summary>
|
|
@@ -330,6 +362,14 @@ ListMapRuns
|
|
|
330
362
|
|
|
331
363
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/classes/listmaprunscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/listmaprunscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/listmaprunscommandoutput.html)
|
|
332
364
|
|
|
365
|
+
</details>
|
|
366
|
+
<details>
|
|
367
|
+
<summary>
|
|
368
|
+
ListStateMachineAliases
|
|
369
|
+
</summary>
|
|
370
|
+
|
|
371
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/classes/liststatemachinealiasescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/liststatemachinealiasescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/liststatemachinealiasescommandoutput.html)
|
|
372
|
+
|
|
333
373
|
</details>
|
|
334
374
|
<details>
|
|
335
375
|
<summary>
|
|
@@ -338,6 +378,14 @@ ListStateMachines
|
|
|
338
378
|
|
|
339
379
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/classes/liststatemachinescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/liststatemachinescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/liststatemachinescommandoutput.html)
|
|
340
380
|
|
|
381
|
+
</details>
|
|
382
|
+
<details>
|
|
383
|
+
<summary>
|
|
384
|
+
ListStateMachineVersions
|
|
385
|
+
</summary>
|
|
386
|
+
|
|
387
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/classes/liststatemachineversionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/liststatemachineversionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/liststatemachineversionscommandoutput.html)
|
|
388
|
+
|
|
341
389
|
</details>
|
|
342
390
|
<details>
|
|
343
391
|
<summary>
|
|
@@ -346,6 +394,14 @@ ListTagsForResource
|
|
|
346
394
|
|
|
347
395
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/classes/listtagsforresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/listtagsforresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/listtagsforresourcecommandoutput.html)
|
|
348
396
|
|
|
397
|
+
</details>
|
|
398
|
+
<details>
|
|
399
|
+
<summary>
|
|
400
|
+
PublishStateMachineVersion
|
|
401
|
+
</summary>
|
|
402
|
+
|
|
403
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/classes/publishstatemachineversioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/publishstatemachineversioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/publishstatemachineversioncommandoutput.html)
|
|
404
|
+
|
|
349
405
|
</details>
|
|
350
406
|
<details>
|
|
351
407
|
<summary>
|
|
@@ -427,3 +483,11 @@ UpdateStateMachine
|
|
|
427
483
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/classes/updatestatemachinecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/updatestatemachinecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/updatestatemachinecommandoutput.html)
|
|
428
484
|
|
|
429
485
|
</details>
|
|
486
|
+
<details>
|
|
487
|
+
<summary>
|
|
488
|
+
UpdateStateMachineAlias
|
|
489
|
+
</summary>
|
|
490
|
+
|
|
491
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/classes/updatestatemachinealiascommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/updatestatemachinealiascommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sfn/interfaces/updatestatemachinealiascommandoutput.html)
|
|
492
|
+
|
|
493
|
+
</details>
|
package/dist-cjs/SFN.js
CHANGED
|
@@ -3,12 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SFN = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const CreateActivityCommand_1 = require("./commands/CreateActivityCommand");
|
|
6
|
+
const CreateStateMachineAliasCommand_1 = require("./commands/CreateStateMachineAliasCommand");
|
|
6
7
|
const CreateStateMachineCommand_1 = require("./commands/CreateStateMachineCommand");
|
|
7
8
|
const DeleteActivityCommand_1 = require("./commands/DeleteActivityCommand");
|
|
9
|
+
const DeleteStateMachineAliasCommand_1 = require("./commands/DeleteStateMachineAliasCommand");
|
|
8
10
|
const DeleteStateMachineCommand_1 = require("./commands/DeleteStateMachineCommand");
|
|
11
|
+
const DeleteStateMachineVersionCommand_1 = require("./commands/DeleteStateMachineVersionCommand");
|
|
9
12
|
const DescribeActivityCommand_1 = require("./commands/DescribeActivityCommand");
|
|
10
13
|
const DescribeExecutionCommand_1 = require("./commands/DescribeExecutionCommand");
|
|
11
14
|
const DescribeMapRunCommand_1 = require("./commands/DescribeMapRunCommand");
|
|
15
|
+
const DescribeStateMachineAliasCommand_1 = require("./commands/DescribeStateMachineAliasCommand");
|
|
12
16
|
const DescribeStateMachineCommand_1 = require("./commands/DescribeStateMachineCommand");
|
|
13
17
|
const DescribeStateMachineForExecutionCommand_1 = require("./commands/DescribeStateMachineForExecutionCommand");
|
|
14
18
|
const GetActivityTaskCommand_1 = require("./commands/GetActivityTaskCommand");
|
|
@@ -16,8 +20,11 @@ const GetExecutionHistoryCommand_1 = require("./commands/GetExecutionHistoryComm
|
|
|
16
20
|
const ListActivitiesCommand_1 = require("./commands/ListActivitiesCommand");
|
|
17
21
|
const ListExecutionsCommand_1 = require("./commands/ListExecutionsCommand");
|
|
18
22
|
const ListMapRunsCommand_1 = require("./commands/ListMapRunsCommand");
|
|
23
|
+
const ListStateMachineAliasesCommand_1 = require("./commands/ListStateMachineAliasesCommand");
|
|
19
24
|
const ListStateMachinesCommand_1 = require("./commands/ListStateMachinesCommand");
|
|
25
|
+
const ListStateMachineVersionsCommand_1 = require("./commands/ListStateMachineVersionsCommand");
|
|
20
26
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
27
|
+
const PublishStateMachineVersionCommand_1 = require("./commands/PublishStateMachineVersionCommand");
|
|
21
28
|
const SendTaskFailureCommand_1 = require("./commands/SendTaskFailureCommand");
|
|
22
29
|
const SendTaskHeartbeatCommand_1 = require("./commands/SendTaskHeartbeatCommand");
|
|
23
30
|
const SendTaskSuccessCommand_1 = require("./commands/SendTaskSuccessCommand");
|
|
@@ -27,25 +34,33 @@ const StopExecutionCommand_1 = require("./commands/StopExecutionCommand");
|
|
|
27
34
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
28
35
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
29
36
|
const UpdateMapRunCommand_1 = require("./commands/UpdateMapRunCommand");
|
|
37
|
+
const UpdateStateMachineAliasCommand_1 = require("./commands/UpdateStateMachineAliasCommand");
|
|
30
38
|
const UpdateStateMachineCommand_1 = require("./commands/UpdateStateMachineCommand");
|
|
31
39
|
const SFNClient_1 = require("./SFNClient");
|
|
32
40
|
const commands = {
|
|
33
41
|
CreateActivityCommand: CreateActivityCommand_1.CreateActivityCommand,
|
|
34
42
|
CreateStateMachineCommand: CreateStateMachineCommand_1.CreateStateMachineCommand,
|
|
43
|
+
CreateStateMachineAliasCommand: CreateStateMachineAliasCommand_1.CreateStateMachineAliasCommand,
|
|
35
44
|
DeleteActivityCommand: DeleteActivityCommand_1.DeleteActivityCommand,
|
|
36
45
|
DeleteStateMachineCommand: DeleteStateMachineCommand_1.DeleteStateMachineCommand,
|
|
46
|
+
DeleteStateMachineAliasCommand: DeleteStateMachineAliasCommand_1.DeleteStateMachineAliasCommand,
|
|
47
|
+
DeleteStateMachineVersionCommand: DeleteStateMachineVersionCommand_1.DeleteStateMachineVersionCommand,
|
|
37
48
|
DescribeActivityCommand: DescribeActivityCommand_1.DescribeActivityCommand,
|
|
38
49
|
DescribeExecutionCommand: DescribeExecutionCommand_1.DescribeExecutionCommand,
|
|
39
50
|
DescribeMapRunCommand: DescribeMapRunCommand_1.DescribeMapRunCommand,
|
|
40
51
|
DescribeStateMachineCommand: DescribeStateMachineCommand_1.DescribeStateMachineCommand,
|
|
52
|
+
DescribeStateMachineAliasCommand: DescribeStateMachineAliasCommand_1.DescribeStateMachineAliasCommand,
|
|
41
53
|
DescribeStateMachineForExecutionCommand: DescribeStateMachineForExecutionCommand_1.DescribeStateMachineForExecutionCommand,
|
|
42
54
|
GetActivityTaskCommand: GetActivityTaskCommand_1.GetActivityTaskCommand,
|
|
43
55
|
GetExecutionHistoryCommand: GetExecutionHistoryCommand_1.GetExecutionHistoryCommand,
|
|
44
56
|
ListActivitiesCommand: ListActivitiesCommand_1.ListActivitiesCommand,
|
|
45
57
|
ListExecutionsCommand: ListExecutionsCommand_1.ListExecutionsCommand,
|
|
46
58
|
ListMapRunsCommand: ListMapRunsCommand_1.ListMapRunsCommand,
|
|
59
|
+
ListStateMachineAliasesCommand: ListStateMachineAliasesCommand_1.ListStateMachineAliasesCommand,
|
|
47
60
|
ListStateMachinesCommand: ListStateMachinesCommand_1.ListStateMachinesCommand,
|
|
61
|
+
ListStateMachineVersionsCommand: ListStateMachineVersionsCommand_1.ListStateMachineVersionsCommand,
|
|
48
62
|
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
63
|
+
PublishStateMachineVersionCommand: PublishStateMachineVersionCommand_1.PublishStateMachineVersionCommand,
|
|
49
64
|
SendTaskFailureCommand: SendTaskFailureCommand_1.SendTaskFailureCommand,
|
|
50
65
|
SendTaskHeartbeatCommand: SendTaskHeartbeatCommand_1.SendTaskHeartbeatCommand,
|
|
51
66
|
SendTaskSuccessCommand: SendTaskSuccessCommand_1.SendTaskSuccessCommand,
|
|
@@ -56,6 +71,7 @@ const commands = {
|
|
|
56
71
|
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
57
72
|
UpdateMapRunCommand: UpdateMapRunCommand_1.UpdateMapRunCommand,
|
|
58
73
|
UpdateStateMachineCommand: UpdateStateMachineCommand_1.UpdateStateMachineCommand,
|
|
74
|
+
UpdateStateMachineAliasCommand: UpdateStateMachineAliasCommand_1.UpdateStateMachineAliasCommand,
|
|
59
75
|
};
|
|
60
76
|
class SFN extends SFNClient_1.SFNClient {
|
|
61
77
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateStateMachineAliasCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class CreateStateMachineAliasCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateStateMachineAliasCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "SFNClient";
|
|
29
|
+
const commandName = "CreateStateMachineAliasCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: models_0_1.CreateStateMachineAliasInputFilterSensitiveLog,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
};
|
|
37
|
+
const { requestHandler } = configuration;
|
|
38
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
+
}
|
|
40
|
+
serialize(input, context) {
|
|
41
|
+
return (0, Aws_json1_0_1.se_CreateStateMachineAliasCommand)(input, context);
|
|
42
|
+
}
|
|
43
|
+
deserialize(output, context) {
|
|
44
|
+
return (0, Aws_json1_0_1.de_CreateStateMachineAliasCommand)(output, context);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.CreateStateMachineAliasCommand = CreateStateMachineAliasCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteStateMachineAliasCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
|
+
class DeleteStateMachineAliasCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteStateMachineAliasCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "SFNClient";
|
|
28
|
+
const commandName = "DeleteStateMachineAliasCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_0_1.se_DeleteStateMachineAliasCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_0_1.de_DeleteStateMachineAliasCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DeleteStateMachineAliasCommand = DeleteStateMachineAliasCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteStateMachineVersionCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
|
+
class DeleteStateMachineVersionCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteStateMachineVersionCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "SFNClient";
|
|
28
|
+
const commandName = "DeleteStateMachineVersionCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_0_1.se_DeleteStateMachineVersionCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_0_1.de_DeleteStateMachineVersionCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DeleteStateMachineVersionCommand = DeleteStateMachineVersionCommand;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeStateMachineAliasCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class DescribeStateMachineAliasCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeStateMachineAliasCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "SFNClient";
|
|
29
|
+
const commandName = "DescribeStateMachineAliasCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: models_0_1.DescribeStateMachineAliasOutputFilterSensitiveLog,
|
|
36
|
+
};
|
|
37
|
+
const { requestHandler } = configuration;
|
|
38
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
+
}
|
|
40
|
+
serialize(input, context) {
|
|
41
|
+
return (0, Aws_json1_0_1.se_DescribeStateMachineAliasCommand)(input, context);
|
|
42
|
+
}
|
|
43
|
+
deserialize(output, context) {
|
|
44
|
+
return (0, Aws_json1_0_1.de_DescribeStateMachineAliasCommand)(output, context);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.DescribeStateMachineAliasCommand = DescribeStateMachineAliasCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListStateMachineAliasesCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
|
+
class ListStateMachineAliasesCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListStateMachineAliasesCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "SFNClient";
|
|
28
|
+
const commandName = "ListStateMachineAliasesCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_0_1.se_ListStateMachineAliasesCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_0_1.de_ListStateMachineAliasesCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListStateMachineAliasesCommand = ListStateMachineAliasesCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListStateMachineVersionsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
|
+
class ListStateMachineVersionsCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListStateMachineVersionsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "SFNClient";
|
|
28
|
+
const commandName = "ListStateMachineVersionsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_0_1.se_ListStateMachineVersionsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_0_1.de_ListStateMachineVersionsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListStateMachineVersionsCommand = ListStateMachineVersionsCommand;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PublishStateMachineVersionCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class PublishStateMachineVersionCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PublishStateMachineVersionCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "SFNClient";
|
|
29
|
+
const commandName = "PublishStateMachineVersionCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: models_0_1.PublishStateMachineVersionInputFilterSensitiveLog,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
};
|
|
37
|
+
const { requestHandler } = configuration;
|
|
38
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
+
}
|
|
40
|
+
serialize(input, context) {
|
|
41
|
+
return (0, Aws_json1_0_1.se_PublishStateMachineVersionCommand)(input, context);
|
|
42
|
+
}
|
|
43
|
+
deserialize(output, context) {
|
|
44
|
+
return (0, Aws_json1_0_1.de_PublishStateMachineVersionCommand)(output, context);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.PublishStateMachineVersionCommand = PublishStateMachineVersionCommand;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateStateMachineAliasCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const models_0_1 = require("../models/models_0");
|
|
9
|
+
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
+
class UpdateStateMachineAliasCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateStateMachineAliasCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "SFNClient";
|
|
29
|
+
const commandName = "UpdateStateMachineAliasCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: models_0_1.UpdateStateMachineAliasInputFilterSensitiveLog,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
};
|
|
37
|
+
const { requestHandler } = configuration;
|
|
38
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
39
|
+
}
|
|
40
|
+
serialize(input, context) {
|
|
41
|
+
return (0, Aws_json1_0_1.se_UpdateStateMachineAliasCommand)(input, context);
|
|
42
|
+
}
|
|
43
|
+
deserialize(output, context) {
|
|
44
|
+
return (0, Aws_json1_0_1.de_UpdateStateMachineAliasCommand)(output, context);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.UpdateStateMachineAliasCommand = UpdateStateMachineAliasCommand;
|
|
@@ -2,12 +2,16 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./CreateActivityCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CreateStateMachineAliasCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CreateStateMachineCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./DeleteActivityCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./DeleteStateMachineAliasCommand"), exports);
|
|
7
9
|
tslib_1.__exportStar(require("./DeleteStateMachineCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./DeleteStateMachineVersionCommand"), exports);
|
|
8
11
|
tslib_1.__exportStar(require("./DescribeActivityCommand"), exports);
|
|
9
12
|
tslib_1.__exportStar(require("./DescribeExecutionCommand"), exports);
|
|
10
13
|
tslib_1.__exportStar(require("./DescribeMapRunCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./DescribeStateMachineAliasCommand"), exports);
|
|
11
15
|
tslib_1.__exportStar(require("./DescribeStateMachineCommand"), exports);
|
|
12
16
|
tslib_1.__exportStar(require("./DescribeStateMachineForExecutionCommand"), exports);
|
|
13
17
|
tslib_1.__exportStar(require("./GetActivityTaskCommand"), exports);
|
|
@@ -15,8 +19,11 @@ tslib_1.__exportStar(require("./GetExecutionHistoryCommand"), exports);
|
|
|
15
19
|
tslib_1.__exportStar(require("./ListActivitiesCommand"), exports);
|
|
16
20
|
tslib_1.__exportStar(require("./ListExecutionsCommand"), exports);
|
|
17
21
|
tslib_1.__exportStar(require("./ListMapRunsCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./ListStateMachineAliasesCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./ListStateMachineVersionsCommand"), exports);
|
|
18
24
|
tslib_1.__exportStar(require("./ListStateMachinesCommand"), exports);
|
|
19
25
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./PublishStateMachineVersionCommand"), exports);
|
|
20
27
|
tslib_1.__exportStar(require("./SendTaskFailureCommand"), exports);
|
|
21
28
|
tslib_1.__exportStar(require("./SendTaskHeartbeatCommand"), exports);
|
|
22
29
|
tslib_1.__exportStar(require("./SendTaskSuccessCommand"), exports);
|
|
@@ -26,4 +33,5 @@ tslib_1.__exportStar(require("./StopExecutionCommand"), exports);
|
|
|
26
33
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
27
34
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
28
35
|
tslib_1.__exportStar(require("./UpdateMapRunCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./UpdateStateMachineAliasCommand"), exports);
|
|
29
37
|
tslib_1.__exportStar(require("./UpdateStateMachineCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const s = "fn", t = "argv", u = "ref";
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const r = "required", s = "fn", t = "argv", u = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [r]: false, "type": "String" }, g = { [r]: true, "default": false, "type": "Boolean" }, h = { [u]: "Endpoint" }, i = { [s]: "booleanEquals", [t]: [{ [u]: "UseFIPS" }, true] }, j = { [s]: "booleanEquals", [t]: [{ [u]: "UseDualStack" }, true] }, k = {}, l = { [u]: "Region" }, m = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: e }, "supportsFIPS"] }] }, n = { [s]: "booleanEquals", [t]: [true, { [s]: "getAttr", [t]: [{ [u]: e }, "supportsDualStack"] }] }, o = [i], p = [j], q = [l];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [s]: a, [t]: [h] }], type: b, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [s]: a, [t]: q }], type: b, rules: [{ conditions: [{ [s]: "aws.partition", [t]: q, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [m, n], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://states-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [s]: "stringEquals", [t]: [l, "us-gov-west-1"] }], endpoint: { url: "https://states.us-gov-west-1.amazonaws.com", properties: k, headers: k }, type: d }, { endpoint: { url: "https://states-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://states.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://states.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|