@aws-sdk/client-sfn 3.121.0 → 3.127.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 +8 -0
- package/dist-cjs/protocols/Aws_json1_0.js +140 -193
- package/dist-es/protocols/Aws_json1_0.js +107 -160
- package/package.json +26 -26
|
@@ -1862,63 +1862,56 @@ var deserializeAws_json1_0TooManyTagsResponse = function (parsedOutput, context)
|
|
|
1862
1862
|
});
|
|
1863
1863
|
}); };
|
|
1864
1864
|
var serializeAws_json1_0CloudWatchLogsLogGroup = function (input, context) {
|
|
1865
|
-
return __assign({}, (input.logGroupArn
|
|
1865
|
+
return __assign({}, (input.logGroupArn != null && { logGroupArn: input.logGroupArn }));
|
|
1866
1866
|
};
|
|
1867
1867
|
var serializeAws_json1_0CreateActivityInput = function (input, context) {
|
|
1868
|
-
return __assign(__assign({}, (input.name
|
|
1868
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }));
|
|
1869
1869
|
};
|
|
1870
1870
|
var serializeAws_json1_0CreateStateMachineInput = function (input, context) {
|
|
1871
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.definition
|
|
1872
|
-
input.loggingConfiguration !== null && {
|
|
1871
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.definition != null && { definition: input.definition })), (input.loggingConfiguration != null && {
|
|
1873
1872
|
loggingConfiguration: serializeAws_json1_0LoggingConfiguration(input.loggingConfiguration, context),
|
|
1874
|
-
})), (input.name
|
|
1875
|
-
input.tracingConfiguration !== null && {
|
|
1873
|
+
})), (input.name != null && { name: input.name })), (input.roleArn != null && { roleArn: input.roleArn })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) })), (input.tracingConfiguration != null && {
|
|
1876
1874
|
tracingConfiguration: serializeAws_json1_0TracingConfiguration(input.tracingConfiguration, context),
|
|
1877
|
-
})), (input.type
|
|
1875
|
+
})), (input.type != null && { type: input.type }));
|
|
1878
1876
|
};
|
|
1879
1877
|
var serializeAws_json1_0DeleteActivityInput = function (input, context) {
|
|
1880
|
-
return __assign({}, (input.activityArn
|
|
1878
|
+
return __assign({}, (input.activityArn != null && { activityArn: input.activityArn }));
|
|
1881
1879
|
};
|
|
1882
1880
|
var serializeAws_json1_0DeleteStateMachineInput = function (input, context) {
|
|
1883
|
-
return __assign({}, (input.stateMachineArn
|
|
1884
|
-
input.stateMachineArn !== null && { stateMachineArn: input.stateMachineArn }));
|
|
1881
|
+
return __assign({}, (input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn }));
|
|
1885
1882
|
};
|
|
1886
1883
|
var serializeAws_json1_0DescribeActivityInput = function (input, context) {
|
|
1887
|
-
return __assign({}, (input.activityArn
|
|
1884
|
+
return __assign({}, (input.activityArn != null && { activityArn: input.activityArn }));
|
|
1888
1885
|
};
|
|
1889
1886
|
var serializeAws_json1_0DescribeExecutionInput = function (input, context) {
|
|
1890
|
-
return __assign({}, (input.executionArn
|
|
1887
|
+
return __assign({}, (input.executionArn != null && { executionArn: input.executionArn }));
|
|
1891
1888
|
};
|
|
1892
1889
|
var serializeAws_json1_0DescribeStateMachineForExecutionInput = function (input, context) {
|
|
1893
|
-
return __assign({}, (input.executionArn
|
|
1890
|
+
return __assign({}, (input.executionArn != null && { executionArn: input.executionArn }));
|
|
1894
1891
|
};
|
|
1895
1892
|
var serializeAws_json1_0DescribeStateMachineInput = function (input, context) {
|
|
1896
|
-
return __assign({}, (input.stateMachineArn
|
|
1897
|
-
input.stateMachineArn !== null && { stateMachineArn: input.stateMachineArn }));
|
|
1893
|
+
return __assign({}, (input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn }));
|
|
1898
1894
|
};
|
|
1899
1895
|
var serializeAws_json1_0GetActivityTaskInput = function (input, context) {
|
|
1900
|
-
return __assign(__assign({}, (input.activityArn
|
|
1896
|
+
return __assign(__assign({}, (input.activityArn != null && { activityArn: input.activityArn })), (input.workerName != null && { workerName: input.workerName }));
|
|
1901
1897
|
};
|
|
1902
1898
|
var serializeAws_json1_0GetExecutionHistoryInput = function (input, context) {
|
|
1903
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.executionArn
|
|
1904
|
-
input.includeExecutionData !== null && { includeExecutionData: input.includeExecutionData })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder }));
|
|
1899
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.executionArn != null && { executionArn: input.executionArn })), (input.includeExecutionData != null && { includeExecutionData: input.includeExecutionData })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.reverseOrder != null && { reverseOrder: input.reverseOrder }));
|
|
1905
1900
|
};
|
|
1906
1901
|
var serializeAws_json1_0ListActivitiesInput = function (input, context) {
|
|
1907
|
-
return __assign(__assign({}, (input.maxResults
|
|
1902
|
+
return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
1908
1903
|
};
|
|
1909
1904
|
var serializeAws_json1_0ListExecutionsInput = function (input, context) {
|
|
1910
|
-
return __assign(__assign(__assign(__assign({}, (input.maxResults
|
|
1911
|
-
input.stateMachineArn !== null && { stateMachineArn: input.stateMachineArn })), (input.statusFilter !== undefined && input.statusFilter !== null && { statusFilter: input.statusFilter }));
|
|
1905
|
+
return __assign(__assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn })), (input.statusFilter != null && { statusFilter: input.statusFilter }));
|
|
1912
1906
|
};
|
|
1913
1907
|
var serializeAws_json1_0ListStateMachinesInput = function (input, context) {
|
|
1914
|
-
return __assign(__assign({}, (input.maxResults
|
|
1908
|
+
return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
1915
1909
|
};
|
|
1916
1910
|
var serializeAws_json1_0ListTagsForResourceInput = function (input, context) {
|
|
1917
|
-
return __assign({}, (input.resourceArn
|
|
1911
|
+
return __assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn }));
|
|
1918
1912
|
};
|
|
1919
1913
|
var serializeAws_json1_0LogDestination = function (input, context) {
|
|
1920
|
-
return __assign({}, (input.cloudWatchLogsLogGroup
|
|
1921
|
-
input.cloudWatchLogsLogGroup !== null && {
|
|
1914
|
+
return __assign({}, (input.cloudWatchLogsLogGroup != null && {
|
|
1922
1915
|
cloudWatchLogsLogGroup: serializeAws_json1_0CloudWatchLogsLogGroup(input.cloudWatchLogsLogGroup, context),
|
|
1923
1916
|
}));
|
|
1924
1917
|
};
|
|
@@ -1933,34 +1926,30 @@ var serializeAws_json1_0LogDestinationList = function (input, context) {
|
|
|
1933
1926
|
});
|
|
1934
1927
|
};
|
|
1935
1928
|
var serializeAws_json1_0LoggingConfiguration = function (input, context) {
|
|
1936
|
-
return __assign(__assign(__assign({}, (input.destinations
|
|
1937
|
-
input.destinations !== null && {
|
|
1929
|
+
return __assign(__assign(__assign({}, (input.destinations != null && {
|
|
1938
1930
|
destinations: serializeAws_json1_0LogDestinationList(input.destinations, context),
|
|
1939
|
-
})), (input.includeExecutionData
|
|
1940
|
-
input.includeExecutionData !== null && { includeExecutionData: input.includeExecutionData })), (input.level !== undefined && input.level !== null && { level: input.level }));
|
|
1931
|
+
})), (input.includeExecutionData != null && { includeExecutionData: input.includeExecutionData })), (input.level != null && { level: input.level }));
|
|
1941
1932
|
};
|
|
1942
1933
|
var serializeAws_json1_0SendTaskFailureInput = function (input, context) {
|
|
1943
|
-
return __assign(__assign(__assign({}, (input.cause
|
|
1934
|
+
return __assign(__assign(__assign({}, (input.cause != null && { cause: input.cause })), (input.error != null && { error: input.error })), (input.taskToken != null && { taskToken: input.taskToken }));
|
|
1944
1935
|
};
|
|
1945
1936
|
var serializeAws_json1_0SendTaskHeartbeatInput = function (input, context) {
|
|
1946
|
-
return __assign({}, (input.taskToken
|
|
1937
|
+
return __assign({}, (input.taskToken != null && { taskToken: input.taskToken }));
|
|
1947
1938
|
};
|
|
1948
1939
|
var serializeAws_json1_0SendTaskSuccessInput = function (input, context) {
|
|
1949
|
-
return __assign(__assign({}, (input.output
|
|
1940
|
+
return __assign(__assign({}, (input.output != null && { output: input.output })), (input.taskToken != null && { taskToken: input.taskToken }));
|
|
1950
1941
|
};
|
|
1951
1942
|
var serializeAws_json1_0StartExecutionInput = function (input, context) {
|
|
1952
|
-
return __assign(__assign(__assign(__assign({}, (input.input
|
|
1953
|
-
input.stateMachineArn !== null && { stateMachineArn: input.stateMachineArn })), (input.traceHeader !== undefined && input.traceHeader !== null && { traceHeader: input.traceHeader }));
|
|
1943
|
+
return __assign(__assign(__assign(__assign({}, (input.input != null && { input: input.input })), (input.name != null && { name: input.name })), (input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn })), (input.traceHeader != null && { traceHeader: input.traceHeader }));
|
|
1954
1944
|
};
|
|
1955
1945
|
var serializeAws_json1_0StartSyncExecutionInput = function (input, context) {
|
|
1956
|
-
return __assign(__assign(__assign(__assign({}, (input.input
|
|
1957
|
-
input.stateMachineArn !== null && { stateMachineArn: input.stateMachineArn })), (input.traceHeader !== undefined && input.traceHeader !== null && { traceHeader: input.traceHeader }));
|
|
1946
|
+
return __assign(__assign(__assign(__assign({}, (input.input != null && { input: input.input })), (input.name != null && { name: input.name })), (input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn })), (input.traceHeader != null && { traceHeader: input.traceHeader }));
|
|
1958
1947
|
};
|
|
1959
1948
|
var serializeAws_json1_0StopExecutionInput = function (input, context) {
|
|
1960
|
-
return __assign(__assign(__assign({}, (input.cause
|
|
1949
|
+
return __assign(__assign(__assign({}, (input.cause != null && { cause: input.cause })), (input.error != null && { error: input.error })), (input.executionArn != null && { executionArn: input.executionArn }));
|
|
1961
1950
|
};
|
|
1962
1951
|
var serializeAws_json1_0Tag = function (input, context) {
|
|
1963
|
-
return __assign(__assign({}, (input.key
|
|
1952
|
+
return __assign(__assign({}, (input.key != null && { key: input.key })), (input.value != null && { value: input.value }));
|
|
1964
1953
|
};
|
|
1965
1954
|
var serializeAws_json1_0TagKeyList = function (input, context) {
|
|
1966
1955
|
return input
|
|
@@ -1983,22 +1972,18 @@ var serializeAws_json1_0TagList = function (input, context) {
|
|
|
1983
1972
|
});
|
|
1984
1973
|
};
|
|
1985
1974
|
var serializeAws_json1_0TagResourceInput = function (input, context) {
|
|
1986
|
-
return __assign(__assign({}, (input.resourceArn
|
|
1975
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }));
|
|
1987
1976
|
};
|
|
1988
1977
|
var serializeAws_json1_0TracingConfiguration = function (input, context) {
|
|
1989
|
-
return __assign({}, (input.enabled
|
|
1978
|
+
return __assign({}, (input.enabled != null && { enabled: input.enabled }));
|
|
1990
1979
|
};
|
|
1991
1980
|
var serializeAws_json1_0UntagResourceInput = function (input, context) {
|
|
1992
|
-
return __assign(__assign({}, (input.resourceArn
|
|
1993
|
-
input.tagKeys !== null && { tagKeys: serializeAws_json1_0TagKeyList(input.tagKeys, context) }));
|
|
1981
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tagKeys != null && { tagKeys: serializeAws_json1_0TagKeyList(input.tagKeys, context) }));
|
|
1994
1982
|
};
|
|
1995
1983
|
var serializeAws_json1_0UpdateStateMachineInput = function (input, context) {
|
|
1996
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.definition
|
|
1997
|
-
input.loggingConfiguration !== null && {
|
|
1984
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.definition != null && { definition: input.definition })), (input.loggingConfiguration != null && {
|
|
1998
1985
|
loggingConfiguration: serializeAws_json1_0LoggingConfiguration(input.loggingConfiguration, context),
|
|
1999
|
-
})), (input.roleArn
|
|
2000
|
-
input.stateMachineArn !== null && { stateMachineArn: input.stateMachineArn })), (input.tracingConfiguration !== undefined &&
|
|
2001
|
-
input.tracingConfiguration !== null && {
|
|
1986
|
+
})), (input.roleArn != null && { roleArn: input.roleArn })), (input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn })), (input.tracingConfiguration != null && {
|
|
2002
1987
|
tracingConfiguration: serializeAws_json1_0TracingConfiguration(input.tracingConfiguration, context),
|
|
2003
1988
|
}));
|
|
2004
1989
|
};
|
|
@@ -2032,7 +2017,7 @@ var deserializeAws_json1_0ActivityList = function (output, context) {
|
|
|
2032
2017
|
var deserializeAws_json1_0ActivityListItem = function (output, context) {
|
|
2033
2018
|
return {
|
|
2034
2019
|
activityArn: __expectString(output.activityArn),
|
|
2035
|
-
creationDate: output.creationDate
|
|
2020
|
+
creationDate: output.creationDate != null
|
|
2036
2021
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
2037
2022
|
: undefined,
|
|
2038
2023
|
name: __expectString(output.name),
|
|
@@ -2042,7 +2027,7 @@ var deserializeAws_json1_0ActivityScheduledEventDetails = function (output, cont
|
|
|
2042
2027
|
return {
|
|
2043
2028
|
heartbeatInSeconds: __expectLong(output.heartbeatInSeconds),
|
|
2044
2029
|
input: __expectString(output.input),
|
|
2045
|
-
inputDetails: output.inputDetails
|
|
2030
|
+
inputDetails: output.inputDetails != null
|
|
2046
2031
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.inputDetails, context)
|
|
2047
2032
|
: undefined,
|
|
2048
2033
|
resource: __expectString(output.resource),
|
|
@@ -2063,7 +2048,7 @@ var deserializeAws_json1_0ActivityStartedEventDetails = function (output, contex
|
|
|
2063
2048
|
var deserializeAws_json1_0ActivitySucceededEventDetails = function (output, context) {
|
|
2064
2049
|
return {
|
|
2065
2050
|
output: __expectString(output.output),
|
|
2066
|
-
outputDetails: output.outputDetails
|
|
2051
|
+
outputDetails: output.outputDetails != null
|
|
2067
2052
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.outputDetails, context)
|
|
2068
2053
|
: undefined,
|
|
2069
2054
|
};
|
|
@@ -2098,14 +2083,14 @@ var deserializeAws_json1_0CloudWatchLogsLogGroup = function (output, context) {
|
|
|
2098
2083
|
var deserializeAws_json1_0CreateActivityOutput = function (output, context) {
|
|
2099
2084
|
return {
|
|
2100
2085
|
activityArn: __expectString(output.activityArn),
|
|
2101
|
-
creationDate: output.creationDate
|
|
2086
|
+
creationDate: output.creationDate != null
|
|
2102
2087
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
2103
2088
|
: undefined,
|
|
2104
2089
|
};
|
|
2105
2090
|
};
|
|
2106
2091
|
var deserializeAws_json1_0CreateStateMachineOutput = function (output, context) {
|
|
2107
2092
|
return {
|
|
2108
|
-
creationDate: output.creationDate
|
|
2093
|
+
creationDate: output.creationDate != null
|
|
2109
2094
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
2110
2095
|
: undefined,
|
|
2111
2096
|
stateMachineArn: __expectString(output.stateMachineArn),
|
|
@@ -2120,7 +2105,7 @@ var deserializeAws_json1_0DeleteStateMachineOutput = function (output, context)
|
|
|
2120
2105
|
var deserializeAws_json1_0DescribeActivityOutput = function (output, context) {
|
|
2121
2106
|
return {
|
|
2122
2107
|
activityArn: __expectString(output.activityArn),
|
|
2123
|
-
creationDate: output.creationDate
|
|
2108
|
+
creationDate: output.creationDate != null
|
|
2124
2109
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
2125
2110
|
: undefined,
|
|
2126
2111
|
name: __expectString(output.name),
|
|
@@ -2130,56 +2115,50 @@ var deserializeAws_json1_0DescribeExecutionOutput = function (output, context) {
|
|
|
2130
2115
|
return {
|
|
2131
2116
|
executionArn: __expectString(output.executionArn),
|
|
2132
2117
|
input: __expectString(output.input),
|
|
2133
|
-
inputDetails: output.inputDetails
|
|
2118
|
+
inputDetails: output.inputDetails != null
|
|
2134
2119
|
? deserializeAws_json1_0CloudWatchEventsExecutionDataDetails(output.inputDetails, context)
|
|
2135
2120
|
: undefined,
|
|
2136
2121
|
name: __expectString(output.name),
|
|
2137
2122
|
output: __expectString(output.output),
|
|
2138
|
-
outputDetails: output.outputDetails
|
|
2123
|
+
outputDetails: output.outputDetails != null
|
|
2139
2124
|
? deserializeAws_json1_0CloudWatchEventsExecutionDataDetails(output.outputDetails, context)
|
|
2140
2125
|
: undefined,
|
|
2141
|
-
startDate: output.startDate
|
|
2142
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate)))
|
|
2143
|
-
: undefined,
|
|
2126
|
+
startDate: output.startDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate))) : undefined,
|
|
2144
2127
|
stateMachineArn: __expectString(output.stateMachineArn),
|
|
2145
2128
|
status: __expectString(output.status),
|
|
2146
|
-
stopDate: output.stopDate
|
|
2147
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate)))
|
|
2148
|
-
: undefined,
|
|
2129
|
+
stopDate: output.stopDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate))) : undefined,
|
|
2149
2130
|
traceHeader: __expectString(output.traceHeader),
|
|
2150
2131
|
};
|
|
2151
2132
|
};
|
|
2152
2133
|
var deserializeAws_json1_0DescribeStateMachineForExecutionOutput = function (output, context) {
|
|
2153
2134
|
return {
|
|
2154
2135
|
definition: __expectString(output.definition),
|
|
2155
|
-
loggingConfiguration: output.loggingConfiguration
|
|
2136
|
+
loggingConfiguration: output.loggingConfiguration != null
|
|
2156
2137
|
? deserializeAws_json1_0LoggingConfiguration(output.loggingConfiguration, context)
|
|
2157
2138
|
: undefined,
|
|
2158
2139
|
name: __expectString(output.name),
|
|
2159
2140
|
roleArn: __expectString(output.roleArn),
|
|
2160
2141
|
stateMachineArn: __expectString(output.stateMachineArn),
|
|
2161
|
-
tracingConfiguration: output.tracingConfiguration
|
|
2142
|
+
tracingConfiguration: output.tracingConfiguration != null
|
|
2162
2143
|
? deserializeAws_json1_0TracingConfiguration(output.tracingConfiguration, context)
|
|
2163
2144
|
: undefined,
|
|
2164
|
-
updateDate: output.updateDate
|
|
2165
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updateDate)))
|
|
2166
|
-
: undefined,
|
|
2145
|
+
updateDate: output.updateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updateDate))) : undefined,
|
|
2167
2146
|
};
|
|
2168
2147
|
};
|
|
2169
2148
|
var deserializeAws_json1_0DescribeStateMachineOutput = function (output, context) {
|
|
2170
2149
|
return {
|
|
2171
|
-
creationDate: output.creationDate
|
|
2150
|
+
creationDate: output.creationDate != null
|
|
2172
2151
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
2173
2152
|
: undefined,
|
|
2174
2153
|
definition: __expectString(output.definition),
|
|
2175
|
-
loggingConfiguration: output.loggingConfiguration
|
|
2154
|
+
loggingConfiguration: output.loggingConfiguration != null
|
|
2176
2155
|
? deserializeAws_json1_0LoggingConfiguration(output.loggingConfiguration, context)
|
|
2177
2156
|
: undefined,
|
|
2178
2157
|
name: __expectString(output.name),
|
|
2179
2158
|
roleArn: __expectString(output.roleArn),
|
|
2180
2159
|
stateMachineArn: __expectString(output.stateMachineArn),
|
|
2181
2160
|
status: __expectString(output.status),
|
|
2182
|
-
tracingConfiguration: output.tracingConfiguration
|
|
2161
|
+
tracingConfiguration: output.tracingConfiguration != null
|
|
2183
2162
|
? deserializeAws_json1_0TracingConfiguration(output.tracingConfiguration, context)
|
|
2184
2163
|
: undefined,
|
|
2185
2164
|
type: __expectString(output.type),
|
|
@@ -2227,20 +2206,16 @@ var deserializeAws_json1_0ExecutionListItem = function (output, context) {
|
|
|
2227
2206
|
return {
|
|
2228
2207
|
executionArn: __expectString(output.executionArn),
|
|
2229
2208
|
name: __expectString(output.name),
|
|
2230
|
-
startDate: output.startDate
|
|
2231
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate)))
|
|
2232
|
-
: undefined,
|
|
2209
|
+
startDate: output.startDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate))) : undefined,
|
|
2233
2210
|
stateMachineArn: __expectString(output.stateMachineArn),
|
|
2234
2211
|
status: __expectString(output.status),
|
|
2235
|
-
stopDate: output.stopDate
|
|
2236
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate)))
|
|
2237
|
-
: undefined,
|
|
2212
|
+
stopDate: output.stopDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate))) : undefined,
|
|
2238
2213
|
};
|
|
2239
2214
|
};
|
|
2240
2215
|
var deserializeAws_json1_0ExecutionStartedEventDetails = function (output, context) {
|
|
2241
2216
|
return {
|
|
2242
2217
|
input: __expectString(output.input),
|
|
2243
|
-
inputDetails: output.inputDetails
|
|
2218
|
+
inputDetails: output.inputDetails != null
|
|
2244
2219
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.inputDetails, context)
|
|
2245
2220
|
: undefined,
|
|
2246
2221
|
roleArn: __expectString(output.roleArn),
|
|
@@ -2249,7 +2224,7 @@ var deserializeAws_json1_0ExecutionStartedEventDetails = function (output, conte
|
|
|
2249
2224
|
var deserializeAws_json1_0ExecutionSucceededEventDetails = function (output, context) {
|
|
2250
2225
|
return {
|
|
2251
2226
|
output: __expectString(output.output),
|
|
2252
|
-
outputDetails: output.outputDetails
|
|
2227
|
+
outputDetails: output.outputDetails != null
|
|
2253
2228
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.outputDetails, context)
|
|
2254
2229
|
: undefined,
|
|
2255
2230
|
};
|
|
@@ -2268,117 +2243,111 @@ var deserializeAws_json1_0GetActivityTaskOutput = function (output, context) {
|
|
|
2268
2243
|
};
|
|
2269
2244
|
var deserializeAws_json1_0GetExecutionHistoryOutput = function (output, context) {
|
|
2270
2245
|
return {
|
|
2271
|
-
events: output.events
|
|
2272
|
-
? deserializeAws_json1_0HistoryEventList(output.events, context)
|
|
2273
|
-
: undefined,
|
|
2246
|
+
events: output.events != null ? deserializeAws_json1_0HistoryEventList(output.events, context) : undefined,
|
|
2274
2247
|
nextToken: __expectString(output.nextToken),
|
|
2275
2248
|
};
|
|
2276
2249
|
};
|
|
2277
2250
|
var deserializeAws_json1_0HistoryEvent = function (output, context) {
|
|
2278
2251
|
return {
|
|
2279
|
-
activityFailedEventDetails: output.activityFailedEventDetails
|
|
2252
|
+
activityFailedEventDetails: output.activityFailedEventDetails != null
|
|
2280
2253
|
? deserializeAws_json1_0ActivityFailedEventDetails(output.activityFailedEventDetails, context)
|
|
2281
2254
|
: undefined,
|
|
2282
|
-
activityScheduleFailedEventDetails: output.activityScheduleFailedEventDetails
|
|
2255
|
+
activityScheduleFailedEventDetails: output.activityScheduleFailedEventDetails != null
|
|
2283
2256
|
? deserializeAws_json1_0ActivityScheduleFailedEventDetails(output.activityScheduleFailedEventDetails, context)
|
|
2284
2257
|
: undefined,
|
|
2285
|
-
activityScheduledEventDetails: output.activityScheduledEventDetails
|
|
2258
|
+
activityScheduledEventDetails: output.activityScheduledEventDetails != null
|
|
2286
2259
|
? deserializeAws_json1_0ActivityScheduledEventDetails(output.activityScheduledEventDetails, context)
|
|
2287
2260
|
: undefined,
|
|
2288
|
-
activityStartedEventDetails: output.activityStartedEventDetails
|
|
2261
|
+
activityStartedEventDetails: output.activityStartedEventDetails != null
|
|
2289
2262
|
? deserializeAws_json1_0ActivityStartedEventDetails(output.activityStartedEventDetails, context)
|
|
2290
2263
|
: undefined,
|
|
2291
|
-
activitySucceededEventDetails: output.activitySucceededEventDetails
|
|
2264
|
+
activitySucceededEventDetails: output.activitySucceededEventDetails != null
|
|
2292
2265
|
? deserializeAws_json1_0ActivitySucceededEventDetails(output.activitySucceededEventDetails, context)
|
|
2293
2266
|
: undefined,
|
|
2294
|
-
activityTimedOutEventDetails: output.activityTimedOutEventDetails
|
|
2267
|
+
activityTimedOutEventDetails: output.activityTimedOutEventDetails != null
|
|
2295
2268
|
? deserializeAws_json1_0ActivityTimedOutEventDetails(output.activityTimedOutEventDetails, context)
|
|
2296
2269
|
: undefined,
|
|
2297
|
-
executionAbortedEventDetails: output.executionAbortedEventDetails
|
|
2270
|
+
executionAbortedEventDetails: output.executionAbortedEventDetails != null
|
|
2298
2271
|
? deserializeAws_json1_0ExecutionAbortedEventDetails(output.executionAbortedEventDetails, context)
|
|
2299
2272
|
: undefined,
|
|
2300
|
-
executionFailedEventDetails: output.executionFailedEventDetails
|
|
2273
|
+
executionFailedEventDetails: output.executionFailedEventDetails != null
|
|
2301
2274
|
? deserializeAws_json1_0ExecutionFailedEventDetails(output.executionFailedEventDetails, context)
|
|
2302
2275
|
: undefined,
|
|
2303
|
-
executionStartedEventDetails: output.executionStartedEventDetails
|
|
2276
|
+
executionStartedEventDetails: output.executionStartedEventDetails != null
|
|
2304
2277
|
? deserializeAws_json1_0ExecutionStartedEventDetails(output.executionStartedEventDetails, context)
|
|
2305
2278
|
: undefined,
|
|
2306
|
-
executionSucceededEventDetails: output.executionSucceededEventDetails
|
|
2279
|
+
executionSucceededEventDetails: output.executionSucceededEventDetails != null
|
|
2307
2280
|
? deserializeAws_json1_0ExecutionSucceededEventDetails(output.executionSucceededEventDetails, context)
|
|
2308
2281
|
: undefined,
|
|
2309
|
-
executionTimedOutEventDetails: output.executionTimedOutEventDetails
|
|
2282
|
+
executionTimedOutEventDetails: output.executionTimedOutEventDetails != null
|
|
2310
2283
|
? deserializeAws_json1_0ExecutionTimedOutEventDetails(output.executionTimedOutEventDetails, context)
|
|
2311
2284
|
: undefined,
|
|
2312
2285
|
id: __expectLong(output.id),
|
|
2313
|
-
lambdaFunctionFailedEventDetails: output.lambdaFunctionFailedEventDetails
|
|
2286
|
+
lambdaFunctionFailedEventDetails: output.lambdaFunctionFailedEventDetails != null
|
|
2314
2287
|
? deserializeAws_json1_0LambdaFunctionFailedEventDetails(output.lambdaFunctionFailedEventDetails, context)
|
|
2315
2288
|
: undefined,
|
|
2316
|
-
lambdaFunctionScheduleFailedEventDetails: output.lambdaFunctionScheduleFailedEventDetails
|
|
2317
|
-
output.lambdaFunctionScheduleFailedEventDetails !== null
|
|
2289
|
+
lambdaFunctionScheduleFailedEventDetails: output.lambdaFunctionScheduleFailedEventDetails != null
|
|
2318
2290
|
? deserializeAws_json1_0LambdaFunctionScheduleFailedEventDetails(output.lambdaFunctionScheduleFailedEventDetails, context)
|
|
2319
2291
|
: undefined,
|
|
2320
|
-
lambdaFunctionScheduledEventDetails: output.lambdaFunctionScheduledEventDetails
|
|
2292
|
+
lambdaFunctionScheduledEventDetails: output.lambdaFunctionScheduledEventDetails != null
|
|
2321
2293
|
? deserializeAws_json1_0LambdaFunctionScheduledEventDetails(output.lambdaFunctionScheduledEventDetails, context)
|
|
2322
2294
|
: undefined,
|
|
2323
|
-
lambdaFunctionStartFailedEventDetails: output.lambdaFunctionStartFailedEventDetails
|
|
2324
|
-
output.lambdaFunctionStartFailedEventDetails !== null
|
|
2295
|
+
lambdaFunctionStartFailedEventDetails: output.lambdaFunctionStartFailedEventDetails != null
|
|
2325
2296
|
? deserializeAws_json1_0LambdaFunctionStartFailedEventDetails(output.lambdaFunctionStartFailedEventDetails, context)
|
|
2326
2297
|
: undefined,
|
|
2327
|
-
lambdaFunctionSucceededEventDetails: output.lambdaFunctionSucceededEventDetails
|
|
2298
|
+
lambdaFunctionSucceededEventDetails: output.lambdaFunctionSucceededEventDetails != null
|
|
2328
2299
|
? deserializeAws_json1_0LambdaFunctionSucceededEventDetails(output.lambdaFunctionSucceededEventDetails, context)
|
|
2329
2300
|
: undefined,
|
|
2330
|
-
lambdaFunctionTimedOutEventDetails: output.lambdaFunctionTimedOutEventDetails
|
|
2301
|
+
lambdaFunctionTimedOutEventDetails: output.lambdaFunctionTimedOutEventDetails != null
|
|
2331
2302
|
? deserializeAws_json1_0LambdaFunctionTimedOutEventDetails(output.lambdaFunctionTimedOutEventDetails, context)
|
|
2332
2303
|
: undefined,
|
|
2333
|
-
mapIterationAbortedEventDetails: output.mapIterationAbortedEventDetails
|
|
2304
|
+
mapIterationAbortedEventDetails: output.mapIterationAbortedEventDetails != null
|
|
2334
2305
|
? deserializeAws_json1_0MapIterationEventDetails(output.mapIterationAbortedEventDetails, context)
|
|
2335
2306
|
: undefined,
|
|
2336
|
-
mapIterationFailedEventDetails: output.mapIterationFailedEventDetails
|
|
2307
|
+
mapIterationFailedEventDetails: output.mapIterationFailedEventDetails != null
|
|
2337
2308
|
? deserializeAws_json1_0MapIterationEventDetails(output.mapIterationFailedEventDetails, context)
|
|
2338
2309
|
: undefined,
|
|
2339
|
-
mapIterationStartedEventDetails: output.mapIterationStartedEventDetails
|
|
2310
|
+
mapIterationStartedEventDetails: output.mapIterationStartedEventDetails != null
|
|
2340
2311
|
? deserializeAws_json1_0MapIterationEventDetails(output.mapIterationStartedEventDetails, context)
|
|
2341
2312
|
: undefined,
|
|
2342
|
-
mapIterationSucceededEventDetails: output.mapIterationSucceededEventDetails
|
|
2313
|
+
mapIterationSucceededEventDetails: output.mapIterationSucceededEventDetails != null
|
|
2343
2314
|
? deserializeAws_json1_0MapIterationEventDetails(output.mapIterationSucceededEventDetails, context)
|
|
2344
2315
|
: undefined,
|
|
2345
|
-
mapStateStartedEventDetails: output.mapStateStartedEventDetails
|
|
2316
|
+
mapStateStartedEventDetails: output.mapStateStartedEventDetails != null
|
|
2346
2317
|
? deserializeAws_json1_0MapStateStartedEventDetails(output.mapStateStartedEventDetails, context)
|
|
2347
2318
|
: undefined,
|
|
2348
2319
|
previousEventId: __expectLong(output.previousEventId),
|
|
2349
|
-
stateEnteredEventDetails: output.stateEnteredEventDetails
|
|
2320
|
+
stateEnteredEventDetails: output.stateEnteredEventDetails != null
|
|
2350
2321
|
? deserializeAws_json1_0StateEnteredEventDetails(output.stateEnteredEventDetails, context)
|
|
2351
2322
|
: undefined,
|
|
2352
|
-
stateExitedEventDetails: output.stateExitedEventDetails
|
|
2323
|
+
stateExitedEventDetails: output.stateExitedEventDetails != null
|
|
2353
2324
|
? deserializeAws_json1_0StateExitedEventDetails(output.stateExitedEventDetails, context)
|
|
2354
2325
|
: undefined,
|
|
2355
|
-
taskFailedEventDetails: output.taskFailedEventDetails
|
|
2326
|
+
taskFailedEventDetails: output.taskFailedEventDetails != null
|
|
2356
2327
|
? deserializeAws_json1_0TaskFailedEventDetails(output.taskFailedEventDetails, context)
|
|
2357
2328
|
: undefined,
|
|
2358
|
-
taskScheduledEventDetails: output.taskScheduledEventDetails
|
|
2329
|
+
taskScheduledEventDetails: output.taskScheduledEventDetails != null
|
|
2359
2330
|
? deserializeAws_json1_0TaskScheduledEventDetails(output.taskScheduledEventDetails, context)
|
|
2360
2331
|
: undefined,
|
|
2361
|
-
taskStartFailedEventDetails: output.taskStartFailedEventDetails
|
|
2332
|
+
taskStartFailedEventDetails: output.taskStartFailedEventDetails != null
|
|
2362
2333
|
? deserializeAws_json1_0TaskStartFailedEventDetails(output.taskStartFailedEventDetails, context)
|
|
2363
2334
|
: undefined,
|
|
2364
|
-
taskStartedEventDetails: output.taskStartedEventDetails
|
|
2335
|
+
taskStartedEventDetails: output.taskStartedEventDetails != null
|
|
2365
2336
|
? deserializeAws_json1_0TaskStartedEventDetails(output.taskStartedEventDetails, context)
|
|
2366
2337
|
: undefined,
|
|
2367
|
-
taskSubmitFailedEventDetails: output.taskSubmitFailedEventDetails
|
|
2338
|
+
taskSubmitFailedEventDetails: output.taskSubmitFailedEventDetails != null
|
|
2368
2339
|
? deserializeAws_json1_0TaskSubmitFailedEventDetails(output.taskSubmitFailedEventDetails, context)
|
|
2369
2340
|
: undefined,
|
|
2370
|
-
taskSubmittedEventDetails: output.taskSubmittedEventDetails
|
|
2341
|
+
taskSubmittedEventDetails: output.taskSubmittedEventDetails != null
|
|
2371
2342
|
? deserializeAws_json1_0TaskSubmittedEventDetails(output.taskSubmittedEventDetails, context)
|
|
2372
2343
|
: undefined,
|
|
2373
|
-
taskSucceededEventDetails: output.taskSucceededEventDetails
|
|
2344
|
+
taskSucceededEventDetails: output.taskSucceededEventDetails != null
|
|
2374
2345
|
? deserializeAws_json1_0TaskSucceededEventDetails(output.taskSucceededEventDetails, context)
|
|
2375
2346
|
: undefined,
|
|
2376
|
-
taskTimedOutEventDetails: output.taskTimedOutEventDetails
|
|
2347
|
+
taskTimedOutEventDetails: output.taskTimedOutEventDetails != null
|
|
2377
2348
|
? deserializeAws_json1_0TaskTimedOutEventDetails(output.taskTimedOutEventDetails, context)
|
|
2378
2349
|
: undefined,
|
|
2379
|
-
timestamp: output.timestamp
|
|
2380
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timestamp)))
|
|
2381
|
-
: undefined,
|
|
2350
|
+
timestamp: output.timestamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timestamp))) : undefined,
|
|
2382
2351
|
type: __expectString(output.type),
|
|
2383
2352
|
};
|
|
2384
2353
|
};
|
|
@@ -2447,7 +2416,7 @@ var deserializeAws_json1_0LambdaFunctionFailedEventDetails = function (output, c
|
|
|
2447
2416
|
var deserializeAws_json1_0LambdaFunctionScheduledEventDetails = function (output, context) {
|
|
2448
2417
|
return {
|
|
2449
2418
|
input: __expectString(output.input),
|
|
2450
|
-
inputDetails: output.inputDetails
|
|
2419
|
+
inputDetails: output.inputDetails != null
|
|
2451
2420
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.inputDetails, context)
|
|
2452
2421
|
: undefined,
|
|
2453
2422
|
resource: __expectString(output.resource),
|
|
@@ -2469,7 +2438,7 @@ var deserializeAws_json1_0LambdaFunctionStartFailedEventDetails = function (outp
|
|
|
2469
2438
|
var deserializeAws_json1_0LambdaFunctionSucceededEventDetails = function (output, context) {
|
|
2470
2439
|
return {
|
|
2471
2440
|
output: __expectString(output.output),
|
|
2472
|
-
outputDetails: output.outputDetails
|
|
2441
|
+
outputDetails: output.outputDetails != null
|
|
2473
2442
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.outputDetails, context)
|
|
2474
2443
|
: undefined,
|
|
2475
2444
|
};
|
|
@@ -2482,38 +2451,30 @@ var deserializeAws_json1_0LambdaFunctionTimedOutEventDetails = function (output,
|
|
|
2482
2451
|
};
|
|
2483
2452
|
var deserializeAws_json1_0ListActivitiesOutput = function (output, context) {
|
|
2484
2453
|
return {
|
|
2485
|
-
activities: output.activities
|
|
2486
|
-
? deserializeAws_json1_0ActivityList(output.activities, context)
|
|
2487
|
-
: undefined,
|
|
2454
|
+
activities: output.activities != null ? deserializeAws_json1_0ActivityList(output.activities, context) : undefined,
|
|
2488
2455
|
nextToken: __expectString(output.nextToken),
|
|
2489
2456
|
};
|
|
2490
2457
|
};
|
|
2491
2458
|
var deserializeAws_json1_0ListExecutionsOutput = function (output, context) {
|
|
2492
2459
|
return {
|
|
2493
|
-
executions: output.executions
|
|
2494
|
-
? deserializeAws_json1_0ExecutionList(output.executions, context)
|
|
2495
|
-
: undefined,
|
|
2460
|
+
executions: output.executions != null ? deserializeAws_json1_0ExecutionList(output.executions, context) : undefined,
|
|
2496
2461
|
nextToken: __expectString(output.nextToken),
|
|
2497
2462
|
};
|
|
2498
2463
|
};
|
|
2499
2464
|
var deserializeAws_json1_0ListStateMachinesOutput = function (output, context) {
|
|
2500
2465
|
return {
|
|
2501
2466
|
nextToken: __expectString(output.nextToken),
|
|
2502
|
-
stateMachines: output.stateMachines
|
|
2503
|
-
? deserializeAws_json1_0StateMachineList(output.stateMachines, context)
|
|
2504
|
-
: undefined,
|
|
2467
|
+
stateMachines: output.stateMachines != null ? deserializeAws_json1_0StateMachineList(output.stateMachines, context) : undefined,
|
|
2505
2468
|
};
|
|
2506
2469
|
};
|
|
2507
2470
|
var deserializeAws_json1_0ListTagsForResourceOutput = function (output, context) {
|
|
2508
2471
|
return {
|
|
2509
|
-
tags: output.tags
|
|
2510
|
-
? deserializeAws_json1_0TagList(output.tags, context)
|
|
2511
|
-
: undefined,
|
|
2472
|
+
tags: output.tags != null ? deserializeAws_json1_0TagList(output.tags, context) : undefined,
|
|
2512
2473
|
};
|
|
2513
2474
|
};
|
|
2514
2475
|
var deserializeAws_json1_0LogDestination = function (output, context) {
|
|
2515
2476
|
return {
|
|
2516
|
-
cloudWatchLogsLogGroup: output.cloudWatchLogsLogGroup
|
|
2477
|
+
cloudWatchLogsLogGroup: output.cloudWatchLogsLogGroup != null
|
|
2517
2478
|
? deserializeAws_json1_0CloudWatchLogsLogGroup(output.cloudWatchLogsLogGroup, context)
|
|
2518
2479
|
: undefined,
|
|
2519
2480
|
};
|
|
@@ -2531,9 +2492,7 @@ var deserializeAws_json1_0LogDestinationList = function (output, context) {
|
|
|
2531
2492
|
};
|
|
2532
2493
|
var deserializeAws_json1_0LoggingConfiguration = function (output, context) {
|
|
2533
2494
|
return {
|
|
2534
|
-
destinations: output.destinations
|
|
2535
|
-
? deserializeAws_json1_0LogDestinationList(output.destinations, context)
|
|
2536
|
-
: undefined,
|
|
2495
|
+
destinations: output.destinations != null ? deserializeAws_json1_0LogDestinationList(output.destinations, context) : undefined,
|
|
2537
2496
|
includeExecutionData: __expectBoolean(output.includeExecutionData),
|
|
2538
2497
|
level: __expectString(output.level),
|
|
2539
2498
|
};
|
|
@@ -2572,43 +2531,35 @@ var deserializeAws_json1_0SendTaskSuccessOutput = function (output, context) {
|
|
|
2572
2531
|
var deserializeAws_json1_0StartExecutionOutput = function (output, context) {
|
|
2573
2532
|
return {
|
|
2574
2533
|
executionArn: __expectString(output.executionArn),
|
|
2575
|
-
startDate: output.startDate
|
|
2576
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate)))
|
|
2577
|
-
: undefined,
|
|
2534
|
+
startDate: output.startDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate))) : undefined,
|
|
2578
2535
|
};
|
|
2579
2536
|
};
|
|
2580
2537
|
var deserializeAws_json1_0StartSyncExecutionOutput = function (output, context) {
|
|
2581
2538
|
return {
|
|
2582
|
-
billingDetails: output.billingDetails
|
|
2583
|
-
? deserializeAws_json1_0BillingDetails(output.billingDetails, context)
|
|
2584
|
-
: undefined,
|
|
2539
|
+
billingDetails: output.billingDetails != null ? deserializeAws_json1_0BillingDetails(output.billingDetails, context) : undefined,
|
|
2585
2540
|
cause: __expectString(output.cause),
|
|
2586
2541
|
error: __expectString(output.error),
|
|
2587
2542
|
executionArn: __expectString(output.executionArn),
|
|
2588
2543
|
input: __expectString(output.input),
|
|
2589
|
-
inputDetails: output.inputDetails
|
|
2544
|
+
inputDetails: output.inputDetails != null
|
|
2590
2545
|
? deserializeAws_json1_0CloudWatchEventsExecutionDataDetails(output.inputDetails, context)
|
|
2591
2546
|
: undefined,
|
|
2592
2547
|
name: __expectString(output.name),
|
|
2593
2548
|
output: __expectString(output.output),
|
|
2594
|
-
outputDetails: output.outputDetails
|
|
2549
|
+
outputDetails: output.outputDetails != null
|
|
2595
2550
|
? deserializeAws_json1_0CloudWatchEventsExecutionDataDetails(output.outputDetails, context)
|
|
2596
2551
|
: undefined,
|
|
2597
|
-
startDate: output.startDate
|
|
2598
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate)))
|
|
2599
|
-
: undefined,
|
|
2552
|
+
startDate: output.startDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate))) : undefined,
|
|
2600
2553
|
stateMachineArn: __expectString(output.stateMachineArn),
|
|
2601
2554
|
status: __expectString(output.status),
|
|
2602
|
-
stopDate: output.stopDate
|
|
2603
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate)))
|
|
2604
|
-
: undefined,
|
|
2555
|
+
stopDate: output.stopDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate))) : undefined,
|
|
2605
2556
|
traceHeader: __expectString(output.traceHeader),
|
|
2606
2557
|
};
|
|
2607
2558
|
};
|
|
2608
2559
|
var deserializeAws_json1_0StateEnteredEventDetails = function (output, context) {
|
|
2609
2560
|
return {
|
|
2610
2561
|
input: __expectString(output.input),
|
|
2611
|
-
inputDetails: output.inputDetails
|
|
2562
|
+
inputDetails: output.inputDetails != null
|
|
2612
2563
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.inputDetails, context)
|
|
2613
2564
|
: undefined,
|
|
2614
2565
|
name: __expectString(output.name),
|
|
@@ -2618,7 +2569,7 @@ var deserializeAws_json1_0StateExitedEventDetails = function (output, context) {
|
|
|
2618
2569
|
return {
|
|
2619
2570
|
name: __expectString(output.name),
|
|
2620
2571
|
output: __expectString(output.output),
|
|
2621
|
-
outputDetails: output.outputDetails
|
|
2572
|
+
outputDetails: output.outputDetails != null
|
|
2622
2573
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.outputDetails, context)
|
|
2623
2574
|
: undefined,
|
|
2624
2575
|
};
|
|
@@ -2656,7 +2607,7 @@ var deserializeAws_json1_0StateMachineList = function (output, context) {
|
|
|
2656
2607
|
};
|
|
2657
2608
|
var deserializeAws_json1_0StateMachineListItem = function (output, context) {
|
|
2658
2609
|
return {
|
|
2659
|
-
creationDate: output.creationDate
|
|
2610
|
+
creationDate: output.creationDate != null
|
|
2660
2611
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
2661
2612
|
: undefined,
|
|
2662
2613
|
name: __expectString(output.name),
|
|
@@ -2671,9 +2622,7 @@ var deserializeAws_json1_0StateMachineTypeNotSupported = function (output, conte
|
|
|
2671
2622
|
};
|
|
2672
2623
|
var deserializeAws_json1_0StopExecutionOutput = function (output, context) {
|
|
2673
2624
|
return {
|
|
2674
|
-
stopDate: output.stopDate
|
|
2675
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate)))
|
|
2676
|
-
: undefined,
|
|
2625
|
+
stopDate: output.stopDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate))) : undefined,
|
|
2677
2626
|
};
|
|
2678
2627
|
};
|
|
2679
2628
|
var deserializeAws_json1_0Tag = function (output, context) {
|
|
@@ -2744,7 +2693,7 @@ var deserializeAws_json1_0TaskSubmitFailedEventDetails = function (output, conte
|
|
|
2744
2693
|
var deserializeAws_json1_0TaskSubmittedEventDetails = function (output, context) {
|
|
2745
2694
|
return {
|
|
2746
2695
|
output: __expectString(output.output),
|
|
2747
|
-
outputDetails: output.outputDetails
|
|
2696
|
+
outputDetails: output.outputDetails != null
|
|
2748
2697
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.outputDetails, context)
|
|
2749
2698
|
: undefined,
|
|
2750
2699
|
resource: __expectString(output.resource),
|
|
@@ -2754,7 +2703,7 @@ var deserializeAws_json1_0TaskSubmittedEventDetails = function (output, context)
|
|
|
2754
2703
|
var deserializeAws_json1_0TaskSucceededEventDetails = function (output, context) {
|
|
2755
2704
|
return {
|
|
2756
2705
|
output: __expectString(output.output),
|
|
2757
|
-
outputDetails: output.outputDetails
|
|
2706
|
+
outputDetails: output.outputDetails != null
|
|
2758
2707
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.outputDetails, context)
|
|
2759
2708
|
: undefined,
|
|
2760
2709
|
resource: __expectString(output.resource),
|
|
@@ -2790,9 +2739,7 @@ var deserializeAws_json1_0UntagResourceOutput = function (output, context) {
|
|
|
2790
2739
|
};
|
|
2791
2740
|
var deserializeAws_json1_0UpdateStateMachineOutput = function (output, context) {
|
|
2792
2741
|
return {
|
|
2793
|
-
updateDate: output.updateDate
|
|
2794
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updateDate)))
|
|
2795
|
-
: undefined,
|
|
2742
|
+
updateDate: output.updateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updateDate))) : undefined,
|
|
2796
2743
|
};
|
|
2797
2744
|
};
|
|
2798
2745
|
var deserializeMetadata = function (output) {
|