@aws-sdk/client-sfn 3.635.0 → 3.642.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
|
@@ -1040,7 +1040,8 @@ var _MissingRequiredParameter = class _MissingRequiredParameter extends SFNServi
|
|
|
1040
1040
|
__name(_MissingRequiredParameter, "MissingRequiredParameter");
|
|
1041
1041
|
var MissingRequiredParameter = _MissingRequiredParameter;
|
|
1042
1042
|
var ValidateStateMachineDefinitionSeverity = {
|
|
1043
|
-
ERROR: "ERROR"
|
|
1043
|
+
ERROR: "ERROR",
|
|
1044
|
+
WARNING: "WARNING"
|
|
1044
1045
|
};
|
|
1045
1046
|
var ValidateStateMachineDefinitionResultCode = {
|
|
1046
1047
|
FAIL: "FAIL",
|
|
@@ -539,6 +539,7 @@ export class MissingRequiredParameter extends __BaseException {
|
|
|
539
539
|
}
|
|
540
540
|
export const ValidateStateMachineDefinitionSeverity = {
|
|
541
541
|
ERROR: "ERROR",
|
|
542
|
+
WARNING: "WARNING",
|
|
542
543
|
};
|
|
543
544
|
export const ValidateStateMachineDefinitionResultCode = {
|
|
544
545
|
FAIL: "FAIL",
|
|
@@ -57,6 +57,8 @@ declare const ValidateStateMachineDefinitionCommand_base: {
|
|
|
57
57
|
* const input = { // ValidateStateMachineDefinitionInput
|
|
58
58
|
* definition: "STRING_VALUE", // required
|
|
59
59
|
* type: "STANDARD" || "EXPRESS",
|
|
60
|
+
* severity: "ERROR" || "WARNING",
|
|
61
|
+
* maxResults: Number("int"),
|
|
60
62
|
* };
|
|
61
63
|
* const command = new ValidateStateMachineDefinitionCommand(input);
|
|
62
64
|
* const response = await client.send(command);
|
|
@@ -64,12 +66,13 @@ declare const ValidateStateMachineDefinitionCommand_base: {
|
|
|
64
66
|
* // result: "OK" || "FAIL", // required
|
|
65
67
|
* // diagnostics: [ // ValidateStateMachineDefinitionDiagnosticList // required
|
|
66
68
|
* // { // ValidateStateMachineDefinitionDiagnostic
|
|
67
|
-
* // severity: "ERROR", // required
|
|
69
|
+
* // severity: "ERROR" || "WARNING", // required
|
|
68
70
|
* // code: "STRING_VALUE", // required
|
|
69
71
|
* // message: "STRING_VALUE", // required
|
|
70
72
|
* // location: "STRING_VALUE",
|
|
71
73
|
* // },
|
|
72
74
|
* // ],
|
|
75
|
+
* // truncated: true || false,
|
|
73
76
|
* // };
|
|
74
77
|
*
|
|
75
78
|
* ```
|
|
@@ -4057,6 +4057,18 @@ export interface UpdateStateMachineAliasOutput {
|
|
|
4057
4057
|
*/
|
|
4058
4058
|
updateDate: Date | undefined;
|
|
4059
4059
|
}
|
|
4060
|
+
/**
|
|
4061
|
+
* @public
|
|
4062
|
+
* @enum
|
|
4063
|
+
*/
|
|
4064
|
+
export declare const ValidateStateMachineDefinitionSeverity: {
|
|
4065
|
+
readonly ERROR: "ERROR";
|
|
4066
|
+
readonly WARNING: "WARNING";
|
|
4067
|
+
};
|
|
4068
|
+
/**
|
|
4069
|
+
* @public
|
|
4070
|
+
*/
|
|
4071
|
+
export type ValidateStateMachineDefinitionSeverity = (typeof ValidateStateMachineDefinitionSeverity)[keyof typeof ValidateStateMachineDefinitionSeverity];
|
|
4060
4072
|
/**
|
|
4061
4073
|
* @public
|
|
4062
4074
|
*/
|
|
@@ -4072,18 +4084,18 @@ export interface ValidateStateMachineDefinitionInput {
|
|
|
4072
4084
|
* @public
|
|
4073
4085
|
*/
|
|
4074
4086
|
type?: StateMachineType;
|
|
4087
|
+
/**
|
|
4088
|
+
* <p>Minimum level of diagnostics to return. <code>ERROR</code> returns only <code>ERROR</code> diagnostics, whereas <code>WARNING</code> returns both <code>WARNING</code> and <code>ERROR</code> diagnostics. The default is <code>ERROR</code>. </p>
|
|
4089
|
+
* @public
|
|
4090
|
+
*/
|
|
4091
|
+
severity?: ValidateStateMachineDefinitionSeverity;
|
|
4092
|
+
/**
|
|
4093
|
+
* <p>The maximum number of diagnostics that are returned per call. The default and maximum value is 100. Setting the value to 0 will also use the default of 100.</p>
|
|
4094
|
+
* <p>If the number of diagnostics returned in the response exceeds <code>maxResults</code>, the value of the <code>truncated</code> field in the response will be set to <code>true</code>.</p>
|
|
4095
|
+
* @public
|
|
4096
|
+
*/
|
|
4097
|
+
maxResults?: number;
|
|
4075
4098
|
}
|
|
4076
|
-
/**
|
|
4077
|
-
* @public
|
|
4078
|
-
* @enum
|
|
4079
|
-
*/
|
|
4080
|
-
export declare const ValidateStateMachineDefinitionSeverity: {
|
|
4081
|
-
readonly ERROR: "ERROR";
|
|
4082
|
-
};
|
|
4083
|
-
/**
|
|
4084
|
-
* @public
|
|
4085
|
-
*/
|
|
4086
|
-
export type ValidateStateMachineDefinitionSeverity = (typeof ValidateStateMachineDefinitionSeverity)[keyof typeof ValidateStateMachineDefinitionSeverity];
|
|
4087
4099
|
/**
|
|
4088
4100
|
* <p>Describes an error found during validation. Validation errors found in the definition
|
|
4089
4101
|
* return in the response as <b>diagnostic elements</b>, rather
|
|
@@ -4142,6 +4154,11 @@ export interface ValidateStateMachineDefinitionOutput {
|
|
|
4142
4154
|
* @public
|
|
4143
4155
|
*/
|
|
4144
4156
|
diagnostics: ValidateStateMachineDefinitionDiagnostic[] | undefined;
|
|
4157
|
+
/**
|
|
4158
|
+
* <p>The result value will be <code>true</code> if the number of diagnostics found in the workflow definition exceeds <code>maxResults</code>. When all diagnostics results are returned, the value will be <code>false</code>.</p>
|
|
4159
|
+
* @public
|
|
4160
|
+
*/
|
|
4161
|
+
truncated?: boolean;
|
|
4145
4162
|
}
|
|
4146
4163
|
/**
|
|
4147
4164
|
* @internal
|
|
@@ -1061,15 +1061,18 @@ export interface UpdateStateMachineAliasInput {
|
|
|
1061
1061
|
export interface UpdateStateMachineAliasOutput {
|
|
1062
1062
|
updateDate: Date | undefined;
|
|
1063
1063
|
}
|
|
1064
|
-
export interface ValidateStateMachineDefinitionInput {
|
|
1065
|
-
definition: string | undefined;
|
|
1066
|
-
type?: StateMachineType;
|
|
1067
|
-
}
|
|
1068
1064
|
export declare const ValidateStateMachineDefinitionSeverity: {
|
|
1069
1065
|
readonly ERROR: "ERROR";
|
|
1066
|
+
readonly WARNING: "WARNING";
|
|
1070
1067
|
};
|
|
1071
1068
|
export type ValidateStateMachineDefinitionSeverity =
|
|
1072
1069
|
(typeof ValidateStateMachineDefinitionSeverity)[keyof typeof ValidateStateMachineDefinitionSeverity];
|
|
1070
|
+
export interface ValidateStateMachineDefinitionInput {
|
|
1071
|
+
definition: string | undefined;
|
|
1072
|
+
type?: StateMachineType;
|
|
1073
|
+
severity?: ValidateStateMachineDefinitionSeverity;
|
|
1074
|
+
maxResults?: number;
|
|
1075
|
+
}
|
|
1073
1076
|
export interface ValidateStateMachineDefinitionDiagnostic {
|
|
1074
1077
|
severity: ValidateStateMachineDefinitionSeverity | undefined;
|
|
1075
1078
|
code: string | undefined;
|
|
@@ -1085,6 +1088,7 @@ export type ValidateStateMachineDefinitionResultCode =
|
|
|
1085
1088
|
export interface ValidateStateMachineDefinitionOutput {
|
|
1086
1089
|
result: ValidateStateMachineDefinitionResultCode | undefined;
|
|
1087
1090
|
diagnostics: ValidateStateMachineDefinitionDiagnostic[] | undefined;
|
|
1091
|
+
truncated?: boolean;
|
|
1088
1092
|
}
|
|
1089
1093
|
export declare const ActivityFailedEventDetailsFilterSensitiveLog: (
|
|
1090
1094
|
obj: ActivityFailedEventDetails
|
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.
|
|
4
|
+
"version": "3.642.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,17 +20,17 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.637.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.637.0",
|
|
25
25
|
"@aws-sdk/core": "3.635.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.637.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.637.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
32
32
|
"@aws-sdk/types": "3.609.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.637.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|