@aws-sdk/client-swf 3.121.0 → 3.130.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 +27 -0
- package/dist-cjs/protocols/Aws_json1_0.js +358 -566
- package/dist-es/protocols/Aws_json1_0.js +222 -430
- package/package.json +26 -26
|
@@ -1957,159 +1957,129 @@ const deserializeAws_json1_0WorkflowExecutionAlreadyStartedFaultResponse = async
|
|
|
1957
1957
|
};
|
|
1958
1958
|
const serializeAws_json1_0ActivityType = (input, context) => {
|
|
1959
1959
|
return {
|
|
1960
|
-
...(input.name
|
|
1961
|
-
...(input.version
|
|
1960
|
+
...(input.name != null && { name: input.name }),
|
|
1961
|
+
...(input.version != null && { version: input.version }),
|
|
1962
1962
|
};
|
|
1963
1963
|
};
|
|
1964
1964
|
const serializeAws_json1_0CancelTimerDecisionAttributes = (input, context) => {
|
|
1965
1965
|
return {
|
|
1966
|
-
...(input.timerId
|
|
1966
|
+
...(input.timerId != null && { timerId: input.timerId }),
|
|
1967
1967
|
};
|
|
1968
1968
|
};
|
|
1969
1969
|
const serializeAws_json1_0CancelWorkflowExecutionDecisionAttributes = (input, context) => {
|
|
1970
1970
|
return {
|
|
1971
|
-
...(input.details
|
|
1971
|
+
...(input.details != null && { details: input.details }),
|
|
1972
1972
|
};
|
|
1973
1973
|
};
|
|
1974
1974
|
const serializeAws_json1_0CloseStatusFilter = (input, context) => {
|
|
1975
1975
|
return {
|
|
1976
|
-
...(input.status
|
|
1976
|
+
...(input.status != null && { status: input.status }),
|
|
1977
1977
|
};
|
|
1978
1978
|
};
|
|
1979
1979
|
const serializeAws_json1_0CompleteWorkflowExecutionDecisionAttributes = (input, context) => {
|
|
1980
1980
|
return {
|
|
1981
|
-
...(input.result
|
|
1981
|
+
...(input.result != null && { result: input.result }),
|
|
1982
1982
|
};
|
|
1983
1983
|
};
|
|
1984
1984
|
const serializeAws_json1_0ContinueAsNewWorkflowExecutionDecisionAttributes = (input, context) => {
|
|
1985
1985
|
return {
|
|
1986
|
-
...(input.childPolicy
|
|
1987
|
-
...(input.executionStartToCloseTimeout
|
|
1988
|
-
input.executionStartToCloseTimeout !== null && {
|
|
1986
|
+
...(input.childPolicy != null && { childPolicy: input.childPolicy }),
|
|
1987
|
+
...(input.executionStartToCloseTimeout != null && {
|
|
1989
1988
|
executionStartToCloseTimeout: input.executionStartToCloseTimeout,
|
|
1990
1989
|
}),
|
|
1991
|
-
...(input.input
|
|
1992
|
-
...(input.lambdaRole
|
|
1993
|
-
...(input.tagList
|
|
1994
|
-
|
|
1995
|
-
...(input.
|
|
1996
|
-
|
|
1997
|
-
...(input.
|
|
1998
|
-
...(input.taskStartToCloseTimeout !== undefined &&
|
|
1999
|
-
input.taskStartToCloseTimeout !== null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout }),
|
|
2000
|
-
...(input.workflowTypeVersion !== undefined &&
|
|
2001
|
-
input.workflowTypeVersion !== null && { workflowTypeVersion: input.workflowTypeVersion }),
|
|
1990
|
+
...(input.input != null && { input: input.input }),
|
|
1991
|
+
...(input.lambdaRole != null && { lambdaRole: input.lambdaRole }),
|
|
1992
|
+
...(input.tagList != null && { tagList: serializeAws_json1_0TagList(input.tagList, context) }),
|
|
1993
|
+
...(input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
|
|
1994
|
+
...(input.taskPriority != null && { taskPriority: input.taskPriority }),
|
|
1995
|
+
...(input.taskStartToCloseTimeout != null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout }),
|
|
1996
|
+
...(input.workflowTypeVersion != null && { workflowTypeVersion: input.workflowTypeVersion }),
|
|
2002
1997
|
};
|
|
2003
1998
|
};
|
|
2004
1999
|
const serializeAws_json1_0CountClosedWorkflowExecutionsInput = (input, context) => {
|
|
2005
2000
|
return {
|
|
2006
|
-
...(input.closeStatusFilter
|
|
2007
|
-
input.closeStatusFilter !== null && {
|
|
2001
|
+
...(input.closeStatusFilter != null && {
|
|
2008
2002
|
closeStatusFilter: serializeAws_json1_0CloseStatusFilter(input.closeStatusFilter, context),
|
|
2009
2003
|
}),
|
|
2010
|
-
...(input.closeTimeFilter
|
|
2011
|
-
input.closeTimeFilter !== null && {
|
|
2004
|
+
...(input.closeTimeFilter != null && {
|
|
2012
2005
|
closeTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.closeTimeFilter, context),
|
|
2013
2006
|
}),
|
|
2014
|
-
...(input.domain
|
|
2015
|
-
...(input.executionFilter
|
|
2016
|
-
input.executionFilter !== null && {
|
|
2007
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2008
|
+
...(input.executionFilter != null && {
|
|
2017
2009
|
executionFilter: serializeAws_json1_0WorkflowExecutionFilter(input.executionFilter, context),
|
|
2018
2010
|
}),
|
|
2019
|
-
...(input.startTimeFilter
|
|
2020
|
-
input.startTimeFilter !== null && {
|
|
2011
|
+
...(input.startTimeFilter != null && {
|
|
2021
2012
|
startTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.startTimeFilter, context),
|
|
2022
2013
|
}),
|
|
2023
|
-
...(input.tagFilter
|
|
2024
|
-
|
|
2025
|
-
...(input.typeFilter !== undefined &&
|
|
2026
|
-
input.typeFilter !== null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }),
|
|
2014
|
+
...(input.tagFilter != null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) }),
|
|
2015
|
+
...(input.typeFilter != null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }),
|
|
2027
2016
|
};
|
|
2028
2017
|
};
|
|
2029
2018
|
const serializeAws_json1_0CountOpenWorkflowExecutionsInput = (input, context) => {
|
|
2030
2019
|
return {
|
|
2031
|
-
...(input.domain
|
|
2032
|
-
...(input.executionFilter
|
|
2033
|
-
input.executionFilter !== null && {
|
|
2020
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2021
|
+
...(input.executionFilter != null && {
|
|
2034
2022
|
executionFilter: serializeAws_json1_0WorkflowExecutionFilter(input.executionFilter, context),
|
|
2035
2023
|
}),
|
|
2036
|
-
...(input.startTimeFilter
|
|
2037
|
-
input.startTimeFilter !== null && {
|
|
2024
|
+
...(input.startTimeFilter != null && {
|
|
2038
2025
|
startTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.startTimeFilter, context),
|
|
2039
2026
|
}),
|
|
2040
|
-
...(input.tagFilter
|
|
2041
|
-
|
|
2042
|
-
...(input.typeFilter !== undefined &&
|
|
2043
|
-
input.typeFilter !== null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }),
|
|
2027
|
+
...(input.tagFilter != null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) }),
|
|
2028
|
+
...(input.typeFilter != null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }),
|
|
2044
2029
|
};
|
|
2045
2030
|
};
|
|
2046
2031
|
const serializeAws_json1_0CountPendingActivityTasksInput = (input, context) => {
|
|
2047
2032
|
return {
|
|
2048
|
-
...(input.domain
|
|
2049
|
-
...(input.taskList
|
|
2050
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
|
|
2033
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2034
|
+
...(input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
|
|
2051
2035
|
};
|
|
2052
2036
|
};
|
|
2053
2037
|
const serializeAws_json1_0CountPendingDecisionTasksInput = (input, context) => {
|
|
2054
2038
|
return {
|
|
2055
|
-
...(input.domain
|
|
2056
|
-
...(input.taskList
|
|
2057
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
|
|
2039
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2040
|
+
...(input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
|
|
2058
2041
|
};
|
|
2059
2042
|
};
|
|
2060
2043
|
const serializeAws_json1_0Decision = (input, context) => {
|
|
2061
2044
|
return {
|
|
2062
|
-
...(input.cancelTimerDecisionAttributes
|
|
2063
|
-
input.cancelTimerDecisionAttributes !== null && {
|
|
2045
|
+
...(input.cancelTimerDecisionAttributes != null && {
|
|
2064
2046
|
cancelTimerDecisionAttributes: serializeAws_json1_0CancelTimerDecisionAttributes(input.cancelTimerDecisionAttributes, context),
|
|
2065
2047
|
}),
|
|
2066
|
-
...(input.cancelWorkflowExecutionDecisionAttributes
|
|
2067
|
-
input.cancelWorkflowExecutionDecisionAttributes !== null && {
|
|
2048
|
+
...(input.cancelWorkflowExecutionDecisionAttributes != null && {
|
|
2068
2049
|
cancelWorkflowExecutionDecisionAttributes: serializeAws_json1_0CancelWorkflowExecutionDecisionAttributes(input.cancelWorkflowExecutionDecisionAttributes, context),
|
|
2069
2050
|
}),
|
|
2070
|
-
...(input.completeWorkflowExecutionDecisionAttributes
|
|
2071
|
-
input.completeWorkflowExecutionDecisionAttributes !== null && {
|
|
2051
|
+
...(input.completeWorkflowExecutionDecisionAttributes != null && {
|
|
2072
2052
|
completeWorkflowExecutionDecisionAttributes: serializeAws_json1_0CompleteWorkflowExecutionDecisionAttributes(input.completeWorkflowExecutionDecisionAttributes, context),
|
|
2073
2053
|
}),
|
|
2074
|
-
...(input.continueAsNewWorkflowExecutionDecisionAttributes
|
|
2075
|
-
input.continueAsNewWorkflowExecutionDecisionAttributes !== null && {
|
|
2054
|
+
...(input.continueAsNewWorkflowExecutionDecisionAttributes != null && {
|
|
2076
2055
|
continueAsNewWorkflowExecutionDecisionAttributes: serializeAws_json1_0ContinueAsNewWorkflowExecutionDecisionAttributes(input.continueAsNewWorkflowExecutionDecisionAttributes, context),
|
|
2077
2056
|
}),
|
|
2078
|
-
...(input.decisionType
|
|
2079
|
-
...(input.failWorkflowExecutionDecisionAttributes
|
|
2080
|
-
input.failWorkflowExecutionDecisionAttributes !== null && {
|
|
2057
|
+
...(input.decisionType != null && { decisionType: input.decisionType }),
|
|
2058
|
+
...(input.failWorkflowExecutionDecisionAttributes != null && {
|
|
2081
2059
|
failWorkflowExecutionDecisionAttributes: serializeAws_json1_0FailWorkflowExecutionDecisionAttributes(input.failWorkflowExecutionDecisionAttributes, context),
|
|
2082
2060
|
}),
|
|
2083
|
-
...(input.recordMarkerDecisionAttributes
|
|
2084
|
-
input.recordMarkerDecisionAttributes !== null && {
|
|
2061
|
+
...(input.recordMarkerDecisionAttributes != null && {
|
|
2085
2062
|
recordMarkerDecisionAttributes: serializeAws_json1_0RecordMarkerDecisionAttributes(input.recordMarkerDecisionAttributes, context),
|
|
2086
2063
|
}),
|
|
2087
|
-
...(input.requestCancelActivityTaskDecisionAttributes
|
|
2088
|
-
input.requestCancelActivityTaskDecisionAttributes !== null && {
|
|
2064
|
+
...(input.requestCancelActivityTaskDecisionAttributes != null && {
|
|
2089
2065
|
requestCancelActivityTaskDecisionAttributes: serializeAws_json1_0RequestCancelActivityTaskDecisionAttributes(input.requestCancelActivityTaskDecisionAttributes, context),
|
|
2090
2066
|
}),
|
|
2091
|
-
...(input.requestCancelExternalWorkflowExecutionDecisionAttributes
|
|
2092
|
-
input.requestCancelExternalWorkflowExecutionDecisionAttributes !== null && {
|
|
2067
|
+
...(input.requestCancelExternalWorkflowExecutionDecisionAttributes != null && {
|
|
2093
2068
|
requestCancelExternalWorkflowExecutionDecisionAttributes: serializeAws_json1_0RequestCancelExternalWorkflowExecutionDecisionAttributes(input.requestCancelExternalWorkflowExecutionDecisionAttributes, context),
|
|
2094
2069
|
}),
|
|
2095
|
-
...(input.scheduleActivityTaskDecisionAttributes
|
|
2096
|
-
input.scheduleActivityTaskDecisionAttributes !== null && {
|
|
2070
|
+
...(input.scheduleActivityTaskDecisionAttributes != null && {
|
|
2097
2071
|
scheduleActivityTaskDecisionAttributes: serializeAws_json1_0ScheduleActivityTaskDecisionAttributes(input.scheduleActivityTaskDecisionAttributes, context),
|
|
2098
2072
|
}),
|
|
2099
|
-
...(input.scheduleLambdaFunctionDecisionAttributes
|
|
2100
|
-
input.scheduleLambdaFunctionDecisionAttributes !== null && {
|
|
2073
|
+
...(input.scheduleLambdaFunctionDecisionAttributes != null && {
|
|
2101
2074
|
scheduleLambdaFunctionDecisionAttributes: serializeAws_json1_0ScheduleLambdaFunctionDecisionAttributes(input.scheduleLambdaFunctionDecisionAttributes, context),
|
|
2102
2075
|
}),
|
|
2103
|
-
...(input.signalExternalWorkflowExecutionDecisionAttributes
|
|
2104
|
-
input.signalExternalWorkflowExecutionDecisionAttributes !== null && {
|
|
2076
|
+
...(input.signalExternalWorkflowExecutionDecisionAttributes != null && {
|
|
2105
2077
|
signalExternalWorkflowExecutionDecisionAttributes: serializeAws_json1_0SignalExternalWorkflowExecutionDecisionAttributes(input.signalExternalWorkflowExecutionDecisionAttributes, context),
|
|
2106
2078
|
}),
|
|
2107
|
-
...(input.startChildWorkflowExecutionDecisionAttributes
|
|
2108
|
-
input.startChildWorkflowExecutionDecisionAttributes !== null && {
|
|
2079
|
+
...(input.startChildWorkflowExecutionDecisionAttributes != null && {
|
|
2109
2080
|
startChildWorkflowExecutionDecisionAttributes: serializeAws_json1_0StartChildWorkflowExecutionDecisionAttributes(input.startChildWorkflowExecutionDecisionAttributes, context),
|
|
2110
2081
|
}),
|
|
2111
|
-
...(input.startTimerDecisionAttributes
|
|
2112
|
-
input.startTimerDecisionAttributes !== null && {
|
|
2082
|
+
...(input.startTimerDecisionAttributes != null && {
|
|
2113
2083
|
startTimerDecisionAttributes: serializeAws_json1_0StartTimerDecisionAttributes(input.startTimerDecisionAttributes, context),
|
|
2114
2084
|
}),
|
|
2115
2085
|
};
|
|
@@ -2126,284 +2096,242 @@ const serializeAws_json1_0DecisionList = (input, context) => {
|
|
|
2126
2096
|
};
|
|
2127
2097
|
const serializeAws_json1_0DeprecateActivityTypeInput = (input, context) => {
|
|
2128
2098
|
return {
|
|
2129
|
-
...(input.activityType
|
|
2130
|
-
|
|
2131
|
-
...(input.domain !== undefined && input.domain !== null && { domain: input.domain }),
|
|
2099
|
+
...(input.activityType != null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) }),
|
|
2100
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2132
2101
|
};
|
|
2133
2102
|
};
|
|
2134
2103
|
const serializeAws_json1_0DeprecateDomainInput = (input, context) => {
|
|
2135
2104
|
return {
|
|
2136
|
-
...(input.name
|
|
2105
|
+
...(input.name != null && { name: input.name }),
|
|
2137
2106
|
};
|
|
2138
2107
|
};
|
|
2139
2108
|
const serializeAws_json1_0DeprecateWorkflowTypeInput = (input, context) => {
|
|
2140
2109
|
return {
|
|
2141
|
-
...(input.domain
|
|
2142
|
-
...(input.workflowType
|
|
2143
|
-
input.workflowType !== null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }),
|
|
2110
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2111
|
+
...(input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }),
|
|
2144
2112
|
};
|
|
2145
2113
|
};
|
|
2146
2114
|
const serializeAws_json1_0DescribeActivityTypeInput = (input, context) => {
|
|
2147
2115
|
return {
|
|
2148
|
-
...(input.activityType
|
|
2149
|
-
|
|
2150
|
-
...(input.domain !== undefined && input.domain !== null && { domain: input.domain }),
|
|
2116
|
+
...(input.activityType != null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) }),
|
|
2117
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2151
2118
|
};
|
|
2152
2119
|
};
|
|
2153
2120
|
const serializeAws_json1_0DescribeDomainInput = (input, context) => {
|
|
2154
2121
|
return {
|
|
2155
|
-
...(input.name
|
|
2122
|
+
...(input.name != null && { name: input.name }),
|
|
2156
2123
|
};
|
|
2157
2124
|
};
|
|
2158
2125
|
const serializeAws_json1_0DescribeWorkflowExecutionInput = (input, context) => {
|
|
2159
2126
|
return {
|
|
2160
|
-
...(input.domain
|
|
2161
|
-
...(input.execution
|
|
2162
|
-
input.execution !== null && { execution: serializeAws_json1_0WorkflowExecution(input.execution, context) }),
|
|
2127
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2128
|
+
...(input.execution != null && { execution: serializeAws_json1_0WorkflowExecution(input.execution, context) }),
|
|
2163
2129
|
};
|
|
2164
2130
|
};
|
|
2165
2131
|
const serializeAws_json1_0DescribeWorkflowTypeInput = (input, context) => {
|
|
2166
2132
|
return {
|
|
2167
|
-
...(input.domain
|
|
2168
|
-
...(input.workflowType
|
|
2169
|
-
input.workflowType !== null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }),
|
|
2133
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2134
|
+
...(input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }),
|
|
2170
2135
|
};
|
|
2171
2136
|
};
|
|
2172
2137
|
const serializeAws_json1_0ExecutionTimeFilter = (input, context) => {
|
|
2173
2138
|
return {
|
|
2174
|
-
...(input.latestDate
|
|
2175
|
-
|
|
2176
|
-
...(input.oldestDate !== undefined &&
|
|
2177
|
-
input.oldestDate !== null && { oldestDate: Math.round(input.oldestDate.getTime() / 1000) }),
|
|
2139
|
+
...(input.latestDate != null && { latestDate: Math.round(input.latestDate.getTime() / 1000) }),
|
|
2140
|
+
...(input.oldestDate != null && { oldestDate: Math.round(input.oldestDate.getTime() / 1000) }),
|
|
2178
2141
|
};
|
|
2179
2142
|
};
|
|
2180
2143
|
const serializeAws_json1_0FailWorkflowExecutionDecisionAttributes = (input, context) => {
|
|
2181
2144
|
return {
|
|
2182
|
-
...(input.details
|
|
2183
|
-
...(input.reason
|
|
2145
|
+
...(input.details != null && { details: input.details }),
|
|
2146
|
+
...(input.reason != null && { reason: input.reason }),
|
|
2184
2147
|
};
|
|
2185
2148
|
};
|
|
2186
2149
|
const serializeAws_json1_0GetWorkflowExecutionHistoryInput = (input, context) => {
|
|
2187
2150
|
return {
|
|
2188
|
-
...(input.domain
|
|
2189
|
-
...(input.execution
|
|
2190
|
-
|
|
2191
|
-
...(input.
|
|
2192
|
-
|
|
2193
|
-
...(input.nextPageToken !== undefined && input.nextPageToken !== null && { nextPageToken: input.nextPageToken }),
|
|
2194
|
-
...(input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder }),
|
|
2151
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2152
|
+
...(input.execution != null && { execution: serializeAws_json1_0WorkflowExecution(input.execution, context) }),
|
|
2153
|
+
...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
|
|
2154
|
+
...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
|
|
2155
|
+
...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
|
|
2195
2156
|
};
|
|
2196
2157
|
};
|
|
2197
2158
|
const serializeAws_json1_0ListActivityTypesInput = (input, context) => {
|
|
2198
2159
|
return {
|
|
2199
|
-
...(input.domain
|
|
2200
|
-
...(input.maximumPageSize
|
|
2201
|
-
|
|
2202
|
-
...(input.
|
|
2203
|
-
...(input.
|
|
2204
|
-
...(input.
|
|
2205
|
-
input.registrationStatus !== null && { registrationStatus: input.registrationStatus }),
|
|
2206
|
-
...(input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder }),
|
|
2160
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2161
|
+
...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
|
|
2162
|
+
...(input.name != null && { name: input.name }),
|
|
2163
|
+
...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
|
|
2164
|
+
...(input.registrationStatus != null && { registrationStatus: input.registrationStatus }),
|
|
2165
|
+
...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
|
|
2207
2166
|
};
|
|
2208
2167
|
};
|
|
2209
2168
|
const serializeAws_json1_0ListClosedWorkflowExecutionsInput = (input, context) => {
|
|
2210
2169
|
return {
|
|
2211
|
-
...(input.closeStatusFilter
|
|
2212
|
-
input.closeStatusFilter !== null && {
|
|
2170
|
+
...(input.closeStatusFilter != null && {
|
|
2213
2171
|
closeStatusFilter: serializeAws_json1_0CloseStatusFilter(input.closeStatusFilter, context),
|
|
2214
2172
|
}),
|
|
2215
|
-
...(input.closeTimeFilter
|
|
2216
|
-
input.closeTimeFilter !== null && {
|
|
2173
|
+
...(input.closeTimeFilter != null && {
|
|
2217
2174
|
closeTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.closeTimeFilter, context),
|
|
2218
2175
|
}),
|
|
2219
|
-
...(input.domain
|
|
2220
|
-
...(input.executionFilter
|
|
2221
|
-
input.executionFilter !== null && {
|
|
2176
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2177
|
+
...(input.executionFilter != null && {
|
|
2222
2178
|
executionFilter: serializeAws_json1_0WorkflowExecutionFilter(input.executionFilter, context),
|
|
2223
2179
|
}),
|
|
2224
|
-
...(input.maximumPageSize
|
|
2225
|
-
|
|
2226
|
-
...(input.
|
|
2227
|
-
...(input.
|
|
2228
|
-
...(input.startTimeFilter !== undefined &&
|
|
2229
|
-
input.startTimeFilter !== null && {
|
|
2180
|
+
...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
|
|
2181
|
+
...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
|
|
2182
|
+
...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
|
|
2183
|
+
...(input.startTimeFilter != null && {
|
|
2230
2184
|
startTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.startTimeFilter, context),
|
|
2231
2185
|
}),
|
|
2232
|
-
...(input.tagFilter
|
|
2233
|
-
|
|
2234
|
-
...(input.typeFilter !== undefined &&
|
|
2235
|
-
input.typeFilter !== null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }),
|
|
2186
|
+
...(input.tagFilter != null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) }),
|
|
2187
|
+
...(input.typeFilter != null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }),
|
|
2236
2188
|
};
|
|
2237
2189
|
};
|
|
2238
2190
|
const serializeAws_json1_0ListDomainsInput = (input, context) => {
|
|
2239
2191
|
return {
|
|
2240
|
-
...(input.maximumPageSize
|
|
2241
|
-
|
|
2242
|
-
...(input.
|
|
2243
|
-
...(input.
|
|
2244
|
-
input.registrationStatus !== null && { registrationStatus: input.registrationStatus }),
|
|
2245
|
-
...(input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder }),
|
|
2192
|
+
...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
|
|
2193
|
+
...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
|
|
2194
|
+
...(input.registrationStatus != null && { registrationStatus: input.registrationStatus }),
|
|
2195
|
+
...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
|
|
2246
2196
|
};
|
|
2247
2197
|
};
|
|
2248
2198
|
const serializeAws_json1_0ListOpenWorkflowExecutionsInput = (input, context) => {
|
|
2249
2199
|
return {
|
|
2250
|
-
...(input.domain
|
|
2251
|
-
...(input.executionFilter
|
|
2252
|
-
input.executionFilter !== null && {
|
|
2200
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2201
|
+
...(input.executionFilter != null && {
|
|
2253
2202
|
executionFilter: serializeAws_json1_0WorkflowExecutionFilter(input.executionFilter, context),
|
|
2254
2203
|
}),
|
|
2255
|
-
...(input.maximumPageSize
|
|
2256
|
-
|
|
2257
|
-
...(input.
|
|
2258
|
-
...(input.
|
|
2259
|
-
...(input.startTimeFilter !== undefined &&
|
|
2260
|
-
input.startTimeFilter !== null && {
|
|
2204
|
+
...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
|
|
2205
|
+
...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
|
|
2206
|
+
...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
|
|
2207
|
+
...(input.startTimeFilter != null && {
|
|
2261
2208
|
startTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.startTimeFilter, context),
|
|
2262
2209
|
}),
|
|
2263
|
-
...(input.tagFilter
|
|
2264
|
-
|
|
2265
|
-
...(input.typeFilter !== undefined &&
|
|
2266
|
-
input.typeFilter !== null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }),
|
|
2210
|
+
...(input.tagFilter != null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) }),
|
|
2211
|
+
...(input.typeFilter != null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }),
|
|
2267
2212
|
};
|
|
2268
2213
|
};
|
|
2269
2214
|
const serializeAws_json1_0ListTagsForResourceInput = (input, context) => {
|
|
2270
2215
|
return {
|
|
2271
|
-
...(input.resourceArn
|
|
2216
|
+
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2272
2217
|
};
|
|
2273
2218
|
};
|
|
2274
2219
|
const serializeAws_json1_0ListWorkflowTypesInput = (input, context) => {
|
|
2275
2220
|
return {
|
|
2276
|
-
...(input.domain
|
|
2277
|
-
...(input.maximumPageSize
|
|
2278
|
-
|
|
2279
|
-
...(input.
|
|
2280
|
-
...(input.
|
|
2281
|
-
...(input.
|
|
2282
|
-
input.registrationStatus !== null && { registrationStatus: input.registrationStatus }),
|
|
2283
|
-
...(input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder }),
|
|
2221
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2222
|
+
...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
|
|
2223
|
+
...(input.name != null && { name: input.name }),
|
|
2224
|
+
...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
|
|
2225
|
+
...(input.registrationStatus != null && { registrationStatus: input.registrationStatus }),
|
|
2226
|
+
...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
|
|
2284
2227
|
};
|
|
2285
2228
|
};
|
|
2286
2229
|
const serializeAws_json1_0PollForActivityTaskInput = (input, context) => {
|
|
2287
2230
|
return {
|
|
2288
|
-
...(input.domain
|
|
2289
|
-
...(input.identity
|
|
2290
|
-
...(input.taskList
|
|
2291
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
|
|
2231
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2232
|
+
...(input.identity != null && { identity: input.identity }),
|
|
2233
|
+
...(input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
|
|
2292
2234
|
};
|
|
2293
2235
|
};
|
|
2294
2236
|
const serializeAws_json1_0PollForDecisionTaskInput = (input, context) => {
|
|
2295
2237
|
return {
|
|
2296
|
-
...(input.domain
|
|
2297
|
-
...(input.identity
|
|
2298
|
-
...(input.maximumPageSize
|
|
2299
|
-
|
|
2300
|
-
...(input.
|
|
2301
|
-
...(input.
|
|
2302
|
-
...(input.taskList !== undefined &&
|
|
2303
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
|
|
2238
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2239
|
+
...(input.identity != null && { identity: input.identity }),
|
|
2240
|
+
...(input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize }),
|
|
2241
|
+
...(input.nextPageToken != null && { nextPageToken: input.nextPageToken }),
|
|
2242
|
+
...(input.reverseOrder != null && { reverseOrder: input.reverseOrder }),
|
|
2243
|
+
...(input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
|
|
2304
2244
|
};
|
|
2305
2245
|
};
|
|
2306
2246
|
const serializeAws_json1_0RecordActivityTaskHeartbeatInput = (input, context) => {
|
|
2307
2247
|
return {
|
|
2308
|
-
...(input.details
|
|
2309
|
-
...(input.taskToken
|
|
2248
|
+
...(input.details != null && { details: input.details }),
|
|
2249
|
+
...(input.taskToken != null && { taskToken: input.taskToken }),
|
|
2310
2250
|
};
|
|
2311
2251
|
};
|
|
2312
2252
|
const serializeAws_json1_0RecordMarkerDecisionAttributes = (input, context) => {
|
|
2313
2253
|
return {
|
|
2314
|
-
...(input.details
|
|
2315
|
-
...(input.markerName
|
|
2254
|
+
...(input.details != null && { details: input.details }),
|
|
2255
|
+
...(input.markerName != null && { markerName: input.markerName }),
|
|
2316
2256
|
};
|
|
2317
2257
|
};
|
|
2318
2258
|
const serializeAws_json1_0RegisterActivityTypeInput = (input, context) => {
|
|
2319
2259
|
return {
|
|
2320
|
-
...(input.defaultTaskHeartbeatTimeout
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2260
|
+
...(input.defaultTaskHeartbeatTimeout != null && {
|
|
2261
|
+
defaultTaskHeartbeatTimeout: input.defaultTaskHeartbeatTimeout,
|
|
2262
|
+
}),
|
|
2263
|
+
...(input.defaultTaskList != null && {
|
|
2324
2264
|
defaultTaskList: serializeAws_json1_0TaskList(input.defaultTaskList, context),
|
|
2325
2265
|
}),
|
|
2326
|
-
...(input.defaultTaskPriority
|
|
2327
|
-
|
|
2328
|
-
...(input.defaultTaskScheduleToCloseTimeout !== undefined &&
|
|
2329
|
-
input.defaultTaskScheduleToCloseTimeout !== null && {
|
|
2266
|
+
...(input.defaultTaskPriority != null && { defaultTaskPriority: input.defaultTaskPriority }),
|
|
2267
|
+
...(input.defaultTaskScheduleToCloseTimeout != null && {
|
|
2330
2268
|
defaultTaskScheduleToCloseTimeout: input.defaultTaskScheduleToCloseTimeout,
|
|
2331
2269
|
}),
|
|
2332
|
-
...(input.defaultTaskScheduleToStartTimeout
|
|
2333
|
-
input.defaultTaskScheduleToStartTimeout !== null && {
|
|
2270
|
+
...(input.defaultTaskScheduleToStartTimeout != null && {
|
|
2334
2271
|
defaultTaskScheduleToStartTimeout: input.defaultTaskScheduleToStartTimeout,
|
|
2335
2272
|
}),
|
|
2336
|
-
...(input.defaultTaskStartToCloseTimeout
|
|
2337
|
-
input.defaultTaskStartToCloseTimeout !== null && {
|
|
2273
|
+
...(input.defaultTaskStartToCloseTimeout != null && {
|
|
2338
2274
|
defaultTaskStartToCloseTimeout: input.defaultTaskStartToCloseTimeout,
|
|
2339
2275
|
}),
|
|
2340
|
-
...(input.description
|
|
2341
|
-
...(input.domain
|
|
2342
|
-
...(input.name
|
|
2343
|
-
...(input.version
|
|
2276
|
+
...(input.description != null && { description: input.description }),
|
|
2277
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2278
|
+
...(input.name != null && { name: input.name }),
|
|
2279
|
+
...(input.version != null && { version: input.version }),
|
|
2344
2280
|
};
|
|
2345
2281
|
};
|
|
2346
2282
|
const serializeAws_json1_0RegisterDomainInput = (input, context) => {
|
|
2347
2283
|
return {
|
|
2348
|
-
...(input.description
|
|
2349
|
-
...(input.name
|
|
2350
|
-
...(input.tags
|
|
2351
|
-
|
|
2352
|
-
...(input.workflowExecutionRetentionPeriodInDays !== undefined &&
|
|
2353
|
-
input.workflowExecutionRetentionPeriodInDays !== null && {
|
|
2284
|
+
...(input.description != null && { description: input.description }),
|
|
2285
|
+
...(input.name != null && { name: input.name }),
|
|
2286
|
+
...(input.tags != null && { tags: serializeAws_json1_0ResourceTagList(input.tags, context) }),
|
|
2287
|
+
...(input.workflowExecutionRetentionPeriodInDays != null && {
|
|
2354
2288
|
workflowExecutionRetentionPeriodInDays: input.workflowExecutionRetentionPeriodInDays,
|
|
2355
2289
|
}),
|
|
2356
2290
|
};
|
|
2357
2291
|
};
|
|
2358
2292
|
const serializeAws_json1_0RegisterWorkflowTypeInput = (input, context) => {
|
|
2359
2293
|
return {
|
|
2360
|
-
...(input.defaultChildPolicy
|
|
2361
|
-
|
|
2362
|
-
...(input.defaultExecutionStartToCloseTimeout !== undefined &&
|
|
2363
|
-
input.defaultExecutionStartToCloseTimeout !== null && {
|
|
2294
|
+
...(input.defaultChildPolicy != null && { defaultChildPolicy: input.defaultChildPolicy }),
|
|
2295
|
+
...(input.defaultExecutionStartToCloseTimeout != null && {
|
|
2364
2296
|
defaultExecutionStartToCloseTimeout: input.defaultExecutionStartToCloseTimeout,
|
|
2365
2297
|
}),
|
|
2366
|
-
...(input.defaultLambdaRole
|
|
2367
|
-
|
|
2368
|
-
...(input.defaultTaskList !== undefined &&
|
|
2369
|
-
input.defaultTaskList !== null && {
|
|
2298
|
+
...(input.defaultLambdaRole != null && { defaultLambdaRole: input.defaultLambdaRole }),
|
|
2299
|
+
...(input.defaultTaskList != null && {
|
|
2370
2300
|
defaultTaskList: serializeAws_json1_0TaskList(input.defaultTaskList, context),
|
|
2371
2301
|
}),
|
|
2372
|
-
...(input.defaultTaskPriority
|
|
2373
|
-
|
|
2374
|
-
...(input.defaultTaskStartToCloseTimeout !== undefined &&
|
|
2375
|
-
input.defaultTaskStartToCloseTimeout !== null && {
|
|
2302
|
+
...(input.defaultTaskPriority != null && { defaultTaskPriority: input.defaultTaskPriority }),
|
|
2303
|
+
...(input.defaultTaskStartToCloseTimeout != null && {
|
|
2376
2304
|
defaultTaskStartToCloseTimeout: input.defaultTaskStartToCloseTimeout,
|
|
2377
2305
|
}),
|
|
2378
|
-
...(input.description
|
|
2379
|
-
...(input.domain
|
|
2380
|
-
...(input.name
|
|
2381
|
-
...(input.version
|
|
2306
|
+
...(input.description != null && { description: input.description }),
|
|
2307
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2308
|
+
...(input.name != null && { name: input.name }),
|
|
2309
|
+
...(input.version != null && { version: input.version }),
|
|
2382
2310
|
};
|
|
2383
2311
|
};
|
|
2384
2312
|
const serializeAws_json1_0RequestCancelActivityTaskDecisionAttributes = (input, context) => {
|
|
2385
2313
|
return {
|
|
2386
|
-
...(input.activityId
|
|
2314
|
+
...(input.activityId != null && { activityId: input.activityId }),
|
|
2387
2315
|
};
|
|
2388
2316
|
};
|
|
2389
2317
|
const serializeAws_json1_0RequestCancelExternalWorkflowExecutionDecisionAttributes = (input, context) => {
|
|
2390
2318
|
return {
|
|
2391
|
-
...(input.control
|
|
2392
|
-
...(input.runId
|
|
2393
|
-
...(input.workflowId
|
|
2319
|
+
...(input.control != null && { control: input.control }),
|
|
2320
|
+
...(input.runId != null && { runId: input.runId }),
|
|
2321
|
+
...(input.workflowId != null && { workflowId: input.workflowId }),
|
|
2394
2322
|
};
|
|
2395
2323
|
};
|
|
2396
2324
|
const serializeAws_json1_0RequestCancelWorkflowExecutionInput = (input, context) => {
|
|
2397
2325
|
return {
|
|
2398
|
-
...(input.domain
|
|
2399
|
-
...(input.runId
|
|
2400
|
-
...(input.workflowId
|
|
2326
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2327
|
+
...(input.runId != null && { runId: input.runId }),
|
|
2328
|
+
...(input.workflowId != null && { workflowId: input.workflowId }),
|
|
2401
2329
|
};
|
|
2402
2330
|
};
|
|
2403
2331
|
const serializeAws_json1_0ResourceTag = (input, context) => {
|
|
2404
2332
|
return {
|
|
2405
|
-
...(input.key
|
|
2406
|
-
...(input.value
|
|
2333
|
+
...(input.key != null && { key: input.key }),
|
|
2334
|
+
...(input.value != null && { value: input.value }),
|
|
2407
2335
|
};
|
|
2408
2336
|
};
|
|
2409
2337
|
const serializeAws_json1_0ResourceTagKeyList = (input, context) => {
|
|
@@ -2428,135 +2356,115 @@ const serializeAws_json1_0ResourceTagList = (input, context) => {
|
|
|
2428
2356
|
};
|
|
2429
2357
|
const serializeAws_json1_0RespondActivityTaskCanceledInput = (input, context) => {
|
|
2430
2358
|
return {
|
|
2431
|
-
...(input.details
|
|
2432
|
-
...(input.taskToken
|
|
2359
|
+
...(input.details != null && { details: input.details }),
|
|
2360
|
+
...(input.taskToken != null && { taskToken: input.taskToken }),
|
|
2433
2361
|
};
|
|
2434
2362
|
};
|
|
2435
2363
|
const serializeAws_json1_0RespondActivityTaskCompletedInput = (input, context) => {
|
|
2436
2364
|
return {
|
|
2437
|
-
...(input.result
|
|
2438
|
-
...(input.taskToken
|
|
2365
|
+
...(input.result != null && { result: input.result }),
|
|
2366
|
+
...(input.taskToken != null && { taskToken: input.taskToken }),
|
|
2439
2367
|
};
|
|
2440
2368
|
};
|
|
2441
2369
|
const serializeAws_json1_0RespondActivityTaskFailedInput = (input, context) => {
|
|
2442
2370
|
return {
|
|
2443
|
-
...(input.details
|
|
2444
|
-
...(input.reason
|
|
2445
|
-
...(input.taskToken
|
|
2371
|
+
...(input.details != null && { details: input.details }),
|
|
2372
|
+
...(input.reason != null && { reason: input.reason }),
|
|
2373
|
+
...(input.taskToken != null && { taskToken: input.taskToken }),
|
|
2446
2374
|
};
|
|
2447
2375
|
};
|
|
2448
2376
|
const serializeAws_json1_0RespondDecisionTaskCompletedInput = (input, context) => {
|
|
2449
2377
|
return {
|
|
2450
|
-
...(input.decisions
|
|
2451
|
-
|
|
2452
|
-
...(input.
|
|
2453
|
-
input.executionContext !== null && { executionContext: input.executionContext }),
|
|
2454
|
-
...(input.taskToken !== undefined && input.taskToken !== null && { taskToken: input.taskToken }),
|
|
2378
|
+
...(input.decisions != null && { decisions: serializeAws_json1_0DecisionList(input.decisions, context) }),
|
|
2379
|
+
...(input.executionContext != null && { executionContext: input.executionContext }),
|
|
2380
|
+
...(input.taskToken != null && { taskToken: input.taskToken }),
|
|
2455
2381
|
};
|
|
2456
2382
|
};
|
|
2457
2383
|
const serializeAws_json1_0ScheduleActivityTaskDecisionAttributes = (input, context) => {
|
|
2458
2384
|
return {
|
|
2459
|
-
...(input.activityId
|
|
2460
|
-
...(input.activityType
|
|
2461
|
-
|
|
2462
|
-
...(input.
|
|
2463
|
-
...(input.
|
|
2464
|
-
|
|
2465
|
-
...(input.
|
|
2466
|
-
...(input.
|
|
2467
|
-
|
|
2468
|
-
...(input.
|
|
2469
|
-
input.scheduleToStartTimeout !== null && { scheduleToStartTimeout: input.scheduleToStartTimeout }),
|
|
2470
|
-
...(input.startToCloseTimeout !== undefined &&
|
|
2471
|
-
input.startToCloseTimeout !== null && { startToCloseTimeout: input.startToCloseTimeout }),
|
|
2472
|
-
...(input.taskList !== undefined &&
|
|
2473
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
|
|
2474
|
-
...(input.taskPriority !== undefined && input.taskPriority !== null && { taskPriority: input.taskPriority }),
|
|
2385
|
+
...(input.activityId != null && { activityId: input.activityId }),
|
|
2386
|
+
...(input.activityType != null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) }),
|
|
2387
|
+
...(input.control != null && { control: input.control }),
|
|
2388
|
+
...(input.heartbeatTimeout != null && { heartbeatTimeout: input.heartbeatTimeout }),
|
|
2389
|
+
...(input.input != null && { input: input.input }),
|
|
2390
|
+
...(input.scheduleToCloseTimeout != null && { scheduleToCloseTimeout: input.scheduleToCloseTimeout }),
|
|
2391
|
+
...(input.scheduleToStartTimeout != null && { scheduleToStartTimeout: input.scheduleToStartTimeout }),
|
|
2392
|
+
...(input.startToCloseTimeout != null && { startToCloseTimeout: input.startToCloseTimeout }),
|
|
2393
|
+
...(input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
|
|
2394
|
+
...(input.taskPriority != null && { taskPriority: input.taskPriority }),
|
|
2475
2395
|
};
|
|
2476
2396
|
};
|
|
2477
2397
|
const serializeAws_json1_0ScheduleLambdaFunctionDecisionAttributes = (input, context) => {
|
|
2478
2398
|
return {
|
|
2479
|
-
...(input.control
|
|
2480
|
-
...(input.id
|
|
2481
|
-
...(input.input
|
|
2482
|
-
...(input.name
|
|
2483
|
-
...(input.startToCloseTimeout
|
|
2484
|
-
input.startToCloseTimeout !== null && { startToCloseTimeout: input.startToCloseTimeout }),
|
|
2399
|
+
...(input.control != null && { control: input.control }),
|
|
2400
|
+
...(input.id != null && { id: input.id }),
|
|
2401
|
+
...(input.input != null && { input: input.input }),
|
|
2402
|
+
...(input.name != null && { name: input.name }),
|
|
2403
|
+
...(input.startToCloseTimeout != null && { startToCloseTimeout: input.startToCloseTimeout }),
|
|
2485
2404
|
};
|
|
2486
2405
|
};
|
|
2487
2406
|
const serializeAws_json1_0SignalExternalWorkflowExecutionDecisionAttributes = (input, context) => {
|
|
2488
2407
|
return {
|
|
2489
|
-
...(input.control
|
|
2490
|
-
...(input.input
|
|
2491
|
-
...(input.runId
|
|
2492
|
-
...(input.signalName
|
|
2493
|
-
...(input.workflowId
|
|
2408
|
+
...(input.control != null && { control: input.control }),
|
|
2409
|
+
...(input.input != null && { input: input.input }),
|
|
2410
|
+
...(input.runId != null && { runId: input.runId }),
|
|
2411
|
+
...(input.signalName != null && { signalName: input.signalName }),
|
|
2412
|
+
...(input.workflowId != null && { workflowId: input.workflowId }),
|
|
2494
2413
|
};
|
|
2495
2414
|
};
|
|
2496
2415
|
const serializeAws_json1_0SignalWorkflowExecutionInput = (input, context) => {
|
|
2497
2416
|
return {
|
|
2498
|
-
...(input.domain
|
|
2499
|
-
...(input.input
|
|
2500
|
-
...(input.runId
|
|
2501
|
-
...(input.signalName
|
|
2502
|
-
...(input.workflowId
|
|
2417
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2418
|
+
...(input.input != null && { input: input.input }),
|
|
2419
|
+
...(input.runId != null && { runId: input.runId }),
|
|
2420
|
+
...(input.signalName != null && { signalName: input.signalName }),
|
|
2421
|
+
...(input.workflowId != null && { workflowId: input.workflowId }),
|
|
2503
2422
|
};
|
|
2504
2423
|
};
|
|
2505
2424
|
const serializeAws_json1_0StartChildWorkflowExecutionDecisionAttributes = (input, context) => {
|
|
2506
2425
|
return {
|
|
2507
|
-
...(input.childPolicy
|
|
2508
|
-
...(input.control
|
|
2509
|
-
...(input.executionStartToCloseTimeout
|
|
2510
|
-
input.executionStartToCloseTimeout !== null && {
|
|
2426
|
+
...(input.childPolicy != null && { childPolicy: input.childPolicy }),
|
|
2427
|
+
...(input.control != null && { control: input.control }),
|
|
2428
|
+
...(input.executionStartToCloseTimeout != null && {
|
|
2511
2429
|
executionStartToCloseTimeout: input.executionStartToCloseTimeout,
|
|
2512
2430
|
}),
|
|
2513
|
-
...(input.input
|
|
2514
|
-
...(input.lambdaRole
|
|
2515
|
-
...(input.tagList
|
|
2516
|
-
|
|
2517
|
-
...(input.
|
|
2518
|
-
|
|
2519
|
-
...(input.
|
|
2520
|
-
...(input.
|
|
2521
|
-
input.taskStartToCloseTimeout !== null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout }),
|
|
2522
|
-
...(input.workflowId !== undefined && input.workflowId !== null && { workflowId: input.workflowId }),
|
|
2523
|
-
...(input.workflowType !== undefined &&
|
|
2524
|
-
input.workflowType !== null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }),
|
|
2431
|
+
...(input.input != null && { input: input.input }),
|
|
2432
|
+
...(input.lambdaRole != null && { lambdaRole: input.lambdaRole }),
|
|
2433
|
+
...(input.tagList != null && { tagList: serializeAws_json1_0TagList(input.tagList, context) }),
|
|
2434
|
+
...(input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
|
|
2435
|
+
...(input.taskPriority != null && { taskPriority: input.taskPriority }),
|
|
2436
|
+
...(input.taskStartToCloseTimeout != null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout }),
|
|
2437
|
+
...(input.workflowId != null && { workflowId: input.workflowId }),
|
|
2438
|
+
...(input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }),
|
|
2525
2439
|
};
|
|
2526
2440
|
};
|
|
2527
2441
|
const serializeAws_json1_0StartTimerDecisionAttributes = (input, context) => {
|
|
2528
2442
|
return {
|
|
2529
|
-
...(input.control
|
|
2530
|
-
...(input.startToFireTimeout
|
|
2531
|
-
|
|
2532
|
-
...(input.timerId !== undefined && input.timerId !== null && { timerId: input.timerId }),
|
|
2443
|
+
...(input.control != null && { control: input.control }),
|
|
2444
|
+
...(input.startToFireTimeout != null && { startToFireTimeout: input.startToFireTimeout }),
|
|
2445
|
+
...(input.timerId != null && { timerId: input.timerId }),
|
|
2533
2446
|
};
|
|
2534
2447
|
};
|
|
2535
2448
|
const serializeAws_json1_0StartWorkflowExecutionInput = (input, context) => {
|
|
2536
2449
|
return {
|
|
2537
|
-
...(input.childPolicy
|
|
2538
|
-
...(input.domain
|
|
2539
|
-
...(input.executionStartToCloseTimeout
|
|
2540
|
-
input.executionStartToCloseTimeout !== null && {
|
|
2450
|
+
...(input.childPolicy != null && { childPolicy: input.childPolicy }),
|
|
2451
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2452
|
+
...(input.executionStartToCloseTimeout != null && {
|
|
2541
2453
|
executionStartToCloseTimeout: input.executionStartToCloseTimeout,
|
|
2542
2454
|
}),
|
|
2543
|
-
...(input.input
|
|
2544
|
-
...(input.lambdaRole
|
|
2545
|
-
...(input.tagList
|
|
2546
|
-
|
|
2547
|
-
...(input.
|
|
2548
|
-
|
|
2549
|
-
...(input.
|
|
2550
|
-
...(input.
|
|
2551
|
-
input.taskStartToCloseTimeout !== null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout }),
|
|
2552
|
-
...(input.workflowId !== undefined && input.workflowId !== null && { workflowId: input.workflowId }),
|
|
2553
|
-
...(input.workflowType !== undefined &&
|
|
2554
|
-
input.workflowType !== null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }),
|
|
2455
|
+
...(input.input != null && { input: input.input }),
|
|
2456
|
+
...(input.lambdaRole != null && { lambdaRole: input.lambdaRole }),
|
|
2457
|
+
...(input.tagList != null && { tagList: serializeAws_json1_0TagList(input.tagList, context) }),
|
|
2458
|
+
...(input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }),
|
|
2459
|
+
...(input.taskPriority != null && { taskPriority: input.taskPriority }),
|
|
2460
|
+
...(input.taskStartToCloseTimeout != null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout }),
|
|
2461
|
+
...(input.workflowId != null && { workflowId: input.workflowId }),
|
|
2462
|
+
...(input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }),
|
|
2555
2463
|
};
|
|
2556
2464
|
};
|
|
2557
2465
|
const serializeAws_json1_0TagFilter = (input, context) => {
|
|
2558
2466
|
return {
|
|
2559
|
-
...(input.tag
|
|
2467
|
+
...(input.tag != null && { tag: input.tag }),
|
|
2560
2468
|
};
|
|
2561
2469
|
};
|
|
2562
2470
|
const serializeAws_json1_0TagList = (input, context) => {
|
|
@@ -2571,85 +2479,79 @@ const serializeAws_json1_0TagList = (input, context) => {
|
|
|
2571
2479
|
};
|
|
2572
2480
|
const serializeAws_json1_0TagResourceInput = (input, context) => {
|
|
2573
2481
|
return {
|
|
2574
|
-
...(input.resourceArn
|
|
2575
|
-
...(input.tags
|
|
2576
|
-
input.tags !== null && { tags: serializeAws_json1_0ResourceTagList(input.tags, context) }),
|
|
2482
|
+
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2483
|
+
...(input.tags != null && { tags: serializeAws_json1_0ResourceTagList(input.tags, context) }),
|
|
2577
2484
|
};
|
|
2578
2485
|
};
|
|
2579
2486
|
const serializeAws_json1_0TaskList = (input, context) => {
|
|
2580
2487
|
return {
|
|
2581
|
-
...(input.name
|
|
2488
|
+
...(input.name != null && { name: input.name }),
|
|
2582
2489
|
};
|
|
2583
2490
|
};
|
|
2584
2491
|
const serializeAws_json1_0TerminateWorkflowExecutionInput = (input, context) => {
|
|
2585
2492
|
return {
|
|
2586
|
-
...(input.childPolicy
|
|
2587
|
-
...(input.details
|
|
2588
|
-
...(input.domain
|
|
2589
|
-
...(input.reason
|
|
2590
|
-
...(input.runId
|
|
2591
|
-
...(input.workflowId
|
|
2493
|
+
...(input.childPolicy != null && { childPolicy: input.childPolicy }),
|
|
2494
|
+
...(input.details != null && { details: input.details }),
|
|
2495
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2496
|
+
...(input.reason != null && { reason: input.reason }),
|
|
2497
|
+
...(input.runId != null && { runId: input.runId }),
|
|
2498
|
+
...(input.workflowId != null && { workflowId: input.workflowId }),
|
|
2592
2499
|
};
|
|
2593
2500
|
};
|
|
2594
2501
|
const serializeAws_json1_0UndeprecateActivityTypeInput = (input, context) => {
|
|
2595
2502
|
return {
|
|
2596
|
-
...(input.activityType
|
|
2597
|
-
|
|
2598
|
-
...(input.domain !== undefined && input.domain !== null && { domain: input.domain }),
|
|
2503
|
+
...(input.activityType != null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) }),
|
|
2504
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2599
2505
|
};
|
|
2600
2506
|
};
|
|
2601
2507
|
const serializeAws_json1_0UndeprecateDomainInput = (input, context) => {
|
|
2602
2508
|
return {
|
|
2603
|
-
...(input.name
|
|
2509
|
+
...(input.name != null && { name: input.name }),
|
|
2604
2510
|
};
|
|
2605
2511
|
};
|
|
2606
2512
|
const serializeAws_json1_0UndeprecateWorkflowTypeInput = (input, context) => {
|
|
2607
2513
|
return {
|
|
2608
|
-
...(input.domain
|
|
2609
|
-
...(input.workflowType
|
|
2610
|
-
input.workflowType !== null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }),
|
|
2514
|
+
...(input.domain != null && { domain: input.domain }),
|
|
2515
|
+
...(input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }),
|
|
2611
2516
|
};
|
|
2612
2517
|
};
|
|
2613
2518
|
const serializeAws_json1_0UntagResourceInput = (input, context) => {
|
|
2614
2519
|
return {
|
|
2615
|
-
...(input.resourceArn
|
|
2616
|
-
...(input.tagKeys
|
|
2617
|
-
input.tagKeys !== null && { tagKeys: serializeAws_json1_0ResourceTagKeyList(input.tagKeys, context) }),
|
|
2520
|
+
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
2521
|
+
...(input.tagKeys != null && { tagKeys: serializeAws_json1_0ResourceTagKeyList(input.tagKeys, context) }),
|
|
2618
2522
|
};
|
|
2619
2523
|
};
|
|
2620
2524
|
const serializeAws_json1_0WorkflowExecution = (input, context) => {
|
|
2621
2525
|
return {
|
|
2622
|
-
...(input.runId
|
|
2623
|
-
...(input.workflowId
|
|
2526
|
+
...(input.runId != null && { runId: input.runId }),
|
|
2527
|
+
...(input.workflowId != null && { workflowId: input.workflowId }),
|
|
2624
2528
|
};
|
|
2625
2529
|
};
|
|
2626
2530
|
const serializeAws_json1_0WorkflowExecutionFilter = (input, context) => {
|
|
2627
2531
|
return {
|
|
2628
|
-
...(input.workflowId
|
|
2532
|
+
...(input.workflowId != null && { workflowId: input.workflowId }),
|
|
2629
2533
|
};
|
|
2630
2534
|
};
|
|
2631
2535
|
const serializeAws_json1_0WorkflowType = (input, context) => {
|
|
2632
2536
|
return {
|
|
2633
|
-
...(input.name
|
|
2634
|
-
...(input.version
|
|
2537
|
+
...(input.name != null && { name: input.name }),
|
|
2538
|
+
...(input.version != null && { version: input.version }),
|
|
2635
2539
|
};
|
|
2636
2540
|
};
|
|
2637
2541
|
const serializeAws_json1_0WorkflowTypeFilter = (input, context) => {
|
|
2638
2542
|
return {
|
|
2639
|
-
...(input.name
|
|
2640
|
-
...(input.version
|
|
2543
|
+
...(input.name != null && { name: input.name }),
|
|
2544
|
+
...(input.version != null && { version: input.version }),
|
|
2641
2545
|
};
|
|
2642
2546
|
};
|
|
2643
2547
|
const deserializeAws_json1_0ActivityTask = (output, context) => {
|
|
2644
2548
|
return {
|
|
2645
2549
|
activityId: (0, smithy_client_1.expectString)(output.activityId),
|
|
2646
|
-
activityType: output.activityType
|
|
2647
|
-
? deserializeAws_json1_0ActivityType(output.activityType, context)
|
|
2648
|
-
: undefined,
|
|
2550
|
+
activityType: output.activityType != null ? deserializeAws_json1_0ActivityType(output.activityType, context) : undefined,
|
|
2649
2551
|
input: (0, smithy_client_1.expectString)(output.input),
|
|
2650
2552
|
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2651
2553
|
taskToken: (0, smithy_client_1.expectString)(output.taskToken),
|
|
2652
|
-
workflowExecution: output.workflowExecution
|
|
2554
|
+
workflowExecution: output.workflowExecution != null
|
|
2653
2555
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
2654
2556
|
: undefined,
|
|
2655
2557
|
};
|
|
@@ -2686,9 +2588,7 @@ const deserializeAws_json1_0ActivityTaskFailedEventAttributes = (output, context
|
|
|
2686
2588
|
const deserializeAws_json1_0ActivityTaskScheduledEventAttributes = (output, context) => {
|
|
2687
2589
|
return {
|
|
2688
2590
|
activityId: (0, smithy_client_1.expectString)(output.activityId),
|
|
2689
|
-
activityType: output.activityType
|
|
2690
|
-
? deserializeAws_json1_0ActivityType(output.activityType, context)
|
|
2691
|
-
: undefined,
|
|
2591
|
+
activityType: output.activityType != null ? deserializeAws_json1_0ActivityType(output.activityType, context) : undefined,
|
|
2692
2592
|
control: (0, smithy_client_1.expectString)(output.control),
|
|
2693
2593
|
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
2694
2594
|
heartbeatTimeout: (0, smithy_client_1.expectString)(output.heartbeatTimeout),
|
|
@@ -2696,9 +2596,7 @@ const deserializeAws_json1_0ActivityTaskScheduledEventAttributes = (output, cont
|
|
|
2696
2596
|
scheduleToCloseTimeout: (0, smithy_client_1.expectString)(output.scheduleToCloseTimeout),
|
|
2697
2597
|
scheduleToStartTimeout: (0, smithy_client_1.expectString)(output.scheduleToStartTimeout),
|
|
2698
2598
|
startToCloseTimeout: (0, smithy_client_1.expectString)(output.startToCloseTimeout),
|
|
2699
|
-
taskList: output.taskList
|
|
2700
|
-
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
2701
|
-
: undefined,
|
|
2599
|
+
taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
|
|
2702
2600
|
taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
|
|
2703
2601
|
};
|
|
2704
2602
|
};
|
|
@@ -2730,9 +2628,7 @@ const deserializeAws_json1_0ActivityType = (output, context) => {
|
|
|
2730
2628
|
const deserializeAws_json1_0ActivityTypeConfiguration = (output, context) => {
|
|
2731
2629
|
return {
|
|
2732
2630
|
defaultTaskHeartbeatTimeout: (0, smithy_client_1.expectString)(output.defaultTaskHeartbeatTimeout),
|
|
2733
|
-
defaultTaskList: output.defaultTaskList
|
|
2734
|
-
? deserializeAws_json1_0TaskList(output.defaultTaskList, context)
|
|
2735
|
-
: undefined,
|
|
2631
|
+
defaultTaskList: output.defaultTaskList != null ? deserializeAws_json1_0TaskList(output.defaultTaskList, context) : undefined,
|
|
2736
2632
|
defaultTaskPriority: (0, smithy_client_1.expectString)(output.defaultTaskPriority),
|
|
2737
2633
|
defaultTaskScheduleToCloseTimeout: (0, smithy_client_1.expectString)(output.defaultTaskScheduleToCloseTimeout),
|
|
2738
2634
|
defaultTaskScheduleToStartTimeout: (0, smithy_client_1.expectString)(output.defaultTaskScheduleToStartTimeout),
|
|
@@ -2741,23 +2637,19 @@ const deserializeAws_json1_0ActivityTypeConfiguration = (output, context) => {
|
|
|
2741
2637
|
};
|
|
2742
2638
|
const deserializeAws_json1_0ActivityTypeDetail = (output, context) => {
|
|
2743
2639
|
return {
|
|
2744
|
-
configuration: output.configuration
|
|
2640
|
+
configuration: output.configuration != null
|
|
2745
2641
|
? deserializeAws_json1_0ActivityTypeConfiguration(output.configuration, context)
|
|
2746
2642
|
: undefined,
|
|
2747
|
-
typeInfo: output.typeInfo
|
|
2748
|
-
? deserializeAws_json1_0ActivityTypeInfo(output.typeInfo, context)
|
|
2749
|
-
: undefined,
|
|
2643
|
+
typeInfo: output.typeInfo != null ? deserializeAws_json1_0ActivityTypeInfo(output.typeInfo, context) : undefined,
|
|
2750
2644
|
};
|
|
2751
2645
|
};
|
|
2752
2646
|
const deserializeAws_json1_0ActivityTypeInfo = (output, context) => {
|
|
2753
2647
|
return {
|
|
2754
|
-
activityType: output.activityType
|
|
2755
|
-
|
|
2756
|
-
: undefined,
|
|
2757
|
-
creationDate: output.creationDate !== undefined && output.creationDate !== null
|
|
2648
|
+
activityType: output.activityType != null ? deserializeAws_json1_0ActivityType(output.activityType, context) : undefined,
|
|
2649
|
+
creationDate: output.creationDate != null
|
|
2758
2650
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDate)))
|
|
2759
2651
|
: undefined,
|
|
2760
|
-
deprecationDate: output.deprecationDate
|
|
2652
|
+
deprecationDate: output.deprecationDate != null
|
|
2761
2653
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.deprecationDate)))
|
|
2762
2654
|
: undefined,
|
|
2763
2655
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
@@ -2778,9 +2670,7 @@ const deserializeAws_json1_0ActivityTypeInfoList = (output, context) => {
|
|
|
2778
2670
|
const deserializeAws_json1_0ActivityTypeInfos = (output, context) => {
|
|
2779
2671
|
return {
|
|
2780
2672
|
nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
|
|
2781
|
-
typeInfos: output.typeInfos
|
|
2782
|
-
? deserializeAws_json1_0ActivityTypeInfoList(output.typeInfos, context)
|
|
2783
|
-
: undefined,
|
|
2673
|
+
typeInfos: output.typeInfos != null ? deserializeAws_json1_0ActivityTypeInfoList(output.typeInfos, context) : undefined,
|
|
2784
2674
|
};
|
|
2785
2675
|
};
|
|
2786
2676
|
const deserializeAws_json1_0CancelTimerFailedEventAttributes = (output, context) => {
|
|
@@ -2801,12 +2691,10 @@ const deserializeAws_json1_0ChildWorkflowExecutionCanceledEventAttributes = (out
|
|
|
2801
2691
|
details: (0, smithy_client_1.expectString)(output.details),
|
|
2802
2692
|
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
2803
2693
|
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2804
|
-
workflowExecution: output.workflowExecution
|
|
2694
|
+
workflowExecution: output.workflowExecution != null
|
|
2805
2695
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
2806
2696
|
: undefined,
|
|
2807
|
-
workflowType: output.workflowType
|
|
2808
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
2809
|
-
: undefined,
|
|
2697
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
2810
2698
|
};
|
|
2811
2699
|
};
|
|
2812
2700
|
const deserializeAws_json1_0ChildWorkflowExecutionCompletedEventAttributes = (output, context) => {
|
|
@@ -2814,12 +2702,10 @@ const deserializeAws_json1_0ChildWorkflowExecutionCompletedEventAttributes = (ou
|
|
|
2814
2702
|
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
2815
2703
|
result: (0, smithy_client_1.expectString)(output.result),
|
|
2816
2704
|
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2817
|
-
workflowExecution: output.workflowExecution
|
|
2705
|
+
workflowExecution: output.workflowExecution != null
|
|
2818
2706
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
2819
2707
|
: undefined,
|
|
2820
|
-
workflowType: output.workflowType
|
|
2821
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
2822
|
-
: undefined,
|
|
2708
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
2823
2709
|
};
|
|
2824
2710
|
};
|
|
2825
2711
|
const deserializeAws_json1_0ChildWorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
@@ -2828,35 +2714,29 @@ const deserializeAws_json1_0ChildWorkflowExecutionFailedEventAttributes = (outpu
|
|
|
2828
2714
|
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
2829
2715
|
reason: (0, smithy_client_1.expectString)(output.reason),
|
|
2830
2716
|
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2831
|
-
workflowExecution: output.workflowExecution
|
|
2717
|
+
workflowExecution: output.workflowExecution != null
|
|
2832
2718
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
2833
2719
|
: undefined,
|
|
2834
|
-
workflowType: output.workflowType
|
|
2835
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
2836
|
-
: undefined,
|
|
2720
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
2837
2721
|
};
|
|
2838
2722
|
};
|
|
2839
2723
|
const deserializeAws_json1_0ChildWorkflowExecutionStartedEventAttributes = (output, context) => {
|
|
2840
2724
|
return {
|
|
2841
2725
|
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
2842
|
-
workflowExecution: output.workflowExecution
|
|
2726
|
+
workflowExecution: output.workflowExecution != null
|
|
2843
2727
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
2844
2728
|
: undefined,
|
|
2845
|
-
workflowType: output.workflowType
|
|
2846
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
2847
|
-
: undefined,
|
|
2729
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
2848
2730
|
};
|
|
2849
2731
|
};
|
|
2850
2732
|
const deserializeAws_json1_0ChildWorkflowExecutionTerminatedEventAttributes = (output, context) => {
|
|
2851
2733
|
return {
|
|
2852
2734
|
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
2853
2735
|
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2854
|
-
workflowExecution: output.workflowExecution
|
|
2736
|
+
workflowExecution: output.workflowExecution != null
|
|
2855
2737
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
2856
2738
|
: undefined,
|
|
2857
|
-
workflowType: output.workflowType
|
|
2858
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
2859
|
-
: undefined,
|
|
2739
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
2860
2740
|
};
|
|
2861
2741
|
};
|
|
2862
2742
|
const deserializeAws_json1_0ChildWorkflowExecutionTimedOutEventAttributes = (output, context) => {
|
|
@@ -2864,12 +2744,10 @@ const deserializeAws_json1_0ChildWorkflowExecutionTimedOutEventAttributes = (out
|
|
|
2864
2744
|
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
2865
2745
|
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2866
2746
|
timeoutType: (0, smithy_client_1.expectString)(output.timeoutType),
|
|
2867
|
-
workflowExecution: output.workflowExecution
|
|
2747
|
+
workflowExecution: output.workflowExecution != null
|
|
2868
2748
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
2869
2749
|
: undefined,
|
|
2870
|
-
workflowType: output.workflowType
|
|
2871
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
2872
|
-
: undefined,
|
|
2750
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
2873
2751
|
};
|
|
2874
2752
|
};
|
|
2875
2753
|
const deserializeAws_json1_0CompleteWorkflowExecutionFailedEventAttributes = (output, context) => {
|
|
@@ -2886,19 +2764,15 @@ const deserializeAws_json1_0ContinueAsNewWorkflowExecutionFailedEventAttributes
|
|
|
2886
2764
|
};
|
|
2887
2765
|
const deserializeAws_json1_0DecisionTask = (output, context) => {
|
|
2888
2766
|
return {
|
|
2889
|
-
events: output.events
|
|
2890
|
-
? deserializeAws_json1_0HistoryEventList(output.events, context)
|
|
2891
|
-
: undefined,
|
|
2767
|
+
events: output.events != null ? deserializeAws_json1_0HistoryEventList(output.events, context) : undefined,
|
|
2892
2768
|
nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
|
|
2893
2769
|
previousStartedEventId: (0, smithy_client_1.expectLong)(output.previousStartedEventId),
|
|
2894
2770
|
startedEventId: (0, smithy_client_1.expectLong)(output.startedEventId),
|
|
2895
2771
|
taskToken: (0, smithy_client_1.expectString)(output.taskToken),
|
|
2896
|
-
workflowExecution: output.workflowExecution
|
|
2772
|
+
workflowExecution: output.workflowExecution != null
|
|
2897
2773
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
2898
2774
|
: undefined,
|
|
2899
|
-
workflowType: output.workflowType
|
|
2900
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
2901
|
-
: undefined,
|
|
2775
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
2902
2776
|
};
|
|
2903
2777
|
};
|
|
2904
2778
|
const deserializeAws_json1_0DecisionTaskCompletedEventAttributes = (output, context) => {
|
|
@@ -2911,9 +2785,7 @@ const deserializeAws_json1_0DecisionTaskCompletedEventAttributes = (output, cont
|
|
|
2911
2785
|
const deserializeAws_json1_0DecisionTaskScheduledEventAttributes = (output, context) => {
|
|
2912
2786
|
return {
|
|
2913
2787
|
startToCloseTimeout: (0, smithy_client_1.expectString)(output.startToCloseTimeout),
|
|
2914
|
-
taskList: output.taskList
|
|
2915
|
-
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
2916
|
-
: undefined,
|
|
2788
|
+
taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
|
|
2917
2789
|
taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
|
|
2918
2790
|
};
|
|
2919
2791
|
};
|
|
@@ -2952,12 +2824,10 @@ const deserializeAws_json1_0DomainDeprecatedFault = (output, context) => {
|
|
|
2952
2824
|
};
|
|
2953
2825
|
const deserializeAws_json1_0DomainDetail = (output, context) => {
|
|
2954
2826
|
return {
|
|
2955
|
-
configuration: output.configuration
|
|
2827
|
+
configuration: output.configuration != null
|
|
2956
2828
|
? deserializeAws_json1_0DomainConfiguration(output.configuration, context)
|
|
2957
2829
|
: undefined,
|
|
2958
|
-
domainInfo: output.domainInfo
|
|
2959
|
-
? deserializeAws_json1_0DomainInfo(output.domainInfo, context)
|
|
2960
|
-
: undefined,
|
|
2830
|
+
domainInfo: output.domainInfo != null ? deserializeAws_json1_0DomainInfo(output.domainInfo, context) : undefined,
|
|
2961
2831
|
};
|
|
2962
2832
|
};
|
|
2963
2833
|
const deserializeAws_json1_0DomainInfo = (output, context) => {
|
|
@@ -2981,16 +2851,14 @@ const deserializeAws_json1_0DomainInfoList = (output, context) => {
|
|
|
2981
2851
|
};
|
|
2982
2852
|
const deserializeAws_json1_0DomainInfos = (output, context) => {
|
|
2983
2853
|
return {
|
|
2984
|
-
domainInfos: output.domainInfos
|
|
2985
|
-
? deserializeAws_json1_0DomainInfoList(output.domainInfos, context)
|
|
2986
|
-
: undefined,
|
|
2854
|
+
domainInfos: output.domainInfos != null ? deserializeAws_json1_0DomainInfoList(output.domainInfos, context) : undefined,
|
|
2987
2855
|
nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
|
|
2988
2856
|
};
|
|
2989
2857
|
};
|
|
2990
2858
|
const deserializeAws_json1_0ExternalWorkflowExecutionCancelRequestedEventAttributes = (output, context) => {
|
|
2991
2859
|
return {
|
|
2992
2860
|
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
2993
|
-
workflowExecution: output.workflowExecution
|
|
2861
|
+
workflowExecution: output.workflowExecution != null
|
|
2994
2862
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
2995
2863
|
: undefined,
|
|
2996
2864
|
};
|
|
@@ -2998,7 +2866,7 @@ const deserializeAws_json1_0ExternalWorkflowExecutionCancelRequestedEventAttribu
|
|
|
2998
2866
|
const deserializeAws_json1_0ExternalWorkflowExecutionSignaledEventAttributes = (output, context) => {
|
|
2999
2867
|
return {
|
|
3000
2868
|
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
3001
|
-
workflowExecution: output.workflowExecution
|
|
2869
|
+
workflowExecution: output.workflowExecution != null
|
|
3002
2870
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3003
2871
|
: undefined,
|
|
3004
2872
|
};
|
|
@@ -3011,214 +2879,177 @@ const deserializeAws_json1_0FailWorkflowExecutionFailedEventAttributes = (output
|
|
|
3011
2879
|
};
|
|
3012
2880
|
const deserializeAws_json1_0History = (output, context) => {
|
|
3013
2881
|
return {
|
|
3014
|
-
events: output.events
|
|
3015
|
-
? deserializeAws_json1_0HistoryEventList(output.events, context)
|
|
3016
|
-
: undefined,
|
|
2882
|
+
events: output.events != null ? deserializeAws_json1_0HistoryEventList(output.events, context) : undefined,
|
|
3017
2883
|
nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
|
|
3018
2884
|
};
|
|
3019
2885
|
};
|
|
3020
2886
|
const deserializeAws_json1_0HistoryEvent = (output, context) => {
|
|
3021
2887
|
return {
|
|
3022
|
-
activityTaskCancelRequestedEventAttributes: output.activityTaskCancelRequestedEventAttributes
|
|
3023
|
-
output.activityTaskCancelRequestedEventAttributes !== null
|
|
2888
|
+
activityTaskCancelRequestedEventAttributes: output.activityTaskCancelRequestedEventAttributes != null
|
|
3024
2889
|
? deserializeAws_json1_0ActivityTaskCancelRequestedEventAttributes(output.activityTaskCancelRequestedEventAttributes, context)
|
|
3025
2890
|
: undefined,
|
|
3026
|
-
activityTaskCanceledEventAttributes: output.activityTaskCanceledEventAttributes
|
|
2891
|
+
activityTaskCanceledEventAttributes: output.activityTaskCanceledEventAttributes != null
|
|
3027
2892
|
? deserializeAws_json1_0ActivityTaskCanceledEventAttributes(output.activityTaskCanceledEventAttributes, context)
|
|
3028
2893
|
: undefined,
|
|
3029
|
-
activityTaskCompletedEventAttributes: output.activityTaskCompletedEventAttributes
|
|
2894
|
+
activityTaskCompletedEventAttributes: output.activityTaskCompletedEventAttributes != null
|
|
3030
2895
|
? deserializeAws_json1_0ActivityTaskCompletedEventAttributes(output.activityTaskCompletedEventAttributes, context)
|
|
3031
2896
|
: undefined,
|
|
3032
|
-
activityTaskFailedEventAttributes: output.activityTaskFailedEventAttributes
|
|
2897
|
+
activityTaskFailedEventAttributes: output.activityTaskFailedEventAttributes != null
|
|
3033
2898
|
? deserializeAws_json1_0ActivityTaskFailedEventAttributes(output.activityTaskFailedEventAttributes, context)
|
|
3034
2899
|
: undefined,
|
|
3035
|
-
activityTaskScheduledEventAttributes: output.activityTaskScheduledEventAttributes
|
|
2900
|
+
activityTaskScheduledEventAttributes: output.activityTaskScheduledEventAttributes != null
|
|
3036
2901
|
? deserializeAws_json1_0ActivityTaskScheduledEventAttributes(output.activityTaskScheduledEventAttributes, context)
|
|
3037
2902
|
: undefined,
|
|
3038
|
-
activityTaskStartedEventAttributes: output.activityTaskStartedEventAttributes
|
|
2903
|
+
activityTaskStartedEventAttributes: output.activityTaskStartedEventAttributes != null
|
|
3039
2904
|
? deserializeAws_json1_0ActivityTaskStartedEventAttributes(output.activityTaskStartedEventAttributes, context)
|
|
3040
2905
|
: undefined,
|
|
3041
|
-
activityTaskTimedOutEventAttributes: output.activityTaskTimedOutEventAttributes
|
|
2906
|
+
activityTaskTimedOutEventAttributes: output.activityTaskTimedOutEventAttributes != null
|
|
3042
2907
|
? deserializeAws_json1_0ActivityTaskTimedOutEventAttributes(output.activityTaskTimedOutEventAttributes, context)
|
|
3043
2908
|
: undefined,
|
|
3044
|
-
cancelTimerFailedEventAttributes: output.cancelTimerFailedEventAttributes
|
|
2909
|
+
cancelTimerFailedEventAttributes: output.cancelTimerFailedEventAttributes != null
|
|
3045
2910
|
? deserializeAws_json1_0CancelTimerFailedEventAttributes(output.cancelTimerFailedEventAttributes, context)
|
|
3046
2911
|
: undefined,
|
|
3047
|
-
cancelWorkflowExecutionFailedEventAttributes: output.cancelWorkflowExecutionFailedEventAttributes
|
|
3048
|
-
output.cancelWorkflowExecutionFailedEventAttributes !== null
|
|
2912
|
+
cancelWorkflowExecutionFailedEventAttributes: output.cancelWorkflowExecutionFailedEventAttributes != null
|
|
3049
2913
|
? deserializeAws_json1_0CancelWorkflowExecutionFailedEventAttributes(output.cancelWorkflowExecutionFailedEventAttributes, context)
|
|
3050
2914
|
: undefined,
|
|
3051
|
-
childWorkflowExecutionCanceledEventAttributes: output.childWorkflowExecutionCanceledEventAttributes
|
|
3052
|
-
output.childWorkflowExecutionCanceledEventAttributes !== null
|
|
2915
|
+
childWorkflowExecutionCanceledEventAttributes: output.childWorkflowExecutionCanceledEventAttributes != null
|
|
3053
2916
|
? deserializeAws_json1_0ChildWorkflowExecutionCanceledEventAttributes(output.childWorkflowExecutionCanceledEventAttributes, context)
|
|
3054
2917
|
: undefined,
|
|
3055
|
-
childWorkflowExecutionCompletedEventAttributes: output.childWorkflowExecutionCompletedEventAttributes
|
|
3056
|
-
output.childWorkflowExecutionCompletedEventAttributes !== null
|
|
2918
|
+
childWorkflowExecutionCompletedEventAttributes: output.childWorkflowExecutionCompletedEventAttributes != null
|
|
3057
2919
|
? deserializeAws_json1_0ChildWorkflowExecutionCompletedEventAttributes(output.childWorkflowExecutionCompletedEventAttributes, context)
|
|
3058
2920
|
: undefined,
|
|
3059
|
-
childWorkflowExecutionFailedEventAttributes: output.childWorkflowExecutionFailedEventAttributes
|
|
3060
|
-
output.childWorkflowExecutionFailedEventAttributes !== null
|
|
2921
|
+
childWorkflowExecutionFailedEventAttributes: output.childWorkflowExecutionFailedEventAttributes != null
|
|
3061
2922
|
? deserializeAws_json1_0ChildWorkflowExecutionFailedEventAttributes(output.childWorkflowExecutionFailedEventAttributes, context)
|
|
3062
2923
|
: undefined,
|
|
3063
|
-
childWorkflowExecutionStartedEventAttributes: output.childWorkflowExecutionStartedEventAttributes
|
|
3064
|
-
output.childWorkflowExecutionStartedEventAttributes !== null
|
|
2924
|
+
childWorkflowExecutionStartedEventAttributes: output.childWorkflowExecutionStartedEventAttributes != null
|
|
3065
2925
|
? deserializeAws_json1_0ChildWorkflowExecutionStartedEventAttributes(output.childWorkflowExecutionStartedEventAttributes, context)
|
|
3066
2926
|
: undefined,
|
|
3067
|
-
childWorkflowExecutionTerminatedEventAttributes: output.childWorkflowExecutionTerminatedEventAttributes
|
|
3068
|
-
output.childWorkflowExecutionTerminatedEventAttributes !== null
|
|
2927
|
+
childWorkflowExecutionTerminatedEventAttributes: output.childWorkflowExecutionTerminatedEventAttributes != null
|
|
3069
2928
|
? deserializeAws_json1_0ChildWorkflowExecutionTerminatedEventAttributes(output.childWorkflowExecutionTerminatedEventAttributes, context)
|
|
3070
2929
|
: undefined,
|
|
3071
|
-
childWorkflowExecutionTimedOutEventAttributes: output.childWorkflowExecutionTimedOutEventAttributes
|
|
3072
|
-
output.childWorkflowExecutionTimedOutEventAttributes !== null
|
|
2930
|
+
childWorkflowExecutionTimedOutEventAttributes: output.childWorkflowExecutionTimedOutEventAttributes != null
|
|
3073
2931
|
? deserializeAws_json1_0ChildWorkflowExecutionTimedOutEventAttributes(output.childWorkflowExecutionTimedOutEventAttributes, context)
|
|
3074
2932
|
: undefined,
|
|
3075
|
-
completeWorkflowExecutionFailedEventAttributes: output.completeWorkflowExecutionFailedEventAttributes
|
|
3076
|
-
output.completeWorkflowExecutionFailedEventAttributes !== null
|
|
2933
|
+
completeWorkflowExecutionFailedEventAttributes: output.completeWorkflowExecutionFailedEventAttributes != null
|
|
3077
2934
|
? deserializeAws_json1_0CompleteWorkflowExecutionFailedEventAttributes(output.completeWorkflowExecutionFailedEventAttributes, context)
|
|
3078
2935
|
: undefined,
|
|
3079
|
-
continueAsNewWorkflowExecutionFailedEventAttributes: output.continueAsNewWorkflowExecutionFailedEventAttributes
|
|
3080
|
-
output.continueAsNewWorkflowExecutionFailedEventAttributes !== null
|
|
2936
|
+
continueAsNewWorkflowExecutionFailedEventAttributes: output.continueAsNewWorkflowExecutionFailedEventAttributes != null
|
|
3081
2937
|
? deserializeAws_json1_0ContinueAsNewWorkflowExecutionFailedEventAttributes(output.continueAsNewWorkflowExecutionFailedEventAttributes, context)
|
|
3082
2938
|
: undefined,
|
|
3083
|
-
decisionTaskCompletedEventAttributes: output.decisionTaskCompletedEventAttributes
|
|
2939
|
+
decisionTaskCompletedEventAttributes: output.decisionTaskCompletedEventAttributes != null
|
|
3084
2940
|
? deserializeAws_json1_0DecisionTaskCompletedEventAttributes(output.decisionTaskCompletedEventAttributes, context)
|
|
3085
2941
|
: undefined,
|
|
3086
|
-
decisionTaskScheduledEventAttributes: output.decisionTaskScheduledEventAttributes
|
|
2942
|
+
decisionTaskScheduledEventAttributes: output.decisionTaskScheduledEventAttributes != null
|
|
3087
2943
|
? deserializeAws_json1_0DecisionTaskScheduledEventAttributes(output.decisionTaskScheduledEventAttributes, context)
|
|
3088
2944
|
: undefined,
|
|
3089
|
-
decisionTaskStartedEventAttributes: output.decisionTaskStartedEventAttributes
|
|
2945
|
+
decisionTaskStartedEventAttributes: output.decisionTaskStartedEventAttributes != null
|
|
3090
2946
|
? deserializeAws_json1_0DecisionTaskStartedEventAttributes(output.decisionTaskStartedEventAttributes, context)
|
|
3091
2947
|
: undefined,
|
|
3092
|
-
decisionTaskTimedOutEventAttributes: output.decisionTaskTimedOutEventAttributes
|
|
2948
|
+
decisionTaskTimedOutEventAttributes: output.decisionTaskTimedOutEventAttributes != null
|
|
3093
2949
|
? deserializeAws_json1_0DecisionTaskTimedOutEventAttributes(output.decisionTaskTimedOutEventAttributes, context)
|
|
3094
2950
|
: undefined,
|
|
3095
2951
|
eventId: (0, smithy_client_1.expectLong)(output.eventId),
|
|
3096
|
-
eventTimestamp: output.eventTimestamp
|
|
2952
|
+
eventTimestamp: output.eventTimestamp != null
|
|
3097
2953
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.eventTimestamp)))
|
|
3098
2954
|
: undefined,
|
|
3099
2955
|
eventType: (0, smithy_client_1.expectString)(output.eventType),
|
|
3100
|
-
externalWorkflowExecutionCancelRequestedEventAttributes: output.externalWorkflowExecutionCancelRequestedEventAttributes
|
|
3101
|
-
output.externalWorkflowExecutionCancelRequestedEventAttributes !== null
|
|
2956
|
+
externalWorkflowExecutionCancelRequestedEventAttributes: output.externalWorkflowExecutionCancelRequestedEventAttributes != null
|
|
3102
2957
|
? deserializeAws_json1_0ExternalWorkflowExecutionCancelRequestedEventAttributes(output.externalWorkflowExecutionCancelRequestedEventAttributes, context)
|
|
3103
2958
|
: undefined,
|
|
3104
|
-
externalWorkflowExecutionSignaledEventAttributes: output.externalWorkflowExecutionSignaledEventAttributes
|
|
3105
|
-
output.externalWorkflowExecutionSignaledEventAttributes !== null
|
|
2959
|
+
externalWorkflowExecutionSignaledEventAttributes: output.externalWorkflowExecutionSignaledEventAttributes != null
|
|
3106
2960
|
? deserializeAws_json1_0ExternalWorkflowExecutionSignaledEventAttributes(output.externalWorkflowExecutionSignaledEventAttributes, context)
|
|
3107
2961
|
: undefined,
|
|
3108
|
-
failWorkflowExecutionFailedEventAttributes: output.failWorkflowExecutionFailedEventAttributes
|
|
3109
|
-
output.failWorkflowExecutionFailedEventAttributes !== null
|
|
2962
|
+
failWorkflowExecutionFailedEventAttributes: output.failWorkflowExecutionFailedEventAttributes != null
|
|
3110
2963
|
? deserializeAws_json1_0FailWorkflowExecutionFailedEventAttributes(output.failWorkflowExecutionFailedEventAttributes, context)
|
|
3111
2964
|
: undefined,
|
|
3112
|
-
lambdaFunctionCompletedEventAttributes: output.lambdaFunctionCompletedEventAttributes
|
|
3113
|
-
output.lambdaFunctionCompletedEventAttributes !== null
|
|
2965
|
+
lambdaFunctionCompletedEventAttributes: output.lambdaFunctionCompletedEventAttributes != null
|
|
3114
2966
|
? deserializeAws_json1_0LambdaFunctionCompletedEventAttributes(output.lambdaFunctionCompletedEventAttributes, context)
|
|
3115
2967
|
: undefined,
|
|
3116
|
-
lambdaFunctionFailedEventAttributes: output.lambdaFunctionFailedEventAttributes
|
|
2968
|
+
lambdaFunctionFailedEventAttributes: output.lambdaFunctionFailedEventAttributes != null
|
|
3117
2969
|
? deserializeAws_json1_0LambdaFunctionFailedEventAttributes(output.lambdaFunctionFailedEventAttributes, context)
|
|
3118
2970
|
: undefined,
|
|
3119
|
-
lambdaFunctionScheduledEventAttributes: output.lambdaFunctionScheduledEventAttributes
|
|
3120
|
-
output.lambdaFunctionScheduledEventAttributes !== null
|
|
2971
|
+
lambdaFunctionScheduledEventAttributes: output.lambdaFunctionScheduledEventAttributes != null
|
|
3121
2972
|
? deserializeAws_json1_0LambdaFunctionScheduledEventAttributes(output.lambdaFunctionScheduledEventAttributes, context)
|
|
3122
2973
|
: undefined,
|
|
3123
|
-
lambdaFunctionStartedEventAttributes: output.lambdaFunctionStartedEventAttributes
|
|
2974
|
+
lambdaFunctionStartedEventAttributes: output.lambdaFunctionStartedEventAttributes != null
|
|
3124
2975
|
? deserializeAws_json1_0LambdaFunctionStartedEventAttributes(output.lambdaFunctionStartedEventAttributes, context)
|
|
3125
2976
|
: undefined,
|
|
3126
|
-
lambdaFunctionTimedOutEventAttributes: output.lambdaFunctionTimedOutEventAttributes
|
|
3127
|
-
output.lambdaFunctionTimedOutEventAttributes !== null
|
|
2977
|
+
lambdaFunctionTimedOutEventAttributes: output.lambdaFunctionTimedOutEventAttributes != null
|
|
3128
2978
|
? deserializeAws_json1_0LambdaFunctionTimedOutEventAttributes(output.lambdaFunctionTimedOutEventAttributes, context)
|
|
3129
2979
|
: undefined,
|
|
3130
|
-
markerRecordedEventAttributes: output.markerRecordedEventAttributes
|
|
2980
|
+
markerRecordedEventAttributes: output.markerRecordedEventAttributes != null
|
|
3131
2981
|
? deserializeAws_json1_0MarkerRecordedEventAttributes(output.markerRecordedEventAttributes, context)
|
|
3132
2982
|
: undefined,
|
|
3133
|
-
recordMarkerFailedEventAttributes: output.recordMarkerFailedEventAttributes
|
|
2983
|
+
recordMarkerFailedEventAttributes: output.recordMarkerFailedEventAttributes != null
|
|
3134
2984
|
? deserializeAws_json1_0RecordMarkerFailedEventAttributes(output.recordMarkerFailedEventAttributes, context)
|
|
3135
2985
|
: undefined,
|
|
3136
|
-
requestCancelActivityTaskFailedEventAttributes: output.requestCancelActivityTaskFailedEventAttributes
|
|
3137
|
-
output.requestCancelActivityTaskFailedEventAttributes !== null
|
|
2986
|
+
requestCancelActivityTaskFailedEventAttributes: output.requestCancelActivityTaskFailedEventAttributes != null
|
|
3138
2987
|
? deserializeAws_json1_0RequestCancelActivityTaskFailedEventAttributes(output.requestCancelActivityTaskFailedEventAttributes, context)
|
|
3139
2988
|
: undefined,
|
|
3140
|
-
requestCancelExternalWorkflowExecutionFailedEventAttributes: output.requestCancelExternalWorkflowExecutionFailedEventAttributes
|
|
3141
|
-
output.requestCancelExternalWorkflowExecutionFailedEventAttributes !== null
|
|
2989
|
+
requestCancelExternalWorkflowExecutionFailedEventAttributes: output.requestCancelExternalWorkflowExecutionFailedEventAttributes != null
|
|
3142
2990
|
? deserializeAws_json1_0RequestCancelExternalWorkflowExecutionFailedEventAttributes(output.requestCancelExternalWorkflowExecutionFailedEventAttributes, context)
|
|
3143
2991
|
: undefined,
|
|
3144
|
-
requestCancelExternalWorkflowExecutionInitiatedEventAttributes: output.requestCancelExternalWorkflowExecutionInitiatedEventAttributes
|
|
3145
|
-
output.requestCancelExternalWorkflowExecutionInitiatedEventAttributes !== null
|
|
2992
|
+
requestCancelExternalWorkflowExecutionInitiatedEventAttributes: output.requestCancelExternalWorkflowExecutionInitiatedEventAttributes != null
|
|
3146
2993
|
? deserializeAws_json1_0RequestCancelExternalWorkflowExecutionInitiatedEventAttributes(output.requestCancelExternalWorkflowExecutionInitiatedEventAttributes, context)
|
|
3147
2994
|
: undefined,
|
|
3148
|
-
scheduleActivityTaskFailedEventAttributes: output.scheduleActivityTaskFailedEventAttributes
|
|
3149
|
-
output.scheduleActivityTaskFailedEventAttributes !== null
|
|
2995
|
+
scheduleActivityTaskFailedEventAttributes: output.scheduleActivityTaskFailedEventAttributes != null
|
|
3150
2996
|
? deserializeAws_json1_0ScheduleActivityTaskFailedEventAttributes(output.scheduleActivityTaskFailedEventAttributes, context)
|
|
3151
2997
|
: undefined,
|
|
3152
|
-
scheduleLambdaFunctionFailedEventAttributes: output.scheduleLambdaFunctionFailedEventAttributes
|
|
3153
|
-
output.scheduleLambdaFunctionFailedEventAttributes !== null
|
|
2998
|
+
scheduleLambdaFunctionFailedEventAttributes: output.scheduleLambdaFunctionFailedEventAttributes != null
|
|
3154
2999
|
? deserializeAws_json1_0ScheduleLambdaFunctionFailedEventAttributes(output.scheduleLambdaFunctionFailedEventAttributes, context)
|
|
3155
3000
|
: undefined,
|
|
3156
|
-
signalExternalWorkflowExecutionFailedEventAttributes: output.signalExternalWorkflowExecutionFailedEventAttributes
|
|
3157
|
-
output.signalExternalWorkflowExecutionFailedEventAttributes !== null
|
|
3001
|
+
signalExternalWorkflowExecutionFailedEventAttributes: output.signalExternalWorkflowExecutionFailedEventAttributes != null
|
|
3158
3002
|
? deserializeAws_json1_0SignalExternalWorkflowExecutionFailedEventAttributes(output.signalExternalWorkflowExecutionFailedEventAttributes, context)
|
|
3159
3003
|
: undefined,
|
|
3160
|
-
signalExternalWorkflowExecutionInitiatedEventAttributes: output.signalExternalWorkflowExecutionInitiatedEventAttributes
|
|
3161
|
-
output.signalExternalWorkflowExecutionInitiatedEventAttributes !== null
|
|
3004
|
+
signalExternalWorkflowExecutionInitiatedEventAttributes: output.signalExternalWorkflowExecutionInitiatedEventAttributes != null
|
|
3162
3005
|
? deserializeAws_json1_0SignalExternalWorkflowExecutionInitiatedEventAttributes(output.signalExternalWorkflowExecutionInitiatedEventAttributes, context)
|
|
3163
3006
|
: undefined,
|
|
3164
|
-
startChildWorkflowExecutionFailedEventAttributes: output.startChildWorkflowExecutionFailedEventAttributes
|
|
3165
|
-
output.startChildWorkflowExecutionFailedEventAttributes !== null
|
|
3007
|
+
startChildWorkflowExecutionFailedEventAttributes: output.startChildWorkflowExecutionFailedEventAttributes != null
|
|
3166
3008
|
? deserializeAws_json1_0StartChildWorkflowExecutionFailedEventAttributes(output.startChildWorkflowExecutionFailedEventAttributes, context)
|
|
3167
3009
|
: undefined,
|
|
3168
|
-
startChildWorkflowExecutionInitiatedEventAttributes: output.startChildWorkflowExecutionInitiatedEventAttributes
|
|
3169
|
-
output.startChildWorkflowExecutionInitiatedEventAttributes !== null
|
|
3010
|
+
startChildWorkflowExecutionInitiatedEventAttributes: output.startChildWorkflowExecutionInitiatedEventAttributes != null
|
|
3170
3011
|
? deserializeAws_json1_0StartChildWorkflowExecutionInitiatedEventAttributes(output.startChildWorkflowExecutionInitiatedEventAttributes, context)
|
|
3171
3012
|
: undefined,
|
|
3172
|
-
startLambdaFunctionFailedEventAttributes: output.startLambdaFunctionFailedEventAttributes
|
|
3173
|
-
output.startLambdaFunctionFailedEventAttributes !== null
|
|
3013
|
+
startLambdaFunctionFailedEventAttributes: output.startLambdaFunctionFailedEventAttributes != null
|
|
3174
3014
|
? deserializeAws_json1_0StartLambdaFunctionFailedEventAttributes(output.startLambdaFunctionFailedEventAttributes, context)
|
|
3175
3015
|
: undefined,
|
|
3176
|
-
startTimerFailedEventAttributes: output.startTimerFailedEventAttributes
|
|
3016
|
+
startTimerFailedEventAttributes: output.startTimerFailedEventAttributes != null
|
|
3177
3017
|
? deserializeAws_json1_0StartTimerFailedEventAttributes(output.startTimerFailedEventAttributes, context)
|
|
3178
3018
|
: undefined,
|
|
3179
|
-
timerCanceledEventAttributes: output.timerCanceledEventAttributes
|
|
3019
|
+
timerCanceledEventAttributes: output.timerCanceledEventAttributes != null
|
|
3180
3020
|
? deserializeAws_json1_0TimerCanceledEventAttributes(output.timerCanceledEventAttributes, context)
|
|
3181
3021
|
: undefined,
|
|
3182
|
-
timerFiredEventAttributes: output.timerFiredEventAttributes
|
|
3022
|
+
timerFiredEventAttributes: output.timerFiredEventAttributes != null
|
|
3183
3023
|
? deserializeAws_json1_0TimerFiredEventAttributes(output.timerFiredEventAttributes, context)
|
|
3184
3024
|
: undefined,
|
|
3185
|
-
timerStartedEventAttributes: output.timerStartedEventAttributes
|
|
3025
|
+
timerStartedEventAttributes: output.timerStartedEventAttributes != null
|
|
3186
3026
|
? deserializeAws_json1_0TimerStartedEventAttributes(output.timerStartedEventAttributes, context)
|
|
3187
3027
|
: undefined,
|
|
3188
|
-
workflowExecutionCancelRequestedEventAttributes: output.workflowExecutionCancelRequestedEventAttributes
|
|
3189
|
-
output.workflowExecutionCancelRequestedEventAttributes !== null
|
|
3028
|
+
workflowExecutionCancelRequestedEventAttributes: output.workflowExecutionCancelRequestedEventAttributes != null
|
|
3190
3029
|
? deserializeAws_json1_0WorkflowExecutionCancelRequestedEventAttributes(output.workflowExecutionCancelRequestedEventAttributes, context)
|
|
3191
3030
|
: undefined,
|
|
3192
|
-
workflowExecutionCanceledEventAttributes: output.workflowExecutionCanceledEventAttributes
|
|
3193
|
-
output.workflowExecutionCanceledEventAttributes !== null
|
|
3031
|
+
workflowExecutionCanceledEventAttributes: output.workflowExecutionCanceledEventAttributes != null
|
|
3194
3032
|
? deserializeAws_json1_0WorkflowExecutionCanceledEventAttributes(output.workflowExecutionCanceledEventAttributes, context)
|
|
3195
3033
|
: undefined,
|
|
3196
|
-
workflowExecutionCompletedEventAttributes: output.workflowExecutionCompletedEventAttributes
|
|
3197
|
-
output.workflowExecutionCompletedEventAttributes !== null
|
|
3034
|
+
workflowExecutionCompletedEventAttributes: output.workflowExecutionCompletedEventAttributes != null
|
|
3198
3035
|
? deserializeAws_json1_0WorkflowExecutionCompletedEventAttributes(output.workflowExecutionCompletedEventAttributes, context)
|
|
3199
3036
|
: undefined,
|
|
3200
|
-
workflowExecutionContinuedAsNewEventAttributes: output.workflowExecutionContinuedAsNewEventAttributes
|
|
3201
|
-
output.workflowExecutionContinuedAsNewEventAttributes !== null
|
|
3037
|
+
workflowExecutionContinuedAsNewEventAttributes: output.workflowExecutionContinuedAsNewEventAttributes != null
|
|
3202
3038
|
? deserializeAws_json1_0WorkflowExecutionContinuedAsNewEventAttributes(output.workflowExecutionContinuedAsNewEventAttributes, context)
|
|
3203
3039
|
: undefined,
|
|
3204
|
-
workflowExecutionFailedEventAttributes: output.workflowExecutionFailedEventAttributes
|
|
3205
|
-
output.workflowExecutionFailedEventAttributes !== null
|
|
3040
|
+
workflowExecutionFailedEventAttributes: output.workflowExecutionFailedEventAttributes != null
|
|
3206
3041
|
? deserializeAws_json1_0WorkflowExecutionFailedEventAttributes(output.workflowExecutionFailedEventAttributes, context)
|
|
3207
3042
|
: undefined,
|
|
3208
|
-
workflowExecutionSignaledEventAttributes: output.workflowExecutionSignaledEventAttributes
|
|
3209
|
-
output.workflowExecutionSignaledEventAttributes !== null
|
|
3043
|
+
workflowExecutionSignaledEventAttributes: output.workflowExecutionSignaledEventAttributes != null
|
|
3210
3044
|
? deserializeAws_json1_0WorkflowExecutionSignaledEventAttributes(output.workflowExecutionSignaledEventAttributes, context)
|
|
3211
3045
|
: undefined,
|
|
3212
|
-
workflowExecutionStartedEventAttributes: output.workflowExecutionStartedEventAttributes
|
|
3213
|
-
output.workflowExecutionStartedEventAttributes !== null
|
|
3046
|
+
workflowExecutionStartedEventAttributes: output.workflowExecutionStartedEventAttributes != null
|
|
3214
3047
|
? deserializeAws_json1_0WorkflowExecutionStartedEventAttributes(output.workflowExecutionStartedEventAttributes, context)
|
|
3215
3048
|
: undefined,
|
|
3216
|
-
workflowExecutionTerminatedEventAttributes: output.workflowExecutionTerminatedEventAttributes
|
|
3217
|
-
output.workflowExecutionTerminatedEventAttributes !== null
|
|
3049
|
+
workflowExecutionTerminatedEventAttributes: output.workflowExecutionTerminatedEventAttributes != null
|
|
3218
3050
|
? deserializeAws_json1_0WorkflowExecutionTerminatedEventAttributes(output.workflowExecutionTerminatedEventAttributes, context)
|
|
3219
3051
|
: undefined,
|
|
3220
|
-
workflowExecutionTimedOutEventAttributes: output.workflowExecutionTimedOutEventAttributes
|
|
3221
|
-
output.workflowExecutionTimedOutEventAttributes !== null
|
|
3052
|
+
workflowExecutionTimedOutEventAttributes: output.workflowExecutionTimedOutEventAttributes != null
|
|
3222
3053
|
? deserializeAws_json1_0WorkflowExecutionTimedOutEventAttributes(output.workflowExecutionTimedOutEventAttributes, context)
|
|
3223
3054
|
: undefined,
|
|
3224
3055
|
};
|
|
@@ -3278,9 +3109,7 @@ const deserializeAws_json1_0LimitExceededFault = (output, context) => {
|
|
|
3278
3109
|
};
|
|
3279
3110
|
const deserializeAws_json1_0ListTagsForResourceOutput = (output, context) => {
|
|
3280
3111
|
return {
|
|
3281
|
-
tags: output.tags
|
|
3282
|
-
? deserializeAws_json1_0ResourceTagList(output.tags, context)
|
|
3283
|
-
: undefined,
|
|
3112
|
+
tags: output.tags != null ? deserializeAws_json1_0ResourceTagList(output.tags, context) : undefined,
|
|
3284
3113
|
};
|
|
3285
3114
|
};
|
|
3286
3115
|
const deserializeAws_json1_0MarkerRecordedEventAttributes = (output, context) => {
|
|
@@ -3358,9 +3187,7 @@ const deserializeAws_json1_0Run = (output, context) => {
|
|
|
3358
3187
|
const deserializeAws_json1_0ScheduleActivityTaskFailedEventAttributes = (output, context) => {
|
|
3359
3188
|
return {
|
|
3360
3189
|
activityId: (0, smithy_client_1.expectString)(output.activityId),
|
|
3361
|
-
activityType: output.activityType
|
|
3362
|
-
? deserializeAws_json1_0ActivityType(output.activityType, context)
|
|
3363
|
-
: undefined,
|
|
3190
|
+
activityType: output.activityType != null ? deserializeAws_json1_0ActivityType(output.activityType, context) : undefined,
|
|
3364
3191
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
3365
3192
|
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
3366
3193
|
};
|
|
@@ -3400,9 +3227,7 @@ const deserializeAws_json1_0StartChildWorkflowExecutionFailedEventAttributes = (
|
|
|
3400
3227
|
decisionTaskCompletedEventId: (0, smithy_client_1.expectLong)(output.decisionTaskCompletedEventId),
|
|
3401
3228
|
initiatedEventId: (0, smithy_client_1.expectLong)(output.initiatedEventId),
|
|
3402
3229
|
workflowId: (0, smithy_client_1.expectString)(output.workflowId),
|
|
3403
|
-
workflowType: output.workflowType
|
|
3404
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3405
|
-
: undefined,
|
|
3230
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3406
3231
|
};
|
|
3407
3232
|
};
|
|
3408
3233
|
const deserializeAws_json1_0StartChildWorkflowExecutionInitiatedEventAttributes = (output, context) => {
|
|
@@ -3413,18 +3238,12 @@ const deserializeAws_json1_0StartChildWorkflowExecutionInitiatedEventAttributes
|
|
|
3413
3238
|
executionStartToCloseTimeout: (0, smithy_client_1.expectString)(output.executionStartToCloseTimeout),
|
|
3414
3239
|
input: (0, smithy_client_1.expectString)(output.input),
|
|
3415
3240
|
lambdaRole: (0, smithy_client_1.expectString)(output.lambdaRole),
|
|
3416
|
-
tagList: output.tagList
|
|
3417
|
-
|
|
3418
|
-
: undefined,
|
|
3419
|
-
taskList: output.taskList !== undefined && output.taskList !== null
|
|
3420
|
-
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
3421
|
-
: undefined,
|
|
3241
|
+
tagList: output.tagList != null ? deserializeAws_json1_0TagList(output.tagList, context) : undefined,
|
|
3242
|
+
taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
|
|
3422
3243
|
taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
|
|
3423
3244
|
taskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.taskStartToCloseTimeout),
|
|
3424
3245
|
workflowId: (0, smithy_client_1.expectString)(output.workflowId),
|
|
3425
|
-
workflowType: output.workflowType
|
|
3426
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3427
|
-
: undefined,
|
|
3246
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3428
3247
|
};
|
|
3429
3248
|
};
|
|
3430
3249
|
const deserializeAws_json1_0StartLambdaFunctionFailedEventAttributes = (output, context) => {
|
|
@@ -3519,7 +3338,7 @@ const deserializeAws_json1_0WorkflowExecutionCancelRequestedEventAttributes = (o
|
|
|
3519
3338
|
return {
|
|
3520
3339
|
cause: (0, smithy_client_1.expectString)(output.cause),
|
|
3521
3340
|
externalInitiatedEventId: (0, smithy_client_1.expectLong)(output.externalInitiatedEventId),
|
|
3522
|
-
externalWorkflowExecution: output.externalWorkflowExecution
|
|
3341
|
+
externalWorkflowExecution: output.externalWorkflowExecution != null
|
|
3523
3342
|
? deserializeAws_json1_0WorkflowExecution(output.externalWorkflowExecution, context)
|
|
3524
3343
|
: undefined,
|
|
3525
3344
|
};
|
|
@@ -3535,9 +3354,7 @@ const deserializeAws_json1_0WorkflowExecutionConfiguration = (output, context) =
|
|
|
3535
3354
|
childPolicy: (0, smithy_client_1.expectString)(output.childPolicy),
|
|
3536
3355
|
executionStartToCloseTimeout: (0, smithy_client_1.expectString)(output.executionStartToCloseTimeout),
|
|
3537
3356
|
lambdaRole: (0, smithy_client_1.expectString)(output.lambdaRole),
|
|
3538
|
-
taskList: output.taskList
|
|
3539
|
-
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
3540
|
-
: undefined,
|
|
3357
|
+
taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
|
|
3541
3358
|
taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
|
|
3542
3359
|
taskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.taskStartToCloseTimeout),
|
|
3543
3360
|
};
|
|
@@ -3550,17 +3367,11 @@ const deserializeAws_json1_0WorkflowExecutionContinuedAsNewEventAttributes = (ou
|
|
|
3550
3367
|
input: (0, smithy_client_1.expectString)(output.input),
|
|
3551
3368
|
lambdaRole: (0, smithy_client_1.expectString)(output.lambdaRole),
|
|
3552
3369
|
newExecutionRunId: (0, smithy_client_1.expectString)(output.newExecutionRunId),
|
|
3553
|
-
tagList: output.tagList
|
|
3554
|
-
|
|
3555
|
-
: undefined,
|
|
3556
|
-
taskList: output.taskList !== undefined && output.taskList !== null
|
|
3557
|
-
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
3558
|
-
: undefined,
|
|
3370
|
+
tagList: output.tagList != null ? deserializeAws_json1_0TagList(output.tagList, context) : undefined,
|
|
3371
|
+
taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
|
|
3559
3372
|
taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
|
|
3560
3373
|
taskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.taskStartToCloseTimeout),
|
|
3561
|
-
workflowType: output.workflowType
|
|
3562
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3563
|
-
: undefined,
|
|
3374
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3564
3375
|
};
|
|
3565
3376
|
};
|
|
3566
3377
|
const deserializeAws_json1_0WorkflowExecutionCount = (output, context) => {
|
|
@@ -3571,17 +3382,17 @@ const deserializeAws_json1_0WorkflowExecutionCount = (output, context) => {
|
|
|
3571
3382
|
};
|
|
3572
3383
|
const deserializeAws_json1_0WorkflowExecutionDetail = (output, context) => {
|
|
3573
3384
|
return {
|
|
3574
|
-
executionConfiguration: output.executionConfiguration
|
|
3385
|
+
executionConfiguration: output.executionConfiguration != null
|
|
3575
3386
|
? deserializeAws_json1_0WorkflowExecutionConfiguration(output.executionConfiguration, context)
|
|
3576
3387
|
: undefined,
|
|
3577
|
-
executionInfo: output.executionInfo
|
|
3388
|
+
executionInfo: output.executionInfo != null
|
|
3578
3389
|
? deserializeAws_json1_0WorkflowExecutionInfo(output.executionInfo, context)
|
|
3579
3390
|
: undefined,
|
|
3580
|
-
latestActivityTaskTimestamp: output.latestActivityTaskTimestamp
|
|
3391
|
+
latestActivityTaskTimestamp: output.latestActivityTaskTimestamp != null
|
|
3581
3392
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.latestActivityTaskTimestamp)))
|
|
3582
3393
|
: undefined,
|
|
3583
3394
|
latestExecutionContext: (0, smithy_client_1.expectString)(output.latestExecutionContext),
|
|
3584
|
-
openCounts: output.openCounts
|
|
3395
|
+
openCounts: output.openCounts != null
|
|
3585
3396
|
? deserializeAws_json1_0WorkflowExecutionOpenCounts(output.openCounts, context)
|
|
3586
3397
|
: undefined,
|
|
3587
3398
|
};
|
|
@@ -3597,25 +3408,17 @@ const deserializeAws_json1_0WorkflowExecutionInfo = (output, context) => {
|
|
|
3597
3408
|
return {
|
|
3598
3409
|
cancelRequested: (0, smithy_client_1.expectBoolean)(output.cancelRequested),
|
|
3599
3410
|
closeStatus: (0, smithy_client_1.expectString)(output.closeStatus),
|
|
3600
|
-
closeTimestamp: output.closeTimestamp
|
|
3411
|
+
closeTimestamp: output.closeTimestamp != null
|
|
3601
3412
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.closeTimestamp)))
|
|
3602
3413
|
: undefined,
|
|
3603
|
-
execution: output.execution
|
|
3604
|
-
? deserializeAws_json1_0WorkflowExecution(output.execution, context)
|
|
3605
|
-
: undefined,
|
|
3414
|
+
execution: output.execution != null ? deserializeAws_json1_0WorkflowExecution(output.execution, context) : undefined,
|
|
3606
3415
|
executionStatus: (0, smithy_client_1.expectString)(output.executionStatus),
|
|
3607
|
-
parent: output.parent
|
|
3608
|
-
|
|
3609
|
-
: undefined,
|
|
3610
|
-
startTimestamp: output.startTimestamp !== undefined && output.startTimestamp !== null
|
|
3416
|
+
parent: output.parent != null ? deserializeAws_json1_0WorkflowExecution(output.parent, context) : undefined,
|
|
3417
|
+
startTimestamp: output.startTimestamp != null
|
|
3611
3418
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTimestamp)))
|
|
3612
3419
|
: undefined,
|
|
3613
|
-
tagList: output.tagList
|
|
3614
|
-
|
|
3615
|
-
: undefined,
|
|
3616
|
-
workflowType: output.workflowType !== undefined && output.workflowType !== null
|
|
3617
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3618
|
-
: undefined,
|
|
3420
|
+
tagList: output.tagList != null ? deserializeAws_json1_0TagList(output.tagList, context) : undefined,
|
|
3421
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3619
3422
|
};
|
|
3620
3423
|
};
|
|
3621
3424
|
const deserializeAws_json1_0WorkflowExecutionInfoList = (output, context) => {
|
|
@@ -3631,7 +3434,7 @@ const deserializeAws_json1_0WorkflowExecutionInfoList = (output, context) => {
|
|
|
3631
3434
|
};
|
|
3632
3435
|
const deserializeAws_json1_0WorkflowExecutionInfos = (output, context) => {
|
|
3633
3436
|
return {
|
|
3634
|
-
executionInfos: output.executionInfos
|
|
3437
|
+
executionInfos: output.executionInfos != null
|
|
3635
3438
|
? deserializeAws_json1_0WorkflowExecutionInfoList(output.executionInfos, context)
|
|
3636
3439
|
: undefined,
|
|
3637
3440
|
nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
|
|
@@ -3649,7 +3452,7 @@ const deserializeAws_json1_0WorkflowExecutionOpenCounts = (output, context) => {
|
|
|
3649
3452
|
const deserializeAws_json1_0WorkflowExecutionSignaledEventAttributes = (output, context) => {
|
|
3650
3453
|
return {
|
|
3651
3454
|
externalInitiatedEventId: (0, smithy_client_1.expectLong)(output.externalInitiatedEventId),
|
|
3652
|
-
externalWorkflowExecution: output.externalWorkflowExecution
|
|
3455
|
+
externalWorkflowExecution: output.externalWorkflowExecution != null
|
|
3653
3456
|
? deserializeAws_json1_0WorkflowExecution(output.externalWorkflowExecution, context)
|
|
3654
3457
|
: undefined,
|
|
3655
3458
|
input: (0, smithy_client_1.expectString)(output.input),
|
|
@@ -3664,20 +3467,14 @@ const deserializeAws_json1_0WorkflowExecutionStartedEventAttributes = (output, c
|
|
|
3664
3467
|
input: (0, smithy_client_1.expectString)(output.input),
|
|
3665
3468
|
lambdaRole: (0, smithy_client_1.expectString)(output.lambdaRole),
|
|
3666
3469
|
parentInitiatedEventId: (0, smithy_client_1.expectLong)(output.parentInitiatedEventId),
|
|
3667
|
-
parentWorkflowExecution: output.parentWorkflowExecution
|
|
3470
|
+
parentWorkflowExecution: output.parentWorkflowExecution != null
|
|
3668
3471
|
? deserializeAws_json1_0WorkflowExecution(output.parentWorkflowExecution, context)
|
|
3669
3472
|
: undefined,
|
|
3670
|
-
tagList: output.tagList
|
|
3671
|
-
|
|
3672
|
-
: undefined,
|
|
3673
|
-
taskList: output.taskList !== undefined && output.taskList !== null
|
|
3674
|
-
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
3675
|
-
: undefined,
|
|
3473
|
+
tagList: output.tagList != null ? deserializeAws_json1_0TagList(output.tagList, context) : undefined,
|
|
3474
|
+
taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
|
|
3676
3475
|
taskPriority: (0, smithy_client_1.expectString)(output.taskPriority),
|
|
3677
3476
|
taskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.taskStartToCloseTimeout),
|
|
3678
|
-
workflowType: output.workflowType
|
|
3679
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3680
|
-
: undefined,
|
|
3477
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3681
3478
|
};
|
|
3682
3479
|
};
|
|
3683
3480
|
const deserializeAws_json1_0WorkflowExecutionTerminatedEventAttributes = (output, context) => {
|
|
@@ -3705,36 +3502,30 @@ const deserializeAws_json1_0WorkflowTypeConfiguration = (output, context) => {
|
|
|
3705
3502
|
defaultChildPolicy: (0, smithy_client_1.expectString)(output.defaultChildPolicy),
|
|
3706
3503
|
defaultExecutionStartToCloseTimeout: (0, smithy_client_1.expectString)(output.defaultExecutionStartToCloseTimeout),
|
|
3707
3504
|
defaultLambdaRole: (0, smithy_client_1.expectString)(output.defaultLambdaRole),
|
|
3708
|
-
defaultTaskList: output.defaultTaskList
|
|
3709
|
-
? deserializeAws_json1_0TaskList(output.defaultTaskList, context)
|
|
3710
|
-
: undefined,
|
|
3505
|
+
defaultTaskList: output.defaultTaskList != null ? deserializeAws_json1_0TaskList(output.defaultTaskList, context) : undefined,
|
|
3711
3506
|
defaultTaskPriority: (0, smithy_client_1.expectString)(output.defaultTaskPriority),
|
|
3712
3507
|
defaultTaskStartToCloseTimeout: (0, smithy_client_1.expectString)(output.defaultTaskStartToCloseTimeout),
|
|
3713
3508
|
};
|
|
3714
3509
|
};
|
|
3715
3510
|
const deserializeAws_json1_0WorkflowTypeDetail = (output, context) => {
|
|
3716
3511
|
return {
|
|
3717
|
-
configuration: output.configuration
|
|
3512
|
+
configuration: output.configuration != null
|
|
3718
3513
|
? deserializeAws_json1_0WorkflowTypeConfiguration(output.configuration, context)
|
|
3719
3514
|
: undefined,
|
|
3720
|
-
typeInfo: output.typeInfo
|
|
3721
|
-
? deserializeAws_json1_0WorkflowTypeInfo(output.typeInfo, context)
|
|
3722
|
-
: undefined,
|
|
3515
|
+
typeInfo: output.typeInfo != null ? deserializeAws_json1_0WorkflowTypeInfo(output.typeInfo, context) : undefined,
|
|
3723
3516
|
};
|
|
3724
3517
|
};
|
|
3725
3518
|
const deserializeAws_json1_0WorkflowTypeInfo = (output, context) => {
|
|
3726
3519
|
return {
|
|
3727
|
-
creationDate: output.creationDate
|
|
3520
|
+
creationDate: output.creationDate != null
|
|
3728
3521
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDate)))
|
|
3729
3522
|
: undefined,
|
|
3730
|
-
deprecationDate: output.deprecationDate
|
|
3523
|
+
deprecationDate: output.deprecationDate != null
|
|
3731
3524
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.deprecationDate)))
|
|
3732
3525
|
: undefined,
|
|
3733
3526
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
3734
3527
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
3735
|
-
workflowType: output.workflowType
|
|
3736
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3737
|
-
: undefined,
|
|
3528
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3738
3529
|
};
|
|
3739
3530
|
};
|
|
3740
3531
|
const deserializeAws_json1_0WorkflowTypeInfoList = (output, context) => {
|
|
@@ -3751,9 +3542,7 @@ const deserializeAws_json1_0WorkflowTypeInfoList = (output, context) => {
|
|
|
3751
3542
|
const deserializeAws_json1_0WorkflowTypeInfos = (output, context) => {
|
|
3752
3543
|
return {
|
|
3753
3544
|
nextPageToken: (0, smithy_client_1.expectString)(output.nextPageToken),
|
|
3754
|
-
typeInfos: output.typeInfos
|
|
3755
|
-
? deserializeAws_json1_0WorkflowTypeInfoList(output.typeInfos, context)
|
|
3756
|
-
: undefined,
|
|
3545
|
+
typeInfos: output.typeInfos != null ? deserializeAws_json1_0WorkflowTypeInfoList(output.typeInfos, context) : undefined,
|
|
3757
3546
|
};
|
|
3758
3547
|
};
|
|
3759
3548
|
const deserializeMetadata = (output) => {
|
|
@@ -3800,6 +3589,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
3800
3589
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
3801
3590
|
const sanitizeErrorCode = (rawValue) => {
|
|
3802
3591
|
let cleanValue = rawValue;
|
|
3592
|
+
if (typeof cleanValue === "number") {
|
|
3593
|
+
cleanValue = cleanValue.toString();
|
|
3594
|
+
}
|
|
3803
3595
|
if (cleanValue.indexOf(":") >= 0) {
|
|
3804
3596
|
cleanValue = cleanValue.split(":")[0];
|
|
3805
3597
|
}
|