@aws-sdk/client-sfn 3.696.0 → 3.709.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/dist-cjs/index.js CHANGED
@@ -51,6 +51,7 @@ __export(src_exports, {
51
51
  DescribeStateMachineForExecutionOutputFilterSensitiveLog: () => DescribeStateMachineForExecutionOutputFilterSensitiveLog,
52
52
  DescribeStateMachineOutputFilterSensitiveLog: () => DescribeStateMachineOutputFilterSensitiveLog,
53
53
  EncryptionType: () => EncryptionType,
54
+ EvaluationFailedEventDetailsFilterSensitiveLog: () => EvaluationFailedEventDetailsFilterSensitiveLog,
54
55
  ExecutionAbortedEventDetailsFilterSensitiveLog: () => ExecutionAbortedEventDetailsFilterSensitiveLog,
55
56
  ExecutionAlreadyExists: () => ExecutionAlreadyExists,
56
57
  ExecutionDoesNotExist: () => ExecutionDoesNotExist,
@@ -154,7 +155,9 @@ __export(src_exports, {
154
155
  UpdateStateMachineCommand: () => UpdateStateMachineCommand,
155
156
  UpdateStateMachineInputFilterSensitiveLog: () => UpdateStateMachineInputFilterSensitiveLog,
156
157
  ValidateStateMachineDefinitionCommand: () => ValidateStateMachineDefinitionCommand,
158
+ ValidateStateMachineDefinitionDiagnosticFilterSensitiveLog: () => ValidateStateMachineDefinitionDiagnosticFilterSensitiveLog,
157
159
  ValidateStateMachineDefinitionInputFilterSensitiveLog: () => ValidateStateMachineDefinitionInputFilterSensitiveLog,
160
+ ValidateStateMachineDefinitionOutputFilterSensitiveLog: () => ValidateStateMachineDefinitionOutputFilterSensitiveLog,
158
161
  ValidateStateMachineDefinitionResultCode: () => ValidateStateMachineDefinitionResultCode,
159
162
  ValidateStateMachineDefinitionSeverity: () => ValidateStateMachineDefinitionSeverity,
160
163
  ValidationException: () => ValidationException,
@@ -812,6 +815,7 @@ var HistoryEventType = {
812
815
  ActivityTimedOut: "ActivityTimedOut",
813
816
  ChoiceStateEntered: "ChoiceStateEntered",
814
817
  ChoiceStateExited: "ChoiceStateExited",
818
+ EvaluationFailed: "EvaluationFailed",
815
819
  ExecutionAborted: "ExecutionAborted",
816
820
  ExecutionFailed: "ExecutionFailed",
817
821
  ExecutionRedriven: "ExecutionRedriven",
@@ -1090,7 +1094,8 @@ var DescribeExecutionOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
1090
1094
  var DescribeStateMachineOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1091
1095
  ...obj,
1092
1096
  ...obj.definition && { definition: import_smithy_client.SENSITIVE_STRING },
1093
- ...obj.description && { description: import_smithy_client.SENSITIVE_STRING }
1097
+ ...obj.description && { description: import_smithy_client.SENSITIVE_STRING },
1098
+ ...obj.variableReferences && { variableReferences: import_smithy_client.SENSITIVE_STRING }
1094
1099
  }), "DescribeStateMachineOutputFilterSensitiveLog");
1095
1100
  var DescribeStateMachineAliasOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1096
1101
  ...obj,
@@ -1098,12 +1103,19 @@ var DescribeStateMachineAliasOutputFilterSensitiveLog = /* @__PURE__ */ __name((
1098
1103
  }), "DescribeStateMachineAliasOutputFilterSensitiveLog");
1099
1104
  var DescribeStateMachineForExecutionOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1100
1105
  ...obj,
1101
- ...obj.definition && { definition: import_smithy_client.SENSITIVE_STRING }
1106
+ ...obj.definition && { definition: import_smithy_client.SENSITIVE_STRING },
1107
+ ...obj.variableReferences && { variableReferences: import_smithy_client.SENSITIVE_STRING }
1102
1108
  }), "DescribeStateMachineForExecutionOutputFilterSensitiveLog");
1103
1109
  var GetActivityTaskOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1104
1110
  ...obj,
1105
1111
  ...obj.input && { input: import_smithy_client.SENSITIVE_STRING }
1106
1112
  }), "GetActivityTaskOutputFilterSensitiveLog");
1113
+ var EvaluationFailedEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1114
+ ...obj,
1115
+ ...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
1116
+ ...obj.cause && { cause: import_smithy_client.SENSITIVE_STRING },
1117
+ ...obj.location && { location: import_smithy_client.SENSITIVE_STRING }
1118
+ }), "EvaluationFailedEventDetailsFilterSensitiveLog");
1107
1119
  var ExecutionAbortedEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1108
1120
  ...obj,
1109
1121
  ...obj.error && { error: import_smithy_client.SENSITIVE_STRING },
@@ -1166,7 +1178,8 @@ var StateEnteredEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
1166
1178
  }), "StateEnteredEventDetailsFilterSensitiveLog");
1167
1179
  var StateExitedEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1168
1180
  ...obj,
1169
- ...obj.output && { output: import_smithy_client.SENSITIVE_STRING }
1181
+ ...obj.output && { output: import_smithy_client.SENSITIVE_STRING },
1182
+ ...obj.assignedVariables && { assignedVariables: import_smithy_client.SENSITIVE_STRING }
1170
1183
  }), "StateExitedEventDetailsFilterSensitiveLog");
1171
1184
  var TaskFailedEventDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1172
1185
  ...obj,
@@ -1295,6 +1308,9 @@ var HistoryEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1295
1308
  },
1296
1309
  ...obj.mapRunFailedEventDetails && {
1297
1310
  mapRunFailedEventDetails: MapRunFailedEventDetailsFilterSensitiveLog(obj.mapRunFailedEventDetails)
1311
+ },
1312
+ ...obj.evaluationFailedEventDetails && {
1313
+ evaluationFailedEventDetails: EvaluationFailedEventDetailsFilterSensitiveLog(obj.evaluationFailedEventDetails)
1298
1314
  }
1299
1315
  }), "HistoryEventFilterSensitiveLog");
1300
1316
  var GetExecutionHistoryOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
@@ -1337,16 +1353,19 @@ var StopExecutionInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1337
1353
  var TestStateInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1338
1354
  ...obj,
1339
1355
  ...obj.definition && { definition: import_smithy_client.SENSITIVE_STRING },
1340
- ...obj.input && { input: import_smithy_client.SENSITIVE_STRING }
1356
+ ...obj.input && { input: import_smithy_client.SENSITIVE_STRING },
1357
+ ...obj.variables && { variables: import_smithy_client.SENSITIVE_STRING }
1341
1358
  }), "TestStateInputFilterSensitiveLog");
1342
1359
  var InspectionDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1343
1360
  ...obj,
1344
1361
  ...obj.input && { input: import_smithy_client.SENSITIVE_STRING },
1362
+ ...obj.afterArguments && { afterArguments: import_smithy_client.SENSITIVE_STRING },
1345
1363
  ...obj.afterInputPath && { afterInputPath: import_smithy_client.SENSITIVE_STRING },
1346
1364
  ...obj.afterParameters && { afterParameters: import_smithy_client.SENSITIVE_STRING },
1347
1365
  ...obj.result && { result: import_smithy_client.SENSITIVE_STRING },
1348
1366
  ...obj.afterResultSelector && { afterResultSelector: import_smithy_client.SENSITIVE_STRING },
1349
- ...obj.afterResultPath && { afterResultPath: import_smithy_client.SENSITIVE_STRING }
1367
+ ...obj.afterResultPath && { afterResultPath: import_smithy_client.SENSITIVE_STRING },
1368
+ ...obj.variables && { variables: import_smithy_client.SENSITIVE_STRING }
1350
1369
  }), "InspectionDataFilterSensitiveLog");
1351
1370
  var TestStateOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1352
1371
  ...obj,
@@ -1368,6 +1387,18 @@ var ValidateStateMachineDefinitionInputFilterSensitiveLog = /* @__PURE__ */ __na
1368
1387
  ...obj,
1369
1388
  ...obj.definition && { definition: import_smithy_client.SENSITIVE_STRING }
1370
1389
  }), "ValidateStateMachineDefinitionInputFilterSensitiveLog");
1390
+ var ValidateStateMachineDefinitionDiagnosticFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1391
+ ...obj,
1392
+ ...obj.code && { code: import_smithy_client.SENSITIVE_STRING },
1393
+ ...obj.message && { message: import_smithy_client.SENSITIVE_STRING },
1394
+ ...obj.location && { location: import_smithy_client.SENSITIVE_STRING }
1395
+ }), "ValidateStateMachineDefinitionDiagnosticFilterSensitiveLog");
1396
+ var ValidateStateMachineDefinitionOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1397
+ ...obj,
1398
+ ...obj.diagnostics && {
1399
+ diagnostics: obj.diagnostics.map((item) => ValidateStateMachineDefinitionDiagnosticFilterSensitiveLog(item))
1400
+ }
1401
+ }), "ValidateStateMachineDefinitionOutputFilterSensitiveLog");
1371
1402
 
1372
1403
  // src/protocols/Aws_json1_0.ts
1373
1404
  var se_CreateActivityCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -2615,7 +2646,8 @@ var de_DescribeStateMachineForExecutionOutput = /* @__PURE__ */ __name((output,
2615
2646
  roleArn: import_smithy_client.expectString,
2616
2647
  stateMachineArn: import_smithy_client.expectString,
2617
2648
  tracingConfiguration: import_smithy_client._json,
2618
- updateDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
2649
+ updateDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2650
+ variableReferences: import_smithy_client._json
2619
2651
  });
2620
2652
  }, "de_DescribeStateMachineForExecutionOutput");
2621
2653
  var de_DescribeStateMachineOutput = /* @__PURE__ */ __name((output, context) => {
@@ -2632,7 +2664,8 @@ var de_DescribeStateMachineOutput = /* @__PURE__ */ __name((output, context) =>
2632
2664
  stateMachineArn: import_smithy_client.expectString,
2633
2665
  status: import_smithy_client.expectString,
2634
2666
  tracingConfiguration: import_smithy_client._json,
2635
- type: import_smithy_client.expectString
2667
+ type: import_smithy_client.expectString,
2668
+ variableReferences: import_smithy_client._json
2636
2669
  });
2637
2670
  }, "de_DescribeStateMachineOutput");
2638
2671
  var de_ExecutionList = /* @__PURE__ */ __name((output, context) => {
@@ -2671,6 +2704,7 @@ var de_HistoryEvent = /* @__PURE__ */ __name((output, context) => {
2671
2704
  activityStartedEventDetails: import_smithy_client._json,
2672
2705
  activitySucceededEventDetails: import_smithy_client._json,
2673
2706
  activityTimedOutEventDetails: import_smithy_client._json,
2707
+ evaluationFailedEventDetails: import_smithy_client._json,
2674
2708
  executionAbortedEventDetails: import_smithy_client._json,
2675
2709
  executionFailedEventDetails: import_smithy_client._json,
2676
2710
  executionRedrivenEventDetails: import_smithy_client._json,
@@ -3397,7 +3431,7 @@ var _ValidateStateMachineDefinitionCommand = class _ValidateStateMachineDefiniti
3397
3431
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3398
3432
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3399
3433
  ];
3400
- }).s("AWSStepFunctions", "ValidateStateMachineDefinition", {}).n("SFNClient", "ValidateStateMachineDefinitionCommand").f(ValidateStateMachineDefinitionInputFilterSensitiveLog, void 0).ser(se_ValidateStateMachineDefinitionCommand).de(de_ValidateStateMachineDefinitionCommand).build() {
3434
+ }).s("AWSStepFunctions", "ValidateStateMachineDefinition", {}).n("SFNClient", "ValidateStateMachineDefinitionCommand").f(ValidateStateMachineDefinitionInputFilterSensitiveLog, ValidateStateMachineDefinitionOutputFilterSensitiveLog).ser(se_ValidateStateMachineDefinitionCommand).de(de_ValidateStateMachineDefinitionCommand).build() {
3401
3435
  };
3402
3436
  __name(_ValidateStateMachineDefinitionCommand, "ValidateStateMachineDefinitionCommand");
3403
3437
  var ValidateStateMachineDefinitionCommand = _ValidateStateMachineDefinitionCommand;
@@ -3579,6 +3613,7 @@ var paginateListStateMachines = (0, import_core.createPaginator)(SFNClient, List
3579
3613
  DescribeStateMachineAliasOutputFilterSensitiveLog,
3580
3614
  DescribeStateMachineForExecutionOutputFilterSensitiveLog,
3581
3615
  GetActivityTaskOutputFilterSensitiveLog,
3616
+ EvaluationFailedEventDetailsFilterSensitiveLog,
3582
3617
  ExecutionAbortedEventDetailsFilterSensitiveLog,
3583
3618
  ExecutionFailedEventDetailsFilterSensitiveLog,
3584
3619
  ExecutionStartedEventDetailsFilterSensitiveLog,
@@ -3614,6 +3649,8 @@ var paginateListStateMachines = (0, import_core.createPaginator)(SFNClient, List
3614
3649
  TestStateOutputFilterSensitiveLog,
3615
3650
  UpdateStateMachineInputFilterSensitiveLog,
3616
3651
  UpdateStateMachineAliasInputFilterSensitiveLog,
3617
- ValidateStateMachineDefinitionInputFilterSensitiveLog
3652
+ ValidateStateMachineDefinitionInputFilterSensitiveLog,
3653
+ ValidateStateMachineDefinitionDiagnosticFilterSensitiveLog,
3654
+ ValidateStateMachineDefinitionOutputFilterSensitiveLog
3618
3655
  });
3619
3656
 
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ValidateStateMachineDefinitionInputFilterSensitiveLog, } from "../models/models_0";
5
+ import { ValidateStateMachineDefinitionInputFilterSensitiveLog, ValidateStateMachineDefinitionOutputFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ValidateStateMachineDefinitionCommand, se_ValidateStateMachineDefinitionCommand, } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
8
  export class ValidateStateMachineDefinitionCommand extends $Command
@@ -16,7 +16,7 @@ export class ValidateStateMachineDefinitionCommand extends $Command
16
16
  })
17
17
  .s("AWSStepFunctions", "ValidateStateMachineDefinition", {})
18
18
  .n("SFNClient", "ValidateStateMachineDefinitionCommand")
19
- .f(ValidateStateMachineDefinitionInputFilterSensitiveLog, void 0)
19
+ .f(ValidateStateMachineDefinitionInputFilterSensitiveLog, ValidateStateMachineDefinitionOutputFilterSensitiveLog)
20
20
  .ser(se_ValidateStateMachineDefinitionCommand)
21
21
  .de(de_ValidateStateMachineDefinitionCommand)
22
22
  .build() {
@@ -355,6 +355,7 @@ export const HistoryEventType = {
355
355
  ActivityTimedOut: "ActivityTimedOut",
356
356
  ChoiceStateEntered: "ChoiceStateEntered",
357
357
  ChoiceStateExited: "ChoiceStateExited",
358
+ EvaluationFailed: "EvaluationFailed",
358
359
  ExecutionAborted: "ExecutionAborted",
359
360
  ExecutionFailed: "ExecutionFailed",
360
361
  ExecutionRedriven: "ExecutionRedriven",
@@ -589,6 +590,7 @@ export const DescribeStateMachineOutputFilterSensitiveLog = (obj) => ({
589
590
  ...obj,
590
591
  ...(obj.definition && { definition: SENSITIVE_STRING }),
591
592
  ...(obj.description && { description: SENSITIVE_STRING }),
593
+ ...(obj.variableReferences && { variableReferences: SENSITIVE_STRING }),
592
594
  });
593
595
  export const DescribeStateMachineAliasOutputFilterSensitiveLog = (obj) => ({
594
596
  ...obj,
@@ -597,11 +599,18 @@ export const DescribeStateMachineAliasOutputFilterSensitiveLog = (obj) => ({
597
599
  export const DescribeStateMachineForExecutionOutputFilterSensitiveLog = (obj) => ({
598
600
  ...obj,
599
601
  ...(obj.definition && { definition: SENSITIVE_STRING }),
602
+ ...(obj.variableReferences && { variableReferences: SENSITIVE_STRING }),
600
603
  });
601
604
  export const GetActivityTaskOutputFilterSensitiveLog = (obj) => ({
602
605
  ...obj,
603
606
  ...(obj.input && { input: SENSITIVE_STRING }),
604
607
  });
608
+ export const EvaluationFailedEventDetailsFilterSensitiveLog = (obj) => ({
609
+ ...obj,
610
+ ...(obj.error && { error: SENSITIVE_STRING }),
611
+ ...(obj.cause && { cause: SENSITIVE_STRING }),
612
+ ...(obj.location && { location: SENSITIVE_STRING }),
613
+ });
605
614
  export const ExecutionAbortedEventDetailsFilterSensitiveLog = (obj) => ({
606
615
  ...obj,
607
616
  ...(obj.error && { error: SENSITIVE_STRING }),
@@ -665,6 +674,7 @@ export const StateEnteredEventDetailsFilterSensitiveLog = (obj) => ({
665
674
  export const StateExitedEventDetailsFilterSensitiveLog = (obj) => ({
666
675
  ...obj,
667
676
  ...(obj.output && { output: SENSITIVE_STRING }),
677
+ ...(obj.assignedVariables && { assignedVariables: SENSITIVE_STRING }),
668
678
  });
669
679
  export const TaskFailedEventDetailsFilterSensitiveLog = (obj) => ({
670
680
  ...obj,
@@ -778,6 +788,9 @@ export const HistoryEventFilterSensitiveLog = (obj) => ({
778
788
  ...(obj.mapRunFailedEventDetails && {
779
789
  mapRunFailedEventDetails: MapRunFailedEventDetailsFilterSensitiveLog(obj.mapRunFailedEventDetails),
780
790
  }),
791
+ ...(obj.evaluationFailedEventDetails && {
792
+ evaluationFailedEventDetails: EvaluationFailedEventDetailsFilterSensitiveLog(obj.evaluationFailedEventDetails),
793
+ }),
781
794
  });
782
795
  export const GetExecutionHistoryOutputFilterSensitiveLog = (obj) => ({
783
796
  ...obj,
@@ -820,15 +833,18 @@ export const TestStateInputFilterSensitiveLog = (obj) => ({
820
833
  ...obj,
821
834
  ...(obj.definition && { definition: SENSITIVE_STRING }),
822
835
  ...(obj.input && { input: SENSITIVE_STRING }),
836
+ ...(obj.variables && { variables: SENSITIVE_STRING }),
823
837
  });
824
838
  export const InspectionDataFilterSensitiveLog = (obj) => ({
825
839
  ...obj,
826
840
  ...(obj.input && { input: SENSITIVE_STRING }),
841
+ ...(obj.afterArguments && { afterArguments: SENSITIVE_STRING }),
827
842
  ...(obj.afterInputPath && { afterInputPath: SENSITIVE_STRING }),
828
843
  ...(obj.afterParameters && { afterParameters: SENSITIVE_STRING }),
829
844
  ...(obj.result && { result: SENSITIVE_STRING }),
830
845
  ...(obj.afterResultSelector && { afterResultSelector: SENSITIVE_STRING }),
831
846
  ...(obj.afterResultPath && { afterResultPath: SENSITIVE_STRING }),
847
+ ...(obj.variables && { variables: SENSITIVE_STRING }),
832
848
  });
833
849
  export const TestStateOutputFilterSensitiveLog = (obj) => ({
834
850
  ...obj,
@@ -850,3 +866,15 @@ export const ValidateStateMachineDefinitionInputFilterSensitiveLog = (obj) => ({
850
866
  ...obj,
851
867
  ...(obj.definition && { definition: SENSITIVE_STRING }),
852
868
  });
869
+ export const ValidateStateMachineDefinitionDiagnosticFilterSensitiveLog = (obj) => ({
870
+ ...obj,
871
+ ...(obj.code && { code: SENSITIVE_STRING }),
872
+ ...(obj.message && { message: SENSITIVE_STRING }),
873
+ ...(obj.location && { location: SENSITIVE_STRING }),
874
+ });
875
+ export const ValidateStateMachineDefinitionOutputFilterSensitiveLog = (obj) => ({
876
+ ...obj,
877
+ ...(obj.diagnostics && {
878
+ diagnostics: obj.diagnostics.map((item) => ValidateStateMachineDefinitionDiagnosticFilterSensitiveLog(item)),
879
+ }),
880
+ });
@@ -1252,6 +1252,7 @@ const de_DescribeStateMachineForExecutionOutput = (output, context) => {
1252
1252
  stateMachineArn: __expectString,
1253
1253
  tracingConfiguration: _json,
1254
1254
  updateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1255
+ variableReferences: _json,
1255
1256
  });
1256
1257
  };
1257
1258
  const de_DescribeStateMachineOutput = (output, context) => {
@@ -1269,6 +1270,7 @@ const de_DescribeStateMachineOutput = (output, context) => {
1269
1270
  status: __expectString,
1270
1271
  tracingConfiguration: _json,
1271
1272
  type: __expectString,
1273
+ variableReferences: _json,
1272
1274
  });
1273
1275
  };
1274
1276
  const de_ExecutionList = (output, context) => {
@@ -1309,6 +1311,7 @@ const de_HistoryEvent = (output, context) => {
1309
1311
  activityStartedEventDetails: _json,
1310
1312
  activitySucceededEventDetails: _json,
1311
1313
  activityTimedOutEventDetails: _json,
1314
+ evaluationFailedEventDetails: _json,
1312
1315
  executionAbortedEventDetails: _json,
1313
1316
  executionFailedEventDetails: _json,
1314
1317
  executionRedrivenEventDetails: _json,
@@ -103,6 +103,11 @@ declare const DescribeStateMachineCommand_base: {
103
103
  * // kmsDataKeyReusePeriodSeconds: Number("int"),
104
104
  * // type: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KMS_KEY", // required
105
105
  * // },
106
+ * // variableReferences: { // VariableReferences
107
+ * // "<keys>": [ // VariableNameList
108
+ * // "STRING_VALUE",
109
+ * // ],
110
+ * // },
106
111
  * // };
107
112
  *
108
113
  * ```
@@ -75,6 +75,11 @@ declare const DescribeStateMachineForExecutionCommand_base: {
75
75
  * // kmsDataKeyReusePeriodSeconds: Number("int"),
76
76
  * // type: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KMS_KEY", // required
77
77
  * // },
78
+ * // variableReferences: { // VariableReferences
79
+ * // "<keys>": [ // VariableNameList
80
+ * // "STRING_VALUE",
81
+ * // ],
82
+ * // },
78
83
  * // };
79
84
  *
80
85
  * ```
@@ -52,7 +52,7 @@ declare const GetExecutionHistoryCommand_base: {
52
52
  * // events: [ // HistoryEventList // required
53
53
  * // { // HistoryEvent
54
54
  * // timestamp: new Date("TIMESTAMP"), // required
55
- * // type: "ActivityFailed" || "ActivityScheduled" || "ActivityScheduleFailed" || "ActivityStarted" || "ActivitySucceeded" || "ActivityTimedOut" || "ChoiceStateEntered" || "ChoiceStateExited" || "ExecutionAborted" || "ExecutionFailed" || "ExecutionStarted" || "ExecutionSucceeded" || "ExecutionTimedOut" || "FailStateEntered" || "LambdaFunctionFailed" || "LambdaFunctionScheduled" || "LambdaFunctionScheduleFailed" || "LambdaFunctionStarted" || "LambdaFunctionStartFailed" || "LambdaFunctionSucceeded" || "LambdaFunctionTimedOut" || "MapIterationAborted" || "MapIterationFailed" || "MapIterationStarted" || "MapIterationSucceeded" || "MapStateAborted" || "MapStateEntered" || "MapStateExited" || "MapStateFailed" || "MapStateStarted" || "MapStateSucceeded" || "ParallelStateAborted" || "ParallelStateEntered" || "ParallelStateExited" || "ParallelStateFailed" || "ParallelStateStarted" || "ParallelStateSucceeded" || "PassStateEntered" || "PassStateExited" || "SucceedStateEntered" || "SucceedStateExited" || "TaskFailed" || "TaskScheduled" || "TaskStarted" || "TaskStartFailed" || "TaskStateAborted" || "TaskStateEntered" || "TaskStateExited" || "TaskSubmitFailed" || "TaskSubmitted" || "TaskSucceeded" || "TaskTimedOut" || "WaitStateAborted" || "WaitStateEntered" || "WaitStateExited" || "MapRunAborted" || "MapRunFailed" || "MapRunStarted" || "MapRunSucceeded" || "ExecutionRedriven" || "MapRunRedriven", // required
55
+ * // type: "ActivityFailed" || "ActivityScheduled" || "ActivityScheduleFailed" || "ActivityStarted" || "ActivitySucceeded" || "ActivityTimedOut" || "ChoiceStateEntered" || "ChoiceStateExited" || "ExecutionAborted" || "ExecutionFailed" || "ExecutionStarted" || "ExecutionSucceeded" || "ExecutionTimedOut" || "FailStateEntered" || "LambdaFunctionFailed" || "LambdaFunctionScheduled" || "LambdaFunctionScheduleFailed" || "LambdaFunctionStarted" || "LambdaFunctionStartFailed" || "LambdaFunctionSucceeded" || "LambdaFunctionTimedOut" || "MapIterationAborted" || "MapIterationFailed" || "MapIterationStarted" || "MapIterationSucceeded" || "MapStateAborted" || "MapStateEntered" || "MapStateExited" || "MapStateFailed" || "MapStateStarted" || "MapStateSucceeded" || "ParallelStateAborted" || "ParallelStateEntered" || "ParallelStateExited" || "ParallelStateFailed" || "ParallelStateStarted" || "ParallelStateSucceeded" || "PassStateEntered" || "PassStateExited" || "SucceedStateEntered" || "SucceedStateExited" || "TaskFailed" || "TaskScheduled" || "TaskStarted" || "TaskStartFailed" || "TaskStateAborted" || "TaskStateEntered" || "TaskStateExited" || "TaskSubmitFailed" || "TaskSubmitted" || "TaskSucceeded" || "TaskTimedOut" || "WaitStateAborted" || "WaitStateEntered" || "WaitStateExited" || "MapRunAborted" || "MapRunFailed" || "MapRunStarted" || "MapRunSucceeded" || "ExecutionRedriven" || "MapRunRedriven" || "EvaluationFailed", // required
56
56
  * // id: Number("long"), // required
57
57
  * // previousEventId: Number("long"),
58
58
  * // activityFailedEventDetails: { // ActivityFailedEventDetails
@@ -225,6 +225,12 @@ declare const GetExecutionHistoryCommand_base: {
225
225
  * // name: "STRING_VALUE", // required
226
226
  * // output: "STRING_VALUE",
227
227
  * // outputDetails: "<HistoryEventExecutionDataDetails>",
228
+ * // assignedVariables: { // AssignedVariables
229
+ * // "<keys>": "STRING_VALUE",
230
+ * // },
231
+ * // assignedVariablesDetails: { // AssignedVariablesDetails
232
+ * // truncated: true || false,
233
+ * // },
228
234
  * // },
229
235
  * // mapRunStartedEventDetails: { // MapRunStartedEventDetails
230
236
  * // mapRunArn: "STRING_VALUE",
@@ -237,6 +243,12 @@ declare const GetExecutionHistoryCommand_base: {
237
243
  * // mapRunArn: "STRING_VALUE",
238
244
  * // redriveCount: Number("int"),
239
245
  * // },
246
+ * // evaluationFailedEventDetails: { // EvaluationFailedEventDetails
247
+ * // error: "STRING_VALUE",
248
+ * // cause: "STRING_VALUE",
249
+ * // location: "STRING_VALUE",
250
+ * // state: "STRING_VALUE", // required
251
+ * // },
240
252
  * // },
241
253
  * // ],
242
254
  * // nextToken: "STRING_VALUE",
@@ -85,10 +85,11 @@ declare const TestStateCommand_base: {
85
85
  * const client = new SFNClient(config);
86
86
  * const input = { // TestStateInput
87
87
  * definition: "STRING_VALUE", // required
88
- * roleArn: "STRING_VALUE", // required
88
+ * roleArn: "STRING_VALUE",
89
89
  * input: "STRING_VALUE",
90
90
  * inspectionLevel: "INFO" || "DEBUG" || "TRACE",
91
91
  * revealSecrets: true || false,
92
+ * variables: "STRING_VALUE",
92
93
  * };
93
94
  * const command = new TestStateCommand(input);
94
95
  * const response = await client.send(command);
@@ -98,6 +99,7 @@ declare const TestStateCommand_base: {
98
99
  * // cause: "STRING_VALUE",
99
100
  * // inspectionData: { // InspectionData
100
101
  * // input: "STRING_VALUE",
102
+ * // afterArguments: "STRING_VALUE",
101
103
  * // afterInputPath: "STRING_VALUE",
102
104
  * // afterParameters: "STRING_VALUE",
103
105
  * // result: "STRING_VALUE",
@@ -117,6 +119,7 @@ declare const TestStateCommand_base: {
117
119
  * // headers: "STRING_VALUE",
118
120
  * // body: "STRING_VALUE",
119
121
  * // },
122
+ * // variables: "STRING_VALUE",
120
123
  * // },
121
124
  * // nextState: "STRING_VALUE",
122
125
  * // status: "SUCCEEDED" || "FAILED" || "RETRIABLE" || "CAUGHT_ERROR",
@@ -27,26 +27,37 @@ declare const ValidateStateMachineDefinitionCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Validates the syntax of a state machine definition.</p>
31
- * <p>You can validate that a state machine definition is correct without
32
- * creating a state machine resource. Step Functions will implicitly perform the same
33
- * syntax check when you invoke <code>CreateStateMachine</code> and
34
- * <code>UpdateStateMachine</code>. State machine definitions are specified using a
35
- * JSON-based, structured language. For more information on Amazon States Language see <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html">Amazon States Language</a> (ASL). </p>
30
+ * <p>Validates the syntax of a state machine definition specified in <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html">Amazon States Language</a> (ASL), a
31
+ * JSON-based, structured language.</p>
32
+ * <p>You can validate that a state machine definition is correct without creating a state
33
+ * machine resource.</p>
36
34
  * <p>Suggested uses for <code>ValidateStateMachineDefinition</code>:</p>
37
35
  * <ul>
38
36
  * <li>
39
37
  * <p>Integrate automated checks into your code review or Continuous Integration
40
- * (CI) process to validate state machine definitions before starting
38
+ * (CI) process to check state machine definitions before starting
41
39
  * deployments.</p>
42
40
  * </li>
43
41
  * <li>
44
- * <p>Run the validation from a Git pre-commit hook to check your state machine
45
- * definitions before committing them to your source repository.</p>
42
+ * <p>Run validation from a Git pre-commit hook to verify the definition before
43
+ * committing to your source repository.</p>
46
44
  * </li>
47
45
  * </ul>
46
+ * <p>Validation will look for problems in your state machine definition and return a
47
+ * <b>result</b> and a list of <b>diagnostic
48
+ * elements</b>.</p>
49
+ * <p>The <b>result</b> value will be <code>OK</code> when your
50
+ * workflow definition can be successfully created or updated. Note the result can be
51
+ * <code>OK</code> even when diagnostic warnings are present in the response. The
52
+ * <b>result</b> value will be <code>FAIL</code> when the
53
+ * workflow definition contains errors that would prevent you from creating or updating
54
+ * your state machine. </p>
55
+ * <p>The list of <a href="https://docs.aws.amazon.com/step-functions/latest/apireference/API_ValidateStateMachineDefinitionDiagnostic.html">ValidateStateMachineDefinitionDiagnostic</a> data elements can contain zero or more <b>WARNING</b> and/or <b>ERROR</b> elements.</p>
48
56
  * <note>
49
- * <p>Errors found in the state machine definition will be returned in the response as a list of <b>diagnostic elements</b>, rather than raise an exception.</p>
57
+ * <p>The <b>ValidateStateMachineDefinition API</b> might add
58
+ * new diagnostics in the future, adjust diagnostic codes, or change the message
59
+ * wording. Your automated processes should only rely on the value of the <b>result</b> field value (OK, FAIL). Do <b>not</b> rely on the exact order, count, or
60
+ * wording of diagnostic messages.</p>
50
61
  * </note>
51
62
  * @example
52
63
  * Use a bare-bones client and the command you need to make an API call.
@@ -103,7 +103,7 @@ export interface ActivityListItem {
103
103
  export interface HistoryEventExecutionDataDetails {
104
104
  /**
105
105
  * <p>Indicates whether input or output was truncated in the response. Always <code>false</code>
106
- * for API calls.</p>
106
+ * for API calls. In CloudWatch logs, the value will be true if the data is truncated due to size limits.</p>
107
107
  * @public
108
108
  */
109
109
  truncated?: boolean | undefined;
@@ -214,6 +214,18 @@ export declare class ActivityWorkerLimitExceeded extends __BaseException {
214
214
  */
215
215
  constructor(opts: __ExceptionOptionType<ActivityWorkerLimitExceeded, __BaseException>);
216
216
  }
217
+ /**
218
+ * <p>Provides details about assigned variables in an execution history event.</p>
219
+ * @public
220
+ */
221
+ export interface AssignedVariablesDetails {
222
+ /**
223
+ * <p>Indicates whether assigned variables were truncated in the response. Always <code>false</code>
224
+ * for API calls. In CloudWatch logs, the value will be true if the data is truncated due to size limits.</p>
225
+ * @public
226
+ */
227
+ truncated?: boolean | undefined;
228
+ }
217
229
  /**
218
230
  * @public
219
231
  * @enum
@@ -1577,6 +1589,11 @@ export interface DescribeStateMachineOutput {
1577
1589
  * @public
1578
1590
  */
1579
1591
  encryptionConfiguration?: EncryptionConfiguration | undefined;
1592
+ /**
1593
+ * <p>A map of <b>state name</b> to a list of variables referenced by that state. States that do not use variable references will not be shown in the response.</p>
1594
+ * @public
1595
+ */
1596
+ variableReferences?: Record<string, string[]> | undefined;
1580
1597
  }
1581
1598
  /**
1582
1599
  * <p>The specified state machine does not exist.</p>
@@ -1713,6 +1730,11 @@ export interface DescribeStateMachineForExecutionOutput {
1713
1730
  * @public
1714
1731
  */
1715
1732
  encryptionConfiguration?: EncryptionConfiguration | undefined;
1733
+ /**
1734
+ * <p>A map of <b>state name</b> to a list of variables referenced by that state. States that do not use variable references will not be shown in the response.</p>
1735
+ * @public
1736
+ */
1737
+ variableReferences?: Record<string, string[]> | undefined;
1716
1738
  }
1717
1739
  /**
1718
1740
  * @public
@@ -1783,6 +1805,32 @@ export interface GetExecutionHistoryInput {
1783
1805
  */
1784
1806
  includeExecutionData?: boolean | undefined;
1785
1807
  }
1808
+ /**
1809
+ * <p>Contains details about an evaluation failure that occurred while processing a state, for example, when a JSONata expression throws an error. This event will only be present in state machines that have <b> QueryLanguage</b> set to JSONata, or individual states set to JSONata.</p>
1810
+ * @public
1811
+ */
1812
+ export interface EvaluationFailedEventDetails {
1813
+ /**
1814
+ * <p>The error code of the failure.</p>
1815
+ * @public
1816
+ */
1817
+ error?: string | undefined;
1818
+ /**
1819
+ * <p>A more detailed explanation of the cause of the failure.</p>
1820
+ * @public
1821
+ */
1822
+ cause?: string | undefined;
1823
+ /**
1824
+ * <p>The location of the field in the state in which the evaluation error occurred.</p>
1825
+ * @public
1826
+ */
1827
+ location?: string | undefined;
1828
+ /**
1829
+ * <p>The name of the state in which the evaluation error occurred.</p>
1830
+ * @public
1831
+ */
1832
+ state: string | undefined;
1833
+ }
1786
1834
  /**
1787
1835
  * <p>Contains details about an abort of an execution.</p>
1788
1836
  * @public
@@ -2146,6 +2194,16 @@ export interface StateExitedEventDetails {
2146
2194
  * @public
2147
2195
  */
2148
2196
  outputDetails?: HistoryEventExecutionDataDetails | undefined;
2197
+ /**
2198
+ * <p>Map of variable name and value as a serialized JSON representation.</p>
2199
+ * @public
2200
+ */
2201
+ assignedVariables?: Record<string, string> | undefined;
2202
+ /**
2203
+ * <p>Provides details about input or output in an execution history event.</p>
2204
+ * @public
2205
+ */
2206
+ assignedVariablesDetails?: AssignedVariablesDetails | undefined;
2149
2207
  }
2150
2208
  /**
2151
2209
  * <p>Contains details about a task failure event.</p>
@@ -2375,6 +2433,7 @@ export declare const HistoryEventType: {
2375
2433
  readonly ActivityTimedOut: "ActivityTimedOut";
2376
2434
  readonly ChoiceStateEntered: "ChoiceStateEntered";
2377
2435
  readonly ChoiceStateExited: "ChoiceStateExited";
2436
+ readonly EvaluationFailed: "EvaluationFailed";
2378
2437
  readonly ExecutionAborted: "ExecutionAborted";
2379
2438
  readonly ExecutionFailed: "ExecutionFailed";
2380
2439
  readonly ExecutionRedriven: "ExecutionRedriven";
@@ -2641,6 +2700,11 @@ export interface HistoryEvent {
2641
2700
  * @public
2642
2701
  */
2643
2702
  mapRunRedrivenEventDetails?: MapRunRedrivenEventDetails | undefined;
2703
+ /**
2704
+ * <p>Contains details about an evaluation failure that occurred while processing a state.</p>
2705
+ * @public
2706
+ */
2707
+ evaluationFailedEventDetails?: EvaluationFailedEventDetails | undefined;
2644
2708
  }
2645
2709
  /**
2646
2710
  * @public
@@ -3702,7 +3766,7 @@ export interface TestStateInput {
3702
3766
  * <p>The Amazon Resource Name (ARN) of the execution role with the required IAM permissions for the state.</p>
3703
3767
  * @public
3704
3768
  */
3705
- roleArn: string | undefined;
3769
+ roleArn?: string | undefined;
3706
3770
  /**
3707
3771
  * <p>A string that contains the JSON input data for the state.</p>
3708
3772
  * @public
@@ -3735,6 +3799,11 @@ export interface TestStateInput {
3735
3799
  * @public
3736
3800
  */
3737
3801
  revealSecrets?: boolean | undefined;
3802
+ /**
3803
+ * <p>JSON object literal that sets variables used in the state under test. Object keys are the variable names and values are the variable values.</p>
3804
+ * @public
3805
+ */
3806
+ variables?: string | undefined;
3738
3807
  }
3739
3808
  /**
3740
3809
  * <p>Contains additional details about the state's execution, including its input and output data processing flow, and HTTP request information.</p>
@@ -3809,12 +3878,17 @@ export interface InspectionData {
3809
3878
  */
3810
3879
  input?: string | undefined;
3811
3880
  /**
3812
- * <p>The input after Step Functions applies the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/input-output-inputpath-params.html#input-output-inputpath">InputPath</a> filter.</p>
3881
+ * <p>The input after Step Functions applies an Arguments filter. This event will only be present when QueryLanguage for the state machine or individual states is set to JSONata. For more info, see <a href="https://docs.aws.amazon.com/step-functions/latest/dg/data-transform.html">Transforming data with Step Functions</a>.</p>
3882
+ * @public
3883
+ */
3884
+ afterArguments?: string | undefined;
3885
+ /**
3886
+ * <p>The input after Step Functions applies the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/input-output-inputpath-params.html#input-output-inputpath">InputPath</a> filter. Not populated when QueryLanguage is JSONata.</p>
3813
3887
  * @public
3814
3888
  */
3815
3889
  afterInputPath?: string | undefined;
3816
3890
  /**
3817
- * <p>The effective input after Step Functions applies the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/input-output-inputpath-params.html#input-output-parameters">Parameters</a> filter.</p>
3891
+ * <p>The effective input after Step Functions applies the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/input-output-inputpath-params.html#input-output-parameters">Parameters</a> filter. Not populated when QueryLanguage is JSONata.</p>
3818
3892
  * @public
3819
3893
  */
3820
3894
  afterParameters?: string | undefined;
@@ -3824,12 +3898,12 @@ export interface InspectionData {
3824
3898
  */
3825
3899
  result?: string | undefined;
3826
3900
  /**
3827
- * <p>The effective result after Step Functions applies the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/input-output-inputpath-params.html#input-output-resultselector">ResultSelector</a> filter.</p>
3901
+ * <p>The effective result after Step Functions applies the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/input-output-inputpath-params.html#input-output-resultselector">ResultSelector</a> filter. Not populated when QueryLanguage is JSONata.</p>
3828
3902
  * @public
3829
3903
  */
3830
3904
  afterResultSelector?: string | undefined;
3831
3905
  /**
3832
- * <p>The effective result combined with the raw state input after Step Functions applies the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/input-output-resultpath.html">ResultPath</a> filter.</p>
3906
+ * <p>The effective result combined with the raw state input after Step Functions applies the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/input-output-resultpath.html">ResultPath</a> filter. Not populated when QueryLanguage is JSONata.</p>
3833
3907
  * @public
3834
3908
  */
3835
3909
  afterResultPath?: string | undefined;
@@ -3843,6 +3917,11 @@ export interface InspectionData {
3843
3917
  * @public
3844
3918
  */
3845
3919
  response?: InspectionDataResponse | undefined;
3920
+ /**
3921
+ * <p>JSON string that contains the set of workflow variables after execution of the state. The set will include variables assigned in the state and variables set up as test state input.</p>
3922
+ * @public
3923
+ */
3924
+ variables?: string | undefined;
3846
3925
  }
3847
3926
  /**
3848
3927
  * @public
@@ -4097,14 +4176,104 @@ export interface ValidateStateMachineDefinitionInput {
4097
4176
  maxResults?: number | undefined;
4098
4177
  }
4099
4178
  /**
4100
- * <p>Describes an error found during validation. Validation errors found in the definition
4101
- * return in the response as <b>diagnostic elements</b>, rather
4102
- * than raise an exception.</p>
4179
+ * <p>Describes potential issues found during state machine validation. Rather than raise an
4180
+ * exception, validation will return a list of <b>diagnostic
4181
+ * elements</b> containing diagnostic information. </p>
4182
+ * <note>
4183
+ * <p>The <a href="https://docs.aws.amazon.com/step-functions/latest/apireference/API_ValidateStateMachineDefinition.html">ValidateStateMachineDefinitionlAPI</a> might add
4184
+ * new diagnostics in the future, adjust diagnostic codes, or change the message
4185
+ * wording. Your automated processes should only rely on the value of the <b>result</b> field value (OK, FAIL). Do <b>not</b> rely on the exact order, count, or
4186
+ * wording of diagnostic messages.</p>
4187
+ * </note>
4188
+ * <p>
4189
+ * <b>List of warning codes</b>
4190
+ * </p>
4191
+ * <dl>
4192
+ * <dt>NO_DOLLAR</dt>
4193
+ * <dd>
4194
+ * <p>No <code>.$</code> on a field that appears to be a JSONPath or Intrinsic Function.</p>
4195
+ * </dd>
4196
+ * <dt>NO_PATH</dt>
4197
+ * <dd>
4198
+ * <p>Field value looks like a path, but field name does not end with 'Path'.</p>
4199
+ * </dd>
4200
+ * <dt>PASS_RESULT_IS_STATIC</dt>
4201
+ * <dd>
4202
+ * <p>Attempt to use a path in the result of a pass state.</p>
4203
+ * </dd>
4204
+ * </dl>
4205
+ * <p>
4206
+ * <b>List of error codes</b>
4207
+ * </p>
4208
+ * <dl>
4209
+ * <dt>INVALID_JSON_DESCRIPTION</dt>
4210
+ * <dd>
4211
+ * <p>JSON syntax problem found.</p>
4212
+ * </dd>
4213
+ * <dt>MISSING_DESCRIPTION</dt>
4214
+ * <dd>
4215
+ * <p>Received a null or empty workflow input.</p>
4216
+ * </dd>
4217
+ * <dt>SCHEMA_VALIDATION_FAILED</dt>
4218
+ * <dd>
4219
+ * <p>Schema validation reported errors.</p>
4220
+ * </dd>
4221
+ * <dt>INVALID_RESOURCE</dt>
4222
+ * <dd>
4223
+ * <p>The value of a Task-state resource field is invalid.</p>
4224
+ * </dd>
4225
+ * <dt>MISSING_END_STATE</dt>
4226
+ * <dd>
4227
+ * <p>The workflow does not have a terminal state.</p>
4228
+ * </dd>
4229
+ * <dt>DUPLICATE_STATE_NAME</dt>
4230
+ * <dd>
4231
+ * <p>The same state name appears more than once.</p>
4232
+ * </dd>
4233
+ * <dt>INVALID_STATE_NAME</dt>
4234
+ * <dd>
4235
+ * <p>The state name does not follow the naming convention.</p>
4236
+ * </dd>
4237
+ * <dt>STATE_MACHINE_NAME_EMPTY</dt>
4238
+ * <dd>
4239
+ * <p>The state machine name has not been specified.</p>
4240
+ * </dd>
4241
+ * <dt>STATE_MACHINE_NAME_INVALID</dt>
4242
+ * <dd>
4243
+ * <p>The state machine name does not follow the naming convention.</p>
4244
+ * </dd>
4245
+ * <dt>STATE_MACHINE_NAME_TOO_LONG</dt>
4246
+ * <dd>
4247
+ * <p>The state name exceeds the allowed length.</p>
4248
+ * </dd>
4249
+ * <dt>STATE_MACHINE_NAME_ALREADY_EXISTS</dt>
4250
+ * <dd>
4251
+ * <p>The state name already exists.</p>
4252
+ * </dd>
4253
+ * <dt>DUPLICATE_LABEL_NAME</dt>
4254
+ * <dd>
4255
+ * <p>A label name appears more than once.</p>
4256
+ * </dd>
4257
+ * <dt>INVALID_LABEL_NAME</dt>
4258
+ * <dd>
4259
+ * <p>You have provided an invalid label name.</p>
4260
+ * </dd>
4261
+ * <dt>MISSING_TRANSITION_TARGET</dt>
4262
+ * <dd>
4263
+ * <p>The value of "Next" field doesn't match a known state name.</p>
4264
+ * </dd>
4265
+ * <dt>TOO_DEEPLY_NESTED</dt>
4266
+ * <dd>
4267
+ * <p>The states are too deeply nested.</p>
4268
+ * </dd>
4269
+ * </dl>
4103
4270
  * @public
4104
4271
  */
4105
4272
  export interface ValidateStateMachineDefinitionDiagnostic {
4106
4273
  /**
4107
4274
  * <p>A value of <code>ERROR</code> means that you cannot create or update a state machine with this definition.</p>
4275
+ * <p>
4276
+ * <code>WARNING</code> level diagnostics alert you to potential issues, but they will not prevent you from creating or updating your state machine.</p>
4108
4277
  * @public
4109
4278
  */
4110
4279
  severity: ValidateStateMachineDefinitionSeverity | undefined;
@@ -4148,9 +4317,7 @@ export interface ValidateStateMachineDefinitionOutput {
4148
4317
  */
4149
4318
  result: ValidateStateMachineDefinitionResultCode | undefined;
4150
4319
  /**
4151
- * <p>If the result is <code>OK</code>, this field will be empty. When there are errors,
4152
- * this field will contain an array of <b>Diagnostic</b> objects
4153
- * to help you troubleshoot.</p>
4320
+ * <p>An array of diagnostic errors and warnings found during validation of the state machine definition. Since <b>warnings</b> do not prevent deploying your workflow definition, the <b>result</b> value could be <code>OK</code> even when warning diagnostics are present in the response.</p>
4154
4321
  * @public
4155
4322
  */
4156
4323
  diagnostics: ValidateStateMachineDefinitionDiagnostic[] | undefined;
@@ -4208,6 +4375,10 @@ export declare const DescribeStateMachineForExecutionOutputFilterSensitiveLog: (
4208
4375
  * @internal
4209
4376
  */
4210
4377
  export declare const GetActivityTaskOutputFilterSensitiveLog: (obj: GetActivityTaskOutput) => any;
4378
+ /**
4379
+ * @internal
4380
+ */
4381
+ export declare const EvaluationFailedEventDetailsFilterSensitiveLog: (obj: EvaluationFailedEventDetails) => any;
4211
4382
  /**
4212
4383
  * @internal
4213
4384
  */
@@ -4352,3 +4523,11 @@ export declare const UpdateStateMachineAliasInputFilterSensitiveLog: (obj: Updat
4352
4523
  * @internal
4353
4524
  */
4354
4525
  export declare const ValidateStateMachineDefinitionInputFilterSensitiveLog: (obj: ValidateStateMachineDefinitionInput) => any;
4526
+ /**
4527
+ * @internal
4528
+ */
4529
+ export declare const ValidateStateMachineDefinitionDiagnosticFilterSensitiveLog: (obj: ValidateStateMachineDefinitionDiagnostic) => any;
4530
+ /**
4531
+ * @internal
4532
+ */
4533
+ export declare const ValidateStateMachineDefinitionOutputFilterSensitiveLog: (obj: ValidateStateMachineDefinitionOutput) => any;
@@ -62,6 +62,9 @@ export declare class ActivityWorkerLimitExceeded extends __BaseException {
62
62
  opts: __ExceptionOptionType<ActivityWorkerLimitExceeded, __BaseException>
63
63
  );
64
64
  }
65
+ export interface AssignedVariablesDetails {
66
+ truncated?: boolean | undefined;
67
+ }
65
68
  export declare const EncryptionType: {
66
69
  readonly AWS_OWNED_KEY: "AWS_OWNED_KEY";
67
70
  readonly CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY";
@@ -432,6 +435,7 @@ export interface DescribeStateMachineOutput {
432
435
  revisionId?: string | undefined;
433
436
  description?: string | undefined;
434
437
  encryptionConfiguration?: EncryptionConfiguration | undefined;
438
+ variableReferences?: Record<string, string[]> | undefined;
435
439
  }
436
440
  export declare class StateMachineDoesNotExist extends __BaseException {
437
441
  readonly name: "StateMachineDoesNotExist";
@@ -467,6 +471,7 @@ export interface DescribeStateMachineForExecutionOutput {
467
471
  label?: string | undefined;
468
472
  revisionId?: string | undefined;
469
473
  encryptionConfiguration?: EncryptionConfiguration | undefined;
474
+ variableReferences?: Record<string, string[]> | undefined;
470
475
  }
471
476
  export interface GetActivityTaskInput {
472
477
  activityArn: string | undefined;
@@ -483,6 +488,12 @@ export interface GetExecutionHistoryInput {
483
488
  nextToken?: string | undefined;
484
489
  includeExecutionData?: boolean | undefined;
485
490
  }
491
+ export interface EvaluationFailedEventDetails {
492
+ error?: string | undefined;
493
+ cause?: string | undefined;
494
+ location?: string | undefined;
495
+ state: string | undefined;
496
+ }
486
497
  export interface ExecutionAbortedEventDetails {
487
498
  error?: string | undefined;
488
499
  cause?: string | undefined;
@@ -566,6 +577,8 @@ export interface StateExitedEventDetails {
566
577
  name: string | undefined;
567
578
  output?: string | undefined;
568
579
  outputDetails?: HistoryEventExecutionDataDetails | undefined;
580
+ assignedVariables?: Record<string, string> | undefined;
581
+ assignedVariablesDetails?: AssignedVariablesDetails | undefined;
569
582
  }
570
583
  export interface TaskFailedEventDetails {
571
584
  resourceType: string | undefined;
@@ -625,6 +638,7 @@ export declare const HistoryEventType: {
625
638
  readonly ActivityTimedOut: "ActivityTimedOut";
626
639
  readonly ChoiceStateEntered: "ChoiceStateEntered";
627
640
  readonly ChoiceStateExited: "ChoiceStateExited";
641
+ readonly EvaluationFailed: "EvaluationFailed";
628
642
  readonly ExecutionAborted: "ExecutionAborted";
629
643
  readonly ExecutionFailed: "ExecutionFailed";
630
644
  readonly ExecutionRedriven: "ExecutionRedriven";
@@ -736,6 +750,7 @@ export interface HistoryEvent {
736
750
  mapRunStartedEventDetails?: MapRunStartedEventDetails | undefined;
737
751
  mapRunFailedEventDetails?: MapRunFailedEventDetails | undefined;
738
752
  mapRunRedrivenEventDetails?: MapRunRedrivenEventDetails | undefined;
753
+ evaluationFailedEventDetails?: EvaluationFailedEventDetails | undefined;
739
754
  }
740
755
  export interface GetExecutionHistoryOutput {
741
756
  events: HistoryEvent[] | undefined;
@@ -988,10 +1003,11 @@ export type InspectionLevel =
988
1003
  (typeof InspectionLevel)[keyof typeof InspectionLevel];
989
1004
  export interface TestStateInput {
990
1005
  definition: string | undefined;
991
- roleArn: string | undefined;
1006
+ roleArn?: string | undefined;
992
1007
  input?: string | undefined;
993
1008
  inspectionLevel?: InspectionLevel | undefined;
994
1009
  revealSecrets?: boolean | undefined;
1010
+ variables?: string | undefined;
995
1011
  }
996
1012
  export interface InspectionDataRequest {
997
1013
  protocol?: string | undefined;
@@ -1009,6 +1025,7 @@ export interface InspectionDataResponse {
1009
1025
  }
1010
1026
  export interface InspectionData {
1011
1027
  input?: string | undefined;
1028
+ afterArguments?: string | undefined;
1012
1029
  afterInputPath?: string | undefined;
1013
1030
  afterParameters?: string | undefined;
1014
1031
  result?: string | undefined;
@@ -1016,6 +1033,7 @@ export interface InspectionData {
1016
1033
  afterResultPath?: string | undefined;
1017
1034
  request?: InspectionDataRequest | undefined;
1018
1035
  response?: InspectionDataResponse | undefined;
1036
+ variables?: string | undefined;
1019
1037
  }
1020
1038
  export declare const TestExecutionStatus: {
1021
1039
  readonly CAUGHT_ERROR: "CAUGHT_ERROR";
@@ -1140,6 +1158,9 @@ export declare const DescribeStateMachineForExecutionOutputFilterSensitiveLog: (
1140
1158
  export declare const GetActivityTaskOutputFilterSensitiveLog: (
1141
1159
  obj: GetActivityTaskOutput
1142
1160
  ) => any;
1161
+ export declare const EvaluationFailedEventDetailsFilterSensitiveLog: (
1162
+ obj: EvaluationFailedEventDetails
1163
+ ) => any;
1143
1164
  export declare const ExecutionAbortedEventDetailsFilterSensitiveLog: (
1144
1165
  obj: ExecutionAbortedEventDetails
1145
1166
  ) => any;
@@ -1246,3 +1267,9 @@ export declare const UpdateStateMachineAliasInputFilterSensitiveLog: (
1246
1267
  export declare const ValidateStateMachineDefinitionInputFilterSensitiveLog: (
1247
1268
  obj: ValidateStateMachineDefinitionInput
1248
1269
  ) => any;
1270
+ export declare const ValidateStateMachineDefinitionDiagnosticFilterSensitiveLog: (
1271
+ obj: ValidateStateMachineDefinitionDiagnostic
1272
+ ) => any;
1273
+ export declare const ValidateStateMachineDefinitionOutputFilterSensitiveLog: (
1274
+ obj: ValidateStateMachineDefinitionOutput
1275
+ ) => any;
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.696.0",
4
+ "version": "3.709.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sfn",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.696.0",
24
- "@aws-sdk/client-sts": "3.696.0",
25
- "@aws-sdk/core": "3.696.0",
26
- "@aws-sdk/credential-provider-node": "3.696.0",
27
- "@aws-sdk/middleware-host-header": "3.696.0",
28
- "@aws-sdk/middleware-logger": "3.696.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.696.0",
30
- "@aws-sdk/middleware-user-agent": "3.696.0",
31
- "@aws-sdk/region-config-resolver": "3.696.0",
32
- "@aws-sdk/types": "3.696.0",
33
- "@aws-sdk/util-endpoints": "3.696.0",
34
- "@aws-sdk/util-user-agent-browser": "3.696.0",
35
- "@aws-sdk/util-user-agent-node": "3.696.0",
36
- "@smithy/config-resolver": "^3.0.12",
37
- "@smithy/core": "^2.5.3",
38
- "@smithy/fetch-http-handler": "^4.1.1",
39
- "@smithy/hash-node": "^3.0.10",
40
- "@smithy/invalid-dependency": "^3.0.10",
41
- "@smithy/middleware-content-length": "^3.0.12",
42
- "@smithy/middleware-endpoint": "^3.2.3",
43
- "@smithy/middleware-retry": "^3.0.27",
44
- "@smithy/middleware-serde": "^3.0.10",
45
- "@smithy/middleware-stack": "^3.0.10",
46
- "@smithy/node-config-provider": "^3.1.11",
47
- "@smithy/node-http-handler": "^3.3.1",
48
- "@smithy/protocol-http": "^4.1.7",
49
- "@smithy/smithy-client": "^3.4.4",
50
- "@smithy/types": "^3.7.1",
51
- "@smithy/url-parser": "^3.0.10",
23
+ "@aws-sdk/client-sso-oidc": "3.709.0",
24
+ "@aws-sdk/client-sts": "3.709.0",
25
+ "@aws-sdk/core": "3.709.0",
26
+ "@aws-sdk/credential-provider-node": "3.709.0",
27
+ "@aws-sdk/middleware-host-header": "3.709.0",
28
+ "@aws-sdk/middleware-logger": "3.709.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.709.0",
30
+ "@aws-sdk/middleware-user-agent": "3.709.0",
31
+ "@aws-sdk/region-config-resolver": "3.709.0",
32
+ "@aws-sdk/types": "3.709.0",
33
+ "@aws-sdk/util-endpoints": "3.709.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.709.0",
35
+ "@aws-sdk/util-user-agent-node": "3.709.0",
36
+ "@smithy/config-resolver": "^3.0.13",
37
+ "@smithy/core": "^2.5.5",
38
+ "@smithy/fetch-http-handler": "^4.1.2",
39
+ "@smithy/hash-node": "^3.0.11",
40
+ "@smithy/invalid-dependency": "^3.0.11",
41
+ "@smithy/middleware-content-length": "^3.0.13",
42
+ "@smithy/middleware-endpoint": "^3.2.5",
43
+ "@smithy/middleware-retry": "^3.0.30",
44
+ "@smithy/middleware-serde": "^3.0.11",
45
+ "@smithy/middleware-stack": "^3.0.11",
46
+ "@smithy/node-config-provider": "^3.1.12",
47
+ "@smithy/node-http-handler": "^3.3.2",
48
+ "@smithy/protocol-http": "^4.1.8",
49
+ "@smithy/smithy-client": "^3.5.0",
50
+ "@smithy/types": "^3.7.2",
51
+ "@smithy/url-parser": "^3.0.11",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.27",
56
- "@smithy/util-defaults-mode-node": "^3.0.27",
57
- "@smithy/util-endpoints": "^2.1.6",
58
- "@smithy/util-middleware": "^3.0.10",
59
- "@smithy/util-retry": "^3.0.10",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.30",
56
+ "@smithy/util-defaults-mode-node": "^3.0.30",
57
+ "@smithy/util-endpoints": "^2.1.7",
58
+ "@smithy/util-middleware": "^3.0.11",
59
+ "@smithy/util-retry": "^3.0.11",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",