@aws-sdk/client-customer-profiles 3.523.0 → 3.529.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/dist-cjs/index.js +50 -90
- package/dist-es/protocols/Aws_restJson1.js +1 -40
- package/package.json +17 -17
- package/dist-cjs/CustomerProfiles.js +0 -1
- package/dist-cjs/CustomerProfilesClient.js +0 -1
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
- package/dist-cjs/commands/AddProfileKeyCommand.js +0 -1
- package/dist-cjs/commands/CreateCalculatedAttributeDefinitionCommand.js +0 -1
- package/dist-cjs/commands/CreateDomainCommand.js +0 -1
- package/dist-cjs/commands/CreateEventStreamCommand.js +0 -1
- package/dist-cjs/commands/CreateIntegrationWorkflowCommand.js +0 -1
- package/dist-cjs/commands/CreateProfileCommand.js +0 -1
- package/dist-cjs/commands/DeleteCalculatedAttributeDefinitionCommand.js +0 -1
- package/dist-cjs/commands/DeleteDomainCommand.js +0 -1
- package/dist-cjs/commands/DeleteEventStreamCommand.js +0 -1
- package/dist-cjs/commands/DeleteIntegrationCommand.js +0 -1
- package/dist-cjs/commands/DeleteProfileCommand.js +0 -1
- package/dist-cjs/commands/DeleteProfileKeyCommand.js +0 -1
- package/dist-cjs/commands/DeleteProfileObjectCommand.js +0 -1
- package/dist-cjs/commands/DeleteProfileObjectTypeCommand.js +0 -1
- package/dist-cjs/commands/DeleteWorkflowCommand.js +0 -1
- package/dist-cjs/commands/DetectProfileObjectTypeCommand.js +0 -1
- package/dist-cjs/commands/GetAutoMergingPreviewCommand.js +0 -1
- package/dist-cjs/commands/GetCalculatedAttributeDefinitionCommand.js +0 -1
- package/dist-cjs/commands/GetCalculatedAttributeForProfileCommand.js +0 -1
- package/dist-cjs/commands/GetDomainCommand.js +0 -1
- package/dist-cjs/commands/GetEventStreamCommand.js +0 -1
- package/dist-cjs/commands/GetIdentityResolutionJobCommand.js +0 -1
- package/dist-cjs/commands/GetIntegrationCommand.js +0 -1
- package/dist-cjs/commands/GetMatchesCommand.js +0 -1
- package/dist-cjs/commands/GetProfileObjectTypeCommand.js +0 -1
- package/dist-cjs/commands/GetProfileObjectTypeTemplateCommand.js +0 -1
- package/dist-cjs/commands/GetSimilarProfilesCommand.js +0 -1
- package/dist-cjs/commands/GetWorkflowCommand.js +0 -1
- package/dist-cjs/commands/GetWorkflowStepsCommand.js +0 -1
- package/dist-cjs/commands/ListAccountIntegrationsCommand.js +0 -1
- package/dist-cjs/commands/ListCalculatedAttributeDefinitionsCommand.js +0 -1
- package/dist-cjs/commands/ListCalculatedAttributesForProfileCommand.js +0 -1
- package/dist-cjs/commands/ListDomainsCommand.js +0 -1
- package/dist-cjs/commands/ListEventStreamsCommand.js +0 -1
- package/dist-cjs/commands/ListIdentityResolutionJobsCommand.js +0 -1
- package/dist-cjs/commands/ListIntegrationsCommand.js +0 -1
- package/dist-cjs/commands/ListProfileObjectTypeTemplatesCommand.js +0 -1
- package/dist-cjs/commands/ListProfileObjectTypesCommand.js +0 -1
- package/dist-cjs/commands/ListProfileObjectsCommand.js +0 -1
- package/dist-cjs/commands/ListRuleBasedMatchesCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ListWorkflowsCommand.js +0 -1
- package/dist-cjs/commands/MergeProfilesCommand.js +0 -1
- package/dist-cjs/commands/PutIntegrationCommand.js +0 -1
- package/dist-cjs/commands/PutProfileObjectCommand.js +0 -1
- package/dist-cjs/commands/PutProfileObjectTypeCommand.js +0 -1
- package/dist-cjs/commands/SearchProfilesCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateCalculatedAttributeDefinitionCommand.js +0 -1
- package/dist-cjs/commands/UpdateDomainCommand.js +0 -1
- package/dist-cjs/commands/UpdateProfileCommand.js +0 -1
- package/dist-cjs/commands/index.js +0 -1
- package/dist-cjs/endpoint/EndpointParameters.js +0 -1
- package/dist-cjs/extensionConfiguration.js +0 -1
- package/dist-cjs/models/CustomerProfilesServiceException.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListEventStreamsPaginator.js +0 -1
- package/dist-cjs/pagination/index.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeExtensions.js +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -298,6 +298,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
298
298
|
var import_types = require("@smithy/types");
|
|
299
299
|
|
|
300
300
|
// src/protocols/Aws_restJson1.ts
|
|
301
|
+
var import_core2 = require("@aws-sdk/core");
|
|
301
302
|
|
|
302
303
|
|
|
303
304
|
|
|
@@ -1710,7 +1711,7 @@ var de_AddProfileKeyCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1710
1711
|
const contents = (0, import_smithy_client.map)({
|
|
1711
1712
|
$metadata: deserializeMetadata(output)
|
|
1712
1713
|
});
|
|
1713
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1714
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1714
1715
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1715
1716
|
KeyName: import_smithy_client.expectString,
|
|
1716
1717
|
Values: import_smithy_client._json
|
|
@@ -1725,7 +1726,7 @@ var de_CreateCalculatedAttributeDefinitionCommand = /* @__PURE__ */ __name(async
|
|
|
1725
1726
|
const contents = (0, import_smithy_client.map)({
|
|
1726
1727
|
$metadata: deserializeMetadata(output)
|
|
1727
1728
|
});
|
|
1728
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1729
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1729
1730
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1730
1731
|
AttributeDetails: import_smithy_client._json,
|
|
1731
1732
|
CalculatedAttributeName: import_smithy_client.expectString,
|
|
@@ -1747,7 +1748,7 @@ var de_CreateDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1747
1748
|
const contents = (0, import_smithy_client.map)({
|
|
1748
1749
|
$metadata: deserializeMetadata(output)
|
|
1749
1750
|
});
|
|
1750
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1751
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1751
1752
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1752
1753
|
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1753
1754
|
DeadLetterQueueUrl: import_smithy_client.expectString,
|
|
@@ -1769,7 +1770,7 @@ var de_CreateEventStreamCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1769
1770
|
const contents = (0, import_smithy_client.map)({
|
|
1770
1771
|
$metadata: deserializeMetadata(output)
|
|
1771
1772
|
});
|
|
1772
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1773
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1773
1774
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1774
1775
|
EventStreamArn: import_smithy_client.expectString,
|
|
1775
1776
|
Tags: import_smithy_client._json
|
|
@@ -1784,7 +1785,7 @@ var de_CreateIntegrationWorkflowCommand = /* @__PURE__ */ __name(async (output,
|
|
|
1784
1785
|
const contents = (0, import_smithy_client.map)({
|
|
1785
1786
|
$metadata: deserializeMetadata(output)
|
|
1786
1787
|
});
|
|
1787
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1788
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1788
1789
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1789
1790
|
Message: import_smithy_client.expectString,
|
|
1790
1791
|
WorkflowId: import_smithy_client.expectString
|
|
@@ -1799,7 +1800,7 @@ var de_CreateProfileCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1799
1800
|
const contents = (0, import_smithy_client.map)({
|
|
1800
1801
|
$metadata: deserializeMetadata(output)
|
|
1801
1802
|
});
|
|
1802
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1803
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1803
1804
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1804
1805
|
ProfileId: import_smithy_client.expectString
|
|
1805
1806
|
});
|
|
@@ -1823,7 +1824,7 @@ var de_DeleteDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1823
1824
|
const contents = (0, import_smithy_client.map)({
|
|
1824
1825
|
$metadata: deserializeMetadata(output)
|
|
1825
1826
|
});
|
|
1826
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1827
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1827
1828
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1828
1829
|
Message: import_smithy_client.expectString
|
|
1829
1830
|
});
|
|
@@ -1847,7 +1848,7 @@ var de_DeleteIntegrationCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1847
1848
|
const contents = (0, import_smithy_client.map)({
|
|
1848
1849
|
$metadata: deserializeMetadata(output)
|
|
1849
1850
|
});
|
|
1850
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1851
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1851
1852
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1852
1853
|
Message: import_smithy_client.expectString
|
|
1853
1854
|
});
|
|
@@ -1861,7 +1862,7 @@ var de_DeleteProfileCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1861
1862
|
const contents = (0, import_smithy_client.map)({
|
|
1862
1863
|
$metadata: deserializeMetadata(output)
|
|
1863
1864
|
});
|
|
1864
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1865
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1865
1866
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1866
1867
|
Message: import_smithy_client.expectString
|
|
1867
1868
|
});
|
|
@@ -1875,7 +1876,7 @@ var de_DeleteProfileKeyCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1875
1876
|
const contents = (0, import_smithy_client.map)({
|
|
1876
1877
|
$metadata: deserializeMetadata(output)
|
|
1877
1878
|
});
|
|
1878
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1879
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1879
1880
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1880
1881
|
Message: import_smithy_client.expectString
|
|
1881
1882
|
});
|
|
@@ -1889,7 +1890,7 @@ var de_DeleteProfileObjectCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
1889
1890
|
const contents = (0, import_smithy_client.map)({
|
|
1890
1891
|
$metadata: deserializeMetadata(output)
|
|
1891
1892
|
});
|
|
1892
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1893
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1893
1894
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1894
1895
|
Message: import_smithy_client.expectString
|
|
1895
1896
|
});
|
|
@@ -1903,7 +1904,7 @@ var de_DeleteProfileObjectTypeCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1903
1904
|
const contents = (0, import_smithy_client.map)({
|
|
1904
1905
|
$metadata: deserializeMetadata(output)
|
|
1905
1906
|
});
|
|
1906
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1907
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1907
1908
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1908
1909
|
Message: import_smithy_client.expectString
|
|
1909
1910
|
});
|
|
@@ -1927,7 +1928,7 @@ var de_DetectProfileObjectTypeCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
1927
1928
|
const contents = (0, import_smithy_client.map)({
|
|
1928
1929
|
$metadata: deserializeMetadata(output)
|
|
1929
1930
|
});
|
|
1930
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1931
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1931
1932
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1932
1933
|
DetectedProfileObjectTypes: import_smithy_client._json
|
|
1933
1934
|
});
|
|
@@ -1941,7 +1942,7 @@ var de_GetAutoMergingPreviewCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1941
1942
|
const contents = (0, import_smithy_client.map)({
|
|
1942
1943
|
$metadata: deserializeMetadata(output)
|
|
1943
1944
|
});
|
|
1944
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1945
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1945
1946
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1946
1947
|
DomainName: import_smithy_client.expectString,
|
|
1947
1948
|
NumberOfMatchesInSample: import_smithy_client.expectLong,
|
|
@@ -1958,7 +1959,7 @@ var de_GetCalculatedAttributeDefinitionCommand = /* @__PURE__ */ __name(async (o
|
|
|
1958
1959
|
const contents = (0, import_smithy_client.map)({
|
|
1959
1960
|
$metadata: deserializeMetadata(output)
|
|
1960
1961
|
});
|
|
1961
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1962
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1962
1963
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1963
1964
|
AttributeDetails: import_smithy_client._json,
|
|
1964
1965
|
CalculatedAttributeName: import_smithy_client.expectString,
|
|
@@ -1980,7 +1981,7 @@ var de_GetCalculatedAttributeForProfileCommand = /* @__PURE__ */ __name(async (o
|
|
|
1980
1981
|
const contents = (0, import_smithy_client.map)({
|
|
1981
1982
|
$metadata: deserializeMetadata(output)
|
|
1982
1983
|
});
|
|
1983
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
1984
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1984
1985
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1985
1986
|
CalculatedAttributeName: import_smithy_client.expectString,
|
|
1986
1987
|
DisplayName: import_smithy_client.expectString,
|
|
@@ -1997,7 +1998,7 @@ var de_GetDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1997
1998
|
const contents = (0, import_smithy_client.map)({
|
|
1998
1999
|
$metadata: deserializeMetadata(output)
|
|
1999
2000
|
});
|
|
2000
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2001
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2001
2002
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2002
2003
|
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2003
2004
|
DeadLetterQueueUrl: import_smithy_client.expectString,
|
|
@@ -2020,7 +2021,7 @@ var de_GetEventStreamCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2020
2021
|
const contents = (0, import_smithy_client.map)({
|
|
2021
2022
|
$metadata: deserializeMetadata(output)
|
|
2022
2023
|
});
|
|
2023
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2024
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2024
2025
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2025
2026
|
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2026
2027
|
DestinationDetails: (_) => de_EventStreamDestinationDetails(_, context),
|
|
@@ -2040,7 +2041,7 @@ var de_GetIdentityResolutionJobCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2040
2041
|
const contents = (0, import_smithy_client.map)({
|
|
2041
2042
|
$metadata: deserializeMetadata(output)
|
|
2042
2043
|
});
|
|
2043
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2044
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2044
2045
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2045
2046
|
AutoMerging: (_) => de_AutoMerging(_, context),
|
|
2046
2047
|
DomainName: import_smithy_client.expectString,
|
|
@@ -2064,7 +2065,7 @@ var de_GetIntegrationCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2064
2065
|
const contents = (0, import_smithy_client.map)({
|
|
2065
2066
|
$metadata: deserializeMetadata(output)
|
|
2066
2067
|
});
|
|
2067
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2068
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2068
2069
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2069
2070
|
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2070
2071
|
DomainName: import_smithy_client.expectString,
|
|
@@ -2086,7 +2087,7 @@ var de_GetMatchesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2086
2087
|
const contents = (0, import_smithy_client.map)({
|
|
2087
2088
|
$metadata: deserializeMetadata(output)
|
|
2088
2089
|
});
|
|
2089
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2090
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2090
2091
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2091
2092
|
MatchGenerationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2092
2093
|
Matches: (_) => de_MatchesList(_, context),
|
|
@@ -2103,7 +2104,7 @@ var de_GetProfileObjectTypeCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2103
2104
|
const contents = (0, import_smithy_client.map)({
|
|
2104
2105
|
$metadata: deserializeMetadata(output)
|
|
2105
2106
|
});
|
|
2106
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2107
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2107
2108
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2108
2109
|
AllowProfileCreation: import_smithy_client.expectBoolean,
|
|
2109
2110
|
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -2128,7 +2129,7 @@ var de_GetProfileObjectTypeTemplateCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2128
2129
|
const contents = (0, import_smithy_client.map)({
|
|
2129
2130
|
$metadata: deserializeMetadata(output)
|
|
2130
2131
|
});
|
|
2131
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2132
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2132
2133
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2133
2134
|
AllowProfileCreation: import_smithy_client.expectBoolean,
|
|
2134
2135
|
Fields: import_smithy_client._json,
|
|
@@ -2148,7 +2149,7 @@ var de_GetSimilarProfilesCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2148
2149
|
const contents = (0, import_smithy_client.map)({
|
|
2149
2150
|
$metadata: deserializeMetadata(output)
|
|
2150
2151
|
});
|
|
2151
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2152
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2152
2153
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2153
2154
|
ConfidenceScore: import_smithy_client.limitedParseDouble,
|
|
2154
2155
|
MatchId: import_smithy_client.expectString,
|
|
@@ -2167,7 +2168,7 @@ var de_GetWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2167
2168
|
const contents = (0, import_smithy_client.map)({
|
|
2168
2169
|
$metadata: deserializeMetadata(output)
|
|
2169
2170
|
});
|
|
2170
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2171
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2171
2172
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2172
2173
|
Attributes: import_smithy_client._json,
|
|
2173
2174
|
ErrorDescription: import_smithy_client.expectString,
|
|
@@ -2188,7 +2189,7 @@ var de_GetWorkflowStepsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2188
2189
|
const contents = (0, import_smithy_client.map)({
|
|
2189
2190
|
$metadata: deserializeMetadata(output)
|
|
2190
2191
|
});
|
|
2191
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2192
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2192
2193
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2193
2194
|
Items: (_) => de_WorkflowStepsList(_, context),
|
|
2194
2195
|
NextToken: import_smithy_client.expectString,
|
|
@@ -2205,7 +2206,7 @@ var de_ListAccountIntegrationsCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2205
2206
|
const contents = (0, import_smithy_client.map)({
|
|
2206
2207
|
$metadata: deserializeMetadata(output)
|
|
2207
2208
|
});
|
|
2208
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2209
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2209
2210
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2210
2211
|
Items: (_) => de_IntegrationList(_, context),
|
|
2211
2212
|
NextToken: import_smithy_client.expectString
|
|
@@ -2220,7 +2221,7 @@ var de_ListCalculatedAttributeDefinitionsCommand = /* @__PURE__ */ __name(async
|
|
|
2220
2221
|
const contents = (0, import_smithy_client.map)({
|
|
2221
2222
|
$metadata: deserializeMetadata(output)
|
|
2222
2223
|
});
|
|
2223
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2224
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2224
2225
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2225
2226
|
Items: (_) => de_CalculatedAttributeDefinitionsList(_, context),
|
|
2226
2227
|
NextToken: import_smithy_client.expectString
|
|
@@ -2235,7 +2236,7 @@ var de_ListCalculatedAttributesForProfileCommand = /* @__PURE__ */ __name(async
|
|
|
2235
2236
|
const contents = (0, import_smithy_client.map)({
|
|
2236
2237
|
$metadata: deserializeMetadata(output)
|
|
2237
2238
|
});
|
|
2238
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2239
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2239
2240
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2240
2241
|
Items: import_smithy_client._json,
|
|
2241
2242
|
NextToken: import_smithy_client.expectString
|
|
@@ -2250,7 +2251,7 @@ var de_ListDomainsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2250
2251
|
const contents = (0, import_smithy_client.map)({
|
|
2251
2252
|
$metadata: deserializeMetadata(output)
|
|
2252
2253
|
});
|
|
2253
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2254
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2254
2255
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2255
2256
|
Items: (_) => de_DomainList(_, context),
|
|
2256
2257
|
NextToken: import_smithy_client.expectString
|
|
@@ -2265,7 +2266,7 @@ var de_ListEventStreamsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2265
2266
|
const contents = (0, import_smithy_client.map)({
|
|
2266
2267
|
$metadata: deserializeMetadata(output)
|
|
2267
2268
|
});
|
|
2268
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2269
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2269
2270
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2270
2271
|
Items: (_) => de_EventStreamSummaryList(_, context),
|
|
2271
2272
|
NextToken: import_smithy_client.expectString
|
|
@@ -2280,7 +2281,7 @@ var de_ListIdentityResolutionJobsCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2280
2281
|
const contents = (0, import_smithy_client.map)({
|
|
2281
2282
|
$metadata: deserializeMetadata(output)
|
|
2282
2283
|
});
|
|
2283
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2284
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2284
2285
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2285
2286
|
IdentityResolutionJobsList: (_) => de_IdentityResolutionJobsList(_, context),
|
|
2286
2287
|
NextToken: import_smithy_client.expectString
|
|
@@ -2295,7 +2296,7 @@ var de_ListIntegrationsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2295
2296
|
const contents = (0, import_smithy_client.map)({
|
|
2296
2297
|
$metadata: deserializeMetadata(output)
|
|
2297
2298
|
});
|
|
2298
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2299
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2299
2300
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2300
2301
|
Items: (_) => de_IntegrationList(_, context),
|
|
2301
2302
|
NextToken: import_smithy_client.expectString
|
|
@@ -2310,7 +2311,7 @@ var de_ListProfileObjectsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2310
2311
|
const contents = (0, import_smithy_client.map)({
|
|
2311
2312
|
$metadata: deserializeMetadata(output)
|
|
2312
2313
|
});
|
|
2313
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2314
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2314
2315
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2315
2316
|
Items: import_smithy_client._json,
|
|
2316
2317
|
NextToken: import_smithy_client.expectString
|
|
@@ -2325,7 +2326,7 @@ var de_ListProfileObjectTypesCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2325
2326
|
const contents = (0, import_smithy_client.map)({
|
|
2326
2327
|
$metadata: deserializeMetadata(output)
|
|
2327
2328
|
});
|
|
2328
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2329
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2329
2330
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2330
2331
|
Items: (_) => de_ProfileObjectTypeList(_, context),
|
|
2331
2332
|
NextToken: import_smithy_client.expectString
|
|
@@ -2340,7 +2341,7 @@ var de_ListProfileObjectTypeTemplatesCommand = /* @__PURE__ */ __name(async (out
|
|
|
2340
2341
|
const contents = (0, import_smithy_client.map)({
|
|
2341
2342
|
$metadata: deserializeMetadata(output)
|
|
2342
2343
|
});
|
|
2343
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2344
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2344
2345
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2345
2346
|
Items: import_smithy_client._json,
|
|
2346
2347
|
NextToken: import_smithy_client.expectString
|
|
@@ -2355,7 +2356,7 @@ var de_ListRuleBasedMatchesCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2355
2356
|
const contents = (0, import_smithy_client.map)({
|
|
2356
2357
|
$metadata: deserializeMetadata(output)
|
|
2357
2358
|
});
|
|
2358
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2359
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2359
2360
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2360
2361
|
MatchIds: import_smithy_client._json,
|
|
2361
2362
|
NextToken: import_smithy_client.expectString
|
|
@@ -2370,7 +2371,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2370
2371
|
const contents = (0, import_smithy_client.map)({
|
|
2371
2372
|
$metadata: deserializeMetadata(output)
|
|
2372
2373
|
});
|
|
2373
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2374
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2374
2375
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2375
2376
|
tags: import_smithy_client._json
|
|
2376
2377
|
});
|
|
@@ -2384,7 +2385,7 @@ var de_ListWorkflowsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2384
2385
|
const contents = (0, import_smithy_client.map)({
|
|
2385
2386
|
$metadata: deserializeMetadata(output)
|
|
2386
2387
|
});
|
|
2387
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2388
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2388
2389
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2389
2390
|
Items: (_) => de_WorkflowList(_, context),
|
|
2390
2391
|
NextToken: import_smithy_client.expectString
|
|
@@ -2399,7 +2400,7 @@ var de_MergeProfilesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2399
2400
|
const contents = (0, import_smithy_client.map)({
|
|
2400
2401
|
$metadata: deserializeMetadata(output)
|
|
2401
2402
|
});
|
|
2402
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2403
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2403
2404
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2404
2405
|
Message: import_smithy_client.expectString
|
|
2405
2406
|
});
|
|
@@ -2413,7 +2414,7 @@ var de_PutIntegrationCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2413
2414
|
const contents = (0, import_smithy_client.map)({
|
|
2414
2415
|
$metadata: deserializeMetadata(output)
|
|
2415
2416
|
});
|
|
2416
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2417
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2417
2418
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2418
2419
|
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2419
2420
|
DomainName: import_smithy_client.expectString,
|
|
@@ -2435,7 +2436,7 @@ var de_PutProfileObjectCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2435
2436
|
const contents = (0, import_smithy_client.map)({
|
|
2436
2437
|
$metadata: deserializeMetadata(output)
|
|
2437
2438
|
});
|
|
2438
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2439
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2439
2440
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2440
2441
|
ProfileObjectUniqueKey: import_smithy_client.expectString
|
|
2441
2442
|
});
|
|
@@ -2449,7 +2450,7 @@ var de_PutProfileObjectTypeCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2449
2450
|
const contents = (0, import_smithy_client.map)({
|
|
2450
2451
|
$metadata: deserializeMetadata(output)
|
|
2451
2452
|
});
|
|
2452
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2453
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2453
2454
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2454
2455
|
AllowProfileCreation: import_smithy_client.expectBoolean,
|
|
2455
2456
|
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
@@ -2474,7 +2475,7 @@ var de_SearchProfilesCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2474
2475
|
const contents = (0, import_smithy_client.map)({
|
|
2475
2476
|
$metadata: deserializeMetadata(output)
|
|
2476
2477
|
});
|
|
2477
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2478
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2478
2479
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2479
2480
|
Items: import_smithy_client._json,
|
|
2480
2481
|
NextToken: import_smithy_client.expectString
|
|
@@ -2509,7 +2510,7 @@ var de_UpdateCalculatedAttributeDefinitionCommand = /* @__PURE__ */ __name(async
|
|
|
2509
2510
|
const contents = (0, import_smithy_client.map)({
|
|
2510
2511
|
$metadata: deserializeMetadata(output)
|
|
2511
2512
|
});
|
|
2512
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2513
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2513
2514
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2514
2515
|
AttributeDetails: import_smithy_client._json,
|
|
2515
2516
|
CalculatedAttributeName: import_smithy_client.expectString,
|
|
@@ -2531,7 +2532,7 @@ var de_UpdateDomainCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2531
2532
|
const contents = (0, import_smithy_client.map)({
|
|
2532
2533
|
$metadata: deserializeMetadata(output)
|
|
2533
2534
|
});
|
|
2534
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2535
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2535
2536
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2536
2537
|
CreatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2537
2538
|
DeadLetterQueueUrl: import_smithy_client.expectString,
|
|
@@ -2553,7 +2554,7 @@ var de_UpdateProfileCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2553
2554
|
const contents = (0, import_smithy_client.map)({
|
|
2554
2555
|
$metadata: deserializeMetadata(output)
|
|
2555
2556
|
});
|
|
2556
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await
|
|
2557
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2557
2558
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2558
2559
|
ProfileId: import_smithy_client.expectString
|
|
2559
2560
|
});
|
|
@@ -2563,9 +2564,9 @@ var de_UpdateProfileCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2563
2564
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2564
2565
|
const parsedOutput = {
|
|
2565
2566
|
...output,
|
|
2566
|
-
body: await
|
|
2567
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
2567
2568
|
};
|
|
2568
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2569
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
2569
2570
|
switch (errorCode) {
|
|
2570
2571
|
case "AccessDeniedException":
|
|
2571
2572
|
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
@@ -2915,7 +2916,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
2915
2916
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2916
2917
|
cfId: output.headers["x-amz-cf-id"]
|
|
2917
2918
|
}), "deserializeMetadata");
|
|
2918
|
-
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2919
2919
|
var _IH = "IncludeHidden";
|
|
2920
2920
|
var _MR = "MaxResults";
|
|
2921
2921
|
var _NT = "NextToken";
|
|
@@ -2923,46 +2923,6 @@ var _ih = "include-hidden";
|
|
|
2923
2923
|
var _mr = "max-results";
|
|
2924
2924
|
var _nt = "next-token";
|
|
2925
2925
|
var _tK = "tagKeys";
|
|
2926
|
-
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2927
|
-
if (encoded.length) {
|
|
2928
|
-
return JSON.parse(encoded);
|
|
2929
|
-
}
|
|
2930
|
-
return {};
|
|
2931
|
-
}), "parseBody");
|
|
2932
|
-
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2933
|
-
const value = await parseBody(errorBody, context);
|
|
2934
|
-
value.message = value.message ?? value.Message;
|
|
2935
|
-
return value;
|
|
2936
|
-
}, "parseErrorBody");
|
|
2937
|
-
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2938
|
-
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2939
|
-
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2940
|
-
let cleanValue = rawValue;
|
|
2941
|
-
if (typeof cleanValue === "number") {
|
|
2942
|
-
cleanValue = cleanValue.toString();
|
|
2943
|
-
}
|
|
2944
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
2945
|
-
cleanValue = cleanValue.split(",")[0];
|
|
2946
|
-
}
|
|
2947
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
2948
|
-
cleanValue = cleanValue.split(":")[0];
|
|
2949
|
-
}
|
|
2950
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
2951
|
-
cleanValue = cleanValue.split("#")[1];
|
|
2952
|
-
}
|
|
2953
|
-
return cleanValue;
|
|
2954
|
-
}, "sanitizeErrorCode");
|
|
2955
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2956
|
-
if (headerKey !== void 0) {
|
|
2957
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2958
|
-
}
|
|
2959
|
-
if (data.code !== void 0) {
|
|
2960
|
-
return sanitizeErrorCode(data.code);
|
|
2961
|
-
}
|
|
2962
|
-
if (data["__type"] !== void 0) {
|
|
2963
|
-
return sanitizeErrorCode(data["__type"]);
|
|
2964
|
-
}
|
|
2965
|
-
}, "loadRestJsonErrorCode");
|
|
2966
2926
|
|
|
2967
2927
|
// src/commands/AddProfileKeyCommand.ts
|
|
2968
2928
|
var _AddProfileKeyCommand = class _AddProfileKeyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
1
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
2
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
4
|
import { CustomerProfilesServiceException as __BaseException } from "../models/CustomerProfilesServiceException";
|
|
@@ -2031,43 +2032,3 @@ const _ih = "include-hidden";
|
|
|
2031
2032
|
const _mr = "max-results";
|
|
2032
2033
|
const _nt = "next-token";
|
|
2033
2034
|
const _tK = "tagKeys";
|
|
2034
|
-
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2035
|
-
if (encoded.length) {
|
|
2036
|
-
return JSON.parse(encoded);
|
|
2037
|
-
}
|
|
2038
|
-
return {};
|
|
2039
|
-
});
|
|
2040
|
-
const parseErrorBody = async (errorBody, context) => {
|
|
2041
|
-
const value = await parseBody(errorBody, context);
|
|
2042
|
-
value.message = value.message ?? value.Message;
|
|
2043
|
-
return value;
|
|
2044
|
-
};
|
|
2045
|
-
const loadRestJsonErrorCode = (output, data) => {
|
|
2046
|
-
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
2047
|
-
const sanitizeErrorCode = (rawValue) => {
|
|
2048
|
-
let cleanValue = rawValue;
|
|
2049
|
-
if (typeof cleanValue === "number") {
|
|
2050
|
-
cleanValue = cleanValue.toString();
|
|
2051
|
-
}
|
|
2052
|
-
if (cleanValue.indexOf(",") >= 0) {
|
|
2053
|
-
cleanValue = cleanValue.split(",")[0];
|
|
2054
|
-
}
|
|
2055
|
-
if (cleanValue.indexOf(":") >= 0) {
|
|
2056
|
-
cleanValue = cleanValue.split(":")[0];
|
|
2057
|
-
}
|
|
2058
|
-
if (cleanValue.indexOf("#") >= 0) {
|
|
2059
|
-
cleanValue = cleanValue.split("#")[1];
|
|
2060
|
-
}
|
|
2061
|
-
return cleanValue;
|
|
2062
|
-
};
|
|
2063
|
-
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2064
|
-
if (headerKey !== undefined) {
|
|
2065
|
-
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2066
|
-
}
|
|
2067
|
-
if (data.code !== undefined) {
|
|
2068
|
-
return sanitizeErrorCode(data.code);
|
|
2069
|
-
}
|
|
2070
|
-
if (data["__type"] !== undefined) {
|
|
2071
|
-
return sanitizeErrorCode(data["__type"]);
|
|
2072
|
-
}
|
|
2073
|
-
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-customer-profiles",
|
|
3
3
|
"description": "AWS SDK for JavaScript Customer Profiles Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.529.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-customer-profiles",
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.529.0",
|
|
24
|
+
"@aws-sdk/core": "3.529.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.529.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.523.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.523.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.523.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.525.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.525.0",
|
|
31
31
|
"@aws-sdk/types": "3.523.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.525.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.523.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.1.
|
|
36
|
-
"@smithy/core": "^1.3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.525.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.1.4",
|
|
36
|
+
"@smithy/core": "^1.3.5",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.4.3",
|
|
38
38
|
"@smithy/hash-node": "^2.1.3",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.1.3",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.1.3",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.4.
|
|
42
|
-
"@smithy/middleware-retry": "^2.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.4.4",
|
|
42
|
+
"@smithy/middleware-retry": "^2.1.4",
|
|
43
43
|
"@smithy/middleware-serde": "^2.1.3",
|
|
44
44
|
"@smithy/middleware-stack": "^2.1.3",
|
|
45
|
-
"@smithy/node-config-provider": "^2.2.
|
|
45
|
+
"@smithy/node-config-provider": "^2.2.4",
|
|
46
46
|
"@smithy/node-http-handler": "^2.4.1",
|
|
47
47
|
"@smithy/protocol-http": "^3.2.1",
|
|
48
|
-
"@smithy/smithy-client": "^2.4.
|
|
48
|
+
"@smithy/smithy-client": "^2.4.2",
|
|
49
49
|
"@smithy/types": "^2.10.1",
|
|
50
50
|
"@smithy/url-parser": "^2.1.3",
|
|
51
51
|
"@smithy/util-base64": "^2.1.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.1.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.1.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.1.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.1.4",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.2.3",
|
|
56
|
+
"@smithy/util-endpoints": "^1.1.4",
|
|
57
57
|
"@smithy/util-middleware": "^2.1.3",
|
|
58
58
|
"@smithy/util-retry": "^2.1.3",
|
|
59
59
|
"@smithy/util-utf8": "^2.1.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("../index.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./index.js");
|