@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.
Files changed (71) hide show
  1. package/README.md +64 -0
  2. package/dist-cjs/SFN.js +16 -0
  3. package/dist-cjs/commands/CreateStateMachineAliasCommand.js +47 -0
  4. package/dist-cjs/commands/DeleteStateMachineAliasCommand.js +46 -0
  5. package/dist-cjs/commands/DeleteStateMachineVersionCommand.js +46 -0
  6. package/dist-cjs/commands/DescribeStateMachineAliasCommand.js +47 -0
  7. package/dist-cjs/commands/ListStateMachineAliasesCommand.js +46 -0
  8. package/dist-cjs/commands/ListStateMachineVersionsCommand.js +46 -0
  9. package/dist-cjs/commands/PublishStateMachineVersionCommand.js +47 -0
  10. package/dist-cjs/commands/UpdateStateMachineAliasCommand.js +47 -0
  11. package/dist-cjs/commands/index.js +8 -0
  12. package/dist-cjs/endpoint/ruleset.js +3 -3
  13. package/dist-cjs/models/models_0.js +66 -16
  14. package/dist-cjs/protocols/Aws_json1_0.js +510 -2
  15. package/dist-es/SFN.js +16 -0
  16. package/dist-es/commands/CreateStateMachineAliasCommand.js +43 -0
  17. package/dist-es/commands/DeleteStateMachineAliasCommand.js +42 -0
  18. package/dist-es/commands/DeleteStateMachineVersionCommand.js +42 -0
  19. package/dist-es/commands/DescribeStateMachineAliasCommand.js +43 -0
  20. package/dist-es/commands/ListStateMachineAliasesCommand.js +42 -0
  21. package/dist-es/commands/ListStateMachineVersionsCommand.js +42 -0
  22. package/dist-es/commands/PublishStateMachineVersionCommand.js +43 -0
  23. package/dist-es/commands/UpdateStateMachineAliasCommand.js +43 -0
  24. package/dist-es/commands/index.js +8 -0
  25. package/dist-es/endpoint/ruleset.js +3 -3
  26. package/dist-es/models/models_0.js +57 -13
  27. package/dist-es/protocols/Aws_json1_0.js +493 -1
  28. package/dist-types/SFN.d.ts +56 -0
  29. package/dist-types/SFNClient.d.ts +10 -2
  30. package/dist-types/commands/CreateStateMachineAliasCommand.d.ts +144 -0
  31. package/dist-types/commands/CreateStateMachineCommand.d.ts +14 -2
  32. package/dist-types/commands/DeleteStateMachineAliasCommand.d.ts +112 -0
  33. package/dist-types/commands/DeleteStateMachineCommand.d.ts +21 -6
  34. package/dist-types/commands/DeleteStateMachineVersionCommand.d.ts +106 -0
  35. package/dist-types/commands/DescribeExecutionCommand.d.ts +9 -2
  36. package/dist-types/commands/DescribeMapRunCommand.d.ts +1 -2
  37. package/dist-types/commands/DescribeStateMachineAliasCommand.d.ts +117 -0
  38. package/dist-types/commands/DescribeStateMachineCommand.d.ts +33 -4
  39. package/dist-types/commands/DescribeStateMachineForExecutionCommand.d.ts +7 -1
  40. package/dist-types/commands/GetActivityTaskCommand.d.ts +0 -2
  41. package/dist-types/commands/GetExecutionHistoryCommand.d.ts +2 -0
  42. package/dist-types/commands/ListExecutionsCommand.d.ts +4 -2
  43. package/dist-types/commands/ListStateMachineAliasesCommand.d.ts +124 -0
  44. package/dist-types/commands/ListStateMachineVersionsCommand.d.ts +108 -0
  45. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
  46. package/dist-types/commands/PublishStateMachineVersionCommand.d.ts +122 -0
  47. package/dist-types/commands/StartExecutionCommand.d.ts +37 -9
  48. package/dist-types/commands/TagResourceCommand.d.ts +1 -2
  49. package/dist-types/commands/UntagResourceCommand.d.ts +1 -2
  50. package/dist-types/commands/UpdateMapRunCommand.d.ts +1 -2
  51. package/dist-types/commands/UpdateStateMachineAliasCommand.d.ts +132 -0
  52. package/dist-types/commands/UpdateStateMachineCommand.d.ts +49 -7
  53. package/dist-types/commands/index.d.ts +8 -0
  54. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  55. package/dist-types/models/models_0.d.ts +475 -36
  56. package/dist-types/protocols/Aws_json1_0.d.ts +72 -0
  57. package/dist-types/ts3.4/SFN.d.ts +136 -0
  58. package/dist-types/ts3.4/SFNClient.d.ts +48 -0
  59. package/dist-types/ts3.4/commands/CreateStateMachineAliasCommand.d.ts +42 -0
  60. package/dist-types/ts3.4/commands/DeleteStateMachineAliasCommand.d.ts +42 -0
  61. package/dist-types/ts3.4/commands/DeleteStateMachineVersionCommand.d.ts +42 -0
  62. package/dist-types/ts3.4/commands/DescribeStateMachineAliasCommand.d.ts +42 -0
  63. package/dist-types/ts3.4/commands/ListStateMachineAliasesCommand.d.ts +42 -0
  64. package/dist-types/ts3.4/commands/ListStateMachineVersionsCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/PublishStateMachineVersionCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/UpdateStateMachineAliasCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  68. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  69. package/dist-types/ts3.4/models/models_0.d.ts +130 -14
  70. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +96 -0
  71. package/package.json +6 -6
@@ -1,12 +1,16 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { CreateActivityCommandInput, CreateActivityCommandOutput } from "../commands/CreateActivityCommand";
4
+ import { CreateStateMachineAliasCommandInput, CreateStateMachineAliasCommandOutput } from "../commands/CreateStateMachineAliasCommand";
4
5
  import { CreateStateMachineCommandInput, CreateStateMachineCommandOutput } from "../commands/CreateStateMachineCommand";
5
6
  import { DeleteActivityCommandInput, DeleteActivityCommandOutput } from "../commands/DeleteActivityCommand";
7
+ import { DeleteStateMachineAliasCommandInput, DeleteStateMachineAliasCommandOutput } from "../commands/DeleteStateMachineAliasCommand";
6
8
  import { DeleteStateMachineCommandInput, DeleteStateMachineCommandOutput } from "../commands/DeleteStateMachineCommand";
9
+ import { DeleteStateMachineVersionCommandInput, DeleteStateMachineVersionCommandOutput } from "../commands/DeleteStateMachineVersionCommand";
7
10
  import { DescribeActivityCommandInput, DescribeActivityCommandOutput } from "../commands/DescribeActivityCommand";
8
11
  import { DescribeExecutionCommandInput, DescribeExecutionCommandOutput } from "../commands/DescribeExecutionCommand";
9
12
  import { DescribeMapRunCommandInput, DescribeMapRunCommandOutput } from "../commands/DescribeMapRunCommand";
13
+ import { DescribeStateMachineAliasCommandInput, DescribeStateMachineAliasCommandOutput } from "../commands/DescribeStateMachineAliasCommand";
10
14
  import { DescribeStateMachineCommandInput, DescribeStateMachineCommandOutput } from "../commands/DescribeStateMachineCommand";
11
15
  import { DescribeStateMachineForExecutionCommandInput, DescribeStateMachineForExecutionCommandOutput } from "../commands/DescribeStateMachineForExecutionCommand";
12
16
  import { GetActivityTaskCommandInput, GetActivityTaskCommandOutput } from "../commands/GetActivityTaskCommand";
@@ -14,8 +18,11 @@ import { GetExecutionHistoryCommandInput, GetExecutionHistoryCommandOutput } fro
14
18
  import { ListActivitiesCommandInput, ListActivitiesCommandOutput } from "../commands/ListActivitiesCommand";
15
19
  import { ListExecutionsCommandInput, ListExecutionsCommandOutput } from "../commands/ListExecutionsCommand";
16
20
  import { ListMapRunsCommandInput, ListMapRunsCommandOutput } from "../commands/ListMapRunsCommand";
21
+ import { ListStateMachineAliasesCommandInput, ListStateMachineAliasesCommandOutput } from "../commands/ListStateMachineAliasesCommand";
17
22
  import { ListStateMachinesCommandInput, ListStateMachinesCommandOutput } from "../commands/ListStateMachinesCommand";
23
+ import { ListStateMachineVersionsCommandInput, ListStateMachineVersionsCommandOutput } from "../commands/ListStateMachineVersionsCommand";
18
24
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
25
+ import { PublishStateMachineVersionCommandInput, PublishStateMachineVersionCommandOutput } from "../commands/PublishStateMachineVersionCommand";
19
26
  import { SendTaskFailureCommandInput, SendTaskFailureCommandOutput } from "../commands/SendTaskFailureCommand";
20
27
  import { SendTaskHeartbeatCommandInput, SendTaskHeartbeatCommandOutput } from "../commands/SendTaskHeartbeatCommand";
21
28
  import { SendTaskSuccessCommandInput, SendTaskSuccessCommandOutput } from "../commands/SendTaskSuccessCommand";
@@ -25,6 +32,7 @@ import { StopExecutionCommandInput, StopExecutionCommandOutput } from "../comman
25
32
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
26
33
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
27
34
  import { UpdateMapRunCommandInput, UpdateMapRunCommandOutput } from "../commands/UpdateMapRunCommand";
35
+ import { UpdateStateMachineAliasCommandInput, UpdateStateMachineAliasCommandOutput } from "../commands/UpdateStateMachineAliasCommand";
28
36
  import { UpdateStateMachineCommandInput, UpdateStateMachineCommandOutput } from "../commands/UpdateStateMachineCommand";
29
37
  /**
30
38
  * serializeAws_json1_0CreateActivityCommand
@@ -34,6 +42,10 @@ export declare const se_CreateActivityCommand: (input: CreateActivityCommandInpu
34
42
  * serializeAws_json1_0CreateStateMachineCommand
35
43
  */
36
44
  export declare const se_CreateStateMachineCommand: (input: CreateStateMachineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
+ /**
46
+ * serializeAws_json1_0CreateStateMachineAliasCommand
47
+ */
48
+ export declare const se_CreateStateMachineAliasCommand: (input: CreateStateMachineAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
49
  /**
38
50
  * serializeAws_json1_0DeleteActivityCommand
39
51
  */
@@ -42,6 +54,14 @@ export declare const se_DeleteActivityCommand: (input: DeleteActivityCommandInpu
42
54
  * serializeAws_json1_0DeleteStateMachineCommand
43
55
  */
44
56
  export declare const se_DeleteStateMachineCommand: (input: DeleteStateMachineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
57
+ /**
58
+ * serializeAws_json1_0DeleteStateMachineAliasCommand
59
+ */
60
+ export declare const se_DeleteStateMachineAliasCommand: (input: DeleteStateMachineAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
61
+ /**
62
+ * serializeAws_json1_0DeleteStateMachineVersionCommand
63
+ */
64
+ export declare const se_DeleteStateMachineVersionCommand: (input: DeleteStateMachineVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
45
65
  /**
46
66
  * serializeAws_json1_0DescribeActivityCommand
47
67
  */
@@ -58,6 +78,10 @@ export declare const se_DescribeMapRunCommand: (input: DescribeMapRunCommandInpu
58
78
  * serializeAws_json1_0DescribeStateMachineCommand
59
79
  */
60
80
  export declare const se_DescribeStateMachineCommand: (input: DescribeStateMachineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
81
+ /**
82
+ * serializeAws_json1_0DescribeStateMachineAliasCommand
83
+ */
84
+ export declare const se_DescribeStateMachineAliasCommand: (input: DescribeStateMachineAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
61
85
  /**
62
86
  * serializeAws_json1_0DescribeStateMachineForExecutionCommand
63
87
  */
@@ -82,14 +106,26 @@ export declare const se_ListExecutionsCommand: (input: ListExecutionsCommandInpu
82
106
  * serializeAws_json1_0ListMapRunsCommand
83
107
  */
84
108
  export declare const se_ListMapRunsCommand: (input: ListMapRunsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
109
+ /**
110
+ * serializeAws_json1_0ListStateMachineAliasesCommand
111
+ */
112
+ export declare const se_ListStateMachineAliasesCommand: (input: ListStateMachineAliasesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
85
113
  /**
86
114
  * serializeAws_json1_0ListStateMachinesCommand
87
115
  */
88
116
  export declare const se_ListStateMachinesCommand: (input: ListStateMachinesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
117
+ /**
118
+ * serializeAws_json1_0ListStateMachineVersionsCommand
119
+ */
120
+ export declare const se_ListStateMachineVersionsCommand: (input: ListStateMachineVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
89
121
  /**
90
122
  * serializeAws_json1_0ListTagsForResourceCommand
91
123
  */
92
124
  export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
125
+ /**
126
+ * serializeAws_json1_0PublishStateMachineVersionCommand
127
+ */
128
+ export declare const se_PublishStateMachineVersionCommand: (input: PublishStateMachineVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
93
129
  /**
94
130
  * serializeAws_json1_0SendTaskFailureCommand
95
131
  */
@@ -130,6 +166,10 @@ export declare const se_UpdateMapRunCommand: (input: UpdateMapRunCommandInput, c
130
166
  * serializeAws_json1_0UpdateStateMachineCommand
131
167
  */
132
168
  export declare const se_UpdateStateMachineCommand: (input: UpdateStateMachineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
169
+ /**
170
+ * serializeAws_json1_0UpdateStateMachineAliasCommand
171
+ */
172
+ export declare const se_UpdateStateMachineAliasCommand: (input: UpdateStateMachineAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
133
173
  /**
134
174
  * deserializeAws_json1_0CreateActivityCommand
135
175
  */
@@ -138,6 +178,10 @@ export declare const de_CreateActivityCommand: (output: __HttpResponse, context:
138
178
  * deserializeAws_json1_0CreateStateMachineCommand
139
179
  */
140
180
  export declare const de_CreateStateMachineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateStateMachineCommandOutput>;
181
+ /**
182
+ * deserializeAws_json1_0CreateStateMachineAliasCommand
183
+ */
184
+ export declare const de_CreateStateMachineAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateStateMachineAliasCommandOutput>;
141
185
  /**
142
186
  * deserializeAws_json1_0DeleteActivityCommand
143
187
  */
@@ -146,6 +190,14 @@ export declare const de_DeleteActivityCommand: (output: __HttpResponse, context:
146
190
  * deserializeAws_json1_0DeleteStateMachineCommand
147
191
  */
148
192
  export declare const de_DeleteStateMachineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteStateMachineCommandOutput>;
193
+ /**
194
+ * deserializeAws_json1_0DeleteStateMachineAliasCommand
195
+ */
196
+ export declare const de_DeleteStateMachineAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteStateMachineAliasCommandOutput>;
197
+ /**
198
+ * deserializeAws_json1_0DeleteStateMachineVersionCommand
199
+ */
200
+ export declare const de_DeleteStateMachineVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteStateMachineVersionCommandOutput>;
149
201
  /**
150
202
  * deserializeAws_json1_0DescribeActivityCommand
151
203
  */
@@ -162,6 +214,10 @@ export declare const de_DescribeMapRunCommand: (output: __HttpResponse, context:
162
214
  * deserializeAws_json1_0DescribeStateMachineCommand
163
215
  */
164
216
  export declare const de_DescribeStateMachineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeStateMachineCommandOutput>;
217
+ /**
218
+ * deserializeAws_json1_0DescribeStateMachineAliasCommand
219
+ */
220
+ export declare const de_DescribeStateMachineAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeStateMachineAliasCommandOutput>;
165
221
  /**
166
222
  * deserializeAws_json1_0DescribeStateMachineForExecutionCommand
167
223
  */
@@ -186,14 +242,26 @@ export declare const de_ListExecutionsCommand: (output: __HttpResponse, context:
186
242
  * deserializeAws_json1_0ListMapRunsCommand
187
243
  */
188
244
  export declare const de_ListMapRunsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMapRunsCommandOutput>;
245
+ /**
246
+ * deserializeAws_json1_0ListStateMachineAliasesCommand
247
+ */
248
+ export declare const de_ListStateMachineAliasesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListStateMachineAliasesCommandOutput>;
189
249
  /**
190
250
  * deserializeAws_json1_0ListStateMachinesCommand
191
251
  */
192
252
  export declare const de_ListStateMachinesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListStateMachinesCommandOutput>;
253
+ /**
254
+ * deserializeAws_json1_0ListStateMachineVersionsCommand
255
+ */
256
+ export declare const de_ListStateMachineVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListStateMachineVersionsCommandOutput>;
193
257
  /**
194
258
  * deserializeAws_json1_0ListTagsForResourceCommand
195
259
  */
196
260
  export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
261
+ /**
262
+ * deserializeAws_json1_0PublishStateMachineVersionCommand
263
+ */
264
+ export declare const de_PublishStateMachineVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PublishStateMachineVersionCommandOutput>;
197
265
  /**
198
266
  * deserializeAws_json1_0SendTaskFailureCommand
199
267
  */
@@ -234,3 +302,7 @@ export declare const de_UpdateMapRunCommand: (output: __HttpResponse, context: _
234
302
  * deserializeAws_json1_0UpdateStateMachineCommand
235
303
  */
236
304
  export declare const de_UpdateStateMachineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateStateMachineCommandOutput>;
305
+ /**
306
+ * deserializeAws_json1_0UpdateStateMachineAliasCommand
307
+ */
308
+ export declare const de_UpdateStateMachineAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateStateMachineAliasCommandOutput>;
@@ -3,6 +3,10 @@ import {
3
3
  CreateActivityCommandInput,
4
4
  CreateActivityCommandOutput,
5
5
  } from "./commands/CreateActivityCommand";
6
+ import {
7
+ CreateStateMachineAliasCommandInput,
8
+ CreateStateMachineAliasCommandOutput,
9
+ } from "./commands/CreateStateMachineAliasCommand";
6
10
  import {
7
11
  CreateStateMachineCommandInput,
8
12
  CreateStateMachineCommandOutput,
@@ -11,10 +15,18 @@ import {
11
15
  DeleteActivityCommandInput,
12
16
  DeleteActivityCommandOutput,
13
17
  } from "./commands/DeleteActivityCommand";
18
+ import {
19
+ DeleteStateMachineAliasCommandInput,
20
+ DeleteStateMachineAliasCommandOutput,
21
+ } from "./commands/DeleteStateMachineAliasCommand";
14
22
  import {
15
23
  DeleteStateMachineCommandInput,
16
24
  DeleteStateMachineCommandOutput,
17
25
  } from "./commands/DeleteStateMachineCommand";
26
+ import {
27
+ DeleteStateMachineVersionCommandInput,
28
+ DeleteStateMachineVersionCommandOutput,
29
+ } from "./commands/DeleteStateMachineVersionCommand";
18
30
  import {
19
31
  DescribeActivityCommandInput,
20
32
  DescribeActivityCommandOutput,
@@ -27,6 +39,10 @@ import {
27
39
  DescribeMapRunCommandInput,
28
40
  DescribeMapRunCommandOutput,
29
41
  } from "./commands/DescribeMapRunCommand";
42
+ import {
43
+ DescribeStateMachineAliasCommandInput,
44
+ DescribeStateMachineAliasCommandOutput,
45
+ } from "./commands/DescribeStateMachineAliasCommand";
30
46
  import {
31
47
  DescribeStateMachineCommandInput,
32
48
  DescribeStateMachineCommandOutput,
@@ -55,14 +71,26 @@ import {
55
71
  ListMapRunsCommandInput,
56
72
  ListMapRunsCommandOutput,
57
73
  } from "./commands/ListMapRunsCommand";
74
+ import {
75
+ ListStateMachineAliasesCommandInput,
76
+ ListStateMachineAliasesCommandOutput,
77
+ } from "./commands/ListStateMachineAliasesCommand";
58
78
  import {
59
79
  ListStateMachinesCommandInput,
60
80
  ListStateMachinesCommandOutput,
61
81
  } from "./commands/ListStateMachinesCommand";
82
+ import {
83
+ ListStateMachineVersionsCommandInput,
84
+ ListStateMachineVersionsCommandOutput,
85
+ } from "./commands/ListStateMachineVersionsCommand";
62
86
  import {
63
87
  ListTagsForResourceCommandInput,
64
88
  ListTagsForResourceCommandOutput,
65
89
  } from "./commands/ListTagsForResourceCommand";
90
+ import {
91
+ PublishStateMachineVersionCommandInput,
92
+ PublishStateMachineVersionCommandOutput,
93
+ } from "./commands/PublishStateMachineVersionCommand";
66
94
  import {
67
95
  SendTaskFailureCommandInput,
68
96
  SendTaskFailureCommandOutput,
@@ -99,6 +127,10 @@ import {
99
127
  UpdateMapRunCommandInput,
100
128
  UpdateMapRunCommandOutput,
101
129
  } from "./commands/UpdateMapRunCommand";
130
+ import {
131
+ UpdateStateMachineAliasCommandInput,
132
+ UpdateStateMachineAliasCommandOutput,
133
+ } from "./commands/UpdateStateMachineAliasCommand";
102
134
  import {
103
135
  UpdateStateMachineCommandInput,
104
136
  UpdateStateMachineCommandOutput,
@@ -131,6 +163,19 @@ export interface SFN {
131
163
  options: __HttpHandlerOptions,
132
164
  cb: (err: any, data?: CreateStateMachineCommandOutput) => void
133
165
  ): void;
166
+ createStateMachineAlias(
167
+ args: CreateStateMachineAliasCommandInput,
168
+ options?: __HttpHandlerOptions
169
+ ): Promise<CreateStateMachineAliasCommandOutput>;
170
+ createStateMachineAlias(
171
+ args: CreateStateMachineAliasCommandInput,
172
+ cb: (err: any, data?: CreateStateMachineAliasCommandOutput) => void
173
+ ): void;
174
+ createStateMachineAlias(
175
+ args: CreateStateMachineAliasCommandInput,
176
+ options: __HttpHandlerOptions,
177
+ cb: (err: any, data?: CreateStateMachineAliasCommandOutput) => void
178
+ ): void;
134
179
  deleteActivity(
135
180
  args: DeleteActivityCommandInput,
136
181
  options?: __HttpHandlerOptions
@@ -157,6 +202,32 @@ export interface SFN {
157
202
  options: __HttpHandlerOptions,
158
203
  cb: (err: any, data?: DeleteStateMachineCommandOutput) => void
159
204
  ): void;
205
+ deleteStateMachineAlias(
206
+ args: DeleteStateMachineAliasCommandInput,
207
+ options?: __HttpHandlerOptions
208
+ ): Promise<DeleteStateMachineAliasCommandOutput>;
209
+ deleteStateMachineAlias(
210
+ args: DeleteStateMachineAliasCommandInput,
211
+ cb: (err: any, data?: DeleteStateMachineAliasCommandOutput) => void
212
+ ): void;
213
+ deleteStateMachineAlias(
214
+ args: DeleteStateMachineAliasCommandInput,
215
+ options: __HttpHandlerOptions,
216
+ cb: (err: any, data?: DeleteStateMachineAliasCommandOutput) => void
217
+ ): void;
218
+ deleteStateMachineVersion(
219
+ args: DeleteStateMachineVersionCommandInput,
220
+ options?: __HttpHandlerOptions
221
+ ): Promise<DeleteStateMachineVersionCommandOutput>;
222
+ deleteStateMachineVersion(
223
+ args: DeleteStateMachineVersionCommandInput,
224
+ cb: (err: any, data?: DeleteStateMachineVersionCommandOutput) => void
225
+ ): void;
226
+ deleteStateMachineVersion(
227
+ args: DeleteStateMachineVersionCommandInput,
228
+ options: __HttpHandlerOptions,
229
+ cb: (err: any, data?: DeleteStateMachineVersionCommandOutput) => void
230
+ ): void;
160
231
  describeActivity(
161
232
  args: DescribeActivityCommandInput,
162
233
  options?: __HttpHandlerOptions
@@ -209,6 +280,19 @@ export interface SFN {
209
280
  options: __HttpHandlerOptions,
210
281
  cb: (err: any, data?: DescribeStateMachineCommandOutput) => void
211
282
  ): void;
283
+ describeStateMachineAlias(
284
+ args: DescribeStateMachineAliasCommandInput,
285
+ options?: __HttpHandlerOptions
286
+ ): Promise<DescribeStateMachineAliasCommandOutput>;
287
+ describeStateMachineAlias(
288
+ args: DescribeStateMachineAliasCommandInput,
289
+ cb: (err: any, data?: DescribeStateMachineAliasCommandOutput) => void
290
+ ): void;
291
+ describeStateMachineAlias(
292
+ args: DescribeStateMachineAliasCommandInput,
293
+ options: __HttpHandlerOptions,
294
+ cb: (err: any, data?: DescribeStateMachineAliasCommandOutput) => void
295
+ ): void;
212
296
  describeStateMachineForExecution(
213
297
  args: DescribeStateMachineForExecutionCommandInput,
214
298
  options?: __HttpHandlerOptions
@@ -287,6 +371,19 @@ export interface SFN {
287
371
  options: __HttpHandlerOptions,
288
372
  cb: (err: any, data?: ListMapRunsCommandOutput) => void
289
373
  ): void;
374
+ listStateMachineAliases(
375
+ args: ListStateMachineAliasesCommandInput,
376
+ options?: __HttpHandlerOptions
377
+ ): Promise<ListStateMachineAliasesCommandOutput>;
378
+ listStateMachineAliases(
379
+ args: ListStateMachineAliasesCommandInput,
380
+ cb: (err: any, data?: ListStateMachineAliasesCommandOutput) => void
381
+ ): void;
382
+ listStateMachineAliases(
383
+ args: ListStateMachineAliasesCommandInput,
384
+ options: __HttpHandlerOptions,
385
+ cb: (err: any, data?: ListStateMachineAliasesCommandOutput) => void
386
+ ): void;
290
387
  listStateMachines(
291
388
  args: ListStateMachinesCommandInput,
292
389
  options?: __HttpHandlerOptions
@@ -300,6 +397,19 @@ export interface SFN {
300
397
  options: __HttpHandlerOptions,
301
398
  cb: (err: any, data?: ListStateMachinesCommandOutput) => void
302
399
  ): void;
400
+ listStateMachineVersions(
401
+ args: ListStateMachineVersionsCommandInput,
402
+ options?: __HttpHandlerOptions
403
+ ): Promise<ListStateMachineVersionsCommandOutput>;
404
+ listStateMachineVersions(
405
+ args: ListStateMachineVersionsCommandInput,
406
+ cb: (err: any, data?: ListStateMachineVersionsCommandOutput) => void
407
+ ): void;
408
+ listStateMachineVersions(
409
+ args: ListStateMachineVersionsCommandInput,
410
+ options: __HttpHandlerOptions,
411
+ cb: (err: any, data?: ListStateMachineVersionsCommandOutput) => void
412
+ ): void;
303
413
  listTagsForResource(
304
414
  args: ListTagsForResourceCommandInput,
305
415
  options?: __HttpHandlerOptions
@@ -313,6 +423,19 @@ export interface SFN {
313
423
  options: __HttpHandlerOptions,
314
424
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
315
425
  ): void;
426
+ publishStateMachineVersion(
427
+ args: PublishStateMachineVersionCommandInput,
428
+ options?: __HttpHandlerOptions
429
+ ): Promise<PublishStateMachineVersionCommandOutput>;
430
+ publishStateMachineVersion(
431
+ args: PublishStateMachineVersionCommandInput,
432
+ cb: (err: any, data?: PublishStateMachineVersionCommandOutput) => void
433
+ ): void;
434
+ publishStateMachineVersion(
435
+ args: PublishStateMachineVersionCommandInput,
436
+ options: __HttpHandlerOptions,
437
+ cb: (err: any, data?: PublishStateMachineVersionCommandOutput) => void
438
+ ): void;
316
439
  sendTaskFailure(
317
440
  args: SendTaskFailureCommandInput,
318
441
  options?: __HttpHandlerOptions
@@ -443,5 +566,18 @@ export interface SFN {
443
566
  options: __HttpHandlerOptions,
444
567
  cb: (err: any, data?: UpdateStateMachineCommandOutput) => void
445
568
  ): void;
569
+ updateStateMachineAlias(
570
+ args: UpdateStateMachineAliasCommandInput,
571
+ options?: __HttpHandlerOptions
572
+ ): Promise<UpdateStateMachineAliasCommandOutput>;
573
+ updateStateMachineAlias(
574
+ args: UpdateStateMachineAliasCommandInput,
575
+ cb: (err: any, data?: UpdateStateMachineAliasCommandOutput) => void
576
+ ): void;
577
+ updateStateMachineAlias(
578
+ args: UpdateStateMachineAliasCommandInput,
579
+ options: __HttpHandlerOptions,
580
+ cb: (err: any, data?: UpdateStateMachineAliasCommandOutput) => void
581
+ ): void;
446
582
  }
447
583
  export declare class SFN extends SFNClient implements SFN {}
@@ -50,6 +50,10 @@ import {
50
50
  CreateActivityCommandInput,
51
51
  CreateActivityCommandOutput,
52
52
  } from "./commands/CreateActivityCommand";
53
+ import {
54
+ CreateStateMachineAliasCommandInput,
55
+ CreateStateMachineAliasCommandOutput,
56
+ } from "./commands/CreateStateMachineAliasCommand";
53
57
  import {
54
58
  CreateStateMachineCommandInput,
55
59
  CreateStateMachineCommandOutput,
@@ -58,10 +62,18 @@ import {
58
62
  DeleteActivityCommandInput,
59
63
  DeleteActivityCommandOutput,
60
64
  } from "./commands/DeleteActivityCommand";
65
+ import {
66
+ DeleteStateMachineAliasCommandInput,
67
+ DeleteStateMachineAliasCommandOutput,
68
+ } from "./commands/DeleteStateMachineAliasCommand";
61
69
  import {
62
70
  DeleteStateMachineCommandInput,
63
71
  DeleteStateMachineCommandOutput,
64
72
  } from "./commands/DeleteStateMachineCommand";
73
+ import {
74
+ DeleteStateMachineVersionCommandInput,
75
+ DeleteStateMachineVersionCommandOutput,
76
+ } from "./commands/DeleteStateMachineVersionCommand";
65
77
  import {
66
78
  DescribeActivityCommandInput,
67
79
  DescribeActivityCommandOutput,
@@ -74,6 +86,10 @@ import {
74
86
  DescribeMapRunCommandInput,
75
87
  DescribeMapRunCommandOutput,
76
88
  } from "./commands/DescribeMapRunCommand";
89
+ import {
90
+ DescribeStateMachineAliasCommandInput,
91
+ DescribeStateMachineAliasCommandOutput,
92
+ } from "./commands/DescribeStateMachineAliasCommand";
77
93
  import {
78
94
  DescribeStateMachineCommandInput,
79
95
  DescribeStateMachineCommandOutput,
@@ -102,14 +118,26 @@ import {
102
118
  ListMapRunsCommandInput,
103
119
  ListMapRunsCommandOutput,
104
120
  } from "./commands/ListMapRunsCommand";
121
+ import {
122
+ ListStateMachineAliasesCommandInput,
123
+ ListStateMachineAliasesCommandOutput,
124
+ } from "./commands/ListStateMachineAliasesCommand";
105
125
  import {
106
126
  ListStateMachinesCommandInput,
107
127
  ListStateMachinesCommandOutput,
108
128
  } from "./commands/ListStateMachinesCommand";
129
+ import {
130
+ ListStateMachineVersionsCommandInput,
131
+ ListStateMachineVersionsCommandOutput,
132
+ } from "./commands/ListStateMachineVersionsCommand";
109
133
  import {
110
134
  ListTagsForResourceCommandInput,
111
135
  ListTagsForResourceCommandOutput,
112
136
  } from "./commands/ListTagsForResourceCommand";
137
+ import {
138
+ PublishStateMachineVersionCommandInput,
139
+ PublishStateMachineVersionCommandOutput,
140
+ } from "./commands/PublishStateMachineVersionCommand";
113
141
  import {
114
142
  SendTaskFailureCommandInput,
115
143
  SendTaskFailureCommandOutput,
@@ -146,6 +174,10 @@ import {
146
174
  UpdateMapRunCommandInput,
147
175
  UpdateMapRunCommandOutput,
148
176
  } from "./commands/UpdateMapRunCommand";
177
+ import {
178
+ UpdateStateMachineAliasCommandInput,
179
+ UpdateStateMachineAliasCommandOutput,
180
+ } from "./commands/UpdateStateMachineAliasCommand";
149
181
  import {
150
182
  UpdateStateMachineCommandInput,
151
183
  UpdateStateMachineCommandOutput,
@@ -158,12 +190,16 @@ import {
158
190
  export { __Client };
159
191
  export type ServiceInputTypes =
160
192
  | CreateActivityCommandInput
193
+ | CreateStateMachineAliasCommandInput
161
194
  | CreateStateMachineCommandInput
162
195
  | DeleteActivityCommandInput
196
+ | DeleteStateMachineAliasCommandInput
163
197
  | DeleteStateMachineCommandInput
198
+ | DeleteStateMachineVersionCommandInput
164
199
  | DescribeActivityCommandInput
165
200
  | DescribeExecutionCommandInput
166
201
  | DescribeMapRunCommandInput
202
+ | DescribeStateMachineAliasCommandInput
167
203
  | DescribeStateMachineCommandInput
168
204
  | DescribeStateMachineForExecutionCommandInput
169
205
  | GetActivityTaskCommandInput
@@ -171,8 +207,11 @@ export type ServiceInputTypes =
171
207
  | ListActivitiesCommandInput
172
208
  | ListExecutionsCommandInput
173
209
  | ListMapRunsCommandInput
210
+ | ListStateMachineAliasesCommandInput
211
+ | ListStateMachineVersionsCommandInput
174
212
  | ListStateMachinesCommandInput
175
213
  | ListTagsForResourceCommandInput
214
+ | PublishStateMachineVersionCommandInput
176
215
  | SendTaskFailureCommandInput
177
216
  | SendTaskHeartbeatCommandInput
178
217
  | SendTaskSuccessCommandInput
@@ -182,15 +221,20 @@ export type ServiceInputTypes =
182
221
  | TagResourceCommandInput
183
222
  | UntagResourceCommandInput
184
223
  | UpdateMapRunCommandInput
224
+ | UpdateStateMachineAliasCommandInput
185
225
  | UpdateStateMachineCommandInput;
186
226
  export type ServiceOutputTypes =
187
227
  | CreateActivityCommandOutput
228
+ | CreateStateMachineAliasCommandOutput
188
229
  | CreateStateMachineCommandOutput
189
230
  | DeleteActivityCommandOutput
231
+ | DeleteStateMachineAliasCommandOutput
190
232
  | DeleteStateMachineCommandOutput
233
+ | DeleteStateMachineVersionCommandOutput
191
234
  | DescribeActivityCommandOutput
192
235
  | DescribeExecutionCommandOutput
193
236
  | DescribeMapRunCommandOutput
237
+ | DescribeStateMachineAliasCommandOutput
194
238
  | DescribeStateMachineCommandOutput
195
239
  | DescribeStateMachineForExecutionCommandOutput
196
240
  | GetActivityTaskCommandOutput
@@ -198,8 +242,11 @@ export type ServiceOutputTypes =
198
242
  | ListActivitiesCommandOutput
199
243
  | ListExecutionsCommandOutput
200
244
  | ListMapRunsCommandOutput
245
+ | ListStateMachineAliasesCommandOutput
246
+ | ListStateMachineVersionsCommandOutput
201
247
  | ListStateMachinesCommandOutput
202
248
  | ListTagsForResourceCommandOutput
249
+ | PublishStateMachineVersionCommandOutput
203
250
  | SendTaskFailureCommandOutput
204
251
  | SendTaskHeartbeatCommandOutput
205
252
  | SendTaskSuccessCommandOutput
@@ -209,6 +256,7 @@ export type ServiceOutputTypes =
209
256
  | TagResourceCommandOutput
210
257
  | UntagResourceCommandOutput
211
258
  | UpdateMapRunCommandOutput
259
+ | UpdateStateMachineAliasCommandOutput
212
260
  | UpdateStateMachineCommandOutput;
213
261
  export interface ClientDefaults
214
262
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ CreateStateMachineAliasInput,
11
+ CreateStateMachineAliasOutput,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ SFNClientResolvedConfig,
17
+ } from "../SFNClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface CreateStateMachineAliasCommandInput
20
+ extends CreateStateMachineAliasInput {}
21
+ export interface CreateStateMachineAliasCommandOutput
22
+ extends CreateStateMachineAliasOutput,
23
+ __MetadataBearer {}
24
+ export declare class CreateStateMachineAliasCommand extends $Command<
25
+ CreateStateMachineAliasCommandInput,
26
+ CreateStateMachineAliasCommandOutput,
27
+ SFNClientResolvedConfig
28
+ > {
29
+ readonly input: CreateStateMachineAliasCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: CreateStateMachineAliasCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: SFNClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ CreateStateMachineAliasCommandInput,
38
+ CreateStateMachineAliasCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ DeleteStateMachineAliasInput,
11
+ DeleteStateMachineAliasOutput,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ SFNClientResolvedConfig,
17
+ } from "../SFNClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface DeleteStateMachineAliasCommandInput
20
+ extends DeleteStateMachineAliasInput {}
21
+ export interface DeleteStateMachineAliasCommandOutput
22
+ extends DeleteStateMachineAliasOutput,
23
+ __MetadataBearer {}
24
+ export declare class DeleteStateMachineAliasCommand extends $Command<
25
+ DeleteStateMachineAliasCommandInput,
26
+ DeleteStateMachineAliasCommandOutput,
27
+ SFNClientResolvedConfig
28
+ > {
29
+ readonly input: DeleteStateMachineAliasCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: DeleteStateMachineAliasCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: SFNClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ DeleteStateMachineAliasCommandInput,
38
+ DeleteStateMachineAliasCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ DeleteStateMachineVersionInput,
11
+ DeleteStateMachineVersionOutput,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ SFNClientResolvedConfig,
17
+ } from "../SFNClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface DeleteStateMachineVersionCommandInput
20
+ extends DeleteStateMachineVersionInput {}
21
+ export interface DeleteStateMachineVersionCommandOutput
22
+ extends DeleteStateMachineVersionOutput,
23
+ __MetadataBearer {}
24
+ export declare class DeleteStateMachineVersionCommand extends $Command<
25
+ DeleteStateMachineVersionCommandInput,
26
+ DeleteStateMachineVersionCommandOutput,
27
+ SFNClientResolvedConfig
28
+ > {
29
+ readonly input: DeleteStateMachineVersionCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: DeleteStateMachineVersionCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: SFNClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ DeleteStateMachineVersionCommandInput,
38
+ DeleteStateMachineVersionCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }