@aws-sdk/client-apprunner 3.121.0 → 3.127.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist-cjs/protocols/Aws_json1_0.js +188 -303
- package/dist-es/protocols/Aws_json1_0.js +140 -255
- package/package.json +26 -26
|
@@ -1652,324 +1652,291 @@ const deserializeAws_json1_0ServiceQuotaExceededExceptionResponse = async (parse
|
|
|
1652
1652
|
};
|
|
1653
1653
|
const serializeAws_json1_0AssociateCustomDomainRequest = (input, context) => {
|
|
1654
1654
|
return {
|
|
1655
|
-
...(input.DomainName
|
|
1656
|
-
...(input.EnableWWWSubdomain
|
|
1657
|
-
|
|
1658
|
-
...(input.ServiceArn !== undefined && input.ServiceArn !== null && { ServiceArn: input.ServiceArn }),
|
|
1655
|
+
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
1656
|
+
...(input.EnableWWWSubdomain != null && { EnableWWWSubdomain: input.EnableWWWSubdomain }),
|
|
1657
|
+
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1659
1658
|
};
|
|
1660
1659
|
};
|
|
1661
1660
|
const serializeAws_json1_0AuthenticationConfiguration = (input, context) => {
|
|
1662
1661
|
return {
|
|
1663
|
-
...(input.AccessRoleArn
|
|
1664
|
-
...(input.ConnectionArn
|
|
1662
|
+
...(input.AccessRoleArn != null && { AccessRoleArn: input.AccessRoleArn }),
|
|
1663
|
+
...(input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn }),
|
|
1665
1664
|
};
|
|
1666
1665
|
};
|
|
1667
1666
|
const serializeAws_json1_0CodeConfiguration = (input, context) => {
|
|
1668
1667
|
return {
|
|
1669
|
-
...(input.CodeConfigurationValues
|
|
1670
|
-
input.CodeConfigurationValues !== null && {
|
|
1668
|
+
...(input.CodeConfigurationValues != null && {
|
|
1671
1669
|
CodeConfigurationValues: serializeAws_json1_0CodeConfigurationValues(input.CodeConfigurationValues, context),
|
|
1672
1670
|
}),
|
|
1673
|
-
...(input.ConfigurationSource
|
|
1674
|
-
input.ConfigurationSource !== null && { ConfigurationSource: input.ConfigurationSource }),
|
|
1671
|
+
...(input.ConfigurationSource != null && { ConfigurationSource: input.ConfigurationSource }),
|
|
1675
1672
|
};
|
|
1676
1673
|
};
|
|
1677
1674
|
const serializeAws_json1_0CodeConfigurationValues = (input, context) => {
|
|
1678
1675
|
return {
|
|
1679
|
-
...(input.BuildCommand
|
|
1680
|
-
...(input.Port
|
|
1681
|
-
...(input.Runtime
|
|
1682
|
-
...(input.RuntimeEnvironmentVariables
|
|
1683
|
-
input.RuntimeEnvironmentVariables !== null && {
|
|
1676
|
+
...(input.BuildCommand != null && { BuildCommand: input.BuildCommand }),
|
|
1677
|
+
...(input.Port != null && { Port: input.Port }),
|
|
1678
|
+
...(input.Runtime != null && { Runtime: input.Runtime }),
|
|
1679
|
+
...(input.RuntimeEnvironmentVariables != null && {
|
|
1684
1680
|
RuntimeEnvironmentVariables: serializeAws_json1_0RuntimeEnvironmentVariables(input.RuntimeEnvironmentVariables, context),
|
|
1685
1681
|
}),
|
|
1686
|
-
...(input.StartCommand
|
|
1682
|
+
...(input.StartCommand != null && { StartCommand: input.StartCommand }),
|
|
1687
1683
|
};
|
|
1688
1684
|
};
|
|
1689
1685
|
const serializeAws_json1_0CodeRepository = (input, context) => {
|
|
1690
1686
|
return {
|
|
1691
|
-
...(input.CodeConfiguration
|
|
1692
|
-
input.CodeConfiguration !== null && {
|
|
1687
|
+
...(input.CodeConfiguration != null && {
|
|
1693
1688
|
CodeConfiguration: serializeAws_json1_0CodeConfiguration(input.CodeConfiguration, context),
|
|
1694
1689
|
}),
|
|
1695
|
-
...(input.RepositoryUrl
|
|
1696
|
-
...(input.SourceCodeVersion
|
|
1697
|
-
input.SourceCodeVersion !== null && {
|
|
1690
|
+
...(input.RepositoryUrl != null && { RepositoryUrl: input.RepositoryUrl }),
|
|
1691
|
+
...(input.SourceCodeVersion != null && {
|
|
1698
1692
|
SourceCodeVersion: serializeAws_json1_0SourceCodeVersion(input.SourceCodeVersion, context),
|
|
1699
1693
|
}),
|
|
1700
1694
|
};
|
|
1701
1695
|
};
|
|
1702
1696
|
const serializeAws_json1_0CreateAutoScalingConfigurationRequest = (input, context) => {
|
|
1703
1697
|
return {
|
|
1704
|
-
...(input.AutoScalingConfigurationName
|
|
1705
|
-
input.AutoScalingConfigurationName !== null && {
|
|
1698
|
+
...(input.AutoScalingConfigurationName != null && {
|
|
1706
1699
|
AutoScalingConfigurationName: input.AutoScalingConfigurationName,
|
|
1707
1700
|
}),
|
|
1708
|
-
...(input.MaxConcurrency
|
|
1709
|
-
|
|
1710
|
-
...(input.
|
|
1711
|
-
...(input.
|
|
1712
|
-
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
|
|
1701
|
+
...(input.MaxConcurrency != null && { MaxConcurrency: input.MaxConcurrency }),
|
|
1702
|
+
...(input.MaxSize != null && { MaxSize: input.MaxSize }),
|
|
1703
|
+
...(input.MinSize != null && { MinSize: input.MinSize }),
|
|
1704
|
+
...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
|
|
1713
1705
|
};
|
|
1714
1706
|
};
|
|
1715
1707
|
const serializeAws_json1_0CreateConnectionRequest = (input, context) => {
|
|
1716
1708
|
return {
|
|
1717
|
-
...(input.ConnectionName
|
|
1718
|
-
|
|
1719
|
-
...(input.
|
|
1720
|
-
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
|
|
1709
|
+
...(input.ConnectionName != null && { ConnectionName: input.ConnectionName }),
|
|
1710
|
+
...(input.ProviderType != null && { ProviderType: input.ProviderType }),
|
|
1711
|
+
...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
|
|
1721
1712
|
};
|
|
1722
1713
|
};
|
|
1723
1714
|
const serializeAws_json1_0CreateObservabilityConfigurationRequest = (input, context) => {
|
|
1724
1715
|
return {
|
|
1725
|
-
...(input.ObservabilityConfigurationName
|
|
1726
|
-
input.ObservabilityConfigurationName !== null && {
|
|
1716
|
+
...(input.ObservabilityConfigurationName != null && {
|
|
1727
1717
|
ObservabilityConfigurationName: input.ObservabilityConfigurationName,
|
|
1728
1718
|
}),
|
|
1729
|
-
...(input.Tags
|
|
1730
|
-
...(input.TraceConfiguration
|
|
1731
|
-
input.TraceConfiguration !== null && {
|
|
1719
|
+
...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
|
|
1720
|
+
...(input.TraceConfiguration != null && {
|
|
1732
1721
|
TraceConfiguration: serializeAws_json1_0TraceConfiguration(input.TraceConfiguration, context),
|
|
1733
1722
|
}),
|
|
1734
1723
|
};
|
|
1735
1724
|
};
|
|
1736
1725
|
const serializeAws_json1_0CreateServiceRequest = (input, context) => {
|
|
1737
1726
|
return {
|
|
1738
|
-
...(input.AutoScalingConfigurationArn
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1727
|
+
...(input.AutoScalingConfigurationArn != null && {
|
|
1728
|
+
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
1729
|
+
}),
|
|
1730
|
+
...(input.EncryptionConfiguration != null && {
|
|
1742
1731
|
EncryptionConfiguration: serializeAws_json1_0EncryptionConfiguration(input.EncryptionConfiguration, context),
|
|
1743
1732
|
}),
|
|
1744
|
-
...(input.HealthCheckConfiguration
|
|
1745
|
-
input.HealthCheckConfiguration !== null && {
|
|
1733
|
+
...(input.HealthCheckConfiguration != null && {
|
|
1746
1734
|
HealthCheckConfiguration: serializeAws_json1_0HealthCheckConfiguration(input.HealthCheckConfiguration, context),
|
|
1747
1735
|
}),
|
|
1748
|
-
...(input.InstanceConfiguration
|
|
1749
|
-
input.InstanceConfiguration !== null && {
|
|
1736
|
+
...(input.InstanceConfiguration != null && {
|
|
1750
1737
|
InstanceConfiguration: serializeAws_json1_0InstanceConfiguration(input.InstanceConfiguration, context),
|
|
1751
1738
|
}),
|
|
1752
|
-
...(input.NetworkConfiguration
|
|
1753
|
-
input.NetworkConfiguration !== null && {
|
|
1739
|
+
...(input.NetworkConfiguration != null && {
|
|
1754
1740
|
NetworkConfiguration: serializeAws_json1_0NetworkConfiguration(input.NetworkConfiguration, context),
|
|
1755
1741
|
}),
|
|
1756
|
-
...(input.ObservabilityConfiguration
|
|
1757
|
-
input.ObservabilityConfiguration !== null && {
|
|
1742
|
+
...(input.ObservabilityConfiguration != null && {
|
|
1758
1743
|
ObservabilityConfiguration: serializeAws_json1_0ServiceObservabilityConfiguration(input.ObservabilityConfiguration, context),
|
|
1759
1744
|
}),
|
|
1760
|
-
...(input.ServiceName
|
|
1761
|
-
...(input.SourceConfiguration
|
|
1762
|
-
input.SourceConfiguration !== null && {
|
|
1745
|
+
...(input.ServiceName != null && { ServiceName: input.ServiceName }),
|
|
1746
|
+
...(input.SourceConfiguration != null && {
|
|
1763
1747
|
SourceConfiguration: serializeAws_json1_0SourceConfiguration(input.SourceConfiguration, context),
|
|
1764
1748
|
}),
|
|
1765
|
-
...(input.Tags
|
|
1749
|
+
...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
|
|
1766
1750
|
};
|
|
1767
1751
|
};
|
|
1768
1752
|
const serializeAws_json1_0CreateVpcConnectorRequest = (input, context) => {
|
|
1769
1753
|
return {
|
|
1770
|
-
...(input.SecurityGroups
|
|
1771
|
-
input.SecurityGroups !== null && {
|
|
1754
|
+
...(input.SecurityGroups != null && {
|
|
1772
1755
|
SecurityGroups: serializeAws_json1_0StringList(input.SecurityGroups, context),
|
|
1773
1756
|
}),
|
|
1774
|
-
...(input.Subnets
|
|
1775
|
-
|
|
1776
|
-
...(input.
|
|
1777
|
-
...(input.VpcConnectorName !== undefined &&
|
|
1778
|
-
input.VpcConnectorName !== null && { VpcConnectorName: input.VpcConnectorName }),
|
|
1757
|
+
...(input.Subnets != null && { Subnets: serializeAws_json1_0StringList(input.Subnets, context) }),
|
|
1758
|
+
...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
|
|
1759
|
+
...(input.VpcConnectorName != null && { VpcConnectorName: input.VpcConnectorName }),
|
|
1779
1760
|
};
|
|
1780
1761
|
};
|
|
1781
1762
|
const serializeAws_json1_0DeleteAutoScalingConfigurationRequest = (input, context) => {
|
|
1782
1763
|
return {
|
|
1783
|
-
...(input.AutoScalingConfigurationArn
|
|
1784
|
-
|
|
1764
|
+
...(input.AutoScalingConfigurationArn != null && {
|
|
1765
|
+
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
1766
|
+
}),
|
|
1785
1767
|
};
|
|
1786
1768
|
};
|
|
1787
1769
|
const serializeAws_json1_0DeleteConnectionRequest = (input, context) => {
|
|
1788
1770
|
return {
|
|
1789
|
-
...(input.ConnectionArn
|
|
1771
|
+
...(input.ConnectionArn != null && { ConnectionArn: input.ConnectionArn }),
|
|
1790
1772
|
};
|
|
1791
1773
|
};
|
|
1792
1774
|
const serializeAws_json1_0DeleteObservabilityConfigurationRequest = (input, context) => {
|
|
1793
1775
|
return {
|
|
1794
|
-
...(input.ObservabilityConfigurationArn
|
|
1795
|
-
input.ObservabilityConfigurationArn !== null && {
|
|
1776
|
+
...(input.ObservabilityConfigurationArn != null && {
|
|
1796
1777
|
ObservabilityConfigurationArn: input.ObservabilityConfigurationArn,
|
|
1797
1778
|
}),
|
|
1798
1779
|
};
|
|
1799
1780
|
};
|
|
1800
1781
|
const serializeAws_json1_0DeleteServiceRequest = (input, context) => {
|
|
1801
1782
|
return {
|
|
1802
|
-
...(input.ServiceArn
|
|
1783
|
+
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1803
1784
|
};
|
|
1804
1785
|
};
|
|
1805
1786
|
const serializeAws_json1_0DeleteVpcConnectorRequest = (input, context) => {
|
|
1806
1787
|
return {
|
|
1807
|
-
...(input.VpcConnectorArn
|
|
1808
|
-
input.VpcConnectorArn !== null && { VpcConnectorArn: input.VpcConnectorArn }),
|
|
1788
|
+
...(input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }),
|
|
1809
1789
|
};
|
|
1810
1790
|
};
|
|
1811
1791
|
const serializeAws_json1_0DescribeAutoScalingConfigurationRequest = (input, context) => {
|
|
1812
1792
|
return {
|
|
1813
|
-
...(input.AutoScalingConfigurationArn
|
|
1814
|
-
|
|
1793
|
+
...(input.AutoScalingConfigurationArn != null && {
|
|
1794
|
+
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
1795
|
+
}),
|
|
1815
1796
|
};
|
|
1816
1797
|
};
|
|
1817
1798
|
const serializeAws_json1_0DescribeCustomDomainsRequest = (input, context) => {
|
|
1818
1799
|
return {
|
|
1819
|
-
...(input.MaxResults
|
|
1820
|
-
...(input.NextToken
|
|
1821
|
-
...(input.ServiceArn
|
|
1800
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1801
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1802
|
+
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1822
1803
|
};
|
|
1823
1804
|
};
|
|
1824
1805
|
const serializeAws_json1_0DescribeObservabilityConfigurationRequest = (input, context) => {
|
|
1825
1806
|
return {
|
|
1826
|
-
...(input.ObservabilityConfigurationArn
|
|
1827
|
-
input.ObservabilityConfigurationArn !== null && {
|
|
1807
|
+
...(input.ObservabilityConfigurationArn != null && {
|
|
1828
1808
|
ObservabilityConfigurationArn: input.ObservabilityConfigurationArn,
|
|
1829
1809
|
}),
|
|
1830
1810
|
};
|
|
1831
1811
|
};
|
|
1832
1812
|
const serializeAws_json1_0DescribeServiceRequest = (input, context) => {
|
|
1833
1813
|
return {
|
|
1834
|
-
...(input.ServiceArn
|
|
1814
|
+
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1835
1815
|
};
|
|
1836
1816
|
};
|
|
1837
1817
|
const serializeAws_json1_0DescribeVpcConnectorRequest = (input, context) => {
|
|
1838
1818
|
return {
|
|
1839
|
-
...(input.VpcConnectorArn
|
|
1840
|
-
input.VpcConnectorArn !== null && { VpcConnectorArn: input.VpcConnectorArn }),
|
|
1819
|
+
...(input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }),
|
|
1841
1820
|
};
|
|
1842
1821
|
};
|
|
1843
1822
|
const serializeAws_json1_0DisassociateCustomDomainRequest = (input, context) => {
|
|
1844
1823
|
return {
|
|
1845
|
-
...(input.DomainName
|
|
1846
|
-
...(input.ServiceArn
|
|
1824
|
+
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
1825
|
+
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1847
1826
|
};
|
|
1848
1827
|
};
|
|
1849
1828
|
const serializeAws_json1_0EgressConfiguration = (input, context) => {
|
|
1850
1829
|
return {
|
|
1851
|
-
...(input.EgressType
|
|
1852
|
-
...(input.VpcConnectorArn
|
|
1853
|
-
input.VpcConnectorArn !== null && { VpcConnectorArn: input.VpcConnectorArn }),
|
|
1830
|
+
...(input.EgressType != null && { EgressType: input.EgressType }),
|
|
1831
|
+
...(input.VpcConnectorArn != null && { VpcConnectorArn: input.VpcConnectorArn }),
|
|
1854
1832
|
};
|
|
1855
1833
|
};
|
|
1856
1834
|
const serializeAws_json1_0EncryptionConfiguration = (input, context) => {
|
|
1857
1835
|
return {
|
|
1858
|
-
...(input.KmsKey
|
|
1836
|
+
...(input.KmsKey != null && { KmsKey: input.KmsKey }),
|
|
1859
1837
|
};
|
|
1860
1838
|
};
|
|
1861
1839
|
const serializeAws_json1_0HealthCheckConfiguration = (input, context) => {
|
|
1862
1840
|
return {
|
|
1863
|
-
...(input.HealthyThreshold
|
|
1864
|
-
|
|
1865
|
-
...(input.
|
|
1866
|
-
...(input.
|
|
1867
|
-
...(input.
|
|
1868
|
-
...(input.
|
|
1869
|
-
...(input.UnhealthyThreshold !== undefined &&
|
|
1870
|
-
input.UnhealthyThreshold !== null && { UnhealthyThreshold: input.UnhealthyThreshold }),
|
|
1841
|
+
...(input.HealthyThreshold != null && { HealthyThreshold: input.HealthyThreshold }),
|
|
1842
|
+
...(input.Interval != null && { Interval: input.Interval }),
|
|
1843
|
+
...(input.Path != null && { Path: input.Path }),
|
|
1844
|
+
...(input.Protocol != null && { Protocol: input.Protocol }),
|
|
1845
|
+
...(input.Timeout != null && { Timeout: input.Timeout }),
|
|
1846
|
+
...(input.UnhealthyThreshold != null && { UnhealthyThreshold: input.UnhealthyThreshold }),
|
|
1871
1847
|
};
|
|
1872
1848
|
};
|
|
1873
1849
|
const serializeAws_json1_0ImageConfiguration = (input, context) => {
|
|
1874
1850
|
return {
|
|
1875
|
-
...(input.Port
|
|
1876
|
-
...(input.RuntimeEnvironmentVariables
|
|
1877
|
-
input.RuntimeEnvironmentVariables !== null && {
|
|
1851
|
+
...(input.Port != null && { Port: input.Port }),
|
|
1852
|
+
...(input.RuntimeEnvironmentVariables != null && {
|
|
1878
1853
|
RuntimeEnvironmentVariables: serializeAws_json1_0RuntimeEnvironmentVariables(input.RuntimeEnvironmentVariables, context),
|
|
1879
1854
|
}),
|
|
1880
|
-
...(input.StartCommand
|
|
1855
|
+
...(input.StartCommand != null && { StartCommand: input.StartCommand }),
|
|
1881
1856
|
};
|
|
1882
1857
|
};
|
|
1883
1858
|
const serializeAws_json1_0ImageRepository = (input, context) => {
|
|
1884
1859
|
return {
|
|
1885
|
-
...(input.ImageConfiguration
|
|
1886
|
-
input.ImageConfiguration !== null && {
|
|
1860
|
+
...(input.ImageConfiguration != null && {
|
|
1887
1861
|
ImageConfiguration: serializeAws_json1_0ImageConfiguration(input.ImageConfiguration, context),
|
|
1888
1862
|
}),
|
|
1889
|
-
...(input.ImageIdentifier
|
|
1890
|
-
|
|
1891
|
-
...(input.ImageRepositoryType !== undefined &&
|
|
1892
|
-
input.ImageRepositoryType !== null && { ImageRepositoryType: input.ImageRepositoryType }),
|
|
1863
|
+
...(input.ImageIdentifier != null && { ImageIdentifier: input.ImageIdentifier }),
|
|
1864
|
+
...(input.ImageRepositoryType != null && { ImageRepositoryType: input.ImageRepositoryType }),
|
|
1893
1865
|
};
|
|
1894
1866
|
};
|
|
1895
1867
|
const serializeAws_json1_0InstanceConfiguration = (input, context) => {
|
|
1896
1868
|
return {
|
|
1897
|
-
...(input.Cpu
|
|
1898
|
-
...(input.InstanceRoleArn
|
|
1899
|
-
|
|
1900
|
-
...(input.Memory !== undefined && input.Memory !== null && { Memory: input.Memory }),
|
|
1869
|
+
...(input.Cpu != null && { Cpu: input.Cpu }),
|
|
1870
|
+
...(input.InstanceRoleArn != null && { InstanceRoleArn: input.InstanceRoleArn }),
|
|
1871
|
+
...(input.Memory != null && { Memory: input.Memory }),
|
|
1901
1872
|
};
|
|
1902
1873
|
};
|
|
1903
1874
|
const serializeAws_json1_0ListAutoScalingConfigurationsRequest = (input, context) => {
|
|
1904
1875
|
return {
|
|
1905
|
-
...(input.AutoScalingConfigurationName
|
|
1906
|
-
input.AutoScalingConfigurationName !== null && {
|
|
1876
|
+
...(input.AutoScalingConfigurationName != null && {
|
|
1907
1877
|
AutoScalingConfigurationName: input.AutoScalingConfigurationName,
|
|
1908
1878
|
}),
|
|
1909
|
-
...(input.LatestOnly
|
|
1910
|
-
...(input.MaxResults
|
|
1911
|
-
...(input.NextToken
|
|
1879
|
+
...(input.LatestOnly != null && { LatestOnly: input.LatestOnly }),
|
|
1880
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1881
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1912
1882
|
};
|
|
1913
1883
|
};
|
|
1914
1884
|
const serializeAws_json1_0ListConnectionsRequest = (input, context) => {
|
|
1915
1885
|
return {
|
|
1916
|
-
...(input.ConnectionName
|
|
1917
|
-
|
|
1918
|
-
...(input.
|
|
1919
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
1886
|
+
...(input.ConnectionName != null && { ConnectionName: input.ConnectionName }),
|
|
1887
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1888
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1920
1889
|
};
|
|
1921
1890
|
};
|
|
1922
1891
|
const serializeAws_json1_0ListObservabilityConfigurationsRequest = (input, context) => {
|
|
1923
1892
|
return {
|
|
1924
|
-
...(input.LatestOnly
|
|
1925
|
-
...(input.MaxResults
|
|
1926
|
-
...(input.NextToken
|
|
1927
|
-
...(input.ObservabilityConfigurationName
|
|
1928
|
-
input.ObservabilityConfigurationName !== null && {
|
|
1893
|
+
...(input.LatestOnly != null && { LatestOnly: input.LatestOnly }),
|
|
1894
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1895
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1896
|
+
...(input.ObservabilityConfigurationName != null && {
|
|
1929
1897
|
ObservabilityConfigurationName: input.ObservabilityConfigurationName,
|
|
1930
1898
|
}),
|
|
1931
1899
|
};
|
|
1932
1900
|
};
|
|
1933
1901
|
const serializeAws_json1_0ListOperationsRequest = (input, context) => {
|
|
1934
1902
|
return {
|
|
1935
|
-
...(input.MaxResults
|
|
1936
|
-
...(input.NextToken
|
|
1937
|
-
...(input.ServiceArn
|
|
1903
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1904
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1905
|
+
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1938
1906
|
};
|
|
1939
1907
|
};
|
|
1940
1908
|
const serializeAws_json1_0ListServicesRequest = (input, context) => {
|
|
1941
1909
|
return {
|
|
1942
|
-
...(input.MaxResults
|
|
1943
|
-
...(input.NextToken
|
|
1910
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1911
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1944
1912
|
};
|
|
1945
1913
|
};
|
|
1946
1914
|
const serializeAws_json1_0ListTagsForResourceRequest = (input, context) => {
|
|
1947
1915
|
return {
|
|
1948
|
-
...(input.ResourceArn
|
|
1916
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
1949
1917
|
};
|
|
1950
1918
|
};
|
|
1951
1919
|
const serializeAws_json1_0ListVpcConnectorsRequest = (input, context) => {
|
|
1952
1920
|
return {
|
|
1953
|
-
...(input.MaxResults
|
|
1954
|
-
...(input.NextToken
|
|
1921
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1922
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1955
1923
|
};
|
|
1956
1924
|
};
|
|
1957
1925
|
const serializeAws_json1_0NetworkConfiguration = (input, context) => {
|
|
1958
1926
|
return {
|
|
1959
|
-
...(input.EgressConfiguration
|
|
1960
|
-
input.EgressConfiguration !== null && {
|
|
1927
|
+
...(input.EgressConfiguration != null && {
|
|
1961
1928
|
EgressConfiguration: serializeAws_json1_0EgressConfiguration(input.EgressConfiguration, context),
|
|
1962
1929
|
}),
|
|
1963
1930
|
};
|
|
1964
1931
|
};
|
|
1965
1932
|
const serializeAws_json1_0PauseServiceRequest = (input, context) => {
|
|
1966
1933
|
return {
|
|
1967
|
-
...(input.ServiceArn
|
|
1934
|
+
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1968
1935
|
};
|
|
1969
1936
|
};
|
|
1970
1937
|
const serializeAws_json1_0ResumeServiceRequest = (input, context) => {
|
|
1971
1938
|
return {
|
|
1972
|
-
...(input.ServiceArn
|
|
1939
|
+
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
1973
1940
|
};
|
|
1974
1941
|
};
|
|
1975
1942
|
const serializeAws_json1_0RuntimeEnvironmentVariables = (input, context) => {
|
|
@@ -1985,41 +1952,35 @@ const serializeAws_json1_0RuntimeEnvironmentVariables = (input, context) => {
|
|
|
1985
1952
|
};
|
|
1986
1953
|
const serializeAws_json1_0ServiceObservabilityConfiguration = (input, context) => {
|
|
1987
1954
|
return {
|
|
1988
|
-
...(input.ObservabilityConfigurationArn
|
|
1989
|
-
input.ObservabilityConfigurationArn !== null && {
|
|
1955
|
+
...(input.ObservabilityConfigurationArn != null && {
|
|
1990
1956
|
ObservabilityConfigurationArn: input.ObservabilityConfigurationArn,
|
|
1991
1957
|
}),
|
|
1992
|
-
...(input.ObservabilityEnabled
|
|
1993
|
-
input.ObservabilityEnabled !== null && { ObservabilityEnabled: input.ObservabilityEnabled }),
|
|
1958
|
+
...(input.ObservabilityEnabled != null && { ObservabilityEnabled: input.ObservabilityEnabled }),
|
|
1994
1959
|
};
|
|
1995
1960
|
};
|
|
1996
1961
|
const serializeAws_json1_0SourceCodeVersion = (input, context) => {
|
|
1997
1962
|
return {
|
|
1998
|
-
...(input.Type
|
|
1999
|
-
...(input.Value
|
|
1963
|
+
...(input.Type != null && { Type: input.Type }),
|
|
1964
|
+
...(input.Value != null && { Value: input.Value }),
|
|
2000
1965
|
};
|
|
2001
1966
|
};
|
|
2002
1967
|
const serializeAws_json1_0SourceConfiguration = (input, context) => {
|
|
2003
1968
|
return {
|
|
2004
|
-
...(input.AuthenticationConfiguration
|
|
2005
|
-
input.AuthenticationConfiguration !== null && {
|
|
1969
|
+
...(input.AuthenticationConfiguration != null && {
|
|
2006
1970
|
AuthenticationConfiguration: serializeAws_json1_0AuthenticationConfiguration(input.AuthenticationConfiguration, context),
|
|
2007
1971
|
}),
|
|
2008
|
-
...(input.AutoDeploymentsEnabled
|
|
2009
|
-
|
|
2010
|
-
...(input.CodeRepository !== undefined &&
|
|
2011
|
-
input.CodeRepository !== null && {
|
|
1972
|
+
...(input.AutoDeploymentsEnabled != null && { AutoDeploymentsEnabled: input.AutoDeploymentsEnabled }),
|
|
1973
|
+
...(input.CodeRepository != null && {
|
|
2012
1974
|
CodeRepository: serializeAws_json1_0CodeRepository(input.CodeRepository, context),
|
|
2013
1975
|
}),
|
|
2014
|
-
...(input.ImageRepository
|
|
2015
|
-
input.ImageRepository !== null && {
|
|
1976
|
+
...(input.ImageRepository != null && {
|
|
2016
1977
|
ImageRepository: serializeAws_json1_0ImageRepository(input.ImageRepository, context),
|
|
2017
1978
|
}),
|
|
2018
1979
|
};
|
|
2019
1980
|
};
|
|
2020
1981
|
const serializeAws_json1_0StartDeploymentRequest = (input, context) => {
|
|
2021
1982
|
return {
|
|
2022
|
-
...(input.ServiceArn
|
|
1983
|
+
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
2023
1984
|
};
|
|
2024
1985
|
};
|
|
2025
1986
|
const serializeAws_json1_0StringList = (input, context) => {
|
|
@@ -2034,8 +1995,8 @@ const serializeAws_json1_0StringList = (input, context) => {
|
|
|
2034
1995
|
};
|
|
2035
1996
|
const serializeAws_json1_0Tag = (input, context) => {
|
|
2036
1997
|
return {
|
|
2037
|
-
...(input.Key
|
|
2038
|
-
...(input.Value
|
|
1998
|
+
...(input.Key != null && { Key: input.Key }),
|
|
1999
|
+
...(input.Value != null && { Value: input.Value }),
|
|
2039
2000
|
};
|
|
2040
2001
|
};
|
|
2041
2002
|
const serializeAws_json1_0TagKeyList = (input, context) => {
|
|
@@ -2060,54 +2021,47 @@ const serializeAws_json1_0TagList = (input, context) => {
|
|
|
2060
2021
|
};
|
|
2061
2022
|
const serializeAws_json1_0TagResourceRequest = (input, context) => {
|
|
2062
2023
|
return {
|
|
2063
|
-
...(input.ResourceArn
|
|
2064
|
-
...(input.Tags
|
|
2024
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2025
|
+
...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
|
|
2065
2026
|
};
|
|
2066
2027
|
};
|
|
2067
2028
|
const serializeAws_json1_0TraceConfiguration = (input, context) => {
|
|
2068
2029
|
return {
|
|
2069
|
-
...(input.Vendor
|
|
2030
|
+
...(input.Vendor != null && { Vendor: input.Vendor }),
|
|
2070
2031
|
};
|
|
2071
2032
|
};
|
|
2072
2033
|
const serializeAws_json1_0UntagResourceRequest = (input, context) => {
|
|
2073
2034
|
return {
|
|
2074
|
-
...(input.ResourceArn
|
|
2075
|
-
...(input.TagKeys
|
|
2076
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }),
|
|
2035
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2036
|
+
...(input.TagKeys != null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }),
|
|
2077
2037
|
};
|
|
2078
2038
|
};
|
|
2079
2039
|
const serializeAws_json1_0UpdateServiceRequest = (input, context) => {
|
|
2080
2040
|
return {
|
|
2081
|
-
...(input.AutoScalingConfigurationArn
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2041
|
+
...(input.AutoScalingConfigurationArn != null && {
|
|
2042
|
+
AutoScalingConfigurationArn: input.AutoScalingConfigurationArn,
|
|
2043
|
+
}),
|
|
2044
|
+
...(input.HealthCheckConfiguration != null && {
|
|
2085
2045
|
HealthCheckConfiguration: serializeAws_json1_0HealthCheckConfiguration(input.HealthCheckConfiguration, context),
|
|
2086
2046
|
}),
|
|
2087
|
-
...(input.InstanceConfiguration
|
|
2088
|
-
input.InstanceConfiguration !== null && {
|
|
2047
|
+
...(input.InstanceConfiguration != null && {
|
|
2089
2048
|
InstanceConfiguration: serializeAws_json1_0InstanceConfiguration(input.InstanceConfiguration, context),
|
|
2090
2049
|
}),
|
|
2091
|
-
...(input.NetworkConfiguration
|
|
2092
|
-
input.NetworkConfiguration !== null && {
|
|
2050
|
+
...(input.NetworkConfiguration != null && {
|
|
2093
2051
|
NetworkConfiguration: serializeAws_json1_0NetworkConfiguration(input.NetworkConfiguration, context),
|
|
2094
2052
|
}),
|
|
2095
|
-
...(input.ObservabilityConfiguration
|
|
2096
|
-
input.ObservabilityConfiguration !== null && {
|
|
2053
|
+
...(input.ObservabilityConfiguration != null && {
|
|
2097
2054
|
ObservabilityConfiguration: serializeAws_json1_0ServiceObservabilityConfiguration(input.ObservabilityConfiguration, context),
|
|
2098
2055
|
}),
|
|
2099
|
-
...(input.ServiceArn
|
|
2100
|
-
...(input.SourceConfiguration
|
|
2101
|
-
input.SourceConfiguration !== null && {
|
|
2056
|
+
...(input.ServiceArn != null && { ServiceArn: input.ServiceArn }),
|
|
2057
|
+
...(input.SourceConfiguration != null && {
|
|
2102
2058
|
SourceConfiguration: serializeAws_json1_0SourceConfiguration(input.SourceConfiguration, context),
|
|
2103
2059
|
}),
|
|
2104
2060
|
};
|
|
2105
2061
|
};
|
|
2106
2062
|
const deserializeAws_json1_0AssociateCustomDomainResponse = (output, context) => {
|
|
2107
2063
|
return {
|
|
2108
|
-
CustomDomain: output.CustomDomain
|
|
2109
|
-
? deserializeAws_json1_0CustomDomain(output.CustomDomain, context)
|
|
2110
|
-
: undefined,
|
|
2064
|
+
CustomDomain: output.CustomDomain != null ? deserializeAws_json1_0CustomDomain(output.CustomDomain, context) : undefined,
|
|
2111
2065
|
DNSTarget: (0, smithy_client_1.expectString)(output.DNSTarget),
|
|
2112
2066
|
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
2113
2067
|
};
|
|
@@ -2123,12 +2077,8 @@ const deserializeAws_json1_0AutoScalingConfiguration = (output, context) => {
|
|
|
2123
2077
|
AutoScalingConfigurationArn: (0, smithy_client_1.expectString)(output.AutoScalingConfigurationArn),
|
|
2124
2078
|
AutoScalingConfigurationName: (0, smithy_client_1.expectString)(output.AutoScalingConfigurationName),
|
|
2125
2079
|
AutoScalingConfigurationRevision: (0, smithy_client_1.expectInt32)(output.AutoScalingConfigurationRevision),
|
|
2126
|
-
CreatedAt: output.CreatedAt
|
|
2127
|
-
|
|
2128
|
-
: undefined,
|
|
2129
|
-
DeletedAt: output.DeletedAt !== undefined && output.DeletedAt !== null
|
|
2130
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletedAt)))
|
|
2131
|
-
: undefined,
|
|
2080
|
+
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
|
|
2081
|
+
DeletedAt: output.DeletedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletedAt))) : undefined,
|
|
2132
2082
|
Latest: (0, smithy_client_1.expectBoolean)(output.Latest),
|
|
2133
2083
|
MaxConcurrency: (0, smithy_client_1.expectInt32)(output.MaxConcurrency),
|
|
2134
2084
|
MaxSize: (0, smithy_client_1.expectInt32)(output.MaxSize),
|
|
@@ -2175,7 +2125,7 @@ const deserializeAws_json1_0CertificateValidationRecordList = (output, context)
|
|
|
2175
2125
|
};
|
|
2176
2126
|
const deserializeAws_json1_0CodeConfiguration = (output, context) => {
|
|
2177
2127
|
return {
|
|
2178
|
-
CodeConfigurationValues: output.CodeConfigurationValues
|
|
2128
|
+
CodeConfigurationValues: output.CodeConfigurationValues != null
|
|
2179
2129
|
? deserializeAws_json1_0CodeConfigurationValues(output.CodeConfigurationValues, context)
|
|
2180
2130
|
: undefined,
|
|
2181
2131
|
ConfigurationSource: (0, smithy_client_1.expectString)(output.ConfigurationSource),
|
|
@@ -2186,7 +2136,7 @@ const deserializeAws_json1_0CodeConfigurationValues = (output, context) => {
|
|
|
2186
2136
|
BuildCommand: (0, smithy_client_1.expectString)(output.BuildCommand),
|
|
2187
2137
|
Port: (0, smithy_client_1.expectString)(output.Port),
|
|
2188
2138
|
Runtime: (0, smithy_client_1.expectString)(output.Runtime),
|
|
2189
|
-
RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables
|
|
2139
|
+
RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables != null
|
|
2190
2140
|
? deserializeAws_json1_0RuntimeEnvironmentVariables(output.RuntimeEnvironmentVariables, context)
|
|
2191
2141
|
: undefined,
|
|
2192
2142
|
StartCommand: (0, smithy_client_1.expectString)(output.StartCommand),
|
|
@@ -2194,11 +2144,11 @@ const deserializeAws_json1_0CodeConfigurationValues = (output, context) => {
|
|
|
2194
2144
|
};
|
|
2195
2145
|
const deserializeAws_json1_0CodeRepository = (output, context) => {
|
|
2196
2146
|
return {
|
|
2197
|
-
CodeConfiguration: output.CodeConfiguration
|
|
2147
|
+
CodeConfiguration: output.CodeConfiguration != null
|
|
2198
2148
|
? deserializeAws_json1_0CodeConfiguration(output.CodeConfiguration, context)
|
|
2199
2149
|
: undefined,
|
|
2200
2150
|
RepositoryUrl: (0, smithy_client_1.expectString)(output.RepositoryUrl),
|
|
2201
|
-
SourceCodeVersion: output.SourceCodeVersion
|
|
2151
|
+
SourceCodeVersion: output.SourceCodeVersion != null
|
|
2202
2152
|
? deserializeAws_json1_0SourceCodeVersion(output.SourceCodeVersion, context)
|
|
2203
2153
|
: undefined,
|
|
2204
2154
|
};
|
|
@@ -2207,9 +2157,7 @@ const deserializeAws_json1_0Connection = (output, context) => {
|
|
|
2207
2157
|
return {
|
|
2208
2158
|
ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
|
|
2209
2159
|
ConnectionName: (0, smithy_client_1.expectString)(output.ConnectionName),
|
|
2210
|
-
CreatedAt: output.CreatedAt
|
|
2211
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
2212
|
-
: undefined,
|
|
2160
|
+
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
|
|
2213
2161
|
ProviderType: (0, smithy_client_1.expectString)(output.ProviderType),
|
|
2214
2162
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2215
2163
|
};
|
|
@@ -2218,9 +2166,7 @@ const deserializeAws_json1_0ConnectionSummary = (output, context) => {
|
|
|
2218
2166
|
return {
|
|
2219
2167
|
ConnectionArn: (0, smithy_client_1.expectString)(output.ConnectionArn),
|
|
2220
2168
|
ConnectionName: (0, smithy_client_1.expectString)(output.ConnectionName),
|
|
2221
|
-
CreatedAt: output.CreatedAt
|
|
2222
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
2223
|
-
: undefined,
|
|
2169
|
+
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
|
|
2224
2170
|
ProviderType: (0, smithy_client_1.expectString)(output.ProviderType),
|
|
2225
2171
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2226
2172
|
};
|
|
@@ -2238,21 +2184,19 @@ const deserializeAws_json1_0ConnectionSummaryList = (output, context) => {
|
|
|
2238
2184
|
};
|
|
2239
2185
|
const deserializeAws_json1_0CreateAutoScalingConfigurationResponse = (output, context) => {
|
|
2240
2186
|
return {
|
|
2241
|
-
AutoScalingConfiguration: output.AutoScalingConfiguration
|
|
2187
|
+
AutoScalingConfiguration: output.AutoScalingConfiguration != null
|
|
2242
2188
|
? deserializeAws_json1_0AutoScalingConfiguration(output.AutoScalingConfiguration, context)
|
|
2243
2189
|
: undefined,
|
|
2244
2190
|
};
|
|
2245
2191
|
};
|
|
2246
2192
|
const deserializeAws_json1_0CreateConnectionResponse = (output, context) => {
|
|
2247
2193
|
return {
|
|
2248
|
-
Connection: output.Connection
|
|
2249
|
-
? deserializeAws_json1_0Connection(output.Connection, context)
|
|
2250
|
-
: undefined,
|
|
2194
|
+
Connection: output.Connection != null ? deserializeAws_json1_0Connection(output.Connection, context) : undefined,
|
|
2251
2195
|
};
|
|
2252
2196
|
};
|
|
2253
2197
|
const deserializeAws_json1_0CreateObservabilityConfigurationResponse = (output, context) => {
|
|
2254
2198
|
return {
|
|
2255
|
-
ObservabilityConfiguration: output.ObservabilityConfiguration
|
|
2199
|
+
ObservabilityConfiguration: output.ObservabilityConfiguration != null
|
|
2256
2200
|
? deserializeAws_json1_0ObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2257
2201
|
: undefined,
|
|
2258
2202
|
};
|
|
@@ -2260,21 +2204,17 @@ const deserializeAws_json1_0CreateObservabilityConfigurationResponse = (output,
|
|
|
2260
2204
|
const deserializeAws_json1_0CreateServiceResponse = (output, context) => {
|
|
2261
2205
|
return {
|
|
2262
2206
|
OperationId: (0, smithy_client_1.expectString)(output.OperationId),
|
|
2263
|
-
Service: output.Service
|
|
2264
|
-
? deserializeAws_json1_0Service(output.Service, context)
|
|
2265
|
-
: undefined,
|
|
2207
|
+
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
2266
2208
|
};
|
|
2267
2209
|
};
|
|
2268
2210
|
const deserializeAws_json1_0CreateVpcConnectorResponse = (output, context) => {
|
|
2269
2211
|
return {
|
|
2270
|
-
VpcConnector: output.VpcConnector
|
|
2271
|
-
? deserializeAws_json1_0VpcConnector(output.VpcConnector, context)
|
|
2272
|
-
: undefined,
|
|
2212
|
+
VpcConnector: output.VpcConnector != null ? deserializeAws_json1_0VpcConnector(output.VpcConnector, context) : undefined,
|
|
2273
2213
|
};
|
|
2274
2214
|
};
|
|
2275
2215
|
const deserializeAws_json1_0CustomDomain = (output, context) => {
|
|
2276
2216
|
return {
|
|
2277
|
-
CertificateValidationRecords: output.CertificateValidationRecords
|
|
2217
|
+
CertificateValidationRecords: output.CertificateValidationRecords != null
|
|
2278
2218
|
? deserializeAws_json1_0CertificateValidationRecordList(output.CertificateValidationRecords, context)
|
|
2279
2219
|
: undefined,
|
|
2280
2220
|
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
@@ -2295,21 +2235,19 @@ const deserializeAws_json1_0CustomDomainList = (output, context) => {
|
|
|
2295
2235
|
};
|
|
2296
2236
|
const deserializeAws_json1_0DeleteAutoScalingConfigurationResponse = (output, context) => {
|
|
2297
2237
|
return {
|
|
2298
|
-
AutoScalingConfiguration: output.AutoScalingConfiguration
|
|
2238
|
+
AutoScalingConfiguration: output.AutoScalingConfiguration != null
|
|
2299
2239
|
? deserializeAws_json1_0AutoScalingConfiguration(output.AutoScalingConfiguration, context)
|
|
2300
2240
|
: undefined,
|
|
2301
2241
|
};
|
|
2302
2242
|
};
|
|
2303
2243
|
const deserializeAws_json1_0DeleteConnectionResponse = (output, context) => {
|
|
2304
2244
|
return {
|
|
2305
|
-
Connection: output.Connection
|
|
2306
|
-
? deserializeAws_json1_0Connection(output.Connection, context)
|
|
2307
|
-
: undefined,
|
|
2245
|
+
Connection: output.Connection != null ? deserializeAws_json1_0Connection(output.Connection, context) : undefined,
|
|
2308
2246
|
};
|
|
2309
2247
|
};
|
|
2310
2248
|
const deserializeAws_json1_0DeleteObservabilityConfigurationResponse = (output, context) => {
|
|
2311
2249
|
return {
|
|
2312
|
-
ObservabilityConfiguration: output.ObservabilityConfiguration
|
|
2250
|
+
ObservabilityConfiguration: output.ObservabilityConfiguration != null
|
|
2313
2251
|
? deserializeAws_json1_0ObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2314
2252
|
: undefined,
|
|
2315
2253
|
};
|
|
@@ -2317,30 +2255,24 @@ const deserializeAws_json1_0DeleteObservabilityConfigurationResponse = (output,
|
|
|
2317
2255
|
const deserializeAws_json1_0DeleteServiceResponse = (output, context) => {
|
|
2318
2256
|
return {
|
|
2319
2257
|
OperationId: (0, smithy_client_1.expectString)(output.OperationId),
|
|
2320
|
-
Service: output.Service
|
|
2321
|
-
? deserializeAws_json1_0Service(output.Service, context)
|
|
2322
|
-
: undefined,
|
|
2258
|
+
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
2323
2259
|
};
|
|
2324
2260
|
};
|
|
2325
2261
|
const deserializeAws_json1_0DeleteVpcConnectorResponse = (output, context) => {
|
|
2326
2262
|
return {
|
|
2327
|
-
VpcConnector: output.VpcConnector
|
|
2328
|
-
? deserializeAws_json1_0VpcConnector(output.VpcConnector, context)
|
|
2329
|
-
: undefined,
|
|
2263
|
+
VpcConnector: output.VpcConnector != null ? deserializeAws_json1_0VpcConnector(output.VpcConnector, context) : undefined,
|
|
2330
2264
|
};
|
|
2331
2265
|
};
|
|
2332
2266
|
const deserializeAws_json1_0DescribeAutoScalingConfigurationResponse = (output, context) => {
|
|
2333
2267
|
return {
|
|
2334
|
-
AutoScalingConfiguration: output.AutoScalingConfiguration
|
|
2268
|
+
AutoScalingConfiguration: output.AutoScalingConfiguration != null
|
|
2335
2269
|
? deserializeAws_json1_0AutoScalingConfiguration(output.AutoScalingConfiguration, context)
|
|
2336
2270
|
: undefined,
|
|
2337
2271
|
};
|
|
2338
2272
|
};
|
|
2339
2273
|
const deserializeAws_json1_0DescribeCustomDomainsResponse = (output, context) => {
|
|
2340
2274
|
return {
|
|
2341
|
-
CustomDomains: output.CustomDomains
|
|
2342
|
-
? deserializeAws_json1_0CustomDomainList(output.CustomDomains, context)
|
|
2343
|
-
: undefined,
|
|
2275
|
+
CustomDomains: output.CustomDomains != null ? deserializeAws_json1_0CustomDomainList(output.CustomDomains, context) : undefined,
|
|
2344
2276
|
DNSTarget: (0, smithy_client_1.expectString)(output.DNSTarget),
|
|
2345
2277
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2346
2278
|
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
@@ -2348,30 +2280,24 @@ const deserializeAws_json1_0DescribeCustomDomainsResponse = (output, context) =>
|
|
|
2348
2280
|
};
|
|
2349
2281
|
const deserializeAws_json1_0DescribeObservabilityConfigurationResponse = (output, context) => {
|
|
2350
2282
|
return {
|
|
2351
|
-
ObservabilityConfiguration: output.ObservabilityConfiguration
|
|
2283
|
+
ObservabilityConfiguration: output.ObservabilityConfiguration != null
|
|
2352
2284
|
? deserializeAws_json1_0ObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2353
2285
|
: undefined,
|
|
2354
2286
|
};
|
|
2355
2287
|
};
|
|
2356
2288
|
const deserializeAws_json1_0DescribeServiceResponse = (output, context) => {
|
|
2357
2289
|
return {
|
|
2358
|
-
Service: output.Service
|
|
2359
|
-
? deserializeAws_json1_0Service(output.Service, context)
|
|
2360
|
-
: undefined,
|
|
2290
|
+
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
2361
2291
|
};
|
|
2362
2292
|
};
|
|
2363
2293
|
const deserializeAws_json1_0DescribeVpcConnectorResponse = (output, context) => {
|
|
2364
2294
|
return {
|
|
2365
|
-
VpcConnector: output.VpcConnector
|
|
2366
|
-
? deserializeAws_json1_0VpcConnector(output.VpcConnector, context)
|
|
2367
|
-
: undefined,
|
|
2295
|
+
VpcConnector: output.VpcConnector != null ? deserializeAws_json1_0VpcConnector(output.VpcConnector, context) : undefined,
|
|
2368
2296
|
};
|
|
2369
2297
|
};
|
|
2370
2298
|
const deserializeAws_json1_0DisassociateCustomDomainResponse = (output, context) => {
|
|
2371
2299
|
return {
|
|
2372
|
-
CustomDomain: output.CustomDomain
|
|
2373
|
-
? deserializeAws_json1_0CustomDomain(output.CustomDomain, context)
|
|
2374
|
-
: undefined,
|
|
2300
|
+
CustomDomain: output.CustomDomain != null ? deserializeAws_json1_0CustomDomain(output.CustomDomain, context) : undefined,
|
|
2375
2301
|
DNSTarget: (0, smithy_client_1.expectString)(output.DNSTarget),
|
|
2376
2302
|
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
2377
2303
|
};
|
|
@@ -2400,7 +2326,7 @@ const deserializeAws_json1_0HealthCheckConfiguration = (output, context) => {
|
|
|
2400
2326
|
const deserializeAws_json1_0ImageConfiguration = (output, context) => {
|
|
2401
2327
|
return {
|
|
2402
2328
|
Port: (0, smithy_client_1.expectString)(output.Port),
|
|
2403
|
-
RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables
|
|
2329
|
+
RuntimeEnvironmentVariables: output.RuntimeEnvironmentVariables != null
|
|
2404
2330
|
? deserializeAws_json1_0RuntimeEnvironmentVariables(output.RuntimeEnvironmentVariables, context)
|
|
2405
2331
|
: undefined,
|
|
2406
2332
|
StartCommand: (0, smithy_client_1.expectString)(output.StartCommand),
|
|
@@ -2408,7 +2334,7 @@ const deserializeAws_json1_0ImageConfiguration = (output, context) => {
|
|
|
2408
2334
|
};
|
|
2409
2335
|
const deserializeAws_json1_0ImageRepository = (output, context) => {
|
|
2410
2336
|
return {
|
|
2411
|
-
ImageConfiguration: output.ImageConfiguration
|
|
2337
|
+
ImageConfiguration: output.ImageConfiguration != null
|
|
2412
2338
|
? deserializeAws_json1_0ImageConfiguration(output.ImageConfiguration, context)
|
|
2413
2339
|
: undefined,
|
|
2414
2340
|
ImageIdentifier: (0, smithy_client_1.expectString)(output.ImageIdentifier),
|
|
@@ -2439,7 +2365,7 @@ const deserializeAws_json1_0InvalidStateException = (output, context) => {
|
|
|
2439
2365
|
};
|
|
2440
2366
|
const deserializeAws_json1_0ListAutoScalingConfigurationsResponse = (output, context) => {
|
|
2441
2367
|
return {
|
|
2442
|
-
AutoScalingConfigurationSummaryList: output.AutoScalingConfigurationSummaryList
|
|
2368
|
+
AutoScalingConfigurationSummaryList: output.AutoScalingConfigurationSummaryList != null
|
|
2443
2369
|
? deserializeAws_json1_0AutoScalingConfigurationSummaryList(output.AutoScalingConfigurationSummaryList, context)
|
|
2444
2370
|
: undefined,
|
|
2445
2371
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
@@ -2447,7 +2373,7 @@ const deserializeAws_json1_0ListAutoScalingConfigurationsResponse = (output, con
|
|
|
2447
2373
|
};
|
|
2448
2374
|
const deserializeAws_json1_0ListConnectionsResponse = (output, context) => {
|
|
2449
2375
|
return {
|
|
2450
|
-
ConnectionSummaryList: output.ConnectionSummaryList
|
|
2376
|
+
ConnectionSummaryList: output.ConnectionSummaryList != null
|
|
2451
2377
|
? deserializeAws_json1_0ConnectionSummaryList(output.ConnectionSummaryList, context)
|
|
2452
2378
|
: undefined,
|
|
2453
2379
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
@@ -2456,8 +2382,7 @@ const deserializeAws_json1_0ListConnectionsResponse = (output, context) => {
|
|
|
2456
2382
|
const deserializeAws_json1_0ListObservabilityConfigurationsResponse = (output, context) => {
|
|
2457
2383
|
return {
|
|
2458
2384
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2459
|
-
ObservabilityConfigurationSummaryList: output.ObservabilityConfigurationSummaryList
|
|
2460
|
-
output.ObservabilityConfigurationSummaryList !== null
|
|
2385
|
+
ObservabilityConfigurationSummaryList: output.ObservabilityConfigurationSummaryList != null
|
|
2461
2386
|
? deserializeAws_json1_0ObservabilityConfigurationSummaryList(output.ObservabilityConfigurationSummaryList, context)
|
|
2462
2387
|
: undefined,
|
|
2463
2388
|
};
|
|
@@ -2465,7 +2390,7 @@ const deserializeAws_json1_0ListObservabilityConfigurationsResponse = (output, c
|
|
|
2465
2390
|
const deserializeAws_json1_0ListOperationsResponse = (output, context) => {
|
|
2466
2391
|
return {
|
|
2467
2392
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2468
|
-
OperationSummaryList: output.OperationSummaryList
|
|
2393
|
+
OperationSummaryList: output.OperationSummaryList != null
|
|
2469
2394
|
? deserializeAws_json1_0OperationSummaryList(output.OperationSummaryList, context)
|
|
2470
2395
|
: undefined,
|
|
2471
2396
|
};
|
|
@@ -2473,47 +2398,39 @@ const deserializeAws_json1_0ListOperationsResponse = (output, context) => {
|
|
|
2473
2398
|
const deserializeAws_json1_0ListServicesResponse = (output, context) => {
|
|
2474
2399
|
return {
|
|
2475
2400
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2476
|
-
ServiceSummaryList: output.ServiceSummaryList
|
|
2401
|
+
ServiceSummaryList: output.ServiceSummaryList != null
|
|
2477
2402
|
? deserializeAws_json1_0ServiceSummaryList(output.ServiceSummaryList, context)
|
|
2478
2403
|
: undefined,
|
|
2479
2404
|
};
|
|
2480
2405
|
};
|
|
2481
2406
|
const deserializeAws_json1_0ListTagsForResourceResponse = (output, context) => {
|
|
2482
2407
|
return {
|
|
2483
|
-
Tags: output.Tags
|
|
2484
|
-
? deserializeAws_json1_0TagList(output.Tags, context)
|
|
2485
|
-
: undefined,
|
|
2408
|
+
Tags: output.Tags != null ? deserializeAws_json1_0TagList(output.Tags, context) : undefined,
|
|
2486
2409
|
};
|
|
2487
2410
|
};
|
|
2488
2411
|
const deserializeAws_json1_0ListVpcConnectorsResponse = (output, context) => {
|
|
2489
2412
|
return {
|
|
2490
2413
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2491
|
-
VpcConnectors: output.VpcConnectors
|
|
2492
|
-
? deserializeAws_json1_0VpcConnectors(output.VpcConnectors, context)
|
|
2493
|
-
: undefined,
|
|
2414
|
+
VpcConnectors: output.VpcConnectors != null ? deserializeAws_json1_0VpcConnectors(output.VpcConnectors, context) : undefined,
|
|
2494
2415
|
};
|
|
2495
2416
|
};
|
|
2496
2417
|
const deserializeAws_json1_0NetworkConfiguration = (output, context) => {
|
|
2497
2418
|
return {
|
|
2498
|
-
EgressConfiguration: output.EgressConfiguration
|
|
2419
|
+
EgressConfiguration: output.EgressConfiguration != null
|
|
2499
2420
|
? deserializeAws_json1_0EgressConfiguration(output.EgressConfiguration, context)
|
|
2500
2421
|
: undefined,
|
|
2501
2422
|
};
|
|
2502
2423
|
};
|
|
2503
2424
|
const deserializeAws_json1_0ObservabilityConfiguration = (output, context) => {
|
|
2504
2425
|
return {
|
|
2505
|
-
CreatedAt: output.CreatedAt
|
|
2506
|
-
|
|
2507
|
-
: undefined,
|
|
2508
|
-
DeletedAt: output.DeletedAt !== undefined && output.DeletedAt !== null
|
|
2509
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletedAt)))
|
|
2510
|
-
: undefined,
|
|
2426
|
+
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
|
|
2427
|
+
DeletedAt: output.DeletedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletedAt))) : undefined,
|
|
2511
2428
|
Latest: (0, smithy_client_1.expectBoolean)(output.Latest),
|
|
2512
2429
|
ObservabilityConfigurationArn: (0, smithy_client_1.expectString)(output.ObservabilityConfigurationArn),
|
|
2513
2430
|
ObservabilityConfigurationName: (0, smithy_client_1.expectString)(output.ObservabilityConfigurationName),
|
|
2514
2431
|
ObservabilityConfigurationRevision: (0, smithy_client_1.expectInt32)(output.ObservabilityConfigurationRevision),
|
|
2515
2432
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2516
|
-
TraceConfiguration: output.TraceConfiguration
|
|
2433
|
+
TraceConfiguration: output.TraceConfiguration != null
|
|
2517
2434
|
? deserializeAws_json1_0TraceConfiguration(output.TraceConfiguration, context)
|
|
2518
2435
|
: undefined,
|
|
2519
2436
|
};
|
|
@@ -2538,19 +2455,13 @@ const deserializeAws_json1_0ObservabilityConfigurationSummaryList = (output, con
|
|
|
2538
2455
|
};
|
|
2539
2456
|
const deserializeAws_json1_0OperationSummary = (output, context) => {
|
|
2540
2457
|
return {
|
|
2541
|
-
EndedAt: output.EndedAt
|
|
2542
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndedAt)))
|
|
2543
|
-
: undefined,
|
|
2458
|
+
EndedAt: output.EndedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndedAt))) : undefined,
|
|
2544
2459
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
2545
|
-
StartedAt: output.StartedAt
|
|
2546
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartedAt)))
|
|
2547
|
-
: undefined,
|
|
2460
|
+
StartedAt: output.StartedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartedAt))) : undefined,
|
|
2548
2461
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2549
2462
|
TargetArn: (0, smithy_client_1.expectString)(output.TargetArn),
|
|
2550
2463
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2551
|
-
UpdatedAt: output.UpdatedAt
|
|
2552
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
2553
|
-
: undefined,
|
|
2464
|
+
UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt))) : undefined,
|
|
2554
2465
|
};
|
|
2555
2466
|
};
|
|
2556
2467
|
const deserializeAws_json1_0OperationSummaryList = (output, context) => {
|
|
@@ -2567,9 +2478,7 @@ const deserializeAws_json1_0OperationSummaryList = (output, context) => {
|
|
|
2567
2478
|
const deserializeAws_json1_0PauseServiceResponse = (output, context) => {
|
|
2568
2479
|
return {
|
|
2569
2480
|
OperationId: (0, smithy_client_1.expectString)(output.OperationId),
|
|
2570
|
-
Service: output.Service
|
|
2571
|
-
? deserializeAws_json1_0Service(output.Service, context)
|
|
2572
|
-
: undefined,
|
|
2481
|
+
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
2573
2482
|
};
|
|
2574
2483
|
};
|
|
2575
2484
|
const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
|
|
@@ -2580,9 +2489,7 @@ const deserializeAws_json1_0ResourceNotFoundException = (output, context) => {
|
|
|
2580
2489
|
const deserializeAws_json1_0ResumeServiceResponse = (output, context) => {
|
|
2581
2490
|
return {
|
|
2582
2491
|
OperationId: (0, smithy_client_1.expectString)(output.OperationId),
|
|
2583
|
-
Service: output.Service
|
|
2584
|
-
? deserializeAws_json1_0Service(output.Service, context)
|
|
2585
|
-
: undefined,
|
|
2492
|
+
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
2586
2493
|
};
|
|
2587
2494
|
};
|
|
2588
2495
|
const deserializeAws_json1_0RuntimeEnvironmentVariables = (output, context) => {
|
|
@@ -2598,41 +2505,35 @@ const deserializeAws_json1_0RuntimeEnvironmentVariables = (output, context) => {
|
|
|
2598
2505
|
};
|
|
2599
2506
|
const deserializeAws_json1_0Service = (output, context) => {
|
|
2600
2507
|
return {
|
|
2601
|
-
AutoScalingConfigurationSummary: output.AutoScalingConfigurationSummary
|
|
2508
|
+
AutoScalingConfigurationSummary: output.AutoScalingConfigurationSummary != null
|
|
2602
2509
|
? deserializeAws_json1_0AutoScalingConfigurationSummary(output.AutoScalingConfigurationSummary, context)
|
|
2603
2510
|
: undefined,
|
|
2604
|
-
CreatedAt: output.CreatedAt
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
DeletedAt: output.DeletedAt !== undefined && output.DeletedAt !== null
|
|
2608
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletedAt)))
|
|
2609
|
-
: undefined,
|
|
2610
|
-
EncryptionConfiguration: output.EncryptionConfiguration !== undefined && output.EncryptionConfiguration !== null
|
|
2511
|
+
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
|
|
2512
|
+
DeletedAt: output.DeletedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletedAt))) : undefined,
|
|
2513
|
+
EncryptionConfiguration: output.EncryptionConfiguration != null
|
|
2611
2514
|
? deserializeAws_json1_0EncryptionConfiguration(output.EncryptionConfiguration, context)
|
|
2612
2515
|
: undefined,
|
|
2613
|
-
HealthCheckConfiguration: output.HealthCheckConfiguration
|
|
2516
|
+
HealthCheckConfiguration: output.HealthCheckConfiguration != null
|
|
2614
2517
|
? deserializeAws_json1_0HealthCheckConfiguration(output.HealthCheckConfiguration, context)
|
|
2615
2518
|
: undefined,
|
|
2616
|
-
InstanceConfiguration: output.InstanceConfiguration
|
|
2519
|
+
InstanceConfiguration: output.InstanceConfiguration != null
|
|
2617
2520
|
? deserializeAws_json1_0InstanceConfiguration(output.InstanceConfiguration, context)
|
|
2618
2521
|
: undefined,
|
|
2619
|
-
NetworkConfiguration: output.NetworkConfiguration
|
|
2522
|
+
NetworkConfiguration: output.NetworkConfiguration != null
|
|
2620
2523
|
? deserializeAws_json1_0NetworkConfiguration(output.NetworkConfiguration, context)
|
|
2621
2524
|
: undefined,
|
|
2622
|
-
ObservabilityConfiguration: output.ObservabilityConfiguration
|
|
2525
|
+
ObservabilityConfiguration: output.ObservabilityConfiguration != null
|
|
2623
2526
|
? deserializeAws_json1_0ServiceObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2624
2527
|
: undefined,
|
|
2625
2528
|
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
2626
2529
|
ServiceId: (0, smithy_client_1.expectString)(output.ServiceId),
|
|
2627
2530
|
ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
|
|
2628
2531
|
ServiceUrl: (0, smithy_client_1.expectString)(output.ServiceUrl),
|
|
2629
|
-
SourceConfiguration: output.SourceConfiguration
|
|
2532
|
+
SourceConfiguration: output.SourceConfiguration != null
|
|
2630
2533
|
? deserializeAws_json1_0SourceConfiguration(output.SourceConfiguration, context)
|
|
2631
2534
|
: undefined,
|
|
2632
2535
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2633
|
-
UpdatedAt: output.UpdatedAt
|
|
2634
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
2635
|
-
: undefined,
|
|
2536
|
+
UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt))) : undefined,
|
|
2636
2537
|
};
|
|
2637
2538
|
};
|
|
2638
2539
|
const deserializeAws_json1_0ServiceObservabilityConfiguration = (output, context) => {
|
|
@@ -2648,17 +2549,13 @@ const deserializeAws_json1_0ServiceQuotaExceededException = (output, context) =>
|
|
|
2648
2549
|
};
|
|
2649
2550
|
const deserializeAws_json1_0ServiceSummary = (output, context) => {
|
|
2650
2551
|
return {
|
|
2651
|
-
CreatedAt: output.CreatedAt
|
|
2652
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
2653
|
-
: undefined,
|
|
2552
|
+
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
|
|
2654
2553
|
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
2655
2554
|
ServiceId: (0, smithy_client_1.expectString)(output.ServiceId),
|
|
2656
2555
|
ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
|
|
2657
2556
|
ServiceUrl: (0, smithy_client_1.expectString)(output.ServiceUrl),
|
|
2658
2557
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2659
|
-
UpdatedAt: output.UpdatedAt
|
|
2660
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt)))
|
|
2661
|
-
: undefined,
|
|
2558
|
+
UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt))) : undefined,
|
|
2662
2559
|
};
|
|
2663
2560
|
};
|
|
2664
2561
|
const deserializeAws_json1_0ServiceSummaryList = (output, context) => {
|
|
@@ -2680,14 +2577,12 @@ const deserializeAws_json1_0SourceCodeVersion = (output, context) => {
|
|
|
2680
2577
|
};
|
|
2681
2578
|
const deserializeAws_json1_0SourceConfiguration = (output, context) => {
|
|
2682
2579
|
return {
|
|
2683
|
-
AuthenticationConfiguration: output.AuthenticationConfiguration
|
|
2580
|
+
AuthenticationConfiguration: output.AuthenticationConfiguration != null
|
|
2684
2581
|
? deserializeAws_json1_0AuthenticationConfiguration(output.AuthenticationConfiguration, context)
|
|
2685
2582
|
: undefined,
|
|
2686
2583
|
AutoDeploymentsEnabled: (0, smithy_client_1.expectBoolean)(output.AutoDeploymentsEnabled),
|
|
2687
|
-
CodeRepository: output.CodeRepository
|
|
2688
|
-
|
|
2689
|
-
: undefined,
|
|
2690
|
-
ImageRepository: output.ImageRepository !== undefined && output.ImageRepository !== null
|
|
2584
|
+
CodeRepository: output.CodeRepository != null ? deserializeAws_json1_0CodeRepository(output.CodeRepository, context) : undefined,
|
|
2585
|
+
ImageRepository: output.ImageRepository != null
|
|
2691
2586
|
? deserializeAws_json1_0ImageRepository(output.ImageRepository, context)
|
|
2692
2587
|
: undefined,
|
|
2693
2588
|
};
|
|
@@ -2739,26 +2634,16 @@ const deserializeAws_json1_0UntagResourceResponse = (output, context) => {
|
|
|
2739
2634
|
const deserializeAws_json1_0UpdateServiceResponse = (output, context) => {
|
|
2740
2635
|
return {
|
|
2741
2636
|
OperationId: (0, smithy_client_1.expectString)(output.OperationId),
|
|
2742
|
-
Service: output.Service
|
|
2743
|
-
? deserializeAws_json1_0Service(output.Service, context)
|
|
2744
|
-
: undefined,
|
|
2637
|
+
Service: output.Service != null ? deserializeAws_json1_0Service(output.Service, context) : undefined,
|
|
2745
2638
|
};
|
|
2746
2639
|
};
|
|
2747
2640
|
const deserializeAws_json1_0VpcConnector = (output, context) => {
|
|
2748
2641
|
return {
|
|
2749
|
-
CreatedAt: output.CreatedAt
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
DeletedAt: output.DeletedAt !== undefined && output.DeletedAt !== null
|
|
2753
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletedAt)))
|
|
2754
|
-
: undefined,
|
|
2755
|
-
SecurityGroups: output.SecurityGroups !== undefined && output.SecurityGroups !== null
|
|
2756
|
-
? deserializeAws_json1_0StringList(output.SecurityGroups, context)
|
|
2757
|
-
: undefined,
|
|
2642
|
+
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
|
|
2643
|
+
DeletedAt: output.DeletedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletedAt))) : undefined,
|
|
2644
|
+
SecurityGroups: output.SecurityGroups != null ? deserializeAws_json1_0StringList(output.SecurityGroups, context) : undefined,
|
|
2758
2645
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2759
|
-
Subnets: output.Subnets
|
|
2760
|
-
? deserializeAws_json1_0StringList(output.Subnets, context)
|
|
2761
|
-
: undefined,
|
|
2646
|
+
Subnets: output.Subnets != null ? deserializeAws_json1_0StringList(output.Subnets, context) : undefined,
|
|
2762
2647
|
VpcConnectorArn: (0, smithy_client_1.expectString)(output.VpcConnectorArn),
|
|
2763
2648
|
VpcConnectorName: (0, smithy_client_1.expectString)(output.VpcConnectorName),
|
|
2764
2649
|
VpcConnectorRevision: (0, smithy_client_1.expectInt32)(output.VpcConnectorRevision),
|