@aws-sdk/client-voice-id 3.121.0 → 3.130.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_json1_0.js +137 -225
- package/dist-es/protocols/Aws_json1_0.js +102 -190
- package/package.json +26 -26
|
@@ -1759,114 +1759,101 @@ var deserializeAws_json1_0ValidationExceptionResponse = function (parsedOutput,
|
|
|
1759
1759
|
}); };
|
|
1760
1760
|
var serializeAws_json1_0CreateDomainRequest = function (input, context) {
|
|
1761
1761
|
var _a;
|
|
1762
|
-
return __assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description
|
|
1763
|
-
input.ServerSideEncryptionConfiguration !== null && {
|
|
1762
|
+
return __assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.ServerSideEncryptionConfiguration != null && {
|
|
1764
1763
|
ServerSideEncryptionConfiguration: serializeAws_json1_0ServerSideEncryptionConfiguration(input.ServerSideEncryptionConfiguration, context),
|
|
1765
|
-
})), (input.Tags
|
|
1764
|
+
})), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
1766
1765
|
};
|
|
1767
1766
|
var serializeAws_json1_0DeleteDomainRequest = function (input, context) {
|
|
1768
|
-
return __assign({}, (input.DomainId
|
|
1767
|
+
return __assign({}, (input.DomainId != null && { DomainId: input.DomainId }));
|
|
1769
1768
|
};
|
|
1770
1769
|
var serializeAws_json1_0DeleteFraudsterRequest = function (input, context) {
|
|
1771
|
-
return __assign(__assign({}, (input.DomainId
|
|
1770
|
+
return __assign(__assign({}, (input.DomainId != null && { DomainId: input.DomainId })), (input.FraudsterId != null && { FraudsterId: input.FraudsterId }));
|
|
1772
1771
|
};
|
|
1773
1772
|
var serializeAws_json1_0DeleteSpeakerRequest = function (input, context) {
|
|
1774
|
-
return __assign(__assign({}, (input.DomainId
|
|
1773
|
+
return __assign(__assign({}, (input.DomainId != null && { DomainId: input.DomainId })), (input.SpeakerId != null && { SpeakerId: input.SpeakerId }));
|
|
1775
1774
|
};
|
|
1776
1775
|
var serializeAws_json1_0DescribeDomainRequest = function (input, context) {
|
|
1777
|
-
return __assign({}, (input.DomainId
|
|
1776
|
+
return __assign({}, (input.DomainId != null && { DomainId: input.DomainId }));
|
|
1778
1777
|
};
|
|
1779
1778
|
var serializeAws_json1_0DescribeFraudsterRegistrationJobRequest = function (input, context) {
|
|
1780
|
-
return __assign(__assign({}, (input.DomainId
|
|
1779
|
+
return __assign(__assign({}, (input.DomainId != null && { DomainId: input.DomainId })), (input.JobId != null && { JobId: input.JobId }));
|
|
1781
1780
|
};
|
|
1782
1781
|
var serializeAws_json1_0DescribeFraudsterRequest = function (input, context) {
|
|
1783
|
-
return __assign(__assign({}, (input.DomainId
|
|
1782
|
+
return __assign(__assign({}, (input.DomainId != null && { DomainId: input.DomainId })), (input.FraudsterId != null && { FraudsterId: input.FraudsterId }));
|
|
1784
1783
|
};
|
|
1785
1784
|
var serializeAws_json1_0DescribeSpeakerEnrollmentJobRequest = function (input, context) {
|
|
1786
|
-
return __assign(__assign({}, (input.DomainId
|
|
1785
|
+
return __assign(__assign({}, (input.DomainId != null && { DomainId: input.DomainId })), (input.JobId != null && { JobId: input.JobId }));
|
|
1787
1786
|
};
|
|
1788
1787
|
var serializeAws_json1_0DescribeSpeakerRequest = function (input, context) {
|
|
1789
|
-
return __assign(__assign({}, (input.DomainId
|
|
1788
|
+
return __assign(__assign({}, (input.DomainId != null && { DomainId: input.DomainId })), (input.SpeakerId != null && { SpeakerId: input.SpeakerId }));
|
|
1790
1789
|
};
|
|
1791
1790
|
var serializeAws_json1_0EnrollmentConfig = function (input, context) {
|
|
1792
|
-
return __assign(__assign({}, (input.ExistingEnrollmentAction
|
|
1793
|
-
input.ExistingEnrollmentAction !== null && { ExistingEnrollmentAction: input.ExistingEnrollmentAction })), (input.FraudDetectionConfig !== undefined &&
|
|
1794
|
-
input.FraudDetectionConfig !== null && {
|
|
1791
|
+
return __assign(__assign({}, (input.ExistingEnrollmentAction != null && { ExistingEnrollmentAction: input.ExistingEnrollmentAction })), (input.FraudDetectionConfig != null && {
|
|
1795
1792
|
FraudDetectionConfig: serializeAws_json1_0EnrollmentJobFraudDetectionConfig(input.FraudDetectionConfig, context),
|
|
1796
1793
|
}));
|
|
1797
1794
|
};
|
|
1798
1795
|
var serializeAws_json1_0EnrollmentJobFraudDetectionConfig = function (input, context) {
|
|
1799
|
-
return __assign(__assign({}, (input.FraudDetectionAction
|
|
1800
|
-
input.FraudDetectionAction !== null && { FraudDetectionAction: input.FraudDetectionAction })), (input.RiskThreshold !== undefined && input.RiskThreshold !== null && { RiskThreshold: input.RiskThreshold }));
|
|
1796
|
+
return __assign(__assign({}, (input.FraudDetectionAction != null && { FraudDetectionAction: input.FraudDetectionAction })), (input.RiskThreshold != null && { RiskThreshold: input.RiskThreshold }));
|
|
1801
1797
|
};
|
|
1802
1798
|
var serializeAws_json1_0EvaluateSessionRequest = function (input, context) {
|
|
1803
|
-
return __assign(__assign({}, (input.DomainId
|
|
1804
|
-
input.SessionNameOrId !== null && { SessionNameOrId: input.SessionNameOrId }));
|
|
1799
|
+
return __assign(__assign({}, (input.DomainId != null && { DomainId: input.DomainId })), (input.SessionNameOrId != null && { SessionNameOrId: input.SessionNameOrId }));
|
|
1805
1800
|
};
|
|
1806
1801
|
var serializeAws_json1_0InputDataConfig = function (input, context) {
|
|
1807
|
-
return __assign({}, (input.S3Uri
|
|
1802
|
+
return __assign({}, (input.S3Uri != null && { S3Uri: input.S3Uri }));
|
|
1808
1803
|
};
|
|
1809
1804
|
var serializeAws_json1_0ListDomainsRequest = function (input, context) {
|
|
1810
|
-
return __assign(__assign({}, (input.MaxResults
|
|
1805
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
1811
1806
|
};
|
|
1812
1807
|
var serializeAws_json1_0ListFraudsterRegistrationJobsRequest = function (input, context) {
|
|
1813
|
-
return __assign(__assign(__assign(__assign({}, (input.DomainId
|
|
1808
|
+
return __assign(__assign(__assign(__assign({}, (input.DomainId != null && { DomainId: input.DomainId })), (input.JobStatus != null && { JobStatus: input.JobStatus })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
1814
1809
|
};
|
|
1815
1810
|
var serializeAws_json1_0ListSpeakerEnrollmentJobsRequest = function (input, context) {
|
|
1816
|
-
return __assign(__assign(__assign(__assign({}, (input.DomainId
|
|
1811
|
+
return __assign(__assign(__assign(__assign({}, (input.DomainId != null && { DomainId: input.DomainId })), (input.JobStatus != null && { JobStatus: input.JobStatus })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
1817
1812
|
};
|
|
1818
1813
|
var serializeAws_json1_0ListSpeakersRequest = function (input, context) {
|
|
1819
|
-
return __assign(__assign(__assign({}, (input.DomainId
|
|
1814
|
+
return __assign(__assign(__assign({}, (input.DomainId != null && { DomainId: input.DomainId })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
1820
1815
|
};
|
|
1821
1816
|
var serializeAws_json1_0ListTagsForResourceRequest = function (input, context) {
|
|
1822
|
-
return __assign({}, (input.ResourceArn
|
|
1817
|
+
return __assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
1823
1818
|
};
|
|
1824
1819
|
var serializeAws_json1_0OptOutSpeakerRequest = function (input, context) {
|
|
1825
|
-
return __assign(__assign({}, (input.DomainId
|
|
1820
|
+
return __assign(__assign({}, (input.DomainId != null && { DomainId: input.DomainId })), (input.SpeakerId != null && { SpeakerId: input.SpeakerId }));
|
|
1826
1821
|
};
|
|
1827
1822
|
var serializeAws_json1_0OutputDataConfig = function (input, context) {
|
|
1828
|
-
return __assign(__assign({}, (input.KmsKeyId
|
|
1823
|
+
return __assign(__assign({}, (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId })), (input.S3Uri != null && { S3Uri: input.S3Uri }));
|
|
1829
1824
|
};
|
|
1830
1825
|
var serializeAws_json1_0RegistrationConfig = function (input, context) {
|
|
1831
|
-
return __assign(__assign({}, (input.DuplicateRegistrationAction
|
|
1832
|
-
|
|
1833
|
-
|
|
1826
|
+
return __assign(__assign({}, (input.DuplicateRegistrationAction != null && {
|
|
1827
|
+
DuplicateRegistrationAction: input.DuplicateRegistrationAction,
|
|
1828
|
+
})), (input.FraudsterSimilarityThreshold != null && {
|
|
1834
1829
|
FraudsterSimilarityThreshold: input.FraudsterSimilarityThreshold,
|
|
1835
1830
|
}));
|
|
1836
1831
|
};
|
|
1837
1832
|
var serializeAws_json1_0ServerSideEncryptionConfiguration = function (input, context) {
|
|
1838
|
-
return __assign({}, (input.KmsKeyId
|
|
1833
|
+
return __assign({}, (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }));
|
|
1839
1834
|
};
|
|
1840
1835
|
var serializeAws_json1_0StartFraudsterRegistrationJobRequest = function (input, context) {
|
|
1841
1836
|
var _a;
|
|
1842
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.DataAccessRoleArn
|
|
1843
|
-
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn })), (input.DomainId !== undefined && input.DomainId !== null && { DomainId: input.DomainId })), (input.InputDataConfig !== undefined &&
|
|
1844
|
-
input.InputDataConfig !== null && {
|
|
1837
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn })), (input.DomainId != null && { DomainId: input.DomainId })), (input.InputDataConfig != null && {
|
|
1845
1838
|
InputDataConfig: serializeAws_json1_0InputDataConfig(input.InputDataConfig, context),
|
|
1846
|
-
})), (input.JobName
|
|
1847
|
-
input.OutputDataConfig !== null && {
|
|
1839
|
+
})), (input.JobName != null && { JobName: input.JobName })), (input.OutputDataConfig != null && {
|
|
1848
1840
|
OutputDataConfig: serializeAws_json1_0OutputDataConfig(input.OutputDataConfig, context),
|
|
1849
|
-
})), (input.RegistrationConfig
|
|
1850
|
-
input.RegistrationConfig !== null && {
|
|
1841
|
+
})), (input.RegistrationConfig != null && {
|
|
1851
1842
|
RegistrationConfig: serializeAws_json1_0RegistrationConfig(input.RegistrationConfig, context),
|
|
1852
1843
|
}));
|
|
1853
1844
|
};
|
|
1854
1845
|
var serializeAws_json1_0StartSpeakerEnrollmentJobRequest = function (input, context) {
|
|
1855
1846
|
var _a;
|
|
1856
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.DataAccessRoleArn
|
|
1857
|
-
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn })), (input.DomainId !== undefined && input.DomainId !== null && { DomainId: input.DomainId })), (input.EnrollmentConfig !== undefined &&
|
|
1858
|
-
input.EnrollmentConfig !== null && {
|
|
1847
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({ ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn })), (input.DomainId != null && { DomainId: input.DomainId })), (input.EnrollmentConfig != null && {
|
|
1859
1848
|
EnrollmentConfig: serializeAws_json1_0EnrollmentConfig(input.EnrollmentConfig, context),
|
|
1860
|
-
})), (input.InputDataConfig
|
|
1861
|
-
input.InputDataConfig !== null && {
|
|
1849
|
+
})), (input.InputDataConfig != null && {
|
|
1862
1850
|
InputDataConfig: serializeAws_json1_0InputDataConfig(input.InputDataConfig, context),
|
|
1863
|
-
})), (input.JobName
|
|
1864
|
-
input.OutputDataConfig !== null && {
|
|
1851
|
+
})), (input.JobName != null && { JobName: input.JobName })), (input.OutputDataConfig != null && {
|
|
1865
1852
|
OutputDataConfig: serializeAws_json1_0OutputDataConfig(input.OutputDataConfig, context),
|
|
1866
1853
|
}));
|
|
1867
1854
|
};
|
|
1868
1855
|
var serializeAws_json1_0Tag = function (input, context) {
|
|
1869
|
-
return __assign(__assign({}, (input.Key
|
|
1856
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
1870
1857
|
};
|
|
1871
1858
|
var serializeAws_json1_0TagKeyList = function (input, context) {
|
|
1872
1859
|
return input
|
|
@@ -1889,15 +1876,13 @@ var serializeAws_json1_0TagList = function (input, context) {
|
|
|
1889
1876
|
});
|
|
1890
1877
|
};
|
|
1891
1878
|
var serializeAws_json1_0TagResourceRequest = function (input, context) {
|
|
1892
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
1879
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }));
|
|
1893
1880
|
};
|
|
1894
1881
|
var serializeAws_json1_0UntagResourceRequest = function (input, context) {
|
|
1895
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
1896
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }));
|
|
1882
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_0TagKeyList(input.TagKeys, context) }));
|
|
1897
1883
|
};
|
|
1898
1884
|
var serializeAws_json1_0UpdateDomainRequest = function (input, context) {
|
|
1899
|
-
return __assign(__assign(__assign(__assign({}, (input.Description
|
|
1900
|
-
input.ServerSideEncryptionConfiguration !== null && {
|
|
1885
|
+
return __assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.DomainId != null && { DomainId: input.DomainId })), (input.Name != null && { Name: input.Name })), (input.ServerSideEncryptionConfiguration != null && {
|
|
1901
1886
|
ServerSideEncryptionConfiguration: serializeAws_json1_0ServerSideEncryptionConfiguration(input.ServerSideEncryptionConfiguration, context),
|
|
1902
1887
|
}));
|
|
1903
1888
|
};
|
|
@@ -1913,14 +1898,14 @@ var deserializeAws_json1_0AuthenticationConfiguration = function (output, contex
|
|
|
1913
1898
|
};
|
|
1914
1899
|
var deserializeAws_json1_0AuthenticationResult = function (output, context) {
|
|
1915
1900
|
return {
|
|
1916
|
-
AudioAggregationEndedAt: output.AudioAggregationEndedAt
|
|
1901
|
+
AudioAggregationEndedAt: output.AudioAggregationEndedAt != null
|
|
1917
1902
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AudioAggregationEndedAt)))
|
|
1918
1903
|
: undefined,
|
|
1919
|
-
AudioAggregationStartedAt: output.AudioAggregationStartedAt
|
|
1904
|
+
AudioAggregationStartedAt: output.AudioAggregationStartedAt != null
|
|
1920
1905
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AudioAggregationStartedAt)))
|
|
1921
1906
|
: undefined,
|
|
1922
1907
|
AuthenticationResultId: __expectString(output.AuthenticationResultId),
|
|
1923
|
-
Configuration: output.Configuration
|
|
1908
|
+
Configuration: output.Configuration != null
|
|
1924
1909
|
? deserializeAws_json1_0AuthenticationConfiguration(output.Configuration, context)
|
|
1925
1910
|
: undefined,
|
|
1926
1911
|
CustomerSpeakerId: __expectString(output.CustomerSpeakerId),
|
|
@@ -1937,65 +1922,49 @@ var deserializeAws_json1_0ConflictException = function (output, context) {
|
|
|
1937
1922
|
};
|
|
1938
1923
|
var deserializeAws_json1_0CreateDomainResponse = function (output, context) {
|
|
1939
1924
|
return {
|
|
1940
|
-
Domain: output.Domain
|
|
1941
|
-
? deserializeAws_json1_0Domain(output.Domain, context)
|
|
1942
|
-
: undefined,
|
|
1925
|
+
Domain: output.Domain != null ? deserializeAws_json1_0Domain(output.Domain, context) : undefined,
|
|
1943
1926
|
};
|
|
1944
1927
|
};
|
|
1945
1928
|
var deserializeAws_json1_0DescribeDomainResponse = function (output, context) {
|
|
1946
1929
|
return {
|
|
1947
|
-
Domain: output.Domain
|
|
1948
|
-
? deserializeAws_json1_0Domain(output.Domain, context)
|
|
1949
|
-
: undefined,
|
|
1930
|
+
Domain: output.Domain != null ? deserializeAws_json1_0Domain(output.Domain, context) : undefined,
|
|
1950
1931
|
};
|
|
1951
1932
|
};
|
|
1952
1933
|
var deserializeAws_json1_0DescribeFraudsterRegistrationJobResponse = function (output, context) {
|
|
1953
1934
|
return {
|
|
1954
|
-
Job: output.Job
|
|
1955
|
-
? deserializeAws_json1_0FraudsterRegistrationJob(output.Job, context)
|
|
1956
|
-
: undefined,
|
|
1935
|
+
Job: output.Job != null ? deserializeAws_json1_0FraudsterRegistrationJob(output.Job, context) : undefined,
|
|
1957
1936
|
};
|
|
1958
1937
|
};
|
|
1959
1938
|
var deserializeAws_json1_0DescribeFraudsterResponse = function (output, context) {
|
|
1960
1939
|
return {
|
|
1961
|
-
Fraudster: output.Fraudster
|
|
1962
|
-
? deserializeAws_json1_0Fraudster(output.Fraudster, context)
|
|
1963
|
-
: undefined,
|
|
1940
|
+
Fraudster: output.Fraudster != null ? deserializeAws_json1_0Fraudster(output.Fraudster, context) : undefined,
|
|
1964
1941
|
};
|
|
1965
1942
|
};
|
|
1966
1943
|
var deserializeAws_json1_0DescribeSpeakerEnrollmentJobResponse = function (output, context) {
|
|
1967
1944
|
return {
|
|
1968
|
-
Job: output.Job
|
|
1969
|
-
? deserializeAws_json1_0SpeakerEnrollmentJob(output.Job, context)
|
|
1970
|
-
: undefined,
|
|
1945
|
+
Job: output.Job != null ? deserializeAws_json1_0SpeakerEnrollmentJob(output.Job, context) : undefined,
|
|
1971
1946
|
};
|
|
1972
1947
|
};
|
|
1973
1948
|
var deserializeAws_json1_0DescribeSpeakerResponse = function (output, context) {
|
|
1974
1949
|
return {
|
|
1975
|
-
Speaker: output.Speaker
|
|
1976
|
-
? deserializeAws_json1_0Speaker(output.Speaker, context)
|
|
1977
|
-
: undefined,
|
|
1950
|
+
Speaker: output.Speaker != null ? deserializeAws_json1_0Speaker(output.Speaker, context) : undefined,
|
|
1978
1951
|
};
|
|
1979
1952
|
};
|
|
1980
1953
|
var deserializeAws_json1_0Domain = function (output, context) {
|
|
1981
1954
|
return {
|
|
1982
1955
|
Arn: __expectString(output.Arn),
|
|
1983
|
-
CreatedAt: output.CreatedAt
|
|
1984
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
1985
|
-
: undefined,
|
|
1956
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
1986
1957
|
Description: __expectString(output.Description),
|
|
1987
1958
|
DomainId: __expectString(output.DomainId),
|
|
1988
1959
|
DomainStatus: __expectString(output.DomainStatus),
|
|
1989
1960
|
Name: __expectString(output.Name),
|
|
1990
|
-
ServerSideEncryptionConfiguration: output.ServerSideEncryptionConfiguration
|
|
1961
|
+
ServerSideEncryptionConfiguration: output.ServerSideEncryptionConfiguration != null
|
|
1991
1962
|
? deserializeAws_json1_0ServerSideEncryptionConfiguration(output.ServerSideEncryptionConfiguration, context)
|
|
1992
1963
|
: undefined,
|
|
1993
|
-
ServerSideEncryptionUpdateDetails: output.ServerSideEncryptionUpdateDetails
|
|
1964
|
+
ServerSideEncryptionUpdateDetails: output.ServerSideEncryptionUpdateDetails != null
|
|
1994
1965
|
? deserializeAws_json1_0ServerSideEncryptionUpdateDetails(output.ServerSideEncryptionUpdateDetails, context)
|
|
1995
1966
|
: undefined,
|
|
1996
|
-
UpdatedAt: output.UpdatedAt
|
|
1997
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
1998
|
-
: undefined,
|
|
1967
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
1999
1968
|
};
|
|
2000
1969
|
};
|
|
2001
1970
|
var deserializeAws_json1_0DomainSummaries = function (output, context) {
|
|
@@ -2012,28 +1981,24 @@ var deserializeAws_json1_0DomainSummaries = function (output, context) {
|
|
|
2012
1981
|
var deserializeAws_json1_0DomainSummary = function (output, context) {
|
|
2013
1982
|
return {
|
|
2014
1983
|
Arn: __expectString(output.Arn),
|
|
2015
|
-
CreatedAt: output.CreatedAt
|
|
2016
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2017
|
-
: undefined,
|
|
1984
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2018
1985
|
Description: __expectString(output.Description),
|
|
2019
1986
|
DomainId: __expectString(output.DomainId),
|
|
2020
1987
|
DomainStatus: __expectString(output.DomainStatus),
|
|
2021
1988
|
Name: __expectString(output.Name),
|
|
2022
|
-
ServerSideEncryptionConfiguration: output.ServerSideEncryptionConfiguration
|
|
1989
|
+
ServerSideEncryptionConfiguration: output.ServerSideEncryptionConfiguration != null
|
|
2023
1990
|
? deserializeAws_json1_0ServerSideEncryptionConfiguration(output.ServerSideEncryptionConfiguration, context)
|
|
2024
1991
|
: undefined,
|
|
2025
|
-
ServerSideEncryptionUpdateDetails: output.ServerSideEncryptionUpdateDetails
|
|
1992
|
+
ServerSideEncryptionUpdateDetails: output.ServerSideEncryptionUpdateDetails != null
|
|
2026
1993
|
? deserializeAws_json1_0ServerSideEncryptionUpdateDetails(output.ServerSideEncryptionUpdateDetails, context)
|
|
2027
1994
|
: undefined,
|
|
2028
|
-
UpdatedAt: output.UpdatedAt
|
|
2029
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
2030
|
-
: undefined,
|
|
1995
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
2031
1996
|
};
|
|
2032
1997
|
};
|
|
2033
1998
|
var deserializeAws_json1_0EnrollmentConfig = function (output, context) {
|
|
2034
1999
|
return {
|
|
2035
2000
|
ExistingEnrollmentAction: __expectString(output.ExistingEnrollmentAction),
|
|
2036
|
-
FraudDetectionConfig: output.FraudDetectionConfig
|
|
2001
|
+
FraudDetectionConfig: output.FraudDetectionConfig != null
|
|
2037
2002
|
? deserializeAws_json1_0EnrollmentJobFraudDetectionConfig(output.FraudDetectionConfig, context)
|
|
2038
2003
|
: undefined,
|
|
2039
2004
|
};
|
|
@@ -2046,11 +2011,11 @@ var deserializeAws_json1_0EnrollmentJobFraudDetectionConfig = function (output,
|
|
|
2046
2011
|
};
|
|
2047
2012
|
var deserializeAws_json1_0EvaluateSessionResponse = function (output, context) {
|
|
2048
2013
|
return {
|
|
2049
|
-
AuthenticationResult: output.AuthenticationResult
|
|
2014
|
+
AuthenticationResult: output.AuthenticationResult != null
|
|
2050
2015
|
? deserializeAws_json1_0AuthenticationResult(output.AuthenticationResult, context)
|
|
2051
2016
|
: undefined,
|
|
2052
2017
|
DomainId: __expectString(output.DomainId),
|
|
2053
|
-
FraudDetectionResult: output.FraudDetectionResult
|
|
2018
|
+
FraudDetectionResult: output.FraudDetectionResult != null
|
|
2054
2019
|
? deserializeAws_json1_0FraudDetectionResult(output.FraudDetectionResult, context)
|
|
2055
2020
|
: undefined,
|
|
2056
2021
|
SessionId: __expectString(output.SessionId),
|
|
@@ -2082,67 +2047,53 @@ var deserializeAws_json1_0FraudDetectionReasons = function (output, context) {
|
|
|
2082
2047
|
};
|
|
2083
2048
|
var deserializeAws_json1_0FraudDetectionResult = function (output, context) {
|
|
2084
2049
|
return {
|
|
2085
|
-
AudioAggregationEndedAt: output.AudioAggregationEndedAt
|
|
2050
|
+
AudioAggregationEndedAt: output.AudioAggregationEndedAt != null
|
|
2086
2051
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AudioAggregationEndedAt)))
|
|
2087
2052
|
: undefined,
|
|
2088
|
-
AudioAggregationStartedAt: output.AudioAggregationStartedAt
|
|
2053
|
+
AudioAggregationStartedAt: output.AudioAggregationStartedAt != null
|
|
2089
2054
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AudioAggregationStartedAt)))
|
|
2090
2055
|
: undefined,
|
|
2091
|
-
Configuration: output.Configuration
|
|
2056
|
+
Configuration: output.Configuration != null
|
|
2092
2057
|
? deserializeAws_json1_0FraudDetectionConfiguration(output.Configuration, context)
|
|
2093
2058
|
: undefined,
|
|
2094
2059
|
Decision: __expectString(output.Decision),
|
|
2095
2060
|
FraudDetectionResultId: __expectString(output.FraudDetectionResultId),
|
|
2096
|
-
Reasons: output.Reasons
|
|
2097
|
-
|
|
2098
|
-
: undefined,
|
|
2099
|
-
RiskDetails: output.RiskDetails !== undefined && output.RiskDetails !== null
|
|
2100
|
-
? deserializeAws_json1_0FraudRiskDetails(output.RiskDetails, context)
|
|
2101
|
-
: undefined,
|
|
2061
|
+
Reasons: output.Reasons != null ? deserializeAws_json1_0FraudDetectionReasons(output.Reasons, context) : undefined,
|
|
2062
|
+
RiskDetails: output.RiskDetails != null ? deserializeAws_json1_0FraudRiskDetails(output.RiskDetails, context) : undefined,
|
|
2102
2063
|
};
|
|
2103
2064
|
};
|
|
2104
2065
|
var deserializeAws_json1_0FraudRiskDetails = function (output, context) {
|
|
2105
2066
|
return {
|
|
2106
|
-
KnownFraudsterRisk: output.KnownFraudsterRisk
|
|
2067
|
+
KnownFraudsterRisk: output.KnownFraudsterRisk != null
|
|
2107
2068
|
? deserializeAws_json1_0KnownFraudsterRisk(output.KnownFraudsterRisk, context)
|
|
2108
2069
|
: undefined,
|
|
2109
2070
|
};
|
|
2110
2071
|
};
|
|
2111
2072
|
var deserializeAws_json1_0Fraudster = function (output, context) {
|
|
2112
2073
|
return {
|
|
2113
|
-
CreatedAt: output.CreatedAt
|
|
2114
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2115
|
-
: undefined,
|
|
2074
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2116
2075
|
DomainId: __expectString(output.DomainId),
|
|
2117
2076
|
GeneratedFraudsterId: __expectString(output.GeneratedFraudsterId),
|
|
2118
2077
|
};
|
|
2119
2078
|
};
|
|
2120
2079
|
var deserializeAws_json1_0FraudsterRegistrationJob = function (output, context) {
|
|
2121
2080
|
return {
|
|
2122
|
-
CreatedAt: output.CreatedAt
|
|
2123
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2124
|
-
: undefined,
|
|
2081
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2125
2082
|
DataAccessRoleArn: __expectString(output.DataAccessRoleArn),
|
|
2126
2083
|
DomainId: __expectString(output.DomainId),
|
|
2127
|
-
EndedAt: output.EndedAt
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
FailureDetails: output.FailureDetails !== undefined && output.FailureDetails !== null
|
|
2131
|
-
? deserializeAws_json1_0FailureDetails(output.FailureDetails, context)
|
|
2132
|
-
: undefined,
|
|
2133
|
-
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
2084
|
+
EndedAt: output.EndedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndedAt))) : undefined,
|
|
2085
|
+
FailureDetails: output.FailureDetails != null ? deserializeAws_json1_0FailureDetails(output.FailureDetails, context) : undefined,
|
|
2086
|
+
InputDataConfig: output.InputDataConfig != null
|
|
2134
2087
|
? deserializeAws_json1_0InputDataConfig(output.InputDataConfig, context)
|
|
2135
2088
|
: undefined,
|
|
2136
2089
|
JobId: __expectString(output.JobId),
|
|
2137
2090
|
JobName: __expectString(output.JobName),
|
|
2138
|
-
JobProgress: output.JobProgress
|
|
2139
|
-
? deserializeAws_json1_0JobProgress(output.JobProgress, context)
|
|
2140
|
-
: undefined,
|
|
2091
|
+
JobProgress: output.JobProgress != null ? deserializeAws_json1_0JobProgress(output.JobProgress, context) : undefined,
|
|
2141
2092
|
JobStatus: __expectString(output.JobStatus),
|
|
2142
|
-
OutputDataConfig: output.OutputDataConfig
|
|
2093
|
+
OutputDataConfig: output.OutputDataConfig != null
|
|
2143
2094
|
? deserializeAws_json1_0OutputDataConfig(output.OutputDataConfig, context)
|
|
2144
2095
|
: undefined,
|
|
2145
|
-
RegistrationConfig: output.RegistrationConfig
|
|
2096
|
+
RegistrationConfig: output.RegistrationConfig != null
|
|
2146
2097
|
? deserializeAws_json1_0RegistrationConfig(output.RegistrationConfig, context)
|
|
2147
2098
|
: undefined,
|
|
2148
2099
|
};
|
|
@@ -2160,21 +2111,13 @@ var deserializeAws_json1_0FraudsterRegistrationJobSummaries = function (output,
|
|
|
2160
2111
|
};
|
|
2161
2112
|
var deserializeAws_json1_0FraudsterRegistrationJobSummary = function (output, context) {
|
|
2162
2113
|
return {
|
|
2163
|
-
CreatedAt: output.CreatedAt
|
|
2164
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2165
|
-
: undefined,
|
|
2114
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2166
2115
|
DomainId: __expectString(output.DomainId),
|
|
2167
|
-
EndedAt: output.EndedAt
|
|
2168
|
-
|
|
2169
|
-
: undefined,
|
|
2170
|
-
FailureDetails: output.FailureDetails !== undefined && output.FailureDetails !== null
|
|
2171
|
-
? deserializeAws_json1_0FailureDetails(output.FailureDetails, context)
|
|
2172
|
-
: undefined,
|
|
2116
|
+
EndedAt: output.EndedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndedAt))) : undefined,
|
|
2117
|
+
FailureDetails: output.FailureDetails != null ? deserializeAws_json1_0FailureDetails(output.FailureDetails, context) : undefined,
|
|
2173
2118
|
JobId: __expectString(output.JobId),
|
|
2174
2119
|
JobName: __expectString(output.JobName),
|
|
2175
|
-
JobProgress: output.JobProgress
|
|
2176
|
-
? deserializeAws_json1_0JobProgress(output.JobProgress, context)
|
|
2177
|
-
: undefined,
|
|
2120
|
+
JobProgress: output.JobProgress != null ? deserializeAws_json1_0JobProgress(output.JobProgress, context) : undefined,
|
|
2178
2121
|
JobStatus: __expectString(output.JobStatus),
|
|
2179
2122
|
};
|
|
2180
2123
|
};
|
|
@@ -2201,7 +2144,7 @@ var deserializeAws_json1_0KnownFraudsterRisk = function (output, context) {
|
|
|
2201
2144
|
};
|
|
2202
2145
|
var deserializeAws_json1_0ListDomainsResponse = function (output, context) {
|
|
2203
2146
|
return {
|
|
2204
|
-
DomainSummaries: output.DomainSummaries
|
|
2147
|
+
DomainSummaries: output.DomainSummaries != null
|
|
2205
2148
|
? deserializeAws_json1_0DomainSummaries(output.DomainSummaries, context)
|
|
2206
2149
|
: undefined,
|
|
2207
2150
|
NextToken: __expectString(output.NextToken),
|
|
@@ -2209,7 +2152,7 @@ var deserializeAws_json1_0ListDomainsResponse = function (output, context) {
|
|
|
2209
2152
|
};
|
|
2210
2153
|
var deserializeAws_json1_0ListFraudsterRegistrationJobsResponse = function (output, context) {
|
|
2211
2154
|
return {
|
|
2212
|
-
JobSummaries: output.JobSummaries
|
|
2155
|
+
JobSummaries: output.JobSummaries != null
|
|
2213
2156
|
? deserializeAws_json1_0FraudsterRegistrationJobSummaries(output.JobSummaries, context)
|
|
2214
2157
|
: undefined,
|
|
2215
2158
|
NextToken: __expectString(output.NextToken),
|
|
@@ -2217,7 +2160,7 @@ var deserializeAws_json1_0ListFraudsterRegistrationJobsResponse = function (outp
|
|
|
2217
2160
|
};
|
|
2218
2161
|
var deserializeAws_json1_0ListSpeakerEnrollmentJobsResponse = function (output, context) {
|
|
2219
2162
|
return {
|
|
2220
|
-
JobSummaries: output.JobSummaries
|
|
2163
|
+
JobSummaries: output.JobSummaries != null
|
|
2221
2164
|
? deserializeAws_json1_0SpeakerEnrollmentJobSummaries(output.JobSummaries, context)
|
|
2222
2165
|
: undefined,
|
|
2223
2166
|
NextToken: __expectString(output.NextToken),
|
|
@@ -2226,23 +2169,19 @@ var deserializeAws_json1_0ListSpeakerEnrollmentJobsResponse = function (output,
|
|
|
2226
2169
|
var deserializeAws_json1_0ListSpeakersResponse = function (output, context) {
|
|
2227
2170
|
return {
|
|
2228
2171
|
NextToken: __expectString(output.NextToken),
|
|
2229
|
-
SpeakerSummaries: output.SpeakerSummaries
|
|
2172
|
+
SpeakerSummaries: output.SpeakerSummaries != null
|
|
2230
2173
|
? deserializeAws_json1_0SpeakerSummaries(output.SpeakerSummaries, context)
|
|
2231
2174
|
: undefined,
|
|
2232
2175
|
};
|
|
2233
2176
|
};
|
|
2234
2177
|
var deserializeAws_json1_0ListTagsForResourceResponse = function (output, context) {
|
|
2235
2178
|
return {
|
|
2236
|
-
Tags: output.Tags
|
|
2237
|
-
? deserializeAws_json1_0TagList(output.Tags, context)
|
|
2238
|
-
: undefined,
|
|
2179
|
+
Tags: output.Tags != null ? deserializeAws_json1_0TagList(output.Tags, context) : undefined,
|
|
2239
2180
|
};
|
|
2240
2181
|
};
|
|
2241
2182
|
var deserializeAws_json1_0OptOutSpeakerResponse = function (output, context) {
|
|
2242
2183
|
return {
|
|
2243
|
-
Speaker: output.Speaker
|
|
2244
|
-
? deserializeAws_json1_0Speaker(output.Speaker, context)
|
|
2245
|
-
: undefined,
|
|
2184
|
+
Speaker: output.Speaker != null ? deserializeAws_json1_0Speaker(output.Speaker, context) : undefined,
|
|
2246
2185
|
};
|
|
2247
2186
|
};
|
|
2248
2187
|
var deserializeAws_json1_0OutputDataConfig = function (output, context) {
|
|
@@ -2282,47 +2221,35 @@ var deserializeAws_json1_0ServiceQuotaExceededException = function (output, cont
|
|
|
2282
2221
|
};
|
|
2283
2222
|
var deserializeAws_json1_0Speaker = function (output, context) {
|
|
2284
2223
|
return {
|
|
2285
|
-
CreatedAt: output.CreatedAt
|
|
2286
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2287
|
-
: undefined,
|
|
2224
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2288
2225
|
CustomerSpeakerId: __expectString(output.CustomerSpeakerId),
|
|
2289
2226
|
DomainId: __expectString(output.DomainId),
|
|
2290
2227
|
GeneratedSpeakerId: __expectString(output.GeneratedSpeakerId),
|
|
2291
|
-
LastAccessedAt: output.LastAccessedAt
|
|
2228
|
+
LastAccessedAt: output.LastAccessedAt != null
|
|
2292
2229
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAccessedAt)))
|
|
2293
2230
|
: undefined,
|
|
2294
2231
|
Status: __expectString(output.Status),
|
|
2295
|
-
UpdatedAt: output.UpdatedAt
|
|
2296
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
2297
|
-
: undefined,
|
|
2232
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
2298
2233
|
};
|
|
2299
2234
|
};
|
|
2300
2235
|
var deserializeAws_json1_0SpeakerEnrollmentJob = function (output, context) {
|
|
2301
2236
|
return {
|
|
2302
|
-
CreatedAt: output.CreatedAt
|
|
2303
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2304
|
-
: undefined,
|
|
2237
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2305
2238
|
DataAccessRoleArn: __expectString(output.DataAccessRoleArn),
|
|
2306
2239
|
DomainId: __expectString(output.DomainId),
|
|
2307
|
-
EndedAt: output.EndedAt
|
|
2308
|
-
|
|
2309
|
-
: undefined,
|
|
2310
|
-
EnrollmentConfig: output.EnrollmentConfig !== undefined && output.EnrollmentConfig !== null
|
|
2240
|
+
EndedAt: output.EndedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndedAt))) : undefined,
|
|
2241
|
+
EnrollmentConfig: output.EnrollmentConfig != null
|
|
2311
2242
|
? deserializeAws_json1_0EnrollmentConfig(output.EnrollmentConfig, context)
|
|
2312
2243
|
: undefined,
|
|
2313
|
-
FailureDetails: output.FailureDetails
|
|
2314
|
-
|
|
2315
|
-
: undefined,
|
|
2316
|
-
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
2244
|
+
FailureDetails: output.FailureDetails != null ? deserializeAws_json1_0FailureDetails(output.FailureDetails, context) : undefined,
|
|
2245
|
+
InputDataConfig: output.InputDataConfig != null
|
|
2317
2246
|
? deserializeAws_json1_0InputDataConfig(output.InputDataConfig, context)
|
|
2318
2247
|
: undefined,
|
|
2319
2248
|
JobId: __expectString(output.JobId),
|
|
2320
2249
|
JobName: __expectString(output.JobName),
|
|
2321
|
-
JobProgress: output.JobProgress
|
|
2322
|
-
? deserializeAws_json1_0JobProgress(output.JobProgress, context)
|
|
2323
|
-
: undefined,
|
|
2250
|
+
JobProgress: output.JobProgress != null ? deserializeAws_json1_0JobProgress(output.JobProgress, context) : undefined,
|
|
2324
2251
|
JobStatus: __expectString(output.JobStatus),
|
|
2325
|
-
OutputDataConfig: output.OutputDataConfig
|
|
2252
|
+
OutputDataConfig: output.OutputDataConfig != null
|
|
2326
2253
|
? deserializeAws_json1_0OutputDataConfig(output.OutputDataConfig, context)
|
|
2327
2254
|
: undefined,
|
|
2328
2255
|
};
|
|
@@ -2340,21 +2267,13 @@ var deserializeAws_json1_0SpeakerEnrollmentJobSummaries = function (output, cont
|
|
|
2340
2267
|
};
|
|
2341
2268
|
var deserializeAws_json1_0SpeakerEnrollmentJobSummary = function (output, context) {
|
|
2342
2269
|
return {
|
|
2343
|
-
CreatedAt: output.CreatedAt
|
|
2344
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2345
|
-
: undefined,
|
|
2270
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2346
2271
|
DomainId: __expectString(output.DomainId),
|
|
2347
|
-
EndedAt: output.EndedAt
|
|
2348
|
-
|
|
2349
|
-
: undefined,
|
|
2350
|
-
FailureDetails: output.FailureDetails !== undefined && output.FailureDetails !== null
|
|
2351
|
-
? deserializeAws_json1_0FailureDetails(output.FailureDetails, context)
|
|
2352
|
-
: undefined,
|
|
2272
|
+
EndedAt: output.EndedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndedAt))) : undefined,
|
|
2273
|
+
FailureDetails: output.FailureDetails != null ? deserializeAws_json1_0FailureDetails(output.FailureDetails, context) : undefined,
|
|
2353
2274
|
JobId: __expectString(output.JobId),
|
|
2354
2275
|
JobName: __expectString(output.JobName),
|
|
2355
|
-
JobProgress: output.JobProgress
|
|
2356
|
-
? deserializeAws_json1_0JobProgress(output.JobProgress, context)
|
|
2357
|
-
: undefined,
|
|
2276
|
+
JobProgress: output.JobProgress != null ? deserializeAws_json1_0JobProgress(output.JobProgress, context) : undefined,
|
|
2358
2277
|
JobStatus: __expectString(output.JobStatus),
|
|
2359
2278
|
};
|
|
2360
2279
|
};
|
|
@@ -2371,33 +2290,25 @@ var deserializeAws_json1_0SpeakerSummaries = function (output, context) {
|
|
|
2371
2290
|
};
|
|
2372
2291
|
var deserializeAws_json1_0SpeakerSummary = function (output, context) {
|
|
2373
2292
|
return {
|
|
2374
|
-
CreatedAt: output.CreatedAt
|
|
2375
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2376
|
-
: undefined,
|
|
2293
|
+
CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
|
|
2377
2294
|
CustomerSpeakerId: __expectString(output.CustomerSpeakerId),
|
|
2378
2295
|
DomainId: __expectString(output.DomainId),
|
|
2379
2296
|
GeneratedSpeakerId: __expectString(output.GeneratedSpeakerId),
|
|
2380
|
-
LastAccessedAt: output.LastAccessedAt
|
|
2297
|
+
LastAccessedAt: output.LastAccessedAt != null
|
|
2381
2298
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAccessedAt)))
|
|
2382
2299
|
: undefined,
|
|
2383
2300
|
Status: __expectString(output.Status),
|
|
2384
|
-
UpdatedAt: output.UpdatedAt
|
|
2385
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt)))
|
|
2386
|
-
: undefined,
|
|
2301
|
+
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
2387
2302
|
};
|
|
2388
2303
|
};
|
|
2389
2304
|
var deserializeAws_json1_0StartFraudsterRegistrationJobResponse = function (output, context) {
|
|
2390
2305
|
return {
|
|
2391
|
-
Job: output.Job
|
|
2392
|
-
? deserializeAws_json1_0FraudsterRegistrationJob(output.Job, context)
|
|
2393
|
-
: undefined,
|
|
2306
|
+
Job: output.Job != null ? deserializeAws_json1_0FraudsterRegistrationJob(output.Job, context) : undefined,
|
|
2394
2307
|
};
|
|
2395
2308
|
};
|
|
2396
2309
|
var deserializeAws_json1_0StartSpeakerEnrollmentJobResponse = function (output, context) {
|
|
2397
2310
|
return {
|
|
2398
|
-
Job: output.Job
|
|
2399
|
-
? deserializeAws_json1_0SpeakerEnrollmentJob(output.Job, context)
|
|
2400
|
-
: undefined,
|
|
2311
|
+
Job: output.Job != null ? deserializeAws_json1_0SpeakerEnrollmentJob(output.Job, context) : undefined,
|
|
2401
2312
|
};
|
|
2402
2313
|
};
|
|
2403
2314
|
var deserializeAws_json1_0Tag = function (output, context) {
|
|
@@ -2430,9 +2341,7 @@ var deserializeAws_json1_0UntagResourceResponse = function (output, context) {
|
|
|
2430
2341
|
};
|
|
2431
2342
|
var deserializeAws_json1_0UpdateDomainResponse = function (output, context) {
|
|
2432
2343
|
return {
|
|
2433
|
-
Domain: output.Domain
|
|
2434
|
-
? deserializeAws_json1_0Domain(output.Domain, context)
|
|
2435
|
-
: undefined,
|
|
2344
|
+
Domain: output.Domain != null ? deserializeAws_json1_0Domain(output.Domain, context) : undefined,
|
|
2436
2345
|
};
|
|
2437
2346
|
};
|
|
2438
2347
|
var deserializeAws_json1_0ValidationException = function (output, context) {
|
|
@@ -2496,6 +2405,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
2496
2405
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
2497
2406
|
var sanitizeErrorCode = function (rawValue) {
|
|
2498
2407
|
var cleanValue = rawValue;
|
|
2408
|
+
if (typeof cleanValue === "number") {
|
|
2409
|
+
cleanValue = cleanValue.toString();
|
|
2410
|
+
}
|
|
2499
2411
|
if (cleanValue.indexOf(":") >= 0) {
|
|
2500
2412
|
cleanValue = cleanValue.split(":")[0];
|
|
2501
2413
|
}
|