@aws-sdk/client-customer-profiles 3.312.0 → 3.316.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/CustomerProfiles.js +42 -532
- package/dist-cjs/protocols/Aws_restJson1.js +623 -1538
- package/dist-es/CustomerProfiles.js +42 -532
- package/dist-es/protocols/Aws_restJson1.js +569 -1484
- package/dist-types/CustomerProfiles.d.ts +50 -256
- package/dist-types/ts3.4/CustomerProfiles.d.ts +4 -1
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { 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
|
|
2
|
+
import { _json, 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, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { CustomerProfilesServiceException as __BaseException } from "../models/CustomerProfilesServiceException";
|
|
4
4
|
import { AccessDeniedException, BadRequestException, InternalServerException, ResourceNotFoundException, ThrottlingException, } from "../models/models_0";
|
|
5
5
|
export const se_AddProfileKeyCommand = async (input, context) => {
|
|
@@ -10,11 +10,11 @@ export const se_AddProfileKeyCommand = async (input, context) => {
|
|
|
10
10
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/domains/{DomainName}/profiles/keys";
|
|
11
11
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
12
12
|
let body;
|
|
13
|
-
body = JSON.stringify({
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
});
|
|
13
|
+
body = JSON.stringify(take(input, {
|
|
14
|
+
KeyName: [],
|
|
15
|
+
ProfileId: [],
|
|
16
|
+
Values: (_) => _json(_),
|
|
17
|
+
}));
|
|
18
18
|
return new __HttpRequest({
|
|
19
19
|
protocol,
|
|
20
20
|
hostname,
|
|
@@ -33,13 +33,13 @@ export const se_CreateDomainCommand = async (input, context) => {
|
|
|
33
33
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/domains/{DomainName}";
|
|
34
34
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
35
35
|
let body;
|
|
36
|
-
body = JSON.stringify({
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
});
|
|
36
|
+
body = JSON.stringify(take(input, {
|
|
37
|
+
DeadLetterQueueUrl: [],
|
|
38
|
+
DefaultEncryptionKey: [],
|
|
39
|
+
DefaultExpirationDays: [],
|
|
40
|
+
Matching: (_) => se_MatchingRequest(_, context),
|
|
41
|
+
Tags: (_) => _json(_),
|
|
42
|
+
}));
|
|
43
43
|
return new __HttpRequest({
|
|
44
44
|
protocol,
|
|
45
45
|
hostname,
|
|
@@ -59,15 +59,13 @@ export const se_CreateIntegrationWorkflowCommand = async (input, context) => {
|
|
|
59
59
|
"/domains/{DomainName}/workflows/integrations";
|
|
60
60
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
61
61
|
let body;
|
|
62
|
-
body = JSON.stringify({
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
...(input.WorkflowType != null && { WorkflowType: input.WorkflowType }),
|
|
70
|
-
});
|
|
62
|
+
body = JSON.stringify(take(input, {
|
|
63
|
+
IntegrationConfig: (_) => se_IntegrationConfig(_, context),
|
|
64
|
+
ObjectTypeName: [],
|
|
65
|
+
RoleArn: [],
|
|
66
|
+
Tags: (_) => _json(_),
|
|
67
|
+
WorkflowType: [],
|
|
68
|
+
}));
|
|
71
69
|
return new __HttpRequest({
|
|
72
70
|
protocol,
|
|
73
71
|
hostname,
|
|
@@ -86,31 +84,31 @@ export const se_CreateProfileCommand = async (input, context) => {
|
|
|
86
84
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/domains/{DomainName}/profiles";
|
|
87
85
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
88
86
|
let body;
|
|
89
|
-
body = JSON.stringify({
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
});
|
|
87
|
+
body = JSON.stringify(take(input, {
|
|
88
|
+
AccountNumber: [],
|
|
89
|
+
AdditionalInformation: [],
|
|
90
|
+
Address: (_) => _json(_),
|
|
91
|
+
Attributes: (_) => _json(_),
|
|
92
|
+
BillingAddress: (_) => _json(_),
|
|
93
|
+
BirthDate: [],
|
|
94
|
+
BusinessEmailAddress: [],
|
|
95
|
+
BusinessName: [],
|
|
96
|
+
BusinessPhoneNumber: [],
|
|
97
|
+
EmailAddress: [],
|
|
98
|
+
FirstName: [],
|
|
99
|
+
Gender: [],
|
|
100
|
+
GenderString: [],
|
|
101
|
+
HomePhoneNumber: [],
|
|
102
|
+
LastName: [],
|
|
103
|
+
MailingAddress: (_) => _json(_),
|
|
104
|
+
MiddleName: [],
|
|
105
|
+
MobilePhoneNumber: [],
|
|
106
|
+
PartyType: [],
|
|
107
|
+
PartyTypeString: [],
|
|
108
|
+
PersonalEmailAddress: [],
|
|
109
|
+
PhoneNumber: [],
|
|
110
|
+
ShippingAddress: (_) => _json(_),
|
|
111
|
+
}));
|
|
114
112
|
return new __HttpRequest({
|
|
115
113
|
protocol,
|
|
116
114
|
hostname,
|
|
@@ -145,9 +143,9 @@ export const se_DeleteIntegrationCommand = async (input, context) => {
|
|
|
145
143
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/domains/{DomainName}/integrations/delete";
|
|
146
144
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
147
145
|
let body;
|
|
148
|
-
body = JSON.stringify({
|
|
149
|
-
|
|
150
|
-
});
|
|
146
|
+
body = JSON.stringify(take(input, {
|
|
147
|
+
Uri: [],
|
|
148
|
+
}));
|
|
151
149
|
return new __HttpRequest({
|
|
152
150
|
protocol,
|
|
153
151
|
hostname,
|
|
@@ -166,9 +164,9 @@ export const se_DeleteProfileCommand = async (input, context) => {
|
|
|
166
164
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/domains/{DomainName}/profiles/delete";
|
|
167
165
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
168
166
|
let body;
|
|
169
|
-
body = JSON.stringify({
|
|
170
|
-
|
|
171
|
-
});
|
|
167
|
+
body = JSON.stringify(take(input, {
|
|
168
|
+
ProfileId: [],
|
|
169
|
+
}));
|
|
172
170
|
return new __HttpRequest({
|
|
173
171
|
protocol,
|
|
174
172
|
hostname,
|
|
@@ -188,11 +186,11 @@ export const se_DeleteProfileKeyCommand = async (input, context) => {
|
|
|
188
186
|
"/domains/{DomainName}/profiles/keys/delete";
|
|
189
187
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
190
188
|
let body;
|
|
191
|
-
body = JSON.stringify({
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
});
|
|
189
|
+
body = JSON.stringify(take(input, {
|
|
190
|
+
KeyName: [],
|
|
191
|
+
ProfileId: [],
|
|
192
|
+
Values: (_) => _json(_),
|
|
193
|
+
}));
|
|
196
194
|
return new __HttpRequest({
|
|
197
195
|
protocol,
|
|
198
196
|
hostname,
|
|
@@ -212,11 +210,11 @@ export const se_DeleteProfileObjectCommand = async (input, context) => {
|
|
|
212
210
|
"/domains/{DomainName}/profiles/objects/delete";
|
|
213
211
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
214
212
|
let body;
|
|
215
|
-
body = JSON.stringify({
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
});
|
|
213
|
+
body = JSON.stringify(take(input, {
|
|
214
|
+
ObjectTypeName: [],
|
|
215
|
+
ProfileId: [],
|
|
216
|
+
ProfileObjectUniqueKey: [],
|
|
217
|
+
}));
|
|
220
218
|
return new __HttpRequest({
|
|
221
219
|
protocol,
|
|
222
220
|
hostname,
|
|
@@ -272,15 +270,11 @@ export const se_GetAutoMergingPreviewCommand = async (input, context) => {
|
|
|
272
270
|
"/domains/{DomainName}/identity-resolution-jobs/auto-merging-preview";
|
|
273
271
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
274
272
|
let body;
|
|
275
|
-
body = JSON.stringify({
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
...(input.MinAllowedConfidenceScoreForMerging != null && {
|
|
281
|
-
MinAllowedConfidenceScoreForMerging: __serializeFloat(input.MinAllowedConfidenceScoreForMerging),
|
|
282
|
-
}),
|
|
283
|
-
});
|
|
273
|
+
body = JSON.stringify(take(input, {
|
|
274
|
+
ConflictResolution: (_) => _json(_),
|
|
275
|
+
Consolidation: (_) => _json(_),
|
|
276
|
+
MinAllowedConfidenceScoreForMerging: (_) => __serializeFloat(_),
|
|
277
|
+
}));
|
|
284
278
|
return new __HttpRequest({
|
|
285
279
|
protocol,
|
|
286
280
|
hostname,
|
|
@@ -333,9 +327,9 @@ export const se_GetIntegrationCommand = async (input, context) => {
|
|
|
333
327
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/domains/{DomainName}/integrations";
|
|
334
328
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
335
329
|
let body;
|
|
336
|
-
body = JSON.stringify({
|
|
337
|
-
|
|
338
|
-
});
|
|
330
|
+
body = JSON.stringify(take(input, {
|
|
331
|
+
Uri: [],
|
|
332
|
+
}));
|
|
339
333
|
return new __HttpRequest({
|
|
340
334
|
protocol,
|
|
341
335
|
hostname,
|
|
@@ -454,9 +448,9 @@ export const se_ListAccountIntegrationsCommand = async (input, context) => {
|
|
|
454
448
|
"include-hidden": [() => input.IncludeHidden !== void 0, () => input.IncludeHidden.toString()],
|
|
455
449
|
});
|
|
456
450
|
let body;
|
|
457
|
-
body = JSON.stringify({
|
|
458
|
-
|
|
459
|
-
});
|
|
451
|
+
body = JSON.stringify(take(input, {
|
|
452
|
+
Uri: [],
|
|
453
|
+
}));
|
|
460
454
|
return new __HttpRequest({
|
|
461
455
|
protocol,
|
|
462
456
|
hostname,
|
|
@@ -544,11 +538,11 @@ export const se_ListProfileObjectsCommand = async (input, context) => {
|
|
|
544
538
|
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
545
539
|
});
|
|
546
540
|
let body;
|
|
547
|
-
body = JSON.stringify({
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
});
|
|
541
|
+
body = JSON.stringify(take(input, {
|
|
542
|
+
ObjectFilter: (_) => _json(_),
|
|
543
|
+
ObjectTypeName: [],
|
|
544
|
+
ProfileId: [],
|
|
545
|
+
}));
|
|
552
546
|
return new __HttpRequest({
|
|
553
547
|
protocol,
|
|
554
548
|
hostname,
|
|
@@ -629,12 +623,12 @@ export const se_ListWorkflowsCommand = async (input, context) => {
|
|
|
629
623
|
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
630
624
|
});
|
|
631
625
|
let body;
|
|
632
|
-
body = JSON.stringify({
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
});
|
|
626
|
+
body = JSON.stringify(take(input, {
|
|
627
|
+
QueryEndDate: (_) => Math.round(_.getTime() / 1000),
|
|
628
|
+
QueryStartDate: (_) => Math.round(_.getTime() / 1000),
|
|
629
|
+
Status: [],
|
|
630
|
+
WorkflowType: [],
|
|
631
|
+
}));
|
|
638
632
|
return new __HttpRequest({
|
|
639
633
|
protocol,
|
|
640
634
|
hostname,
|
|
@@ -655,15 +649,11 @@ export const se_MergeProfilesCommand = async (input, context) => {
|
|
|
655
649
|
"/domains/{DomainName}/profiles/objects/merge";
|
|
656
650
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
657
651
|
let body;
|
|
658
|
-
body = JSON.stringify({
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
...(input.ProfileIdsToBeMerged != null && {
|
|
664
|
-
ProfileIdsToBeMerged: se_ProfileIdToBeMergedList(input.ProfileIdsToBeMerged, context),
|
|
665
|
-
}),
|
|
666
|
-
});
|
|
652
|
+
body = JSON.stringify(take(input, {
|
|
653
|
+
FieldSourceProfileIds: (_) => _json(_),
|
|
654
|
+
MainProfileId: [],
|
|
655
|
+
ProfileIdsToBeMerged: (_) => _json(_),
|
|
656
|
+
}));
|
|
667
657
|
return new __HttpRequest({
|
|
668
658
|
protocol,
|
|
669
659
|
hostname,
|
|
@@ -682,13 +672,13 @@ export const se_PutIntegrationCommand = async (input, context) => {
|
|
|
682
672
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/domains/{DomainName}/integrations";
|
|
683
673
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
684
674
|
let body;
|
|
685
|
-
body = JSON.stringify({
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
});
|
|
675
|
+
body = JSON.stringify(take(input, {
|
|
676
|
+
FlowDefinition: (_) => se_FlowDefinition(_, context),
|
|
677
|
+
ObjectTypeName: [],
|
|
678
|
+
ObjectTypeNames: (_) => _json(_),
|
|
679
|
+
Tags: (_) => _json(_),
|
|
680
|
+
Uri: [],
|
|
681
|
+
}));
|
|
692
682
|
return new __HttpRequest({
|
|
693
683
|
protocol,
|
|
694
684
|
hostname,
|
|
@@ -707,10 +697,10 @@ export const se_PutProfileObjectCommand = async (input, context) => {
|
|
|
707
697
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/domains/{DomainName}/profiles/objects";
|
|
708
698
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
709
699
|
let body;
|
|
710
|
-
body = JSON.stringify({
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
});
|
|
700
|
+
body = JSON.stringify(take(input, {
|
|
701
|
+
Object: [],
|
|
702
|
+
ObjectTypeName: [],
|
|
703
|
+
}));
|
|
714
704
|
return new __HttpRequest({
|
|
715
705
|
protocol,
|
|
716
706
|
hostname,
|
|
@@ -731,19 +721,17 @@ export const se_PutProfileObjectTypeCommand = async (input, context) => {
|
|
|
731
721
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
732
722
|
resolvedPath = __resolvedPath(resolvedPath, input, "ObjectTypeName", () => input.ObjectTypeName, "{ObjectTypeName}", false);
|
|
733
723
|
let body;
|
|
734
|
-
body = JSON.stringify({
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
...(input.TemplateId != null && { TemplateId: input.TemplateId }),
|
|
746
|
-
});
|
|
724
|
+
body = JSON.stringify(take(input, {
|
|
725
|
+
AllowProfileCreation: [],
|
|
726
|
+
Description: [],
|
|
727
|
+
EncryptionKey: [],
|
|
728
|
+
ExpirationDays: [],
|
|
729
|
+
Fields: (_) => _json(_),
|
|
730
|
+
Keys: (_) => _json(_),
|
|
731
|
+
SourceLastUpdatedTimestampFormat: [],
|
|
732
|
+
Tags: (_) => _json(_),
|
|
733
|
+
TemplateId: [],
|
|
734
|
+
}));
|
|
747
735
|
return new __HttpRequest({
|
|
748
736
|
protocol,
|
|
749
737
|
hostname,
|
|
@@ -766,14 +754,12 @@ export const se_SearchProfilesCommand = async (input, context) => {
|
|
|
766
754
|
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
767
755
|
});
|
|
768
756
|
let body;
|
|
769
|
-
body = JSON.stringify({
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
...(input.Values != null && { Values: se_requestValueList(input.Values, context) }),
|
|
776
|
-
});
|
|
757
|
+
body = JSON.stringify(take(input, {
|
|
758
|
+
AdditionalSearchKeys: (_) => _json(_),
|
|
759
|
+
KeyName: [],
|
|
760
|
+
LogicalOperator: [],
|
|
761
|
+
Values: (_) => _json(_),
|
|
762
|
+
}));
|
|
777
763
|
return new __HttpRequest({
|
|
778
764
|
protocol,
|
|
779
765
|
hostname,
|
|
@@ -793,9 +779,9 @@ export const se_TagResourceCommand = async (input, context) => {
|
|
|
793
779
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
794
780
|
resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
795
781
|
let body;
|
|
796
|
-
body = JSON.stringify({
|
|
797
|
-
|
|
798
|
-
});
|
|
782
|
+
body = JSON.stringify(take(input, {
|
|
783
|
+
tags: (_) => _json(_),
|
|
784
|
+
}));
|
|
799
785
|
return new __HttpRequest({
|
|
800
786
|
protocol,
|
|
801
787
|
hostname,
|
|
@@ -837,13 +823,13 @@ export const se_UpdateDomainCommand = async (input, context) => {
|
|
|
837
823
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/domains/{DomainName}";
|
|
838
824
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
839
825
|
let body;
|
|
840
|
-
body = JSON.stringify({
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
});
|
|
826
|
+
body = JSON.stringify(take(input, {
|
|
827
|
+
DeadLetterQueueUrl: [],
|
|
828
|
+
DefaultEncryptionKey: [],
|
|
829
|
+
DefaultExpirationDays: [],
|
|
830
|
+
Matching: (_) => se_MatchingRequest(_, context),
|
|
831
|
+
Tags: (_) => _json(_),
|
|
832
|
+
}));
|
|
847
833
|
return new __HttpRequest({
|
|
848
834
|
protocol,
|
|
849
835
|
hostname,
|
|
@@ -862,32 +848,32 @@ export const se_UpdateProfileCommand = async (input, context) => {
|
|
|
862
848
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/domains/{DomainName}/profiles";
|
|
863
849
|
resolvedPath = __resolvedPath(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
864
850
|
let body;
|
|
865
|
-
body = JSON.stringify({
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
});
|
|
851
|
+
body = JSON.stringify(take(input, {
|
|
852
|
+
AccountNumber: [],
|
|
853
|
+
AdditionalInformation: [],
|
|
854
|
+
Address: (_) => _json(_),
|
|
855
|
+
Attributes: (_) => _json(_),
|
|
856
|
+
BillingAddress: (_) => _json(_),
|
|
857
|
+
BirthDate: [],
|
|
858
|
+
BusinessEmailAddress: [],
|
|
859
|
+
BusinessName: [],
|
|
860
|
+
BusinessPhoneNumber: [],
|
|
861
|
+
EmailAddress: [],
|
|
862
|
+
FirstName: [],
|
|
863
|
+
Gender: [],
|
|
864
|
+
GenderString: [],
|
|
865
|
+
HomePhoneNumber: [],
|
|
866
|
+
LastName: [],
|
|
867
|
+
MailingAddress: (_) => _json(_),
|
|
868
|
+
MiddleName: [],
|
|
869
|
+
MobilePhoneNumber: [],
|
|
870
|
+
PartyType: [],
|
|
871
|
+
PartyTypeString: [],
|
|
872
|
+
PersonalEmailAddress: [],
|
|
873
|
+
PhoneNumber: [],
|
|
874
|
+
ProfileId: [],
|
|
875
|
+
ShippingAddress: (_) => _json(_),
|
|
876
|
+
}));
|
|
891
877
|
return new __HttpRequest({
|
|
892
878
|
protocol,
|
|
893
879
|
hostname,
|
|
@@ -906,12 +892,11 @@ export const de_AddProfileKeyCommand = async (output, context) => {
|
|
|
906
892
|
$metadata: deserializeMetadata(output),
|
|
907
893
|
});
|
|
908
894
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
}
|
|
895
|
+
const doc = take(data, {
|
|
896
|
+
KeyName: __expectString,
|
|
897
|
+
Values: _json,
|
|
898
|
+
});
|
|
899
|
+
Object.assign(contents, doc);
|
|
915
900
|
return contents;
|
|
916
901
|
};
|
|
917
902
|
const de_AddProfileKeyCommandError = async (output, context) => {
|
|
@@ -938,10 +923,9 @@ const de_AddProfileKeyCommandError = async (output, context) => {
|
|
|
938
923
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
939
924
|
default:
|
|
940
925
|
const parsedBody = parsedOutput.body;
|
|
941
|
-
throwDefaultError({
|
|
926
|
+
return throwDefaultError({
|
|
942
927
|
output,
|
|
943
928
|
parsedBody,
|
|
944
|
-
exceptionCtor: __BaseException,
|
|
945
929
|
errorCode,
|
|
946
930
|
});
|
|
947
931
|
}
|
|
@@ -954,30 +938,17 @@ export const de_CreateDomainCommand = async (output, context) => {
|
|
|
954
938
|
$metadata: deserializeMetadata(output),
|
|
955
939
|
});
|
|
956
940
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
}
|
|
969
|
-
if (data.DomainName != null) {
|
|
970
|
-
contents.DomainName = __expectString(data.DomainName);
|
|
971
|
-
}
|
|
972
|
-
if (data.LastUpdatedAt != null) {
|
|
973
|
-
contents.LastUpdatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastUpdatedAt)));
|
|
974
|
-
}
|
|
975
|
-
if (data.Matching != null) {
|
|
976
|
-
contents.Matching = de_MatchingResponse(data.Matching, context);
|
|
977
|
-
}
|
|
978
|
-
if (data.Tags != null) {
|
|
979
|
-
contents.Tags = de_TagMap(data.Tags, context);
|
|
980
|
-
}
|
|
941
|
+
const doc = take(data, {
|
|
942
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
943
|
+
DeadLetterQueueUrl: __expectString,
|
|
944
|
+
DefaultEncryptionKey: __expectString,
|
|
945
|
+
DefaultExpirationDays: __expectInt32,
|
|
946
|
+
DomainName: __expectString,
|
|
947
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
948
|
+
Matching: (_) => de_MatchingResponse(_, context),
|
|
949
|
+
Tags: _json,
|
|
950
|
+
});
|
|
951
|
+
Object.assign(contents, doc);
|
|
981
952
|
return contents;
|
|
982
953
|
};
|
|
983
954
|
const de_CreateDomainCommandError = async (output, context) => {
|
|
@@ -1004,10 +975,9 @@ const de_CreateDomainCommandError = async (output, context) => {
|
|
|
1004
975
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1005
976
|
default:
|
|
1006
977
|
const parsedBody = parsedOutput.body;
|
|
1007
|
-
throwDefaultError({
|
|
978
|
+
return throwDefaultError({
|
|
1008
979
|
output,
|
|
1009
980
|
parsedBody,
|
|
1010
|
-
exceptionCtor: __BaseException,
|
|
1011
981
|
errorCode,
|
|
1012
982
|
});
|
|
1013
983
|
}
|
|
@@ -1020,12 +990,11 @@ export const de_CreateIntegrationWorkflowCommand = async (output, context) => {
|
|
|
1020
990
|
$metadata: deserializeMetadata(output),
|
|
1021
991
|
});
|
|
1022
992
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
}
|
|
993
|
+
const doc = take(data, {
|
|
994
|
+
Message: __expectString,
|
|
995
|
+
WorkflowId: __expectString,
|
|
996
|
+
});
|
|
997
|
+
Object.assign(contents, doc);
|
|
1029
998
|
return contents;
|
|
1030
999
|
};
|
|
1031
1000
|
const de_CreateIntegrationWorkflowCommandError = async (output, context) => {
|
|
@@ -1052,10 +1021,9 @@ const de_CreateIntegrationWorkflowCommandError = async (output, context) => {
|
|
|
1052
1021
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1053
1022
|
default:
|
|
1054
1023
|
const parsedBody = parsedOutput.body;
|
|
1055
|
-
throwDefaultError({
|
|
1024
|
+
return throwDefaultError({
|
|
1056
1025
|
output,
|
|
1057
1026
|
parsedBody,
|
|
1058
|
-
exceptionCtor: __BaseException,
|
|
1059
1027
|
errorCode,
|
|
1060
1028
|
});
|
|
1061
1029
|
}
|
|
@@ -1068,9 +1036,10 @@ export const de_CreateProfileCommand = async (output, context) => {
|
|
|
1068
1036
|
$metadata: deserializeMetadata(output),
|
|
1069
1037
|
});
|
|
1070
1038
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
}
|
|
1039
|
+
const doc = take(data, {
|
|
1040
|
+
ProfileId: __expectString,
|
|
1041
|
+
});
|
|
1042
|
+
Object.assign(contents, doc);
|
|
1074
1043
|
return contents;
|
|
1075
1044
|
};
|
|
1076
1045
|
const de_CreateProfileCommandError = async (output, context) => {
|
|
@@ -1097,10 +1066,9 @@ const de_CreateProfileCommandError = async (output, context) => {
|
|
|
1097
1066
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1098
1067
|
default:
|
|
1099
1068
|
const parsedBody = parsedOutput.body;
|
|
1100
|
-
throwDefaultError({
|
|
1069
|
+
return throwDefaultError({
|
|
1101
1070
|
output,
|
|
1102
1071
|
parsedBody,
|
|
1103
|
-
exceptionCtor: __BaseException,
|
|
1104
1072
|
errorCode,
|
|
1105
1073
|
});
|
|
1106
1074
|
}
|
|
@@ -1113,9 +1081,10 @@ export const de_DeleteDomainCommand = async (output, context) => {
|
|
|
1113
1081
|
$metadata: deserializeMetadata(output),
|
|
1114
1082
|
});
|
|
1115
1083
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
}
|
|
1084
|
+
const doc = take(data, {
|
|
1085
|
+
Message: __expectString,
|
|
1086
|
+
});
|
|
1087
|
+
Object.assign(contents, doc);
|
|
1119
1088
|
return contents;
|
|
1120
1089
|
};
|
|
1121
1090
|
const de_DeleteDomainCommandError = async (output, context) => {
|
|
@@ -1142,10 +1111,9 @@ const de_DeleteDomainCommandError = async (output, context) => {
|
|
|
1142
1111
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1143
1112
|
default:
|
|
1144
1113
|
const parsedBody = parsedOutput.body;
|
|
1145
|
-
throwDefaultError({
|
|
1114
|
+
return throwDefaultError({
|
|
1146
1115
|
output,
|
|
1147
1116
|
parsedBody,
|
|
1148
|
-
exceptionCtor: __BaseException,
|
|
1149
1117
|
errorCode,
|
|
1150
1118
|
});
|
|
1151
1119
|
}
|
|
@@ -1158,9 +1126,10 @@ export const de_DeleteIntegrationCommand = async (output, context) => {
|
|
|
1158
1126
|
$metadata: deserializeMetadata(output),
|
|
1159
1127
|
});
|
|
1160
1128
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
}
|
|
1129
|
+
const doc = take(data, {
|
|
1130
|
+
Message: __expectString,
|
|
1131
|
+
});
|
|
1132
|
+
Object.assign(contents, doc);
|
|
1164
1133
|
return contents;
|
|
1165
1134
|
};
|
|
1166
1135
|
const de_DeleteIntegrationCommandError = async (output, context) => {
|
|
@@ -1187,10 +1156,9 @@ const de_DeleteIntegrationCommandError = async (output, context) => {
|
|
|
1187
1156
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1188
1157
|
default:
|
|
1189
1158
|
const parsedBody = parsedOutput.body;
|
|
1190
|
-
throwDefaultError({
|
|
1159
|
+
return throwDefaultError({
|
|
1191
1160
|
output,
|
|
1192
1161
|
parsedBody,
|
|
1193
|
-
exceptionCtor: __BaseException,
|
|
1194
1162
|
errorCode,
|
|
1195
1163
|
});
|
|
1196
1164
|
}
|
|
@@ -1203,9 +1171,10 @@ export const de_DeleteProfileCommand = async (output, context) => {
|
|
|
1203
1171
|
$metadata: deserializeMetadata(output),
|
|
1204
1172
|
});
|
|
1205
1173
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
}
|
|
1174
|
+
const doc = take(data, {
|
|
1175
|
+
Message: __expectString,
|
|
1176
|
+
});
|
|
1177
|
+
Object.assign(contents, doc);
|
|
1209
1178
|
return contents;
|
|
1210
1179
|
};
|
|
1211
1180
|
const de_DeleteProfileCommandError = async (output, context) => {
|
|
@@ -1232,10 +1201,9 @@ const de_DeleteProfileCommandError = async (output, context) => {
|
|
|
1232
1201
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1233
1202
|
default:
|
|
1234
1203
|
const parsedBody = parsedOutput.body;
|
|
1235
|
-
throwDefaultError({
|
|
1204
|
+
return throwDefaultError({
|
|
1236
1205
|
output,
|
|
1237
1206
|
parsedBody,
|
|
1238
|
-
exceptionCtor: __BaseException,
|
|
1239
1207
|
errorCode,
|
|
1240
1208
|
});
|
|
1241
1209
|
}
|
|
@@ -1248,9 +1216,10 @@ export const de_DeleteProfileKeyCommand = async (output, context) => {
|
|
|
1248
1216
|
$metadata: deserializeMetadata(output),
|
|
1249
1217
|
});
|
|
1250
1218
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
}
|
|
1219
|
+
const doc = take(data, {
|
|
1220
|
+
Message: __expectString,
|
|
1221
|
+
});
|
|
1222
|
+
Object.assign(contents, doc);
|
|
1254
1223
|
return contents;
|
|
1255
1224
|
};
|
|
1256
1225
|
const de_DeleteProfileKeyCommandError = async (output, context) => {
|
|
@@ -1277,10 +1246,9 @@ const de_DeleteProfileKeyCommandError = async (output, context) => {
|
|
|
1277
1246
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1278
1247
|
default:
|
|
1279
1248
|
const parsedBody = parsedOutput.body;
|
|
1280
|
-
throwDefaultError({
|
|
1249
|
+
return throwDefaultError({
|
|
1281
1250
|
output,
|
|
1282
1251
|
parsedBody,
|
|
1283
|
-
exceptionCtor: __BaseException,
|
|
1284
1252
|
errorCode,
|
|
1285
1253
|
});
|
|
1286
1254
|
}
|
|
@@ -1293,9 +1261,10 @@ export const de_DeleteProfileObjectCommand = async (output, context) => {
|
|
|
1293
1261
|
$metadata: deserializeMetadata(output),
|
|
1294
1262
|
});
|
|
1295
1263
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
}
|
|
1264
|
+
const doc = take(data, {
|
|
1265
|
+
Message: __expectString,
|
|
1266
|
+
});
|
|
1267
|
+
Object.assign(contents, doc);
|
|
1299
1268
|
return contents;
|
|
1300
1269
|
};
|
|
1301
1270
|
const de_DeleteProfileObjectCommandError = async (output, context) => {
|
|
@@ -1322,10 +1291,9 @@ const de_DeleteProfileObjectCommandError = async (output, context) => {
|
|
|
1322
1291
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1323
1292
|
default:
|
|
1324
1293
|
const parsedBody = parsedOutput.body;
|
|
1325
|
-
throwDefaultError({
|
|
1294
|
+
return throwDefaultError({
|
|
1326
1295
|
output,
|
|
1327
1296
|
parsedBody,
|
|
1328
|
-
exceptionCtor: __BaseException,
|
|
1329
1297
|
errorCode,
|
|
1330
1298
|
});
|
|
1331
1299
|
}
|
|
@@ -1338,9 +1306,10 @@ export const de_DeleteProfileObjectTypeCommand = async (output, context) => {
|
|
|
1338
1306
|
$metadata: deserializeMetadata(output),
|
|
1339
1307
|
});
|
|
1340
1308
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
}
|
|
1309
|
+
const doc = take(data, {
|
|
1310
|
+
Message: __expectString,
|
|
1311
|
+
});
|
|
1312
|
+
Object.assign(contents, doc);
|
|
1344
1313
|
return contents;
|
|
1345
1314
|
};
|
|
1346
1315
|
const de_DeleteProfileObjectTypeCommandError = async (output, context) => {
|
|
@@ -1367,10 +1336,9 @@ const de_DeleteProfileObjectTypeCommandError = async (output, context) => {
|
|
|
1367
1336
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1368
1337
|
default:
|
|
1369
1338
|
const parsedBody = parsedOutput.body;
|
|
1370
|
-
throwDefaultError({
|
|
1339
|
+
return throwDefaultError({
|
|
1371
1340
|
output,
|
|
1372
1341
|
parsedBody,
|
|
1373
|
-
exceptionCtor: __BaseException,
|
|
1374
1342
|
errorCode,
|
|
1375
1343
|
});
|
|
1376
1344
|
}
|
|
@@ -1409,10 +1377,9 @@ const de_DeleteWorkflowCommandError = async (output, context) => {
|
|
|
1409
1377
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1410
1378
|
default:
|
|
1411
1379
|
const parsedBody = parsedOutput.body;
|
|
1412
|
-
throwDefaultError({
|
|
1380
|
+
return throwDefaultError({
|
|
1413
1381
|
output,
|
|
1414
1382
|
parsedBody,
|
|
1415
|
-
exceptionCtor: __BaseException,
|
|
1416
1383
|
errorCode,
|
|
1417
1384
|
});
|
|
1418
1385
|
}
|
|
@@ -1425,18 +1392,13 @@ export const de_GetAutoMergingPreviewCommand = async (output, context) => {
|
|
|
1425
1392
|
$metadata: deserializeMetadata(output),
|
|
1426
1393
|
});
|
|
1427
1394
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
}
|
|
1434
|
-
|
|
1435
|
-
contents.NumberOfProfilesInSample = __expectLong(data.NumberOfProfilesInSample);
|
|
1436
|
-
}
|
|
1437
|
-
if (data.NumberOfProfilesWillBeMerged != null) {
|
|
1438
|
-
contents.NumberOfProfilesWillBeMerged = __expectLong(data.NumberOfProfilesWillBeMerged);
|
|
1439
|
-
}
|
|
1395
|
+
const doc = take(data, {
|
|
1396
|
+
DomainName: __expectString,
|
|
1397
|
+
NumberOfMatchesInSample: __expectLong,
|
|
1398
|
+
NumberOfProfilesInSample: __expectLong,
|
|
1399
|
+
NumberOfProfilesWillBeMerged: __expectLong,
|
|
1400
|
+
});
|
|
1401
|
+
Object.assign(contents, doc);
|
|
1440
1402
|
return contents;
|
|
1441
1403
|
};
|
|
1442
1404
|
const de_GetAutoMergingPreviewCommandError = async (output, context) => {
|
|
@@ -1463,10 +1425,9 @@ const de_GetAutoMergingPreviewCommandError = async (output, context) => {
|
|
|
1463
1425
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1464
1426
|
default:
|
|
1465
1427
|
const parsedBody = parsedOutput.body;
|
|
1466
|
-
throwDefaultError({
|
|
1428
|
+
return throwDefaultError({
|
|
1467
1429
|
output,
|
|
1468
1430
|
parsedBody,
|
|
1469
|
-
exceptionCtor: __BaseException,
|
|
1470
1431
|
errorCode,
|
|
1471
1432
|
});
|
|
1472
1433
|
}
|
|
@@ -1479,33 +1440,18 @@ export const de_GetDomainCommand = async (output, context) => {
|
|
|
1479
1440
|
$metadata: deserializeMetadata(output),
|
|
1480
1441
|
});
|
|
1481
1442
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
if (data.DomainName != null) {
|
|
1495
|
-
contents.DomainName = __expectString(data.DomainName);
|
|
1496
|
-
}
|
|
1497
|
-
if (data.LastUpdatedAt != null) {
|
|
1498
|
-
contents.LastUpdatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastUpdatedAt)));
|
|
1499
|
-
}
|
|
1500
|
-
if (data.Matching != null) {
|
|
1501
|
-
contents.Matching = de_MatchingResponse(data.Matching, context);
|
|
1502
|
-
}
|
|
1503
|
-
if (data.Stats != null) {
|
|
1504
|
-
contents.Stats = de_DomainStats(data.Stats, context);
|
|
1505
|
-
}
|
|
1506
|
-
if (data.Tags != null) {
|
|
1507
|
-
contents.Tags = de_TagMap(data.Tags, context);
|
|
1508
|
-
}
|
|
1443
|
+
const doc = take(data, {
|
|
1444
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1445
|
+
DeadLetterQueueUrl: __expectString,
|
|
1446
|
+
DefaultEncryptionKey: __expectString,
|
|
1447
|
+
DefaultExpirationDays: __expectInt32,
|
|
1448
|
+
DomainName: __expectString,
|
|
1449
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1450
|
+
Matching: (_) => de_MatchingResponse(_, context),
|
|
1451
|
+
Stats: _json,
|
|
1452
|
+
Tags: _json,
|
|
1453
|
+
});
|
|
1454
|
+
Object.assign(contents, doc);
|
|
1509
1455
|
return contents;
|
|
1510
1456
|
};
|
|
1511
1457
|
const de_GetDomainCommandError = async (output, context) => {
|
|
@@ -1532,10 +1478,9 @@ const de_GetDomainCommandError = async (output, context) => {
|
|
|
1532
1478
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1533
1479
|
default:
|
|
1534
1480
|
const parsedBody = parsedOutput.body;
|
|
1535
|
-
throwDefaultError({
|
|
1481
|
+
return throwDefaultError({
|
|
1536
1482
|
output,
|
|
1537
1483
|
parsedBody,
|
|
1538
|
-
exceptionCtor: __BaseException,
|
|
1539
1484
|
errorCode,
|
|
1540
1485
|
});
|
|
1541
1486
|
}
|
|
@@ -1548,39 +1493,20 @@ export const de_GetIdentityResolutionJobCommand = async (output, context) => {
|
|
|
1548
1493
|
$metadata: deserializeMetadata(output),
|
|
1549
1494
|
});
|
|
1550
1495
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
}
|
|
1566
|
-
if (data.JobId != null) {
|
|
1567
|
-
contents.JobId = __expectString(data.JobId);
|
|
1568
|
-
}
|
|
1569
|
-
if (data.JobStartTime != null) {
|
|
1570
|
-
contents.JobStartTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.JobStartTime)));
|
|
1571
|
-
}
|
|
1572
|
-
if (data.JobStats != null) {
|
|
1573
|
-
contents.JobStats = de_JobStats(data.JobStats, context);
|
|
1574
|
-
}
|
|
1575
|
-
if (data.LastUpdatedAt != null) {
|
|
1576
|
-
contents.LastUpdatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastUpdatedAt)));
|
|
1577
|
-
}
|
|
1578
|
-
if (data.Message != null) {
|
|
1579
|
-
contents.Message = __expectString(data.Message);
|
|
1580
|
-
}
|
|
1581
|
-
if (data.Status != null) {
|
|
1582
|
-
contents.Status = __expectString(data.Status);
|
|
1583
|
-
}
|
|
1496
|
+
const doc = take(data, {
|
|
1497
|
+
AutoMerging: (_) => de_AutoMerging(_, context),
|
|
1498
|
+
DomainName: __expectString,
|
|
1499
|
+
ExportingLocation: _json,
|
|
1500
|
+
JobEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1501
|
+
JobExpirationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1502
|
+
JobId: __expectString,
|
|
1503
|
+
JobStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1504
|
+
JobStats: _json,
|
|
1505
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1506
|
+
Message: __expectString,
|
|
1507
|
+
Status: __expectString,
|
|
1508
|
+
});
|
|
1509
|
+
Object.assign(contents, doc);
|
|
1584
1510
|
return contents;
|
|
1585
1511
|
};
|
|
1586
1512
|
const de_GetIdentityResolutionJobCommandError = async (output, context) => {
|
|
@@ -1607,10 +1533,9 @@ const de_GetIdentityResolutionJobCommandError = async (output, context) => {
|
|
|
1607
1533
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1608
1534
|
default:
|
|
1609
1535
|
const parsedBody = parsedOutput.body;
|
|
1610
|
-
throwDefaultError({
|
|
1536
|
+
return throwDefaultError({
|
|
1611
1537
|
output,
|
|
1612
1538
|
parsedBody,
|
|
1613
|
-
exceptionCtor: __BaseException,
|
|
1614
1539
|
errorCode,
|
|
1615
1540
|
});
|
|
1616
1541
|
}
|
|
@@ -1623,33 +1548,18 @@ export const de_GetIntegrationCommand = async (output, context) => {
|
|
|
1623
1548
|
$metadata: deserializeMetadata(output),
|
|
1624
1549
|
});
|
|
1625
1550
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
if (data.ObjectTypeName != null) {
|
|
1639
|
-
contents.ObjectTypeName = __expectString(data.ObjectTypeName);
|
|
1640
|
-
}
|
|
1641
|
-
if (data.ObjectTypeNames != null) {
|
|
1642
|
-
contents.ObjectTypeNames = de_ObjectTypeNames(data.ObjectTypeNames, context);
|
|
1643
|
-
}
|
|
1644
|
-
if (data.Tags != null) {
|
|
1645
|
-
contents.Tags = de_TagMap(data.Tags, context);
|
|
1646
|
-
}
|
|
1647
|
-
if (data.Uri != null) {
|
|
1648
|
-
contents.Uri = __expectString(data.Uri);
|
|
1649
|
-
}
|
|
1650
|
-
if (data.WorkflowId != null) {
|
|
1651
|
-
contents.WorkflowId = __expectString(data.WorkflowId);
|
|
1652
|
-
}
|
|
1551
|
+
const doc = take(data, {
|
|
1552
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1553
|
+
DomainName: __expectString,
|
|
1554
|
+
IsUnstructured: __expectBoolean,
|
|
1555
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1556
|
+
ObjectTypeName: __expectString,
|
|
1557
|
+
ObjectTypeNames: _json,
|
|
1558
|
+
Tags: _json,
|
|
1559
|
+
Uri: __expectString,
|
|
1560
|
+
WorkflowId: __expectString,
|
|
1561
|
+
});
|
|
1562
|
+
Object.assign(contents, doc);
|
|
1653
1563
|
return contents;
|
|
1654
1564
|
};
|
|
1655
1565
|
const de_GetIntegrationCommandError = async (output, context) => {
|
|
@@ -1676,10 +1586,9 @@ const de_GetIntegrationCommandError = async (output, context) => {
|
|
|
1676
1586
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1677
1587
|
default:
|
|
1678
1588
|
const parsedBody = parsedOutput.body;
|
|
1679
|
-
throwDefaultError({
|
|
1589
|
+
return throwDefaultError({
|
|
1680
1590
|
output,
|
|
1681
1591
|
parsedBody,
|
|
1682
|
-
exceptionCtor: __BaseException,
|
|
1683
1592
|
errorCode,
|
|
1684
1593
|
});
|
|
1685
1594
|
}
|
|
@@ -1692,18 +1601,13 @@ export const de_GetMatchesCommand = async (output, context) => {
|
|
|
1692
1601
|
$metadata: deserializeMetadata(output),
|
|
1693
1602
|
});
|
|
1694
1603
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
|
-
contents.NextToken = __expectString(data.NextToken);
|
|
1703
|
-
}
|
|
1704
|
-
if (data.PotentialMatches != null) {
|
|
1705
|
-
contents.PotentialMatches = __expectInt32(data.PotentialMatches);
|
|
1706
|
-
}
|
|
1604
|
+
const doc = take(data, {
|
|
1605
|
+
MatchGenerationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1606
|
+
Matches: (_) => de_MatchesList(_, context),
|
|
1607
|
+
NextToken: __expectString,
|
|
1608
|
+
PotentialMatches: __expectInt32,
|
|
1609
|
+
});
|
|
1610
|
+
Object.assign(contents, doc);
|
|
1707
1611
|
return contents;
|
|
1708
1612
|
};
|
|
1709
1613
|
const de_GetMatchesCommandError = async (output, context) => {
|
|
@@ -1730,10 +1634,9 @@ const de_GetMatchesCommandError = async (output, context) => {
|
|
|
1730
1634
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1731
1635
|
default:
|
|
1732
1636
|
const parsedBody = parsedOutput.body;
|
|
1733
|
-
throwDefaultError({
|
|
1637
|
+
return throwDefaultError({
|
|
1734
1638
|
output,
|
|
1735
1639
|
parsedBody,
|
|
1736
|
-
exceptionCtor: __BaseException,
|
|
1737
1640
|
errorCode,
|
|
1738
1641
|
});
|
|
1739
1642
|
}
|
|
@@ -1746,42 +1649,21 @@ export const de_GetProfileObjectTypeCommand = async (output, context) => {
|
|
|
1746
1649
|
$metadata: deserializeMetadata(output),
|
|
1747
1650
|
});
|
|
1748
1651
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
if (data.Fields != null) {
|
|
1765
|
-
contents.Fields = de_FieldMap(data.Fields, context);
|
|
1766
|
-
}
|
|
1767
|
-
if (data.Keys != null) {
|
|
1768
|
-
contents.Keys = de_KeyMap(data.Keys, context);
|
|
1769
|
-
}
|
|
1770
|
-
if (data.LastUpdatedAt != null) {
|
|
1771
|
-
contents.LastUpdatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastUpdatedAt)));
|
|
1772
|
-
}
|
|
1773
|
-
if (data.ObjectTypeName != null) {
|
|
1774
|
-
contents.ObjectTypeName = __expectString(data.ObjectTypeName);
|
|
1775
|
-
}
|
|
1776
|
-
if (data.SourceLastUpdatedTimestampFormat != null) {
|
|
1777
|
-
contents.SourceLastUpdatedTimestampFormat = __expectString(data.SourceLastUpdatedTimestampFormat);
|
|
1778
|
-
}
|
|
1779
|
-
if (data.Tags != null) {
|
|
1780
|
-
contents.Tags = de_TagMap(data.Tags, context);
|
|
1781
|
-
}
|
|
1782
|
-
if (data.TemplateId != null) {
|
|
1783
|
-
contents.TemplateId = __expectString(data.TemplateId);
|
|
1784
|
-
}
|
|
1652
|
+
const doc = take(data, {
|
|
1653
|
+
AllowProfileCreation: __expectBoolean,
|
|
1654
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1655
|
+
Description: __expectString,
|
|
1656
|
+
EncryptionKey: __expectString,
|
|
1657
|
+
ExpirationDays: __expectInt32,
|
|
1658
|
+
Fields: _json,
|
|
1659
|
+
Keys: _json,
|
|
1660
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1661
|
+
ObjectTypeName: __expectString,
|
|
1662
|
+
SourceLastUpdatedTimestampFormat: __expectString,
|
|
1663
|
+
Tags: _json,
|
|
1664
|
+
TemplateId: __expectString,
|
|
1665
|
+
});
|
|
1666
|
+
Object.assign(contents, doc);
|
|
1785
1667
|
return contents;
|
|
1786
1668
|
};
|
|
1787
1669
|
const de_GetProfileObjectTypeCommandError = async (output, context) => {
|
|
@@ -1808,10 +1690,9 @@ const de_GetProfileObjectTypeCommandError = async (output, context) => {
|
|
|
1808
1690
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1809
1691
|
default:
|
|
1810
1692
|
const parsedBody = parsedOutput.body;
|
|
1811
|
-
throwDefaultError({
|
|
1693
|
+
return throwDefaultError({
|
|
1812
1694
|
output,
|
|
1813
1695
|
parsedBody,
|
|
1814
|
-
exceptionCtor: __BaseException,
|
|
1815
1696
|
errorCode,
|
|
1816
1697
|
});
|
|
1817
1698
|
}
|
|
@@ -1824,27 +1705,16 @@ export const de_GetProfileObjectTypeTemplateCommand = async (output, context) =>
|
|
|
1824
1705
|
$metadata: deserializeMetadata(output),
|
|
1825
1706
|
});
|
|
1826
1707
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
}
|
|
1836
|
-
|
|
1837
|
-
contents.SourceLastUpdatedTimestampFormat = __expectString(data.SourceLastUpdatedTimestampFormat);
|
|
1838
|
-
}
|
|
1839
|
-
if (data.SourceName != null) {
|
|
1840
|
-
contents.SourceName = __expectString(data.SourceName);
|
|
1841
|
-
}
|
|
1842
|
-
if (data.SourceObject != null) {
|
|
1843
|
-
contents.SourceObject = __expectString(data.SourceObject);
|
|
1844
|
-
}
|
|
1845
|
-
if (data.TemplateId != null) {
|
|
1846
|
-
contents.TemplateId = __expectString(data.TemplateId);
|
|
1847
|
-
}
|
|
1708
|
+
const doc = take(data, {
|
|
1709
|
+
AllowProfileCreation: __expectBoolean,
|
|
1710
|
+
Fields: _json,
|
|
1711
|
+
Keys: _json,
|
|
1712
|
+
SourceLastUpdatedTimestampFormat: __expectString,
|
|
1713
|
+
SourceName: __expectString,
|
|
1714
|
+
SourceObject: __expectString,
|
|
1715
|
+
TemplateId: __expectString,
|
|
1716
|
+
});
|
|
1717
|
+
Object.assign(contents, doc);
|
|
1848
1718
|
return contents;
|
|
1849
1719
|
};
|
|
1850
1720
|
const de_GetProfileObjectTypeTemplateCommandError = async (output, context) => {
|
|
@@ -1871,10 +1741,9 @@ const de_GetProfileObjectTypeTemplateCommandError = async (output, context) => {
|
|
|
1871
1741
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1872
1742
|
default:
|
|
1873
1743
|
const parsedBody = parsedOutput.body;
|
|
1874
|
-
throwDefaultError({
|
|
1744
|
+
return throwDefaultError({
|
|
1875
1745
|
output,
|
|
1876
1746
|
parsedBody,
|
|
1877
|
-
exceptionCtor: __BaseException,
|
|
1878
1747
|
errorCode,
|
|
1879
1748
|
});
|
|
1880
1749
|
}
|
|
@@ -1887,30 +1756,17 @@ export const de_GetWorkflowCommand = async (output, context) => {
|
|
|
1887
1756
|
$metadata: deserializeMetadata(output),
|
|
1888
1757
|
});
|
|
1889
1758
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
}
|
|
1902
|
-
if (data.StartDate != null) {
|
|
1903
|
-
contents.StartDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.StartDate)));
|
|
1904
|
-
}
|
|
1905
|
-
if (data.Status != null) {
|
|
1906
|
-
contents.Status = __expectString(data.Status);
|
|
1907
|
-
}
|
|
1908
|
-
if (data.WorkflowId != null) {
|
|
1909
|
-
contents.WorkflowId = __expectString(data.WorkflowId);
|
|
1910
|
-
}
|
|
1911
|
-
if (data.WorkflowType != null) {
|
|
1912
|
-
contents.WorkflowType = __expectString(data.WorkflowType);
|
|
1913
|
-
}
|
|
1759
|
+
const doc = take(data, {
|
|
1760
|
+
Attributes: _json,
|
|
1761
|
+
ErrorDescription: __expectString,
|
|
1762
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1763
|
+
Metrics: _json,
|
|
1764
|
+
StartDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1765
|
+
Status: __expectString,
|
|
1766
|
+
WorkflowId: __expectString,
|
|
1767
|
+
WorkflowType: __expectString,
|
|
1768
|
+
});
|
|
1769
|
+
Object.assign(contents, doc);
|
|
1914
1770
|
return contents;
|
|
1915
1771
|
};
|
|
1916
1772
|
const de_GetWorkflowCommandError = async (output, context) => {
|
|
@@ -1937,10 +1793,9 @@ const de_GetWorkflowCommandError = async (output, context) => {
|
|
|
1937
1793
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1938
1794
|
default:
|
|
1939
1795
|
const parsedBody = parsedOutput.body;
|
|
1940
|
-
throwDefaultError({
|
|
1796
|
+
return throwDefaultError({
|
|
1941
1797
|
output,
|
|
1942
1798
|
parsedBody,
|
|
1943
|
-
exceptionCtor: __BaseException,
|
|
1944
1799
|
errorCode,
|
|
1945
1800
|
});
|
|
1946
1801
|
}
|
|
@@ -1953,18 +1808,13 @@ export const de_GetWorkflowStepsCommand = async (output, context) => {
|
|
|
1953
1808
|
$metadata: deserializeMetadata(output),
|
|
1954
1809
|
});
|
|
1955
1810
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
}
|
|
1962
|
-
|
|
1963
|
-
contents.WorkflowId = __expectString(data.WorkflowId);
|
|
1964
|
-
}
|
|
1965
|
-
if (data.WorkflowType != null) {
|
|
1966
|
-
contents.WorkflowType = __expectString(data.WorkflowType);
|
|
1967
|
-
}
|
|
1811
|
+
const doc = take(data, {
|
|
1812
|
+
Items: (_) => de_WorkflowStepsList(_, context),
|
|
1813
|
+
NextToken: __expectString,
|
|
1814
|
+
WorkflowId: __expectString,
|
|
1815
|
+
WorkflowType: __expectString,
|
|
1816
|
+
});
|
|
1817
|
+
Object.assign(contents, doc);
|
|
1968
1818
|
return contents;
|
|
1969
1819
|
};
|
|
1970
1820
|
const de_GetWorkflowStepsCommandError = async (output, context) => {
|
|
@@ -1991,10 +1841,9 @@ const de_GetWorkflowStepsCommandError = async (output, context) => {
|
|
|
1991
1841
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1992
1842
|
default:
|
|
1993
1843
|
const parsedBody = parsedOutput.body;
|
|
1994
|
-
throwDefaultError({
|
|
1844
|
+
return throwDefaultError({
|
|
1995
1845
|
output,
|
|
1996
1846
|
parsedBody,
|
|
1997
|
-
exceptionCtor: __BaseException,
|
|
1998
1847
|
errorCode,
|
|
1999
1848
|
});
|
|
2000
1849
|
}
|
|
@@ -2007,12 +1856,11 @@ export const de_ListAccountIntegrationsCommand = async (output, context) => {
|
|
|
2007
1856
|
$metadata: deserializeMetadata(output),
|
|
2008
1857
|
});
|
|
2009
1858
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
}
|
|
1859
|
+
const doc = take(data, {
|
|
1860
|
+
Items: (_) => de_IntegrationList(_, context),
|
|
1861
|
+
NextToken: __expectString,
|
|
1862
|
+
});
|
|
1863
|
+
Object.assign(contents, doc);
|
|
2016
1864
|
return contents;
|
|
2017
1865
|
};
|
|
2018
1866
|
const de_ListAccountIntegrationsCommandError = async (output, context) => {
|
|
@@ -2039,10 +1887,9 @@ const de_ListAccountIntegrationsCommandError = async (output, context) => {
|
|
|
2039
1887
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2040
1888
|
default:
|
|
2041
1889
|
const parsedBody = parsedOutput.body;
|
|
2042
|
-
throwDefaultError({
|
|
1890
|
+
return throwDefaultError({
|
|
2043
1891
|
output,
|
|
2044
1892
|
parsedBody,
|
|
2045
|
-
exceptionCtor: __BaseException,
|
|
2046
1893
|
errorCode,
|
|
2047
1894
|
});
|
|
2048
1895
|
}
|
|
@@ -2055,12 +1902,11 @@ export const de_ListDomainsCommand = async (output, context) => {
|
|
|
2055
1902
|
$metadata: deserializeMetadata(output),
|
|
2056
1903
|
});
|
|
2057
1904
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
}
|
|
1905
|
+
const doc = take(data, {
|
|
1906
|
+
Items: (_) => de_DomainList(_, context),
|
|
1907
|
+
NextToken: __expectString,
|
|
1908
|
+
});
|
|
1909
|
+
Object.assign(contents, doc);
|
|
2064
1910
|
return contents;
|
|
2065
1911
|
};
|
|
2066
1912
|
const de_ListDomainsCommandError = async (output, context) => {
|
|
@@ -2087,10 +1933,9 @@ const de_ListDomainsCommandError = async (output, context) => {
|
|
|
2087
1933
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2088
1934
|
default:
|
|
2089
1935
|
const parsedBody = parsedOutput.body;
|
|
2090
|
-
throwDefaultError({
|
|
1936
|
+
return throwDefaultError({
|
|
2091
1937
|
output,
|
|
2092
1938
|
parsedBody,
|
|
2093
|
-
exceptionCtor: __BaseException,
|
|
2094
1939
|
errorCode,
|
|
2095
1940
|
});
|
|
2096
1941
|
}
|
|
@@ -2103,12 +1948,11 @@ export const de_ListIdentityResolutionJobsCommand = async (output, context) => {
|
|
|
2103
1948
|
$metadata: deserializeMetadata(output),
|
|
2104
1949
|
});
|
|
2105
1950
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
}
|
|
1951
|
+
const doc = take(data, {
|
|
1952
|
+
IdentityResolutionJobsList: (_) => de_IdentityResolutionJobsList(_, context),
|
|
1953
|
+
NextToken: __expectString,
|
|
1954
|
+
});
|
|
1955
|
+
Object.assign(contents, doc);
|
|
2112
1956
|
return contents;
|
|
2113
1957
|
};
|
|
2114
1958
|
const de_ListIdentityResolutionJobsCommandError = async (output, context) => {
|
|
@@ -2135,10 +1979,9 @@ const de_ListIdentityResolutionJobsCommandError = async (output, context) => {
|
|
|
2135
1979
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2136
1980
|
default:
|
|
2137
1981
|
const parsedBody = parsedOutput.body;
|
|
2138
|
-
throwDefaultError({
|
|
1982
|
+
return throwDefaultError({
|
|
2139
1983
|
output,
|
|
2140
1984
|
parsedBody,
|
|
2141
|
-
exceptionCtor: __BaseException,
|
|
2142
1985
|
errorCode,
|
|
2143
1986
|
});
|
|
2144
1987
|
}
|
|
@@ -2151,12 +1994,11 @@ export const de_ListIntegrationsCommand = async (output, context) => {
|
|
|
2151
1994
|
$metadata: deserializeMetadata(output),
|
|
2152
1995
|
});
|
|
2153
1996
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
}
|
|
1997
|
+
const doc = take(data, {
|
|
1998
|
+
Items: (_) => de_IntegrationList(_, context),
|
|
1999
|
+
NextToken: __expectString,
|
|
2000
|
+
});
|
|
2001
|
+
Object.assign(contents, doc);
|
|
2160
2002
|
return contents;
|
|
2161
2003
|
};
|
|
2162
2004
|
const de_ListIntegrationsCommandError = async (output, context) => {
|
|
@@ -2183,10 +2025,9 @@ const de_ListIntegrationsCommandError = async (output, context) => {
|
|
|
2183
2025
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2184
2026
|
default:
|
|
2185
2027
|
const parsedBody = parsedOutput.body;
|
|
2186
|
-
throwDefaultError({
|
|
2028
|
+
return throwDefaultError({
|
|
2187
2029
|
output,
|
|
2188
2030
|
parsedBody,
|
|
2189
|
-
exceptionCtor: __BaseException,
|
|
2190
2031
|
errorCode,
|
|
2191
2032
|
});
|
|
2192
2033
|
}
|
|
@@ -2199,12 +2040,11 @@ export const de_ListProfileObjectsCommand = async (output, context) => {
|
|
|
2199
2040
|
$metadata: deserializeMetadata(output),
|
|
2200
2041
|
});
|
|
2201
2042
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
}
|
|
2043
|
+
const doc = take(data, {
|
|
2044
|
+
Items: _json,
|
|
2045
|
+
NextToken: __expectString,
|
|
2046
|
+
});
|
|
2047
|
+
Object.assign(contents, doc);
|
|
2208
2048
|
return contents;
|
|
2209
2049
|
};
|
|
2210
2050
|
const de_ListProfileObjectsCommandError = async (output, context) => {
|
|
@@ -2231,10 +2071,9 @@ const de_ListProfileObjectsCommandError = async (output, context) => {
|
|
|
2231
2071
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2232
2072
|
default:
|
|
2233
2073
|
const parsedBody = parsedOutput.body;
|
|
2234
|
-
throwDefaultError({
|
|
2074
|
+
return throwDefaultError({
|
|
2235
2075
|
output,
|
|
2236
2076
|
parsedBody,
|
|
2237
|
-
exceptionCtor: __BaseException,
|
|
2238
2077
|
errorCode,
|
|
2239
2078
|
});
|
|
2240
2079
|
}
|
|
@@ -2247,12 +2086,11 @@ export const de_ListProfileObjectTypesCommand = async (output, context) => {
|
|
|
2247
2086
|
$metadata: deserializeMetadata(output),
|
|
2248
2087
|
});
|
|
2249
2088
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
}
|
|
2089
|
+
const doc = take(data, {
|
|
2090
|
+
Items: (_) => de_ProfileObjectTypeList(_, context),
|
|
2091
|
+
NextToken: __expectString,
|
|
2092
|
+
});
|
|
2093
|
+
Object.assign(contents, doc);
|
|
2256
2094
|
return contents;
|
|
2257
2095
|
};
|
|
2258
2096
|
const de_ListProfileObjectTypesCommandError = async (output, context) => {
|
|
@@ -2279,10 +2117,9 @@ const de_ListProfileObjectTypesCommandError = async (output, context) => {
|
|
|
2279
2117
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2280
2118
|
default:
|
|
2281
2119
|
const parsedBody = parsedOutput.body;
|
|
2282
|
-
throwDefaultError({
|
|
2120
|
+
return throwDefaultError({
|
|
2283
2121
|
output,
|
|
2284
2122
|
parsedBody,
|
|
2285
|
-
exceptionCtor: __BaseException,
|
|
2286
2123
|
errorCode,
|
|
2287
2124
|
});
|
|
2288
2125
|
}
|
|
@@ -2295,12 +2132,11 @@ export const de_ListProfileObjectTypeTemplatesCommand = async (output, context)
|
|
|
2295
2132
|
$metadata: deserializeMetadata(output),
|
|
2296
2133
|
});
|
|
2297
2134
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
}
|
|
2135
|
+
const doc = take(data, {
|
|
2136
|
+
Items: _json,
|
|
2137
|
+
NextToken: __expectString,
|
|
2138
|
+
});
|
|
2139
|
+
Object.assign(contents, doc);
|
|
2304
2140
|
return contents;
|
|
2305
2141
|
};
|
|
2306
2142
|
const de_ListProfileObjectTypeTemplatesCommandError = async (output, context) => {
|
|
@@ -2327,10 +2163,9 @@ const de_ListProfileObjectTypeTemplatesCommandError = async (output, context) =>
|
|
|
2327
2163
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2328
2164
|
default:
|
|
2329
2165
|
const parsedBody = parsedOutput.body;
|
|
2330
|
-
throwDefaultError({
|
|
2166
|
+
return throwDefaultError({
|
|
2331
2167
|
output,
|
|
2332
2168
|
parsedBody,
|
|
2333
|
-
exceptionCtor: __BaseException,
|
|
2334
2169
|
errorCode,
|
|
2335
2170
|
});
|
|
2336
2171
|
}
|
|
@@ -2343,9 +2178,10 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2343
2178
|
$metadata: deserializeMetadata(output),
|
|
2344
2179
|
});
|
|
2345
2180
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
}
|
|
2181
|
+
const doc = take(data, {
|
|
2182
|
+
tags: _json,
|
|
2183
|
+
});
|
|
2184
|
+
Object.assign(contents, doc);
|
|
2349
2185
|
return contents;
|
|
2350
2186
|
};
|
|
2351
2187
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -2366,10 +2202,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2366
2202
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2367
2203
|
default:
|
|
2368
2204
|
const parsedBody = parsedOutput.body;
|
|
2369
|
-
throwDefaultError({
|
|
2205
|
+
return throwDefaultError({
|
|
2370
2206
|
output,
|
|
2371
2207
|
parsedBody,
|
|
2372
|
-
exceptionCtor: __BaseException,
|
|
2373
2208
|
errorCode,
|
|
2374
2209
|
});
|
|
2375
2210
|
}
|
|
@@ -2382,12 +2217,11 @@ export const de_ListWorkflowsCommand = async (output, context) => {
|
|
|
2382
2217
|
$metadata: deserializeMetadata(output),
|
|
2383
2218
|
});
|
|
2384
2219
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
}
|
|
2220
|
+
const doc = take(data, {
|
|
2221
|
+
Items: (_) => de_WorkflowList(_, context),
|
|
2222
|
+
NextToken: __expectString,
|
|
2223
|
+
});
|
|
2224
|
+
Object.assign(contents, doc);
|
|
2391
2225
|
return contents;
|
|
2392
2226
|
};
|
|
2393
2227
|
const de_ListWorkflowsCommandError = async (output, context) => {
|
|
@@ -2414,10 +2248,9 @@ const de_ListWorkflowsCommandError = async (output, context) => {
|
|
|
2414
2248
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2415
2249
|
default:
|
|
2416
2250
|
const parsedBody = parsedOutput.body;
|
|
2417
|
-
throwDefaultError({
|
|
2251
|
+
return throwDefaultError({
|
|
2418
2252
|
output,
|
|
2419
2253
|
parsedBody,
|
|
2420
|
-
exceptionCtor: __BaseException,
|
|
2421
2254
|
errorCode,
|
|
2422
2255
|
});
|
|
2423
2256
|
}
|
|
@@ -2430,9 +2263,10 @@ export const de_MergeProfilesCommand = async (output, context) => {
|
|
|
2430
2263
|
$metadata: deserializeMetadata(output),
|
|
2431
2264
|
});
|
|
2432
2265
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
}
|
|
2266
|
+
const doc = take(data, {
|
|
2267
|
+
Message: __expectString,
|
|
2268
|
+
});
|
|
2269
|
+
Object.assign(contents, doc);
|
|
2436
2270
|
return contents;
|
|
2437
2271
|
};
|
|
2438
2272
|
const de_MergeProfilesCommandError = async (output, context) => {
|
|
@@ -2456,10 +2290,9 @@ const de_MergeProfilesCommandError = async (output, context) => {
|
|
|
2456
2290
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2457
2291
|
default:
|
|
2458
2292
|
const parsedBody = parsedOutput.body;
|
|
2459
|
-
throwDefaultError({
|
|
2293
|
+
return throwDefaultError({
|
|
2460
2294
|
output,
|
|
2461
2295
|
parsedBody,
|
|
2462
|
-
exceptionCtor: __BaseException,
|
|
2463
2296
|
errorCode,
|
|
2464
2297
|
});
|
|
2465
2298
|
}
|
|
@@ -2472,33 +2305,18 @@ export const de_PutIntegrationCommand = async (output, context) => {
|
|
|
2472
2305
|
$metadata: deserializeMetadata(output),
|
|
2473
2306
|
});
|
|
2474
2307
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
if (data.ObjectTypeName != null) {
|
|
2488
|
-
contents.ObjectTypeName = __expectString(data.ObjectTypeName);
|
|
2489
|
-
}
|
|
2490
|
-
if (data.ObjectTypeNames != null) {
|
|
2491
|
-
contents.ObjectTypeNames = de_ObjectTypeNames(data.ObjectTypeNames, context);
|
|
2492
|
-
}
|
|
2493
|
-
if (data.Tags != null) {
|
|
2494
|
-
contents.Tags = de_TagMap(data.Tags, context);
|
|
2495
|
-
}
|
|
2496
|
-
if (data.Uri != null) {
|
|
2497
|
-
contents.Uri = __expectString(data.Uri);
|
|
2498
|
-
}
|
|
2499
|
-
if (data.WorkflowId != null) {
|
|
2500
|
-
contents.WorkflowId = __expectString(data.WorkflowId);
|
|
2501
|
-
}
|
|
2308
|
+
const doc = take(data, {
|
|
2309
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2310
|
+
DomainName: __expectString,
|
|
2311
|
+
IsUnstructured: __expectBoolean,
|
|
2312
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2313
|
+
ObjectTypeName: __expectString,
|
|
2314
|
+
ObjectTypeNames: _json,
|
|
2315
|
+
Tags: _json,
|
|
2316
|
+
Uri: __expectString,
|
|
2317
|
+
WorkflowId: __expectString,
|
|
2318
|
+
});
|
|
2319
|
+
Object.assign(contents, doc);
|
|
2502
2320
|
return contents;
|
|
2503
2321
|
};
|
|
2504
2322
|
const de_PutIntegrationCommandError = async (output, context) => {
|
|
@@ -2525,10 +2343,9 @@ const de_PutIntegrationCommandError = async (output, context) => {
|
|
|
2525
2343
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2526
2344
|
default:
|
|
2527
2345
|
const parsedBody = parsedOutput.body;
|
|
2528
|
-
throwDefaultError({
|
|
2346
|
+
return throwDefaultError({
|
|
2529
2347
|
output,
|
|
2530
2348
|
parsedBody,
|
|
2531
|
-
exceptionCtor: __BaseException,
|
|
2532
2349
|
errorCode,
|
|
2533
2350
|
});
|
|
2534
2351
|
}
|
|
@@ -2541,9 +2358,10 @@ export const de_PutProfileObjectCommand = async (output, context) => {
|
|
|
2541
2358
|
$metadata: deserializeMetadata(output),
|
|
2542
2359
|
});
|
|
2543
2360
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
}
|
|
2361
|
+
const doc = take(data, {
|
|
2362
|
+
ProfileObjectUniqueKey: __expectString,
|
|
2363
|
+
});
|
|
2364
|
+
Object.assign(contents, doc);
|
|
2547
2365
|
return contents;
|
|
2548
2366
|
};
|
|
2549
2367
|
const de_PutProfileObjectCommandError = async (output, context) => {
|
|
@@ -2570,10 +2388,9 @@ const de_PutProfileObjectCommandError = async (output, context) => {
|
|
|
2570
2388
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2571
2389
|
default:
|
|
2572
2390
|
const parsedBody = parsedOutput.body;
|
|
2573
|
-
throwDefaultError({
|
|
2391
|
+
return throwDefaultError({
|
|
2574
2392
|
output,
|
|
2575
2393
|
parsedBody,
|
|
2576
|
-
exceptionCtor: __BaseException,
|
|
2577
2394
|
errorCode,
|
|
2578
2395
|
});
|
|
2579
2396
|
}
|
|
@@ -2586,42 +2403,21 @@ export const de_PutProfileObjectTypeCommand = async (output, context) => {
|
|
|
2586
2403
|
$metadata: deserializeMetadata(output),
|
|
2587
2404
|
});
|
|
2588
2405
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
if (data.Fields != null) {
|
|
2605
|
-
contents.Fields = de_FieldMap(data.Fields, context);
|
|
2606
|
-
}
|
|
2607
|
-
if (data.Keys != null) {
|
|
2608
|
-
contents.Keys = de_KeyMap(data.Keys, context);
|
|
2609
|
-
}
|
|
2610
|
-
if (data.LastUpdatedAt != null) {
|
|
2611
|
-
contents.LastUpdatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastUpdatedAt)));
|
|
2612
|
-
}
|
|
2613
|
-
if (data.ObjectTypeName != null) {
|
|
2614
|
-
contents.ObjectTypeName = __expectString(data.ObjectTypeName);
|
|
2615
|
-
}
|
|
2616
|
-
if (data.SourceLastUpdatedTimestampFormat != null) {
|
|
2617
|
-
contents.SourceLastUpdatedTimestampFormat = __expectString(data.SourceLastUpdatedTimestampFormat);
|
|
2618
|
-
}
|
|
2619
|
-
if (data.Tags != null) {
|
|
2620
|
-
contents.Tags = de_TagMap(data.Tags, context);
|
|
2621
|
-
}
|
|
2622
|
-
if (data.TemplateId != null) {
|
|
2623
|
-
contents.TemplateId = __expectString(data.TemplateId);
|
|
2624
|
-
}
|
|
2406
|
+
const doc = take(data, {
|
|
2407
|
+
AllowProfileCreation: __expectBoolean,
|
|
2408
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2409
|
+
Description: __expectString,
|
|
2410
|
+
EncryptionKey: __expectString,
|
|
2411
|
+
ExpirationDays: __expectInt32,
|
|
2412
|
+
Fields: _json,
|
|
2413
|
+
Keys: _json,
|
|
2414
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2415
|
+
ObjectTypeName: __expectString,
|
|
2416
|
+
SourceLastUpdatedTimestampFormat: __expectString,
|
|
2417
|
+
Tags: _json,
|
|
2418
|
+
TemplateId: __expectString,
|
|
2419
|
+
});
|
|
2420
|
+
Object.assign(contents, doc);
|
|
2625
2421
|
return contents;
|
|
2626
2422
|
};
|
|
2627
2423
|
const de_PutProfileObjectTypeCommandError = async (output, context) => {
|
|
@@ -2648,10 +2444,9 @@ const de_PutProfileObjectTypeCommandError = async (output, context) => {
|
|
|
2648
2444
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2649
2445
|
default:
|
|
2650
2446
|
const parsedBody = parsedOutput.body;
|
|
2651
|
-
throwDefaultError({
|
|
2447
|
+
return throwDefaultError({
|
|
2652
2448
|
output,
|
|
2653
2449
|
parsedBody,
|
|
2654
|
-
exceptionCtor: __BaseException,
|
|
2655
2450
|
errorCode,
|
|
2656
2451
|
});
|
|
2657
2452
|
}
|
|
@@ -2664,12 +2459,11 @@ export const de_SearchProfilesCommand = async (output, context) => {
|
|
|
2664
2459
|
$metadata: deserializeMetadata(output),
|
|
2665
2460
|
});
|
|
2666
2461
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
}
|
|
2462
|
+
const doc = take(data, {
|
|
2463
|
+
Items: _json,
|
|
2464
|
+
NextToken: __expectString,
|
|
2465
|
+
});
|
|
2466
|
+
Object.assign(contents, doc);
|
|
2673
2467
|
return contents;
|
|
2674
2468
|
};
|
|
2675
2469
|
const de_SearchProfilesCommandError = async (output, context) => {
|
|
@@ -2696,10 +2490,9 @@ const de_SearchProfilesCommandError = async (output, context) => {
|
|
|
2696
2490
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2697
2491
|
default:
|
|
2698
2492
|
const parsedBody = parsedOutput.body;
|
|
2699
|
-
throwDefaultError({
|
|
2493
|
+
return throwDefaultError({
|
|
2700
2494
|
output,
|
|
2701
2495
|
parsedBody,
|
|
2702
|
-
exceptionCtor: __BaseException,
|
|
2703
2496
|
errorCode,
|
|
2704
2497
|
});
|
|
2705
2498
|
}
|
|
@@ -2732,10 +2525,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2732
2525
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2733
2526
|
default:
|
|
2734
2527
|
const parsedBody = parsedOutput.body;
|
|
2735
|
-
throwDefaultError({
|
|
2528
|
+
return throwDefaultError({
|
|
2736
2529
|
output,
|
|
2737
2530
|
parsedBody,
|
|
2738
|
-
exceptionCtor: __BaseException,
|
|
2739
2531
|
errorCode,
|
|
2740
2532
|
});
|
|
2741
2533
|
}
|
|
@@ -2768,10 +2560,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2768
2560
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2769
2561
|
default:
|
|
2770
2562
|
const parsedBody = parsedOutput.body;
|
|
2771
|
-
throwDefaultError({
|
|
2563
|
+
return throwDefaultError({
|
|
2772
2564
|
output,
|
|
2773
2565
|
parsedBody,
|
|
2774
|
-
exceptionCtor: __BaseException,
|
|
2775
2566
|
errorCode,
|
|
2776
2567
|
});
|
|
2777
2568
|
}
|
|
@@ -2784,30 +2575,17 @@ export const de_UpdateDomainCommand = async (output, context) => {
|
|
|
2784
2575
|
$metadata: deserializeMetadata(output),
|
|
2785
2576
|
});
|
|
2786
2577
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
}
|
|
2799
|
-
if (data.DomainName != null) {
|
|
2800
|
-
contents.DomainName = __expectString(data.DomainName);
|
|
2801
|
-
}
|
|
2802
|
-
if (data.LastUpdatedAt != null) {
|
|
2803
|
-
contents.LastUpdatedAt = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.LastUpdatedAt)));
|
|
2804
|
-
}
|
|
2805
|
-
if (data.Matching != null) {
|
|
2806
|
-
contents.Matching = de_MatchingResponse(data.Matching, context);
|
|
2807
|
-
}
|
|
2808
|
-
if (data.Tags != null) {
|
|
2809
|
-
contents.Tags = de_TagMap(data.Tags, context);
|
|
2810
|
-
}
|
|
2578
|
+
const doc = take(data, {
|
|
2579
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2580
|
+
DeadLetterQueueUrl: __expectString,
|
|
2581
|
+
DefaultEncryptionKey: __expectString,
|
|
2582
|
+
DefaultExpirationDays: __expectInt32,
|
|
2583
|
+
DomainName: __expectString,
|
|
2584
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2585
|
+
Matching: (_) => de_MatchingResponse(_, context),
|
|
2586
|
+
Tags: _json,
|
|
2587
|
+
});
|
|
2588
|
+
Object.assign(contents, doc);
|
|
2811
2589
|
return contents;
|
|
2812
2590
|
};
|
|
2813
2591
|
const de_UpdateDomainCommandError = async (output, context) => {
|
|
@@ -2834,10 +2612,9 @@ const de_UpdateDomainCommandError = async (output, context) => {
|
|
|
2834
2612
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2835
2613
|
default:
|
|
2836
2614
|
const parsedBody = parsedOutput.body;
|
|
2837
|
-
throwDefaultError({
|
|
2615
|
+
return throwDefaultError({
|
|
2838
2616
|
output,
|
|
2839
2617
|
parsedBody,
|
|
2840
|
-
exceptionCtor: __BaseException,
|
|
2841
2618
|
errorCode,
|
|
2842
2619
|
});
|
|
2843
2620
|
}
|
|
@@ -2850,9 +2627,10 @@ export const de_UpdateProfileCommand = async (output, context) => {
|
|
|
2850
2627
|
$metadata: deserializeMetadata(output),
|
|
2851
2628
|
});
|
|
2852
2629
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
}
|
|
2630
|
+
const doc = take(data, {
|
|
2631
|
+
ProfileId: __expectString,
|
|
2632
|
+
});
|
|
2633
|
+
Object.assign(contents, doc);
|
|
2856
2634
|
return contents;
|
|
2857
2635
|
};
|
|
2858
2636
|
const de_UpdateProfileCommandError = async (output, context) => {
|
|
@@ -2879,21 +2657,21 @@ const de_UpdateProfileCommandError = async (output, context) => {
|
|
|
2879
2657
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2880
2658
|
default:
|
|
2881
2659
|
const parsedBody = parsedOutput.body;
|
|
2882
|
-
throwDefaultError({
|
|
2660
|
+
return throwDefaultError({
|
|
2883
2661
|
output,
|
|
2884
2662
|
parsedBody,
|
|
2885
|
-
exceptionCtor: __BaseException,
|
|
2886
2663
|
errorCode,
|
|
2887
2664
|
});
|
|
2888
2665
|
}
|
|
2889
2666
|
};
|
|
2890
|
-
const
|
|
2667
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
2891
2668
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2892
2669
|
const contents = map({});
|
|
2893
2670
|
const data = parsedOutput.body;
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
}
|
|
2671
|
+
const doc = take(data, {
|
|
2672
|
+
Message: __expectString,
|
|
2673
|
+
});
|
|
2674
|
+
Object.assign(contents, doc);
|
|
2897
2675
|
const exception = new AccessDeniedException({
|
|
2898
2676
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2899
2677
|
...contents,
|
|
@@ -2903,9 +2681,10 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
2903
2681
|
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
2904
2682
|
const contents = map({});
|
|
2905
2683
|
const data = parsedOutput.body;
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
}
|
|
2684
|
+
const doc = take(data, {
|
|
2685
|
+
Message: __expectString,
|
|
2686
|
+
});
|
|
2687
|
+
Object.assign(contents, doc);
|
|
2909
2688
|
const exception = new BadRequestException({
|
|
2910
2689
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2911
2690
|
...contents,
|
|
@@ -2915,9 +2694,10 @@ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
2915
2694
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
2916
2695
|
const contents = map({});
|
|
2917
2696
|
const data = parsedOutput.body;
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
}
|
|
2697
|
+
const doc = take(data, {
|
|
2698
|
+
Message: __expectString,
|
|
2699
|
+
});
|
|
2700
|
+
Object.assign(contents, doc);
|
|
2921
2701
|
const exception = new InternalServerException({
|
|
2922
2702
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2923
2703
|
...contents,
|
|
@@ -2927,9 +2707,10 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
2927
2707
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2928
2708
|
const contents = map({});
|
|
2929
2709
|
const data = parsedOutput.body;
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
}
|
|
2710
|
+
const doc = take(data, {
|
|
2711
|
+
Message: __expectString,
|
|
2712
|
+
});
|
|
2713
|
+
Object.assign(contents, doc);
|
|
2933
2714
|
const exception = new ResourceNotFoundException({
|
|
2934
2715
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2935
2716
|
...contents,
|
|
@@ -2939,83 +2720,35 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2939
2720
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2940
2721
|
const contents = map({});
|
|
2941
2722
|
const data = parsedOutput.body;
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
}
|
|
2723
|
+
const doc = take(data, {
|
|
2724
|
+
Message: __expectString,
|
|
2725
|
+
});
|
|
2726
|
+
Object.assign(contents, doc);
|
|
2945
2727
|
const exception = new ThrottlingException({
|
|
2946
2728
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2947
2729
|
...contents,
|
|
2948
2730
|
});
|
|
2949
2731
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
2950
2732
|
};
|
|
2951
|
-
const se_AdditionalSearchKey = (input, context) => {
|
|
2952
|
-
return {
|
|
2953
|
-
...(input.KeyName != null && { KeyName: input.KeyName }),
|
|
2954
|
-
...(input.Values != null && { Values: se_requestValueList(input.Values, context) }),
|
|
2955
|
-
};
|
|
2956
|
-
};
|
|
2957
|
-
const se_additionalSearchKeysList = (input, context) => {
|
|
2958
|
-
return input
|
|
2959
|
-
.filter((e) => e != null)
|
|
2960
|
-
.map((entry) => {
|
|
2961
|
-
return se_AdditionalSearchKey(entry, context);
|
|
2962
|
-
});
|
|
2963
|
-
};
|
|
2964
|
-
const se_Address = (input, context) => {
|
|
2965
|
-
return {
|
|
2966
|
-
...(input.Address1 != null && { Address1: input.Address1 }),
|
|
2967
|
-
...(input.Address2 != null && { Address2: input.Address2 }),
|
|
2968
|
-
...(input.Address3 != null && { Address3: input.Address3 }),
|
|
2969
|
-
...(input.Address4 != null && { Address4: input.Address4 }),
|
|
2970
|
-
...(input.City != null && { City: input.City }),
|
|
2971
|
-
...(input.Country != null && { Country: input.Country }),
|
|
2972
|
-
...(input.County != null && { County: input.County }),
|
|
2973
|
-
...(input.PostalCode != null && { PostalCode: input.PostalCode }),
|
|
2974
|
-
...(input.Province != null && { Province: input.Province }),
|
|
2975
|
-
...(input.State != null && { State: input.State }),
|
|
2976
|
-
};
|
|
2977
|
-
};
|
|
2978
2733
|
const se_AppflowIntegration = (input, context) => {
|
|
2979
|
-
return {
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
};
|
|
2983
|
-
};
|
|
2984
|
-
const se_Attributes = (input, context) => {
|
|
2985
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2986
|
-
if (value === null) {
|
|
2987
|
-
return acc;
|
|
2988
|
-
}
|
|
2989
|
-
acc[key] = value;
|
|
2990
|
-
return acc;
|
|
2991
|
-
}, {});
|
|
2992
|
-
};
|
|
2993
|
-
const se_AttributeSourceIdMap = (input, context) => {
|
|
2994
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2995
|
-
if (value === null) {
|
|
2996
|
-
return acc;
|
|
2997
|
-
}
|
|
2998
|
-
acc[key] = value;
|
|
2999
|
-
return acc;
|
|
3000
|
-
}, {});
|
|
2734
|
+
return take(input, {
|
|
2735
|
+
Batches: (_) => se_Batches(_, context),
|
|
2736
|
+
FlowDefinition: (_) => se_FlowDefinition(_, context),
|
|
2737
|
+
});
|
|
3001
2738
|
};
|
|
3002
2739
|
const se_AutoMerging = (input, context) => {
|
|
3003
|
-
return {
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
...(input.MinAllowedConfidenceScoreForMerging != null && {
|
|
3010
|
-
MinAllowedConfidenceScoreForMerging: __serializeFloat(input.MinAllowedConfidenceScoreForMerging),
|
|
3011
|
-
}),
|
|
3012
|
-
};
|
|
2740
|
+
return take(input, {
|
|
2741
|
+
ConflictResolution: _json,
|
|
2742
|
+
Consolidation: _json,
|
|
2743
|
+
Enabled: [],
|
|
2744
|
+
MinAllowedConfidenceScoreForMerging: __serializeFloat,
|
|
2745
|
+
});
|
|
3013
2746
|
};
|
|
3014
2747
|
const se_Batch = (input, context) => {
|
|
3015
|
-
return {
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
};
|
|
2748
|
+
return take(input, {
|
|
2749
|
+
EndTime: (_) => Math.round(_.getTime() / 1000),
|
|
2750
|
+
StartTime: (_) => Math.round(_.getTime() / 1000),
|
|
2751
|
+
});
|
|
3019
2752
|
};
|
|
3020
2753
|
const se_Batches = (input, context) => {
|
|
3021
2754
|
return input
|
|
@@ -3024,497 +2757,95 @@ const se_Batches = (input, context) => {
|
|
|
3024
2757
|
return se_Batch(entry, context);
|
|
3025
2758
|
});
|
|
3026
2759
|
};
|
|
3027
|
-
const se_ConflictResolution = (input, context) => {
|
|
3028
|
-
return {
|
|
3029
|
-
...(input.ConflictResolvingModel != null && { ConflictResolvingModel: input.ConflictResolvingModel }),
|
|
3030
|
-
...(input.SourceName != null && { SourceName: input.SourceName }),
|
|
3031
|
-
};
|
|
3032
|
-
};
|
|
3033
|
-
const se_ConnectorOperator = (input, context) => {
|
|
3034
|
-
return {
|
|
3035
|
-
...(input.Marketo != null && { Marketo: input.Marketo }),
|
|
3036
|
-
...(input.S3 != null && { S3: input.S3 }),
|
|
3037
|
-
...(input.Salesforce != null && { Salesforce: input.Salesforce }),
|
|
3038
|
-
...(input.ServiceNow != null && { ServiceNow: input.ServiceNow }),
|
|
3039
|
-
...(input.Zendesk != null && { Zendesk: input.Zendesk }),
|
|
3040
|
-
};
|
|
3041
|
-
};
|
|
3042
|
-
const se_Consolidation = (input, context) => {
|
|
3043
|
-
return {
|
|
3044
|
-
...(input.MatchingAttributesList != null && {
|
|
3045
|
-
MatchingAttributesList: se_MatchingAttributesList(input.MatchingAttributesList, context),
|
|
3046
|
-
}),
|
|
3047
|
-
};
|
|
3048
|
-
};
|
|
3049
|
-
const se_ExportingConfig = (input, context) => {
|
|
3050
|
-
return {
|
|
3051
|
-
...(input.S3Exporting != null && { S3Exporting: se_S3ExportingConfig(input.S3Exporting, context) }),
|
|
3052
|
-
};
|
|
3053
|
-
};
|
|
3054
|
-
const se_FieldMap = (input, context) => {
|
|
3055
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3056
|
-
if (value === null) {
|
|
3057
|
-
return acc;
|
|
3058
|
-
}
|
|
3059
|
-
acc[key] = se_ObjectTypeField(value, context);
|
|
3060
|
-
return acc;
|
|
3061
|
-
}, {});
|
|
3062
|
-
};
|
|
3063
|
-
const se_FieldNameList = (input, context) => {
|
|
3064
|
-
return input
|
|
3065
|
-
.filter((e) => e != null)
|
|
3066
|
-
.map((entry) => {
|
|
3067
|
-
return entry;
|
|
3068
|
-
});
|
|
3069
|
-
};
|
|
3070
|
-
const se_FieldSourceProfileIds = (input, context) => {
|
|
3071
|
-
return {
|
|
3072
|
-
...(input.AccountNumber != null && { AccountNumber: input.AccountNumber }),
|
|
3073
|
-
...(input.AdditionalInformation != null && { AdditionalInformation: input.AdditionalInformation }),
|
|
3074
|
-
...(input.Address != null && { Address: input.Address }),
|
|
3075
|
-
...(input.Attributes != null && { Attributes: se_AttributeSourceIdMap(input.Attributes, context) }),
|
|
3076
|
-
...(input.BillingAddress != null && { BillingAddress: input.BillingAddress }),
|
|
3077
|
-
...(input.BirthDate != null && { BirthDate: input.BirthDate }),
|
|
3078
|
-
...(input.BusinessEmailAddress != null && { BusinessEmailAddress: input.BusinessEmailAddress }),
|
|
3079
|
-
...(input.BusinessName != null && { BusinessName: input.BusinessName }),
|
|
3080
|
-
...(input.BusinessPhoneNumber != null && { BusinessPhoneNumber: input.BusinessPhoneNumber }),
|
|
3081
|
-
...(input.EmailAddress != null && { EmailAddress: input.EmailAddress }),
|
|
3082
|
-
...(input.FirstName != null && { FirstName: input.FirstName }),
|
|
3083
|
-
...(input.Gender != null && { Gender: input.Gender }),
|
|
3084
|
-
...(input.HomePhoneNumber != null && { HomePhoneNumber: input.HomePhoneNumber }),
|
|
3085
|
-
...(input.LastName != null && { LastName: input.LastName }),
|
|
3086
|
-
...(input.MailingAddress != null && { MailingAddress: input.MailingAddress }),
|
|
3087
|
-
...(input.MiddleName != null && { MiddleName: input.MiddleName }),
|
|
3088
|
-
...(input.MobilePhoneNumber != null && { MobilePhoneNumber: input.MobilePhoneNumber }),
|
|
3089
|
-
...(input.PartyType != null && { PartyType: input.PartyType }),
|
|
3090
|
-
...(input.PersonalEmailAddress != null && { PersonalEmailAddress: input.PersonalEmailAddress }),
|
|
3091
|
-
...(input.PhoneNumber != null && { PhoneNumber: input.PhoneNumber }),
|
|
3092
|
-
...(input.ShippingAddress != null && { ShippingAddress: input.ShippingAddress }),
|
|
3093
|
-
};
|
|
3094
|
-
};
|
|
3095
2760
|
const se_FlowDefinition = (input, context) => {
|
|
3096
|
-
return {
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
};
|
|
3104
|
-
};
|
|
3105
|
-
const se_IncrementalPullConfig = (input, context) => {
|
|
3106
|
-
return {
|
|
3107
|
-
...(input.DatetimeTypeFieldName != null && { DatetimeTypeFieldName: input.DatetimeTypeFieldName }),
|
|
3108
|
-
};
|
|
3109
|
-
};
|
|
3110
|
-
const se_IntegrationConfig = (input, context) => {
|
|
3111
|
-
return {
|
|
3112
|
-
...(input.AppflowIntegration != null && {
|
|
3113
|
-
AppflowIntegration: se_AppflowIntegration(input.AppflowIntegration, context),
|
|
3114
|
-
}),
|
|
3115
|
-
};
|
|
3116
|
-
};
|
|
3117
|
-
const se_JobSchedule = (input, context) => {
|
|
3118
|
-
return {
|
|
3119
|
-
...(input.DayOfTheWeek != null && { DayOfTheWeek: input.DayOfTheWeek }),
|
|
3120
|
-
...(input.Time != null && { Time: input.Time }),
|
|
3121
|
-
};
|
|
3122
|
-
};
|
|
3123
|
-
const se_KeyMap = (input, context) => {
|
|
3124
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3125
|
-
if (value === null) {
|
|
3126
|
-
return acc;
|
|
3127
|
-
}
|
|
3128
|
-
acc[key] = se_ObjectTypeKeyList(value, context);
|
|
3129
|
-
return acc;
|
|
3130
|
-
}, {});
|
|
3131
|
-
};
|
|
3132
|
-
const se_MarketoSourceProperties = (input, context) => {
|
|
3133
|
-
return {
|
|
3134
|
-
...(input.Object != null && { Object: input.Object }),
|
|
3135
|
-
};
|
|
3136
|
-
};
|
|
3137
|
-
const se_MatchingAttributes = (input, context) => {
|
|
3138
|
-
return input
|
|
3139
|
-
.filter((e) => e != null)
|
|
3140
|
-
.map((entry) => {
|
|
3141
|
-
return entry;
|
|
2761
|
+
return take(input, {
|
|
2762
|
+
Description: [],
|
|
2763
|
+
FlowName: [],
|
|
2764
|
+
KmsArn: [],
|
|
2765
|
+
SourceFlowConfig: _json,
|
|
2766
|
+
Tasks: _json,
|
|
2767
|
+
TriggerConfig: (_) => se_TriggerConfig(_, context),
|
|
3142
2768
|
});
|
|
3143
2769
|
};
|
|
3144
|
-
const
|
|
3145
|
-
return input
|
|
3146
|
-
|
|
3147
|
-
.map((entry) => {
|
|
3148
|
-
return se_MatchingAttributes(entry, context);
|
|
2770
|
+
const se_IntegrationConfig = (input, context) => {
|
|
2771
|
+
return take(input, {
|
|
2772
|
+
AppflowIntegration: (_) => se_AppflowIntegration(_, context),
|
|
3149
2773
|
});
|
|
3150
2774
|
};
|
|
3151
2775
|
const se_MatchingRequest = (input, context) => {
|
|
3152
|
-
return {
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
};
|
|
3158
|
-
};
|
|
3159
|
-
const se_ObjectFilter = (input, context) => {
|
|
3160
|
-
return {
|
|
3161
|
-
...(input.KeyName != null && { KeyName: input.KeyName }),
|
|
3162
|
-
...(input.Values != null && { Values: se_requestValueList(input.Values, context) }),
|
|
3163
|
-
};
|
|
3164
|
-
};
|
|
3165
|
-
const se_ObjectTypeField = (input, context) => {
|
|
3166
|
-
return {
|
|
3167
|
-
...(input.ContentType != null && { ContentType: input.ContentType }),
|
|
3168
|
-
...(input.Source != null && { Source: input.Source }),
|
|
3169
|
-
...(input.Target != null && { Target: input.Target }),
|
|
3170
|
-
};
|
|
3171
|
-
};
|
|
3172
|
-
const se_ObjectTypeKey = (input, context) => {
|
|
3173
|
-
return {
|
|
3174
|
-
...(input.FieldNames != null && { FieldNames: se_FieldNameList(input.FieldNames, context) }),
|
|
3175
|
-
...(input.StandardIdentifiers != null && {
|
|
3176
|
-
StandardIdentifiers: se_StandardIdentifierList(input.StandardIdentifiers, context),
|
|
3177
|
-
}),
|
|
3178
|
-
};
|
|
3179
|
-
};
|
|
3180
|
-
const se_ObjectTypeKeyList = (input, context) => {
|
|
3181
|
-
return input
|
|
3182
|
-
.filter((e) => e != null)
|
|
3183
|
-
.map((entry) => {
|
|
3184
|
-
return se_ObjectTypeKey(entry, context);
|
|
3185
|
-
});
|
|
3186
|
-
};
|
|
3187
|
-
const se_ObjectTypeNames = (input, context) => {
|
|
3188
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3189
|
-
if (value === null) {
|
|
3190
|
-
return acc;
|
|
3191
|
-
}
|
|
3192
|
-
acc[key] = value;
|
|
3193
|
-
return acc;
|
|
3194
|
-
}, {});
|
|
3195
|
-
};
|
|
3196
|
-
const se_ProfileIdToBeMergedList = (input, context) => {
|
|
3197
|
-
return input
|
|
3198
|
-
.filter((e) => e != null)
|
|
3199
|
-
.map((entry) => {
|
|
3200
|
-
return entry;
|
|
2776
|
+
return take(input, {
|
|
2777
|
+
AutoMerging: (_) => se_AutoMerging(_, context),
|
|
2778
|
+
Enabled: [],
|
|
2779
|
+
ExportingConfig: _json,
|
|
2780
|
+
JobSchedule: _json,
|
|
3201
2781
|
});
|
|
3202
2782
|
};
|
|
3203
|
-
const se_requestValueList = (input, context) => {
|
|
3204
|
-
return input
|
|
3205
|
-
.filter((e) => e != null)
|
|
3206
|
-
.map((entry) => {
|
|
3207
|
-
return entry;
|
|
3208
|
-
});
|
|
3209
|
-
};
|
|
3210
|
-
const se_S3ExportingConfig = (input, context) => {
|
|
3211
|
-
return {
|
|
3212
|
-
...(input.S3BucketName != null && { S3BucketName: input.S3BucketName }),
|
|
3213
|
-
...(input.S3KeyName != null && { S3KeyName: input.S3KeyName }),
|
|
3214
|
-
};
|
|
3215
|
-
};
|
|
3216
|
-
const se_S3SourceProperties = (input, context) => {
|
|
3217
|
-
return {
|
|
3218
|
-
...(input.BucketName != null && { BucketName: input.BucketName }),
|
|
3219
|
-
...(input.BucketPrefix != null && { BucketPrefix: input.BucketPrefix }),
|
|
3220
|
-
};
|
|
3221
|
-
};
|
|
3222
|
-
const se_SalesforceSourceProperties = (input, context) => {
|
|
3223
|
-
return {
|
|
3224
|
-
...(input.EnableDynamicFieldUpdate != null && { EnableDynamicFieldUpdate: input.EnableDynamicFieldUpdate }),
|
|
3225
|
-
...(input.IncludeDeletedRecords != null && { IncludeDeletedRecords: input.IncludeDeletedRecords }),
|
|
3226
|
-
...(input.Object != null && { Object: input.Object }),
|
|
3227
|
-
};
|
|
3228
|
-
};
|
|
3229
2783
|
const se_ScheduledTriggerProperties = (input, context) => {
|
|
3230
|
-
return {
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
...(input.ScheduleStartTime != null && { ScheduleStartTime: Math.round(input.ScheduleStartTime.getTime() / 1000) }),
|
|
3239
|
-
...(input.Timezone != null && { Timezone: input.Timezone }),
|
|
3240
|
-
};
|
|
3241
|
-
};
|
|
3242
|
-
const se_ServiceNowSourceProperties = (input, context) => {
|
|
3243
|
-
return {
|
|
3244
|
-
...(input.Object != null && { Object: input.Object }),
|
|
3245
|
-
};
|
|
3246
|
-
};
|
|
3247
|
-
const se_SourceConnectorProperties = (input, context) => {
|
|
3248
|
-
return {
|
|
3249
|
-
...(input.Marketo != null && { Marketo: se_MarketoSourceProperties(input.Marketo, context) }),
|
|
3250
|
-
...(input.S3 != null && { S3: se_S3SourceProperties(input.S3, context) }),
|
|
3251
|
-
...(input.Salesforce != null && { Salesforce: se_SalesforceSourceProperties(input.Salesforce, context) }),
|
|
3252
|
-
...(input.ServiceNow != null && { ServiceNow: se_ServiceNowSourceProperties(input.ServiceNow, context) }),
|
|
3253
|
-
...(input.Zendesk != null && { Zendesk: se_ZendeskSourceProperties(input.Zendesk, context) }),
|
|
3254
|
-
};
|
|
3255
|
-
};
|
|
3256
|
-
const se_SourceFields = (input, context) => {
|
|
3257
|
-
return input
|
|
3258
|
-
.filter((e) => e != null)
|
|
3259
|
-
.map((entry) => {
|
|
3260
|
-
return entry;
|
|
3261
|
-
});
|
|
3262
|
-
};
|
|
3263
|
-
const se_SourceFlowConfig = (input, context) => {
|
|
3264
|
-
return {
|
|
3265
|
-
...(input.ConnectorProfileName != null && { ConnectorProfileName: input.ConnectorProfileName }),
|
|
3266
|
-
...(input.ConnectorType != null && { ConnectorType: input.ConnectorType }),
|
|
3267
|
-
...(input.IncrementalPullConfig != null && {
|
|
3268
|
-
IncrementalPullConfig: se_IncrementalPullConfig(input.IncrementalPullConfig, context),
|
|
3269
|
-
}),
|
|
3270
|
-
...(input.SourceConnectorProperties != null && {
|
|
3271
|
-
SourceConnectorProperties: se_SourceConnectorProperties(input.SourceConnectorProperties, context),
|
|
3272
|
-
}),
|
|
3273
|
-
};
|
|
3274
|
-
};
|
|
3275
|
-
const se_StandardIdentifierList = (input, context) => {
|
|
3276
|
-
return input
|
|
3277
|
-
.filter((e) => e != null)
|
|
3278
|
-
.map((entry) => {
|
|
3279
|
-
return entry;
|
|
3280
|
-
});
|
|
3281
|
-
};
|
|
3282
|
-
const se_TagMap = (input, context) => {
|
|
3283
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3284
|
-
if (value === null) {
|
|
3285
|
-
return acc;
|
|
3286
|
-
}
|
|
3287
|
-
acc[key] = value;
|
|
3288
|
-
return acc;
|
|
3289
|
-
}, {});
|
|
3290
|
-
};
|
|
3291
|
-
const se_Task = (input, context) => {
|
|
3292
|
-
return {
|
|
3293
|
-
...(input.ConnectorOperator != null && {
|
|
3294
|
-
ConnectorOperator: se_ConnectorOperator(input.ConnectorOperator, context),
|
|
3295
|
-
}),
|
|
3296
|
-
...(input.DestinationField != null && { DestinationField: input.DestinationField }),
|
|
3297
|
-
...(input.SourceFields != null && { SourceFields: se_SourceFields(input.SourceFields, context) }),
|
|
3298
|
-
...(input.TaskProperties != null && { TaskProperties: se_TaskPropertiesMap(input.TaskProperties, context) }),
|
|
3299
|
-
...(input.TaskType != null && { TaskType: input.TaskType }),
|
|
3300
|
-
};
|
|
3301
|
-
};
|
|
3302
|
-
const se_TaskPropertiesMap = (input, context) => {
|
|
3303
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3304
|
-
if (value === null) {
|
|
3305
|
-
return acc;
|
|
3306
|
-
}
|
|
3307
|
-
acc[key] = value;
|
|
3308
|
-
return acc;
|
|
3309
|
-
}, {});
|
|
3310
|
-
};
|
|
3311
|
-
const se_Tasks = (input, context) => {
|
|
3312
|
-
return input
|
|
3313
|
-
.filter((e) => e != null)
|
|
3314
|
-
.map((entry) => {
|
|
3315
|
-
return se_Task(entry, context);
|
|
2784
|
+
return take(input, {
|
|
2785
|
+
DataPullMode: [],
|
|
2786
|
+
FirstExecutionFrom: (_) => Math.round(_.getTime() / 1000),
|
|
2787
|
+
ScheduleEndTime: (_) => Math.round(_.getTime() / 1000),
|
|
2788
|
+
ScheduleExpression: [],
|
|
2789
|
+
ScheduleOffset: [],
|
|
2790
|
+
ScheduleStartTime: (_) => Math.round(_.getTime() / 1000),
|
|
2791
|
+
Timezone: [],
|
|
3316
2792
|
});
|
|
3317
2793
|
};
|
|
3318
2794
|
const se_TriggerConfig = (input, context) => {
|
|
3319
|
-
return {
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
...(input.TriggerType != null && { TriggerType: input.TriggerType }),
|
|
3324
|
-
};
|
|
2795
|
+
return take(input, {
|
|
2796
|
+
TriggerProperties: (_) => se_TriggerProperties(_, context),
|
|
2797
|
+
TriggerType: [],
|
|
2798
|
+
});
|
|
3325
2799
|
};
|
|
3326
2800
|
const se_TriggerProperties = (input, context) => {
|
|
3327
|
-
return {
|
|
3328
|
-
|
|
3329
|
-
};
|
|
3330
|
-
};
|
|
3331
|
-
const se_UpdateAddress = (input, context) => {
|
|
3332
|
-
return {
|
|
3333
|
-
...(input.Address1 != null && { Address1: input.Address1 }),
|
|
3334
|
-
...(input.Address2 != null && { Address2: input.Address2 }),
|
|
3335
|
-
...(input.Address3 != null && { Address3: input.Address3 }),
|
|
3336
|
-
...(input.Address4 != null && { Address4: input.Address4 }),
|
|
3337
|
-
...(input.City != null && { City: input.City }),
|
|
3338
|
-
...(input.Country != null && { Country: input.Country }),
|
|
3339
|
-
...(input.County != null && { County: input.County }),
|
|
3340
|
-
...(input.PostalCode != null && { PostalCode: input.PostalCode }),
|
|
3341
|
-
...(input.Province != null && { Province: input.Province }),
|
|
3342
|
-
...(input.State != null && { State: input.State }),
|
|
3343
|
-
};
|
|
3344
|
-
};
|
|
3345
|
-
const se_UpdateAttributes = (input, context) => {
|
|
3346
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3347
|
-
if (value === null) {
|
|
3348
|
-
return acc;
|
|
3349
|
-
}
|
|
3350
|
-
acc[key] = value;
|
|
3351
|
-
return acc;
|
|
3352
|
-
}, {});
|
|
3353
|
-
};
|
|
3354
|
-
const se_ZendeskSourceProperties = (input, context) => {
|
|
3355
|
-
return {
|
|
3356
|
-
...(input.Object != null && { Object: input.Object }),
|
|
3357
|
-
};
|
|
3358
|
-
};
|
|
3359
|
-
const de_Address = (output, context) => {
|
|
3360
|
-
return {
|
|
3361
|
-
Address1: __expectString(output.Address1),
|
|
3362
|
-
Address2: __expectString(output.Address2),
|
|
3363
|
-
Address3: __expectString(output.Address3),
|
|
3364
|
-
Address4: __expectString(output.Address4),
|
|
3365
|
-
City: __expectString(output.City),
|
|
3366
|
-
Country: __expectString(output.Country),
|
|
3367
|
-
County: __expectString(output.County),
|
|
3368
|
-
PostalCode: __expectString(output.PostalCode),
|
|
3369
|
-
Province: __expectString(output.Province),
|
|
3370
|
-
State: __expectString(output.State),
|
|
3371
|
-
};
|
|
3372
|
-
};
|
|
3373
|
-
const de_AppflowIntegrationWorkflowAttributes = (output, context) => {
|
|
3374
|
-
return {
|
|
3375
|
-
ConnectorProfileName: __expectString(output.ConnectorProfileName),
|
|
3376
|
-
RoleArn: __expectString(output.RoleArn),
|
|
3377
|
-
SourceConnectorType: __expectString(output.SourceConnectorType),
|
|
3378
|
-
};
|
|
3379
|
-
};
|
|
3380
|
-
const de_AppflowIntegrationWorkflowMetrics = (output, context) => {
|
|
3381
|
-
return {
|
|
3382
|
-
RecordsProcessed: __expectLong(output.RecordsProcessed),
|
|
3383
|
-
StepsCompleted: __expectLong(output.StepsCompleted),
|
|
3384
|
-
TotalSteps: __expectLong(output.TotalSteps),
|
|
3385
|
-
};
|
|
2801
|
+
return take(input, {
|
|
2802
|
+
Scheduled: (_) => se_ScheduledTriggerProperties(_, context),
|
|
2803
|
+
});
|
|
3386
2804
|
};
|
|
3387
2805
|
const de_AppflowIntegrationWorkflowStep = (output, context) => {
|
|
3388
|
-
return {
|
|
3389
|
-
BatchRecordsEndTime: __expectString
|
|
3390
|
-
BatchRecordsStartTime: __expectString
|
|
3391
|
-
CreatedAt:
|
|
3392
|
-
ExecutionMessage: __expectString
|
|
3393
|
-
FlowName: __expectString
|
|
3394
|
-
LastUpdatedAt:
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
Status: __expectString(output.Status),
|
|
3399
|
-
};
|
|
3400
|
-
};
|
|
3401
|
-
const de_Attributes = (output, context) => {
|
|
3402
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3403
|
-
if (value === null) {
|
|
3404
|
-
return acc;
|
|
3405
|
-
}
|
|
3406
|
-
acc[key] = __expectString(value);
|
|
3407
|
-
return acc;
|
|
3408
|
-
}, {});
|
|
2806
|
+
return take(output, {
|
|
2807
|
+
BatchRecordsEndTime: __expectString,
|
|
2808
|
+
BatchRecordsStartTime: __expectString,
|
|
2809
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2810
|
+
ExecutionMessage: __expectString,
|
|
2811
|
+
FlowName: __expectString,
|
|
2812
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2813
|
+
RecordsProcessed: __expectLong,
|
|
2814
|
+
Status: __expectString,
|
|
2815
|
+
});
|
|
3409
2816
|
};
|
|
3410
2817
|
const de_AutoMerging = (output, context) => {
|
|
3411
|
-
return {
|
|
3412
|
-
ConflictResolution:
|
|
3413
|
-
Consolidation:
|
|
3414
|
-
Enabled: __expectBoolean
|
|
3415
|
-
MinAllowedConfidenceScoreForMerging: __limitedParseDouble
|
|
3416
|
-
};
|
|
3417
|
-
};
|
|
3418
|
-
const de_ConflictResolution = (output, context) => {
|
|
3419
|
-
return {
|
|
3420
|
-
ConflictResolvingModel: __expectString(output.ConflictResolvingModel),
|
|
3421
|
-
SourceName: __expectString(output.SourceName),
|
|
3422
|
-
};
|
|
3423
|
-
};
|
|
3424
|
-
const de_Consolidation = (output, context) => {
|
|
3425
|
-
return {
|
|
3426
|
-
MatchingAttributesList: output.MatchingAttributesList != null
|
|
3427
|
-
? de_MatchingAttributesList(output.MatchingAttributesList, context)
|
|
3428
|
-
: undefined,
|
|
3429
|
-
};
|
|
2818
|
+
return take(output, {
|
|
2819
|
+
ConflictResolution: _json,
|
|
2820
|
+
Consolidation: _json,
|
|
2821
|
+
Enabled: __expectBoolean,
|
|
2822
|
+
MinAllowedConfidenceScoreForMerging: __limitedParseDouble,
|
|
2823
|
+
});
|
|
3430
2824
|
};
|
|
3431
2825
|
const de_DomainList = (output, context) => {
|
|
3432
2826
|
const retVal = (output || [])
|
|
3433
2827
|
.filter((e) => e != null)
|
|
3434
2828
|
.map((entry) => {
|
|
3435
|
-
if (entry === null) {
|
|
3436
|
-
return null;
|
|
3437
|
-
}
|
|
3438
2829
|
return de_ListDomainItem(entry, context);
|
|
3439
2830
|
});
|
|
3440
2831
|
return retVal;
|
|
3441
2832
|
};
|
|
3442
|
-
const de_DomainStats = (output, context) => {
|
|
3443
|
-
return {
|
|
3444
|
-
MeteringProfileCount: __expectLong(output.MeteringProfileCount),
|
|
3445
|
-
ObjectCount: __expectLong(output.ObjectCount),
|
|
3446
|
-
ProfileCount: __expectLong(output.ProfileCount),
|
|
3447
|
-
TotalSize: __expectLong(output.TotalSize),
|
|
3448
|
-
};
|
|
3449
|
-
};
|
|
3450
|
-
const de_ExportingConfig = (output, context) => {
|
|
3451
|
-
return {
|
|
3452
|
-
S3Exporting: output.S3Exporting != null ? de_S3ExportingConfig(output.S3Exporting, context) : undefined,
|
|
3453
|
-
};
|
|
3454
|
-
};
|
|
3455
|
-
const de_ExportingLocation = (output, context) => {
|
|
3456
|
-
return {
|
|
3457
|
-
S3Exporting: output.S3Exporting != null ? de_S3ExportingLocation(output.S3Exporting, context) : undefined,
|
|
3458
|
-
};
|
|
3459
|
-
};
|
|
3460
|
-
const de_FieldMap = (output, context) => {
|
|
3461
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3462
|
-
if (value === null) {
|
|
3463
|
-
return acc;
|
|
3464
|
-
}
|
|
3465
|
-
acc[key] = de_ObjectTypeField(value, context);
|
|
3466
|
-
return acc;
|
|
3467
|
-
}, {});
|
|
3468
|
-
};
|
|
3469
|
-
const de_FieldNameList = (output, context) => {
|
|
3470
|
-
const retVal = (output || [])
|
|
3471
|
-
.filter((e) => e != null)
|
|
3472
|
-
.map((entry) => {
|
|
3473
|
-
if (entry === null) {
|
|
3474
|
-
return null;
|
|
3475
|
-
}
|
|
3476
|
-
return __expectString(entry);
|
|
3477
|
-
});
|
|
3478
|
-
return retVal;
|
|
3479
|
-
};
|
|
3480
|
-
const de_FoundByKeyValue = (output, context) => {
|
|
3481
|
-
return {
|
|
3482
|
-
KeyName: __expectString(output.KeyName),
|
|
3483
|
-
Values: output.Values != null ? de_requestValueList(output.Values, context) : undefined,
|
|
3484
|
-
};
|
|
3485
|
-
};
|
|
3486
|
-
const de_foundByList = (output, context) => {
|
|
3487
|
-
const retVal = (output || [])
|
|
3488
|
-
.filter((e) => e != null)
|
|
3489
|
-
.map((entry) => {
|
|
3490
|
-
if (entry === null) {
|
|
3491
|
-
return null;
|
|
3492
|
-
}
|
|
3493
|
-
return de_FoundByKeyValue(entry, context);
|
|
3494
|
-
});
|
|
3495
|
-
return retVal;
|
|
3496
|
-
};
|
|
3497
2833
|
const de_IdentityResolutionJob = (output, context) => {
|
|
3498
|
-
return {
|
|
3499
|
-
DomainName: __expectString
|
|
3500
|
-
ExportingLocation:
|
|
3501
|
-
JobEndTime:
|
|
3502
|
-
JobId: __expectString
|
|
3503
|
-
JobStartTime:
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
Status: __expectString(output.Status),
|
|
3509
|
-
};
|
|
2834
|
+
return take(output, {
|
|
2835
|
+
DomainName: __expectString,
|
|
2836
|
+
ExportingLocation: _json,
|
|
2837
|
+
JobEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2838
|
+
JobId: __expectString,
|
|
2839
|
+
JobStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2840
|
+
JobStats: _json,
|
|
2841
|
+
Message: __expectString,
|
|
2842
|
+
Status: __expectString,
|
|
2843
|
+
});
|
|
3510
2844
|
};
|
|
3511
2845
|
const de_IdentityResolutionJobsList = (output, context) => {
|
|
3512
2846
|
const retVal = (output || [])
|
|
3513
2847
|
.filter((e) => e != null)
|
|
3514
2848
|
.map((entry) => {
|
|
3515
|
-
if (entry === null) {
|
|
3516
|
-
return null;
|
|
3517
|
-
}
|
|
3518
2849
|
return de_IdentityResolutionJob(entry, context);
|
|
3519
2850
|
});
|
|
3520
2851
|
return retVal;
|
|
@@ -3523,344 +2854,98 @@ const de_IntegrationList = (output, context) => {
|
|
|
3523
2854
|
const retVal = (output || [])
|
|
3524
2855
|
.filter((e) => e != null)
|
|
3525
2856
|
.map((entry) => {
|
|
3526
|
-
if (entry === null) {
|
|
3527
|
-
return null;
|
|
3528
|
-
}
|
|
3529
2857
|
return de_ListIntegrationItem(entry, context);
|
|
3530
2858
|
});
|
|
3531
2859
|
return retVal;
|
|
3532
2860
|
};
|
|
3533
|
-
const de_JobSchedule = (output, context) => {
|
|
3534
|
-
return {
|
|
3535
|
-
DayOfTheWeek: __expectString(output.DayOfTheWeek),
|
|
3536
|
-
Time: __expectString(output.Time),
|
|
3537
|
-
};
|
|
3538
|
-
};
|
|
3539
|
-
const de_JobStats = (output, context) => {
|
|
3540
|
-
return {
|
|
3541
|
-
NumberOfMatchesFound: __expectLong(output.NumberOfMatchesFound),
|
|
3542
|
-
NumberOfMergesDone: __expectLong(output.NumberOfMergesDone),
|
|
3543
|
-
NumberOfProfilesReviewed: __expectLong(output.NumberOfProfilesReviewed),
|
|
3544
|
-
};
|
|
3545
|
-
};
|
|
3546
|
-
const de_KeyMap = (output, context) => {
|
|
3547
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3548
|
-
if (value === null) {
|
|
3549
|
-
return acc;
|
|
3550
|
-
}
|
|
3551
|
-
acc[key] = de_ObjectTypeKeyList(value, context);
|
|
3552
|
-
return acc;
|
|
3553
|
-
}, {});
|
|
3554
|
-
};
|
|
3555
2861
|
const de_ListDomainItem = (output, context) => {
|
|
3556
|
-
return {
|
|
3557
|
-
CreatedAt:
|
|
3558
|
-
DomainName: __expectString
|
|
3559
|
-
LastUpdatedAt:
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
|
|
3563
|
-
};
|
|
2862
|
+
return take(output, {
|
|
2863
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2864
|
+
DomainName: __expectString,
|
|
2865
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2866
|
+
Tags: _json,
|
|
2867
|
+
});
|
|
3564
2868
|
};
|
|
3565
2869
|
const de_ListIntegrationItem = (output, context) => {
|
|
3566
|
-
return {
|
|
3567
|
-
CreatedAt:
|
|
3568
|
-
DomainName: __expectString
|
|
3569
|
-
IsUnstructured: __expectBoolean
|
|
3570
|
-
LastUpdatedAt:
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
WorkflowId: __expectString(output.WorkflowId),
|
|
3578
|
-
};
|
|
3579
|
-
};
|
|
3580
|
-
const de_ListProfileObjectsItem = (output, context) => {
|
|
3581
|
-
return {
|
|
3582
|
-
Object: __expectString(output.Object),
|
|
3583
|
-
ObjectTypeName: __expectString(output.ObjectTypeName),
|
|
3584
|
-
ProfileObjectUniqueKey: __expectString(output.ProfileObjectUniqueKey),
|
|
3585
|
-
};
|
|
2870
|
+
return take(output, {
|
|
2871
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2872
|
+
DomainName: __expectString,
|
|
2873
|
+
IsUnstructured: __expectBoolean,
|
|
2874
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2875
|
+
ObjectTypeName: __expectString,
|
|
2876
|
+
ObjectTypeNames: _json,
|
|
2877
|
+
Tags: _json,
|
|
2878
|
+
Uri: __expectString,
|
|
2879
|
+
WorkflowId: __expectString,
|
|
2880
|
+
});
|
|
3586
2881
|
};
|
|
3587
2882
|
const de_ListProfileObjectTypeItem = (output, context) => {
|
|
3588
|
-
return {
|
|
3589
|
-
CreatedAt:
|
|
3590
|
-
Description: __expectString
|
|
3591
|
-
LastUpdatedAt:
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
|
|
3596
|
-
};
|
|
3597
|
-
};
|
|
3598
|
-
const de_ListProfileObjectTypeTemplateItem = (output, context) => {
|
|
3599
|
-
return {
|
|
3600
|
-
SourceName: __expectString(output.SourceName),
|
|
3601
|
-
SourceObject: __expectString(output.SourceObject),
|
|
3602
|
-
TemplateId: __expectString(output.TemplateId),
|
|
3603
|
-
};
|
|
2883
|
+
return take(output, {
|
|
2884
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2885
|
+
Description: __expectString,
|
|
2886
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2887
|
+
ObjectTypeName: __expectString,
|
|
2888
|
+
Tags: _json,
|
|
2889
|
+
});
|
|
3604
2890
|
};
|
|
3605
2891
|
const de_ListWorkflowsItem = (output, context) => {
|
|
3606
|
-
return {
|
|
3607
|
-
CreatedAt:
|
|
3608
|
-
LastUpdatedAt:
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
WorkflowType: __expectString(output.WorkflowType),
|
|
3615
|
-
};
|
|
2892
|
+
return take(output, {
|
|
2893
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2894
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2895
|
+
Status: __expectString,
|
|
2896
|
+
StatusDescription: __expectString,
|
|
2897
|
+
WorkflowId: __expectString,
|
|
2898
|
+
WorkflowType: __expectString,
|
|
2899
|
+
});
|
|
3616
2900
|
};
|
|
3617
2901
|
const de_MatchesList = (output, context) => {
|
|
3618
2902
|
const retVal = (output || [])
|
|
3619
2903
|
.filter((e) => e != null)
|
|
3620
2904
|
.map((entry) => {
|
|
3621
|
-
if (entry === null) {
|
|
3622
|
-
return null;
|
|
3623
|
-
}
|
|
3624
2905
|
return de_MatchItem(entry, context);
|
|
3625
2906
|
});
|
|
3626
2907
|
return retVal;
|
|
3627
2908
|
};
|
|
3628
|
-
const de_MatchingAttributes = (output, context) => {
|
|
3629
|
-
const retVal = (output || [])
|
|
3630
|
-
.filter((e) => e != null)
|
|
3631
|
-
.map((entry) => {
|
|
3632
|
-
if (entry === null) {
|
|
3633
|
-
return null;
|
|
3634
|
-
}
|
|
3635
|
-
return __expectString(entry);
|
|
3636
|
-
});
|
|
3637
|
-
return retVal;
|
|
3638
|
-
};
|
|
3639
|
-
const de_MatchingAttributesList = (output, context) => {
|
|
3640
|
-
const retVal = (output || [])
|
|
3641
|
-
.filter((e) => e != null)
|
|
3642
|
-
.map((entry) => {
|
|
3643
|
-
if (entry === null) {
|
|
3644
|
-
return null;
|
|
3645
|
-
}
|
|
3646
|
-
return de_MatchingAttributes(entry, context);
|
|
3647
|
-
});
|
|
3648
|
-
return retVal;
|
|
3649
|
-
};
|
|
3650
2909
|
const de_MatchingResponse = (output, context) => {
|
|
3651
|
-
return {
|
|
3652
|
-
AutoMerging:
|
|
3653
|
-
Enabled: __expectBoolean
|
|
3654
|
-
ExportingConfig:
|
|
3655
|
-
JobSchedule:
|
|
3656
|
-
};
|
|
3657
|
-
};
|
|
3658
|
-
const de_MatchItem = (output, context) => {
|
|
3659
|
-
return {
|
|
3660
|
-
ConfidenceScore: __limitedParseDouble(output.ConfidenceScore),
|
|
3661
|
-
MatchId: __expectString(output.MatchId),
|
|
3662
|
-
ProfileIds: output.ProfileIds != null ? de_ProfileIdList(output.ProfileIds, context) : undefined,
|
|
3663
|
-
};
|
|
3664
|
-
};
|
|
3665
|
-
const de_ObjectTypeField = (output, context) => {
|
|
3666
|
-
return {
|
|
3667
|
-
ContentType: __expectString(output.ContentType),
|
|
3668
|
-
Source: __expectString(output.Source),
|
|
3669
|
-
Target: __expectString(output.Target),
|
|
3670
|
-
};
|
|
3671
|
-
};
|
|
3672
|
-
const de_ObjectTypeKey = (output, context) => {
|
|
3673
|
-
return {
|
|
3674
|
-
FieldNames: output.FieldNames != null ? de_FieldNameList(output.FieldNames, context) : undefined,
|
|
3675
|
-
StandardIdentifiers: output.StandardIdentifiers != null ? de_StandardIdentifierList(output.StandardIdentifiers, context) : undefined,
|
|
3676
|
-
};
|
|
3677
|
-
};
|
|
3678
|
-
const de_ObjectTypeKeyList = (output, context) => {
|
|
3679
|
-
const retVal = (output || [])
|
|
3680
|
-
.filter((e) => e != null)
|
|
3681
|
-
.map((entry) => {
|
|
3682
|
-
if (entry === null) {
|
|
3683
|
-
return null;
|
|
3684
|
-
}
|
|
3685
|
-
return de_ObjectTypeKey(entry, context);
|
|
3686
|
-
});
|
|
3687
|
-
return retVal;
|
|
3688
|
-
};
|
|
3689
|
-
const de_ObjectTypeNames = (output, context) => {
|
|
3690
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3691
|
-
if (value === null) {
|
|
3692
|
-
return acc;
|
|
3693
|
-
}
|
|
3694
|
-
acc[key] = __expectString(value);
|
|
3695
|
-
return acc;
|
|
3696
|
-
}, {});
|
|
3697
|
-
};
|
|
3698
|
-
const de_Profile = (output, context) => {
|
|
3699
|
-
return {
|
|
3700
|
-
AccountNumber: __expectString(output.AccountNumber),
|
|
3701
|
-
AdditionalInformation: __expectString(output.AdditionalInformation),
|
|
3702
|
-
Address: output.Address != null ? de_Address(output.Address, context) : undefined,
|
|
3703
|
-
Attributes: output.Attributes != null ? de_Attributes(output.Attributes, context) : undefined,
|
|
3704
|
-
BillingAddress: output.BillingAddress != null ? de_Address(output.BillingAddress, context) : undefined,
|
|
3705
|
-
BirthDate: __expectString(output.BirthDate),
|
|
3706
|
-
BusinessEmailAddress: __expectString(output.BusinessEmailAddress),
|
|
3707
|
-
BusinessName: __expectString(output.BusinessName),
|
|
3708
|
-
BusinessPhoneNumber: __expectString(output.BusinessPhoneNumber),
|
|
3709
|
-
EmailAddress: __expectString(output.EmailAddress),
|
|
3710
|
-
FirstName: __expectString(output.FirstName),
|
|
3711
|
-
FoundByItems: output.FoundByItems != null ? de_foundByList(output.FoundByItems, context) : undefined,
|
|
3712
|
-
Gender: __expectString(output.Gender),
|
|
3713
|
-
GenderString: __expectString(output.GenderString),
|
|
3714
|
-
HomePhoneNumber: __expectString(output.HomePhoneNumber),
|
|
3715
|
-
LastName: __expectString(output.LastName),
|
|
3716
|
-
MailingAddress: output.MailingAddress != null ? de_Address(output.MailingAddress, context) : undefined,
|
|
3717
|
-
MiddleName: __expectString(output.MiddleName),
|
|
3718
|
-
MobilePhoneNumber: __expectString(output.MobilePhoneNumber),
|
|
3719
|
-
PartyType: __expectString(output.PartyType),
|
|
3720
|
-
PartyTypeString: __expectString(output.PartyTypeString),
|
|
3721
|
-
PersonalEmailAddress: __expectString(output.PersonalEmailAddress),
|
|
3722
|
-
PhoneNumber: __expectString(output.PhoneNumber),
|
|
3723
|
-
ProfileId: __expectString(output.ProfileId),
|
|
3724
|
-
ShippingAddress: output.ShippingAddress != null ? de_Address(output.ShippingAddress, context) : undefined,
|
|
3725
|
-
};
|
|
3726
|
-
};
|
|
3727
|
-
const de_ProfileIdList = (output, context) => {
|
|
3728
|
-
const retVal = (output || [])
|
|
3729
|
-
.filter((e) => e != null)
|
|
3730
|
-
.map((entry) => {
|
|
3731
|
-
if (entry === null) {
|
|
3732
|
-
return null;
|
|
3733
|
-
}
|
|
3734
|
-
return __expectString(entry);
|
|
2910
|
+
return take(output, {
|
|
2911
|
+
AutoMerging: (_) => de_AutoMerging(_, context),
|
|
2912
|
+
Enabled: __expectBoolean,
|
|
2913
|
+
ExportingConfig: _json,
|
|
2914
|
+
JobSchedule: _json,
|
|
3735
2915
|
});
|
|
3736
|
-
return retVal;
|
|
3737
2916
|
};
|
|
3738
|
-
const
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
return null;
|
|
3744
|
-
}
|
|
3745
|
-
return de_Profile(entry, context);
|
|
3746
|
-
});
|
|
3747
|
-
return retVal;
|
|
3748
|
-
};
|
|
3749
|
-
const de_ProfileObjectList = (output, context) => {
|
|
3750
|
-
const retVal = (output || [])
|
|
3751
|
-
.filter((e) => e != null)
|
|
3752
|
-
.map((entry) => {
|
|
3753
|
-
if (entry === null) {
|
|
3754
|
-
return null;
|
|
3755
|
-
}
|
|
3756
|
-
return de_ListProfileObjectsItem(entry, context);
|
|
2917
|
+
const de_MatchItem = (output, context) => {
|
|
2918
|
+
return take(output, {
|
|
2919
|
+
ConfidenceScore: __limitedParseDouble,
|
|
2920
|
+
MatchId: __expectString,
|
|
2921
|
+
ProfileIds: _json,
|
|
3757
2922
|
});
|
|
3758
|
-
return retVal;
|
|
3759
2923
|
};
|
|
3760
2924
|
const de_ProfileObjectTypeList = (output, context) => {
|
|
3761
2925
|
const retVal = (output || [])
|
|
3762
2926
|
.filter((e) => e != null)
|
|
3763
2927
|
.map((entry) => {
|
|
3764
|
-
if (entry === null) {
|
|
3765
|
-
return null;
|
|
3766
|
-
}
|
|
3767
2928
|
return de_ListProfileObjectTypeItem(entry, context);
|
|
3768
2929
|
});
|
|
3769
2930
|
return retVal;
|
|
3770
2931
|
};
|
|
3771
|
-
const de_ProfileObjectTypeTemplateList = (output, context) => {
|
|
3772
|
-
const retVal = (output || [])
|
|
3773
|
-
.filter((e) => e != null)
|
|
3774
|
-
.map((entry) => {
|
|
3775
|
-
if (entry === null) {
|
|
3776
|
-
return null;
|
|
3777
|
-
}
|
|
3778
|
-
return de_ListProfileObjectTypeTemplateItem(entry, context);
|
|
3779
|
-
});
|
|
3780
|
-
return retVal;
|
|
3781
|
-
};
|
|
3782
|
-
const de_requestValueList = (output, context) => {
|
|
3783
|
-
const retVal = (output || [])
|
|
3784
|
-
.filter((e) => e != null)
|
|
3785
|
-
.map((entry) => {
|
|
3786
|
-
if (entry === null) {
|
|
3787
|
-
return null;
|
|
3788
|
-
}
|
|
3789
|
-
return __expectString(entry);
|
|
3790
|
-
});
|
|
3791
|
-
return retVal;
|
|
3792
|
-
};
|
|
3793
|
-
const de_S3ExportingConfig = (output, context) => {
|
|
3794
|
-
return {
|
|
3795
|
-
S3BucketName: __expectString(output.S3BucketName),
|
|
3796
|
-
S3KeyName: __expectString(output.S3KeyName),
|
|
3797
|
-
};
|
|
3798
|
-
};
|
|
3799
|
-
const de_S3ExportingLocation = (output, context) => {
|
|
3800
|
-
return {
|
|
3801
|
-
S3BucketName: __expectString(output.S3BucketName),
|
|
3802
|
-
S3KeyName: __expectString(output.S3KeyName),
|
|
3803
|
-
};
|
|
3804
|
-
};
|
|
3805
|
-
const de_StandardIdentifierList = (output, context) => {
|
|
3806
|
-
const retVal = (output || [])
|
|
3807
|
-
.filter((e) => e != null)
|
|
3808
|
-
.map((entry) => {
|
|
3809
|
-
if (entry === null) {
|
|
3810
|
-
return null;
|
|
3811
|
-
}
|
|
3812
|
-
return __expectString(entry);
|
|
3813
|
-
});
|
|
3814
|
-
return retVal;
|
|
3815
|
-
};
|
|
3816
|
-
const de_TagMap = (output, context) => {
|
|
3817
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3818
|
-
if (value === null) {
|
|
3819
|
-
return acc;
|
|
3820
|
-
}
|
|
3821
|
-
acc[key] = __expectString(value);
|
|
3822
|
-
return acc;
|
|
3823
|
-
}, {});
|
|
3824
|
-
};
|
|
3825
|
-
const de_WorkflowAttributes = (output, context) => {
|
|
3826
|
-
return {
|
|
3827
|
-
AppflowIntegration: output.AppflowIntegration != null
|
|
3828
|
-
? de_AppflowIntegrationWorkflowAttributes(output.AppflowIntegration, context)
|
|
3829
|
-
: undefined,
|
|
3830
|
-
};
|
|
3831
|
-
};
|
|
3832
2932
|
const de_WorkflowList = (output, context) => {
|
|
3833
2933
|
const retVal = (output || [])
|
|
3834
2934
|
.filter((e) => e != null)
|
|
3835
2935
|
.map((entry) => {
|
|
3836
|
-
if (entry === null) {
|
|
3837
|
-
return null;
|
|
3838
|
-
}
|
|
3839
2936
|
return de_ListWorkflowsItem(entry, context);
|
|
3840
2937
|
});
|
|
3841
2938
|
return retVal;
|
|
3842
2939
|
};
|
|
3843
|
-
const de_WorkflowMetrics = (output, context) => {
|
|
3844
|
-
return {
|
|
3845
|
-
AppflowIntegration: output.AppflowIntegration != null
|
|
3846
|
-
? de_AppflowIntegrationWorkflowMetrics(output.AppflowIntegration, context)
|
|
3847
|
-
: undefined,
|
|
3848
|
-
};
|
|
3849
|
-
};
|
|
3850
2940
|
const de_WorkflowStepItem = (output, context) => {
|
|
3851
|
-
return {
|
|
3852
|
-
AppflowIntegration:
|
|
3853
|
-
|
|
3854
|
-
: undefined,
|
|
3855
|
-
};
|
|
2941
|
+
return take(output, {
|
|
2942
|
+
AppflowIntegration: (_) => de_AppflowIntegrationWorkflowStep(_, context),
|
|
2943
|
+
});
|
|
3856
2944
|
};
|
|
3857
2945
|
const de_WorkflowStepsList = (output, context) => {
|
|
3858
2946
|
const retVal = (output || [])
|
|
3859
2947
|
.filter((e) => e != null)
|
|
3860
2948
|
.map((entry) => {
|
|
3861
|
-
if (entry === null) {
|
|
3862
|
-
return null;
|
|
3863
|
-
}
|
|
3864
2949
|
return de_WorkflowStepItem(entry, context);
|
|
3865
2950
|
});
|
|
3866
2951
|
return retVal;
|