@aws-sdk/client-sfn 3.354.0 → 3.358.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 +511 -9
  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 +494 -8
  28. package/dist-types/SFN.d.ts +56 -0
  29. package/dist-types/SFNClient.d.ts +11 -3
  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 +28 -28
@@ -7,6 +7,10 @@ import {
7
7
  CreateActivityCommandInput,
8
8
  CreateActivityCommandOutput,
9
9
  } from "../commands/CreateActivityCommand";
10
+ import {
11
+ CreateStateMachineAliasCommandInput,
12
+ CreateStateMachineAliasCommandOutput,
13
+ } from "../commands/CreateStateMachineAliasCommand";
10
14
  import {
11
15
  CreateStateMachineCommandInput,
12
16
  CreateStateMachineCommandOutput,
@@ -15,10 +19,18 @@ import {
15
19
  DeleteActivityCommandInput,
16
20
  DeleteActivityCommandOutput,
17
21
  } from "../commands/DeleteActivityCommand";
22
+ import {
23
+ DeleteStateMachineAliasCommandInput,
24
+ DeleteStateMachineAliasCommandOutput,
25
+ } from "../commands/DeleteStateMachineAliasCommand";
18
26
  import {
19
27
  DeleteStateMachineCommandInput,
20
28
  DeleteStateMachineCommandOutput,
21
29
  } from "../commands/DeleteStateMachineCommand";
30
+ import {
31
+ DeleteStateMachineVersionCommandInput,
32
+ DeleteStateMachineVersionCommandOutput,
33
+ } from "../commands/DeleteStateMachineVersionCommand";
22
34
  import {
23
35
  DescribeActivityCommandInput,
24
36
  DescribeActivityCommandOutput,
@@ -31,6 +43,10 @@ import {
31
43
  DescribeMapRunCommandInput,
32
44
  DescribeMapRunCommandOutput,
33
45
  } from "../commands/DescribeMapRunCommand";
46
+ import {
47
+ DescribeStateMachineAliasCommandInput,
48
+ DescribeStateMachineAliasCommandOutput,
49
+ } from "../commands/DescribeStateMachineAliasCommand";
34
50
  import {
35
51
  DescribeStateMachineCommandInput,
36
52
  DescribeStateMachineCommandOutput,
@@ -59,14 +75,26 @@ import {
59
75
  ListMapRunsCommandInput,
60
76
  ListMapRunsCommandOutput,
61
77
  } from "../commands/ListMapRunsCommand";
78
+ import {
79
+ ListStateMachineAliasesCommandInput,
80
+ ListStateMachineAliasesCommandOutput,
81
+ } from "../commands/ListStateMachineAliasesCommand";
62
82
  import {
63
83
  ListStateMachinesCommandInput,
64
84
  ListStateMachinesCommandOutput,
65
85
  } from "../commands/ListStateMachinesCommand";
86
+ import {
87
+ ListStateMachineVersionsCommandInput,
88
+ ListStateMachineVersionsCommandOutput,
89
+ } from "../commands/ListStateMachineVersionsCommand";
66
90
  import {
67
91
  ListTagsForResourceCommandInput,
68
92
  ListTagsForResourceCommandOutput,
69
93
  } from "../commands/ListTagsForResourceCommand";
94
+ import {
95
+ PublishStateMachineVersionCommandInput,
96
+ PublishStateMachineVersionCommandOutput,
97
+ } from "../commands/PublishStateMachineVersionCommand";
70
98
  import {
71
99
  SendTaskFailureCommandInput,
72
100
  SendTaskFailureCommandOutput,
@@ -103,6 +131,10 @@ import {
103
131
  UpdateMapRunCommandInput,
104
132
  UpdateMapRunCommandOutput,
105
133
  } from "../commands/UpdateMapRunCommand";
134
+ import {
135
+ UpdateStateMachineAliasCommandInput,
136
+ UpdateStateMachineAliasCommandOutput,
137
+ } from "../commands/UpdateStateMachineAliasCommand";
106
138
  import {
107
139
  UpdateStateMachineCommandInput,
108
140
  UpdateStateMachineCommandOutput,
@@ -115,6 +147,10 @@ export declare const se_CreateStateMachineCommand: (
115
147
  input: CreateStateMachineCommandInput,
116
148
  context: __SerdeContext
117
149
  ) => Promise<__HttpRequest>;
150
+ export declare const se_CreateStateMachineAliasCommand: (
151
+ input: CreateStateMachineAliasCommandInput,
152
+ context: __SerdeContext
153
+ ) => Promise<__HttpRequest>;
118
154
  export declare const se_DeleteActivityCommand: (
119
155
  input: DeleteActivityCommandInput,
120
156
  context: __SerdeContext
@@ -123,6 +159,14 @@ export declare const se_DeleteStateMachineCommand: (
123
159
  input: DeleteStateMachineCommandInput,
124
160
  context: __SerdeContext
125
161
  ) => Promise<__HttpRequest>;
162
+ export declare const se_DeleteStateMachineAliasCommand: (
163
+ input: DeleteStateMachineAliasCommandInput,
164
+ context: __SerdeContext
165
+ ) => Promise<__HttpRequest>;
166
+ export declare const se_DeleteStateMachineVersionCommand: (
167
+ input: DeleteStateMachineVersionCommandInput,
168
+ context: __SerdeContext
169
+ ) => Promise<__HttpRequest>;
126
170
  export declare const se_DescribeActivityCommand: (
127
171
  input: DescribeActivityCommandInput,
128
172
  context: __SerdeContext
@@ -139,6 +183,10 @@ export declare const se_DescribeStateMachineCommand: (
139
183
  input: DescribeStateMachineCommandInput,
140
184
  context: __SerdeContext
141
185
  ) => Promise<__HttpRequest>;
186
+ export declare const se_DescribeStateMachineAliasCommand: (
187
+ input: DescribeStateMachineAliasCommandInput,
188
+ context: __SerdeContext
189
+ ) => Promise<__HttpRequest>;
142
190
  export declare const se_DescribeStateMachineForExecutionCommand: (
143
191
  input: DescribeStateMachineForExecutionCommandInput,
144
192
  context: __SerdeContext
@@ -163,14 +211,26 @@ export declare const se_ListMapRunsCommand: (
163
211
  input: ListMapRunsCommandInput,
164
212
  context: __SerdeContext
165
213
  ) => Promise<__HttpRequest>;
214
+ export declare const se_ListStateMachineAliasesCommand: (
215
+ input: ListStateMachineAliasesCommandInput,
216
+ context: __SerdeContext
217
+ ) => Promise<__HttpRequest>;
166
218
  export declare const se_ListStateMachinesCommand: (
167
219
  input: ListStateMachinesCommandInput,
168
220
  context: __SerdeContext
169
221
  ) => Promise<__HttpRequest>;
222
+ export declare const se_ListStateMachineVersionsCommand: (
223
+ input: ListStateMachineVersionsCommandInput,
224
+ context: __SerdeContext
225
+ ) => Promise<__HttpRequest>;
170
226
  export declare const se_ListTagsForResourceCommand: (
171
227
  input: ListTagsForResourceCommandInput,
172
228
  context: __SerdeContext
173
229
  ) => Promise<__HttpRequest>;
230
+ export declare const se_PublishStateMachineVersionCommand: (
231
+ input: PublishStateMachineVersionCommandInput,
232
+ context: __SerdeContext
233
+ ) => Promise<__HttpRequest>;
174
234
  export declare const se_SendTaskFailureCommand: (
175
235
  input: SendTaskFailureCommandInput,
176
236
  context: __SerdeContext
@@ -211,6 +271,10 @@ export declare const se_UpdateStateMachineCommand: (
211
271
  input: UpdateStateMachineCommandInput,
212
272
  context: __SerdeContext
213
273
  ) => Promise<__HttpRequest>;
274
+ export declare const se_UpdateStateMachineAliasCommand: (
275
+ input: UpdateStateMachineAliasCommandInput,
276
+ context: __SerdeContext
277
+ ) => Promise<__HttpRequest>;
214
278
  export declare const de_CreateActivityCommand: (
215
279
  output: __HttpResponse,
216
280
  context: __SerdeContext
@@ -219,6 +283,10 @@ export declare const de_CreateStateMachineCommand: (
219
283
  output: __HttpResponse,
220
284
  context: __SerdeContext
221
285
  ) => Promise<CreateStateMachineCommandOutput>;
286
+ export declare const de_CreateStateMachineAliasCommand: (
287
+ output: __HttpResponse,
288
+ context: __SerdeContext
289
+ ) => Promise<CreateStateMachineAliasCommandOutput>;
222
290
  export declare const de_DeleteActivityCommand: (
223
291
  output: __HttpResponse,
224
292
  context: __SerdeContext
@@ -227,6 +295,14 @@ export declare const de_DeleteStateMachineCommand: (
227
295
  output: __HttpResponse,
228
296
  context: __SerdeContext
229
297
  ) => Promise<DeleteStateMachineCommandOutput>;
298
+ export declare const de_DeleteStateMachineAliasCommand: (
299
+ output: __HttpResponse,
300
+ context: __SerdeContext
301
+ ) => Promise<DeleteStateMachineAliasCommandOutput>;
302
+ export declare const de_DeleteStateMachineVersionCommand: (
303
+ output: __HttpResponse,
304
+ context: __SerdeContext
305
+ ) => Promise<DeleteStateMachineVersionCommandOutput>;
230
306
  export declare const de_DescribeActivityCommand: (
231
307
  output: __HttpResponse,
232
308
  context: __SerdeContext
@@ -243,6 +319,10 @@ export declare const de_DescribeStateMachineCommand: (
243
319
  output: __HttpResponse,
244
320
  context: __SerdeContext
245
321
  ) => Promise<DescribeStateMachineCommandOutput>;
322
+ export declare const de_DescribeStateMachineAliasCommand: (
323
+ output: __HttpResponse,
324
+ context: __SerdeContext
325
+ ) => Promise<DescribeStateMachineAliasCommandOutput>;
246
326
  export declare const de_DescribeStateMachineForExecutionCommand: (
247
327
  output: __HttpResponse,
248
328
  context: __SerdeContext
@@ -267,14 +347,26 @@ export declare const de_ListMapRunsCommand: (
267
347
  output: __HttpResponse,
268
348
  context: __SerdeContext
269
349
  ) => Promise<ListMapRunsCommandOutput>;
350
+ export declare const de_ListStateMachineAliasesCommand: (
351
+ output: __HttpResponse,
352
+ context: __SerdeContext
353
+ ) => Promise<ListStateMachineAliasesCommandOutput>;
270
354
  export declare const de_ListStateMachinesCommand: (
271
355
  output: __HttpResponse,
272
356
  context: __SerdeContext
273
357
  ) => Promise<ListStateMachinesCommandOutput>;
358
+ export declare const de_ListStateMachineVersionsCommand: (
359
+ output: __HttpResponse,
360
+ context: __SerdeContext
361
+ ) => Promise<ListStateMachineVersionsCommandOutput>;
274
362
  export declare const de_ListTagsForResourceCommand: (
275
363
  output: __HttpResponse,
276
364
  context: __SerdeContext
277
365
  ) => Promise<ListTagsForResourceCommandOutput>;
366
+ export declare const de_PublishStateMachineVersionCommand: (
367
+ output: __HttpResponse,
368
+ context: __SerdeContext
369
+ ) => Promise<PublishStateMachineVersionCommandOutput>;
278
370
  export declare const de_SendTaskFailureCommand: (
279
371
  output: __HttpResponse,
280
372
  context: __SerdeContext
@@ -315,3 +407,7 @@ export declare const de_UpdateStateMachineCommand: (
315
407
  output: __HttpResponse,
316
408
  context: __SerdeContext
317
409
  ) => Promise<UpdateStateMachineCommandOutput>;
410
+ export declare const de_UpdateStateMachineAliasCommand: (
411
+ output: __HttpResponse,
412
+ context: __SerdeContext
413
+ ) => Promise<UpdateStateMachineAliasCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sfn",
3
3
  "description": "AWS SDK for JavaScript Sfn Client for Node.js, Browser and React Native",
4
- "version": "3.354.0",
4
+ "version": "3.358.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,36 +21,36 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.354.0",
25
- "@aws-sdk/config-resolver": "3.354.0",
26
- "@aws-sdk/credential-provider-node": "3.354.0",
27
- "@aws-sdk/fetch-http-handler": "3.353.0",
28
- "@aws-sdk/hash-node": "3.347.0",
29
- "@aws-sdk/invalid-dependency": "3.347.0",
30
- "@aws-sdk/middleware-content-length": "3.347.0",
31
- "@aws-sdk/middleware-endpoint": "3.347.0",
32
- "@aws-sdk/middleware-host-header": "3.347.0",
33
- "@aws-sdk/middleware-logger": "3.347.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.347.0",
35
- "@aws-sdk/middleware-retry": "3.354.0",
36
- "@aws-sdk/middleware-serde": "3.347.0",
37
- "@aws-sdk/middleware-signing": "3.354.0",
38
- "@aws-sdk/middleware-stack": "3.347.0",
39
- "@aws-sdk/middleware-user-agent": "3.352.0",
40
- "@aws-sdk/node-config-provider": "3.354.0",
41
- "@aws-sdk/node-http-handler": "3.350.0",
42
- "@aws-sdk/smithy-client": "3.347.0",
43
- "@aws-sdk/types": "3.347.0",
44
- "@aws-sdk/url-parser": "3.347.0",
24
+ "@aws-sdk/client-sts": "3.358.0",
25
+ "@aws-sdk/config-resolver": "3.357.0",
26
+ "@aws-sdk/credential-provider-node": "3.358.0",
27
+ "@aws-sdk/fetch-http-handler": "3.357.0",
28
+ "@aws-sdk/hash-node": "3.357.0",
29
+ "@aws-sdk/invalid-dependency": "3.357.0",
30
+ "@aws-sdk/middleware-content-length": "3.357.0",
31
+ "@aws-sdk/middleware-endpoint": "3.357.0",
32
+ "@aws-sdk/middleware-host-header": "3.357.0",
33
+ "@aws-sdk/middleware-logger": "3.357.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.357.0",
35
+ "@aws-sdk/middleware-retry": "3.357.0",
36
+ "@aws-sdk/middleware-serde": "3.357.0",
37
+ "@aws-sdk/middleware-signing": "3.357.0",
38
+ "@aws-sdk/middleware-stack": "3.357.0",
39
+ "@aws-sdk/middleware-user-agent": "3.357.0",
40
+ "@aws-sdk/node-config-provider": "3.357.0",
41
+ "@aws-sdk/node-http-handler": "3.357.0",
42
+ "@aws-sdk/smithy-client": "3.358.0",
43
+ "@aws-sdk/types": "3.357.0",
44
+ "@aws-sdk/url-parser": "3.357.0",
45
45
  "@aws-sdk/util-base64": "3.310.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.310.0",
47
47
  "@aws-sdk/util-body-length-node": "3.310.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.353.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.354.0",
50
- "@aws-sdk/util-endpoints": "3.352.0",
51
- "@aws-sdk/util-retry": "3.347.0",
52
- "@aws-sdk/util-user-agent-browser": "3.347.0",
53
- "@aws-sdk/util-user-agent-node": "3.354.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.358.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.358.0",
50
+ "@aws-sdk/util-endpoints": "3.357.0",
51
+ "@aws-sdk/util-retry": "3.357.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.357.0",
53
+ "@aws-sdk/util-user-agent-node": "3.357.0",
54
54
  "@aws-sdk/util-utf8": "3.310.0",
55
55
  "@smithy/protocol-http": "^1.0.1",
56
56
  "@smithy/types": "^1.0.0",