@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
|
@@ -2620,105 +2620,75 @@ var deserializeAws_json1_0WorkflowExecutionAlreadyStartedFaultResponse = functio
|
|
|
2620
2620
|
});
|
|
2621
2621
|
}); };
|
|
2622
2622
|
var serializeAws_json1_0ActivityType = function (input, context) {
|
|
2623
|
-
return __assign(__assign({}, (input.name
|
|
2623
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.version != null && { version: input.version }));
|
|
2624
2624
|
};
|
|
2625
2625
|
var serializeAws_json1_0CancelTimerDecisionAttributes = function (input, context) {
|
|
2626
|
-
return __assign({}, (input.timerId
|
|
2626
|
+
return __assign({}, (input.timerId != null && { timerId: input.timerId }));
|
|
2627
2627
|
};
|
|
2628
2628
|
var serializeAws_json1_0CancelWorkflowExecutionDecisionAttributes = function (input, context) {
|
|
2629
|
-
return __assign({}, (input.details
|
|
2629
|
+
return __assign({}, (input.details != null && { details: input.details }));
|
|
2630
2630
|
};
|
|
2631
2631
|
var serializeAws_json1_0CloseStatusFilter = function (input, context) {
|
|
2632
|
-
return __assign({}, (input.status
|
|
2632
|
+
return __assign({}, (input.status != null && { status: input.status }));
|
|
2633
2633
|
};
|
|
2634
2634
|
var serializeAws_json1_0CompleteWorkflowExecutionDecisionAttributes = function (input, context) {
|
|
2635
|
-
return __assign({}, (input.result
|
|
2635
|
+
return __assign({}, (input.result != null && { result: input.result }));
|
|
2636
2636
|
};
|
|
2637
2637
|
var serializeAws_json1_0ContinueAsNewWorkflowExecutionDecisionAttributes = function (input, context) {
|
|
2638
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.childPolicy
|
|
2639
|
-
input.executionStartToCloseTimeout !== null && {
|
|
2638
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.childPolicy != null && { childPolicy: input.childPolicy })), (input.executionStartToCloseTimeout != null && {
|
|
2640
2639
|
executionStartToCloseTimeout: input.executionStartToCloseTimeout,
|
|
2641
|
-
})), (input.input
|
|
2642
|
-
input.tagList !== null && { tagList: serializeAws_json1_0TagList(input.tagList, context) })), (input.taskList !== undefined &&
|
|
2643
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) })), (input.taskPriority !== undefined && input.taskPriority !== null && { taskPriority: input.taskPriority })), (input.taskStartToCloseTimeout !== undefined &&
|
|
2644
|
-
input.taskStartToCloseTimeout !== null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout })), (input.workflowTypeVersion !== undefined &&
|
|
2645
|
-
input.workflowTypeVersion !== null && { workflowTypeVersion: input.workflowTypeVersion }));
|
|
2640
|
+
})), (input.input != null && { input: input.input })), (input.lambdaRole != null && { lambdaRole: input.lambdaRole })), (input.tagList != null && { tagList: serializeAws_json1_0TagList(input.tagList, context) })), (input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) })), (input.taskPriority != null && { taskPriority: input.taskPriority })), (input.taskStartToCloseTimeout != null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout })), (input.workflowTypeVersion != null && { workflowTypeVersion: input.workflowTypeVersion }));
|
|
2646
2641
|
};
|
|
2647
2642
|
var serializeAws_json1_0CountClosedWorkflowExecutionsInput = function (input, context) {
|
|
2648
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.closeStatusFilter
|
|
2649
|
-
input.closeStatusFilter !== null && {
|
|
2643
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.closeStatusFilter != null && {
|
|
2650
2644
|
closeStatusFilter: serializeAws_json1_0CloseStatusFilter(input.closeStatusFilter, context),
|
|
2651
|
-
})), (input.closeTimeFilter
|
|
2652
|
-
input.closeTimeFilter !== null && {
|
|
2645
|
+
})), (input.closeTimeFilter != null && {
|
|
2653
2646
|
closeTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.closeTimeFilter, context),
|
|
2654
|
-
})), (input.domain
|
|
2655
|
-
input.executionFilter !== null && {
|
|
2647
|
+
})), (input.domain != null && { domain: input.domain })), (input.executionFilter != null && {
|
|
2656
2648
|
executionFilter: serializeAws_json1_0WorkflowExecutionFilter(input.executionFilter, context),
|
|
2657
|
-
})), (input.startTimeFilter
|
|
2658
|
-
input.startTimeFilter !== null && {
|
|
2649
|
+
})), (input.startTimeFilter != null && {
|
|
2659
2650
|
startTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.startTimeFilter, context),
|
|
2660
|
-
})), (input.tagFilter
|
|
2661
|
-
input.tagFilter !== null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) })), (input.typeFilter !== undefined &&
|
|
2662
|
-
input.typeFilter !== null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }));
|
|
2651
|
+
})), (input.tagFilter != null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) })), (input.typeFilter != null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }));
|
|
2663
2652
|
};
|
|
2664
2653
|
var serializeAws_json1_0CountOpenWorkflowExecutionsInput = function (input, context) {
|
|
2665
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.domain
|
|
2666
|
-
input.executionFilter !== null && {
|
|
2654
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.executionFilter != null && {
|
|
2667
2655
|
executionFilter: serializeAws_json1_0WorkflowExecutionFilter(input.executionFilter, context),
|
|
2668
|
-
})), (input.startTimeFilter
|
|
2669
|
-
input.startTimeFilter !== null && {
|
|
2656
|
+
})), (input.startTimeFilter != null && {
|
|
2670
2657
|
startTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.startTimeFilter, context),
|
|
2671
|
-
})), (input.tagFilter
|
|
2672
|
-
input.tagFilter !== null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) })), (input.typeFilter !== undefined &&
|
|
2673
|
-
input.typeFilter !== null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }));
|
|
2658
|
+
})), (input.tagFilter != null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) })), (input.typeFilter != null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }));
|
|
2674
2659
|
};
|
|
2675
2660
|
var serializeAws_json1_0CountPendingActivityTasksInput = function (input, context) {
|
|
2676
|
-
return __assign(__assign({}, (input.domain
|
|
2677
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }));
|
|
2661
|
+
return __assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }));
|
|
2678
2662
|
};
|
|
2679
2663
|
var serializeAws_json1_0CountPendingDecisionTasksInput = function (input, context) {
|
|
2680
|
-
return __assign(__assign({}, (input.domain
|
|
2681
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }));
|
|
2664
|
+
return __assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }));
|
|
2682
2665
|
};
|
|
2683
2666
|
var serializeAws_json1_0Decision = function (input, context) {
|
|
2684
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.cancelTimerDecisionAttributes
|
|
2685
|
-
input.cancelTimerDecisionAttributes !== null && {
|
|
2667
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.cancelTimerDecisionAttributes != null && {
|
|
2686
2668
|
cancelTimerDecisionAttributes: serializeAws_json1_0CancelTimerDecisionAttributes(input.cancelTimerDecisionAttributes, context),
|
|
2687
|
-
})), (input.cancelWorkflowExecutionDecisionAttributes
|
|
2688
|
-
input.cancelWorkflowExecutionDecisionAttributes !== null && {
|
|
2669
|
+
})), (input.cancelWorkflowExecutionDecisionAttributes != null && {
|
|
2689
2670
|
cancelWorkflowExecutionDecisionAttributes: serializeAws_json1_0CancelWorkflowExecutionDecisionAttributes(input.cancelWorkflowExecutionDecisionAttributes, context),
|
|
2690
|
-
})), (input.completeWorkflowExecutionDecisionAttributes
|
|
2691
|
-
input.completeWorkflowExecutionDecisionAttributes !== null && {
|
|
2671
|
+
})), (input.completeWorkflowExecutionDecisionAttributes != null && {
|
|
2692
2672
|
completeWorkflowExecutionDecisionAttributes: serializeAws_json1_0CompleteWorkflowExecutionDecisionAttributes(input.completeWorkflowExecutionDecisionAttributes, context),
|
|
2693
|
-
})), (input.continueAsNewWorkflowExecutionDecisionAttributes
|
|
2694
|
-
input.continueAsNewWorkflowExecutionDecisionAttributes !== null && {
|
|
2673
|
+
})), (input.continueAsNewWorkflowExecutionDecisionAttributes != null && {
|
|
2695
2674
|
continueAsNewWorkflowExecutionDecisionAttributes: serializeAws_json1_0ContinueAsNewWorkflowExecutionDecisionAttributes(input.continueAsNewWorkflowExecutionDecisionAttributes, context),
|
|
2696
|
-
})), (input.decisionType
|
|
2697
|
-
input.failWorkflowExecutionDecisionAttributes !== null && {
|
|
2675
|
+
})), (input.decisionType != null && { decisionType: input.decisionType })), (input.failWorkflowExecutionDecisionAttributes != null && {
|
|
2698
2676
|
failWorkflowExecutionDecisionAttributes: serializeAws_json1_0FailWorkflowExecutionDecisionAttributes(input.failWorkflowExecutionDecisionAttributes, context),
|
|
2699
|
-
})), (input.recordMarkerDecisionAttributes
|
|
2700
|
-
input.recordMarkerDecisionAttributes !== null && {
|
|
2677
|
+
})), (input.recordMarkerDecisionAttributes != null && {
|
|
2701
2678
|
recordMarkerDecisionAttributes: serializeAws_json1_0RecordMarkerDecisionAttributes(input.recordMarkerDecisionAttributes, context),
|
|
2702
|
-
})), (input.requestCancelActivityTaskDecisionAttributes
|
|
2703
|
-
input.requestCancelActivityTaskDecisionAttributes !== null && {
|
|
2679
|
+
})), (input.requestCancelActivityTaskDecisionAttributes != null && {
|
|
2704
2680
|
requestCancelActivityTaskDecisionAttributes: serializeAws_json1_0RequestCancelActivityTaskDecisionAttributes(input.requestCancelActivityTaskDecisionAttributes, context),
|
|
2705
|
-
})), (input.requestCancelExternalWorkflowExecutionDecisionAttributes
|
|
2706
|
-
input.requestCancelExternalWorkflowExecutionDecisionAttributes !== null && {
|
|
2681
|
+
})), (input.requestCancelExternalWorkflowExecutionDecisionAttributes != null && {
|
|
2707
2682
|
requestCancelExternalWorkflowExecutionDecisionAttributes: serializeAws_json1_0RequestCancelExternalWorkflowExecutionDecisionAttributes(input.requestCancelExternalWorkflowExecutionDecisionAttributes, context),
|
|
2708
|
-
})), (input.scheduleActivityTaskDecisionAttributes
|
|
2709
|
-
input.scheduleActivityTaskDecisionAttributes !== null && {
|
|
2683
|
+
})), (input.scheduleActivityTaskDecisionAttributes != null && {
|
|
2710
2684
|
scheduleActivityTaskDecisionAttributes: serializeAws_json1_0ScheduleActivityTaskDecisionAttributes(input.scheduleActivityTaskDecisionAttributes, context),
|
|
2711
|
-
})), (input.scheduleLambdaFunctionDecisionAttributes
|
|
2712
|
-
input.scheduleLambdaFunctionDecisionAttributes !== null && {
|
|
2685
|
+
})), (input.scheduleLambdaFunctionDecisionAttributes != null && {
|
|
2713
2686
|
scheduleLambdaFunctionDecisionAttributes: serializeAws_json1_0ScheduleLambdaFunctionDecisionAttributes(input.scheduleLambdaFunctionDecisionAttributes, context),
|
|
2714
|
-
})), (input.signalExternalWorkflowExecutionDecisionAttributes
|
|
2715
|
-
input.signalExternalWorkflowExecutionDecisionAttributes !== null && {
|
|
2687
|
+
})), (input.signalExternalWorkflowExecutionDecisionAttributes != null && {
|
|
2716
2688
|
signalExternalWorkflowExecutionDecisionAttributes: serializeAws_json1_0SignalExternalWorkflowExecutionDecisionAttributes(input.signalExternalWorkflowExecutionDecisionAttributes, context),
|
|
2717
|
-
})), (input.startChildWorkflowExecutionDecisionAttributes
|
|
2718
|
-
input.startChildWorkflowExecutionDecisionAttributes !== null && {
|
|
2689
|
+
})), (input.startChildWorkflowExecutionDecisionAttributes != null && {
|
|
2719
2690
|
startChildWorkflowExecutionDecisionAttributes: serializeAws_json1_0StartChildWorkflowExecutionDecisionAttributes(input.startChildWorkflowExecutionDecisionAttributes, context),
|
|
2720
|
-
})), (input.startTimerDecisionAttributes
|
|
2721
|
-
input.startTimerDecisionAttributes !== null && {
|
|
2691
|
+
})), (input.startTimerDecisionAttributes != null && {
|
|
2722
2692
|
startTimerDecisionAttributes: serializeAws_json1_0StartTimerDecisionAttributes(input.startTimerDecisionAttributes, context),
|
|
2723
2693
|
}));
|
|
2724
2694
|
};
|
|
@@ -2733,157 +2703,115 @@ var serializeAws_json1_0DecisionList = function (input, context) {
|
|
|
2733
2703
|
});
|
|
2734
2704
|
};
|
|
2735
2705
|
var serializeAws_json1_0DeprecateActivityTypeInput = function (input, context) {
|
|
2736
|
-
return __assign(__assign({}, (input.activityType
|
|
2737
|
-
input.activityType !== null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) })), (input.domain !== undefined && input.domain !== null && { domain: input.domain }));
|
|
2706
|
+
return __assign(__assign({}, (input.activityType != null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) })), (input.domain != null && { domain: input.domain }));
|
|
2738
2707
|
};
|
|
2739
2708
|
var serializeAws_json1_0DeprecateDomainInput = function (input, context) {
|
|
2740
|
-
return __assign({}, (input.name
|
|
2709
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
2741
2710
|
};
|
|
2742
2711
|
var serializeAws_json1_0DeprecateWorkflowTypeInput = function (input, context) {
|
|
2743
|
-
return __assign(__assign({}, (input.domain
|
|
2744
|
-
input.workflowType !== null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2712
|
+
return __assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2745
2713
|
};
|
|
2746
2714
|
var serializeAws_json1_0DescribeActivityTypeInput = function (input, context) {
|
|
2747
|
-
return __assign(__assign({}, (input.activityType
|
|
2748
|
-
input.activityType !== null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) })), (input.domain !== undefined && input.domain !== null && { domain: input.domain }));
|
|
2715
|
+
return __assign(__assign({}, (input.activityType != null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) })), (input.domain != null && { domain: input.domain }));
|
|
2749
2716
|
};
|
|
2750
2717
|
var serializeAws_json1_0DescribeDomainInput = function (input, context) {
|
|
2751
|
-
return __assign({}, (input.name
|
|
2718
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
2752
2719
|
};
|
|
2753
2720
|
var serializeAws_json1_0DescribeWorkflowExecutionInput = function (input, context) {
|
|
2754
|
-
return __assign(__assign({}, (input.domain
|
|
2755
|
-
input.execution !== null && { execution: serializeAws_json1_0WorkflowExecution(input.execution, context) }));
|
|
2721
|
+
return __assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.execution != null && { execution: serializeAws_json1_0WorkflowExecution(input.execution, context) }));
|
|
2756
2722
|
};
|
|
2757
2723
|
var serializeAws_json1_0DescribeWorkflowTypeInput = function (input, context) {
|
|
2758
|
-
return __assign(__assign({}, (input.domain
|
|
2759
|
-
input.workflowType !== null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2724
|
+
return __assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2760
2725
|
};
|
|
2761
2726
|
var serializeAws_json1_0ExecutionTimeFilter = function (input, context) {
|
|
2762
|
-
return __assign(__assign({}, (input.latestDate
|
|
2763
|
-
input.latestDate !== null && { latestDate: Math.round(input.latestDate.getTime() / 1000) })), (input.oldestDate !== undefined &&
|
|
2764
|
-
input.oldestDate !== null && { oldestDate: Math.round(input.oldestDate.getTime() / 1000) }));
|
|
2727
|
+
return __assign(__assign({}, (input.latestDate != null && { latestDate: Math.round(input.latestDate.getTime() / 1000) })), (input.oldestDate != null && { oldestDate: Math.round(input.oldestDate.getTime() / 1000) }));
|
|
2765
2728
|
};
|
|
2766
2729
|
var serializeAws_json1_0FailWorkflowExecutionDecisionAttributes = function (input, context) {
|
|
2767
|
-
return __assign(__assign({}, (input.details
|
|
2730
|
+
return __assign(__assign({}, (input.details != null && { details: input.details })), (input.reason != null && { reason: input.reason }));
|
|
2768
2731
|
};
|
|
2769
2732
|
var serializeAws_json1_0GetWorkflowExecutionHistoryInput = function (input, context) {
|
|
2770
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.domain
|
|
2771
|
-
input.execution !== null && { execution: serializeAws_json1_0WorkflowExecution(input.execution, context) })), (input.maximumPageSize !== undefined &&
|
|
2772
|
-
input.maximumPageSize !== null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken !== undefined && input.nextPageToken !== null && { nextPageToken: input.nextPageToken })), (input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder }));
|
|
2733
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.execution != null && { execution: serializeAws_json1_0WorkflowExecution(input.execution, context) })), (input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken != null && { nextPageToken: input.nextPageToken })), (input.reverseOrder != null && { reverseOrder: input.reverseOrder }));
|
|
2773
2734
|
};
|
|
2774
2735
|
var serializeAws_json1_0ListActivityTypesInput = function (input, context) {
|
|
2775
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain
|
|
2776
|
-
input.maximumPageSize !== null && { maximumPageSize: input.maximumPageSize })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.nextPageToken !== undefined && input.nextPageToken !== null && { nextPageToken: input.nextPageToken })), (input.registrationStatus !== undefined &&
|
|
2777
|
-
input.registrationStatus !== null && { registrationStatus: input.registrationStatus })), (input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder }));
|
|
2736
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize })), (input.name != null && { name: input.name })), (input.nextPageToken != null && { nextPageToken: input.nextPageToken })), (input.registrationStatus != null && { registrationStatus: input.registrationStatus })), (input.reverseOrder != null && { reverseOrder: input.reverseOrder }));
|
|
2778
2737
|
};
|
|
2779
2738
|
var serializeAws_json1_0ListClosedWorkflowExecutionsInput = function (input, context) {
|
|
2780
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.closeStatusFilter
|
|
2781
|
-
input.closeStatusFilter !== null && {
|
|
2739
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.closeStatusFilter != null && {
|
|
2782
2740
|
closeStatusFilter: serializeAws_json1_0CloseStatusFilter(input.closeStatusFilter, context),
|
|
2783
|
-
})), (input.closeTimeFilter
|
|
2784
|
-
input.closeTimeFilter !== null && {
|
|
2741
|
+
})), (input.closeTimeFilter != null && {
|
|
2785
2742
|
closeTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.closeTimeFilter, context),
|
|
2786
|
-
})), (input.domain
|
|
2787
|
-
input.executionFilter !== null && {
|
|
2743
|
+
})), (input.domain != null && { domain: input.domain })), (input.executionFilter != null && {
|
|
2788
2744
|
executionFilter: serializeAws_json1_0WorkflowExecutionFilter(input.executionFilter, context),
|
|
2789
|
-
})), (input.maximumPageSize
|
|
2790
|
-
input.maximumPageSize !== null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken !== undefined && input.nextPageToken !== null && { nextPageToken: input.nextPageToken })), (input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder })), (input.startTimeFilter !== undefined &&
|
|
2791
|
-
input.startTimeFilter !== null && {
|
|
2745
|
+
})), (input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken != null && { nextPageToken: input.nextPageToken })), (input.reverseOrder != null && { reverseOrder: input.reverseOrder })), (input.startTimeFilter != null && {
|
|
2792
2746
|
startTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.startTimeFilter, context),
|
|
2793
|
-
})), (input.tagFilter
|
|
2794
|
-
input.tagFilter !== null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) })), (input.typeFilter !== undefined &&
|
|
2795
|
-
input.typeFilter !== null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }));
|
|
2747
|
+
})), (input.tagFilter != null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) })), (input.typeFilter != null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }));
|
|
2796
2748
|
};
|
|
2797
2749
|
var serializeAws_json1_0ListDomainsInput = function (input, context) {
|
|
2798
|
-
return __assign(__assign(__assign(__assign({}, (input.maximumPageSize
|
|
2799
|
-
input.maximumPageSize !== null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken !== undefined && input.nextPageToken !== null && { nextPageToken: input.nextPageToken })), (input.registrationStatus !== undefined &&
|
|
2800
|
-
input.registrationStatus !== null && { registrationStatus: input.registrationStatus })), (input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder }));
|
|
2750
|
+
return __assign(__assign(__assign(__assign({}, (input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken != null && { nextPageToken: input.nextPageToken })), (input.registrationStatus != null && { registrationStatus: input.registrationStatus })), (input.reverseOrder != null && { reverseOrder: input.reverseOrder }));
|
|
2801
2751
|
};
|
|
2802
2752
|
var serializeAws_json1_0ListOpenWorkflowExecutionsInput = function (input, context) {
|
|
2803
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain
|
|
2804
|
-
input.executionFilter !== null && {
|
|
2753
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.executionFilter != null && {
|
|
2805
2754
|
executionFilter: serializeAws_json1_0WorkflowExecutionFilter(input.executionFilter, context),
|
|
2806
|
-
})), (input.maximumPageSize
|
|
2807
|
-
input.maximumPageSize !== null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken !== undefined && input.nextPageToken !== null && { nextPageToken: input.nextPageToken })), (input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder })), (input.startTimeFilter !== undefined &&
|
|
2808
|
-
input.startTimeFilter !== null && {
|
|
2755
|
+
})), (input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken != null && { nextPageToken: input.nextPageToken })), (input.reverseOrder != null && { reverseOrder: input.reverseOrder })), (input.startTimeFilter != null && {
|
|
2809
2756
|
startTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.startTimeFilter, context),
|
|
2810
|
-
})), (input.tagFilter
|
|
2811
|
-
input.tagFilter !== null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) })), (input.typeFilter !== undefined &&
|
|
2812
|
-
input.typeFilter !== null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }));
|
|
2757
|
+
})), (input.tagFilter != null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) })), (input.typeFilter != null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }));
|
|
2813
2758
|
};
|
|
2814
2759
|
var serializeAws_json1_0ListTagsForResourceInput = function (input, context) {
|
|
2815
|
-
return __assign({}, (input.resourceArn
|
|
2760
|
+
return __assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn }));
|
|
2816
2761
|
};
|
|
2817
2762
|
var serializeAws_json1_0ListWorkflowTypesInput = function (input, context) {
|
|
2818
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain
|
|
2819
|
-
input.maximumPageSize !== null && { maximumPageSize: input.maximumPageSize })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.nextPageToken !== undefined && input.nextPageToken !== null && { nextPageToken: input.nextPageToken })), (input.registrationStatus !== undefined &&
|
|
2820
|
-
input.registrationStatus !== null && { registrationStatus: input.registrationStatus })), (input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder }));
|
|
2763
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize })), (input.name != null && { name: input.name })), (input.nextPageToken != null && { nextPageToken: input.nextPageToken })), (input.registrationStatus != null && { registrationStatus: input.registrationStatus })), (input.reverseOrder != null && { reverseOrder: input.reverseOrder }));
|
|
2821
2764
|
};
|
|
2822
2765
|
var serializeAws_json1_0PollForActivityTaskInput = function (input, context) {
|
|
2823
|
-
return __assign(__assign(__assign({}, (input.domain
|
|
2824
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }));
|
|
2766
|
+
return __assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.identity != null && { identity: input.identity })), (input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }));
|
|
2825
2767
|
};
|
|
2826
2768
|
var serializeAws_json1_0PollForDecisionTaskInput = function (input, context) {
|
|
2827
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain
|
|
2828
|
-
input.maximumPageSize !== null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken !== undefined && input.nextPageToken !== null && { nextPageToken: input.nextPageToken })), (input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder })), (input.taskList !== undefined &&
|
|
2829
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }));
|
|
2769
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.identity != null && { identity: input.identity })), (input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken != null && { nextPageToken: input.nextPageToken })), (input.reverseOrder != null && { reverseOrder: input.reverseOrder })), (input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }));
|
|
2830
2770
|
};
|
|
2831
2771
|
var serializeAws_json1_0RecordActivityTaskHeartbeatInput = function (input, context) {
|
|
2832
|
-
return __assign(__assign({}, (input.details
|
|
2772
|
+
return __assign(__assign({}, (input.details != null && { details: input.details })), (input.taskToken != null && { taskToken: input.taskToken }));
|
|
2833
2773
|
};
|
|
2834
2774
|
var serializeAws_json1_0RecordMarkerDecisionAttributes = function (input, context) {
|
|
2835
|
-
return __assign(__assign({}, (input.details
|
|
2775
|
+
return __assign(__assign({}, (input.details != null && { details: input.details })), (input.markerName != null && { markerName: input.markerName }));
|
|
2836
2776
|
};
|
|
2837
2777
|
var serializeAws_json1_0RegisterActivityTypeInput = function (input, context) {
|
|
2838
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.defaultTaskHeartbeatTimeout
|
|
2839
|
-
|
|
2840
|
-
|
|
2778
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.defaultTaskHeartbeatTimeout != null && {
|
|
2779
|
+
defaultTaskHeartbeatTimeout: input.defaultTaskHeartbeatTimeout,
|
|
2780
|
+
})), (input.defaultTaskList != null && {
|
|
2841
2781
|
defaultTaskList: serializeAws_json1_0TaskList(input.defaultTaskList, context),
|
|
2842
|
-
})), (input.defaultTaskPriority
|
|
2843
|
-
input.defaultTaskPriority !== null && { defaultTaskPriority: input.defaultTaskPriority })), (input.defaultTaskScheduleToCloseTimeout !== undefined &&
|
|
2844
|
-
input.defaultTaskScheduleToCloseTimeout !== null && {
|
|
2782
|
+
})), (input.defaultTaskPriority != null && { defaultTaskPriority: input.defaultTaskPriority })), (input.defaultTaskScheduleToCloseTimeout != null && {
|
|
2845
2783
|
defaultTaskScheduleToCloseTimeout: input.defaultTaskScheduleToCloseTimeout,
|
|
2846
|
-
})), (input.defaultTaskScheduleToStartTimeout
|
|
2847
|
-
input.defaultTaskScheduleToStartTimeout !== null && {
|
|
2784
|
+
})), (input.defaultTaskScheduleToStartTimeout != null && {
|
|
2848
2785
|
defaultTaskScheduleToStartTimeout: input.defaultTaskScheduleToStartTimeout,
|
|
2849
|
-
})), (input.defaultTaskStartToCloseTimeout
|
|
2850
|
-
input.defaultTaskStartToCloseTimeout !== null && {
|
|
2786
|
+
})), (input.defaultTaskStartToCloseTimeout != null && {
|
|
2851
2787
|
defaultTaskStartToCloseTimeout: input.defaultTaskStartToCloseTimeout,
|
|
2852
|
-
})), (input.description
|
|
2788
|
+
})), (input.description != null && { description: input.description })), (input.domain != null && { domain: input.domain })), (input.name != null && { name: input.name })), (input.version != null && { version: input.version }));
|
|
2853
2789
|
};
|
|
2854
2790
|
var serializeAws_json1_0RegisterDomainInput = function (input, context) {
|
|
2855
|
-
return __assign(__assign(__assign(__assign({}, (input.description
|
|
2856
|
-
input.tags !== null && { tags: serializeAws_json1_0ResourceTagList(input.tags, context) })), (input.workflowExecutionRetentionPeriodInDays !== undefined &&
|
|
2857
|
-
input.workflowExecutionRetentionPeriodInDays !== null && {
|
|
2791
|
+
return __assign(__assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_json1_0ResourceTagList(input.tags, context) })), (input.workflowExecutionRetentionPeriodInDays != null && {
|
|
2858
2792
|
workflowExecutionRetentionPeriodInDays: input.workflowExecutionRetentionPeriodInDays,
|
|
2859
2793
|
}));
|
|
2860
2794
|
};
|
|
2861
2795
|
var serializeAws_json1_0RegisterWorkflowTypeInput = function (input, context) {
|
|
2862
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.defaultChildPolicy
|
|
2863
|
-
input.defaultChildPolicy !== null && { defaultChildPolicy: input.defaultChildPolicy })), (input.defaultExecutionStartToCloseTimeout !== undefined &&
|
|
2864
|
-
input.defaultExecutionStartToCloseTimeout !== null && {
|
|
2796
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.defaultChildPolicy != null && { defaultChildPolicy: input.defaultChildPolicy })), (input.defaultExecutionStartToCloseTimeout != null && {
|
|
2865
2797
|
defaultExecutionStartToCloseTimeout: input.defaultExecutionStartToCloseTimeout,
|
|
2866
|
-
})), (input.defaultLambdaRole
|
|
2867
|
-
input.defaultLambdaRole !== null && { defaultLambdaRole: input.defaultLambdaRole })), (input.defaultTaskList !== undefined &&
|
|
2868
|
-
input.defaultTaskList !== null && {
|
|
2798
|
+
})), (input.defaultLambdaRole != null && { defaultLambdaRole: input.defaultLambdaRole })), (input.defaultTaskList != null && {
|
|
2869
2799
|
defaultTaskList: serializeAws_json1_0TaskList(input.defaultTaskList, context),
|
|
2870
|
-
})), (input.defaultTaskPriority
|
|
2871
|
-
input.defaultTaskPriority !== null && { defaultTaskPriority: input.defaultTaskPriority })), (input.defaultTaskStartToCloseTimeout !== undefined &&
|
|
2872
|
-
input.defaultTaskStartToCloseTimeout !== null && {
|
|
2800
|
+
})), (input.defaultTaskPriority != null && { defaultTaskPriority: input.defaultTaskPriority })), (input.defaultTaskStartToCloseTimeout != null && {
|
|
2873
2801
|
defaultTaskStartToCloseTimeout: input.defaultTaskStartToCloseTimeout,
|
|
2874
|
-
})), (input.description
|
|
2802
|
+
})), (input.description != null && { description: input.description })), (input.domain != null && { domain: input.domain })), (input.name != null && { name: input.name })), (input.version != null && { version: input.version }));
|
|
2875
2803
|
};
|
|
2876
2804
|
var serializeAws_json1_0RequestCancelActivityTaskDecisionAttributes = function (input, context) {
|
|
2877
|
-
return __assign({}, (input.activityId
|
|
2805
|
+
return __assign({}, (input.activityId != null && { activityId: input.activityId }));
|
|
2878
2806
|
};
|
|
2879
2807
|
var serializeAws_json1_0RequestCancelExternalWorkflowExecutionDecisionAttributes = function (input, context) {
|
|
2880
|
-
return __assign(__assign(__assign({}, (input.control
|
|
2808
|
+
return __assign(__assign(__assign({}, (input.control != null && { control: input.control })), (input.runId != null && { runId: input.runId })), (input.workflowId != null && { workflowId: input.workflowId }));
|
|
2881
2809
|
};
|
|
2882
2810
|
var serializeAws_json1_0RequestCancelWorkflowExecutionInput = function (input, context) {
|
|
2883
|
-
return __assign(__assign(__assign({}, (input.domain
|
|
2811
|
+
return __assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.runId != null && { runId: input.runId })), (input.workflowId != null && { workflowId: input.workflowId }));
|
|
2884
2812
|
};
|
|
2885
2813
|
var serializeAws_json1_0ResourceTag = function (input, context) {
|
|
2886
|
-
return __assign(__assign({}, (input.key
|
|
2814
|
+
return __assign(__assign({}, (input.key != null && { key: input.key })), (input.value != null && { value: input.value }));
|
|
2887
2815
|
};
|
|
2888
2816
|
var serializeAws_json1_0ResourceTagKeyList = function (input, context) {
|
|
2889
2817
|
return input
|
|
@@ -2906,64 +2834,44 @@ var serializeAws_json1_0ResourceTagList = function (input, context) {
|
|
|
2906
2834
|
});
|
|
2907
2835
|
};
|
|
2908
2836
|
var serializeAws_json1_0RespondActivityTaskCanceledInput = function (input, context) {
|
|
2909
|
-
return __assign(__assign({}, (input.details
|
|
2837
|
+
return __assign(__assign({}, (input.details != null && { details: input.details })), (input.taskToken != null && { taskToken: input.taskToken }));
|
|
2910
2838
|
};
|
|
2911
2839
|
var serializeAws_json1_0RespondActivityTaskCompletedInput = function (input, context) {
|
|
2912
|
-
return __assign(__assign({}, (input.result
|
|
2840
|
+
return __assign(__assign({}, (input.result != null && { result: input.result })), (input.taskToken != null && { taskToken: input.taskToken }));
|
|
2913
2841
|
};
|
|
2914
2842
|
var serializeAws_json1_0RespondActivityTaskFailedInput = function (input, context) {
|
|
2915
|
-
return __assign(__assign(__assign({}, (input.details
|
|
2843
|
+
return __assign(__assign(__assign({}, (input.details != null && { details: input.details })), (input.reason != null && { reason: input.reason })), (input.taskToken != null && { taskToken: input.taskToken }));
|
|
2916
2844
|
};
|
|
2917
2845
|
var serializeAws_json1_0RespondDecisionTaskCompletedInput = function (input, context) {
|
|
2918
|
-
return __assign(__assign(__assign({}, (input.decisions
|
|
2919
|
-
input.decisions !== null && { decisions: serializeAws_json1_0DecisionList(input.decisions, context) })), (input.executionContext !== undefined &&
|
|
2920
|
-
input.executionContext !== null && { executionContext: input.executionContext })), (input.taskToken !== undefined && input.taskToken !== null && { taskToken: input.taskToken }));
|
|
2846
|
+
return __assign(__assign(__assign({}, (input.decisions != null && { decisions: serializeAws_json1_0DecisionList(input.decisions, context) })), (input.executionContext != null && { executionContext: input.executionContext })), (input.taskToken != null && { taskToken: input.taskToken }));
|
|
2921
2847
|
};
|
|
2922
2848
|
var serializeAws_json1_0ScheduleActivityTaskDecisionAttributes = function (input, context) {
|
|
2923
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.activityId
|
|
2924
|
-
input.activityType !== null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) })), (input.control !== undefined && input.control !== null && { control: input.control })), (input.heartbeatTimeout !== undefined &&
|
|
2925
|
-
input.heartbeatTimeout !== null && { heartbeatTimeout: input.heartbeatTimeout })), (input.input !== undefined && input.input !== null && { input: input.input })), (input.scheduleToCloseTimeout !== undefined &&
|
|
2926
|
-
input.scheduleToCloseTimeout !== null && { scheduleToCloseTimeout: input.scheduleToCloseTimeout })), (input.scheduleToStartTimeout !== undefined &&
|
|
2927
|
-
input.scheduleToStartTimeout !== null && { scheduleToStartTimeout: input.scheduleToStartTimeout })), (input.startToCloseTimeout !== undefined &&
|
|
2928
|
-
input.startToCloseTimeout !== null && { startToCloseTimeout: input.startToCloseTimeout })), (input.taskList !== undefined &&
|
|
2929
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) })), (input.taskPriority !== undefined && input.taskPriority !== null && { taskPriority: input.taskPriority }));
|
|
2849
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.activityId != null && { activityId: input.activityId })), (input.activityType != null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) })), (input.control != null && { control: input.control })), (input.heartbeatTimeout != null && { heartbeatTimeout: input.heartbeatTimeout })), (input.input != null && { input: input.input })), (input.scheduleToCloseTimeout != null && { scheduleToCloseTimeout: input.scheduleToCloseTimeout })), (input.scheduleToStartTimeout != null && { scheduleToStartTimeout: input.scheduleToStartTimeout })), (input.startToCloseTimeout != null && { startToCloseTimeout: input.startToCloseTimeout })), (input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) })), (input.taskPriority != null && { taskPriority: input.taskPriority }));
|
|
2930
2850
|
};
|
|
2931
2851
|
var serializeAws_json1_0ScheduleLambdaFunctionDecisionAttributes = function (input, context) {
|
|
2932
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.control
|
|
2933
|
-
input.startToCloseTimeout !== null && { startToCloseTimeout: input.startToCloseTimeout }));
|
|
2852
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.control != null && { control: input.control })), (input.id != null && { id: input.id })), (input.input != null && { input: input.input })), (input.name != null && { name: input.name })), (input.startToCloseTimeout != null && { startToCloseTimeout: input.startToCloseTimeout }));
|
|
2934
2853
|
};
|
|
2935
2854
|
var serializeAws_json1_0SignalExternalWorkflowExecutionDecisionAttributes = function (input, context) {
|
|
2936
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.control
|
|
2855
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.control != null && { control: input.control })), (input.input != null && { input: input.input })), (input.runId != null && { runId: input.runId })), (input.signalName != null && { signalName: input.signalName })), (input.workflowId != null && { workflowId: input.workflowId }));
|
|
2937
2856
|
};
|
|
2938
2857
|
var serializeAws_json1_0SignalWorkflowExecutionInput = function (input, context) {
|
|
2939
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.domain
|
|
2858
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.input != null && { input: input.input })), (input.runId != null && { runId: input.runId })), (input.signalName != null && { signalName: input.signalName })), (input.workflowId != null && { workflowId: input.workflowId }));
|
|
2940
2859
|
};
|
|
2941
2860
|
var serializeAws_json1_0StartChildWorkflowExecutionDecisionAttributes = function (input, context) {
|
|
2942
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.childPolicy
|
|
2943
|
-
input.executionStartToCloseTimeout !== null && {
|
|
2861
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.childPolicy != null && { childPolicy: input.childPolicy })), (input.control != null && { control: input.control })), (input.executionStartToCloseTimeout != null && {
|
|
2944
2862
|
executionStartToCloseTimeout: input.executionStartToCloseTimeout,
|
|
2945
|
-
})), (input.input
|
|
2946
|
-
input.tagList !== null && { tagList: serializeAws_json1_0TagList(input.tagList, context) })), (input.taskList !== undefined &&
|
|
2947
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) })), (input.taskPriority !== undefined && input.taskPriority !== null && { taskPriority: input.taskPriority })), (input.taskStartToCloseTimeout !== undefined &&
|
|
2948
|
-
input.taskStartToCloseTimeout !== null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout })), (input.workflowId !== undefined && input.workflowId !== null && { workflowId: input.workflowId })), (input.workflowType !== undefined &&
|
|
2949
|
-
input.workflowType !== null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2863
|
+
})), (input.input != null && { input: input.input })), (input.lambdaRole != null && { lambdaRole: input.lambdaRole })), (input.tagList != null && { tagList: serializeAws_json1_0TagList(input.tagList, context) })), (input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) })), (input.taskPriority != null && { taskPriority: input.taskPriority })), (input.taskStartToCloseTimeout != null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout })), (input.workflowId != null && { workflowId: input.workflowId })), (input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2950
2864
|
};
|
|
2951
2865
|
var serializeAws_json1_0StartTimerDecisionAttributes = function (input, context) {
|
|
2952
|
-
return __assign(__assign(__assign({}, (input.control
|
|
2953
|
-
input.startToFireTimeout !== null && { startToFireTimeout: input.startToFireTimeout })), (input.timerId !== undefined && input.timerId !== null && { timerId: input.timerId }));
|
|
2866
|
+
return __assign(__assign(__assign({}, (input.control != null && { control: input.control })), (input.startToFireTimeout != null && { startToFireTimeout: input.startToFireTimeout })), (input.timerId != null && { timerId: input.timerId }));
|
|
2954
2867
|
};
|
|
2955
2868
|
var serializeAws_json1_0StartWorkflowExecutionInput = function (input, context) {
|
|
2956
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.childPolicy
|
|
2957
|
-
input.executionStartToCloseTimeout !== null && {
|
|
2869
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.childPolicy != null && { childPolicy: input.childPolicy })), (input.domain != null && { domain: input.domain })), (input.executionStartToCloseTimeout != null && {
|
|
2958
2870
|
executionStartToCloseTimeout: input.executionStartToCloseTimeout,
|
|
2959
|
-
})), (input.input
|
|
2960
|
-
input.tagList !== null && { tagList: serializeAws_json1_0TagList(input.tagList, context) })), (input.taskList !== undefined &&
|
|
2961
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) })), (input.taskPriority !== undefined && input.taskPriority !== null && { taskPriority: input.taskPriority })), (input.taskStartToCloseTimeout !== undefined &&
|
|
2962
|
-
input.taskStartToCloseTimeout !== null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout })), (input.workflowId !== undefined && input.workflowId !== null && { workflowId: input.workflowId })), (input.workflowType !== undefined &&
|
|
2963
|
-
input.workflowType !== null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2871
|
+
})), (input.input != null && { input: input.input })), (input.lambdaRole != null && { lambdaRole: input.lambdaRole })), (input.tagList != null && { tagList: serializeAws_json1_0TagList(input.tagList, context) })), (input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) })), (input.taskPriority != null && { taskPriority: input.taskPriority })), (input.taskStartToCloseTimeout != null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout })), (input.workflowId != null && { workflowId: input.workflowId })), (input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2964
2872
|
};
|
|
2965
2873
|
var serializeAws_json1_0TagFilter = function (input, context) {
|
|
2966
|
-
return __assign({}, (input.tag
|
|
2874
|
+
return __assign({}, (input.tag != null && { tag: input.tag }));
|
|
2967
2875
|
};
|
|
2968
2876
|
var serializeAws_json1_0TagList = function (input, context) {
|
|
2969
2877
|
return input
|
|
@@ -2976,52 +2884,46 @@ var serializeAws_json1_0TagList = function (input, context) {
|
|
|
2976
2884
|
});
|
|
2977
2885
|
};
|
|
2978
2886
|
var serializeAws_json1_0TagResourceInput = function (input, context) {
|
|
2979
|
-
return __assign(__assign({}, (input.resourceArn
|
|
2980
|
-
input.tags !== null && { tags: serializeAws_json1_0ResourceTagList(input.tags, context) }));
|
|
2887
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tags != null && { tags: serializeAws_json1_0ResourceTagList(input.tags, context) }));
|
|
2981
2888
|
};
|
|
2982
2889
|
var serializeAws_json1_0TaskList = function (input, context) {
|
|
2983
|
-
return __assign({}, (input.name
|
|
2890
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
2984
2891
|
};
|
|
2985
2892
|
var serializeAws_json1_0TerminateWorkflowExecutionInput = function (input, context) {
|
|
2986
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.childPolicy
|
|
2893
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.childPolicy != null && { childPolicy: input.childPolicy })), (input.details != null && { details: input.details })), (input.domain != null && { domain: input.domain })), (input.reason != null && { reason: input.reason })), (input.runId != null && { runId: input.runId })), (input.workflowId != null && { workflowId: input.workflowId }));
|
|
2987
2894
|
};
|
|
2988
2895
|
var serializeAws_json1_0UndeprecateActivityTypeInput = function (input, context) {
|
|
2989
|
-
return __assign(__assign({}, (input.activityType
|
|
2990
|
-
input.activityType !== null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) })), (input.domain !== undefined && input.domain !== null && { domain: input.domain }));
|
|
2896
|
+
return __assign(__assign({}, (input.activityType != null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) })), (input.domain != null && { domain: input.domain }));
|
|
2991
2897
|
};
|
|
2992
2898
|
var serializeAws_json1_0UndeprecateDomainInput = function (input, context) {
|
|
2993
|
-
return __assign({}, (input.name
|
|
2899
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
2994
2900
|
};
|
|
2995
2901
|
var serializeAws_json1_0UndeprecateWorkflowTypeInput = function (input, context) {
|
|
2996
|
-
return __assign(__assign({}, (input.domain
|
|
2997
|
-
input.workflowType !== null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2902
|
+
return __assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2998
2903
|
};
|
|
2999
2904
|
var serializeAws_json1_0UntagResourceInput = function (input, context) {
|
|
3000
|
-
return __assign(__assign({}, (input.resourceArn
|
|
3001
|
-
input.tagKeys !== null && { tagKeys: serializeAws_json1_0ResourceTagKeyList(input.tagKeys, context) }));
|
|
2905
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tagKeys != null && { tagKeys: serializeAws_json1_0ResourceTagKeyList(input.tagKeys, context) }));
|
|
3002
2906
|
};
|
|
3003
2907
|
var serializeAws_json1_0WorkflowExecution = function (input, context) {
|
|
3004
|
-
return __assign(__assign({}, (input.runId
|
|
2908
|
+
return __assign(__assign({}, (input.runId != null && { runId: input.runId })), (input.workflowId != null && { workflowId: input.workflowId }));
|
|
3005
2909
|
};
|
|
3006
2910
|
var serializeAws_json1_0WorkflowExecutionFilter = function (input, context) {
|
|
3007
|
-
return __assign({}, (input.workflowId
|
|
2911
|
+
return __assign({}, (input.workflowId != null && { workflowId: input.workflowId }));
|
|
3008
2912
|
};
|
|
3009
2913
|
var serializeAws_json1_0WorkflowType = function (input, context) {
|
|
3010
|
-
return __assign(__assign({}, (input.name
|
|
2914
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.version != null && { version: input.version }));
|
|
3011
2915
|
};
|
|
3012
2916
|
var serializeAws_json1_0WorkflowTypeFilter = function (input, context) {
|
|
3013
|
-
return __assign(__assign({}, (input.name
|
|
2917
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.version != null && { version: input.version }));
|
|
3014
2918
|
};
|
|
3015
2919
|
var deserializeAws_json1_0ActivityTask = function (output, context) {
|
|
3016
2920
|
return {
|
|
3017
2921
|
activityId: __expectString(output.activityId),
|
|
3018
|
-
activityType: output.activityType
|
|
3019
|
-
? deserializeAws_json1_0ActivityType(output.activityType, context)
|
|
3020
|
-
: undefined,
|
|
2922
|
+
activityType: output.activityType != null ? deserializeAws_json1_0ActivityType(output.activityType, context) : undefined,
|
|
3021
2923
|
input: __expectString(output.input),
|
|
3022
2924
|
startedEventId: __expectLong(output.startedEventId),
|
|
3023
2925
|
taskToken: __expectString(output.taskToken),
|
|
3024
|
-
workflowExecution: output.workflowExecution
|
|
2926
|
+
workflowExecution: output.workflowExecution != null
|
|
3025
2927
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3026
2928
|
: undefined,
|
|
3027
2929
|
};
|
|
@@ -3058,9 +2960,7 @@ var deserializeAws_json1_0ActivityTaskFailedEventAttributes = function (output,
|
|
|
3058
2960
|
var deserializeAws_json1_0ActivityTaskScheduledEventAttributes = function (output, context) {
|
|
3059
2961
|
return {
|
|
3060
2962
|
activityId: __expectString(output.activityId),
|
|
3061
|
-
activityType: output.activityType
|
|
3062
|
-
? deserializeAws_json1_0ActivityType(output.activityType, context)
|
|
3063
|
-
: undefined,
|
|
2963
|
+
activityType: output.activityType != null ? deserializeAws_json1_0ActivityType(output.activityType, context) : undefined,
|
|
3064
2964
|
control: __expectString(output.control),
|
|
3065
2965
|
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
3066
2966
|
heartbeatTimeout: __expectString(output.heartbeatTimeout),
|
|
@@ -3068,9 +2968,7 @@ var deserializeAws_json1_0ActivityTaskScheduledEventAttributes = function (outpu
|
|
|
3068
2968
|
scheduleToCloseTimeout: __expectString(output.scheduleToCloseTimeout),
|
|
3069
2969
|
scheduleToStartTimeout: __expectString(output.scheduleToStartTimeout),
|
|
3070
2970
|
startToCloseTimeout: __expectString(output.startToCloseTimeout),
|
|
3071
|
-
taskList: output.taskList
|
|
3072
|
-
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
3073
|
-
: undefined,
|
|
2971
|
+
taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
|
|
3074
2972
|
taskPriority: __expectString(output.taskPriority),
|
|
3075
2973
|
};
|
|
3076
2974
|
};
|
|
@@ -3102,9 +3000,7 @@ var deserializeAws_json1_0ActivityType = function (output, context) {
|
|
|
3102
3000
|
var deserializeAws_json1_0ActivityTypeConfiguration = function (output, context) {
|
|
3103
3001
|
return {
|
|
3104
3002
|
defaultTaskHeartbeatTimeout: __expectString(output.defaultTaskHeartbeatTimeout),
|
|
3105
|
-
defaultTaskList: output.defaultTaskList
|
|
3106
|
-
? deserializeAws_json1_0TaskList(output.defaultTaskList, context)
|
|
3107
|
-
: undefined,
|
|
3003
|
+
defaultTaskList: output.defaultTaskList != null ? deserializeAws_json1_0TaskList(output.defaultTaskList, context) : undefined,
|
|
3108
3004
|
defaultTaskPriority: __expectString(output.defaultTaskPriority),
|
|
3109
3005
|
defaultTaskScheduleToCloseTimeout: __expectString(output.defaultTaskScheduleToCloseTimeout),
|
|
3110
3006
|
defaultTaskScheduleToStartTimeout: __expectString(output.defaultTaskScheduleToStartTimeout),
|
|
@@ -3113,23 +3009,19 @@ var deserializeAws_json1_0ActivityTypeConfiguration = function (output, context)
|
|
|
3113
3009
|
};
|
|
3114
3010
|
var deserializeAws_json1_0ActivityTypeDetail = function (output, context) {
|
|
3115
3011
|
return {
|
|
3116
|
-
configuration: output.configuration
|
|
3012
|
+
configuration: output.configuration != null
|
|
3117
3013
|
? deserializeAws_json1_0ActivityTypeConfiguration(output.configuration, context)
|
|
3118
3014
|
: undefined,
|
|
3119
|
-
typeInfo: output.typeInfo
|
|
3120
|
-
? deserializeAws_json1_0ActivityTypeInfo(output.typeInfo, context)
|
|
3121
|
-
: undefined,
|
|
3015
|
+
typeInfo: output.typeInfo != null ? deserializeAws_json1_0ActivityTypeInfo(output.typeInfo, context) : undefined,
|
|
3122
3016
|
};
|
|
3123
3017
|
};
|
|
3124
3018
|
var deserializeAws_json1_0ActivityTypeInfo = function (output, context) {
|
|
3125
3019
|
return {
|
|
3126
|
-
activityType: output.activityType
|
|
3127
|
-
|
|
3128
|
-
: undefined,
|
|
3129
|
-
creationDate: output.creationDate !== undefined && output.creationDate !== null
|
|
3020
|
+
activityType: output.activityType != null ? deserializeAws_json1_0ActivityType(output.activityType, context) : undefined,
|
|
3021
|
+
creationDate: output.creationDate != null
|
|
3130
3022
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
3131
3023
|
: undefined,
|
|
3132
|
-
deprecationDate: output.deprecationDate
|
|
3024
|
+
deprecationDate: output.deprecationDate != null
|
|
3133
3025
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.deprecationDate)))
|
|
3134
3026
|
: undefined,
|
|
3135
3027
|
description: __expectString(output.description),
|
|
@@ -3150,9 +3042,7 @@ var deserializeAws_json1_0ActivityTypeInfoList = function (output, context) {
|
|
|
3150
3042
|
var deserializeAws_json1_0ActivityTypeInfos = function (output, context) {
|
|
3151
3043
|
return {
|
|
3152
3044
|
nextPageToken: __expectString(output.nextPageToken),
|
|
3153
|
-
typeInfos: output.typeInfos
|
|
3154
|
-
? deserializeAws_json1_0ActivityTypeInfoList(output.typeInfos, context)
|
|
3155
|
-
: undefined,
|
|
3045
|
+
typeInfos: output.typeInfos != null ? deserializeAws_json1_0ActivityTypeInfoList(output.typeInfos, context) : undefined,
|
|
3156
3046
|
};
|
|
3157
3047
|
};
|
|
3158
3048
|
var deserializeAws_json1_0CancelTimerFailedEventAttributes = function (output, context) {
|
|
@@ -3173,12 +3063,10 @@ var deserializeAws_json1_0ChildWorkflowExecutionCanceledEventAttributes = functi
|
|
|
3173
3063
|
details: __expectString(output.details),
|
|
3174
3064
|
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
3175
3065
|
startedEventId: __expectLong(output.startedEventId),
|
|
3176
|
-
workflowExecution: output.workflowExecution
|
|
3066
|
+
workflowExecution: output.workflowExecution != null
|
|
3177
3067
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3178
3068
|
: undefined,
|
|
3179
|
-
workflowType: output.workflowType
|
|
3180
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3181
|
-
: undefined,
|
|
3069
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3182
3070
|
};
|
|
3183
3071
|
};
|
|
3184
3072
|
var deserializeAws_json1_0ChildWorkflowExecutionCompletedEventAttributes = function (output, context) {
|
|
@@ -3186,12 +3074,10 @@ var deserializeAws_json1_0ChildWorkflowExecutionCompletedEventAttributes = funct
|
|
|
3186
3074
|
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
3187
3075
|
result: __expectString(output.result),
|
|
3188
3076
|
startedEventId: __expectLong(output.startedEventId),
|
|
3189
|
-
workflowExecution: output.workflowExecution
|
|
3077
|
+
workflowExecution: output.workflowExecution != null
|
|
3190
3078
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3191
3079
|
: undefined,
|
|
3192
|
-
workflowType: output.workflowType
|
|
3193
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3194
|
-
: undefined,
|
|
3080
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3195
3081
|
};
|
|
3196
3082
|
};
|
|
3197
3083
|
var deserializeAws_json1_0ChildWorkflowExecutionFailedEventAttributes = function (output, context) {
|
|
@@ -3200,35 +3086,29 @@ var deserializeAws_json1_0ChildWorkflowExecutionFailedEventAttributes = function
|
|
|
3200
3086
|
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
3201
3087
|
reason: __expectString(output.reason),
|
|
3202
3088
|
startedEventId: __expectLong(output.startedEventId),
|
|
3203
|
-
workflowExecution: output.workflowExecution
|
|
3089
|
+
workflowExecution: output.workflowExecution != null
|
|
3204
3090
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3205
3091
|
: undefined,
|
|
3206
|
-
workflowType: output.workflowType
|
|
3207
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3208
|
-
: undefined,
|
|
3092
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3209
3093
|
};
|
|
3210
3094
|
};
|
|
3211
3095
|
var deserializeAws_json1_0ChildWorkflowExecutionStartedEventAttributes = function (output, context) {
|
|
3212
3096
|
return {
|
|
3213
3097
|
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
3214
|
-
workflowExecution: output.workflowExecution
|
|
3098
|
+
workflowExecution: output.workflowExecution != null
|
|
3215
3099
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3216
3100
|
: undefined,
|
|
3217
|
-
workflowType: output.workflowType
|
|
3218
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3219
|
-
: undefined,
|
|
3101
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3220
3102
|
};
|
|
3221
3103
|
};
|
|
3222
3104
|
var deserializeAws_json1_0ChildWorkflowExecutionTerminatedEventAttributes = function (output, context) {
|
|
3223
3105
|
return {
|
|
3224
3106
|
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
3225
3107
|
startedEventId: __expectLong(output.startedEventId),
|
|
3226
|
-
workflowExecution: output.workflowExecution
|
|
3108
|
+
workflowExecution: output.workflowExecution != null
|
|
3227
3109
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3228
3110
|
: undefined,
|
|
3229
|
-
workflowType: output.workflowType
|
|
3230
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3231
|
-
: undefined,
|
|
3111
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3232
3112
|
};
|
|
3233
3113
|
};
|
|
3234
3114
|
var deserializeAws_json1_0ChildWorkflowExecutionTimedOutEventAttributes = function (output, context) {
|
|
@@ -3236,12 +3116,10 @@ var deserializeAws_json1_0ChildWorkflowExecutionTimedOutEventAttributes = functi
|
|
|
3236
3116
|
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
3237
3117
|
startedEventId: __expectLong(output.startedEventId),
|
|
3238
3118
|
timeoutType: __expectString(output.timeoutType),
|
|
3239
|
-
workflowExecution: output.workflowExecution
|
|
3119
|
+
workflowExecution: output.workflowExecution != null
|
|
3240
3120
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3241
3121
|
: undefined,
|
|
3242
|
-
workflowType: output.workflowType
|
|
3243
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3244
|
-
: undefined,
|
|
3122
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3245
3123
|
};
|
|
3246
3124
|
};
|
|
3247
3125
|
var deserializeAws_json1_0CompleteWorkflowExecutionFailedEventAttributes = function (output, context) {
|
|
@@ -3258,19 +3136,15 @@ var deserializeAws_json1_0ContinueAsNewWorkflowExecutionFailedEventAttributes =
|
|
|
3258
3136
|
};
|
|
3259
3137
|
var deserializeAws_json1_0DecisionTask = function (output, context) {
|
|
3260
3138
|
return {
|
|
3261
|
-
events: output.events
|
|
3262
|
-
? deserializeAws_json1_0HistoryEventList(output.events, context)
|
|
3263
|
-
: undefined,
|
|
3139
|
+
events: output.events != null ? deserializeAws_json1_0HistoryEventList(output.events, context) : undefined,
|
|
3264
3140
|
nextPageToken: __expectString(output.nextPageToken),
|
|
3265
3141
|
previousStartedEventId: __expectLong(output.previousStartedEventId),
|
|
3266
3142
|
startedEventId: __expectLong(output.startedEventId),
|
|
3267
3143
|
taskToken: __expectString(output.taskToken),
|
|
3268
|
-
workflowExecution: output.workflowExecution
|
|
3144
|
+
workflowExecution: output.workflowExecution != null
|
|
3269
3145
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3270
3146
|
: undefined,
|
|
3271
|
-
workflowType: output.workflowType
|
|
3272
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3273
|
-
: undefined,
|
|
3147
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3274
3148
|
};
|
|
3275
3149
|
};
|
|
3276
3150
|
var deserializeAws_json1_0DecisionTaskCompletedEventAttributes = function (output, context) {
|
|
@@ -3283,9 +3157,7 @@ var deserializeAws_json1_0DecisionTaskCompletedEventAttributes = function (outpu
|
|
|
3283
3157
|
var deserializeAws_json1_0DecisionTaskScheduledEventAttributes = function (output, context) {
|
|
3284
3158
|
return {
|
|
3285
3159
|
startToCloseTimeout: __expectString(output.startToCloseTimeout),
|
|
3286
|
-
taskList: output.taskList
|
|
3287
|
-
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
3288
|
-
: undefined,
|
|
3160
|
+
taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
|
|
3289
3161
|
taskPriority: __expectString(output.taskPriority),
|
|
3290
3162
|
};
|
|
3291
3163
|
};
|
|
@@ -3324,12 +3196,10 @@ var deserializeAws_json1_0DomainDeprecatedFault = function (output, context) {
|
|
|
3324
3196
|
};
|
|
3325
3197
|
var deserializeAws_json1_0DomainDetail = function (output, context) {
|
|
3326
3198
|
return {
|
|
3327
|
-
configuration: output.configuration
|
|
3199
|
+
configuration: output.configuration != null
|
|
3328
3200
|
? deserializeAws_json1_0DomainConfiguration(output.configuration, context)
|
|
3329
3201
|
: undefined,
|
|
3330
|
-
domainInfo: output.domainInfo
|
|
3331
|
-
? deserializeAws_json1_0DomainInfo(output.domainInfo, context)
|
|
3332
|
-
: undefined,
|
|
3202
|
+
domainInfo: output.domainInfo != null ? deserializeAws_json1_0DomainInfo(output.domainInfo, context) : undefined,
|
|
3333
3203
|
};
|
|
3334
3204
|
};
|
|
3335
3205
|
var deserializeAws_json1_0DomainInfo = function (output, context) {
|
|
@@ -3353,16 +3223,14 @@ var deserializeAws_json1_0DomainInfoList = function (output, context) {
|
|
|
3353
3223
|
};
|
|
3354
3224
|
var deserializeAws_json1_0DomainInfos = function (output, context) {
|
|
3355
3225
|
return {
|
|
3356
|
-
domainInfos: output.domainInfos
|
|
3357
|
-
? deserializeAws_json1_0DomainInfoList(output.domainInfos, context)
|
|
3358
|
-
: undefined,
|
|
3226
|
+
domainInfos: output.domainInfos != null ? deserializeAws_json1_0DomainInfoList(output.domainInfos, context) : undefined,
|
|
3359
3227
|
nextPageToken: __expectString(output.nextPageToken),
|
|
3360
3228
|
};
|
|
3361
3229
|
};
|
|
3362
3230
|
var deserializeAws_json1_0ExternalWorkflowExecutionCancelRequestedEventAttributes = function (output, context) {
|
|
3363
3231
|
return {
|
|
3364
3232
|
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
3365
|
-
workflowExecution: output.workflowExecution
|
|
3233
|
+
workflowExecution: output.workflowExecution != null
|
|
3366
3234
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3367
3235
|
: undefined,
|
|
3368
3236
|
};
|
|
@@ -3370,7 +3238,7 @@ var deserializeAws_json1_0ExternalWorkflowExecutionCancelRequestedEventAttribute
|
|
|
3370
3238
|
var deserializeAws_json1_0ExternalWorkflowExecutionSignaledEventAttributes = function (output, context) {
|
|
3371
3239
|
return {
|
|
3372
3240
|
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
3373
|
-
workflowExecution: output.workflowExecution
|
|
3241
|
+
workflowExecution: output.workflowExecution != null
|
|
3374
3242
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3375
3243
|
: undefined,
|
|
3376
3244
|
};
|
|
@@ -3383,214 +3251,177 @@ var deserializeAws_json1_0FailWorkflowExecutionFailedEventAttributes = function
|
|
|
3383
3251
|
};
|
|
3384
3252
|
var deserializeAws_json1_0History = function (output, context) {
|
|
3385
3253
|
return {
|
|
3386
|
-
events: output.events
|
|
3387
|
-
? deserializeAws_json1_0HistoryEventList(output.events, context)
|
|
3388
|
-
: undefined,
|
|
3254
|
+
events: output.events != null ? deserializeAws_json1_0HistoryEventList(output.events, context) : undefined,
|
|
3389
3255
|
nextPageToken: __expectString(output.nextPageToken),
|
|
3390
3256
|
};
|
|
3391
3257
|
};
|
|
3392
3258
|
var deserializeAws_json1_0HistoryEvent = function (output, context) {
|
|
3393
3259
|
return {
|
|
3394
|
-
activityTaskCancelRequestedEventAttributes: output.activityTaskCancelRequestedEventAttributes
|
|
3395
|
-
output.activityTaskCancelRequestedEventAttributes !== null
|
|
3260
|
+
activityTaskCancelRequestedEventAttributes: output.activityTaskCancelRequestedEventAttributes != null
|
|
3396
3261
|
? deserializeAws_json1_0ActivityTaskCancelRequestedEventAttributes(output.activityTaskCancelRequestedEventAttributes, context)
|
|
3397
3262
|
: undefined,
|
|
3398
|
-
activityTaskCanceledEventAttributes: output.activityTaskCanceledEventAttributes
|
|
3263
|
+
activityTaskCanceledEventAttributes: output.activityTaskCanceledEventAttributes != null
|
|
3399
3264
|
? deserializeAws_json1_0ActivityTaskCanceledEventAttributes(output.activityTaskCanceledEventAttributes, context)
|
|
3400
3265
|
: undefined,
|
|
3401
|
-
activityTaskCompletedEventAttributes: output.activityTaskCompletedEventAttributes
|
|
3266
|
+
activityTaskCompletedEventAttributes: output.activityTaskCompletedEventAttributes != null
|
|
3402
3267
|
? deserializeAws_json1_0ActivityTaskCompletedEventAttributes(output.activityTaskCompletedEventAttributes, context)
|
|
3403
3268
|
: undefined,
|
|
3404
|
-
activityTaskFailedEventAttributes: output.activityTaskFailedEventAttributes
|
|
3269
|
+
activityTaskFailedEventAttributes: output.activityTaskFailedEventAttributes != null
|
|
3405
3270
|
? deserializeAws_json1_0ActivityTaskFailedEventAttributes(output.activityTaskFailedEventAttributes, context)
|
|
3406
3271
|
: undefined,
|
|
3407
|
-
activityTaskScheduledEventAttributes: output.activityTaskScheduledEventAttributes
|
|
3272
|
+
activityTaskScheduledEventAttributes: output.activityTaskScheduledEventAttributes != null
|
|
3408
3273
|
? deserializeAws_json1_0ActivityTaskScheduledEventAttributes(output.activityTaskScheduledEventAttributes, context)
|
|
3409
3274
|
: undefined,
|
|
3410
|
-
activityTaskStartedEventAttributes: output.activityTaskStartedEventAttributes
|
|
3275
|
+
activityTaskStartedEventAttributes: output.activityTaskStartedEventAttributes != null
|
|
3411
3276
|
? deserializeAws_json1_0ActivityTaskStartedEventAttributes(output.activityTaskStartedEventAttributes, context)
|
|
3412
3277
|
: undefined,
|
|
3413
|
-
activityTaskTimedOutEventAttributes: output.activityTaskTimedOutEventAttributes
|
|
3278
|
+
activityTaskTimedOutEventAttributes: output.activityTaskTimedOutEventAttributes != null
|
|
3414
3279
|
? deserializeAws_json1_0ActivityTaskTimedOutEventAttributes(output.activityTaskTimedOutEventAttributes, context)
|
|
3415
3280
|
: undefined,
|
|
3416
|
-
cancelTimerFailedEventAttributes: output.cancelTimerFailedEventAttributes
|
|
3281
|
+
cancelTimerFailedEventAttributes: output.cancelTimerFailedEventAttributes != null
|
|
3417
3282
|
? deserializeAws_json1_0CancelTimerFailedEventAttributes(output.cancelTimerFailedEventAttributes, context)
|
|
3418
3283
|
: undefined,
|
|
3419
|
-
cancelWorkflowExecutionFailedEventAttributes: output.cancelWorkflowExecutionFailedEventAttributes
|
|
3420
|
-
output.cancelWorkflowExecutionFailedEventAttributes !== null
|
|
3284
|
+
cancelWorkflowExecutionFailedEventAttributes: output.cancelWorkflowExecutionFailedEventAttributes != null
|
|
3421
3285
|
? deserializeAws_json1_0CancelWorkflowExecutionFailedEventAttributes(output.cancelWorkflowExecutionFailedEventAttributes, context)
|
|
3422
3286
|
: undefined,
|
|
3423
|
-
childWorkflowExecutionCanceledEventAttributes: output.childWorkflowExecutionCanceledEventAttributes
|
|
3424
|
-
output.childWorkflowExecutionCanceledEventAttributes !== null
|
|
3287
|
+
childWorkflowExecutionCanceledEventAttributes: output.childWorkflowExecutionCanceledEventAttributes != null
|
|
3425
3288
|
? deserializeAws_json1_0ChildWorkflowExecutionCanceledEventAttributes(output.childWorkflowExecutionCanceledEventAttributes, context)
|
|
3426
3289
|
: undefined,
|
|
3427
|
-
childWorkflowExecutionCompletedEventAttributes: output.childWorkflowExecutionCompletedEventAttributes
|
|
3428
|
-
output.childWorkflowExecutionCompletedEventAttributes !== null
|
|
3290
|
+
childWorkflowExecutionCompletedEventAttributes: output.childWorkflowExecutionCompletedEventAttributes != null
|
|
3429
3291
|
? deserializeAws_json1_0ChildWorkflowExecutionCompletedEventAttributes(output.childWorkflowExecutionCompletedEventAttributes, context)
|
|
3430
3292
|
: undefined,
|
|
3431
|
-
childWorkflowExecutionFailedEventAttributes: output.childWorkflowExecutionFailedEventAttributes
|
|
3432
|
-
output.childWorkflowExecutionFailedEventAttributes !== null
|
|
3293
|
+
childWorkflowExecutionFailedEventAttributes: output.childWorkflowExecutionFailedEventAttributes != null
|
|
3433
3294
|
? deserializeAws_json1_0ChildWorkflowExecutionFailedEventAttributes(output.childWorkflowExecutionFailedEventAttributes, context)
|
|
3434
3295
|
: undefined,
|
|
3435
|
-
childWorkflowExecutionStartedEventAttributes: output.childWorkflowExecutionStartedEventAttributes
|
|
3436
|
-
output.childWorkflowExecutionStartedEventAttributes !== null
|
|
3296
|
+
childWorkflowExecutionStartedEventAttributes: output.childWorkflowExecutionStartedEventAttributes != null
|
|
3437
3297
|
? deserializeAws_json1_0ChildWorkflowExecutionStartedEventAttributes(output.childWorkflowExecutionStartedEventAttributes, context)
|
|
3438
3298
|
: undefined,
|
|
3439
|
-
childWorkflowExecutionTerminatedEventAttributes: output.childWorkflowExecutionTerminatedEventAttributes
|
|
3440
|
-
output.childWorkflowExecutionTerminatedEventAttributes !== null
|
|
3299
|
+
childWorkflowExecutionTerminatedEventAttributes: output.childWorkflowExecutionTerminatedEventAttributes != null
|
|
3441
3300
|
? deserializeAws_json1_0ChildWorkflowExecutionTerminatedEventAttributes(output.childWorkflowExecutionTerminatedEventAttributes, context)
|
|
3442
3301
|
: undefined,
|
|
3443
|
-
childWorkflowExecutionTimedOutEventAttributes: output.childWorkflowExecutionTimedOutEventAttributes
|
|
3444
|
-
output.childWorkflowExecutionTimedOutEventAttributes !== null
|
|
3302
|
+
childWorkflowExecutionTimedOutEventAttributes: output.childWorkflowExecutionTimedOutEventAttributes != null
|
|
3445
3303
|
? deserializeAws_json1_0ChildWorkflowExecutionTimedOutEventAttributes(output.childWorkflowExecutionTimedOutEventAttributes, context)
|
|
3446
3304
|
: undefined,
|
|
3447
|
-
completeWorkflowExecutionFailedEventAttributes: output.completeWorkflowExecutionFailedEventAttributes
|
|
3448
|
-
output.completeWorkflowExecutionFailedEventAttributes !== null
|
|
3305
|
+
completeWorkflowExecutionFailedEventAttributes: output.completeWorkflowExecutionFailedEventAttributes != null
|
|
3449
3306
|
? deserializeAws_json1_0CompleteWorkflowExecutionFailedEventAttributes(output.completeWorkflowExecutionFailedEventAttributes, context)
|
|
3450
3307
|
: undefined,
|
|
3451
|
-
continueAsNewWorkflowExecutionFailedEventAttributes: output.continueAsNewWorkflowExecutionFailedEventAttributes
|
|
3452
|
-
output.continueAsNewWorkflowExecutionFailedEventAttributes !== null
|
|
3308
|
+
continueAsNewWorkflowExecutionFailedEventAttributes: output.continueAsNewWorkflowExecutionFailedEventAttributes != null
|
|
3453
3309
|
? deserializeAws_json1_0ContinueAsNewWorkflowExecutionFailedEventAttributes(output.continueAsNewWorkflowExecutionFailedEventAttributes, context)
|
|
3454
3310
|
: undefined,
|
|
3455
|
-
decisionTaskCompletedEventAttributes: output.decisionTaskCompletedEventAttributes
|
|
3311
|
+
decisionTaskCompletedEventAttributes: output.decisionTaskCompletedEventAttributes != null
|
|
3456
3312
|
? deserializeAws_json1_0DecisionTaskCompletedEventAttributes(output.decisionTaskCompletedEventAttributes, context)
|
|
3457
3313
|
: undefined,
|
|
3458
|
-
decisionTaskScheduledEventAttributes: output.decisionTaskScheduledEventAttributes
|
|
3314
|
+
decisionTaskScheduledEventAttributes: output.decisionTaskScheduledEventAttributes != null
|
|
3459
3315
|
? deserializeAws_json1_0DecisionTaskScheduledEventAttributes(output.decisionTaskScheduledEventAttributes, context)
|
|
3460
3316
|
: undefined,
|
|
3461
|
-
decisionTaskStartedEventAttributes: output.decisionTaskStartedEventAttributes
|
|
3317
|
+
decisionTaskStartedEventAttributes: output.decisionTaskStartedEventAttributes != null
|
|
3462
3318
|
? deserializeAws_json1_0DecisionTaskStartedEventAttributes(output.decisionTaskStartedEventAttributes, context)
|
|
3463
3319
|
: undefined,
|
|
3464
|
-
decisionTaskTimedOutEventAttributes: output.decisionTaskTimedOutEventAttributes
|
|
3320
|
+
decisionTaskTimedOutEventAttributes: output.decisionTaskTimedOutEventAttributes != null
|
|
3465
3321
|
? deserializeAws_json1_0DecisionTaskTimedOutEventAttributes(output.decisionTaskTimedOutEventAttributes, context)
|
|
3466
3322
|
: undefined,
|
|
3467
3323
|
eventId: __expectLong(output.eventId),
|
|
3468
|
-
eventTimestamp: output.eventTimestamp
|
|
3324
|
+
eventTimestamp: output.eventTimestamp != null
|
|
3469
3325
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.eventTimestamp)))
|
|
3470
3326
|
: undefined,
|
|
3471
3327
|
eventType: __expectString(output.eventType),
|
|
3472
|
-
externalWorkflowExecutionCancelRequestedEventAttributes: output.externalWorkflowExecutionCancelRequestedEventAttributes
|
|
3473
|
-
output.externalWorkflowExecutionCancelRequestedEventAttributes !== null
|
|
3328
|
+
externalWorkflowExecutionCancelRequestedEventAttributes: output.externalWorkflowExecutionCancelRequestedEventAttributes != null
|
|
3474
3329
|
? deserializeAws_json1_0ExternalWorkflowExecutionCancelRequestedEventAttributes(output.externalWorkflowExecutionCancelRequestedEventAttributes, context)
|
|
3475
3330
|
: undefined,
|
|
3476
|
-
externalWorkflowExecutionSignaledEventAttributes: output.externalWorkflowExecutionSignaledEventAttributes
|
|
3477
|
-
output.externalWorkflowExecutionSignaledEventAttributes !== null
|
|
3331
|
+
externalWorkflowExecutionSignaledEventAttributes: output.externalWorkflowExecutionSignaledEventAttributes != null
|
|
3478
3332
|
? deserializeAws_json1_0ExternalWorkflowExecutionSignaledEventAttributes(output.externalWorkflowExecutionSignaledEventAttributes, context)
|
|
3479
3333
|
: undefined,
|
|
3480
|
-
failWorkflowExecutionFailedEventAttributes: output.failWorkflowExecutionFailedEventAttributes
|
|
3481
|
-
output.failWorkflowExecutionFailedEventAttributes !== null
|
|
3334
|
+
failWorkflowExecutionFailedEventAttributes: output.failWorkflowExecutionFailedEventAttributes != null
|
|
3482
3335
|
? deserializeAws_json1_0FailWorkflowExecutionFailedEventAttributes(output.failWorkflowExecutionFailedEventAttributes, context)
|
|
3483
3336
|
: undefined,
|
|
3484
|
-
lambdaFunctionCompletedEventAttributes: output.lambdaFunctionCompletedEventAttributes
|
|
3485
|
-
output.lambdaFunctionCompletedEventAttributes !== null
|
|
3337
|
+
lambdaFunctionCompletedEventAttributes: output.lambdaFunctionCompletedEventAttributes != null
|
|
3486
3338
|
? deserializeAws_json1_0LambdaFunctionCompletedEventAttributes(output.lambdaFunctionCompletedEventAttributes, context)
|
|
3487
3339
|
: undefined,
|
|
3488
|
-
lambdaFunctionFailedEventAttributes: output.lambdaFunctionFailedEventAttributes
|
|
3340
|
+
lambdaFunctionFailedEventAttributes: output.lambdaFunctionFailedEventAttributes != null
|
|
3489
3341
|
? deserializeAws_json1_0LambdaFunctionFailedEventAttributes(output.lambdaFunctionFailedEventAttributes, context)
|
|
3490
3342
|
: undefined,
|
|
3491
|
-
lambdaFunctionScheduledEventAttributes: output.lambdaFunctionScheduledEventAttributes
|
|
3492
|
-
output.lambdaFunctionScheduledEventAttributes !== null
|
|
3343
|
+
lambdaFunctionScheduledEventAttributes: output.lambdaFunctionScheduledEventAttributes != null
|
|
3493
3344
|
? deserializeAws_json1_0LambdaFunctionScheduledEventAttributes(output.lambdaFunctionScheduledEventAttributes, context)
|
|
3494
3345
|
: undefined,
|
|
3495
|
-
lambdaFunctionStartedEventAttributes: output.lambdaFunctionStartedEventAttributes
|
|
3346
|
+
lambdaFunctionStartedEventAttributes: output.lambdaFunctionStartedEventAttributes != null
|
|
3496
3347
|
? deserializeAws_json1_0LambdaFunctionStartedEventAttributes(output.lambdaFunctionStartedEventAttributes, context)
|
|
3497
3348
|
: undefined,
|
|
3498
|
-
lambdaFunctionTimedOutEventAttributes: output.lambdaFunctionTimedOutEventAttributes
|
|
3499
|
-
output.lambdaFunctionTimedOutEventAttributes !== null
|
|
3349
|
+
lambdaFunctionTimedOutEventAttributes: output.lambdaFunctionTimedOutEventAttributes != null
|
|
3500
3350
|
? deserializeAws_json1_0LambdaFunctionTimedOutEventAttributes(output.lambdaFunctionTimedOutEventAttributes, context)
|
|
3501
3351
|
: undefined,
|
|
3502
|
-
markerRecordedEventAttributes: output.markerRecordedEventAttributes
|
|
3352
|
+
markerRecordedEventAttributes: output.markerRecordedEventAttributes != null
|
|
3503
3353
|
? deserializeAws_json1_0MarkerRecordedEventAttributes(output.markerRecordedEventAttributes, context)
|
|
3504
3354
|
: undefined,
|
|
3505
|
-
recordMarkerFailedEventAttributes: output.recordMarkerFailedEventAttributes
|
|
3355
|
+
recordMarkerFailedEventAttributes: output.recordMarkerFailedEventAttributes != null
|
|
3506
3356
|
? deserializeAws_json1_0RecordMarkerFailedEventAttributes(output.recordMarkerFailedEventAttributes, context)
|
|
3507
3357
|
: undefined,
|
|
3508
|
-
requestCancelActivityTaskFailedEventAttributes: output.requestCancelActivityTaskFailedEventAttributes
|
|
3509
|
-
output.requestCancelActivityTaskFailedEventAttributes !== null
|
|
3358
|
+
requestCancelActivityTaskFailedEventAttributes: output.requestCancelActivityTaskFailedEventAttributes != null
|
|
3510
3359
|
? deserializeAws_json1_0RequestCancelActivityTaskFailedEventAttributes(output.requestCancelActivityTaskFailedEventAttributes, context)
|
|
3511
3360
|
: undefined,
|
|
3512
|
-
requestCancelExternalWorkflowExecutionFailedEventAttributes: output.requestCancelExternalWorkflowExecutionFailedEventAttributes
|
|
3513
|
-
output.requestCancelExternalWorkflowExecutionFailedEventAttributes !== null
|
|
3361
|
+
requestCancelExternalWorkflowExecutionFailedEventAttributes: output.requestCancelExternalWorkflowExecutionFailedEventAttributes != null
|
|
3514
3362
|
? deserializeAws_json1_0RequestCancelExternalWorkflowExecutionFailedEventAttributes(output.requestCancelExternalWorkflowExecutionFailedEventAttributes, context)
|
|
3515
3363
|
: undefined,
|
|
3516
|
-
requestCancelExternalWorkflowExecutionInitiatedEventAttributes: output.requestCancelExternalWorkflowExecutionInitiatedEventAttributes
|
|
3517
|
-
output.requestCancelExternalWorkflowExecutionInitiatedEventAttributes !== null
|
|
3364
|
+
requestCancelExternalWorkflowExecutionInitiatedEventAttributes: output.requestCancelExternalWorkflowExecutionInitiatedEventAttributes != null
|
|
3518
3365
|
? deserializeAws_json1_0RequestCancelExternalWorkflowExecutionInitiatedEventAttributes(output.requestCancelExternalWorkflowExecutionInitiatedEventAttributes, context)
|
|
3519
3366
|
: undefined,
|
|
3520
|
-
scheduleActivityTaskFailedEventAttributes: output.scheduleActivityTaskFailedEventAttributes
|
|
3521
|
-
output.scheduleActivityTaskFailedEventAttributes !== null
|
|
3367
|
+
scheduleActivityTaskFailedEventAttributes: output.scheduleActivityTaskFailedEventAttributes != null
|
|
3522
3368
|
? deserializeAws_json1_0ScheduleActivityTaskFailedEventAttributes(output.scheduleActivityTaskFailedEventAttributes, context)
|
|
3523
3369
|
: undefined,
|
|
3524
|
-
scheduleLambdaFunctionFailedEventAttributes: output.scheduleLambdaFunctionFailedEventAttributes
|
|
3525
|
-
output.scheduleLambdaFunctionFailedEventAttributes !== null
|
|
3370
|
+
scheduleLambdaFunctionFailedEventAttributes: output.scheduleLambdaFunctionFailedEventAttributes != null
|
|
3526
3371
|
? deserializeAws_json1_0ScheduleLambdaFunctionFailedEventAttributes(output.scheduleLambdaFunctionFailedEventAttributes, context)
|
|
3527
3372
|
: undefined,
|
|
3528
|
-
signalExternalWorkflowExecutionFailedEventAttributes: output.signalExternalWorkflowExecutionFailedEventAttributes
|
|
3529
|
-
output.signalExternalWorkflowExecutionFailedEventAttributes !== null
|
|
3373
|
+
signalExternalWorkflowExecutionFailedEventAttributes: output.signalExternalWorkflowExecutionFailedEventAttributes != null
|
|
3530
3374
|
? deserializeAws_json1_0SignalExternalWorkflowExecutionFailedEventAttributes(output.signalExternalWorkflowExecutionFailedEventAttributes, context)
|
|
3531
3375
|
: undefined,
|
|
3532
|
-
signalExternalWorkflowExecutionInitiatedEventAttributes: output.signalExternalWorkflowExecutionInitiatedEventAttributes
|
|
3533
|
-
output.signalExternalWorkflowExecutionInitiatedEventAttributes !== null
|
|
3376
|
+
signalExternalWorkflowExecutionInitiatedEventAttributes: output.signalExternalWorkflowExecutionInitiatedEventAttributes != null
|
|
3534
3377
|
? deserializeAws_json1_0SignalExternalWorkflowExecutionInitiatedEventAttributes(output.signalExternalWorkflowExecutionInitiatedEventAttributes, context)
|
|
3535
3378
|
: undefined,
|
|
3536
|
-
startChildWorkflowExecutionFailedEventAttributes: output.startChildWorkflowExecutionFailedEventAttributes
|
|
3537
|
-
output.startChildWorkflowExecutionFailedEventAttributes !== null
|
|
3379
|
+
startChildWorkflowExecutionFailedEventAttributes: output.startChildWorkflowExecutionFailedEventAttributes != null
|
|
3538
3380
|
? deserializeAws_json1_0StartChildWorkflowExecutionFailedEventAttributes(output.startChildWorkflowExecutionFailedEventAttributes, context)
|
|
3539
3381
|
: undefined,
|
|
3540
|
-
startChildWorkflowExecutionInitiatedEventAttributes: output.startChildWorkflowExecutionInitiatedEventAttributes
|
|
3541
|
-
output.startChildWorkflowExecutionInitiatedEventAttributes !== null
|
|
3382
|
+
startChildWorkflowExecutionInitiatedEventAttributes: output.startChildWorkflowExecutionInitiatedEventAttributes != null
|
|
3542
3383
|
? deserializeAws_json1_0StartChildWorkflowExecutionInitiatedEventAttributes(output.startChildWorkflowExecutionInitiatedEventAttributes, context)
|
|
3543
3384
|
: undefined,
|
|
3544
|
-
startLambdaFunctionFailedEventAttributes: output.startLambdaFunctionFailedEventAttributes
|
|
3545
|
-
output.startLambdaFunctionFailedEventAttributes !== null
|
|
3385
|
+
startLambdaFunctionFailedEventAttributes: output.startLambdaFunctionFailedEventAttributes != null
|
|
3546
3386
|
? deserializeAws_json1_0StartLambdaFunctionFailedEventAttributes(output.startLambdaFunctionFailedEventAttributes, context)
|
|
3547
3387
|
: undefined,
|
|
3548
|
-
startTimerFailedEventAttributes: output.startTimerFailedEventAttributes
|
|
3388
|
+
startTimerFailedEventAttributes: output.startTimerFailedEventAttributes != null
|
|
3549
3389
|
? deserializeAws_json1_0StartTimerFailedEventAttributes(output.startTimerFailedEventAttributes, context)
|
|
3550
3390
|
: undefined,
|
|
3551
|
-
timerCanceledEventAttributes: output.timerCanceledEventAttributes
|
|
3391
|
+
timerCanceledEventAttributes: output.timerCanceledEventAttributes != null
|
|
3552
3392
|
? deserializeAws_json1_0TimerCanceledEventAttributes(output.timerCanceledEventAttributes, context)
|
|
3553
3393
|
: undefined,
|
|
3554
|
-
timerFiredEventAttributes: output.timerFiredEventAttributes
|
|
3394
|
+
timerFiredEventAttributes: output.timerFiredEventAttributes != null
|
|
3555
3395
|
? deserializeAws_json1_0TimerFiredEventAttributes(output.timerFiredEventAttributes, context)
|
|
3556
3396
|
: undefined,
|
|
3557
|
-
timerStartedEventAttributes: output.timerStartedEventAttributes
|
|
3397
|
+
timerStartedEventAttributes: output.timerStartedEventAttributes != null
|
|
3558
3398
|
? deserializeAws_json1_0TimerStartedEventAttributes(output.timerStartedEventAttributes, context)
|
|
3559
3399
|
: undefined,
|
|
3560
|
-
workflowExecutionCancelRequestedEventAttributes: output.workflowExecutionCancelRequestedEventAttributes
|
|
3561
|
-
output.workflowExecutionCancelRequestedEventAttributes !== null
|
|
3400
|
+
workflowExecutionCancelRequestedEventAttributes: output.workflowExecutionCancelRequestedEventAttributes != null
|
|
3562
3401
|
? deserializeAws_json1_0WorkflowExecutionCancelRequestedEventAttributes(output.workflowExecutionCancelRequestedEventAttributes, context)
|
|
3563
3402
|
: undefined,
|
|
3564
|
-
workflowExecutionCanceledEventAttributes: output.workflowExecutionCanceledEventAttributes
|
|
3565
|
-
output.workflowExecutionCanceledEventAttributes !== null
|
|
3403
|
+
workflowExecutionCanceledEventAttributes: output.workflowExecutionCanceledEventAttributes != null
|
|
3566
3404
|
? deserializeAws_json1_0WorkflowExecutionCanceledEventAttributes(output.workflowExecutionCanceledEventAttributes, context)
|
|
3567
3405
|
: undefined,
|
|
3568
|
-
workflowExecutionCompletedEventAttributes: output.workflowExecutionCompletedEventAttributes
|
|
3569
|
-
output.workflowExecutionCompletedEventAttributes !== null
|
|
3406
|
+
workflowExecutionCompletedEventAttributes: output.workflowExecutionCompletedEventAttributes != null
|
|
3570
3407
|
? deserializeAws_json1_0WorkflowExecutionCompletedEventAttributes(output.workflowExecutionCompletedEventAttributes, context)
|
|
3571
3408
|
: undefined,
|
|
3572
|
-
workflowExecutionContinuedAsNewEventAttributes: output.workflowExecutionContinuedAsNewEventAttributes
|
|
3573
|
-
output.workflowExecutionContinuedAsNewEventAttributes !== null
|
|
3409
|
+
workflowExecutionContinuedAsNewEventAttributes: output.workflowExecutionContinuedAsNewEventAttributes != null
|
|
3574
3410
|
? deserializeAws_json1_0WorkflowExecutionContinuedAsNewEventAttributes(output.workflowExecutionContinuedAsNewEventAttributes, context)
|
|
3575
3411
|
: undefined,
|
|
3576
|
-
workflowExecutionFailedEventAttributes: output.workflowExecutionFailedEventAttributes
|
|
3577
|
-
output.workflowExecutionFailedEventAttributes !== null
|
|
3412
|
+
workflowExecutionFailedEventAttributes: output.workflowExecutionFailedEventAttributes != null
|
|
3578
3413
|
? deserializeAws_json1_0WorkflowExecutionFailedEventAttributes(output.workflowExecutionFailedEventAttributes, context)
|
|
3579
3414
|
: undefined,
|
|
3580
|
-
workflowExecutionSignaledEventAttributes: output.workflowExecutionSignaledEventAttributes
|
|
3581
|
-
output.workflowExecutionSignaledEventAttributes !== null
|
|
3415
|
+
workflowExecutionSignaledEventAttributes: output.workflowExecutionSignaledEventAttributes != null
|
|
3582
3416
|
? deserializeAws_json1_0WorkflowExecutionSignaledEventAttributes(output.workflowExecutionSignaledEventAttributes, context)
|
|
3583
3417
|
: undefined,
|
|
3584
|
-
workflowExecutionStartedEventAttributes: output.workflowExecutionStartedEventAttributes
|
|
3585
|
-
output.workflowExecutionStartedEventAttributes !== null
|
|
3418
|
+
workflowExecutionStartedEventAttributes: output.workflowExecutionStartedEventAttributes != null
|
|
3586
3419
|
? deserializeAws_json1_0WorkflowExecutionStartedEventAttributes(output.workflowExecutionStartedEventAttributes, context)
|
|
3587
3420
|
: undefined,
|
|
3588
|
-
workflowExecutionTerminatedEventAttributes: output.workflowExecutionTerminatedEventAttributes
|
|
3589
|
-
output.workflowExecutionTerminatedEventAttributes !== null
|
|
3421
|
+
workflowExecutionTerminatedEventAttributes: output.workflowExecutionTerminatedEventAttributes != null
|
|
3590
3422
|
? deserializeAws_json1_0WorkflowExecutionTerminatedEventAttributes(output.workflowExecutionTerminatedEventAttributes, context)
|
|
3591
3423
|
: undefined,
|
|
3592
|
-
workflowExecutionTimedOutEventAttributes: output.workflowExecutionTimedOutEventAttributes
|
|
3593
|
-
output.workflowExecutionTimedOutEventAttributes !== null
|
|
3424
|
+
workflowExecutionTimedOutEventAttributes: output.workflowExecutionTimedOutEventAttributes != null
|
|
3594
3425
|
? deserializeAws_json1_0WorkflowExecutionTimedOutEventAttributes(output.workflowExecutionTimedOutEventAttributes, context)
|
|
3595
3426
|
: undefined,
|
|
3596
3427
|
};
|
|
@@ -3650,9 +3481,7 @@ var deserializeAws_json1_0LimitExceededFault = function (output, context) {
|
|
|
3650
3481
|
};
|
|
3651
3482
|
var deserializeAws_json1_0ListTagsForResourceOutput = function (output, context) {
|
|
3652
3483
|
return {
|
|
3653
|
-
tags: output.tags
|
|
3654
|
-
? deserializeAws_json1_0ResourceTagList(output.tags, context)
|
|
3655
|
-
: undefined,
|
|
3484
|
+
tags: output.tags != null ? deserializeAws_json1_0ResourceTagList(output.tags, context) : undefined,
|
|
3656
3485
|
};
|
|
3657
3486
|
};
|
|
3658
3487
|
var deserializeAws_json1_0MarkerRecordedEventAttributes = function (output, context) {
|
|
@@ -3730,9 +3559,7 @@ var deserializeAws_json1_0Run = function (output, context) {
|
|
|
3730
3559
|
var deserializeAws_json1_0ScheduleActivityTaskFailedEventAttributes = function (output, context) {
|
|
3731
3560
|
return {
|
|
3732
3561
|
activityId: __expectString(output.activityId),
|
|
3733
|
-
activityType: output.activityType
|
|
3734
|
-
? deserializeAws_json1_0ActivityType(output.activityType, context)
|
|
3735
|
-
: undefined,
|
|
3562
|
+
activityType: output.activityType != null ? deserializeAws_json1_0ActivityType(output.activityType, context) : undefined,
|
|
3736
3563
|
cause: __expectString(output.cause),
|
|
3737
3564
|
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
3738
3565
|
};
|
|
@@ -3772,9 +3599,7 @@ var deserializeAws_json1_0StartChildWorkflowExecutionFailedEventAttributes = fun
|
|
|
3772
3599
|
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
3773
3600
|
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
3774
3601
|
workflowId: __expectString(output.workflowId),
|
|
3775
|
-
workflowType: output.workflowType
|
|
3776
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3777
|
-
: undefined,
|
|
3602
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3778
3603
|
};
|
|
3779
3604
|
};
|
|
3780
3605
|
var deserializeAws_json1_0StartChildWorkflowExecutionInitiatedEventAttributes = function (output, context) {
|
|
@@ -3785,18 +3610,12 @@ var deserializeAws_json1_0StartChildWorkflowExecutionInitiatedEventAttributes =
|
|
|
3785
3610
|
executionStartToCloseTimeout: __expectString(output.executionStartToCloseTimeout),
|
|
3786
3611
|
input: __expectString(output.input),
|
|
3787
3612
|
lambdaRole: __expectString(output.lambdaRole),
|
|
3788
|
-
tagList: output.tagList
|
|
3789
|
-
|
|
3790
|
-
: undefined,
|
|
3791
|
-
taskList: output.taskList !== undefined && output.taskList !== null
|
|
3792
|
-
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
3793
|
-
: undefined,
|
|
3613
|
+
tagList: output.tagList != null ? deserializeAws_json1_0TagList(output.tagList, context) : undefined,
|
|
3614
|
+
taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
|
|
3794
3615
|
taskPriority: __expectString(output.taskPriority),
|
|
3795
3616
|
taskStartToCloseTimeout: __expectString(output.taskStartToCloseTimeout),
|
|
3796
3617
|
workflowId: __expectString(output.workflowId),
|
|
3797
|
-
workflowType: output.workflowType
|
|
3798
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3799
|
-
: undefined,
|
|
3618
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3800
3619
|
};
|
|
3801
3620
|
};
|
|
3802
3621
|
var deserializeAws_json1_0StartLambdaFunctionFailedEventAttributes = function (output, context) {
|
|
@@ -3891,7 +3710,7 @@ var deserializeAws_json1_0WorkflowExecutionCancelRequestedEventAttributes = func
|
|
|
3891
3710
|
return {
|
|
3892
3711
|
cause: __expectString(output.cause),
|
|
3893
3712
|
externalInitiatedEventId: __expectLong(output.externalInitiatedEventId),
|
|
3894
|
-
externalWorkflowExecution: output.externalWorkflowExecution
|
|
3713
|
+
externalWorkflowExecution: output.externalWorkflowExecution != null
|
|
3895
3714
|
? deserializeAws_json1_0WorkflowExecution(output.externalWorkflowExecution, context)
|
|
3896
3715
|
: undefined,
|
|
3897
3716
|
};
|
|
@@ -3907,9 +3726,7 @@ var deserializeAws_json1_0WorkflowExecutionConfiguration = function (output, con
|
|
|
3907
3726
|
childPolicy: __expectString(output.childPolicy),
|
|
3908
3727
|
executionStartToCloseTimeout: __expectString(output.executionStartToCloseTimeout),
|
|
3909
3728
|
lambdaRole: __expectString(output.lambdaRole),
|
|
3910
|
-
taskList: output.taskList
|
|
3911
|
-
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
3912
|
-
: undefined,
|
|
3729
|
+
taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
|
|
3913
3730
|
taskPriority: __expectString(output.taskPriority),
|
|
3914
3731
|
taskStartToCloseTimeout: __expectString(output.taskStartToCloseTimeout),
|
|
3915
3732
|
};
|
|
@@ -3922,17 +3739,11 @@ var deserializeAws_json1_0WorkflowExecutionContinuedAsNewEventAttributes = funct
|
|
|
3922
3739
|
input: __expectString(output.input),
|
|
3923
3740
|
lambdaRole: __expectString(output.lambdaRole),
|
|
3924
3741
|
newExecutionRunId: __expectString(output.newExecutionRunId),
|
|
3925
|
-
tagList: output.tagList
|
|
3926
|
-
|
|
3927
|
-
: undefined,
|
|
3928
|
-
taskList: output.taskList !== undefined && output.taskList !== null
|
|
3929
|
-
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
3930
|
-
: undefined,
|
|
3742
|
+
tagList: output.tagList != null ? deserializeAws_json1_0TagList(output.tagList, context) : undefined,
|
|
3743
|
+
taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
|
|
3931
3744
|
taskPriority: __expectString(output.taskPriority),
|
|
3932
3745
|
taskStartToCloseTimeout: __expectString(output.taskStartToCloseTimeout),
|
|
3933
|
-
workflowType: output.workflowType
|
|
3934
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3935
|
-
: undefined,
|
|
3746
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3936
3747
|
};
|
|
3937
3748
|
};
|
|
3938
3749
|
var deserializeAws_json1_0WorkflowExecutionCount = function (output, context) {
|
|
@@ -3943,17 +3754,17 @@ var deserializeAws_json1_0WorkflowExecutionCount = function (output, context) {
|
|
|
3943
3754
|
};
|
|
3944
3755
|
var deserializeAws_json1_0WorkflowExecutionDetail = function (output, context) {
|
|
3945
3756
|
return {
|
|
3946
|
-
executionConfiguration: output.executionConfiguration
|
|
3757
|
+
executionConfiguration: output.executionConfiguration != null
|
|
3947
3758
|
? deserializeAws_json1_0WorkflowExecutionConfiguration(output.executionConfiguration, context)
|
|
3948
3759
|
: undefined,
|
|
3949
|
-
executionInfo: output.executionInfo
|
|
3760
|
+
executionInfo: output.executionInfo != null
|
|
3950
3761
|
? deserializeAws_json1_0WorkflowExecutionInfo(output.executionInfo, context)
|
|
3951
3762
|
: undefined,
|
|
3952
|
-
latestActivityTaskTimestamp: output.latestActivityTaskTimestamp
|
|
3763
|
+
latestActivityTaskTimestamp: output.latestActivityTaskTimestamp != null
|
|
3953
3764
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.latestActivityTaskTimestamp)))
|
|
3954
3765
|
: undefined,
|
|
3955
3766
|
latestExecutionContext: __expectString(output.latestExecutionContext),
|
|
3956
|
-
openCounts: output.openCounts
|
|
3767
|
+
openCounts: output.openCounts != null
|
|
3957
3768
|
? deserializeAws_json1_0WorkflowExecutionOpenCounts(output.openCounts, context)
|
|
3958
3769
|
: undefined,
|
|
3959
3770
|
};
|
|
@@ -3969,25 +3780,17 @@ var deserializeAws_json1_0WorkflowExecutionInfo = function (output, context) {
|
|
|
3969
3780
|
return {
|
|
3970
3781
|
cancelRequested: __expectBoolean(output.cancelRequested),
|
|
3971
3782
|
closeStatus: __expectString(output.closeStatus),
|
|
3972
|
-
closeTimestamp: output.closeTimestamp
|
|
3783
|
+
closeTimestamp: output.closeTimestamp != null
|
|
3973
3784
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.closeTimestamp)))
|
|
3974
3785
|
: undefined,
|
|
3975
|
-
execution: output.execution
|
|
3976
|
-
? deserializeAws_json1_0WorkflowExecution(output.execution, context)
|
|
3977
|
-
: undefined,
|
|
3786
|
+
execution: output.execution != null ? deserializeAws_json1_0WorkflowExecution(output.execution, context) : undefined,
|
|
3978
3787
|
executionStatus: __expectString(output.executionStatus),
|
|
3979
|
-
parent: output.parent
|
|
3980
|
-
|
|
3981
|
-
: undefined,
|
|
3982
|
-
startTimestamp: output.startTimestamp !== undefined && output.startTimestamp !== null
|
|
3788
|
+
parent: output.parent != null ? deserializeAws_json1_0WorkflowExecution(output.parent, context) : undefined,
|
|
3789
|
+
startTimestamp: output.startTimestamp != null
|
|
3983
3790
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTimestamp)))
|
|
3984
3791
|
: undefined,
|
|
3985
|
-
tagList: output.tagList
|
|
3986
|
-
|
|
3987
|
-
: undefined,
|
|
3988
|
-
workflowType: output.workflowType !== undefined && output.workflowType !== null
|
|
3989
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3990
|
-
: undefined,
|
|
3792
|
+
tagList: output.tagList != null ? deserializeAws_json1_0TagList(output.tagList, context) : undefined,
|
|
3793
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3991
3794
|
};
|
|
3992
3795
|
};
|
|
3993
3796
|
var deserializeAws_json1_0WorkflowExecutionInfoList = function (output, context) {
|
|
@@ -4003,7 +3806,7 @@ var deserializeAws_json1_0WorkflowExecutionInfoList = function (output, context)
|
|
|
4003
3806
|
};
|
|
4004
3807
|
var deserializeAws_json1_0WorkflowExecutionInfos = function (output, context) {
|
|
4005
3808
|
return {
|
|
4006
|
-
executionInfos: output.executionInfos
|
|
3809
|
+
executionInfos: output.executionInfos != null
|
|
4007
3810
|
? deserializeAws_json1_0WorkflowExecutionInfoList(output.executionInfos, context)
|
|
4008
3811
|
: undefined,
|
|
4009
3812
|
nextPageToken: __expectString(output.nextPageToken),
|
|
@@ -4021,7 +3824,7 @@ var deserializeAws_json1_0WorkflowExecutionOpenCounts = function (output, contex
|
|
|
4021
3824
|
var deserializeAws_json1_0WorkflowExecutionSignaledEventAttributes = function (output, context) {
|
|
4022
3825
|
return {
|
|
4023
3826
|
externalInitiatedEventId: __expectLong(output.externalInitiatedEventId),
|
|
4024
|
-
externalWorkflowExecution: output.externalWorkflowExecution
|
|
3827
|
+
externalWorkflowExecution: output.externalWorkflowExecution != null
|
|
4025
3828
|
? deserializeAws_json1_0WorkflowExecution(output.externalWorkflowExecution, context)
|
|
4026
3829
|
: undefined,
|
|
4027
3830
|
input: __expectString(output.input),
|
|
@@ -4036,20 +3839,14 @@ var deserializeAws_json1_0WorkflowExecutionStartedEventAttributes = function (ou
|
|
|
4036
3839
|
input: __expectString(output.input),
|
|
4037
3840
|
lambdaRole: __expectString(output.lambdaRole),
|
|
4038
3841
|
parentInitiatedEventId: __expectLong(output.parentInitiatedEventId),
|
|
4039
|
-
parentWorkflowExecution: output.parentWorkflowExecution
|
|
3842
|
+
parentWorkflowExecution: output.parentWorkflowExecution != null
|
|
4040
3843
|
? deserializeAws_json1_0WorkflowExecution(output.parentWorkflowExecution, context)
|
|
4041
3844
|
: undefined,
|
|
4042
|
-
tagList: output.tagList
|
|
4043
|
-
|
|
4044
|
-
: undefined,
|
|
4045
|
-
taskList: output.taskList !== undefined && output.taskList !== null
|
|
4046
|
-
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
4047
|
-
: undefined,
|
|
3845
|
+
tagList: output.tagList != null ? deserializeAws_json1_0TagList(output.tagList, context) : undefined,
|
|
3846
|
+
taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
|
|
4048
3847
|
taskPriority: __expectString(output.taskPriority),
|
|
4049
3848
|
taskStartToCloseTimeout: __expectString(output.taskStartToCloseTimeout),
|
|
4050
|
-
workflowType: output.workflowType
|
|
4051
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
4052
|
-
: undefined,
|
|
3849
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
4053
3850
|
};
|
|
4054
3851
|
};
|
|
4055
3852
|
var deserializeAws_json1_0WorkflowExecutionTerminatedEventAttributes = function (output, context) {
|
|
@@ -4077,36 +3874,30 @@ var deserializeAws_json1_0WorkflowTypeConfiguration = function (output, context)
|
|
|
4077
3874
|
defaultChildPolicy: __expectString(output.defaultChildPolicy),
|
|
4078
3875
|
defaultExecutionStartToCloseTimeout: __expectString(output.defaultExecutionStartToCloseTimeout),
|
|
4079
3876
|
defaultLambdaRole: __expectString(output.defaultLambdaRole),
|
|
4080
|
-
defaultTaskList: output.defaultTaskList
|
|
4081
|
-
? deserializeAws_json1_0TaskList(output.defaultTaskList, context)
|
|
4082
|
-
: undefined,
|
|
3877
|
+
defaultTaskList: output.defaultTaskList != null ? deserializeAws_json1_0TaskList(output.defaultTaskList, context) : undefined,
|
|
4083
3878
|
defaultTaskPriority: __expectString(output.defaultTaskPriority),
|
|
4084
3879
|
defaultTaskStartToCloseTimeout: __expectString(output.defaultTaskStartToCloseTimeout),
|
|
4085
3880
|
};
|
|
4086
3881
|
};
|
|
4087
3882
|
var deserializeAws_json1_0WorkflowTypeDetail = function (output, context) {
|
|
4088
3883
|
return {
|
|
4089
|
-
configuration: output.configuration
|
|
3884
|
+
configuration: output.configuration != null
|
|
4090
3885
|
? deserializeAws_json1_0WorkflowTypeConfiguration(output.configuration, context)
|
|
4091
3886
|
: undefined,
|
|
4092
|
-
typeInfo: output.typeInfo
|
|
4093
|
-
? deserializeAws_json1_0WorkflowTypeInfo(output.typeInfo, context)
|
|
4094
|
-
: undefined,
|
|
3887
|
+
typeInfo: output.typeInfo != null ? deserializeAws_json1_0WorkflowTypeInfo(output.typeInfo, context) : undefined,
|
|
4095
3888
|
};
|
|
4096
3889
|
};
|
|
4097
3890
|
var deserializeAws_json1_0WorkflowTypeInfo = function (output, context) {
|
|
4098
3891
|
return {
|
|
4099
|
-
creationDate: output.creationDate
|
|
3892
|
+
creationDate: output.creationDate != null
|
|
4100
3893
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
4101
3894
|
: undefined,
|
|
4102
|
-
deprecationDate: output.deprecationDate
|
|
3895
|
+
deprecationDate: output.deprecationDate != null
|
|
4103
3896
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.deprecationDate)))
|
|
4104
3897
|
: undefined,
|
|
4105
3898
|
description: __expectString(output.description),
|
|
4106
3899
|
status: __expectString(output.status),
|
|
4107
|
-
workflowType: output.workflowType
|
|
4108
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
4109
|
-
: undefined,
|
|
3900
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
4110
3901
|
};
|
|
4111
3902
|
};
|
|
4112
3903
|
var deserializeAws_json1_0WorkflowTypeInfoList = function (output, context) {
|
|
@@ -4123,9 +3914,7 @@ var deserializeAws_json1_0WorkflowTypeInfoList = function (output, context) {
|
|
|
4123
3914
|
var deserializeAws_json1_0WorkflowTypeInfos = function (output, context) {
|
|
4124
3915
|
return {
|
|
4125
3916
|
nextPageToken: __expectString(output.nextPageToken),
|
|
4126
|
-
typeInfos: output.typeInfos
|
|
4127
|
-
? deserializeAws_json1_0WorkflowTypeInfoList(output.typeInfos, context)
|
|
4128
|
-
: undefined,
|
|
3917
|
+
typeInfos: output.typeInfos != null ? deserializeAws_json1_0WorkflowTypeInfoList(output.typeInfos, context) : undefined,
|
|
4129
3918
|
};
|
|
4130
3919
|
};
|
|
4131
3920
|
var deserializeMetadata = function (output) {
|
|
@@ -4184,6 +3973,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
4184
3973
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
4185
3974
|
var sanitizeErrorCode = function (rawValue) {
|
|
4186
3975
|
var cleanValue = rawValue;
|
|
3976
|
+
if (typeof cleanValue === "number") {
|
|
3977
|
+
cleanValue = cleanValue.toString();
|
|
3978
|
+
}
|
|
4187
3979
|
if (cleanValue.indexOf(":") >= 0) {
|
|
4188
3980
|
cleanValue = cleanValue.split(":")[0];
|
|
4189
3981
|
}
|