@aws-sdk/client-sfn 3.357.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 +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
@@ -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
+ DescribeStateMachineAliasInput,
11
+ DescribeStateMachineAliasOutput,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ SFNClientResolvedConfig,
17
+ } from "../SFNClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface DescribeStateMachineAliasCommandInput
20
+ extends DescribeStateMachineAliasInput {}
21
+ export interface DescribeStateMachineAliasCommandOutput
22
+ extends DescribeStateMachineAliasOutput,
23
+ __MetadataBearer {}
24
+ export declare class DescribeStateMachineAliasCommand extends $Command<
25
+ DescribeStateMachineAliasCommandInput,
26
+ DescribeStateMachineAliasCommandOutput,
27
+ SFNClientResolvedConfig
28
+ > {
29
+ readonly input: DescribeStateMachineAliasCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: DescribeStateMachineAliasCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: SFNClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ DescribeStateMachineAliasCommandInput,
38
+ DescribeStateMachineAliasCommandOutput
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
+ ListStateMachineAliasesInput,
11
+ ListStateMachineAliasesOutput,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ SFNClientResolvedConfig,
17
+ } from "../SFNClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListStateMachineAliasesCommandInput
20
+ extends ListStateMachineAliasesInput {}
21
+ export interface ListStateMachineAliasesCommandOutput
22
+ extends ListStateMachineAliasesOutput,
23
+ __MetadataBearer {}
24
+ export declare class ListStateMachineAliasesCommand extends $Command<
25
+ ListStateMachineAliasesCommandInput,
26
+ ListStateMachineAliasesCommandOutput,
27
+ SFNClientResolvedConfig
28
+ > {
29
+ readonly input: ListStateMachineAliasesCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListStateMachineAliasesCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: SFNClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ ListStateMachineAliasesCommandInput,
38
+ ListStateMachineAliasesCommandOutput
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
+ ListStateMachineVersionsInput,
11
+ ListStateMachineVersionsOutput,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ SFNClientResolvedConfig,
17
+ } from "../SFNClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListStateMachineVersionsCommandInput
20
+ extends ListStateMachineVersionsInput {}
21
+ export interface ListStateMachineVersionsCommandOutput
22
+ extends ListStateMachineVersionsOutput,
23
+ __MetadataBearer {}
24
+ export declare class ListStateMachineVersionsCommand extends $Command<
25
+ ListStateMachineVersionsCommandInput,
26
+ ListStateMachineVersionsCommandOutput,
27
+ SFNClientResolvedConfig
28
+ > {
29
+ readonly input: ListStateMachineVersionsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListStateMachineVersionsCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: SFNClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ ListStateMachineVersionsCommandInput,
38
+ ListStateMachineVersionsCommandOutput
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
+ PublishStateMachineVersionInput,
11
+ PublishStateMachineVersionOutput,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ SFNClientResolvedConfig,
17
+ } from "../SFNClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface PublishStateMachineVersionCommandInput
20
+ extends PublishStateMachineVersionInput {}
21
+ export interface PublishStateMachineVersionCommandOutput
22
+ extends PublishStateMachineVersionOutput,
23
+ __MetadataBearer {}
24
+ export declare class PublishStateMachineVersionCommand extends $Command<
25
+ PublishStateMachineVersionCommandInput,
26
+ PublishStateMachineVersionCommandOutput,
27
+ SFNClientResolvedConfig
28
+ > {
29
+ readonly input: PublishStateMachineVersionCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: PublishStateMachineVersionCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: SFNClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ PublishStateMachineVersionCommandInput,
38
+ PublishStateMachineVersionCommandOutput
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
+ UpdateStateMachineAliasInput,
11
+ UpdateStateMachineAliasOutput,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ SFNClientResolvedConfig,
17
+ } from "../SFNClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface UpdateStateMachineAliasCommandInput
20
+ extends UpdateStateMachineAliasInput {}
21
+ export interface UpdateStateMachineAliasCommandOutput
22
+ extends UpdateStateMachineAliasOutput,
23
+ __MetadataBearer {}
24
+ export declare class UpdateStateMachineAliasCommand extends $Command<
25
+ UpdateStateMachineAliasCommandInput,
26
+ UpdateStateMachineAliasCommandOutput,
27
+ SFNClientResolvedConfig
28
+ > {
29
+ readonly input: UpdateStateMachineAliasCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: UpdateStateMachineAliasCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: SFNClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ UpdateStateMachineAliasCommandInput,
38
+ UpdateStateMachineAliasCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -1,10 +1,14 @@
1
1
  export * from "./CreateActivityCommand";
2
+ export * from "./CreateStateMachineAliasCommand";
2
3
  export * from "./CreateStateMachineCommand";
3
4
  export * from "./DeleteActivityCommand";
5
+ export * from "./DeleteStateMachineAliasCommand";
4
6
  export * from "./DeleteStateMachineCommand";
7
+ export * from "./DeleteStateMachineVersionCommand";
5
8
  export * from "./DescribeActivityCommand";
6
9
  export * from "./DescribeExecutionCommand";
7
10
  export * from "./DescribeMapRunCommand";
11
+ export * from "./DescribeStateMachineAliasCommand";
8
12
  export * from "./DescribeStateMachineCommand";
9
13
  export * from "./DescribeStateMachineForExecutionCommand";
10
14
  export * from "./GetActivityTaskCommand";
@@ -12,8 +16,11 @@ export * from "./GetExecutionHistoryCommand";
12
16
  export * from "./ListActivitiesCommand";
13
17
  export * from "./ListExecutionsCommand";
14
18
  export * from "./ListMapRunsCommand";
19
+ export * from "./ListStateMachineAliasesCommand";
20
+ export * from "./ListStateMachineVersionsCommand";
15
21
  export * from "./ListStateMachinesCommand";
16
22
  export * from "./ListTagsForResourceCommand";
23
+ export * from "./PublishStateMachineVersionCommand";
17
24
  export * from "./SendTaskFailureCommand";
18
25
  export * from "./SendTaskHeartbeatCommand";
19
26
  export * from "./SendTaskSuccessCommand";
@@ -23,4 +30,5 @@ export * from "./StopExecutionCommand";
23
30
  export * from "./TagResourceCommand";
24
31
  export * from "./UntagResourceCommand";
25
32
  export * from "./UpdateMapRunCommand";
33
+ export * from "./UpdateStateMachineAliasCommand";
26
34
  export * from "./UpdateStateMachineCommand";
@@ -25,7 +25,7 @@ export declare const resolveClientEndpointParameters: <T>(
25
25
  defaultSigningName: string;
26
26
  };
27
27
  export interface EndpointParameters extends __EndpointParameters {
28
- Region: string;
28
+ Region?: string;
29
29
  UseDualStack?: boolean;
30
30
  UseFIPS?: boolean;
31
31
  Endpoint?: string;
@@ -78,6 +78,11 @@ export declare class TooManyTags extends __BaseException {
78
78
  resourceName?: string;
79
79
  constructor(opts: __ExceptionOptionType<TooManyTags, __BaseException>);
80
80
  }
81
+ export declare class ConflictException extends __BaseException {
82
+ readonly name: "ConflictException";
83
+ readonly $fault: "client";
84
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
85
+ }
81
86
  export interface CloudWatchLogsLogGroup {
82
87
  logGroupArn?: string;
83
88
  }
@@ -113,10 +118,13 @@ export interface CreateStateMachineInput {
113
118
  loggingConfiguration?: LoggingConfiguration;
114
119
  tags?: Tag[];
115
120
  tracingConfiguration?: TracingConfiguration;
121
+ publish?: boolean;
122
+ versionDescription?: string;
116
123
  }
117
124
  export interface CreateStateMachineOutput {
118
125
  stateMachineArn: string | undefined;
119
126
  creationDate: Date | undefined;
127
+ stateMachineVersionArn?: string;
120
128
  }
121
129
  export declare class InvalidArn extends __BaseException {
122
130
  readonly name: "InvalidArn";
@@ -170,17 +178,10 @@ export declare class StateMachineTypeNotSupported extends __BaseException {
170
178
  opts: __ExceptionOptionType<StateMachineTypeNotSupported, __BaseException>
171
179
  );
172
180
  }
173
- export interface DeleteActivityInput {
174
- activityArn: string | undefined;
175
- }
176
- export interface DeleteActivityOutput {}
177
- export interface DeleteStateMachineInput {
178
- stateMachineArn: string | undefined;
179
- }
180
- export interface DeleteStateMachineOutput {}
181
181
  export declare const ValidationExceptionReason: {
182
182
  readonly API_DOES_NOT_SUPPORT_LABELED_ARNS: "API_DOES_NOT_SUPPORT_LABELED_ARNS";
183
183
  readonly CANNOT_UPDATE_COMPLETED_MAP_RUN: "CANNOT_UPDATE_COMPLETED_MAP_RUN";
184
+ readonly INVALID_ROUTING_CONFIGURATION: "INVALID_ROUTING_CONFIGURATION";
184
185
  readonly MISSING_REQUIRED_PARAMETER: "MISSING_REQUIRED_PARAMETER";
185
186
  };
186
187
  export type ValidationExceptionReason =
@@ -193,6 +194,48 @@ export declare class ValidationException extends __BaseException {
193
194
  opts: __ExceptionOptionType<ValidationException, __BaseException>
194
195
  );
195
196
  }
197
+ export interface RoutingConfigurationListItem {
198
+ stateMachineVersionArn: string | undefined;
199
+ weight: number | undefined;
200
+ }
201
+ export interface CreateStateMachineAliasInput {
202
+ description?: string;
203
+ name: string | undefined;
204
+ routingConfiguration: RoutingConfigurationListItem[] | undefined;
205
+ }
206
+ export interface CreateStateMachineAliasOutput {
207
+ stateMachineAliasArn: string | undefined;
208
+ creationDate: Date | undefined;
209
+ }
210
+ export declare class ResourceNotFound extends __BaseException {
211
+ readonly name: "ResourceNotFound";
212
+ readonly $fault: "client";
213
+ resourceName?: string;
214
+ constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
215
+ }
216
+ export declare class ServiceQuotaExceededException extends __BaseException {
217
+ readonly name: "ServiceQuotaExceededException";
218
+ readonly $fault: "client";
219
+ constructor(
220
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
221
+ );
222
+ }
223
+ export interface DeleteActivityInput {
224
+ activityArn: string | undefined;
225
+ }
226
+ export interface DeleteActivityOutput {}
227
+ export interface DeleteStateMachineInput {
228
+ stateMachineArn: string | undefined;
229
+ }
230
+ export interface DeleteStateMachineOutput {}
231
+ export interface DeleteStateMachineAliasInput {
232
+ stateMachineAliasArn: string | undefined;
233
+ }
234
+ export interface DeleteStateMachineAliasOutput {}
235
+ export interface DeleteStateMachineVersionInput {
236
+ stateMachineVersionArn: string | undefined;
237
+ }
238
+ export interface DeleteStateMachineVersionOutput {}
196
239
  export interface DescribeActivityInput {
197
240
  activityArn: string | undefined;
198
241
  }
@@ -231,6 +274,8 @@ export interface DescribeExecutionOutput {
231
274
  mapRunArn?: string;
232
275
  error?: string;
233
276
  cause?: string;
277
+ stateMachineVersionArn?: string;
278
+ stateMachineAliasArn?: string;
234
279
  }
235
280
  export declare class ExecutionDoesNotExist extends __BaseException {
236
281
  readonly name: "ExecutionDoesNotExist";
@@ -281,12 +326,6 @@ export interface DescribeMapRunOutput {
281
326
  itemCounts: MapRunItemCounts | undefined;
282
327
  executionCounts: MapRunExecutionCounts | undefined;
283
328
  }
284
- export declare class ResourceNotFound extends __BaseException {
285
- readonly name: "ResourceNotFound";
286
- readonly $fault: "client";
287
- resourceName?: string;
288
- constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
289
- }
290
329
  export interface DescribeStateMachineInput {
291
330
  stateMachineArn: string | undefined;
292
331
  }
@@ -307,6 +346,8 @@ export interface DescribeStateMachineOutput {
307
346
  loggingConfiguration?: LoggingConfiguration;
308
347
  tracingConfiguration?: TracingConfiguration;
309
348
  label?: string;
349
+ revisionId?: string;
350
+ description?: string;
310
351
  }
311
352
  export declare class StateMachineDoesNotExist extends __BaseException {
312
353
  readonly name: "StateMachineDoesNotExist";
@@ -315,6 +356,17 @@ export declare class StateMachineDoesNotExist extends __BaseException {
315
356
  opts: __ExceptionOptionType<StateMachineDoesNotExist, __BaseException>
316
357
  );
317
358
  }
359
+ export interface DescribeStateMachineAliasInput {
360
+ stateMachineAliasArn: string | undefined;
361
+ }
362
+ export interface DescribeStateMachineAliasOutput {
363
+ stateMachineAliasArn?: string;
364
+ name?: string;
365
+ description?: string;
366
+ routingConfiguration?: RoutingConfigurationListItem[];
367
+ creationDate?: Date;
368
+ updateDate?: Date;
369
+ }
318
370
  export interface DescribeStateMachineForExecutionInput {
319
371
  executionArn: string | undefined;
320
372
  }
@@ -328,6 +380,7 @@ export interface DescribeStateMachineForExecutionOutput {
328
380
  tracingConfiguration?: TracingConfiguration;
329
381
  mapRunArn?: string;
330
382
  label?: string;
383
+ revisionId?: string;
331
384
  }
332
385
  export interface GetActivityTaskInput {
333
386
  activityArn: string | undefined;
@@ -356,6 +409,8 @@ export interface ExecutionStartedEventDetails {
356
409
  input?: string;
357
410
  inputDetails?: HistoryEventExecutionDataDetails;
358
411
  roleArn?: string;
412
+ stateMachineAliasArn?: string;
413
+ stateMachineVersionArn?: string;
359
414
  }
360
415
  export interface ExecutionSucceededEventDetails {
361
416
  output?: string;
@@ -604,6 +659,8 @@ export interface ExecutionListItem {
604
659
  stopDate?: Date;
605
660
  mapRunArn?: string;
606
661
  itemCount?: number;
662
+ stateMachineVersionArn?: string;
663
+ stateMachineAliasArn?: string;
607
664
  }
608
665
  export interface ListExecutionsOutput {
609
666
  executions: ExecutionListItem[] | undefined;
@@ -625,6 +682,19 @@ export interface ListMapRunsOutput {
625
682
  mapRuns: MapRunListItem[] | undefined;
626
683
  nextToken?: string;
627
684
  }
685
+ export interface ListStateMachineAliasesInput {
686
+ stateMachineArn: string | undefined;
687
+ nextToken?: string;
688
+ maxResults?: number;
689
+ }
690
+ export interface StateMachineAliasListItem {
691
+ stateMachineAliasArn: string | undefined;
692
+ creationDate: Date | undefined;
693
+ }
694
+ export interface ListStateMachineAliasesOutput {
695
+ stateMachineAliases: StateMachineAliasListItem[] | undefined;
696
+ nextToken?: string;
697
+ }
628
698
  export interface ListStateMachinesInput {
629
699
  maxResults?: number;
630
700
  nextToken?: string;
@@ -639,12 +709,34 @@ export interface ListStateMachinesOutput {
639
709
  stateMachines: StateMachineListItem[] | undefined;
640
710
  nextToken?: string;
641
711
  }
712
+ export interface ListStateMachineVersionsInput {
713
+ stateMachineArn: string | undefined;
714
+ nextToken?: string;
715
+ maxResults?: number;
716
+ }
717
+ export interface StateMachineVersionListItem {
718
+ stateMachineVersionArn: string | undefined;
719
+ creationDate: Date | undefined;
720
+ }
721
+ export interface ListStateMachineVersionsOutput {
722
+ stateMachineVersions: StateMachineVersionListItem[] | undefined;
723
+ nextToken?: string;
724
+ }
642
725
  export interface ListTagsForResourceInput {
643
726
  resourceArn: string | undefined;
644
727
  }
645
728
  export interface ListTagsForResourceOutput {
646
729
  tags?: Tag[];
647
730
  }
731
+ export interface PublishStateMachineVersionInput {
732
+ stateMachineArn: string | undefined;
733
+ revisionId?: string;
734
+ description?: string;
735
+ }
736
+ export interface PublishStateMachineVersionOutput {
737
+ creationDate: Date | undefined;
738
+ stateMachineVersionArn: string | undefined;
739
+ }
648
740
  export interface SendTaskFailureInput {
649
741
  taskToken: string | undefined;
650
742
  error?: string;
@@ -777,9 +869,21 @@ export interface UpdateStateMachineInput {
777
869
  roleArn?: string;
778
870
  loggingConfiguration?: LoggingConfiguration;
779
871
  tracingConfiguration?: TracingConfiguration;
872
+ publish?: boolean;
873
+ versionDescription?: string;
780
874
  }
781
875
  export interface UpdateStateMachineOutput {
782
876
  updateDate: Date | undefined;
877
+ revisionId?: string;
878
+ stateMachineVersionArn?: string;
879
+ }
880
+ export interface UpdateStateMachineAliasInput {
881
+ stateMachineAliasArn: string | undefined;
882
+ description?: string;
883
+ routingConfiguration?: RoutingConfigurationListItem[];
884
+ }
885
+ export interface UpdateStateMachineAliasOutput {
886
+ updateDate: Date | undefined;
783
887
  }
784
888
  export declare const ActivityFailedEventDetailsFilterSensitiveLog: (
785
889
  obj: ActivityFailedEventDetails
@@ -799,12 +903,18 @@ export declare const ActivityTimedOutEventDetailsFilterSensitiveLog: (
799
903
  export declare const CreateStateMachineInputFilterSensitiveLog: (
800
904
  obj: CreateStateMachineInput
801
905
  ) => any;
906
+ export declare const CreateStateMachineAliasInputFilterSensitiveLog: (
907
+ obj: CreateStateMachineAliasInput
908
+ ) => any;
802
909
  export declare const DescribeExecutionOutputFilterSensitiveLog: (
803
910
  obj: DescribeExecutionOutput
804
911
  ) => any;
805
912
  export declare const DescribeStateMachineOutputFilterSensitiveLog: (
806
913
  obj: DescribeStateMachineOutput
807
914
  ) => any;
915
+ export declare const DescribeStateMachineAliasOutputFilterSensitiveLog: (
916
+ obj: DescribeStateMachineAliasOutput
917
+ ) => any;
808
918
  export declare const DescribeStateMachineForExecutionOutputFilterSensitiveLog: (
809
919
  obj: DescribeStateMachineForExecutionOutput
810
920
  ) => any;
@@ -878,6 +988,9 @@ export declare const HistoryEventFilterSensitiveLog: (obj: HistoryEvent) => any;
878
988
  export declare const GetExecutionHistoryOutputFilterSensitiveLog: (
879
989
  obj: GetExecutionHistoryOutput
880
990
  ) => any;
991
+ export declare const PublishStateMachineVersionInputFilterSensitiveLog: (
992
+ obj: PublishStateMachineVersionInput
993
+ ) => any;
881
994
  export declare const SendTaskFailureInputFilterSensitiveLog: (
882
995
  obj: SendTaskFailureInput
883
996
  ) => any;
@@ -899,3 +1012,6 @@ export declare const StopExecutionInputFilterSensitiveLog: (
899
1012
  export declare const UpdateStateMachineInputFilterSensitiveLog: (
900
1013
  obj: UpdateStateMachineInput
901
1014
  ) => any;
1015
+ export declare const UpdateStateMachineAliasInputFilterSensitiveLog: (
1016
+ obj: UpdateStateMachineAliasInput
1017
+ ) => any;