@aws-sdk/client-sfn 3.30.0 → 3.34.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/CHANGELOG.md +35 -0
- package/dist/cjs/SFNClient.js +13 -13
- package/dist/cjs/SFNClient.js.map +1 -1
- package/dist/cjs/commands/CreateActivityCommand.js +3 -3
- package/dist/cjs/commands/CreateActivityCommand.js.map +1 -1
- package/dist/cjs/commands/CreateStateMachineCommand.js +3 -3
- package/dist/cjs/commands/CreateStateMachineCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteActivityCommand.js +3 -3
- package/dist/cjs/commands/DeleteActivityCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteStateMachineCommand.js +3 -3
- package/dist/cjs/commands/DeleteStateMachineCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeActivityCommand.js +3 -3
- package/dist/cjs/commands/DescribeActivityCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeExecutionCommand.js +3 -3
- package/dist/cjs/commands/DescribeExecutionCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeStateMachineCommand.js +3 -3
- package/dist/cjs/commands/DescribeStateMachineCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeStateMachineForExecutionCommand.js +3 -3
- package/dist/cjs/commands/DescribeStateMachineForExecutionCommand.js.map +1 -1
- package/dist/cjs/commands/GetActivityTaskCommand.js +3 -3
- package/dist/cjs/commands/GetActivityTaskCommand.js.map +1 -1
- package/dist/cjs/commands/GetExecutionHistoryCommand.js +3 -3
- package/dist/cjs/commands/GetExecutionHistoryCommand.js.map +1 -1
- package/dist/cjs/commands/ListActivitiesCommand.js +3 -3
- package/dist/cjs/commands/ListActivitiesCommand.js.map +1 -1
- package/dist/cjs/commands/ListExecutionsCommand.js +3 -3
- package/dist/cjs/commands/ListExecutionsCommand.js.map +1 -1
- package/dist/cjs/commands/ListStateMachinesCommand.js +3 -3
- package/dist/cjs/commands/ListStateMachinesCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/SendTaskFailureCommand.js +3 -3
- package/dist/cjs/commands/SendTaskFailureCommand.js.map +1 -1
- package/dist/cjs/commands/SendTaskHeartbeatCommand.js +3 -3
- package/dist/cjs/commands/SendTaskHeartbeatCommand.js.map +1 -1
- package/dist/cjs/commands/SendTaskSuccessCommand.js +3 -3
- package/dist/cjs/commands/SendTaskSuccessCommand.js.map +1 -1
- package/dist/cjs/commands/StartExecutionCommand.js +3 -3
- package/dist/cjs/commands/StartExecutionCommand.js.map +1 -1
- package/dist/cjs/commands/StartSyncExecutionCommand.js +3 -3
- package/dist/cjs/commands/StartSyncExecutionCommand.js.map +1 -1
- package/dist/cjs/commands/StopExecutionCommand.js +3 -3
- package/dist/cjs/commands/StopExecutionCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateStateMachineCommand.js +3 -3
- package/dist/cjs/commands/UpdateStateMachineCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +31 -31
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +39 -39
- package/dist/cjs/protocols/Aws_json1_0.js +173 -173
- package/dist/cjs/protocols/Aws_json1_0.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/SFN.js +1 -19
- package/dist/es/SFN.js.map +1 -1
- package/dist/es/SFNClient.js +1 -24
- package/dist/es/SFNClient.js.map +1 -1
- package/dist/es/commands/CreateActivityCommand.js +2 -43
- package/dist/es/commands/CreateActivityCommand.js.map +1 -1
- package/dist/es/commands/CreateStateMachineCommand.js +2 -45
- package/dist/es/commands/CreateStateMachineCommand.js.map +1 -1
- package/dist/es/commands/DeleteActivityCommand.js +2 -27
- package/dist/es/commands/DeleteActivityCommand.js.map +1 -1
- package/dist/es/commands/DeleteStateMachineCommand.js +2 -33
- package/dist/es/commands/DeleteStateMachineCommand.js.map +1 -1
- package/dist/es/commands/DescribeActivityCommand.js +2 -30
- package/dist/es/commands/DescribeActivityCommand.js.map +1 -1
- package/dist/es/commands/DescribeExecutionCommand.js +2 -31
- package/dist/es/commands/DescribeExecutionCommand.js.map +1 -1
- package/dist/es/commands/DescribeStateMachineCommand.js +2 -30
- package/dist/es/commands/DescribeStateMachineCommand.js.map +1 -1
- package/dist/es/commands/DescribeStateMachineForExecutionCommand.js +2 -31
- package/dist/es/commands/DescribeStateMachineForExecutionCommand.js.map +1 -1
- package/dist/es/commands/GetActivityTaskCommand.js +2 -39
- package/dist/es/commands/GetActivityTaskCommand.js.map +1 -1
- package/dist/es/commands/GetExecutionHistoryCommand.js +2 -32
- package/dist/es/commands/GetExecutionHistoryCommand.js.map +1 -1
- package/dist/es/commands/ListActivitiesCommand.js +2 -32
- package/dist/es/commands/ListActivitiesCommand.js.map +1 -1
- package/dist/es/commands/ListExecutionsCommand.js +2 -34
- package/dist/es/commands/ListExecutionsCommand.js.map +1 -1
- package/dist/es/commands/ListStateMachinesCommand.js +2 -32
- package/dist/es/commands/ListStateMachinesCommand.js.map +1 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +2 -28
- package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/es/commands/SendTaskFailureCommand.js +2 -28
- package/dist/es/commands/SendTaskFailureCommand.js.map +1 -1
- package/dist/es/commands/SendTaskHeartbeatCommand.js +2 -41
- package/dist/es/commands/SendTaskHeartbeatCommand.js.map +1 -1
- package/dist/es/commands/SendTaskSuccessCommand.js +2 -29
- package/dist/es/commands/SendTaskSuccessCommand.js.map +1 -1
- package/dist/es/commands/StartExecutionCommand.js +2 -35
- package/dist/es/commands/StartExecutionCommand.js.map +1 -1
- package/dist/es/commands/StartSyncExecutionCommand.js +2 -27
- package/dist/es/commands/StartSyncExecutionCommand.js.map +1 -1
- package/dist/es/commands/StopExecutionCommand.js +2 -28
- package/dist/es/commands/StopExecutionCommand.js.map +1 -1
- package/dist/es/commands/TagResourceCommand.js +2 -32
- package/dist/es/commands/TagResourceCommand.js.map +1 -1
- package/dist/es/commands/UntagResourceCommand.js +2 -27
- package/dist/es/commands/UntagResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdateStateMachineCommand.js +2 -37
- package/dist/es/commands/UpdateStateMachineCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -333
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/pagination/GetExecutionHistoryPaginator.js +16 -28
- package/dist/es/pagination/GetExecutionHistoryPaginator.js.map +1 -1
- package/dist/es/pagination/ListActivitiesPaginator.js +16 -28
- package/dist/es/pagination/ListActivitiesPaginator.js.map +1 -1
- package/dist/es/pagination/ListExecutionsPaginator.js +16 -28
- package/dist/es/pagination/ListExecutionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListStateMachinesPaginator.js +16 -28
- package/dist/es/pagination/ListStateMachinesPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_0.js +502 -507
- package/dist/es/protocols/Aws_json1_0.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -39
- package/protocols/Aws_json1_0.ts +20 -17
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -31,5 +31,6 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
|
|
|
31
31
|
signingEscapePath?: boolean | undefined;
|
|
32
32
|
systemClockOffset?: number | undefined;
|
|
33
33
|
signingRegion?: string | undefined;
|
|
34
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
34
35
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
35
36
|
};
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
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.34.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"
|
|
7
|
-
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
8
|
-
"remove-definitions": "rimraf ./types",
|
|
9
|
-
"remove-dist": "rimraf ./dist",
|
|
10
|
-
"remove-documentation": "rimraf ./docs",
|
|
11
|
-
"test": "exit 0",
|
|
6
|
+
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
12
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
+
"build:docs": "yarn clean:docs && typedoc ./",
|
|
13
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
14
|
-
"build": "
|
|
15
|
-
"
|
|
10
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
|
+
"clean:dist": "rimraf ./dist",
|
|
13
|
+
"clean:docs": "rimraf ./docs",
|
|
14
|
+
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
|
|
15
|
+
"test": "exit 0"
|
|
16
16
|
},
|
|
17
17
|
"main": "./dist/cjs/index.js",
|
|
18
18
|
"types": "./dist/types/index.d.ts",
|
|
@@ -27,45 +27,45 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.34.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.34.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.34.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.34.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.34.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.34.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.34.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.34.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.34.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.34.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.34.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.34.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.34.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.34.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.34.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.34.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.34.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.34.0",
|
|
48
|
+
"@aws-sdk/types": "3.34.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.34.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.34.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.34.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.34.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.34.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.34.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.34.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.34.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.34.0",
|
|
58
58
|
"tslib": "^2.3.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/client-documentation-generator": "3.34.0",
|
|
62
62
|
"@types/node": "^12.7.5",
|
|
63
63
|
"downlevel-dts": "0.7.0",
|
|
64
64
|
"jest": "^26.1.0",
|
|
65
65
|
"rimraf": "^3.0.0",
|
|
66
66
|
"ts-jest": "^26.4.1",
|
|
67
67
|
"typedoc": "^0.19.2",
|
|
68
|
-
"typescript": "~4.
|
|
68
|
+
"typescript": "~4.3.5"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=10.0.0"
|
package/protocols/Aws_json1_0.ts
CHANGED
|
@@ -155,7 +155,10 @@ import {
|
|
|
155
155
|
expectBoolean as __expectBoolean,
|
|
156
156
|
expectInt32 as __expectInt32,
|
|
157
157
|
expectLong as __expectLong,
|
|
158
|
+
expectNonNull as __expectNonNull,
|
|
159
|
+
expectNumber as __expectNumber,
|
|
158
160
|
expectString as __expectString,
|
|
161
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
159
162
|
} from "@aws-sdk/smithy-client";
|
|
160
163
|
import {
|
|
161
164
|
Endpoint as __Endpoint,
|
|
@@ -2797,7 +2800,7 @@ const deserializeAws_json1_0ActivityListItem = (output: any, context: __SerdeCon
|
|
|
2797
2800
|
activityArn: __expectString(output.activityArn),
|
|
2798
2801
|
creationDate:
|
|
2799
2802
|
output.creationDate !== undefined && output.creationDate !== null
|
|
2800
|
-
?
|
|
2803
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
2801
2804
|
: undefined,
|
|
2802
2805
|
name: __expectString(output.name),
|
|
2803
2806
|
} as any;
|
|
@@ -2897,7 +2900,7 @@ const deserializeAws_json1_0CreateActivityOutput = (output: any, context: __Serd
|
|
|
2897
2900
|
activityArn: __expectString(output.activityArn),
|
|
2898
2901
|
creationDate:
|
|
2899
2902
|
output.creationDate !== undefined && output.creationDate !== null
|
|
2900
|
-
?
|
|
2903
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
2901
2904
|
: undefined,
|
|
2902
2905
|
} as any;
|
|
2903
2906
|
};
|
|
@@ -2909,7 +2912,7 @@ const deserializeAws_json1_0CreateStateMachineOutput = (
|
|
|
2909
2912
|
return {
|
|
2910
2913
|
creationDate:
|
|
2911
2914
|
output.creationDate !== undefined && output.creationDate !== null
|
|
2912
|
-
?
|
|
2915
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
2913
2916
|
: undefined,
|
|
2914
2917
|
stateMachineArn: __expectString(output.stateMachineArn),
|
|
2915
2918
|
} as any;
|
|
@@ -2931,7 +2934,7 @@ const deserializeAws_json1_0DescribeActivityOutput = (output: any, context: __Se
|
|
|
2931
2934
|
activityArn: __expectString(output.activityArn),
|
|
2932
2935
|
creationDate:
|
|
2933
2936
|
output.creationDate !== undefined && output.creationDate !== null
|
|
2934
|
-
?
|
|
2937
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
2935
2938
|
: undefined,
|
|
2936
2939
|
name: __expectString(output.name),
|
|
2937
2940
|
} as any;
|
|
@@ -2956,13 +2959,13 @@ const deserializeAws_json1_0DescribeExecutionOutput = (
|
|
|
2956
2959
|
: undefined,
|
|
2957
2960
|
startDate:
|
|
2958
2961
|
output.startDate !== undefined && output.startDate !== null
|
|
2959
|
-
?
|
|
2962
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate)))
|
|
2960
2963
|
: undefined,
|
|
2961
2964
|
stateMachineArn: __expectString(output.stateMachineArn),
|
|
2962
2965
|
status: __expectString(output.status),
|
|
2963
2966
|
stopDate:
|
|
2964
2967
|
output.stopDate !== undefined && output.stopDate !== null
|
|
2965
|
-
?
|
|
2968
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate)))
|
|
2966
2969
|
: undefined,
|
|
2967
2970
|
traceHeader: __expectString(output.traceHeader),
|
|
2968
2971
|
} as any;
|
|
@@ -2987,7 +2990,7 @@ const deserializeAws_json1_0DescribeStateMachineForExecutionOutput = (
|
|
|
2987
2990
|
: undefined,
|
|
2988
2991
|
updateDate:
|
|
2989
2992
|
output.updateDate !== undefined && output.updateDate !== null
|
|
2990
|
-
?
|
|
2993
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updateDate)))
|
|
2991
2994
|
: undefined,
|
|
2992
2995
|
} as any;
|
|
2993
2996
|
};
|
|
@@ -2999,7 +3002,7 @@ const deserializeAws_json1_0DescribeStateMachineOutput = (
|
|
|
2999
3002
|
return {
|
|
3000
3003
|
creationDate:
|
|
3001
3004
|
output.creationDate !== undefined && output.creationDate !== null
|
|
3002
|
-
?
|
|
3005
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
3003
3006
|
: undefined,
|
|
3004
3007
|
definition: __expectString(output.definition),
|
|
3005
3008
|
loggingConfiguration:
|
|
@@ -3073,13 +3076,13 @@ const deserializeAws_json1_0ExecutionListItem = (output: any, context: __SerdeCo
|
|
|
3073
3076
|
name: __expectString(output.name),
|
|
3074
3077
|
startDate:
|
|
3075
3078
|
output.startDate !== undefined && output.startDate !== null
|
|
3076
|
-
?
|
|
3079
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate)))
|
|
3077
3080
|
: undefined,
|
|
3078
3081
|
stateMachineArn: __expectString(output.stateMachineArn),
|
|
3079
3082
|
status: __expectString(output.status),
|
|
3080
3083
|
stopDate:
|
|
3081
3084
|
output.stopDate !== undefined && output.stopDate !== null
|
|
3082
|
-
?
|
|
3085
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate)))
|
|
3083
3086
|
: undefined,
|
|
3084
3087
|
} as any;
|
|
3085
3088
|
};
|
|
@@ -3283,7 +3286,7 @@ const deserializeAws_json1_0HistoryEvent = (output: any, context: __SerdeContext
|
|
|
3283
3286
|
: undefined,
|
|
3284
3287
|
timestamp:
|
|
3285
3288
|
output.timestamp !== undefined && output.timestamp !== null
|
|
3286
|
-
?
|
|
3289
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timestamp)))
|
|
3287
3290
|
: undefined,
|
|
3288
3291
|
type: __expectString(output.type),
|
|
3289
3292
|
} as any;
|
|
@@ -3562,7 +3565,7 @@ const deserializeAws_json1_0StartExecutionOutput = (output: any, context: __Serd
|
|
|
3562
3565
|
executionArn: __expectString(output.executionArn),
|
|
3563
3566
|
startDate:
|
|
3564
3567
|
output.startDate !== undefined && output.startDate !== null
|
|
3565
|
-
?
|
|
3568
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate)))
|
|
3566
3569
|
: undefined,
|
|
3567
3570
|
} as any;
|
|
3568
3571
|
};
|
|
@@ -3592,13 +3595,13 @@ const deserializeAws_json1_0StartSyncExecutionOutput = (
|
|
|
3592
3595
|
: undefined,
|
|
3593
3596
|
startDate:
|
|
3594
3597
|
output.startDate !== undefined && output.startDate !== null
|
|
3595
|
-
?
|
|
3598
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate)))
|
|
3596
3599
|
: undefined,
|
|
3597
3600
|
stateMachineArn: __expectString(output.stateMachineArn),
|
|
3598
3601
|
status: __expectString(output.status),
|
|
3599
3602
|
stopDate:
|
|
3600
3603
|
output.stopDate !== undefined && output.stopDate !== null
|
|
3601
|
-
?
|
|
3604
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate)))
|
|
3602
3605
|
: undefined,
|
|
3603
3606
|
traceHeader: __expectString(output.traceHeader),
|
|
3604
3607
|
} as any;
|
|
@@ -3680,7 +3683,7 @@ const deserializeAws_json1_0StateMachineListItem = (output: any, context: __Serd
|
|
|
3680
3683
|
return {
|
|
3681
3684
|
creationDate:
|
|
3682
3685
|
output.creationDate !== undefined && output.creationDate !== null
|
|
3683
|
-
?
|
|
3686
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
3684
3687
|
: undefined,
|
|
3685
3688
|
name: __expectString(output.name),
|
|
3686
3689
|
stateMachineArn: __expectString(output.stateMachineArn),
|
|
@@ -3701,7 +3704,7 @@ const deserializeAws_json1_0StopExecutionOutput = (output: any, context: __Serde
|
|
|
3701
3704
|
return {
|
|
3702
3705
|
stopDate:
|
|
3703
3706
|
output.stopDate !== undefined && output.stopDate !== null
|
|
3704
|
-
?
|
|
3707
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate)))
|
|
3705
3708
|
: undefined,
|
|
3706
3709
|
} as any;
|
|
3707
3710
|
};
|
|
@@ -3863,7 +3866,7 @@ const deserializeAws_json1_0UpdateStateMachineOutput = (
|
|
|
3863
3866
|
return {
|
|
3864
3867
|
updateDate:
|
|
3865
3868
|
output.updateDate !== undefined && output.updateDate !== null
|
|
3866
|
-
?
|
|
3869
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updateDate)))
|
|
3867
3870
|
: undefined,
|
|
3868
3871
|
} as any;
|
|
3869
3872
|
};
|
package/tsconfig.es.json
CHANGED
package/tsconfig.json
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"alwaysStrict": true,
|
|
4
4
|
"target": "ES2018",
|
|
5
5
|
"module": "commonjs",
|
|
6
|
-
"declaration": true,
|
|
7
6
|
"strict": true,
|
|
8
7
|
"sourceMap": true,
|
|
9
8
|
"downlevelIteration": true,
|
|
@@ -12,9 +11,8 @@
|
|
|
12
11
|
"incremental": true,
|
|
13
12
|
"resolveJsonModule": true,
|
|
14
13
|
"esModuleInterop": true,
|
|
15
|
-
"declarationDir": "./dist/types",
|
|
16
14
|
"outDir": "dist/cjs",
|
|
17
|
-
"
|
|
15
|
+
"removeComments": true
|
|
18
16
|
},
|
|
19
17
|
"typedocOptions": {
|
|
20
18
|
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
|
|
@@ -24,9 +22,9 @@
|
|
|
24
22
|
"ignoreCompilerErrors": true,
|
|
25
23
|
"includeDeclarations": true,
|
|
26
24
|
"stripInternal": true,
|
|
27
|
-
"readme": "
|
|
25
|
+
"readme": "README.md",
|
|
28
26
|
"mode": "file",
|
|
29
|
-
"out": "
|
|
27
|
+
"out": "docs",
|
|
30
28
|
"theme": "minimal",
|
|
31
29
|
"plugin": ["@aws-sdk/client-documentation-generator"]
|
|
32
30
|
}
|