@aws-sdk/client-kinesis-analytics 3.121.0 → 3.127.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist-cjs/protocols/Aws_json1_1.js +211 -303
- package/dist-es/protocols/Aws_json1_1.js +146 -238
- package/package.json +26 -26
|
@@ -1627,57 +1627,47 @@ var deserializeAws_json1_1UnsupportedOperationExceptionResponse = function (pars
|
|
|
1627
1627
|
});
|
|
1628
1628
|
}); };
|
|
1629
1629
|
var serializeAws_json1_1AddApplicationCloudWatchLoggingOptionRequest = function (input, context) {
|
|
1630
|
-
return __assign(__assign(__assign({}, (input.ApplicationName
|
|
1631
|
-
input.ApplicationName !== null && { ApplicationName: input.ApplicationName })), (input.CloudWatchLoggingOption !== undefined &&
|
|
1632
|
-
input.CloudWatchLoggingOption !== null && {
|
|
1630
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CloudWatchLoggingOption != null && {
|
|
1633
1631
|
CloudWatchLoggingOption: serializeAws_json1_1CloudWatchLoggingOption(input.CloudWatchLoggingOption, context),
|
|
1634
|
-
})), (input.CurrentApplicationVersionId
|
|
1635
|
-
|
|
1632
|
+
})), (input.CurrentApplicationVersionId != null && {
|
|
1633
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1634
|
+
}));
|
|
1636
1635
|
};
|
|
1637
1636
|
var serializeAws_json1_1AddApplicationInputProcessingConfigurationRequest = function (input, context) {
|
|
1638
|
-
return __assign(__assign(__assign(__assign({}, (input.ApplicationName
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
input.InputProcessingConfiguration !== null && {
|
|
1637
|
+
return __assign(__assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1638
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1639
|
+
})), (input.InputId != null && { InputId: input.InputId })), (input.InputProcessingConfiguration != null && {
|
|
1642
1640
|
InputProcessingConfiguration: serializeAws_json1_1InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1643
1641
|
}));
|
|
1644
1642
|
};
|
|
1645
1643
|
var serializeAws_json1_1AddApplicationInputRequest = function (input, context) {
|
|
1646
|
-
return __assign(__assign(__assign({}, (input.ApplicationName
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
input.Input !== null && { Input: serializeAws_json1_1Input(input.Input, context) }));
|
|
1644
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1645
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1646
|
+
})), (input.Input != null && { Input: serializeAws_json1_1Input(input.Input, context) }));
|
|
1650
1647
|
};
|
|
1651
1648
|
var serializeAws_json1_1AddApplicationOutputRequest = function (input, context) {
|
|
1652
|
-
return __assign(__assign(__assign({}, (input.ApplicationName
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
input.Output !== null && { Output: serializeAws_json1_1Output(input.Output, context) }));
|
|
1649
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1650
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1651
|
+
})), (input.Output != null && { Output: serializeAws_json1_1Output(input.Output, context) }));
|
|
1656
1652
|
};
|
|
1657
1653
|
var serializeAws_json1_1AddApplicationReferenceDataSourceRequest = function (input, context) {
|
|
1658
|
-
return __assign(__assign(__assign({}, (input.ApplicationName
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
input.ReferenceDataSource !== null && {
|
|
1654
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1655
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1656
|
+
})), (input.ReferenceDataSource != null && {
|
|
1662
1657
|
ReferenceDataSource: serializeAws_json1_1ReferenceDataSource(input.ReferenceDataSource, context),
|
|
1663
1658
|
}));
|
|
1664
1659
|
};
|
|
1665
1660
|
var serializeAws_json1_1ApplicationUpdate = function (input, context) {
|
|
1666
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ApplicationCodeUpdate
|
|
1667
|
-
input.ApplicationCodeUpdate !== null && { ApplicationCodeUpdate: input.ApplicationCodeUpdate })), (input.CloudWatchLoggingOptionUpdates !== undefined &&
|
|
1668
|
-
input.CloudWatchLoggingOptionUpdates !== null && {
|
|
1661
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ApplicationCodeUpdate != null && { ApplicationCodeUpdate: input.ApplicationCodeUpdate })), (input.CloudWatchLoggingOptionUpdates != null && {
|
|
1669
1662
|
CloudWatchLoggingOptionUpdates: serializeAws_json1_1CloudWatchLoggingOptionUpdates(input.CloudWatchLoggingOptionUpdates, context),
|
|
1670
|
-
})), (input.InputUpdates
|
|
1671
|
-
input.InputUpdates !== null && { InputUpdates: serializeAws_json1_1InputUpdates(input.InputUpdates, context) })), (input.OutputUpdates !== undefined &&
|
|
1672
|
-
input.OutputUpdates !== null && {
|
|
1663
|
+
})), (input.InputUpdates != null && { InputUpdates: serializeAws_json1_1InputUpdates(input.InputUpdates, context) })), (input.OutputUpdates != null && {
|
|
1673
1664
|
OutputUpdates: serializeAws_json1_1OutputUpdates(input.OutputUpdates, context),
|
|
1674
|
-
})), (input.ReferenceDataSourceUpdates
|
|
1675
|
-
input.ReferenceDataSourceUpdates !== null && {
|
|
1665
|
+
})), (input.ReferenceDataSourceUpdates != null && {
|
|
1676
1666
|
ReferenceDataSourceUpdates: serializeAws_json1_1ReferenceDataSourceUpdates(input.ReferenceDataSourceUpdates, context),
|
|
1677
1667
|
}));
|
|
1678
1668
|
};
|
|
1679
1669
|
var serializeAws_json1_1CloudWatchLoggingOption = function (input, context) {
|
|
1680
|
-
return __assign(__assign({}, (input.LogStreamARN
|
|
1670
|
+
return __assign(__assign({}, (input.LogStreamARN != null && { LogStreamARN: input.LogStreamARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1681
1671
|
};
|
|
1682
1672
|
var serializeAws_json1_1CloudWatchLoggingOptions = function (input, context) {
|
|
1683
1673
|
return input
|
|
@@ -1690,9 +1680,7 @@ var serializeAws_json1_1CloudWatchLoggingOptions = function (input, context) {
|
|
|
1690
1680
|
});
|
|
1691
1681
|
};
|
|
1692
1682
|
var serializeAws_json1_1CloudWatchLoggingOptionUpdate = function (input, context) {
|
|
1693
|
-
return __assign(__assign(__assign({}, (input.CloudWatchLoggingOptionId
|
|
1694
|
-
input.CloudWatchLoggingOptionId !== null && { CloudWatchLoggingOptionId: input.CloudWatchLoggingOptionId })), (input.LogStreamARNUpdate !== undefined &&
|
|
1695
|
-
input.LogStreamARNUpdate !== null && { LogStreamARNUpdate: input.LogStreamARNUpdate })), (input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1683
|
+
return __assign(__assign(__assign({}, (input.CloudWatchLoggingOptionId != null && { CloudWatchLoggingOptionId: input.CloudWatchLoggingOptionId })), (input.LogStreamARNUpdate != null && { LogStreamARNUpdate: input.LogStreamARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1696
1684
|
};
|
|
1697
1685
|
var serializeAws_json1_1CloudWatchLoggingOptionUpdates = function (input, context) {
|
|
1698
1686
|
return input
|
|
@@ -1705,86 +1693,64 @@ var serializeAws_json1_1CloudWatchLoggingOptionUpdates = function (input, contex
|
|
|
1705
1693
|
});
|
|
1706
1694
|
};
|
|
1707
1695
|
var serializeAws_json1_1CreateApplicationRequest = function (input, context) {
|
|
1708
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplicationCode
|
|
1709
|
-
input.ApplicationCode !== null && { ApplicationCode: input.ApplicationCode })), (input.ApplicationDescription !== undefined &&
|
|
1710
|
-
input.ApplicationDescription !== null && { ApplicationDescription: input.ApplicationDescription })), (input.ApplicationName !== undefined &&
|
|
1711
|
-
input.ApplicationName !== null && { ApplicationName: input.ApplicationName })), (input.CloudWatchLoggingOptions !== undefined &&
|
|
1712
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1696
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplicationCode != null && { ApplicationCode: input.ApplicationCode })), (input.ApplicationDescription != null && { ApplicationDescription: input.ApplicationDescription })), (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CloudWatchLoggingOptions != null && {
|
|
1713
1697
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1714
|
-
})), (input.Inputs
|
|
1715
|
-
input.Inputs !== null && { Inputs: serializeAws_json1_1Inputs(input.Inputs, context) })), (input.Outputs !== undefined &&
|
|
1716
|
-
input.Outputs !== null && { Outputs: serializeAws_json1_1Outputs(input.Outputs, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
1698
|
+
})), (input.Inputs != null && { Inputs: serializeAws_json1_1Inputs(input.Inputs, context) })), (input.Outputs != null && { Outputs: serializeAws_json1_1Outputs(input.Outputs, context) })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
1717
1699
|
};
|
|
1718
1700
|
var serializeAws_json1_1CSVMappingParameters = function (input, context) {
|
|
1719
|
-
return __assign(__assign({}, (input.RecordColumnDelimiter
|
|
1720
|
-
input.RecordColumnDelimiter !== null && { RecordColumnDelimiter: input.RecordColumnDelimiter })), (input.RecordRowDelimiter !== undefined &&
|
|
1721
|
-
input.RecordRowDelimiter !== null && { RecordRowDelimiter: input.RecordRowDelimiter }));
|
|
1701
|
+
return __assign(__assign({}, (input.RecordColumnDelimiter != null && { RecordColumnDelimiter: input.RecordColumnDelimiter })), (input.RecordRowDelimiter != null && { RecordRowDelimiter: input.RecordRowDelimiter }));
|
|
1722
1702
|
};
|
|
1723
1703
|
var serializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionRequest = function (input, context) {
|
|
1724
|
-
return __assign(__assign(__assign({}, (input.ApplicationName
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
input.CurrentApplicationVersionId !== null && { CurrentApplicationVersionId: input.CurrentApplicationVersionId }));
|
|
1704
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CloudWatchLoggingOptionId != null && { CloudWatchLoggingOptionId: input.CloudWatchLoggingOptionId })), (input.CurrentApplicationVersionId != null && {
|
|
1705
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1706
|
+
}));
|
|
1728
1707
|
};
|
|
1729
1708
|
var serializeAws_json1_1DeleteApplicationInputProcessingConfigurationRequest = function (input, context) {
|
|
1730
|
-
return __assign(__assign(__assign({}, (input.ApplicationName
|
|
1731
|
-
|
|
1732
|
-
|
|
1709
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1710
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1711
|
+
})), (input.InputId != null && { InputId: input.InputId }));
|
|
1733
1712
|
};
|
|
1734
1713
|
var serializeAws_json1_1DeleteApplicationOutputRequest = function (input, context) {
|
|
1735
|
-
return __assign(__assign(__assign({}, (input.ApplicationName
|
|
1736
|
-
|
|
1737
|
-
|
|
1714
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1715
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1716
|
+
})), (input.OutputId != null && { OutputId: input.OutputId }));
|
|
1738
1717
|
};
|
|
1739
1718
|
var serializeAws_json1_1DeleteApplicationReferenceDataSourceRequest = function (input, context) {
|
|
1740
|
-
return __assign(__assign(__assign({}, (input.ApplicationName
|
|
1741
|
-
|
|
1742
|
-
|
|
1719
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1720
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1721
|
+
})), (input.ReferenceId != null && { ReferenceId: input.ReferenceId }));
|
|
1743
1722
|
};
|
|
1744
1723
|
var serializeAws_json1_1DeleteApplicationRequest = function (input, context) {
|
|
1745
|
-
return __assign(__assign({}, (input.ApplicationName
|
|
1746
|
-
input.ApplicationName !== null && { ApplicationName: input.ApplicationName })), (input.CreateTimestamp !== undefined &&
|
|
1747
|
-
input.CreateTimestamp !== null && { CreateTimestamp: Math.round(input.CreateTimestamp.getTime() / 1000) }));
|
|
1724
|
+
return __assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CreateTimestamp != null && { CreateTimestamp: Math.round(input.CreateTimestamp.getTime() / 1000) }));
|
|
1748
1725
|
};
|
|
1749
1726
|
var serializeAws_json1_1DescribeApplicationRequest = function (input, context) {
|
|
1750
|
-
return __assign({}, (input.ApplicationName
|
|
1751
|
-
input.ApplicationName !== null && { ApplicationName: input.ApplicationName }));
|
|
1727
|
+
return __assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName }));
|
|
1752
1728
|
};
|
|
1753
1729
|
var serializeAws_json1_1DestinationSchema = function (input, context) {
|
|
1754
|
-
return __assign({}, (input.RecordFormatType
|
|
1755
|
-
input.RecordFormatType !== null && { RecordFormatType: input.RecordFormatType }));
|
|
1730
|
+
return __assign({}, (input.RecordFormatType != null && { RecordFormatType: input.RecordFormatType }));
|
|
1756
1731
|
};
|
|
1757
1732
|
var serializeAws_json1_1DiscoverInputSchemaRequest = function (input, context) {
|
|
1758
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.InputProcessingConfiguration
|
|
1759
|
-
input.InputProcessingConfiguration !== null && {
|
|
1733
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.InputProcessingConfiguration != null && {
|
|
1760
1734
|
InputProcessingConfiguration: serializeAws_json1_1InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1761
|
-
})), (input.InputStartingPositionConfiguration
|
|
1762
|
-
input.InputStartingPositionConfiguration !== null && {
|
|
1735
|
+
})), (input.InputStartingPositionConfiguration != null && {
|
|
1763
1736
|
InputStartingPositionConfiguration: serializeAws_json1_1InputStartingPositionConfiguration(input.InputStartingPositionConfiguration, context),
|
|
1764
|
-
})), (input.ResourceARN
|
|
1765
|
-
input.S3Configuration !== null && {
|
|
1737
|
+
})), (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN })), (input.S3Configuration != null && {
|
|
1766
1738
|
S3Configuration: serializeAws_json1_1S3Configuration(input.S3Configuration, context),
|
|
1767
1739
|
}));
|
|
1768
1740
|
};
|
|
1769
1741
|
var serializeAws_json1_1Input = function (input, context) {
|
|
1770
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.InputParallelism
|
|
1771
|
-
input.InputParallelism !== null && {
|
|
1742
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.InputParallelism != null && {
|
|
1772
1743
|
InputParallelism: serializeAws_json1_1InputParallelism(input.InputParallelism, context),
|
|
1773
|
-
})), (input.InputProcessingConfiguration
|
|
1774
|
-
input.InputProcessingConfiguration !== null && {
|
|
1744
|
+
})), (input.InputProcessingConfiguration != null && {
|
|
1775
1745
|
InputProcessingConfiguration: serializeAws_json1_1InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1776
|
-
})), (input.InputSchema
|
|
1777
|
-
input.InputSchema !== null && { InputSchema: serializeAws_json1_1SourceSchema(input.InputSchema, context) })), (input.KinesisFirehoseInput !== undefined &&
|
|
1778
|
-
input.KinesisFirehoseInput !== null && {
|
|
1746
|
+
})), (input.InputSchema != null && { InputSchema: serializeAws_json1_1SourceSchema(input.InputSchema, context) })), (input.KinesisFirehoseInput != null && {
|
|
1779
1747
|
KinesisFirehoseInput: serializeAws_json1_1KinesisFirehoseInput(input.KinesisFirehoseInput, context),
|
|
1780
|
-
})), (input.KinesisStreamsInput
|
|
1781
|
-
input.KinesisStreamsInput !== null && {
|
|
1748
|
+
})), (input.KinesisStreamsInput != null && {
|
|
1782
1749
|
KinesisStreamsInput: serializeAws_json1_1KinesisStreamsInput(input.KinesisStreamsInput, context),
|
|
1783
|
-
})), (input.NamePrefix
|
|
1750
|
+
})), (input.NamePrefix != null && { NamePrefix: input.NamePrefix }));
|
|
1784
1751
|
};
|
|
1785
1752
|
var serializeAws_json1_1InputConfiguration = function (input, context) {
|
|
1786
|
-
return __assign(__assign({}, (input.Id
|
|
1787
|
-
input.InputStartingPositionConfiguration !== null && {
|
|
1753
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.InputStartingPositionConfiguration != null && {
|
|
1788
1754
|
InputStartingPositionConfiguration: serializeAws_json1_1InputStartingPositionConfiguration(input.InputStartingPositionConfiguration, context),
|
|
1789
1755
|
}));
|
|
1790
1756
|
};
|
|
@@ -1799,27 +1765,24 @@ var serializeAws_json1_1InputConfigurations = function (input, context) {
|
|
|
1799
1765
|
});
|
|
1800
1766
|
};
|
|
1801
1767
|
var serializeAws_json1_1InputLambdaProcessor = function (input, context) {
|
|
1802
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
1768
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1803
1769
|
};
|
|
1804
1770
|
var serializeAws_json1_1InputLambdaProcessorUpdate = function (input, context) {
|
|
1805
|
-
return __assign(__assign({}, (input.ResourceARNUpdate
|
|
1806
|
-
input.ResourceARNUpdate !== null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1771
|
+
return __assign(__assign({}, (input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1807
1772
|
};
|
|
1808
1773
|
var serializeAws_json1_1InputParallelism = function (input, context) {
|
|
1809
|
-
return __assign({}, (input.Count
|
|
1774
|
+
return __assign({}, (input.Count != null && { Count: input.Count }));
|
|
1810
1775
|
};
|
|
1811
1776
|
var serializeAws_json1_1InputParallelismUpdate = function (input, context) {
|
|
1812
|
-
return __assign({}, (input.CountUpdate
|
|
1777
|
+
return __assign({}, (input.CountUpdate != null && { CountUpdate: input.CountUpdate }));
|
|
1813
1778
|
};
|
|
1814
1779
|
var serializeAws_json1_1InputProcessingConfiguration = function (input, context) {
|
|
1815
|
-
return __assign({}, (input.InputLambdaProcessor
|
|
1816
|
-
input.InputLambdaProcessor !== null && {
|
|
1780
|
+
return __assign({}, (input.InputLambdaProcessor != null && {
|
|
1817
1781
|
InputLambdaProcessor: serializeAws_json1_1InputLambdaProcessor(input.InputLambdaProcessor, context),
|
|
1818
1782
|
}));
|
|
1819
1783
|
};
|
|
1820
1784
|
var serializeAws_json1_1InputProcessingConfigurationUpdate = function (input, context) {
|
|
1821
|
-
return __assign({}, (input.InputLambdaProcessorUpdate
|
|
1822
|
-
input.InputLambdaProcessorUpdate !== null && {
|
|
1785
|
+
return __assign({}, (input.InputLambdaProcessorUpdate != null && {
|
|
1823
1786
|
InputLambdaProcessorUpdate: serializeAws_json1_1InputLambdaProcessorUpdate(input.InputLambdaProcessorUpdate, context),
|
|
1824
1787
|
}));
|
|
1825
1788
|
};
|
|
@@ -1834,37 +1797,27 @@ var serializeAws_json1_1Inputs = function (input, context) {
|
|
|
1834
1797
|
});
|
|
1835
1798
|
};
|
|
1836
1799
|
var serializeAws_json1_1InputSchemaUpdate = function (input, context) {
|
|
1837
|
-
return __assign(__assign(__assign({}, (input.RecordColumnUpdates
|
|
1838
|
-
input.RecordColumnUpdates !== null && {
|
|
1800
|
+
return __assign(__assign(__assign({}, (input.RecordColumnUpdates != null && {
|
|
1839
1801
|
RecordColumnUpdates: serializeAws_json1_1RecordColumns(input.RecordColumnUpdates, context),
|
|
1840
|
-
})), (input.RecordEncodingUpdate
|
|
1841
|
-
input.RecordEncodingUpdate !== null && { RecordEncodingUpdate: input.RecordEncodingUpdate })), (input.RecordFormatUpdate !== undefined &&
|
|
1842
|
-
input.RecordFormatUpdate !== null && {
|
|
1802
|
+
})), (input.RecordEncodingUpdate != null && { RecordEncodingUpdate: input.RecordEncodingUpdate })), (input.RecordFormatUpdate != null && {
|
|
1843
1803
|
RecordFormatUpdate: serializeAws_json1_1RecordFormat(input.RecordFormatUpdate, context),
|
|
1844
1804
|
}));
|
|
1845
1805
|
};
|
|
1846
1806
|
var serializeAws_json1_1InputStartingPositionConfiguration = function (input, context) {
|
|
1847
|
-
return __assign({}, (input.InputStartingPosition
|
|
1848
|
-
input.InputStartingPosition !== null && { InputStartingPosition: input.InputStartingPosition }));
|
|
1807
|
+
return __assign({}, (input.InputStartingPosition != null && { InputStartingPosition: input.InputStartingPosition }));
|
|
1849
1808
|
};
|
|
1850
1809
|
var serializeAws_json1_1InputUpdate = function (input, context) {
|
|
1851
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.InputId
|
|
1852
|
-
input.InputParallelismUpdate !== null && {
|
|
1810
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.InputId != null && { InputId: input.InputId })), (input.InputParallelismUpdate != null && {
|
|
1853
1811
|
InputParallelismUpdate: serializeAws_json1_1InputParallelismUpdate(input.InputParallelismUpdate, context),
|
|
1854
|
-
})), (input.InputProcessingConfigurationUpdate
|
|
1855
|
-
input.InputProcessingConfigurationUpdate !== null && {
|
|
1812
|
+
})), (input.InputProcessingConfigurationUpdate != null && {
|
|
1856
1813
|
InputProcessingConfigurationUpdate: serializeAws_json1_1InputProcessingConfigurationUpdate(input.InputProcessingConfigurationUpdate, context),
|
|
1857
|
-
})), (input.InputSchemaUpdate
|
|
1858
|
-
input.InputSchemaUpdate !== null && {
|
|
1814
|
+
})), (input.InputSchemaUpdate != null && {
|
|
1859
1815
|
InputSchemaUpdate: serializeAws_json1_1InputSchemaUpdate(input.InputSchemaUpdate, context),
|
|
1860
|
-
})), (input.KinesisFirehoseInputUpdate
|
|
1861
|
-
input.KinesisFirehoseInputUpdate !== null && {
|
|
1816
|
+
})), (input.KinesisFirehoseInputUpdate != null && {
|
|
1862
1817
|
KinesisFirehoseInputUpdate: serializeAws_json1_1KinesisFirehoseInputUpdate(input.KinesisFirehoseInputUpdate, context),
|
|
1863
|
-
})), (input.KinesisStreamsInputUpdate
|
|
1864
|
-
input.KinesisStreamsInputUpdate !== null && {
|
|
1818
|
+
})), (input.KinesisStreamsInputUpdate != null && {
|
|
1865
1819
|
KinesisStreamsInputUpdate: serializeAws_json1_1KinesisStreamsInputUpdate(input.KinesisStreamsInputUpdate, context),
|
|
1866
|
-
})), (input.NamePrefixUpdate
|
|
1867
|
-
input.NamePrefixUpdate !== null && { NamePrefixUpdate: input.NamePrefixUpdate }));
|
|
1820
|
+
})), (input.NamePrefixUpdate != null && { NamePrefixUpdate: input.NamePrefixUpdate }));
|
|
1868
1821
|
};
|
|
1869
1822
|
var serializeAws_json1_1InputUpdates = function (input, context) {
|
|
1870
1823
|
return input
|
|
@@ -1877,73 +1830,61 @@ var serializeAws_json1_1InputUpdates = function (input, context) {
|
|
|
1877
1830
|
});
|
|
1878
1831
|
};
|
|
1879
1832
|
var serializeAws_json1_1JSONMappingParameters = function (input, context) {
|
|
1880
|
-
return __assign({}, (input.RecordRowPath
|
|
1833
|
+
return __assign({}, (input.RecordRowPath != null && { RecordRowPath: input.RecordRowPath }));
|
|
1881
1834
|
};
|
|
1882
1835
|
var serializeAws_json1_1KinesisFirehoseInput = function (input, context) {
|
|
1883
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
1836
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1884
1837
|
};
|
|
1885
1838
|
var serializeAws_json1_1KinesisFirehoseInputUpdate = function (input, context) {
|
|
1886
|
-
return __assign(__assign({}, (input.ResourceARNUpdate
|
|
1887
|
-
input.ResourceARNUpdate !== null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1839
|
+
return __assign(__assign({}, (input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1888
1840
|
};
|
|
1889
1841
|
var serializeAws_json1_1KinesisFirehoseOutput = function (input, context) {
|
|
1890
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
1842
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1891
1843
|
};
|
|
1892
1844
|
var serializeAws_json1_1KinesisFirehoseOutputUpdate = function (input, context) {
|
|
1893
|
-
return __assign(__assign({}, (input.ResourceARNUpdate
|
|
1894
|
-
input.ResourceARNUpdate !== null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1845
|
+
return __assign(__assign({}, (input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1895
1846
|
};
|
|
1896
1847
|
var serializeAws_json1_1KinesisStreamsInput = function (input, context) {
|
|
1897
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
1848
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1898
1849
|
};
|
|
1899
1850
|
var serializeAws_json1_1KinesisStreamsInputUpdate = function (input, context) {
|
|
1900
|
-
return __assign(__assign({}, (input.ResourceARNUpdate
|
|
1901
|
-
input.ResourceARNUpdate !== null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1851
|
+
return __assign(__assign({}, (input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1902
1852
|
};
|
|
1903
1853
|
var serializeAws_json1_1KinesisStreamsOutput = function (input, context) {
|
|
1904
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
1854
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1905
1855
|
};
|
|
1906
1856
|
var serializeAws_json1_1KinesisStreamsOutputUpdate = function (input, context) {
|
|
1907
|
-
return __assign(__assign({}, (input.ResourceARNUpdate
|
|
1908
|
-
input.ResourceARNUpdate !== null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1857
|
+
return __assign(__assign({}, (input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1909
1858
|
};
|
|
1910
1859
|
var serializeAws_json1_1LambdaOutput = function (input, context) {
|
|
1911
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
1860
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1912
1861
|
};
|
|
1913
1862
|
var serializeAws_json1_1LambdaOutputUpdate = function (input, context) {
|
|
1914
|
-
return __assign(__assign({}, (input.ResourceARNUpdate
|
|
1915
|
-
input.ResourceARNUpdate !== null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1863
|
+
return __assign(__assign({}, (input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1916
1864
|
};
|
|
1917
1865
|
var serializeAws_json1_1ListApplicationsRequest = function (input, context) {
|
|
1918
|
-
return __assign(__assign({}, (input.ExclusiveStartApplicationName
|
|
1919
|
-
input.ExclusiveStartApplicationName !== null && {
|
|
1866
|
+
return __assign(__assign({}, (input.ExclusiveStartApplicationName != null && {
|
|
1920
1867
|
ExclusiveStartApplicationName: input.ExclusiveStartApplicationName,
|
|
1921
|
-
})), (input.Limit
|
|
1868
|
+
})), (input.Limit != null && { Limit: input.Limit }));
|
|
1922
1869
|
};
|
|
1923
1870
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
1924
|
-
return __assign({}, (input.ResourceARN
|
|
1871
|
+
return __assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN }));
|
|
1925
1872
|
};
|
|
1926
1873
|
var serializeAws_json1_1MappingParameters = function (input, context) {
|
|
1927
|
-
return __assign(__assign({}, (input.CSVMappingParameters
|
|
1928
|
-
input.CSVMappingParameters !== null && {
|
|
1874
|
+
return __assign(__assign({}, (input.CSVMappingParameters != null && {
|
|
1929
1875
|
CSVMappingParameters: serializeAws_json1_1CSVMappingParameters(input.CSVMappingParameters, context),
|
|
1930
|
-
})), (input.JSONMappingParameters
|
|
1931
|
-
input.JSONMappingParameters !== null && {
|
|
1876
|
+
})), (input.JSONMappingParameters != null && {
|
|
1932
1877
|
JSONMappingParameters: serializeAws_json1_1JSONMappingParameters(input.JSONMappingParameters, context),
|
|
1933
1878
|
}));
|
|
1934
1879
|
};
|
|
1935
1880
|
var serializeAws_json1_1Output = function (input, context) {
|
|
1936
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.DestinationSchema
|
|
1937
|
-
input.DestinationSchema !== null && {
|
|
1881
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.DestinationSchema != null && {
|
|
1938
1882
|
DestinationSchema: serializeAws_json1_1DestinationSchema(input.DestinationSchema, context),
|
|
1939
|
-
})), (input.KinesisFirehoseOutput
|
|
1940
|
-
input.KinesisFirehoseOutput !== null && {
|
|
1883
|
+
})), (input.KinesisFirehoseOutput != null && {
|
|
1941
1884
|
KinesisFirehoseOutput: serializeAws_json1_1KinesisFirehoseOutput(input.KinesisFirehoseOutput, context),
|
|
1942
|
-
})), (input.KinesisStreamsOutput
|
|
1943
|
-
input.KinesisStreamsOutput !== null && {
|
|
1885
|
+
})), (input.KinesisStreamsOutput != null && {
|
|
1944
1886
|
KinesisStreamsOutput: serializeAws_json1_1KinesisStreamsOutput(input.KinesisStreamsOutput, context),
|
|
1945
|
-
})), (input.LambdaOutput
|
|
1946
|
-
input.LambdaOutput !== null && { LambdaOutput: serializeAws_json1_1LambdaOutput(input.LambdaOutput, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
1887
|
+
})), (input.LambdaOutput != null && { LambdaOutput: serializeAws_json1_1LambdaOutput(input.LambdaOutput, context) })), (input.Name != null && { Name: input.Name }));
|
|
1947
1888
|
};
|
|
1948
1889
|
var serializeAws_json1_1Outputs = function (input, context) {
|
|
1949
1890
|
return input
|
|
@@ -1956,19 +1897,15 @@ var serializeAws_json1_1Outputs = function (input, context) {
|
|
|
1956
1897
|
});
|
|
1957
1898
|
};
|
|
1958
1899
|
var serializeAws_json1_1OutputUpdate = function (input, context) {
|
|
1959
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DestinationSchemaUpdate
|
|
1960
|
-
input.DestinationSchemaUpdate !== null && {
|
|
1900
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DestinationSchemaUpdate != null && {
|
|
1961
1901
|
DestinationSchemaUpdate: serializeAws_json1_1DestinationSchema(input.DestinationSchemaUpdate, context),
|
|
1962
|
-
})), (input.KinesisFirehoseOutputUpdate
|
|
1963
|
-
input.KinesisFirehoseOutputUpdate !== null && {
|
|
1902
|
+
})), (input.KinesisFirehoseOutputUpdate != null && {
|
|
1964
1903
|
KinesisFirehoseOutputUpdate: serializeAws_json1_1KinesisFirehoseOutputUpdate(input.KinesisFirehoseOutputUpdate, context),
|
|
1965
|
-
})), (input.KinesisStreamsOutputUpdate
|
|
1966
|
-
input.KinesisStreamsOutputUpdate !== null && {
|
|
1904
|
+
})), (input.KinesisStreamsOutputUpdate != null && {
|
|
1967
1905
|
KinesisStreamsOutputUpdate: serializeAws_json1_1KinesisStreamsOutputUpdate(input.KinesisStreamsOutputUpdate, context),
|
|
1968
|
-
})), (input.LambdaOutputUpdate
|
|
1969
|
-
input.LambdaOutputUpdate !== null && {
|
|
1906
|
+
})), (input.LambdaOutputUpdate != null && {
|
|
1970
1907
|
LambdaOutputUpdate: serializeAws_json1_1LambdaOutputUpdate(input.LambdaOutputUpdate, context),
|
|
1971
|
-
})), (input.NameUpdate
|
|
1908
|
+
})), (input.NameUpdate != null && { NameUpdate: input.NameUpdate })), (input.OutputId != null && { OutputId: input.OutputId }));
|
|
1972
1909
|
};
|
|
1973
1910
|
var serializeAws_json1_1OutputUpdates = function (input, context) {
|
|
1974
1911
|
return input
|
|
@@ -1981,7 +1918,7 @@ var serializeAws_json1_1OutputUpdates = function (input, context) {
|
|
|
1981
1918
|
});
|
|
1982
1919
|
};
|
|
1983
1920
|
var serializeAws_json1_1RecordColumn = function (input, context) {
|
|
1984
|
-
return __assign(__assign(__assign({}, (input.Mapping
|
|
1921
|
+
return __assign(__assign(__assign({}, (input.Mapping != null && { Mapping: input.Mapping })), (input.Name != null && { Name: input.Name })), (input.SqlType != null && { SqlType: input.SqlType }));
|
|
1985
1922
|
};
|
|
1986
1923
|
var serializeAws_json1_1RecordColumns = function (input, context) {
|
|
1987
1924
|
return input
|
|
@@ -1994,30 +1931,23 @@ var serializeAws_json1_1RecordColumns = function (input, context) {
|
|
|
1994
1931
|
});
|
|
1995
1932
|
};
|
|
1996
1933
|
var serializeAws_json1_1RecordFormat = function (input, context) {
|
|
1997
|
-
return __assign(__assign({}, (input.MappingParameters
|
|
1998
|
-
input.MappingParameters !== null && {
|
|
1934
|
+
return __assign(__assign({}, (input.MappingParameters != null && {
|
|
1999
1935
|
MappingParameters: serializeAws_json1_1MappingParameters(input.MappingParameters, context),
|
|
2000
|
-
})), (input.RecordFormatType
|
|
2001
|
-
input.RecordFormatType !== null && { RecordFormatType: input.RecordFormatType }));
|
|
1936
|
+
})), (input.RecordFormatType != null && { RecordFormatType: input.RecordFormatType }));
|
|
2002
1937
|
};
|
|
2003
1938
|
var serializeAws_json1_1ReferenceDataSource = function (input, context) {
|
|
2004
|
-
return __assign(__assign(__assign({}, (input.ReferenceSchema
|
|
2005
|
-
input.ReferenceSchema !== null && {
|
|
1939
|
+
return __assign(__assign(__assign({}, (input.ReferenceSchema != null && {
|
|
2006
1940
|
ReferenceSchema: serializeAws_json1_1SourceSchema(input.ReferenceSchema, context),
|
|
2007
|
-
})), (input.S3ReferenceDataSource
|
|
2008
|
-
input.S3ReferenceDataSource !== null && {
|
|
1941
|
+
})), (input.S3ReferenceDataSource != null && {
|
|
2009
1942
|
S3ReferenceDataSource: serializeAws_json1_1S3ReferenceDataSource(input.S3ReferenceDataSource, context),
|
|
2010
|
-
})), (input.TableName
|
|
1943
|
+
})), (input.TableName != null && { TableName: input.TableName }));
|
|
2011
1944
|
};
|
|
2012
1945
|
var serializeAws_json1_1ReferenceDataSourceUpdate = function (input, context) {
|
|
2013
|
-
return __assign(__assign(__assign(__assign({}, (input.ReferenceId
|
|
2014
|
-
input.ReferenceSchemaUpdate !== null && {
|
|
1946
|
+
return __assign(__assign(__assign(__assign({}, (input.ReferenceId != null && { ReferenceId: input.ReferenceId })), (input.ReferenceSchemaUpdate != null && {
|
|
2015
1947
|
ReferenceSchemaUpdate: serializeAws_json1_1SourceSchema(input.ReferenceSchemaUpdate, context),
|
|
2016
|
-
})), (input.S3ReferenceDataSourceUpdate
|
|
2017
|
-
input.S3ReferenceDataSourceUpdate !== null && {
|
|
1948
|
+
})), (input.S3ReferenceDataSourceUpdate != null && {
|
|
2018
1949
|
S3ReferenceDataSourceUpdate: serializeAws_json1_1S3ReferenceDataSourceUpdate(input.S3ReferenceDataSourceUpdate, context),
|
|
2019
|
-
})), (input.TableNameUpdate
|
|
2020
|
-
input.TableNameUpdate !== null && { TableNameUpdate: input.TableNameUpdate }));
|
|
1950
|
+
})), (input.TableNameUpdate != null && { TableNameUpdate: input.TableNameUpdate }));
|
|
2021
1951
|
};
|
|
2022
1952
|
var serializeAws_json1_1ReferenceDataSourceUpdates = function (input, context) {
|
|
2023
1953
|
return input
|
|
@@ -2030,38 +1960,29 @@ var serializeAws_json1_1ReferenceDataSourceUpdates = function (input, context) {
|
|
|
2030
1960
|
});
|
|
2031
1961
|
};
|
|
2032
1962
|
var serializeAws_json1_1S3Configuration = function (input, context) {
|
|
2033
|
-
return __assign(__assign(__assign({}, (input.BucketARN
|
|
1963
|
+
return __assign(__assign(__assign({}, (input.BucketARN != null && { BucketARN: input.BucketARN })), (input.FileKey != null && { FileKey: input.FileKey })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
2034
1964
|
};
|
|
2035
1965
|
var serializeAws_json1_1S3ReferenceDataSource = function (input, context) {
|
|
2036
|
-
return __assign(__assign(__assign({}, (input.BucketARN
|
|
2037
|
-
input.ReferenceRoleARN !== null && { ReferenceRoleARN: input.ReferenceRoleARN }));
|
|
1966
|
+
return __assign(__assign(__assign({}, (input.BucketARN != null && { BucketARN: input.BucketARN })), (input.FileKey != null && { FileKey: input.FileKey })), (input.ReferenceRoleARN != null && { ReferenceRoleARN: input.ReferenceRoleARN }));
|
|
2038
1967
|
};
|
|
2039
1968
|
var serializeAws_json1_1S3ReferenceDataSourceUpdate = function (input, context) {
|
|
2040
|
-
return __assign(__assign(__assign({}, (input.BucketARNUpdate
|
|
2041
|
-
input.BucketARNUpdate !== null && { BucketARNUpdate: input.BucketARNUpdate })), (input.FileKeyUpdate !== undefined && input.FileKeyUpdate !== null && { FileKeyUpdate: input.FileKeyUpdate })), (input.ReferenceRoleARNUpdate !== undefined &&
|
|
2042
|
-
input.ReferenceRoleARNUpdate !== null && { ReferenceRoleARNUpdate: input.ReferenceRoleARNUpdate }));
|
|
1969
|
+
return __assign(__assign(__assign({}, (input.BucketARNUpdate != null && { BucketARNUpdate: input.BucketARNUpdate })), (input.FileKeyUpdate != null && { FileKeyUpdate: input.FileKeyUpdate })), (input.ReferenceRoleARNUpdate != null && { ReferenceRoleARNUpdate: input.ReferenceRoleARNUpdate }));
|
|
2043
1970
|
};
|
|
2044
1971
|
var serializeAws_json1_1SourceSchema = function (input, context) {
|
|
2045
|
-
return __assign(__assign(__assign({}, (input.RecordColumns
|
|
2046
|
-
input.RecordColumns !== null && {
|
|
1972
|
+
return __assign(__assign(__assign({}, (input.RecordColumns != null && {
|
|
2047
1973
|
RecordColumns: serializeAws_json1_1RecordColumns(input.RecordColumns, context),
|
|
2048
|
-
})), (input.RecordEncoding
|
|
2049
|
-
input.RecordEncoding !== null && { RecordEncoding: input.RecordEncoding })), (input.RecordFormat !== undefined &&
|
|
2050
|
-
input.RecordFormat !== null && { RecordFormat: serializeAws_json1_1RecordFormat(input.RecordFormat, context) }));
|
|
1974
|
+
})), (input.RecordEncoding != null && { RecordEncoding: input.RecordEncoding })), (input.RecordFormat != null && { RecordFormat: serializeAws_json1_1RecordFormat(input.RecordFormat, context) }));
|
|
2051
1975
|
};
|
|
2052
1976
|
var serializeAws_json1_1StartApplicationRequest = function (input, context) {
|
|
2053
|
-
return __assign(__assign({}, (input.ApplicationName
|
|
2054
|
-
input.ApplicationName !== null && { ApplicationName: input.ApplicationName })), (input.InputConfigurations !== undefined &&
|
|
2055
|
-
input.InputConfigurations !== null && {
|
|
1977
|
+
return __assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.InputConfigurations != null && {
|
|
2056
1978
|
InputConfigurations: serializeAws_json1_1InputConfigurations(input.InputConfigurations, context),
|
|
2057
1979
|
}));
|
|
2058
1980
|
};
|
|
2059
1981
|
var serializeAws_json1_1StopApplicationRequest = function (input, context) {
|
|
2060
|
-
return __assign({}, (input.ApplicationName
|
|
2061
|
-
input.ApplicationName !== null && { ApplicationName: input.ApplicationName }));
|
|
1982
|
+
return __assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName }));
|
|
2062
1983
|
};
|
|
2063
1984
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
2064
|
-
return __assign(__assign({}, (input.Key
|
|
1985
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
2065
1986
|
};
|
|
2066
1987
|
var serializeAws_json1_1TagKeys = function (input, context) {
|
|
2067
1988
|
return input
|
|
@@ -2074,7 +1995,7 @@ var serializeAws_json1_1TagKeys = function (input, context) {
|
|
|
2074
1995
|
});
|
|
2075
1996
|
};
|
|
2076
1997
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
2077
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
1998
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
2078
1999
|
};
|
|
2079
2000
|
var serializeAws_json1_1Tags = function (input, context) {
|
|
2080
2001
|
return input
|
|
@@ -2087,16 +2008,14 @@ var serializeAws_json1_1Tags = function (input, context) {
|
|
|
2087
2008
|
});
|
|
2088
2009
|
};
|
|
2089
2010
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
2090
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
2091
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeys(input.TagKeys, context) }));
|
|
2011
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeys(input.TagKeys, context) }));
|
|
2092
2012
|
};
|
|
2093
2013
|
var serializeAws_json1_1UpdateApplicationRequest = function (input, context) {
|
|
2094
|
-
return __assign(__assign(__assign({}, (input.ApplicationName
|
|
2095
|
-
input.ApplicationName !== null && { ApplicationName: input.ApplicationName })), (input.ApplicationUpdate !== undefined &&
|
|
2096
|
-
input.ApplicationUpdate !== null && {
|
|
2014
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.ApplicationUpdate != null && {
|
|
2097
2015
|
ApplicationUpdate: serializeAws_json1_1ApplicationUpdate(input.ApplicationUpdate, context),
|
|
2098
|
-
})), (input.CurrentApplicationVersionId
|
|
2099
|
-
|
|
2016
|
+
})), (input.CurrentApplicationVersionId != null && {
|
|
2017
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
2018
|
+
}));
|
|
2100
2019
|
};
|
|
2101
2020
|
var deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionResponse = function (output, context) {
|
|
2102
2021
|
return {};
|
|
@@ -2121,22 +2040,22 @@ var deserializeAws_json1_1ApplicationDetail = function (output, context) {
|
|
|
2121
2040
|
ApplicationName: __expectString(output.ApplicationName),
|
|
2122
2041
|
ApplicationStatus: __expectString(output.ApplicationStatus),
|
|
2123
2042
|
ApplicationVersionId: __expectLong(output.ApplicationVersionId),
|
|
2124
|
-
CloudWatchLoggingOptionDescriptions: output.CloudWatchLoggingOptionDescriptions
|
|
2043
|
+
CloudWatchLoggingOptionDescriptions: output.CloudWatchLoggingOptionDescriptions != null
|
|
2125
2044
|
? deserializeAws_json1_1CloudWatchLoggingOptionDescriptions(output.CloudWatchLoggingOptionDescriptions, context)
|
|
2126
2045
|
: undefined,
|
|
2127
|
-
CreateTimestamp: output.CreateTimestamp
|
|
2046
|
+
CreateTimestamp: output.CreateTimestamp != null
|
|
2128
2047
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTimestamp)))
|
|
2129
2048
|
: undefined,
|
|
2130
|
-
InputDescriptions: output.InputDescriptions
|
|
2049
|
+
InputDescriptions: output.InputDescriptions != null
|
|
2131
2050
|
? deserializeAws_json1_1InputDescriptions(output.InputDescriptions, context)
|
|
2132
2051
|
: undefined,
|
|
2133
|
-
LastUpdateTimestamp: output.LastUpdateTimestamp
|
|
2052
|
+
LastUpdateTimestamp: output.LastUpdateTimestamp != null
|
|
2134
2053
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTimestamp)))
|
|
2135
2054
|
: undefined,
|
|
2136
|
-
OutputDescriptions: output.OutputDescriptions
|
|
2055
|
+
OutputDescriptions: output.OutputDescriptions != null
|
|
2137
2056
|
? deserializeAws_json1_1OutputDescriptions(output.OutputDescriptions, context)
|
|
2138
2057
|
: undefined,
|
|
2139
|
-
ReferenceDataSourceDescriptions: output.ReferenceDataSourceDescriptions
|
|
2058
|
+
ReferenceDataSourceDescriptions: output.ReferenceDataSourceDescriptions != null
|
|
2140
2059
|
? deserializeAws_json1_1ReferenceDataSourceDescriptions(output.ReferenceDataSourceDescriptions, context)
|
|
2141
2060
|
: undefined,
|
|
2142
2061
|
};
|
|
@@ -2189,7 +2108,7 @@ var deserializeAws_json1_1ConcurrentModificationException = function (output, co
|
|
|
2189
2108
|
};
|
|
2190
2109
|
var deserializeAws_json1_1CreateApplicationResponse = function (output, context) {
|
|
2191
2110
|
return {
|
|
2192
|
-
ApplicationSummary: output.ApplicationSummary
|
|
2111
|
+
ApplicationSummary: output.ApplicationSummary != null
|
|
2193
2112
|
? deserializeAws_json1_1ApplicationSummary(output.ApplicationSummary, context)
|
|
2194
2113
|
: undefined,
|
|
2195
2114
|
};
|
|
@@ -2217,7 +2136,7 @@ var deserializeAws_json1_1DeleteApplicationResponse = function (output, context)
|
|
|
2217
2136
|
};
|
|
2218
2137
|
var deserializeAws_json1_1DescribeApplicationResponse = function (output, context) {
|
|
2219
2138
|
return {
|
|
2220
|
-
ApplicationDetail: output.ApplicationDetail
|
|
2139
|
+
ApplicationDetail: output.ApplicationDetail != null
|
|
2221
2140
|
? deserializeAws_json1_1ApplicationDetail(output.ApplicationDetail, context)
|
|
2222
2141
|
: undefined,
|
|
2223
2142
|
};
|
|
@@ -2229,16 +2148,14 @@ var deserializeAws_json1_1DestinationSchema = function (output, context) {
|
|
|
2229
2148
|
};
|
|
2230
2149
|
var deserializeAws_json1_1DiscoverInputSchemaResponse = function (output, context) {
|
|
2231
2150
|
return {
|
|
2232
|
-
InputSchema: output.InputSchema
|
|
2233
|
-
|
|
2234
|
-
: undefined,
|
|
2235
|
-
ParsedInputRecords: output.ParsedInputRecords !== undefined && output.ParsedInputRecords !== null
|
|
2151
|
+
InputSchema: output.InputSchema != null ? deserializeAws_json1_1SourceSchema(output.InputSchema, context) : undefined,
|
|
2152
|
+
ParsedInputRecords: output.ParsedInputRecords != null
|
|
2236
2153
|
? deserializeAws_json1_1ParsedInputRecords(output.ParsedInputRecords, context)
|
|
2237
2154
|
: undefined,
|
|
2238
|
-
ProcessedInputRecords: output.ProcessedInputRecords
|
|
2155
|
+
ProcessedInputRecords: output.ProcessedInputRecords != null
|
|
2239
2156
|
? deserializeAws_json1_1ProcessedInputRecords(output.ProcessedInputRecords, context)
|
|
2240
2157
|
: undefined,
|
|
2241
|
-
RawInputRecords: output.RawInputRecords
|
|
2158
|
+
RawInputRecords: output.RawInputRecords != null
|
|
2242
2159
|
? deserializeAws_json1_1RawInputRecords(output.RawInputRecords, context)
|
|
2243
2160
|
: undefined,
|
|
2244
2161
|
};
|
|
@@ -2256,27 +2173,24 @@ var deserializeAws_json1_1InAppStreamNames = function (output, context) {
|
|
|
2256
2173
|
};
|
|
2257
2174
|
var deserializeAws_json1_1InputDescription = function (output, context) {
|
|
2258
2175
|
return {
|
|
2259
|
-
InAppStreamNames: output.InAppStreamNames
|
|
2176
|
+
InAppStreamNames: output.InAppStreamNames != null
|
|
2260
2177
|
? deserializeAws_json1_1InAppStreamNames(output.InAppStreamNames, context)
|
|
2261
2178
|
: undefined,
|
|
2262
2179
|
InputId: __expectString(output.InputId),
|
|
2263
|
-
InputParallelism: output.InputParallelism
|
|
2180
|
+
InputParallelism: output.InputParallelism != null
|
|
2264
2181
|
? deserializeAws_json1_1InputParallelism(output.InputParallelism, context)
|
|
2265
2182
|
: undefined,
|
|
2266
|
-
InputProcessingConfigurationDescription: output.InputProcessingConfigurationDescription
|
|
2267
|
-
output.InputProcessingConfigurationDescription !== null
|
|
2183
|
+
InputProcessingConfigurationDescription: output.InputProcessingConfigurationDescription != null
|
|
2268
2184
|
? deserializeAws_json1_1InputProcessingConfigurationDescription(output.InputProcessingConfigurationDescription, context)
|
|
2269
2185
|
: undefined,
|
|
2270
|
-
InputSchema: output.InputSchema
|
|
2271
|
-
|
|
2272
|
-
: undefined,
|
|
2273
|
-
InputStartingPositionConfiguration: output.InputStartingPositionConfiguration !== undefined && output.InputStartingPositionConfiguration !== null
|
|
2186
|
+
InputSchema: output.InputSchema != null ? deserializeAws_json1_1SourceSchema(output.InputSchema, context) : undefined,
|
|
2187
|
+
InputStartingPositionConfiguration: output.InputStartingPositionConfiguration != null
|
|
2274
2188
|
? deserializeAws_json1_1InputStartingPositionConfiguration(output.InputStartingPositionConfiguration, context)
|
|
2275
2189
|
: undefined,
|
|
2276
|
-
KinesisFirehoseInputDescription: output.KinesisFirehoseInputDescription
|
|
2190
|
+
KinesisFirehoseInputDescription: output.KinesisFirehoseInputDescription != null
|
|
2277
2191
|
? deserializeAws_json1_1KinesisFirehoseInputDescription(output.KinesisFirehoseInputDescription, context)
|
|
2278
2192
|
: undefined,
|
|
2279
|
-
KinesisStreamsInputDescription: output.KinesisStreamsInputDescription
|
|
2193
|
+
KinesisStreamsInputDescription: output.KinesisStreamsInputDescription != null
|
|
2280
2194
|
? deserializeAws_json1_1KinesisStreamsInputDescription(output.KinesisStreamsInputDescription, context)
|
|
2281
2195
|
: undefined,
|
|
2282
2196
|
NamePrefix: __expectString(output.NamePrefix),
|
|
@@ -2306,7 +2220,7 @@ var deserializeAws_json1_1InputParallelism = function (output, context) {
|
|
|
2306
2220
|
};
|
|
2307
2221
|
var deserializeAws_json1_1InputProcessingConfigurationDescription = function (output, context) {
|
|
2308
2222
|
return {
|
|
2309
|
-
InputLambdaProcessorDescription: output.InputLambdaProcessorDescription
|
|
2223
|
+
InputLambdaProcessorDescription: output.InputLambdaProcessorDescription != null
|
|
2310
2224
|
? deserializeAws_json1_1InputLambdaProcessorDescription(output.InputLambdaProcessorDescription, context)
|
|
2311
2225
|
: undefined,
|
|
2312
2226
|
};
|
|
@@ -2368,7 +2282,7 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
2368
2282
|
};
|
|
2369
2283
|
var deserializeAws_json1_1ListApplicationsResponse = function (output, context) {
|
|
2370
2284
|
return {
|
|
2371
|
-
ApplicationSummaries: output.ApplicationSummaries
|
|
2285
|
+
ApplicationSummaries: output.ApplicationSummaries != null
|
|
2372
2286
|
? deserializeAws_json1_1ApplicationSummaries(output.ApplicationSummaries, context)
|
|
2373
2287
|
: undefined,
|
|
2374
2288
|
HasMoreApplications: __expectBoolean(output.HasMoreApplications),
|
|
@@ -2376,31 +2290,31 @@ var deserializeAws_json1_1ListApplicationsResponse = function (output, context)
|
|
|
2376
2290
|
};
|
|
2377
2291
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
2378
2292
|
return {
|
|
2379
|
-
Tags: output.Tags
|
|
2293
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
2380
2294
|
};
|
|
2381
2295
|
};
|
|
2382
2296
|
var deserializeAws_json1_1MappingParameters = function (output, context) {
|
|
2383
2297
|
return {
|
|
2384
|
-
CSVMappingParameters: output.CSVMappingParameters
|
|
2298
|
+
CSVMappingParameters: output.CSVMappingParameters != null
|
|
2385
2299
|
? deserializeAws_json1_1CSVMappingParameters(output.CSVMappingParameters, context)
|
|
2386
2300
|
: undefined,
|
|
2387
|
-
JSONMappingParameters: output.JSONMappingParameters
|
|
2301
|
+
JSONMappingParameters: output.JSONMappingParameters != null
|
|
2388
2302
|
? deserializeAws_json1_1JSONMappingParameters(output.JSONMappingParameters, context)
|
|
2389
2303
|
: undefined,
|
|
2390
2304
|
};
|
|
2391
2305
|
};
|
|
2392
2306
|
var deserializeAws_json1_1OutputDescription = function (output, context) {
|
|
2393
2307
|
return {
|
|
2394
|
-
DestinationSchema: output.DestinationSchema
|
|
2308
|
+
DestinationSchema: output.DestinationSchema != null
|
|
2395
2309
|
? deserializeAws_json1_1DestinationSchema(output.DestinationSchema, context)
|
|
2396
2310
|
: undefined,
|
|
2397
|
-
KinesisFirehoseOutputDescription: output.KinesisFirehoseOutputDescription
|
|
2311
|
+
KinesisFirehoseOutputDescription: output.KinesisFirehoseOutputDescription != null
|
|
2398
2312
|
? deserializeAws_json1_1KinesisFirehoseOutputDescription(output.KinesisFirehoseOutputDescription, context)
|
|
2399
2313
|
: undefined,
|
|
2400
|
-
KinesisStreamsOutputDescription: output.KinesisStreamsOutputDescription
|
|
2314
|
+
KinesisStreamsOutputDescription: output.KinesisStreamsOutputDescription != null
|
|
2401
2315
|
? deserializeAws_json1_1KinesisStreamsOutputDescription(output.KinesisStreamsOutputDescription, context)
|
|
2402
2316
|
: undefined,
|
|
2403
|
-
LambdaOutputDescription: output.LambdaOutputDescription
|
|
2317
|
+
LambdaOutputDescription: output.LambdaOutputDescription != null
|
|
2404
2318
|
? deserializeAws_json1_1LambdaOutputDescription(output.LambdaOutputDescription, context)
|
|
2405
2319
|
: undefined,
|
|
2406
2320
|
Name: __expectString(output.Name),
|
|
@@ -2482,7 +2396,7 @@ var deserializeAws_json1_1RecordColumns = function (output, context) {
|
|
|
2482
2396
|
};
|
|
2483
2397
|
var deserializeAws_json1_1RecordFormat = function (output, context) {
|
|
2484
2398
|
return {
|
|
2485
|
-
MappingParameters: output.MappingParameters
|
|
2399
|
+
MappingParameters: output.MappingParameters != null
|
|
2486
2400
|
? deserializeAws_json1_1MappingParameters(output.MappingParameters, context)
|
|
2487
2401
|
: undefined,
|
|
2488
2402
|
RecordFormatType: __expectString(output.RecordFormatType),
|
|
@@ -2491,10 +2405,8 @@ var deserializeAws_json1_1RecordFormat = function (output, context) {
|
|
|
2491
2405
|
var deserializeAws_json1_1ReferenceDataSourceDescription = function (output, context) {
|
|
2492
2406
|
return {
|
|
2493
2407
|
ReferenceId: __expectString(output.ReferenceId),
|
|
2494
|
-
ReferenceSchema: output.ReferenceSchema
|
|
2495
|
-
|
|
2496
|
-
: undefined,
|
|
2497
|
-
S3ReferenceDataSourceDescription: output.S3ReferenceDataSourceDescription !== undefined && output.S3ReferenceDataSourceDescription !== null
|
|
2408
|
+
ReferenceSchema: output.ReferenceSchema != null ? deserializeAws_json1_1SourceSchema(output.ReferenceSchema, context) : undefined,
|
|
2409
|
+
S3ReferenceDataSourceDescription: output.S3ReferenceDataSourceDescription != null
|
|
2498
2410
|
? deserializeAws_json1_1S3ReferenceDataSourceDescription(output.S3ReferenceDataSourceDescription, context)
|
|
2499
2411
|
: undefined,
|
|
2500
2412
|
TableName: __expectString(output.TableName),
|
|
@@ -2540,13 +2452,9 @@ var deserializeAws_json1_1ServiceUnavailableException = function (output, contex
|
|
|
2540
2452
|
};
|
|
2541
2453
|
var deserializeAws_json1_1SourceSchema = function (output, context) {
|
|
2542
2454
|
return {
|
|
2543
|
-
RecordColumns: output.RecordColumns
|
|
2544
|
-
? deserializeAws_json1_1RecordColumns(output.RecordColumns, context)
|
|
2545
|
-
: undefined,
|
|
2455
|
+
RecordColumns: output.RecordColumns != null ? deserializeAws_json1_1RecordColumns(output.RecordColumns, context) : undefined,
|
|
2546
2456
|
RecordEncoding: __expectString(output.RecordEncoding),
|
|
2547
|
-
RecordFormat: output.RecordFormat
|
|
2548
|
-
? deserializeAws_json1_1RecordFormat(output.RecordFormat, context)
|
|
2549
|
-
: undefined,
|
|
2457
|
+
RecordFormat: output.RecordFormat != null ? deserializeAws_json1_1RecordFormat(output.RecordFormat, context) : undefined,
|
|
2550
2458
|
};
|
|
2551
2459
|
};
|
|
2552
2460
|
var deserializeAws_json1_1StartApplicationResponse = function (output, context) {
|
|
@@ -2582,10 +2490,10 @@ var deserializeAws_json1_1TooManyTagsException = function (output, context) {
|
|
|
2582
2490
|
};
|
|
2583
2491
|
var deserializeAws_json1_1UnableToDetectSchemaException = function (output, context) {
|
|
2584
2492
|
return {
|
|
2585
|
-
ProcessedInputRecords: output.ProcessedInputRecords
|
|
2493
|
+
ProcessedInputRecords: output.ProcessedInputRecords != null
|
|
2586
2494
|
? deserializeAws_json1_1ProcessedInputRecords(output.ProcessedInputRecords, context)
|
|
2587
2495
|
: undefined,
|
|
2588
|
-
RawInputRecords: output.RawInputRecords
|
|
2496
|
+
RawInputRecords: output.RawInputRecords != null
|
|
2589
2497
|
? deserializeAws_json1_1RawInputRecords(output.RawInputRecords, context)
|
|
2590
2498
|
: undefined,
|
|
2591
2499
|
message: __expectString(output.message),
|