@aws-sdk/client-customer-profiles 3.928.0 → 3.930.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +4965 -4737
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/CustomerProfilesClient.js +2 -0
- package/dist-es/commands/AddProfileKeyCommand.js +3 -9
- package/dist-es/commands/BatchGetCalculatedAttributeForProfileCommand.js +3 -10
- package/dist-es/commands/BatchGetProfileCommand.js +3 -10
- package/dist-es/commands/CreateCalculatedAttributeDefinitionCommand.js +3 -10
- package/dist-es/commands/CreateDomainCommand.js +3 -9
- package/dist-es/commands/CreateDomainLayoutCommand.js +3 -10
- package/dist-es/commands/CreateEventStreamCommand.js +3 -9
- package/dist-es/commands/CreateEventTriggerCommand.js +3 -10
- package/dist-es/commands/CreateIntegrationWorkflowCommand.js +3 -10
- package/dist-es/commands/CreateProfileCommand.js +3 -10
- package/dist-es/commands/CreateSegmentDefinitionCommand.js +3 -10
- package/dist-es/commands/CreateSegmentEstimateCommand.js +3 -10
- package/dist-es/commands/CreateSegmentSnapshotCommand.js +3 -9
- package/dist-es/commands/CreateUploadJobCommand.js +3 -10
- package/dist-es/commands/DeleteCalculatedAttributeDefinitionCommand.js +3 -9
- package/dist-es/commands/DeleteDomainCommand.js +3 -9
- package/dist-es/commands/DeleteDomainLayoutCommand.js +3 -9
- package/dist-es/commands/DeleteEventStreamCommand.js +3 -9
- package/dist-es/commands/DeleteEventTriggerCommand.js +3 -9
- package/dist-es/commands/DeleteIntegrationCommand.js +3 -9
- package/dist-es/commands/DeleteProfileCommand.js +3 -9
- package/dist-es/commands/DeleteProfileKeyCommand.js +3 -9
- package/dist-es/commands/DeleteProfileObjectCommand.js +3 -9
- package/dist-es/commands/DeleteProfileObjectTypeCommand.js +3 -9
- package/dist-es/commands/DeleteSegmentDefinitionCommand.js +3 -9
- package/dist-es/commands/DeleteWorkflowCommand.js +3 -9
- package/dist-es/commands/DetectProfileObjectTypeCommand.js +3 -10
- package/dist-es/commands/GetAutoMergingPreviewCommand.js +3 -9
- package/dist-es/commands/GetCalculatedAttributeDefinitionCommand.js +3 -10
- package/dist-es/commands/GetCalculatedAttributeForProfileCommand.js +3 -9
- package/dist-es/commands/GetDomainCommand.js +3 -9
- package/dist-es/commands/GetDomainLayoutCommand.js +3 -10
- package/dist-es/commands/GetEventStreamCommand.js +3 -9
- package/dist-es/commands/GetEventTriggerCommand.js +3 -10
- package/dist-es/commands/GetIdentityResolutionJobCommand.js +3 -9
- package/dist-es/commands/GetIntegrationCommand.js +3 -9
- package/dist-es/commands/GetMatchesCommand.js +3 -9
- package/dist-es/commands/GetProfileHistoryRecordCommand.js +3 -10
- package/dist-es/commands/GetProfileObjectTypeCommand.js +3 -10
- package/dist-es/commands/GetProfileObjectTypeTemplateCommand.js +3 -10
- package/dist-es/commands/GetSegmentDefinitionCommand.js +3 -10
- package/dist-es/commands/GetSegmentEstimateCommand.js +3 -9
- package/dist-es/commands/GetSegmentMembershipCommand.js +3 -10
- package/dist-es/commands/GetSegmentSnapshotCommand.js +3 -9
- package/dist-es/commands/GetSimilarProfilesCommand.js +3 -9
- package/dist-es/commands/GetUploadJobCommand.js +3 -10
- package/dist-es/commands/GetUploadJobPathCommand.js +3 -9
- package/dist-es/commands/GetWorkflowCommand.js +3 -9
- package/dist-es/commands/GetWorkflowStepsCommand.js +3 -9
- package/dist-es/commands/ListAccountIntegrationsCommand.js +3 -9
- package/dist-es/commands/ListCalculatedAttributeDefinitionsCommand.js +3 -10
- package/dist-es/commands/ListCalculatedAttributesForProfileCommand.js +3 -9
- package/dist-es/commands/ListDomainLayoutsCommand.js +3 -10
- package/dist-es/commands/ListDomainsCommand.js +3 -9
- package/dist-es/commands/ListEventStreamsCommand.js +3 -9
- package/dist-es/commands/ListEventTriggersCommand.js +3 -10
- package/dist-es/commands/ListIdentityResolutionJobsCommand.js +3 -9
- package/dist-es/commands/ListIntegrationsCommand.js +3 -9
- package/dist-es/commands/ListObjectTypeAttributesCommand.js +3 -9
- package/dist-es/commands/ListProfileAttributeValuesCommand.js +3 -9
- package/dist-es/commands/ListProfileHistoryRecordsCommand.js +3 -9
- package/dist-es/commands/ListProfileObjectTypeTemplatesCommand.js +3 -9
- package/dist-es/commands/ListProfileObjectTypesCommand.js +3 -10
- package/dist-es/commands/ListProfileObjectsCommand.js +3 -10
- package/dist-es/commands/ListRuleBasedMatchesCommand.js +3 -9
- package/dist-es/commands/ListSegmentDefinitionsCommand.js +3 -10
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListUploadJobsCommand.js +3 -9
- package/dist-es/commands/ListWorkflowsCommand.js +3 -9
- package/dist-es/commands/MergeProfilesCommand.js +3 -9
- package/dist-es/commands/PutIntegrationCommand.js +3 -10
- package/dist-es/commands/PutProfileObjectCommand.js +3 -10
- package/dist-es/commands/PutProfileObjectTypeCommand.js +3 -10
- package/dist-es/commands/SearchProfilesCommand.js +3 -10
- package/dist-es/commands/StartUploadJobCommand.js +3 -9
- package/dist-es/commands/StopUploadJobCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateCalculatedAttributeDefinitionCommand.js +3 -10
- package/dist-es/commands/UpdateDomainCommand.js +3 -9
- package/dist-es/commands/UpdateDomainLayoutCommand.js +3 -10
- package/dist-es/commands/UpdateEventTriggerCommand.js +3 -10
- package/dist-es/commands/UpdateProfileCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -298
- package/dist-es/models/models_1.js +0 -89
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +4609 -0
- package/dist-types/CustomerProfilesClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +4 -217
- package/dist-types/models/models_1.d.ts +0 -52
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +456 -0
- package/dist-types/ts3.4/CustomerProfilesClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -149
- package/dist-types/ts3.4/models/models_1.d.ts +0 -39
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +463 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -3490
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -749
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1001
|
@@ -1,3490 +0,0 @@
|
|
|
1
|
-
import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
|
|
2
|
-
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { CustomerProfilesServiceException as __BaseException } from "../models/CustomerProfilesServiceException";
|
|
5
|
-
import { AccessDeniedException, BadRequestException, Dimension, InternalServerException, ResourceNotFoundException, ThrottlingException, } from "../models/models_0";
|
|
6
|
-
export const se_AddProfileKeyCommand = async (input, context) => {
|
|
7
|
-
const b = rb(input, context);
|
|
8
|
-
const headers = {
|
|
9
|
-
"content-type": "application/json",
|
|
10
|
-
};
|
|
11
|
-
b.bp("/domains/{DomainName}/profiles/keys");
|
|
12
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
13
|
-
let body;
|
|
14
|
-
body = JSON.stringify(take(input, {
|
|
15
|
-
KeyName: [],
|
|
16
|
-
ProfileId: [],
|
|
17
|
-
Values: (_) => _json(_),
|
|
18
|
-
}));
|
|
19
|
-
b.m("POST").h(headers).b(body);
|
|
20
|
-
return b.build();
|
|
21
|
-
};
|
|
22
|
-
export const se_BatchGetCalculatedAttributeForProfileCommand = async (input, context) => {
|
|
23
|
-
const b = rb(input, context);
|
|
24
|
-
const headers = {
|
|
25
|
-
"content-type": "application/json",
|
|
26
|
-
};
|
|
27
|
-
b.bp("/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}/batch-get-for-profiles");
|
|
28
|
-
b.p("CalculatedAttributeName", () => input.CalculatedAttributeName, "{CalculatedAttributeName}", false);
|
|
29
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
30
|
-
let body;
|
|
31
|
-
body = JSON.stringify(take(input, {
|
|
32
|
-
ConditionOverrides: (_) => _json(_),
|
|
33
|
-
ProfileIds: (_) => _json(_),
|
|
34
|
-
}));
|
|
35
|
-
b.m("POST").h(headers).b(body);
|
|
36
|
-
return b.build();
|
|
37
|
-
};
|
|
38
|
-
export const se_BatchGetProfileCommand = async (input, context) => {
|
|
39
|
-
const b = rb(input, context);
|
|
40
|
-
const headers = {
|
|
41
|
-
"content-type": "application/json",
|
|
42
|
-
};
|
|
43
|
-
b.bp("/domains/{DomainName}/batch-get-profiles");
|
|
44
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
45
|
-
let body;
|
|
46
|
-
body = JSON.stringify(take(input, {
|
|
47
|
-
ProfileIds: (_) => _json(_),
|
|
48
|
-
}));
|
|
49
|
-
b.m("POST").h(headers).b(body);
|
|
50
|
-
return b.build();
|
|
51
|
-
};
|
|
52
|
-
export const se_CreateCalculatedAttributeDefinitionCommand = async (input, context) => {
|
|
53
|
-
const b = rb(input, context);
|
|
54
|
-
const headers = {
|
|
55
|
-
"content-type": "application/json",
|
|
56
|
-
};
|
|
57
|
-
b.bp("/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}");
|
|
58
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
59
|
-
b.p("CalculatedAttributeName", () => input.CalculatedAttributeName, "{CalculatedAttributeName}", false);
|
|
60
|
-
let body;
|
|
61
|
-
body = JSON.stringify(take(input, {
|
|
62
|
-
AttributeDetails: (_) => _json(_),
|
|
63
|
-
Conditions: (_) => _json(_),
|
|
64
|
-
Description: [],
|
|
65
|
-
DisplayName: [],
|
|
66
|
-
Filter: (_) => _json(_),
|
|
67
|
-
Statistic: [],
|
|
68
|
-
Tags: (_) => _json(_),
|
|
69
|
-
UseHistoricalData: [],
|
|
70
|
-
}));
|
|
71
|
-
b.m("POST").h(headers).b(body);
|
|
72
|
-
return b.build();
|
|
73
|
-
};
|
|
74
|
-
export const se_CreateDomainCommand = async (input, context) => {
|
|
75
|
-
const b = rb(input, context);
|
|
76
|
-
const headers = {
|
|
77
|
-
"content-type": "application/json",
|
|
78
|
-
};
|
|
79
|
-
b.bp("/domains/{DomainName}");
|
|
80
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
81
|
-
let body;
|
|
82
|
-
body = JSON.stringify(take(input, {
|
|
83
|
-
DeadLetterQueueUrl: [],
|
|
84
|
-
DefaultEncryptionKey: [],
|
|
85
|
-
DefaultExpirationDays: [],
|
|
86
|
-
Matching: (_) => se_MatchingRequest(_, context),
|
|
87
|
-
RuleBasedMatching: (_) => _json(_),
|
|
88
|
-
Tags: (_) => _json(_),
|
|
89
|
-
}));
|
|
90
|
-
b.m("POST").h(headers).b(body);
|
|
91
|
-
return b.build();
|
|
92
|
-
};
|
|
93
|
-
export const se_CreateDomainLayoutCommand = async (input, context) => {
|
|
94
|
-
const b = rb(input, context);
|
|
95
|
-
const headers = {
|
|
96
|
-
"content-type": "application/json",
|
|
97
|
-
};
|
|
98
|
-
b.bp("/domains/{DomainName}/layouts/{LayoutDefinitionName}");
|
|
99
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
100
|
-
b.p("LayoutDefinitionName", () => input.LayoutDefinitionName, "{LayoutDefinitionName}", false);
|
|
101
|
-
let body;
|
|
102
|
-
body = JSON.stringify(take(input, {
|
|
103
|
-
Description: [],
|
|
104
|
-
DisplayName: [],
|
|
105
|
-
IsDefault: [],
|
|
106
|
-
Layout: [],
|
|
107
|
-
LayoutType: [],
|
|
108
|
-
Tags: (_) => _json(_),
|
|
109
|
-
}));
|
|
110
|
-
b.m("POST").h(headers).b(body);
|
|
111
|
-
return b.build();
|
|
112
|
-
};
|
|
113
|
-
export const se_CreateEventStreamCommand = async (input, context) => {
|
|
114
|
-
const b = rb(input, context);
|
|
115
|
-
const headers = {
|
|
116
|
-
"content-type": "application/json",
|
|
117
|
-
};
|
|
118
|
-
b.bp("/domains/{DomainName}/event-streams/{EventStreamName}");
|
|
119
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
120
|
-
b.p("EventStreamName", () => input.EventStreamName, "{EventStreamName}", false);
|
|
121
|
-
let body;
|
|
122
|
-
body = JSON.stringify(take(input, {
|
|
123
|
-
Tags: (_) => _json(_),
|
|
124
|
-
Uri: [],
|
|
125
|
-
}));
|
|
126
|
-
b.m("POST").h(headers).b(body);
|
|
127
|
-
return b.build();
|
|
128
|
-
};
|
|
129
|
-
export const se_CreateEventTriggerCommand = async (input, context) => {
|
|
130
|
-
const b = rb(input, context);
|
|
131
|
-
const headers = {
|
|
132
|
-
"content-type": "application/json",
|
|
133
|
-
};
|
|
134
|
-
b.bp("/domains/{DomainName}/event-triggers/{EventTriggerName}");
|
|
135
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
136
|
-
b.p("EventTriggerName", () => input.EventTriggerName, "{EventTriggerName}", false);
|
|
137
|
-
let body;
|
|
138
|
-
body = JSON.stringify(take(input, {
|
|
139
|
-
Description: [],
|
|
140
|
-
EventTriggerConditions: (_) => _json(_),
|
|
141
|
-
EventTriggerLimits: (_) => _json(_),
|
|
142
|
-
ObjectTypeName: [],
|
|
143
|
-
SegmentFilter: [],
|
|
144
|
-
Tags: (_) => _json(_),
|
|
145
|
-
}));
|
|
146
|
-
b.m("POST").h(headers).b(body);
|
|
147
|
-
return b.build();
|
|
148
|
-
};
|
|
149
|
-
export const se_CreateIntegrationWorkflowCommand = async (input, context) => {
|
|
150
|
-
const b = rb(input, context);
|
|
151
|
-
const headers = {
|
|
152
|
-
"content-type": "application/json",
|
|
153
|
-
};
|
|
154
|
-
b.bp("/domains/{DomainName}/workflows/integrations");
|
|
155
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
156
|
-
let body;
|
|
157
|
-
body = JSON.stringify(take(input, {
|
|
158
|
-
IntegrationConfig: (_) => se_IntegrationConfig(_, context),
|
|
159
|
-
ObjectTypeName: [],
|
|
160
|
-
RoleArn: [],
|
|
161
|
-
Tags: (_) => _json(_),
|
|
162
|
-
WorkflowType: [],
|
|
163
|
-
}));
|
|
164
|
-
b.m("POST").h(headers).b(body);
|
|
165
|
-
return b.build();
|
|
166
|
-
};
|
|
167
|
-
export const se_CreateProfileCommand = async (input, context) => {
|
|
168
|
-
const b = rb(input, context);
|
|
169
|
-
const headers = {
|
|
170
|
-
"content-type": "application/json",
|
|
171
|
-
};
|
|
172
|
-
b.bp("/domains/{DomainName}/profiles");
|
|
173
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
174
|
-
let body;
|
|
175
|
-
body = JSON.stringify(take(input, {
|
|
176
|
-
AccountNumber: [],
|
|
177
|
-
AdditionalInformation: [],
|
|
178
|
-
Address: (_) => _json(_),
|
|
179
|
-
Attributes: (_) => _json(_),
|
|
180
|
-
BillingAddress: (_) => _json(_),
|
|
181
|
-
BirthDate: [],
|
|
182
|
-
BusinessEmailAddress: [],
|
|
183
|
-
BusinessName: [],
|
|
184
|
-
BusinessPhoneNumber: [],
|
|
185
|
-
EmailAddress: [],
|
|
186
|
-
EngagementPreferences: (_) => _json(_),
|
|
187
|
-
FirstName: [],
|
|
188
|
-
Gender: [],
|
|
189
|
-
GenderString: [],
|
|
190
|
-
HomePhoneNumber: [],
|
|
191
|
-
LastName: [],
|
|
192
|
-
MailingAddress: (_) => _json(_),
|
|
193
|
-
MiddleName: [],
|
|
194
|
-
MobilePhoneNumber: [],
|
|
195
|
-
PartyType: [],
|
|
196
|
-
PartyTypeString: [],
|
|
197
|
-
PersonalEmailAddress: [],
|
|
198
|
-
PhoneNumber: [],
|
|
199
|
-
ProfileType: [],
|
|
200
|
-
ShippingAddress: (_) => _json(_),
|
|
201
|
-
}));
|
|
202
|
-
b.m("POST").h(headers).b(body);
|
|
203
|
-
return b.build();
|
|
204
|
-
};
|
|
205
|
-
export const se_CreateSegmentDefinitionCommand = async (input, context) => {
|
|
206
|
-
const b = rb(input, context);
|
|
207
|
-
const headers = {
|
|
208
|
-
"content-type": "application/json",
|
|
209
|
-
};
|
|
210
|
-
b.bp("/domains/{DomainName}/segment-definitions/{SegmentDefinitionName}");
|
|
211
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
212
|
-
b.p("SegmentDefinitionName", () => input.SegmentDefinitionName, "{SegmentDefinitionName}", false);
|
|
213
|
-
let body;
|
|
214
|
-
body = JSON.stringify(take(input, {
|
|
215
|
-
Description: [],
|
|
216
|
-
DisplayName: [],
|
|
217
|
-
SegmentGroups: (_) => se_SegmentGroup(_, context),
|
|
218
|
-
Tags: (_) => _json(_),
|
|
219
|
-
}));
|
|
220
|
-
b.m("POST").h(headers).b(body);
|
|
221
|
-
return b.build();
|
|
222
|
-
};
|
|
223
|
-
export const se_CreateSegmentEstimateCommand = async (input, context) => {
|
|
224
|
-
const b = rb(input, context);
|
|
225
|
-
const headers = {
|
|
226
|
-
"content-type": "application/json",
|
|
227
|
-
};
|
|
228
|
-
b.bp("/domains/{DomainName}/segment-estimates");
|
|
229
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
230
|
-
let body;
|
|
231
|
-
body = JSON.stringify(take(input, {
|
|
232
|
-
SegmentQuery: (_) => se_SegmentGroupStructure(_, context),
|
|
233
|
-
}));
|
|
234
|
-
b.m("POST").h(headers).b(body);
|
|
235
|
-
return b.build();
|
|
236
|
-
};
|
|
237
|
-
export const se_CreateSegmentSnapshotCommand = async (input, context) => {
|
|
238
|
-
const b = rb(input, context);
|
|
239
|
-
const headers = {
|
|
240
|
-
"content-type": "application/json",
|
|
241
|
-
};
|
|
242
|
-
b.bp("/domains/{DomainName}/segments/{SegmentDefinitionName}/snapshots");
|
|
243
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
244
|
-
b.p("SegmentDefinitionName", () => input.SegmentDefinitionName, "{SegmentDefinitionName}", false);
|
|
245
|
-
let body;
|
|
246
|
-
body = JSON.stringify(take(input, {
|
|
247
|
-
DataFormat: [],
|
|
248
|
-
DestinationUri: [],
|
|
249
|
-
EncryptionKey: [],
|
|
250
|
-
RoleArn: [],
|
|
251
|
-
}));
|
|
252
|
-
b.m("POST").h(headers).b(body);
|
|
253
|
-
return b.build();
|
|
254
|
-
};
|
|
255
|
-
export const se_CreateUploadJobCommand = async (input, context) => {
|
|
256
|
-
const b = rb(input, context);
|
|
257
|
-
const headers = {
|
|
258
|
-
"content-type": "application/json",
|
|
259
|
-
};
|
|
260
|
-
b.bp("/domains/{DomainName}/upload-jobs");
|
|
261
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
262
|
-
let body;
|
|
263
|
-
body = JSON.stringify(take(input, {
|
|
264
|
-
DataExpiry: [],
|
|
265
|
-
DisplayName: [],
|
|
266
|
-
Fields: (_) => _json(_),
|
|
267
|
-
UniqueKey: [],
|
|
268
|
-
}));
|
|
269
|
-
b.m("POST").h(headers).b(body);
|
|
270
|
-
return b.build();
|
|
271
|
-
};
|
|
272
|
-
export const se_DeleteCalculatedAttributeDefinitionCommand = async (input, context) => {
|
|
273
|
-
const b = rb(input, context);
|
|
274
|
-
const headers = {};
|
|
275
|
-
b.bp("/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}");
|
|
276
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
277
|
-
b.p("CalculatedAttributeName", () => input.CalculatedAttributeName, "{CalculatedAttributeName}", false);
|
|
278
|
-
let body;
|
|
279
|
-
b.m("DELETE").h(headers).b(body);
|
|
280
|
-
return b.build();
|
|
281
|
-
};
|
|
282
|
-
export const se_DeleteDomainCommand = async (input, context) => {
|
|
283
|
-
const b = rb(input, context);
|
|
284
|
-
const headers = {};
|
|
285
|
-
b.bp("/domains/{DomainName}");
|
|
286
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
287
|
-
let body;
|
|
288
|
-
b.m("DELETE").h(headers).b(body);
|
|
289
|
-
return b.build();
|
|
290
|
-
};
|
|
291
|
-
export const se_DeleteDomainLayoutCommand = async (input, context) => {
|
|
292
|
-
const b = rb(input, context);
|
|
293
|
-
const headers = {};
|
|
294
|
-
b.bp("/domains/{DomainName}/layouts/{LayoutDefinitionName}");
|
|
295
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
296
|
-
b.p("LayoutDefinitionName", () => input.LayoutDefinitionName, "{LayoutDefinitionName}", false);
|
|
297
|
-
let body;
|
|
298
|
-
b.m("DELETE").h(headers).b(body);
|
|
299
|
-
return b.build();
|
|
300
|
-
};
|
|
301
|
-
export const se_DeleteEventStreamCommand = async (input, context) => {
|
|
302
|
-
const b = rb(input, context);
|
|
303
|
-
const headers = {};
|
|
304
|
-
b.bp("/domains/{DomainName}/event-streams/{EventStreamName}");
|
|
305
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
306
|
-
b.p("EventStreamName", () => input.EventStreamName, "{EventStreamName}", false);
|
|
307
|
-
let body;
|
|
308
|
-
b.m("DELETE").h(headers).b(body);
|
|
309
|
-
return b.build();
|
|
310
|
-
};
|
|
311
|
-
export const se_DeleteEventTriggerCommand = async (input, context) => {
|
|
312
|
-
const b = rb(input, context);
|
|
313
|
-
const headers = {};
|
|
314
|
-
b.bp("/domains/{DomainName}/event-triggers/{EventTriggerName}");
|
|
315
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
316
|
-
b.p("EventTriggerName", () => input.EventTriggerName, "{EventTriggerName}", false);
|
|
317
|
-
let body;
|
|
318
|
-
b.m("DELETE").h(headers).b(body);
|
|
319
|
-
return b.build();
|
|
320
|
-
};
|
|
321
|
-
export const se_DeleteIntegrationCommand = async (input, context) => {
|
|
322
|
-
const b = rb(input, context);
|
|
323
|
-
const headers = {
|
|
324
|
-
"content-type": "application/json",
|
|
325
|
-
};
|
|
326
|
-
b.bp("/domains/{DomainName}/integrations/delete");
|
|
327
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
328
|
-
let body;
|
|
329
|
-
body = JSON.stringify(take(input, {
|
|
330
|
-
Uri: [],
|
|
331
|
-
}));
|
|
332
|
-
b.m("POST").h(headers).b(body);
|
|
333
|
-
return b.build();
|
|
334
|
-
};
|
|
335
|
-
export const se_DeleteProfileCommand = async (input, context) => {
|
|
336
|
-
const b = rb(input, context);
|
|
337
|
-
const headers = {
|
|
338
|
-
"content-type": "application/json",
|
|
339
|
-
};
|
|
340
|
-
b.bp("/domains/{DomainName}/profiles/delete");
|
|
341
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
342
|
-
let body;
|
|
343
|
-
body = JSON.stringify(take(input, {
|
|
344
|
-
ProfileId: [],
|
|
345
|
-
}));
|
|
346
|
-
b.m("POST").h(headers).b(body);
|
|
347
|
-
return b.build();
|
|
348
|
-
};
|
|
349
|
-
export const se_DeleteProfileKeyCommand = async (input, context) => {
|
|
350
|
-
const b = rb(input, context);
|
|
351
|
-
const headers = {
|
|
352
|
-
"content-type": "application/json",
|
|
353
|
-
};
|
|
354
|
-
b.bp("/domains/{DomainName}/profiles/keys/delete");
|
|
355
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
356
|
-
let body;
|
|
357
|
-
body = JSON.stringify(take(input, {
|
|
358
|
-
KeyName: [],
|
|
359
|
-
ProfileId: [],
|
|
360
|
-
Values: (_) => _json(_),
|
|
361
|
-
}));
|
|
362
|
-
b.m("POST").h(headers).b(body);
|
|
363
|
-
return b.build();
|
|
364
|
-
};
|
|
365
|
-
export const se_DeleteProfileObjectCommand = async (input, context) => {
|
|
366
|
-
const b = rb(input, context);
|
|
367
|
-
const headers = {
|
|
368
|
-
"content-type": "application/json",
|
|
369
|
-
};
|
|
370
|
-
b.bp("/domains/{DomainName}/profiles/objects/delete");
|
|
371
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
372
|
-
let body;
|
|
373
|
-
body = JSON.stringify(take(input, {
|
|
374
|
-
ObjectTypeName: [],
|
|
375
|
-
ProfileId: [],
|
|
376
|
-
ProfileObjectUniqueKey: [],
|
|
377
|
-
}));
|
|
378
|
-
b.m("POST").h(headers).b(body);
|
|
379
|
-
return b.build();
|
|
380
|
-
};
|
|
381
|
-
export const se_DeleteProfileObjectTypeCommand = async (input, context) => {
|
|
382
|
-
const b = rb(input, context);
|
|
383
|
-
const headers = {};
|
|
384
|
-
b.bp("/domains/{DomainName}/object-types/{ObjectTypeName}");
|
|
385
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
386
|
-
b.p("ObjectTypeName", () => input.ObjectTypeName, "{ObjectTypeName}", false);
|
|
387
|
-
let body;
|
|
388
|
-
b.m("DELETE").h(headers).b(body);
|
|
389
|
-
return b.build();
|
|
390
|
-
};
|
|
391
|
-
export const se_DeleteSegmentDefinitionCommand = async (input, context) => {
|
|
392
|
-
const b = rb(input, context);
|
|
393
|
-
const headers = {};
|
|
394
|
-
b.bp("/domains/{DomainName}/segment-definitions/{SegmentDefinitionName}");
|
|
395
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
396
|
-
b.p("SegmentDefinitionName", () => input.SegmentDefinitionName, "{SegmentDefinitionName}", false);
|
|
397
|
-
let body;
|
|
398
|
-
b.m("DELETE").h(headers).b(body);
|
|
399
|
-
return b.build();
|
|
400
|
-
};
|
|
401
|
-
export const se_DeleteWorkflowCommand = async (input, context) => {
|
|
402
|
-
const b = rb(input, context);
|
|
403
|
-
const headers = {};
|
|
404
|
-
b.bp("/domains/{DomainName}/workflows/{WorkflowId}");
|
|
405
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
406
|
-
b.p("WorkflowId", () => input.WorkflowId, "{WorkflowId}", false);
|
|
407
|
-
let body;
|
|
408
|
-
b.m("DELETE").h(headers).b(body);
|
|
409
|
-
return b.build();
|
|
410
|
-
};
|
|
411
|
-
export const se_DetectProfileObjectTypeCommand = async (input, context) => {
|
|
412
|
-
const b = rb(input, context);
|
|
413
|
-
const headers = {
|
|
414
|
-
"content-type": "application/json",
|
|
415
|
-
};
|
|
416
|
-
b.bp("/domains/{DomainName}/detect/object-types");
|
|
417
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
418
|
-
let body;
|
|
419
|
-
body = JSON.stringify(take(input, {
|
|
420
|
-
Objects: (_) => _json(_),
|
|
421
|
-
}));
|
|
422
|
-
b.m("POST").h(headers).b(body);
|
|
423
|
-
return b.build();
|
|
424
|
-
};
|
|
425
|
-
export const se_GetAutoMergingPreviewCommand = async (input, context) => {
|
|
426
|
-
const b = rb(input, context);
|
|
427
|
-
const headers = {
|
|
428
|
-
"content-type": "application/json",
|
|
429
|
-
};
|
|
430
|
-
b.bp("/domains/{DomainName}/identity-resolution-jobs/auto-merging-preview");
|
|
431
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
432
|
-
let body;
|
|
433
|
-
body = JSON.stringify(take(input, {
|
|
434
|
-
ConflictResolution: (_) => _json(_),
|
|
435
|
-
Consolidation: (_) => _json(_),
|
|
436
|
-
MinAllowedConfidenceScoreForMerging: (_) => __serializeFloat(_),
|
|
437
|
-
}));
|
|
438
|
-
b.m("POST").h(headers).b(body);
|
|
439
|
-
return b.build();
|
|
440
|
-
};
|
|
441
|
-
export const se_GetCalculatedAttributeDefinitionCommand = async (input, context) => {
|
|
442
|
-
const b = rb(input, context);
|
|
443
|
-
const headers = {};
|
|
444
|
-
b.bp("/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}");
|
|
445
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
446
|
-
b.p("CalculatedAttributeName", () => input.CalculatedAttributeName, "{CalculatedAttributeName}", false);
|
|
447
|
-
let body;
|
|
448
|
-
b.m("GET").h(headers).b(body);
|
|
449
|
-
return b.build();
|
|
450
|
-
};
|
|
451
|
-
export const se_GetCalculatedAttributeForProfileCommand = async (input, context) => {
|
|
452
|
-
const b = rb(input, context);
|
|
453
|
-
const headers = {};
|
|
454
|
-
b.bp("/domains/{DomainName}/profile/{ProfileId}/calculated-attributes/{CalculatedAttributeName}");
|
|
455
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
456
|
-
b.p("ProfileId", () => input.ProfileId, "{ProfileId}", false);
|
|
457
|
-
b.p("CalculatedAttributeName", () => input.CalculatedAttributeName, "{CalculatedAttributeName}", false);
|
|
458
|
-
let body;
|
|
459
|
-
b.m("GET").h(headers).b(body);
|
|
460
|
-
return b.build();
|
|
461
|
-
};
|
|
462
|
-
export const se_GetDomainCommand = async (input, context) => {
|
|
463
|
-
const b = rb(input, context);
|
|
464
|
-
const headers = {};
|
|
465
|
-
b.bp("/domains/{DomainName}");
|
|
466
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
467
|
-
let body;
|
|
468
|
-
b.m("GET").h(headers).b(body);
|
|
469
|
-
return b.build();
|
|
470
|
-
};
|
|
471
|
-
export const se_GetDomainLayoutCommand = async (input, context) => {
|
|
472
|
-
const b = rb(input, context);
|
|
473
|
-
const headers = {};
|
|
474
|
-
b.bp("/domains/{DomainName}/layouts/{LayoutDefinitionName}");
|
|
475
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
476
|
-
b.p("LayoutDefinitionName", () => input.LayoutDefinitionName, "{LayoutDefinitionName}", false);
|
|
477
|
-
let body;
|
|
478
|
-
b.m("GET").h(headers).b(body);
|
|
479
|
-
return b.build();
|
|
480
|
-
};
|
|
481
|
-
export const se_GetEventStreamCommand = async (input, context) => {
|
|
482
|
-
const b = rb(input, context);
|
|
483
|
-
const headers = {};
|
|
484
|
-
b.bp("/domains/{DomainName}/event-streams/{EventStreamName}");
|
|
485
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
486
|
-
b.p("EventStreamName", () => input.EventStreamName, "{EventStreamName}", false);
|
|
487
|
-
let body;
|
|
488
|
-
b.m("GET").h(headers).b(body);
|
|
489
|
-
return b.build();
|
|
490
|
-
};
|
|
491
|
-
export const se_GetEventTriggerCommand = async (input, context) => {
|
|
492
|
-
const b = rb(input, context);
|
|
493
|
-
const headers = {};
|
|
494
|
-
b.bp("/domains/{DomainName}/event-triggers/{EventTriggerName}");
|
|
495
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
496
|
-
b.p("EventTriggerName", () => input.EventTriggerName, "{EventTriggerName}", false);
|
|
497
|
-
let body;
|
|
498
|
-
b.m("GET").h(headers).b(body);
|
|
499
|
-
return b.build();
|
|
500
|
-
};
|
|
501
|
-
export const se_GetIdentityResolutionJobCommand = async (input, context) => {
|
|
502
|
-
const b = rb(input, context);
|
|
503
|
-
const headers = {};
|
|
504
|
-
b.bp("/domains/{DomainName}/identity-resolution-jobs/{JobId}");
|
|
505
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
506
|
-
b.p("JobId", () => input.JobId, "{JobId}", false);
|
|
507
|
-
let body;
|
|
508
|
-
b.m("GET").h(headers).b(body);
|
|
509
|
-
return b.build();
|
|
510
|
-
};
|
|
511
|
-
export const se_GetIntegrationCommand = async (input, context) => {
|
|
512
|
-
const b = rb(input, context);
|
|
513
|
-
const headers = {
|
|
514
|
-
"content-type": "application/json",
|
|
515
|
-
};
|
|
516
|
-
b.bp("/domains/{DomainName}/integrations");
|
|
517
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
518
|
-
let body;
|
|
519
|
-
body = JSON.stringify(take(input, {
|
|
520
|
-
Uri: [],
|
|
521
|
-
}));
|
|
522
|
-
b.m("POST").h(headers).b(body);
|
|
523
|
-
return b.build();
|
|
524
|
-
};
|
|
525
|
-
export const se_GetMatchesCommand = async (input, context) => {
|
|
526
|
-
const b = rb(input, context);
|
|
527
|
-
const headers = {};
|
|
528
|
-
b.bp("/domains/{DomainName}/matches");
|
|
529
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
530
|
-
const query = map({
|
|
531
|
-
[_nt]: [, input[_NT]],
|
|
532
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
533
|
-
});
|
|
534
|
-
let body;
|
|
535
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
536
|
-
return b.build();
|
|
537
|
-
};
|
|
538
|
-
export const se_GetProfileHistoryRecordCommand = async (input, context) => {
|
|
539
|
-
const b = rb(input, context);
|
|
540
|
-
const headers = {};
|
|
541
|
-
b.bp("/domains/{DomainName}/profiles/{ProfileId}/history-records/{Id}");
|
|
542
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
543
|
-
b.p("ProfileId", () => input.ProfileId, "{ProfileId}", false);
|
|
544
|
-
b.p("Id", () => input.Id, "{Id}", false);
|
|
545
|
-
let body;
|
|
546
|
-
b.m("GET").h(headers).b(body);
|
|
547
|
-
return b.build();
|
|
548
|
-
};
|
|
549
|
-
export const se_GetProfileObjectTypeCommand = async (input, context) => {
|
|
550
|
-
const b = rb(input, context);
|
|
551
|
-
const headers = {};
|
|
552
|
-
b.bp("/domains/{DomainName}/object-types/{ObjectTypeName}");
|
|
553
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
554
|
-
b.p("ObjectTypeName", () => input.ObjectTypeName, "{ObjectTypeName}", false);
|
|
555
|
-
let body;
|
|
556
|
-
b.m("GET").h(headers).b(body);
|
|
557
|
-
return b.build();
|
|
558
|
-
};
|
|
559
|
-
export const se_GetProfileObjectTypeTemplateCommand = async (input, context) => {
|
|
560
|
-
const b = rb(input, context);
|
|
561
|
-
const headers = {};
|
|
562
|
-
b.bp("/templates/{TemplateId}");
|
|
563
|
-
b.p("TemplateId", () => input.TemplateId, "{TemplateId}", false);
|
|
564
|
-
let body;
|
|
565
|
-
b.m("GET").h(headers).b(body);
|
|
566
|
-
return b.build();
|
|
567
|
-
};
|
|
568
|
-
export const se_GetSegmentDefinitionCommand = async (input, context) => {
|
|
569
|
-
const b = rb(input, context);
|
|
570
|
-
const headers = {};
|
|
571
|
-
b.bp("/domains/{DomainName}/segment-definitions/{SegmentDefinitionName}");
|
|
572
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
573
|
-
b.p("SegmentDefinitionName", () => input.SegmentDefinitionName, "{SegmentDefinitionName}", false);
|
|
574
|
-
let body;
|
|
575
|
-
b.m("GET").h(headers).b(body);
|
|
576
|
-
return b.build();
|
|
577
|
-
};
|
|
578
|
-
export const se_GetSegmentEstimateCommand = async (input, context) => {
|
|
579
|
-
const b = rb(input, context);
|
|
580
|
-
const headers = {};
|
|
581
|
-
b.bp("/domains/{DomainName}/segment-estimates/{EstimateId}");
|
|
582
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
583
|
-
b.p("EstimateId", () => input.EstimateId, "{EstimateId}", false);
|
|
584
|
-
let body;
|
|
585
|
-
b.m("GET").h(headers).b(body);
|
|
586
|
-
return b.build();
|
|
587
|
-
};
|
|
588
|
-
export const se_GetSegmentMembershipCommand = async (input, context) => {
|
|
589
|
-
const b = rb(input, context);
|
|
590
|
-
const headers = {
|
|
591
|
-
"content-type": "application/json",
|
|
592
|
-
};
|
|
593
|
-
b.bp("/domains/{DomainName}/segments/{SegmentDefinitionName}/membership");
|
|
594
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
595
|
-
b.p("SegmentDefinitionName", () => input.SegmentDefinitionName, "{SegmentDefinitionName}", false);
|
|
596
|
-
let body;
|
|
597
|
-
body = JSON.stringify(take(input, {
|
|
598
|
-
ProfileIds: [, (_) => _json(_), `ProfileIds`],
|
|
599
|
-
}));
|
|
600
|
-
b.m("POST").h(headers).b(body);
|
|
601
|
-
return b.build();
|
|
602
|
-
};
|
|
603
|
-
export const se_GetSegmentSnapshotCommand = async (input, context) => {
|
|
604
|
-
const b = rb(input, context);
|
|
605
|
-
const headers = {};
|
|
606
|
-
b.bp("/domains/{DomainName}/segments/{SegmentDefinitionName}/snapshots/{SnapshotId}");
|
|
607
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
608
|
-
b.p("SegmentDefinitionName", () => input.SegmentDefinitionName, "{SegmentDefinitionName}", false);
|
|
609
|
-
b.p("SnapshotId", () => input.SnapshotId, "{SnapshotId}", false);
|
|
610
|
-
let body;
|
|
611
|
-
b.m("GET").h(headers).b(body);
|
|
612
|
-
return b.build();
|
|
613
|
-
};
|
|
614
|
-
export const se_GetSimilarProfilesCommand = async (input, context) => {
|
|
615
|
-
const b = rb(input, context);
|
|
616
|
-
const headers = {
|
|
617
|
-
"content-type": "application/json",
|
|
618
|
-
};
|
|
619
|
-
b.bp("/domains/{DomainName}/matches");
|
|
620
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
621
|
-
const query = map({
|
|
622
|
-
[_nt]: [, input[_NT]],
|
|
623
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
624
|
-
});
|
|
625
|
-
let body;
|
|
626
|
-
body = JSON.stringify(take(input, {
|
|
627
|
-
MatchType: [],
|
|
628
|
-
SearchKey: [],
|
|
629
|
-
SearchValue: [],
|
|
630
|
-
}));
|
|
631
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
632
|
-
return b.build();
|
|
633
|
-
};
|
|
634
|
-
export const se_GetUploadJobCommand = async (input, context) => {
|
|
635
|
-
const b = rb(input, context);
|
|
636
|
-
const headers = {};
|
|
637
|
-
b.bp("/domains/{DomainName}/upload-jobs/{JobId}");
|
|
638
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
639
|
-
b.p("JobId", () => input.JobId, "{JobId}", false);
|
|
640
|
-
let body;
|
|
641
|
-
b.m("GET").h(headers).b(body);
|
|
642
|
-
return b.build();
|
|
643
|
-
};
|
|
644
|
-
export const se_GetUploadJobPathCommand = async (input, context) => {
|
|
645
|
-
const b = rb(input, context);
|
|
646
|
-
const headers = {};
|
|
647
|
-
b.bp("/domains/{DomainName}/upload-jobs/{JobId}/path");
|
|
648
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
649
|
-
b.p("JobId", () => input.JobId, "{JobId}", false);
|
|
650
|
-
let body;
|
|
651
|
-
b.m("GET").h(headers).b(body);
|
|
652
|
-
return b.build();
|
|
653
|
-
};
|
|
654
|
-
export const se_GetWorkflowCommand = async (input, context) => {
|
|
655
|
-
const b = rb(input, context);
|
|
656
|
-
const headers = {};
|
|
657
|
-
b.bp("/domains/{DomainName}/workflows/{WorkflowId}");
|
|
658
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
659
|
-
b.p("WorkflowId", () => input.WorkflowId, "{WorkflowId}", false);
|
|
660
|
-
let body;
|
|
661
|
-
b.m("GET").h(headers).b(body);
|
|
662
|
-
return b.build();
|
|
663
|
-
};
|
|
664
|
-
export const se_GetWorkflowStepsCommand = async (input, context) => {
|
|
665
|
-
const b = rb(input, context);
|
|
666
|
-
const headers = {};
|
|
667
|
-
b.bp("/domains/{DomainName}/workflows/{WorkflowId}/steps");
|
|
668
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
669
|
-
b.p("WorkflowId", () => input.WorkflowId, "{WorkflowId}", false);
|
|
670
|
-
const query = map({
|
|
671
|
-
[_nt]: [, input[_NT]],
|
|
672
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
673
|
-
});
|
|
674
|
-
let body;
|
|
675
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
676
|
-
return b.build();
|
|
677
|
-
};
|
|
678
|
-
export const se_ListAccountIntegrationsCommand = async (input, context) => {
|
|
679
|
-
const b = rb(input, context);
|
|
680
|
-
const headers = {
|
|
681
|
-
"content-type": "application/json",
|
|
682
|
-
};
|
|
683
|
-
b.bp("/integrations");
|
|
684
|
-
const query = map({
|
|
685
|
-
[_nt]: [, input[_NT]],
|
|
686
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
687
|
-
[_ih]: [() => input.IncludeHidden !== void 0, () => input[_IH].toString()],
|
|
688
|
-
});
|
|
689
|
-
let body;
|
|
690
|
-
body = JSON.stringify(take(input, {
|
|
691
|
-
Uri: [],
|
|
692
|
-
}));
|
|
693
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
694
|
-
return b.build();
|
|
695
|
-
};
|
|
696
|
-
export const se_ListCalculatedAttributeDefinitionsCommand = async (input, context) => {
|
|
697
|
-
const b = rb(input, context);
|
|
698
|
-
const headers = {};
|
|
699
|
-
b.bp("/domains/{DomainName}/calculated-attributes");
|
|
700
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
701
|
-
const query = map({
|
|
702
|
-
[_nt]: [, input[_NT]],
|
|
703
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
704
|
-
});
|
|
705
|
-
let body;
|
|
706
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
707
|
-
return b.build();
|
|
708
|
-
};
|
|
709
|
-
export const se_ListCalculatedAttributesForProfileCommand = async (input, context) => {
|
|
710
|
-
const b = rb(input, context);
|
|
711
|
-
const headers = {};
|
|
712
|
-
b.bp("/domains/{DomainName}/profile/{ProfileId}/calculated-attributes");
|
|
713
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
714
|
-
b.p("ProfileId", () => input.ProfileId, "{ProfileId}", false);
|
|
715
|
-
const query = map({
|
|
716
|
-
[_nt]: [, input[_NT]],
|
|
717
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
718
|
-
});
|
|
719
|
-
let body;
|
|
720
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
721
|
-
return b.build();
|
|
722
|
-
};
|
|
723
|
-
export const se_ListDomainLayoutsCommand = async (input, context) => {
|
|
724
|
-
const b = rb(input, context);
|
|
725
|
-
const headers = {};
|
|
726
|
-
b.bp("/domains/{DomainName}/layouts");
|
|
727
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
728
|
-
const query = map({
|
|
729
|
-
[_nt]: [, input[_NT]],
|
|
730
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
731
|
-
});
|
|
732
|
-
let body;
|
|
733
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
734
|
-
return b.build();
|
|
735
|
-
};
|
|
736
|
-
export const se_ListDomainsCommand = async (input, context) => {
|
|
737
|
-
const b = rb(input, context);
|
|
738
|
-
const headers = {};
|
|
739
|
-
b.bp("/domains");
|
|
740
|
-
const query = map({
|
|
741
|
-
[_nt]: [, input[_NT]],
|
|
742
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
743
|
-
});
|
|
744
|
-
let body;
|
|
745
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
746
|
-
return b.build();
|
|
747
|
-
};
|
|
748
|
-
export const se_ListEventStreamsCommand = async (input, context) => {
|
|
749
|
-
const b = rb(input, context);
|
|
750
|
-
const headers = {};
|
|
751
|
-
b.bp("/domains/{DomainName}/event-streams");
|
|
752
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
753
|
-
const query = map({
|
|
754
|
-
[_nt]: [, input[_NT]],
|
|
755
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
756
|
-
});
|
|
757
|
-
let body;
|
|
758
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
759
|
-
return b.build();
|
|
760
|
-
};
|
|
761
|
-
export const se_ListEventTriggersCommand = async (input, context) => {
|
|
762
|
-
const b = rb(input, context);
|
|
763
|
-
const headers = {};
|
|
764
|
-
b.bp("/domains/{DomainName}/event-triggers");
|
|
765
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
766
|
-
const query = map({
|
|
767
|
-
[_nt]: [, input[_NT]],
|
|
768
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
769
|
-
});
|
|
770
|
-
let body;
|
|
771
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
772
|
-
return b.build();
|
|
773
|
-
};
|
|
774
|
-
export const se_ListIdentityResolutionJobsCommand = async (input, context) => {
|
|
775
|
-
const b = rb(input, context);
|
|
776
|
-
const headers = {};
|
|
777
|
-
b.bp("/domains/{DomainName}/identity-resolution-jobs");
|
|
778
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
779
|
-
const query = map({
|
|
780
|
-
[_nt]: [, input[_NT]],
|
|
781
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
782
|
-
});
|
|
783
|
-
let body;
|
|
784
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
785
|
-
return b.build();
|
|
786
|
-
};
|
|
787
|
-
export const se_ListIntegrationsCommand = async (input, context) => {
|
|
788
|
-
const b = rb(input, context);
|
|
789
|
-
const headers = {};
|
|
790
|
-
b.bp("/domains/{DomainName}/integrations");
|
|
791
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
792
|
-
const query = map({
|
|
793
|
-
[_nt]: [, input[_NT]],
|
|
794
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
795
|
-
[_ih]: [() => input.IncludeHidden !== void 0, () => input[_IH].toString()],
|
|
796
|
-
});
|
|
797
|
-
let body;
|
|
798
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
799
|
-
return b.build();
|
|
800
|
-
};
|
|
801
|
-
export const se_ListObjectTypeAttributesCommand = async (input, context) => {
|
|
802
|
-
const b = rb(input, context);
|
|
803
|
-
const headers = {};
|
|
804
|
-
b.bp("/domains/{DomainName}/object-types/{ObjectTypeName}/attributes");
|
|
805
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
806
|
-
b.p("ObjectTypeName", () => input.ObjectTypeName, "{ObjectTypeName}", false);
|
|
807
|
-
const query = map({
|
|
808
|
-
[_nt]: [, input[_NT]],
|
|
809
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
810
|
-
});
|
|
811
|
-
let body;
|
|
812
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
813
|
-
return b.build();
|
|
814
|
-
};
|
|
815
|
-
export const se_ListProfileAttributeValuesCommand = async (input, context) => {
|
|
816
|
-
const b = rb(input, context);
|
|
817
|
-
const headers = {};
|
|
818
|
-
b.bp("/domains/{DomainName}/profile-attributes/{AttributeName}/values");
|
|
819
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
820
|
-
b.p("AttributeName", () => input.AttributeName, "{AttributeName}", false);
|
|
821
|
-
let body;
|
|
822
|
-
b.m("GET").h(headers).b(body);
|
|
823
|
-
return b.build();
|
|
824
|
-
};
|
|
825
|
-
export const se_ListProfileHistoryRecordsCommand = async (input, context) => {
|
|
826
|
-
const b = rb(input, context);
|
|
827
|
-
const headers = {
|
|
828
|
-
"content-type": "application/json",
|
|
829
|
-
};
|
|
830
|
-
b.bp("/domains/{DomainName}/profiles/history-records");
|
|
831
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
832
|
-
const query = map({
|
|
833
|
-
[_nt]: [, input[_NT]],
|
|
834
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
835
|
-
});
|
|
836
|
-
let body;
|
|
837
|
-
body = JSON.stringify(take(input, {
|
|
838
|
-
ActionType: [],
|
|
839
|
-
ObjectTypeName: [],
|
|
840
|
-
PerformedBy: [],
|
|
841
|
-
ProfileId: [],
|
|
842
|
-
}));
|
|
843
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
844
|
-
return b.build();
|
|
845
|
-
};
|
|
846
|
-
export const se_ListProfileObjectsCommand = async (input, context) => {
|
|
847
|
-
const b = rb(input, context);
|
|
848
|
-
const headers = {
|
|
849
|
-
"content-type": "application/json",
|
|
850
|
-
};
|
|
851
|
-
b.bp("/domains/{DomainName}/profiles/objects");
|
|
852
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
853
|
-
const query = map({
|
|
854
|
-
[_nt]: [, input[_NT]],
|
|
855
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
856
|
-
});
|
|
857
|
-
let body;
|
|
858
|
-
body = JSON.stringify(take(input, {
|
|
859
|
-
ObjectFilter: (_) => _json(_),
|
|
860
|
-
ObjectTypeName: [],
|
|
861
|
-
ProfileId: [],
|
|
862
|
-
}));
|
|
863
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
864
|
-
return b.build();
|
|
865
|
-
};
|
|
866
|
-
export const se_ListProfileObjectTypesCommand = async (input, context) => {
|
|
867
|
-
const b = rb(input, context);
|
|
868
|
-
const headers = {};
|
|
869
|
-
b.bp("/domains/{DomainName}/object-types");
|
|
870
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
871
|
-
const query = map({
|
|
872
|
-
[_nt]: [, input[_NT]],
|
|
873
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
874
|
-
});
|
|
875
|
-
let body;
|
|
876
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
877
|
-
return b.build();
|
|
878
|
-
};
|
|
879
|
-
export const se_ListProfileObjectTypeTemplatesCommand = async (input, context) => {
|
|
880
|
-
const b = rb(input, context);
|
|
881
|
-
const headers = {};
|
|
882
|
-
b.bp("/templates");
|
|
883
|
-
const query = map({
|
|
884
|
-
[_nt]: [, input[_NT]],
|
|
885
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
886
|
-
});
|
|
887
|
-
let body;
|
|
888
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
889
|
-
return b.build();
|
|
890
|
-
};
|
|
891
|
-
export const se_ListRuleBasedMatchesCommand = async (input, context) => {
|
|
892
|
-
const b = rb(input, context);
|
|
893
|
-
const headers = {};
|
|
894
|
-
b.bp("/domains/{DomainName}/profiles/ruleBasedMatches");
|
|
895
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
896
|
-
const query = map({
|
|
897
|
-
[_nt]: [, input[_NT]],
|
|
898
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
899
|
-
});
|
|
900
|
-
let body;
|
|
901
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
902
|
-
return b.build();
|
|
903
|
-
};
|
|
904
|
-
export const se_ListSegmentDefinitionsCommand = async (input, context) => {
|
|
905
|
-
const b = rb(input, context);
|
|
906
|
-
const headers = {};
|
|
907
|
-
b.bp("/domains/{DomainName}/segment-definitions");
|
|
908
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
909
|
-
const query = map({
|
|
910
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
911
|
-
[_nt]: [, input[_NT]],
|
|
912
|
-
});
|
|
913
|
-
let body;
|
|
914
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
915
|
-
return b.build();
|
|
916
|
-
};
|
|
917
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
918
|
-
const b = rb(input, context);
|
|
919
|
-
const headers = {};
|
|
920
|
-
b.bp("/tags/{resourceArn}");
|
|
921
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
922
|
-
let body;
|
|
923
|
-
b.m("GET").h(headers).b(body);
|
|
924
|
-
return b.build();
|
|
925
|
-
};
|
|
926
|
-
export const se_ListUploadJobsCommand = async (input, context) => {
|
|
927
|
-
const b = rb(input, context);
|
|
928
|
-
const headers = {};
|
|
929
|
-
b.bp("/domains/{DomainName}/upload-jobs");
|
|
930
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
931
|
-
const query = map({
|
|
932
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
933
|
-
[_nt]: [, input[_NT]],
|
|
934
|
-
});
|
|
935
|
-
let body;
|
|
936
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
937
|
-
return b.build();
|
|
938
|
-
};
|
|
939
|
-
export const se_ListWorkflowsCommand = async (input, context) => {
|
|
940
|
-
const b = rb(input, context);
|
|
941
|
-
const headers = {
|
|
942
|
-
"content-type": "application/json",
|
|
943
|
-
};
|
|
944
|
-
b.bp("/domains/{DomainName}/workflows");
|
|
945
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
946
|
-
const query = map({
|
|
947
|
-
[_nt]: [, input[_NT]],
|
|
948
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
949
|
-
});
|
|
950
|
-
let body;
|
|
951
|
-
body = JSON.stringify(take(input, {
|
|
952
|
-
QueryEndDate: (_) => _.getTime() / 1_000,
|
|
953
|
-
QueryStartDate: (_) => _.getTime() / 1_000,
|
|
954
|
-
Status: [],
|
|
955
|
-
WorkflowType: [],
|
|
956
|
-
}));
|
|
957
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
958
|
-
return b.build();
|
|
959
|
-
};
|
|
960
|
-
export const se_MergeProfilesCommand = async (input, context) => {
|
|
961
|
-
const b = rb(input, context);
|
|
962
|
-
const headers = {
|
|
963
|
-
"content-type": "application/json",
|
|
964
|
-
};
|
|
965
|
-
b.bp("/domains/{DomainName}/profiles/objects/merge");
|
|
966
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
967
|
-
let body;
|
|
968
|
-
body = JSON.stringify(take(input, {
|
|
969
|
-
FieldSourceProfileIds: (_) => _json(_),
|
|
970
|
-
MainProfileId: [],
|
|
971
|
-
ProfileIdsToBeMerged: (_) => _json(_),
|
|
972
|
-
}));
|
|
973
|
-
b.m("POST").h(headers).b(body);
|
|
974
|
-
return b.build();
|
|
975
|
-
};
|
|
976
|
-
export const se_PutIntegrationCommand = async (input, context) => {
|
|
977
|
-
const b = rb(input, context);
|
|
978
|
-
const headers = {
|
|
979
|
-
"content-type": "application/json",
|
|
980
|
-
};
|
|
981
|
-
b.bp("/domains/{DomainName}/integrations");
|
|
982
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
983
|
-
let body;
|
|
984
|
-
body = JSON.stringify(take(input, {
|
|
985
|
-
EventTriggerNames: (_) => _json(_),
|
|
986
|
-
FlowDefinition: (_) => se_FlowDefinition(_, context),
|
|
987
|
-
ObjectTypeName: [],
|
|
988
|
-
ObjectTypeNames: (_) => _json(_),
|
|
989
|
-
RoleArn: [],
|
|
990
|
-
Tags: (_) => _json(_),
|
|
991
|
-
Uri: [],
|
|
992
|
-
}));
|
|
993
|
-
b.m("PUT").h(headers).b(body);
|
|
994
|
-
return b.build();
|
|
995
|
-
};
|
|
996
|
-
export const se_PutProfileObjectCommand = async (input, context) => {
|
|
997
|
-
const b = rb(input, context);
|
|
998
|
-
const headers = {
|
|
999
|
-
"content-type": "application/json",
|
|
1000
|
-
};
|
|
1001
|
-
b.bp("/domains/{DomainName}/profiles/objects");
|
|
1002
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1003
|
-
let body;
|
|
1004
|
-
body = JSON.stringify(take(input, {
|
|
1005
|
-
Object: [],
|
|
1006
|
-
ObjectTypeName: [],
|
|
1007
|
-
}));
|
|
1008
|
-
b.m("PUT").h(headers).b(body);
|
|
1009
|
-
return b.build();
|
|
1010
|
-
};
|
|
1011
|
-
export const se_PutProfileObjectTypeCommand = async (input, context) => {
|
|
1012
|
-
const b = rb(input, context);
|
|
1013
|
-
const headers = {
|
|
1014
|
-
"content-type": "application/json",
|
|
1015
|
-
};
|
|
1016
|
-
b.bp("/domains/{DomainName}/object-types/{ObjectTypeName}");
|
|
1017
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1018
|
-
b.p("ObjectTypeName", () => input.ObjectTypeName, "{ObjectTypeName}", false);
|
|
1019
|
-
let body;
|
|
1020
|
-
body = JSON.stringify(take(input, {
|
|
1021
|
-
AllowProfileCreation: [],
|
|
1022
|
-
Description: [],
|
|
1023
|
-
EncryptionKey: [],
|
|
1024
|
-
ExpirationDays: [],
|
|
1025
|
-
Fields: (_) => _json(_),
|
|
1026
|
-
Keys: (_) => _json(_),
|
|
1027
|
-
MaxProfileObjectCount: [],
|
|
1028
|
-
SourceLastUpdatedTimestampFormat: [],
|
|
1029
|
-
Tags: (_) => _json(_),
|
|
1030
|
-
TemplateId: [],
|
|
1031
|
-
}));
|
|
1032
|
-
b.m("PUT").h(headers).b(body);
|
|
1033
|
-
return b.build();
|
|
1034
|
-
};
|
|
1035
|
-
export const se_SearchProfilesCommand = async (input, context) => {
|
|
1036
|
-
const b = rb(input, context);
|
|
1037
|
-
const headers = {
|
|
1038
|
-
"content-type": "application/json",
|
|
1039
|
-
};
|
|
1040
|
-
b.bp("/domains/{DomainName}/profiles/search");
|
|
1041
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1042
|
-
const query = map({
|
|
1043
|
-
[_nt]: [, input[_NT]],
|
|
1044
|
-
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1045
|
-
});
|
|
1046
|
-
let body;
|
|
1047
|
-
body = JSON.stringify(take(input, {
|
|
1048
|
-
AdditionalSearchKeys: (_) => _json(_),
|
|
1049
|
-
KeyName: [],
|
|
1050
|
-
LogicalOperator: [],
|
|
1051
|
-
Values: (_) => _json(_),
|
|
1052
|
-
}));
|
|
1053
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
1054
|
-
return b.build();
|
|
1055
|
-
};
|
|
1056
|
-
export const se_StartUploadJobCommand = async (input, context) => {
|
|
1057
|
-
const b = rb(input, context);
|
|
1058
|
-
const headers = {};
|
|
1059
|
-
b.bp("/domains/{DomainName}/upload-jobs/{JobId}");
|
|
1060
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1061
|
-
b.p("JobId", () => input.JobId, "{JobId}", false);
|
|
1062
|
-
let body;
|
|
1063
|
-
b.m("PUT").h(headers).b(body);
|
|
1064
|
-
return b.build();
|
|
1065
|
-
};
|
|
1066
|
-
export const se_StopUploadJobCommand = async (input, context) => {
|
|
1067
|
-
const b = rb(input, context);
|
|
1068
|
-
const headers = {};
|
|
1069
|
-
b.bp("/domains/{DomainName}/upload-jobs/{JobId}/stop");
|
|
1070
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1071
|
-
b.p("JobId", () => input.JobId, "{JobId}", false);
|
|
1072
|
-
let body;
|
|
1073
|
-
b.m("PUT").h(headers).b(body);
|
|
1074
|
-
return b.build();
|
|
1075
|
-
};
|
|
1076
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
1077
|
-
const b = rb(input, context);
|
|
1078
|
-
const headers = {
|
|
1079
|
-
"content-type": "application/json",
|
|
1080
|
-
};
|
|
1081
|
-
b.bp("/tags/{resourceArn}");
|
|
1082
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1083
|
-
let body;
|
|
1084
|
-
body = JSON.stringify(take(input, {
|
|
1085
|
-
tags: (_) => _json(_),
|
|
1086
|
-
}));
|
|
1087
|
-
b.m("POST").h(headers).b(body);
|
|
1088
|
-
return b.build();
|
|
1089
|
-
};
|
|
1090
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
1091
|
-
const b = rb(input, context);
|
|
1092
|
-
const headers = {};
|
|
1093
|
-
b.bp("/tags/{resourceArn}");
|
|
1094
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1095
|
-
const query = map({
|
|
1096
|
-
[_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
1097
|
-
});
|
|
1098
|
-
let body;
|
|
1099
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
1100
|
-
return b.build();
|
|
1101
|
-
};
|
|
1102
|
-
export const se_UpdateCalculatedAttributeDefinitionCommand = async (input, context) => {
|
|
1103
|
-
const b = rb(input, context);
|
|
1104
|
-
const headers = {
|
|
1105
|
-
"content-type": "application/json",
|
|
1106
|
-
};
|
|
1107
|
-
b.bp("/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}");
|
|
1108
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1109
|
-
b.p("CalculatedAttributeName", () => input.CalculatedAttributeName, "{CalculatedAttributeName}", false);
|
|
1110
|
-
let body;
|
|
1111
|
-
body = JSON.stringify(take(input, {
|
|
1112
|
-
Conditions: (_) => _json(_),
|
|
1113
|
-
Description: [],
|
|
1114
|
-
DisplayName: [],
|
|
1115
|
-
}));
|
|
1116
|
-
b.m("PUT").h(headers).b(body);
|
|
1117
|
-
return b.build();
|
|
1118
|
-
};
|
|
1119
|
-
export const se_UpdateDomainCommand = async (input, context) => {
|
|
1120
|
-
const b = rb(input, context);
|
|
1121
|
-
const headers = {
|
|
1122
|
-
"content-type": "application/json",
|
|
1123
|
-
};
|
|
1124
|
-
b.bp("/domains/{DomainName}");
|
|
1125
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1126
|
-
let body;
|
|
1127
|
-
body = JSON.stringify(take(input, {
|
|
1128
|
-
DeadLetterQueueUrl: [],
|
|
1129
|
-
DefaultEncryptionKey: [],
|
|
1130
|
-
DefaultExpirationDays: [],
|
|
1131
|
-
Matching: (_) => se_MatchingRequest(_, context),
|
|
1132
|
-
RuleBasedMatching: (_) => _json(_),
|
|
1133
|
-
Tags: (_) => _json(_),
|
|
1134
|
-
}));
|
|
1135
|
-
b.m("PUT").h(headers).b(body);
|
|
1136
|
-
return b.build();
|
|
1137
|
-
};
|
|
1138
|
-
export const se_UpdateDomainLayoutCommand = async (input, context) => {
|
|
1139
|
-
const b = rb(input, context);
|
|
1140
|
-
const headers = {
|
|
1141
|
-
"content-type": "application/json",
|
|
1142
|
-
};
|
|
1143
|
-
b.bp("/domains/{DomainName}/layouts/{LayoutDefinitionName}");
|
|
1144
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1145
|
-
b.p("LayoutDefinitionName", () => input.LayoutDefinitionName, "{LayoutDefinitionName}", false);
|
|
1146
|
-
let body;
|
|
1147
|
-
body = JSON.stringify(take(input, {
|
|
1148
|
-
Description: [],
|
|
1149
|
-
DisplayName: [],
|
|
1150
|
-
IsDefault: [],
|
|
1151
|
-
Layout: [],
|
|
1152
|
-
LayoutType: [],
|
|
1153
|
-
}));
|
|
1154
|
-
b.m("PUT").h(headers).b(body);
|
|
1155
|
-
return b.build();
|
|
1156
|
-
};
|
|
1157
|
-
export const se_UpdateEventTriggerCommand = async (input, context) => {
|
|
1158
|
-
const b = rb(input, context);
|
|
1159
|
-
const headers = {
|
|
1160
|
-
"content-type": "application/json",
|
|
1161
|
-
};
|
|
1162
|
-
b.bp("/domains/{DomainName}/event-triggers/{EventTriggerName}");
|
|
1163
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1164
|
-
b.p("EventTriggerName", () => input.EventTriggerName, "{EventTriggerName}", false);
|
|
1165
|
-
let body;
|
|
1166
|
-
body = JSON.stringify(take(input, {
|
|
1167
|
-
Description: [],
|
|
1168
|
-
EventTriggerConditions: (_) => _json(_),
|
|
1169
|
-
EventTriggerLimits: (_) => _json(_),
|
|
1170
|
-
ObjectTypeName: [],
|
|
1171
|
-
SegmentFilter: [],
|
|
1172
|
-
}));
|
|
1173
|
-
b.m("PUT").h(headers).b(body);
|
|
1174
|
-
return b.build();
|
|
1175
|
-
};
|
|
1176
|
-
export const se_UpdateProfileCommand = async (input, context) => {
|
|
1177
|
-
const b = rb(input, context);
|
|
1178
|
-
const headers = {
|
|
1179
|
-
"content-type": "application/json",
|
|
1180
|
-
};
|
|
1181
|
-
b.bp("/domains/{DomainName}/profiles");
|
|
1182
|
-
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1183
|
-
let body;
|
|
1184
|
-
body = JSON.stringify(take(input, {
|
|
1185
|
-
AccountNumber: [],
|
|
1186
|
-
AdditionalInformation: [],
|
|
1187
|
-
Address: (_) => _json(_),
|
|
1188
|
-
Attributes: (_) => _json(_),
|
|
1189
|
-
BillingAddress: (_) => _json(_),
|
|
1190
|
-
BirthDate: [],
|
|
1191
|
-
BusinessEmailAddress: [],
|
|
1192
|
-
BusinessName: [],
|
|
1193
|
-
BusinessPhoneNumber: [],
|
|
1194
|
-
EmailAddress: [],
|
|
1195
|
-
EngagementPreferences: (_) => _json(_),
|
|
1196
|
-
FirstName: [],
|
|
1197
|
-
Gender: [],
|
|
1198
|
-
GenderString: [],
|
|
1199
|
-
HomePhoneNumber: [],
|
|
1200
|
-
LastName: [],
|
|
1201
|
-
MailingAddress: (_) => _json(_),
|
|
1202
|
-
MiddleName: [],
|
|
1203
|
-
MobilePhoneNumber: [],
|
|
1204
|
-
PartyType: [],
|
|
1205
|
-
PartyTypeString: [],
|
|
1206
|
-
PersonalEmailAddress: [],
|
|
1207
|
-
PhoneNumber: [],
|
|
1208
|
-
ProfileId: [],
|
|
1209
|
-
ProfileType: [],
|
|
1210
|
-
ShippingAddress: (_) => _json(_),
|
|
1211
|
-
}));
|
|
1212
|
-
b.m("PUT").h(headers).b(body);
|
|
1213
|
-
return b.build();
|
|
1214
|
-
};
|
|
1215
|
-
export const de_AddProfileKeyCommand = async (output, context) => {
|
|
1216
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1217
|
-
return de_CommandError(output, context);
|
|
1218
|
-
}
|
|
1219
|
-
const contents = map({
|
|
1220
|
-
$metadata: deserializeMetadata(output),
|
|
1221
|
-
});
|
|
1222
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1223
|
-
const doc = take(data, {
|
|
1224
|
-
KeyName: __expectString,
|
|
1225
|
-
Values: _json,
|
|
1226
|
-
});
|
|
1227
|
-
Object.assign(contents, doc);
|
|
1228
|
-
return contents;
|
|
1229
|
-
};
|
|
1230
|
-
export const de_BatchGetCalculatedAttributeForProfileCommand = async (output, context) => {
|
|
1231
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1232
|
-
return de_CommandError(output, context);
|
|
1233
|
-
}
|
|
1234
|
-
const contents = map({
|
|
1235
|
-
$metadata: deserializeMetadata(output),
|
|
1236
|
-
});
|
|
1237
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1238
|
-
const doc = take(data, {
|
|
1239
|
-
CalculatedAttributeValues: (_) => de_CalculatedAttributeValueList(_, context),
|
|
1240
|
-
ConditionOverrides: _json,
|
|
1241
|
-
Errors: _json,
|
|
1242
|
-
});
|
|
1243
|
-
Object.assign(contents, doc);
|
|
1244
|
-
return contents;
|
|
1245
|
-
};
|
|
1246
|
-
export const de_BatchGetProfileCommand = async (output, context) => {
|
|
1247
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1248
|
-
return de_CommandError(output, context);
|
|
1249
|
-
}
|
|
1250
|
-
const contents = map({
|
|
1251
|
-
$metadata: deserializeMetadata(output),
|
|
1252
|
-
});
|
|
1253
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1254
|
-
const doc = take(data, {
|
|
1255
|
-
Errors: _json,
|
|
1256
|
-
Profiles: _json,
|
|
1257
|
-
});
|
|
1258
|
-
Object.assign(contents, doc);
|
|
1259
|
-
return contents;
|
|
1260
|
-
};
|
|
1261
|
-
export const de_CreateCalculatedAttributeDefinitionCommand = async (output, context) => {
|
|
1262
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1263
|
-
return de_CommandError(output, context);
|
|
1264
|
-
}
|
|
1265
|
-
const contents = map({
|
|
1266
|
-
$metadata: deserializeMetadata(output),
|
|
1267
|
-
});
|
|
1268
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1269
|
-
const doc = take(data, {
|
|
1270
|
-
AttributeDetails: _json,
|
|
1271
|
-
CalculatedAttributeName: __expectString,
|
|
1272
|
-
Conditions: _json,
|
|
1273
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1274
|
-
Description: __expectString,
|
|
1275
|
-
DisplayName: __expectString,
|
|
1276
|
-
Filter: _json,
|
|
1277
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1278
|
-
Readiness: _json,
|
|
1279
|
-
Statistic: __expectString,
|
|
1280
|
-
Status: __expectString,
|
|
1281
|
-
Tags: _json,
|
|
1282
|
-
UseHistoricalData: __expectBoolean,
|
|
1283
|
-
});
|
|
1284
|
-
Object.assign(contents, doc);
|
|
1285
|
-
return contents;
|
|
1286
|
-
};
|
|
1287
|
-
export const de_CreateDomainCommand = async (output, context) => {
|
|
1288
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1289
|
-
return de_CommandError(output, context);
|
|
1290
|
-
}
|
|
1291
|
-
const contents = map({
|
|
1292
|
-
$metadata: deserializeMetadata(output),
|
|
1293
|
-
});
|
|
1294
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1295
|
-
const doc = take(data, {
|
|
1296
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1297
|
-
DeadLetterQueueUrl: __expectString,
|
|
1298
|
-
DefaultEncryptionKey: __expectString,
|
|
1299
|
-
DefaultExpirationDays: __expectInt32,
|
|
1300
|
-
DomainName: __expectString,
|
|
1301
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1302
|
-
Matching: (_) => de_MatchingResponse(_, context),
|
|
1303
|
-
RuleBasedMatching: _json,
|
|
1304
|
-
Tags: _json,
|
|
1305
|
-
});
|
|
1306
|
-
Object.assign(contents, doc);
|
|
1307
|
-
return contents;
|
|
1308
|
-
};
|
|
1309
|
-
export const de_CreateDomainLayoutCommand = async (output, context) => {
|
|
1310
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1311
|
-
return de_CommandError(output, context);
|
|
1312
|
-
}
|
|
1313
|
-
const contents = map({
|
|
1314
|
-
$metadata: deserializeMetadata(output),
|
|
1315
|
-
});
|
|
1316
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1317
|
-
const doc = take(data, {
|
|
1318
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1319
|
-
Description: __expectString,
|
|
1320
|
-
DisplayName: __expectString,
|
|
1321
|
-
IsDefault: __expectBoolean,
|
|
1322
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1323
|
-
Layout: __expectString,
|
|
1324
|
-
LayoutDefinitionName: __expectString,
|
|
1325
|
-
LayoutType: __expectString,
|
|
1326
|
-
Tags: _json,
|
|
1327
|
-
Version: __expectString,
|
|
1328
|
-
});
|
|
1329
|
-
Object.assign(contents, doc);
|
|
1330
|
-
return contents;
|
|
1331
|
-
};
|
|
1332
|
-
export const de_CreateEventStreamCommand = async (output, context) => {
|
|
1333
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1334
|
-
return de_CommandError(output, context);
|
|
1335
|
-
}
|
|
1336
|
-
const contents = map({
|
|
1337
|
-
$metadata: deserializeMetadata(output),
|
|
1338
|
-
});
|
|
1339
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1340
|
-
const doc = take(data, {
|
|
1341
|
-
EventStreamArn: __expectString,
|
|
1342
|
-
Tags: _json,
|
|
1343
|
-
});
|
|
1344
|
-
Object.assign(contents, doc);
|
|
1345
|
-
return contents;
|
|
1346
|
-
};
|
|
1347
|
-
export const de_CreateEventTriggerCommand = async (output, context) => {
|
|
1348
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1349
|
-
return de_CommandError(output, context);
|
|
1350
|
-
}
|
|
1351
|
-
const contents = map({
|
|
1352
|
-
$metadata: deserializeMetadata(output),
|
|
1353
|
-
});
|
|
1354
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1355
|
-
const doc = take(data, {
|
|
1356
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1357
|
-
Description: __expectString,
|
|
1358
|
-
EventTriggerConditions: _json,
|
|
1359
|
-
EventTriggerLimits: _json,
|
|
1360
|
-
EventTriggerName: __expectString,
|
|
1361
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1362
|
-
ObjectTypeName: __expectString,
|
|
1363
|
-
SegmentFilter: __expectString,
|
|
1364
|
-
Tags: _json,
|
|
1365
|
-
});
|
|
1366
|
-
Object.assign(contents, doc);
|
|
1367
|
-
return contents;
|
|
1368
|
-
};
|
|
1369
|
-
export const de_CreateIntegrationWorkflowCommand = async (output, context) => {
|
|
1370
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1371
|
-
return de_CommandError(output, context);
|
|
1372
|
-
}
|
|
1373
|
-
const contents = map({
|
|
1374
|
-
$metadata: deserializeMetadata(output),
|
|
1375
|
-
});
|
|
1376
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1377
|
-
const doc = take(data, {
|
|
1378
|
-
Message: __expectString,
|
|
1379
|
-
WorkflowId: __expectString,
|
|
1380
|
-
});
|
|
1381
|
-
Object.assign(contents, doc);
|
|
1382
|
-
return contents;
|
|
1383
|
-
};
|
|
1384
|
-
export const de_CreateProfileCommand = async (output, context) => {
|
|
1385
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1386
|
-
return de_CommandError(output, context);
|
|
1387
|
-
}
|
|
1388
|
-
const contents = map({
|
|
1389
|
-
$metadata: deserializeMetadata(output),
|
|
1390
|
-
});
|
|
1391
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1392
|
-
const doc = take(data, {
|
|
1393
|
-
ProfileId: __expectString,
|
|
1394
|
-
});
|
|
1395
|
-
Object.assign(contents, doc);
|
|
1396
|
-
return contents;
|
|
1397
|
-
};
|
|
1398
|
-
export const de_CreateSegmentDefinitionCommand = async (output, context) => {
|
|
1399
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1400
|
-
return de_CommandError(output, context);
|
|
1401
|
-
}
|
|
1402
|
-
const contents = map({
|
|
1403
|
-
$metadata: deserializeMetadata(output),
|
|
1404
|
-
});
|
|
1405
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1406
|
-
const doc = take(data, {
|
|
1407
|
-
CreatedAt: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `CreatedAt`],
|
|
1408
|
-
Description: [, __expectString, `Description`],
|
|
1409
|
-
DisplayName: [, __expectString, `DisplayName`],
|
|
1410
|
-
SegmentDefinitionArn: [, __expectString, `SegmentDefinitionArn`],
|
|
1411
|
-
SegmentDefinitionName: [, __expectString, `SegmentDefinitionName`],
|
|
1412
|
-
Tags: [, _json, `Tags`],
|
|
1413
|
-
});
|
|
1414
|
-
Object.assign(contents, doc);
|
|
1415
|
-
return contents;
|
|
1416
|
-
};
|
|
1417
|
-
export const de_CreateSegmentEstimateCommand = async (output, context) => {
|
|
1418
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1419
|
-
return de_CommandError(output, context);
|
|
1420
|
-
}
|
|
1421
|
-
const contents = map({
|
|
1422
|
-
$metadata: deserializeMetadata(output),
|
|
1423
|
-
});
|
|
1424
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1425
|
-
const doc = take(data, {
|
|
1426
|
-
DomainName: __expectString,
|
|
1427
|
-
EstimateId: __expectString,
|
|
1428
|
-
});
|
|
1429
|
-
Object.assign(contents, doc);
|
|
1430
|
-
map(contents, {
|
|
1431
|
-
StatusCode: [, output.statusCode],
|
|
1432
|
-
});
|
|
1433
|
-
return contents;
|
|
1434
|
-
};
|
|
1435
|
-
export const de_CreateSegmentSnapshotCommand = async (output, context) => {
|
|
1436
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1437
|
-
return de_CommandError(output, context);
|
|
1438
|
-
}
|
|
1439
|
-
const contents = map({
|
|
1440
|
-
$metadata: deserializeMetadata(output),
|
|
1441
|
-
});
|
|
1442
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1443
|
-
const doc = take(data, {
|
|
1444
|
-
SnapshotId: __expectString,
|
|
1445
|
-
});
|
|
1446
|
-
Object.assign(contents, doc);
|
|
1447
|
-
return contents;
|
|
1448
|
-
};
|
|
1449
|
-
export const de_CreateUploadJobCommand = async (output, context) => {
|
|
1450
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1451
|
-
return de_CommandError(output, context);
|
|
1452
|
-
}
|
|
1453
|
-
const contents = map({
|
|
1454
|
-
$metadata: deserializeMetadata(output),
|
|
1455
|
-
});
|
|
1456
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1457
|
-
const doc = take(data, {
|
|
1458
|
-
JobId: [, __expectString, `JobId`],
|
|
1459
|
-
});
|
|
1460
|
-
Object.assign(contents, doc);
|
|
1461
|
-
return contents;
|
|
1462
|
-
};
|
|
1463
|
-
export const de_DeleteCalculatedAttributeDefinitionCommand = async (output, context) => {
|
|
1464
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1465
|
-
return de_CommandError(output, context);
|
|
1466
|
-
}
|
|
1467
|
-
const contents = map({
|
|
1468
|
-
$metadata: deserializeMetadata(output),
|
|
1469
|
-
});
|
|
1470
|
-
await collectBody(output.body, context);
|
|
1471
|
-
return contents;
|
|
1472
|
-
};
|
|
1473
|
-
export const de_DeleteDomainCommand = async (output, context) => {
|
|
1474
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1475
|
-
return de_CommandError(output, context);
|
|
1476
|
-
}
|
|
1477
|
-
const contents = map({
|
|
1478
|
-
$metadata: deserializeMetadata(output),
|
|
1479
|
-
});
|
|
1480
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1481
|
-
const doc = take(data, {
|
|
1482
|
-
Message: __expectString,
|
|
1483
|
-
});
|
|
1484
|
-
Object.assign(contents, doc);
|
|
1485
|
-
return contents;
|
|
1486
|
-
};
|
|
1487
|
-
export const de_DeleteDomainLayoutCommand = async (output, context) => {
|
|
1488
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1489
|
-
return de_CommandError(output, context);
|
|
1490
|
-
}
|
|
1491
|
-
const contents = map({
|
|
1492
|
-
$metadata: deserializeMetadata(output),
|
|
1493
|
-
});
|
|
1494
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1495
|
-
const doc = take(data, {
|
|
1496
|
-
Message: __expectString,
|
|
1497
|
-
});
|
|
1498
|
-
Object.assign(contents, doc);
|
|
1499
|
-
return contents;
|
|
1500
|
-
};
|
|
1501
|
-
export const de_DeleteEventStreamCommand = async (output, context) => {
|
|
1502
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1503
|
-
return de_CommandError(output, context);
|
|
1504
|
-
}
|
|
1505
|
-
const contents = map({
|
|
1506
|
-
$metadata: deserializeMetadata(output),
|
|
1507
|
-
});
|
|
1508
|
-
await collectBody(output.body, context);
|
|
1509
|
-
return contents;
|
|
1510
|
-
};
|
|
1511
|
-
export const de_DeleteEventTriggerCommand = async (output, context) => {
|
|
1512
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1513
|
-
return de_CommandError(output, context);
|
|
1514
|
-
}
|
|
1515
|
-
const contents = map({
|
|
1516
|
-
$metadata: deserializeMetadata(output),
|
|
1517
|
-
});
|
|
1518
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1519
|
-
const doc = take(data, {
|
|
1520
|
-
Message: __expectString,
|
|
1521
|
-
});
|
|
1522
|
-
Object.assign(contents, doc);
|
|
1523
|
-
return contents;
|
|
1524
|
-
};
|
|
1525
|
-
export const de_DeleteIntegrationCommand = async (output, context) => {
|
|
1526
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1527
|
-
return de_CommandError(output, context);
|
|
1528
|
-
}
|
|
1529
|
-
const contents = map({
|
|
1530
|
-
$metadata: deserializeMetadata(output),
|
|
1531
|
-
});
|
|
1532
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1533
|
-
const doc = take(data, {
|
|
1534
|
-
Message: __expectString,
|
|
1535
|
-
});
|
|
1536
|
-
Object.assign(contents, doc);
|
|
1537
|
-
return contents;
|
|
1538
|
-
};
|
|
1539
|
-
export const de_DeleteProfileCommand = async (output, context) => {
|
|
1540
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1541
|
-
return de_CommandError(output, context);
|
|
1542
|
-
}
|
|
1543
|
-
const contents = map({
|
|
1544
|
-
$metadata: deserializeMetadata(output),
|
|
1545
|
-
});
|
|
1546
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1547
|
-
const doc = take(data, {
|
|
1548
|
-
Message: __expectString,
|
|
1549
|
-
});
|
|
1550
|
-
Object.assign(contents, doc);
|
|
1551
|
-
return contents;
|
|
1552
|
-
};
|
|
1553
|
-
export const de_DeleteProfileKeyCommand = async (output, context) => {
|
|
1554
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1555
|
-
return de_CommandError(output, context);
|
|
1556
|
-
}
|
|
1557
|
-
const contents = map({
|
|
1558
|
-
$metadata: deserializeMetadata(output),
|
|
1559
|
-
});
|
|
1560
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1561
|
-
const doc = take(data, {
|
|
1562
|
-
Message: __expectString,
|
|
1563
|
-
});
|
|
1564
|
-
Object.assign(contents, doc);
|
|
1565
|
-
return contents;
|
|
1566
|
-
};
|
|
1567
|
-
export const de_DeleteProfileObjectCommand = async (output, context) => {
|
|
1568
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1569
|
-
return de_CommandError(output, context);
|
|
1570
|
-
}
|
|
1571
|
-
const contents = map({
|
|
1572
|
-
$metadata: deserializeMetadata(output),
|
|
1573
|
-
});
|
|
1574
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1575
|
-
const doc = take(data, {
|
|
1576
|
-
Message: __expectString,
|
|
1577
|
-
});
|
|
1578
|
-
Object.assign(contents, doc);
|
|
1579
|
-
return contents;
|
|
1580
|
-
};
|
|
1581
|
-
export const de_DeleteProfileObjectTypeCommand = async (output, context) => {
|
|
1582
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1583
|
-
return de_CommandError(output, context);
|
|
1584
|
-
}
|
|
1585
|
-
const contents = map({
|
|
1586
|
-
$metadata: deserializeMetadata(output),
|
|
1587
|
-
});
|
|
1588
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1589
|
-
const doc = take(data, {
|
|
1590
|
-
Message: __expectString,
|
|
1591
|
-
});
|
|
1592
|
-
Object.assign(contents, doc);
|
|
1593
|
-
return contents;
|
|
1594
|
-
};
|
|
1595
|
-
export const de_DeleteSegmentDefinitionCommand = async (output, context) => {
|
|
1596
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1597
|
-
return de_CommandError(output, context);
|
|
1598
|
-
}
|
|
1599
|
-
const contents = map({
|
|
1600
|
-
$metadata: deserializeMetadata(output),
|
|
1601
|
-
});
|
|
1602
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1603
|
-
const doc = take(data, {
|
|
1604
|
-
Message: [, __expectString, `Message`],
|
|
1605
|
-
});
|
|
1606
|
-
Object.assign(contents, doc);
|
|
1607
|
-
return contents;
|
|
1608
|
-
};
|
|
1609
|
-
export const de_DeleteWorkflowCommand = async (output, context) => {
|
|
1610
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1611
|
-
return de_CommandError(output, context);
|
|
1612
|
-
}
|
|
1613
|
-
const contents = map({
|
|
1614
|
-
$metadata: deserializeMetadata(output),
|
|
1615
|
-
});
|
|
1616
|
-
await collectBody(output.body, context);
|
|
1617
|
-
return contents;
|
|
1618
|
-
};
|
|
1619
|
-
export const de_DetectProfileObjectTypeCommand = async (output, context) => {
|
|
1620
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1621
|
-
return de_CommandError(output, context);
|
|
1622
|
-
}
|
|
1623
|
-
const contents = map({
|
|
1624
|
-
$metadata: deserializeMetadata(output),
|
|
1625
|
-
});
|
|
1626
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1627
|
-
const doc = take(data, {
|
|
1628
|
-
DetectedProfileObjectTypes: _json,
|
|
1629
|
-
});
|
|
1630
|
-
Object.assign(contents, doc);
|
|
1631
|
-
return contents;
|
|
1632
|
-
};
|
|
1633
|
-
export const de_GetAutoMergingPreviewCommand = async (output, context) => {
|
|
1634
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1635
|
-
return de_CommandError(output, context);
|
|
1636
|
-
}
|
|
1637
|
-
const contents = map({
|
|
1638
|
-
$metadata: deserializeMetadata(output),
|
|
1639
|
-
});
|
|
1640
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1641
|
-
const doc = take(data, {
|
|
1642
|
-
DomainName: __expectString,
|
|
1643
|
-
NumberOfMatchesInSample: __expectLong,
|
|
1644
|
-
NumberOfProfilesInSample: __expectLong,
|
|
1645
|
-
NumberOfProfilesWillBeMerged: __expectLong,
|
|
1646
|
-
});
|
|
1647
|
-
Object.assign(contents, doc);
|
|
1648
|
-
return contents;
|
|
1649
|
-
};
|
|
1650
|
-
export const de_GetCalculatedAttributeDefinitionCommand = async (output, context) => {
|
|
1651
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1652
|
-
return de_CommandError(output, context);
|
|
1653
|
-
}
|
|
1654
|
-
const contents = map({
|
|
1655
|
-
$metadata: deserializeMetadata(output),
|
|
1656
|
-
});
|
|
1657
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1658
|
-
const doc = take(data, {
|
|
1659
|
-
AttributeDetails: _json,
|
|
1660
|
-
CalculatedAttributeName: __expectString,
|
|
1661
|
-
Conditions: _json,
|
|
1662
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1663
|
-
Description: __expectString,
|
|
1664
|
-
DisplayName: __expectString,
|
|
1665
|
-
Filter: _json,
|
|
1666
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1667
|
-
Readiness: _json,
|
|
1668
|
-
Statistic: __expectString,
|
|
1669
|
-
Status: __expectString,
|
|
1670
|
-
Tags: _json,
|
|
1671
|
-
UseHistoricalData: __expectBoolean,
|
|
1672
|
-
});
|
|
1673
|
-
Object.assign(contents, doc);
|
|
1674
|
-
return contents;
|
|
1675
|
-
};
|
|
1676
|
-
export const de_GetCalculatedAttributeForProfileCommand = async (output, context) => {
|
|
1677
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1678
|
-
return de_CommandError(output, context);
|
|
1679
|
-
}
|
|
1680
|
-
const contents = map({
|
|
1681
|
-
$metadata: deserializeMetadata(output),
|
|
1682
|
-
});
|
|
1683
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1684
|
-
const doc = take(data, {
|
|
1685
|
-
CalculatedAttributeName: __expectString,
|
|
1686
|
-
DisplayName: __expectString,
|
|
1687
|
-
IsDataPartial: __expectString,
|
|
1688
|
-
LastObjectTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1689
|
-
Value: __expectString,
|
|
1690
|
-
});
|
|
1691
|
-
Object.assign(contents, doc);
|
|
1692
|
-
return contents;
|
|
1693
|
-
};
|
|
1694
|
-
export const de_GetDomainCommand = async (output, context) => {
|
|
1695
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1696
|
-
return de_CommandError(output, context);
|
|
1697
|
-
}
|
|
1698
|
-
const contents = map({
|
|
1699
|
-
$metadata: deserializeMetadata(output),
|
|
1700
|
-
});
|
|
1701
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1702
|
-
const doc = take(data, {
|
|
1703
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1704
|
-
DeadLetterQueueUrl: __expectString,
|
|
1705
|
-
DefaultEncryptionKey: __expectString,
|
|
1706
|
-
DefaultExpirationDays: __expectInt32,
|
|
1707
|
-
DomainName: __expectString,
|
|
1708
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1709
|
-
Matching: (_) => de_MatchingResponse(_, context),
|
|
1710
|
-
RuleBasedMatching: _json,
|
|
1711
|
-
Stats: _json,
|
|
1712
|
-
Tags: _json,
|
|
1713
|
-
});
|
|
1714
|
-
Object.assign(contents, doc);
|
|
1715
|
-
return contents;
|
|
1716
|
-
};
|
|
1717
|
-
export const de_GetDomainLayoutCommand = async (output, context) => {
|
|
1718
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1719
|
-
return de_CommandError(output, context);
|
|
1720
|
-
}
|
|
1721
|
-
const contents = map({
|
|
1722
|
-
$metadata: deserializeMetadata(output),
|
|
1723
|
-
});
|
|
1724
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1725
|
-
const doc = take(data, {
|
|
1726
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1727
|
-
Description: __expectString,
|
|
1728
|
-
DisplayName: __expectString,
|
|
1729
|
-
IsDefault: __expectBoolean,
|
|
1730
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1731
|
-
Layout: __expectString,
|
|
1732
|
-
LayoutDefinitionName: __expectString,
|
|
1733
|
-
LayoutType: __expectString,
|
|
1734
|
-
Tags: _json,
|
|
1735
|
-
Version: __expectString,
|
|
1736
|
-
});
|
|
1737
|
-
Object.assign(contents, doc);
|
|
1738
|
-
return contents;
|
|
1739
|
-
};
|
|
1740
|
-
export const de_GetEventStreamCommand = async (output, context) => {
|
|
1741
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1742
|
-
return de_CommandError(output, context);
|
|
1743
|
-
}
|
|
1744
|
-
const contents = map({
|
|
1745
|
-
$metadata: deserializeMetadata(output),
|
|
1746
|
-
});
|
|
1747
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1748
|
-
const doc = take(data, {
|
|
1749
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1750
|
-
DestinationDetails: (_) => de_EventStreamDestinationDetails(_, context),
|
|
1751
|
-
DomainName: __expectString,
|
|
1752
|
-
EventStreamArn: __expectString,
|
|
1753
|
-
State: __expectString,
|
|
1754
|
-
StoppedSince: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1755
|
-
Tags: _json,
|
|
1756
|
-
});
|
|
1757
|
-
Object.assign(contents, doc);
|
|
1758
|
-
return contents;
|
|
1759
|
-
};
|
|
1760
|
-
export const de_GetEventTriggerCommand = async (output, context) => {
|
|
1761
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1762
|
-
return de_CommandError(output, context);
|
|
1763
|
-
}
|
|
1764
|
-
const contents = map({
|
|
1765
|
-
$metadata: deserializeMetadata(output),
|
|
1766
|
-
});
|
|
1767
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1768
|
-
const doc = take(data, {
|
|
1769
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1770
|
-
Description: __expectString,
|
|
1771
|
-
EventTriggerConditions: _json,
|
|
1772
|
-
EventTriggerLimits: _json,
|
|
1773
|
-
EventTriggerName: __expectString,
|
|
1774
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1775
|
-
ObjectTypeName: __expectString,
|
|
1776
|
-
SegmentFilter: __expectString,
|
|
1777
|
-
Tags: _json,
|
|
1778
|
-
});
|
|
1779
|
-
Object.assign(contents, doc);
|
|
1780
|
-
return contents;
|
|
1781
|
-
};
|
|
1782
|
-
export const de_GetIdentityResolutionJobCommand = async (output, context) => {
|
|
1783
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1784
|
-
return de_CommandError(output, context);
|
|
1785
|
-
}
|
|
1786
|
-
const contents = map({
|
|
1787
|
-
$metadata: deserializeMetadata(output),
|
|
1788
|
-
});
|
|
1789
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1790
|
-
const doc = take(data, {
|
|
1791
|
-
AutoMerging: (_) => de_AutoMerging(_, context),
|
|
1792
|
-
DomainName: __expectString,
|
|
1793
|
-
ExportingLocation: _json,
|
|
1794
|
-
JobEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1795
|
-
JobExpirationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1796
|
-
JobId: __expectString,
|
|
1797
|
-
JobStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1798
|
-
JobStats: _json,
|
|
1799
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1800
|
-
Message: __expectString,
|
|
1801
|
-
Status: __expectString,
|
|
1802
|
-
});
|
|
1803
|
-
Object.assign(contents, doc);
|
|
1804
|
-
return contents;
|
|
1805
|
-
};
|
|
1806
|
-
export const de_GetIntegrationCommand = async (output, context) => {
|
|
1807
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1808
|
-
return de_CommandError(output, context);
|
|
1809
|
-
}
|
|
1810
|
-
const contents = map({
|
|
1811
|
-
$metadata: deserializeMetadata(output),
|
|
1812
|
-
});
|
|
1813
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1814
|
-
const doc = take(data, {
|
|
1815
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1816
|
-
DomainName: __expectString,
|
|
1817
|
-
EventTriggerNames: _json,
|
|
1818
|
-
IsUnstructured: __expectBoolean,
|
|
1819
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1820
|
-
ObjectTypeName: __expectString,
|
|
1821
|
-
ObjectTypeNames: _json,
|
|
1822
|
-
RoleArn: __expectString,
|
|
1823
|
-
Tags: _json,
|
|
1824
|
-
Uri: __expectString,
|
|
1825
|
-
WorkflowId: __expectString,
|
|
1826
|
-
});
|
|
1827
|
-
Object.assign(contents, doc);
|
|
1828
|
-
return contents;
|
|
1829
|
-
};
|
|
1830
|
-
export const de_GetMatchesCommand = async (output, context) => {
|
|
1831
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1832
|
-
return de_CommandError(output, context);
|
|
1833
|
-
}
|
|
1834
|
-
const contents = map({
|
|
1835
|
-
$metadata: deserializeMetadata(output),
|
|
1836
|
-
});
|
|
1837
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1838
|
-
const doc = take(data, {
|
|
1839
|
-
MatchGenerationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1840
|
-
Matches: (_) => de_MatchesList(_, context),
|
|
1841
|
-
NextToken: __expectString,
|
|
1842
|
-
PotentialMatches: __expectInt32,
|
|
1843
|
-
});
|
|
1844
|
-
Object.assign(contents, doc);
|
|
1845
|
-
return contents;
|
|
1846
|
-
};
|
|
1847
|
-
export const de_GetProfileHistoryRecordCommand = async (output, context) => {
|
|
1848
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1849
|
-
return de_CommandError(output, context);
|
|
1850
|
-
}
|
|
1851
|
-
const contents = map({
|
|
1852
|
-
$metadata: deserializeMetadata(output),
|
|
1853
|
-
});
|
|
1854
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1855
|
-
const doc = take(data, {
|
|
1856
|
-
ActionType: __expectString,
|
|
1857
|
-
Content: __expectString,
|
|
1858
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1859
|
-
Id: __expectString,
|
|
1860
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1861
|
-
ObjectTypeName: __expectString,
|
|
1862
|
-
PerformedBy: __expectString,
|
|
1863
|
-
ProfileObjectUniqueKey: __expectString,
|
|
1864
|
-
});
|
|
1865
|
-
Object.assign(contents, doc);
|
|
1866
|
-
return contents;
|
|
1867
|
-
};
|
|
1868
|
-
export const de_GetProfileObjectTypeCommand = async (output, context) => {
|
|
1869
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1870
|
-
return de_CommandError(output, context);
|
|
1871
|
-
}
|
|
1872
|
-
const contents = map({
|
|
1873
|
-
$metadata: deserializeMetadata(output),
|
|
1874
|
-
});
|
|
1875
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1876
|
-
const doc = take(data, {
|
|
1877
|
-
AllowProfileCreation: __expectBoolean,
|
|
1878
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1879
|
-
Description: __expectString,
|
|
1880
|
-
EncryptionKey: __expectString,
|
|
1881
|
-
ExpirationDays: __expectInt32,
|
|
1882
|
-
Fields: _json,
|
|
1883
|
-
Keys: _json,
|
|
1884
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1885
|
-
MaxAvailableProfileObjectCount: __expectInt32,
|
|
1886
|
-
MaxProfileObjectCount: __expectInt32,
|
|
1887
|
-
ObjectTypeName: __expectString,
|
|
1888
|
-
SourceLastUpdatedTimestampFormat: __expectString,
|
|
1889
|
-
Tags: _json,
|
|
1890
|
-
TemplateId: __expectString,
|
|
1891
|
-
});
|
|
1892
|
-
Object.assign(contents, doc);
|
|
1893
|
-
return contents;
|
|
1894
|
-
};
|
|
1895
|
-
export const de_GetProfileObjectTypeTemplateCommand = async (output, context) => {
|
|
1896
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1897
|
-
return de_CommandError(output, context);
|
|
1898
|
-
}
|
|
1899
|
-
const contents = map({
|
|
1900
|
-
$metadata: deserializeMetadata(output),
|
|
1901
|
-
});
|
|
1902
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1903
|
-
const doc = take(data, {
|
|
1904
|
-
AllowProfileCreation: __expectBoolean,
|
|
1905
|
-
Fields: _json,
|
|
1906
|
-
Keys: _json,
|
|
1907
|
-
SourceLastUpdatedTimestampFormat: __expectString,
|
|
1908
|
-
SourceName: __expectString,
|
|
1909
|
-
SourceObject: __expectString,
|
|
1910
|
-
TemplateId: __expectString,
|
|
1911
|
-
});
|
|
1912
|
-
Object.assign(contents, doc);
|
|
1913
|
-
return contents;
|
|
1914
|
-
};
|
|
1915
|
-
export const de_GetSegmentDefinitionCommand = async (output, context) => {
|
|
1916
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1917
|
-
return de_CommandError(output, context);
|
|
1918
|
-
}
|
|
1919
|
-
const contents = map({
|
|
1920
|
-
$metadata: deserializeMetadata(output),
|
|
1921
|
-
});
|
|
1922
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1923
|
-
const doc = take(data, {
|
|
1924
|
-
CreatedAt: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `CreatedAt`],
|
|
1925
|
-
Description: [, __expectString, `Description`],
|
|
1926
|
-
DisplayName: [, __expectString, `DisplayName`],
|
|
1927
|
-
SegmentDefinitionArn: [, __expectString, `SegmentDefinitionArn`],
|
|
1928
|
-
SegmentDefinitionName: [, __expectString, `SegmentDefinitionName`],
|
|
1929
|
-
SegmentGroups: [, (_) => de_SegmentGroup(_, context), `SegmentGroups`],
|
|
1930
|
-
Tags: [, _json, `Tags`],
|
|
1931
|
-
});
|
|
1932
|
-
Object.assign(contents, doc);
|
|
1933
|
-
return contents;
|
|
1934
|
-
};
|
|
1935
|
-
export const de_GetSegmentEstimateCommand = async (output, context) => {
|
|
1936
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1937
|
-
return de_CommandError(output, context);
|
|
1938
|
-
}
|
|
1939
|
-
const contents = map({
|
|
1940
|
-
$metadata: deserializeMetadata(output),
|
|
1941
|
-
});
|
|
1942
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1943
|
-
const doc = take(data, {
|
|
1944
|
-
DomainName: __expectString,
|
|
1945
|
-
Estimate: __expectString,
|
|
1946
|
-
EstimateId: __expectString,
|
|
1947
|
-
Message: __expectString,
|
|
1948
|
-
Status: __expectString,
|
|
1949
|
-
});
|
|
1950
|
-
Object.assign(contents, doc);
|
|
1951
|
-
map(contents, {
|
|
1952
|
-
StatusCode: [, output.statusCode],
|
|
1953
|
-
});
|
|
1954
|
-
return contents;
|
|
1955
|
-
};
|
|
1956
|
-
export const de_GetSegmentMembershipCommand = async (output, context) => {
|
|
1957
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1958
|
-
return de_CommandError(output, context);
|
|
1959
|
-
}
|
|
1960
|
-
const contents = map({
|
|
1961
|
-
$metadata: deserializeMetadata(output),
|
|
1962
|
-
});
|
|
1963
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1964
|
-
const doc = take(data, {
|
|
1965
|
-
Failures: [, (_) => de_Failures(_, context), `Failures`],
|
|
1966
|
-
Profiles: [, (_) => de_Profiles(_, context), `Profiles`],
|
|
1967
|
-
SegmentDefinitionName: [, __expectString, `SegmentDefinitionName`],
|
|
1968
|
-
});
|
|
1969
|
-
Object.assign(contents, doc);
|
|
1970
|
-
return contents;
|
|
1971
|
-
};
|
|
1972
|
-
export const de_GetSegmentSnapshotCommand = async (output, context) => {
|
|
1973
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1974
|
-
return de_CommandError(output, context);
|
|
1975
|
-
}
|
|
1976
|
-
const contents = map({
|
|
1977
|
-
$metadata: deserializeMetadata(output),
|
|
1978
|
-
});
|
|
1979
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1980
|
-
const doc = take(data, {
|
|
1981
|
-
DataFormat: __expectString,
|
|
1982
|
-
DestinationUri: __expectString,
|
|
1983
|
-
EncryptionKey: __expectString,
|
|
1984
|
-
RoleArn: __expectString,
|
|
1985
|
-
SnapshotId: __expectString,
|
|
1986
|
-
Status: __expectString,
|
|
1987
|
-
StatusMessage: __expectString,
|
|
1988
|
-
});
|
|
1989
|
-
Object.assign(contents, doc);
|
|
1990
|
-
return contents;
|
|
1991
|
-
};
|
|
1992
|
-
export const de_GetSimilarProfilesCommand = async (output, context) => {
|
|
1993
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1994
|
-
return de_CommandError(output, context);
|
|
1995
|
-
}
|
|
1996
|
-
const contents = map({
|
|
1997
|
-
$metadata: deserializeMetadata(output),
|
|
1998
|
-
});
|
|
1999
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2000
|
-
const doc = take(data, {
|
|
2001
|
-
ConfidenceScore: __limitedParseDouble,
|
|
2002
|
-
MatchId: __expectString,
|
|
2003
|
-
MatchType: __expectString,
|
|
2004
|
-
NextToken: __expectString,
|
|
2005
|
-
ProfileIds: _json,
|
|
2006
|
-
RuleLevel: __expectInt32,
|
|
2007
|
-
});
|
|
2008
|
-
Object.assign(contents, doc);
|
|
2009
|
-
return contents;
|
|
2010
|
-
};
|
|
2011
|
-
export const de_GetUploadJobCommand = async (output, context) => {
|
|
2012
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2013
|
-
return de_CommandError(output, context);
|
|
2014
|
-
}
|
|
2015
|
-
const contents = map({
|
|
2016
|
-
$metadata: deserializeMetadata(output),
|
|
2017
|
-
});
|
|
2018
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2019
|
-
const doc = take(data, {
|
|
2020
|
-
CompletedAt: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `CompletedAt`],
|
|
2021
|
-
CreatedAt: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `CreatedAt`],
|
|
2022
|
-
DataExpiry: [, __expectInt32, `DataExpiry`],
|
|
2023
|
-
DisplayName: [, __expectString, `DisplayName`],
|
|
2024
|
-
Fields: [, _json, `Fields`],
|
|
2025
|
-
JobId: [, __expectString, `JobId`],
|
|
2026
|
-
ResultsSummary: [, (_) => de_ResultsSummary(_, context), `ResultsSummary`],
|
|
2027
|
-
Status: [, __expectString, `Status`],
|
|
2028
|
-
StatusReason: [, __expectString, `StatusReason`],
|
|
2029
|
-
UniqueKey: [, __expectString, `UniqueKey`],
|
|
2030
|
-
});
|
|
2031
|
-
Object.assign(contents, doc);
|
|
2032
|
-
return contents;
|
|
2033
|
-
};
|
|
2034
|
-
export const de_GetUploadJobPathCommand = async (output, context) => {
|
|
2035
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2036
|
-
return de_CommandError(output, context);
|
|
2037
|
-
}
|
|
2038
|
-
const contents = map({
|
|
2039
|
-
$metadata: deserializeMetadata(output),
|
|
2040
|
-
});
|
|
2041
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2042
|
-
const doc = take(data, {
|
|
2043
|
-
ClientToken: [, __expectString, `ClientToken`],
|
|
2044
|
-
Url: [, __expectString, `Url`],
|
|
2045
|
-
ValidUntil: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `ValidUntil`],
|
|
2046
|
-
});
|
|
2047
|
-
Object.assign(contents, doc);
|
|
2048
|
-
return contents;
|
|
2049
|
-
};
|
|
2050
|
-
export const de_GetWorkflowCommand = async (output, context) => {
|
|
2051
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2052
|
-
return de_CommandError(output, context);
|
|
2053
|
-
}
|
|
2054
|
-
const contents = map({
|
|
2055
|
-
$metadata: deserializeMetadata(output),
|
|
2056
|
-
});
|
|
2057
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2058
|
-
const doc = take(data, {
|
|
2059
|
-
Attributes: _json,
|
|
2060
|
-
ErrorDescription: __expectString,
|
|
2061
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2062
|
-
Metrics: _json,
|
|
2063
|
-
StartDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2064
|
-
Status: __expectString,
|
|
2065
|
-
WorkflowId: __expectString,
|
|
2066
|
-
WorkflowType: __expectString,
|
|
2067
|
-
});
|
|
2068
|
-
Object.assign(contents, doc);
|
|
2069
|
-
return contents;
|
|
2070
|
-
};
|
|
2071
|
-
export const de_GetWorkflowStepsCommand = async (output, context) => {
|
|
2072
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2073
|
-
return de_CommandError(output, context);
|
|
2074
|
-
}
|
|
2075
|
-
const contents = map({
|
|
2076
|
-
$metadata: deserializeMetadata(output),
|
|
2077
|
-
});
|
|
2078
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2079
|
-
const doc = take(data, {
|
|
2080
|
-
Items: (_) => de_WorkflowStepsList(_, context),
|
|
2081
|
-
NextToken: __expectString,
|
|
2082
|
-
WorkflowId: __expectString,
|
|
2083
|
-
WorkflowType: __expectString,
|
|
2084
|
-
});
|
|
2085
|
-
Object.assign(contents, doc);
|
|
2086
|
-
return contents;
|
|
2087
|
-
};
|
|
2088
|
-
export const de_ListAccountIntegrationsCommand = async (output, context) => {
|
|
2089
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2090
|
-
return de_CommandError(output, context);
|
|
2091
|
-
}
|
|
2092
|
-
const contents = map({
|
|
2093
|
-
$metadata: deserializeMetadata(output),
|
|
2094
|
-
});
|
|
2095
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2096
|
-
const doc = take(data, {
|
|
2097
|
-
Items: (_) => de_IntegrationList(_, context),
|
|
2098
|
-
NextToken: __expectString,
|
|
2099
|
-
});
|
|
2100
|
-
Object.assign(contents, doc);
|
|
2101
|
-
return contents;
|
|
2102
|
-
};
|
|
2103
|
-
export const de_ListCalculatedAttributeDefinitionsCommand = async (output, context) => {
|
|
2104
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2105
|
-
return de_CommandError(output, context);
|
|
2106
|
-
}
|
|
2107
|
-
const contents = map({
|
|
2108
|
-
$metadata: deserializeMetadata(output),
|
|
2109
|
-
});
|
|
2110
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2111
|
-
const doc = take(data, {
|
|
2112
|
-
Items: (_) => de_CalculatedAttributeDefinitionsList(_, context),
|
|
2113
|
-
NextToken: __expectString,
|
|
2114
|
-
});
|
|
2115
|
-
Object.assign(contents, doc);
|
|
2116
|
-
return contents;
|
|
2117
|
-
};
|
|
2118
|
-
export const de_ListCalculatedAttributesForProfileCommand = async (output, context) => {
|
|
2119
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2120
|
-
return de_CommandError(output, context);
|
|
2121
|
-
}
|
|
2122
|
-
const contents = map({
|
|
2123
|
-
$metadata: deserializeMetadata(output),
|
|
2124
|
-
});
|
|
2125
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2126
|
-
const doc = take(data, {
|
|
2127
|
-
Items: (_) => de_CalculatedAttributesForProfileList(_, context),
|
|
2128
|
-
NextToken: __expectString,
|
|
2129
|
-
});
|
|
2130
|
-
Object.assign(contents, doc);
|
|
2131
|
-
return contents;
|
|
2132
|
-
};
|
|
2133
|
-
export const de_ListDomainLayoutsCommand = async (output, context) => {
|
|
2134
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2135
|
-
return de_CommandError(output, context);
|
|
2136
|
-
}
|
|
2137
|
-
const contents = map({
|
|
2138
|
-
$metadata: deserializeMetadata(output),
|
|
2139
|
-
});
|
|
2140
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2141
|
-
const doc = take(data, {
|
|
2142
|
-
Items: (_) => de_LayoutList(_, context),
|
|
2143
|
-
NextToken: __expectString,
|
|
2144
|
-
});
|
|
2145
|
-
Object.assign(contents, doc);
|
|
2146
|
-
return contents;
|
|
2147
|
-
};
|
|
2148
|
-
export const de_ListDomainsCommand = async (output, context) => {
|
|
2149
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2150
|
-
return de_CommandError(output, context);
|
|
2151
|
-
}
|
|
2152
|
-
const contents = map({
|
|
2153
|
-
$metadata: deserializeMetadata(output),
|
|
2154
|
-
});
|
|
2155
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2156
|
-
const doc = take(data, {
|
|
2157
|
-
Items: (_) => de_DomainList(_, context),
|
|
2158
|
-
NextToken: __expectString,
|
|
2159
|
-
});
|
|
2160
|
-
Object.assign(contents, doc);
|
|
2161
|
-
return contents;
|
|
2162
|
-
};
|
|
2163
|
-
export const de_ListEventStreamsCommand = async (output, context) => {
|
|
2164
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2165
|
-
return de_CommandError(output, context);
|
|
2166
|
-
}
|
|
2167
|
-
const contents = map({
|
|
2168
|
-
$metadata: deserializeMetadata(output),
|
|
2169
|
-
});
|
|
2170
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2171
|
-
const doc = take(data, {
|
|
2172
|
-
Items: (_) => de_EventStreamSummaryList(_, context),
|
|
2173
|
-
NextToken: __expectString,
|
|
2174
|
-
});
|
|
2175
|
-
Object.assign(contents, doc);
|
|
2176
|
-
return contents;
|
|
2177
|
-
};
|
|
2178
|
-
export const de_ListEventTriggersCommand = async (output, context) => {
|
|
2179
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2180
|
-
return de_CommandError(output, context);
|
|
2181
|
-
}
|
|
2182
|
-
const contents = map({
|
|
2183
|
-
$metadata: deserializeMetadata(output),
|
|
2184
|
-
});
|
|
2185
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2186
|
-
const doc = take(data, {
|
|
2187
|
-
Items: (_) => de_EventTriggerSummaryList(_, context),
|
|
2188
|
-
NextToken: __expectString,
|
|
2189
|
-
});
|
|
2190
|
-
Object.assign(contents, doc);
|
|
2191
|
-
return contents;
|
|
2192
|
-
};
|
|
2193
|
-
export const de_ListIdentityResolutionJobsCommand = async (output, context) => {
|
|
2194
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2195
|
-
return de_CommandError(output, context);
|
|
2196
|
-
}
|
|
2197
|
-
const contents = map({
|
|
2198
|
-
$metadata: deserializeMetadata(output),
|
|
2199
|
-
});
|
|
2200
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2201
|
-
const doc = take(data, {
|
|
2202
|
-
IdentityResolutionJobsList: (_) => de_IdentityResolutionJobsList(_, context),
|
|
2203
|
-
NextToken: __expectString,
|
|
2204
|
-
});
|
|
2205
|
-
Object.assign(contents, doc);
|
|
2206
|
-
return contents;
|
|
2207
|
-
};
|
|
2208
|
-
export const de_ListIntegrationsCommand = async (output, context) => {
|
|
2209
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2210
|
-
return de_CommandError(output, context);
|
|
2211
|
-
}
|
|
2212
|
-
const contents = map({
|
|
2213
|
-
$metadata: deserializeMetadata(output),
|
|
2214
|
-
});
|
|
2215
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2216
|
-
const doc = take(data, {
|
|
2217
|
-
Items: (_) => de_IntegrationList(_, context),
|
|
2218
|
-
NextToken: __expectString,
|
|
2219
|
-
});
|
|
2220
|
-
Object.assign(contents, doc);
|
|
2221
|
-
return contents;
|
|
2222
|
-
};
|
|
2223
|
-
export const de_ListObjectTypeAttributesCommand = async (output, context) => {
|
|
2224
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2225
|
-
return de_CommandError(output, context);
|
|
2226
|
-
}
|
|
2227
|
-
const contents = map({
|
|
2228
|
-
$metadata: deserializeMetadata(output),
|
|
2229
|
-
});
|
|
2230
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2231
|
-
const doc = take(data, {
|
|
2232
|
-
Items: (_) => de_ListObjectTypeAttributesList(_, context),
|
|
2233
|
-
NextToken: __expectString,
|
|
2234
|
-
});
|
|
2235
|
-
Object.assign(contents, doc);
|
|
2236
|
-
return contents;
|
|
2237
|
-
};
|
|
2238
|
-
export const de_ListProfileAttributeValuesCommand = async (output, context) => {
|
|
2239
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2240
|
-
return de_CommandError(output, context);
|
|
2241
|
-
}
|
|
2242
|
-
const contents = map({
|
|
2243
|
-
$metadata: deserializeMetadata(output),
|
|
2244
|
-
});
|
|
2245
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2246
|
-
const doc = take(data, {
|
|
2247
|
-
AttributeName: __expectString,
|
|
2248
|
-
DomainName: __expectString,
|
|
2249
|
-
Items: _json,
|
|
2250
|
-
});
|
|
2251
|
-
Object.assign(contents, doc);
|
|
2252
|
-
map(contents, {
|
|
2253
|
-
StatusCode: [, output.statusCode],
|
|
2254
|
-
});
|
|
2255
|
-
return contents;
|
|
2256
|
-
};
|
|
2257
|
-
export const de_ListProfileHistoryRecordsCommand = async (output, context) => {
|
|
2258
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2259
|
-
return de_CommandError(output, context);
|
|
2260
|
-
}
|
|
2261
|
-
const contents = map({
|
|
2262
|
-
$metadata: deserializeMetadata(output),
|
|
2263
|
-
});
|
|
2264
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2265
|
-
const doc = take(data, {
|
|
2266
|
-
NextToken: __expectString,
|
|
2267
|
-
ProfileHistoryRecords: (_) => de_ProfileHistoryRecords(_, context),
|
|
2268
|
-
});
|
|
2269
|
-
Object.assign(contents, doc);
|
|
2270
|
-
return contents;
|
|
2271
|
-
};
|
|
2272
|
-
export const de_ListProfileObjectsCommand = async (output, context) => {
|
|
2273
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2274
|
-
return de_CommandError(output, context);
|
|
2275
|
-
}
|
|
2276
|
-
const contents = map({
|
|
2277
|
-
$metadata: deserializeMetadata(output),
|
|
2278
|
-
});
|
|
2279
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2280
|
-
const doc = take(data, {
|
|
2281
|
-
Items: _json,
|
|
2282
|
-
NextToken: __expectString,
|
|
2283
|
-
});
|
|
2284
|
-
Object.assign(contents, doc);
|
|
2285
|
-
return contents;
|
|
2286
|
-
};
|
|
2287
|
-
export const de_ListProfileObjectTypesCommand = async (output, context) => {
|
|
2288
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2289
|
-
return de_CommandError(output, context);
|
|
2290
|
-
}
|
|
2291
|
-
const contents = map({
|
|
2292
|
-
$metadata: deserializeMetadata(output),
|
|
2293
|
-
});
|
|
2294
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2295
|
-
const doc = take(data, {
|
|
2296
|
-
Items: (_) => de_ProfileObjectTypeList(_, context),
|
|
2297
|
-
NextToken: __expectString,
|
|
2298
|
-
});
|
|
2299
|
-
Object.assign(contents, doc);
|
|
2300
|
-
return contents;
|
|
2301
|
-
};
|
|
2302
|
-
export const de_ListProfileObjectTypeTemplatesCommand = async (output, context) => {
|
|
2303
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2304
|
-
return de_CommandError(output, context);
|
|
2305
|
-
}
|
|
2306
|
-
const contents = map({
|
|
2307
|
-
$metadata: deserializeMetadata(output),
|
|
2308
|
-
});
|
|
2309
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2310
|
-
const doc = take(data, {
|
|
2311
|
-
Items: _json,
|
|
2312
|
-
NextToken: __expectString,
|
|
2313
|
-
});
|
|
2314
|
-
Object.assign(contents, doc);
|
|
2315
|
-
return contents;
|
|
2316
|
-
};
|
|
2317
|
-
export const de_ListRuleBasedMatchesCommand = async (output, context) => {
|
|
2318
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2319
|
-
return de_CommandError(output, context);
|
|
2320
|
-
}
|
|
2321
|
-
const contents = map({
|
|
2322
|
-
$metadata: deserializeMetadata(output),
|
|
2323
|
-
});
|
|
2324
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2325
|
-
const doc = take(data, {
|
|
2326
|
-
MatchIds: _json,
|
|
2327
|
-
NextToken: __expectString,
|
|
2328
|
-
});
|
|
2329
|
-
Object.assign(contents, doc);
|
|
2330
|
-
return contents;
|
|
2331
|
-
};
|
|
2332
|
-
export const de_ListSegmentDefinitionsCommand = async (output, context) => {
|
|
2333
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2334
|
-
return de_CommandError(output, context);
|
|
2335
|
-
}
|
|
2336
|
-
const contents = map({
|
|
2337
|
-
$metadata: deserializeMetadata(output),
|
|
2338
|
-
});
|
|
2339
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2340
|
-
const doc = take(data, {
|
|
2341
|
-
Items: [, (_) => de_SegmentDefinitionsList(_, context), `Items`],
|
|
2342
|
-
NextToken: [, __expectString, `NextToken`],
|
|
2343
|
-
});
|
|
2344
|
-
Object.assign(contents, doc);
|
|
2345
|
-
return contents;
|
|
2346
|
-
};
|
|
2347
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
2348
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2349
|
-
return de_CommandError(output, context);
|
|
2350
|
-
}
|
|
2351
|
-
const contents = map({
|
|
2352
|
-
$metadata: deserializeMetadata(output),
|
|
2353
|
-
});
|
|
2354
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2355
|
-
const doc = take(data, {
|
|
2356
|
-
tags: _json,
|
|
2357
|
-
});
|
|
2358
|
-
Object.assign(contents, doc);
|
|
2359
|
-
return contents;
|
|
2360
|
-
};
|
|
2361
|
-
export const de_ListUploadJobsCommand = async (output, context) => {
|
|
2362
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2363
|
-
return de_CommandError(output, context);
|
|
2364
|
-
}
|
|
2365
|
-
const contents = map({
|
|
2366
|
-
$metadata: deserializeMetadata(output),
|
|
2367
|
-
});
|
|
2368
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2369
|
-
const doc = take(data, {
|
|
2370
|
-
Items: [, (_) => de_UploadJobsList(_, context), `Items`],
|
|
2371
|
-
NextToken: [, __expectString, `NextToken`],
|
|
2372
|
-
});
|
|
2373
|
-
Object.assign(contents, doc);
|
|
2374
|
-
return contents;
|
|
2375
|
-
};
|
|
2376
|
-
export const de_ListWorkflowsCommand = async (output, context) => {
|
|
2377
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2378
|
-
return de_CommandError(output, context);
|
|
2379
|
-
}
|
|
2380
|
-
const contents = map({
|
|
2381
|
-
$metadata: deserializeMetadata(output),
|
|
2382
|
-
});
|
|
2383
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2384
|
-
const doc = take(data, {
|
|
2385
|
-
Items: (_) => de_WorkflowList(_, context),
|
|
2386
|
-
NextToken: __expectString,
|
|
2387
|
-
});
|
|
2388
|
-
Object.assign(contents, doc);
|
|
2389
|
-
return contents;
|
|
2390
|
-
};
|
|
2391
|
-
export const de_MergeProfilesCommand = async (output, context) => {
|
|
2392
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2393
|
-
return de_CommandError(output, context);
|
|
2394
|
-
}
|
|
2395
|
-
const contents = map({
|
|
2396
|
-
$metadata: deserializeMetadata(output),
|
|
2397
|
-
});
|
|
2398
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2399
|
-
const doc = take(data, {
|
|
2400
|
-
Message: __expectString,
|
|
2401
|
-
});
|
|
2402
|
-
Object.assign(contents, doc);
|
|
2403
|
-
return contents;
|
|
2404
|
-
};
|
|
2405
|
-
export const de_PutIntegrationCommand = async (output, context) => {
|
|
2406
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2407
|
-
return de_CommandError(output, context);
|
|
2408
|
-
}
|
|
2409
|
-
const contents = map({
|
|
2410
|
-
$metadata: deserializeMetadata(output),
|
|
2411
|
-
});
|
|
2412
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2413
|
-
const doc = take(data, {
|
|
2414
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2415
|
-
DomainName: __expectString,
|
|
2416
|
-
EventTriggerNames: _json,
|
|
2417
|
-
IsUnstructured: __expectBoolean,
|
|
2418
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2419
|
-
ObjectTypeName: __expectString,
|
|
2420
|
-
ObjectTypeNames: _json,
|
|
2421
|
-
RoleArn: __expectString,
|
|
2422
|
-
Tags: _json,
|
|
2423
|
-
Uri: __expectString,
|
|
2424
|
-
WorkflowId: __expectString,
|
|
2425
|
-
});
|
|
2426
|
-
Object.assign(contents, doc);
|
|
2427
|
-
return contents;
|
|
2428
|
-
};
|
|
2429
|
-
export const de_PutProfileObjectCommand = async (output, context) => {
|
|
2430
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2431
|
-
return de_CommandError(output, context);
|
|
2432
|
-
}
|
|
2433
|
-
const contents = map({
|
|
2434
|
-
$metadata: deserializeMetadata(output),
|
|
2435
|
-
});
|
|
2436
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2437
|
-
const doc = take(data, {
|
|
2438
|
-
ProfileObjectUniqueKey: __expectString,
|
|
2439
|
-
});
|
|
2440
|
-
Object.assign(contents, doc);
|
|
2441
|
-
return contents;
|
|
2442
|
-
};
|
|
2443
|
-
export const de_PutProfileObjectTypeCommand = async (output, context) => {
|
|
2444
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2445
|
-
return de_CommandError(output, context);
|
|
2446
|
-
}
|
|
2447
|
-
const contents = map({
|
|
2448
|
-
$metadata: deserializeMetadata(output),
|
|
2449
|
-
});
|
|
2450
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2451
|
-
const doc = take(data, {
|
|
2452
|
-
AllowProfileCreation: __expectBoolean,
|
|
2453
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2454
|
-
Description: __expectString,
|
|
2455
|
-
EncryptionKey: __expectString,
|
|
2456
|
-
ExpirationDays: __expectInt32,
|
|
2457
|
-
Fields: _json,
|
|
2458
|
-
Keys: _json,
|
|
2459
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2460
|
-
MaxAvailableProfileObjectCount: __expectInt32,
|
|
2461
|
-
MaxProfileObjectCount: __expectInt32,
|
|
2462
|
-
ObjectTypeName: __expectString,
|
|
2463
|
-
SourceLastUpdatedTimestampFormat: __expectString,
|
|
2464
|
-
Tags: _json,
|
|
2465
|
-
TemplateId: __expectString,
|
|
2466
|
-
});
|
|
2467
|
-
Object.assign(contents, doc);
|
|
2468
|
-
return contents;
|
|
2469
|
-
};
|
|
2470
|
-
export const de_SearchProfilesCommand = async (output, context) => {
|
|
2471
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2472
|
-
return de_CommandError(output, context);
|
|
2473
|
-
}
|
|
2474
|
-
const contents = map({
|
|
2475
|
-
$metadata: deserializeMetadata(output),
|
|
2476
|
-
});
|
|
2477
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2478
|
-
const doc = take(data, {
|
|
2479
|
-
Items: _json,
|
|
2480
|
-
NextToken: __expectString,
|
|
2481
|
-
});
|
|
2482
|
-
Object.assign(contents, doc);
|
|
2483
|
-
return contents;
|
|
2484
|
-
};
|
|
2485
|
-
export const de_StartUploadJobCommand = async (output, context) => {
|
|
2486
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2487
|
-
return de_CommandError(output, context);
|
|
2488
|
-
}
|
|
2489
|
-
const contents = map({
|
|
2490
|
-
$metadata: deserializeMetadata(output),
|
|
2491
|
-
});
|
|
2492
|
-
await collectBody(output.body, context);
|
|
2493
|
-
return contents;
|
|
2494
|
-
};
|
|
2495
|
-
export const de_StopUploadJobCommand = async (output, context) => {
|
|
2496
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2497
|
-
return de_CommandError(output, context);
|
|
2498
|
-
}
|
|
2499
|
-
const contents = map({
|
|
2500
|
-
$metadata: deserializeMetadata(output),
|
|
2501
|
-
});
|
|
2502
|
-
await collectBody(output.body, context);
|
|
2503
|
-
return contents;
|
|
2504
|
-
};
|
|
2505
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
2506
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2507
|
-
return de_CommandError(output, context);
|
|
2508
|
-
}
|
|
2509
|
-
const contents = map({
|
|
2510
|
-
$metadata: deserializeMetadata(output),
|
|
2511
|
-
});
|
|
2512
|
-
await collectBody(output.body, context);
|
|
2513
|
-
return contents;
|
|
2514
|
-
};
|
|
2515
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
2516
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2517
|
-
return de_CommandError(output, context);
|
|
2518
|
-
}
|
|
2519
|
-
const contents = map({
|
|
2520
|
-
$metadata: deserializeMetadata(output),
|
|
2521
|
-
});
|
|
2522
|
-
await collectBody(output.body, context);
|
|
2523
|
-
return contents;
|
|
2524
|
-
};
|
|
2525
|
-
export const de_UpdateCalculatedAttributeDefinitionCommand = async (output, context) => {
|
|
2526
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2527
|
-
return de_CommandError(output, context);
|
|
2528
|
-
}
|
|
2529
|
-
const contents = map({
|
|
2530
|
-
$metadata: deserializeMetadata(output),
|
|
2531
|
-
});
|
|
2532
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2533
|
-
const doc = take(data, {
|
|
2534
|
-
AttributeDetails: _json,
|
|
2535
|
-
CalculatedAttributeName: __expectString,
|
|
2536
|
-
Conditions: _json,
|
|
2537
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2538
|
-
Description: __expectString,
|
|
2539
|
-
DisplayName: __expectString,
|
|
2540
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2541
|
-
Readiness: _json,
|
|
2542
|
-
Statistic: __expectString,
|
|
2543
|
-
Status: __expectString,
|
|
2544
|
-
Tags: _json,
|
|
2545
|
-
UseHistoricalData: __expectBoolean,
|
|
2546
|
-
});
|
|
2547
|
-
Object.assign(contents, doc);
|
|
2548
|
-
return contents;
|
|
2549
|
-
};
|
|
2550
|
-
export const de_UpdateDomainCommand = async (output, context) => {
|
|
2551
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2552
|
-
return de_CommandError(output, context);
|
|
2553
|
-
}
|
|
2554
|
-
const contents = map({
|
|
2555
|
-
$metadata: deserializeMetadata(output),
|
|
2556
|
-
});
|
|
2557
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2558
|
-
const doc = take(data, {
|
|
2559
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2560
|
-
DeadLetterQueueUrl: __expectString,
|
|
2561
|
-
DefaultEncryptionKey: __expectString,
|
|
2562
|
-
DefaultExpirationDays: __expectInt32,
|
|
2563
|
-
DomainName: __expectString,
|
|
2564
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2565
|
-
Matching: (_) => de_MatchingResponse(_, context),
|
|
2566
|
-
RuleBasedMatching: _json,
|
|
2567
|
-
Tags: _json,
|
|
2568
|
-
});
|
|
2569
|
-
Object.assign(contents, doc);
|
|
2570
|
-
return contents;
|
|
2571
|
-
};
|
|
2572
|
-
export const de_UpdateDomainLayoutCommand = async (output, context) => {
|
|
2573
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2574
|
-
return de_CommandError(output, context);
|
|
2575
|
-
}
|
|
2576
|
-
const contents = map({
|
|
2577
|
-
$metadata: deserializeMetadata(output),
|
|
2578
|
-
});
|
|
2579
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2580
|
-
const doc = take(data, {
|
|
2581
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2582
|
-
Description: __expectString,
|
|
2583
|
-
DisplayName: __expectString,
|
|
2584
|
-
IsDefault: __expectBoolean,
|
|
2585
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2586
|
-
Layout: __expectString,
|
|
2587
|
-
LayoutDefinitionName: __expectString,
|
|
2588
|
-
LayoutType: __expectString,
|
|
2589
|
-
Tags: _json,
|
|
2590
|
-
Version: __expectString,
|
|
2591
|
-
});
|
|
2592
|
-
Object.assign(contents, doc);
|
|
2593
|
-
return contents;
|
|
2594
|
-
};
|
|
2595
|
-
export const de_UpdateEventTriggerCommand = async (output, context) => {
|
|
2596
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2597
|
-
return de_CommandError(output, context);
|
|
2598
|
-
}
|
|
2599
|
-
const contents = map({
|
|
2600
|
-
$metadata: deserializeMetadata(output),
|
|
2601
|
-
});
|
|
2602
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2603
|
-
const doc = take(data, {
|
|
2604
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2605
|
-
Description: __expectString,
|
|
2606
|
-
EventTriggerConditions: _json,
|
|
2607
|
-
EventTriggerLimits: _json,
|
|
2608
|
-
EventTriggerName: __expectString,
|
|
2609
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2610
|
-
ObjectTypeName: __expectString,
|
|
2611
|
-
SegmentFilter: __expectString,
|
|
2612
|
-
Tags: _json,
|
|
2613
|
-
});
|
|
2614
|
-
Object.assign(contents, doc);
|
|
2615
|
-
return contents;
|
|
2616
|
-
};
|
|
2617
|
-
export const de_UpdateProfileCommand = async (output, context) => {
|
|
2618
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2619
|
-
return de_CommandError(output, context);
|
|
2620
|
-
}
|
|
2621
|
-
const contents = map({
|
|
2622
|
-
$metadata: deserializeMetadata(output),
|
|
2623
|
-
});
|
|
2624
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2625
|
-
const doc = take(data, {
|
|
2626
|
-
ProfileId: __expectString,
|
|
2627
|
-
});
|
|
2628
|
-
Object.assign(contents, doc);
|
|
2629
|
-
return contents;
|
|
2630
|
-
};
|
|
2631
|
-
const de_CommandError = async (output, context) => {
|
|
2632
|
-
const parsedOutput = {
|
|
2633
|
-
...output,
|
|
2634
|
-
body: await parseErrorBody(output.body, context),
|
|
2635
|
-
};
|
|
2636
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2637
|
-
switch (errorCode) {
|
|
2638
|
-
case "AccessDeniedException":
|
|
2639
|
-
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
2640
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2641
|
-
case "BadRequestException":
|
|
2642
|
-
case "com.amazonaws.customerprofiles#BadRequestException":
|
|
2643
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2644
|
-
case "InternalServerException":
|
|
2645
|
-
case "com.amazonaws.customerprofiles#InternalServerException":
|
|
2646
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2647
|
-
case "ResourceNotFoundException":
|
|
2648
|
-
case "com.amazonaws.customerprofiles#ResourceNotFoundException":
|
|
2649
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2650
|
-
case "ThrottlingException":
|
|
2651
|
-
case "com.amazonaws.customerprofiles#ThrottlingException":
|
|
2652
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2653
|
-
default:
|
|
2654
|
-
const parsedBody = parsedOutput.body;
|
|
2655
|
-
return throwDefaultError({
|
|
2656
|
-
output,
|
|
2657
|
-
parsedBody,
|
|
2658
|
-
errorCode,
|
|
2659
|
-
});
|
|
2660
|
-
}
|
|
2661
|
-
};
|
|
2662
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
2663
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2664
|
-
const contents = map({});
|
|
2665
|
-
const data = parsedOutput.body;
|
|
2666
|
-
const doc = take(data, {
|
|
2667
|
-
Message: __expectString,
|
|
2668
|
-
});
|
|
2669
|
-
Object.assign(contents, doc);
|
|
2670
|
-
const exception = new AccessDeniedException({
|
|
2671
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2672
|
-
...contents,
|
|
2673
|
-
});
|
|
2674
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2675
|
-
};
|
|
2676
|
-
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
2677
|
-
const contents = map({});
|
|
2678
|
-
const data = parsedOutput.body;
|
|
2679
|
-
const doc = take(data, {
|
|
2680
|
-
Message: __expectString,
|
|
2681
|
-
});
|
|
2682
|
-
Object.assign(contents, doc);
|
|
2683
|
-
const exception = new BadRequestException({
|
|
2684
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2685
|
-
...contents,
|
|
2686
|
-
});
|
|
2687
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2688
|
-
};
|
|
2689
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
2690
|
-
const contents = map({});
|
|
2691
|
-
const data = parsedOutput.body;
|
|
2692
|
-
const doc = take(data, {
|
|
2693
|
-
Message: __expectString,
|
|
2694
|
-
});
|
|
2695
|
-
Object.assign(contents, doc);
|
|
2696
|
-
const exception = new InternalServerException({
|
|
2697
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2698
|
-
...contents,
|
|
2699
|
-
});
|
|
2700
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2701
|
-
};
|
|
2702
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2703
|
-
const contents = map({});
|
|
2704
|
-
const data = parsedOutput.body;
|
|
2705
|
-
const doc = take(data, {
|
|
2706
|
-
Message: __expectString,
|
|
2707
|
-
});
|
|
2708
|
-
Object.assign(contents, doc);
|
|
2709
|
-
const exception = new ResourceNotFoundException({
|
|
2710
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2711
|
-
...contents,
|
|
2712
|
-
});
|
|
2713
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2714
|
-
};
|
|
2715
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2716
|
-
const contents = map({});
|
|
2717
|
-
const data = parsedOutput.body;
|
|
2718
|
-
const doc = take(data, {
|
|
2719
|
-
Message: __expectString,
|
|
2720
|
-
});
|
|
2721
|
-
Object.assign(contents, doc);
|
|
2722
|
-
const exception = new ThrottlingException({
|
|
2723
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2724
|
-
...contents,
|
|
2725
|
-
});
|
|
2726
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
2727
|
-
};
|
|
2728
|
-
const se_AddressDimension = (input, context) => {
|
|
2729
|
-
return take(input, {
|
|
2730
|
-
City: [, (_) => se_ProfileDimension(_, context), `City`],
|
|
2731
|
-
Country: [, (_) => se_ProfileDimension(_, context), `Country`],
|
|
2732
|
-
County: [, (_) => se_ProfileDimension(_, context), `County`],
|
|
2733
|
-
PostalCode: [, (_) => se_ProfileDimension(_, context), `PostalCode`],
|
|
2734
|
-
Province: [, (_) => se_ProfileDimension(_, context), `Province`],
|
|
2735
|
-
State: [, (_) => se_ProfileDimension(_, context), `State`],
|
|
2736
|
-
});
|
|
2737
|
-
};
|
|
2738
|
-
const se_AppflowIntegration = (input, context) => {
|
|
2739
|
-
return take(input, {
|
|
2740
|
-
Batches: (_) => se_Batches(_, context),
|
|
2741
|
-
FlowDefinition: (_) => se_FlowDefinition(_, context),
|
|
2742
|
-
});
|
|
2743
|
-
};
|
|
2744
|
-
const se_AttributeDimension = (input, context) => {
|
|
2745
|
-
return take(input, {
|
|
2746
|
-
DimensionType: [, , `DimensionType`],
|
|
2747
|
-
Values: [, _json, `Values`],
|
|
2748
|
-
});
|
|
2749
|
-
};
|
|
2750
|
-
const se_AutoMerging = (input, context) => {
|
|
2751
|
-
return take(input, {
|
|
2752
|
-
ConflictResolution: _json,
|
|
2753
|
-
Consolidation: _json,
|
|
2754
|
-
Enabled: [],
|
|
2755
|
-
MinAllowedConfidenceScoreForMerging: __serializeFloat,
|
|
2756
|
-
});
|
|
2757
|
-
};
|
|
2758
|
-
const se_Batch = (input, context) => {
|
|
2759
|
-
return take(input, {
|
|
2760
|
-
EndTime: (_) => _.getTime() / 1_000,
|
|
2761
|
-
StartTime: (_) => _.getTime() / 1_000,
|
|
2762
|
-
});
|
|
2763
|
-
};
|
|
2764
|
-
const se_Batches = (input, context) => {
|
|
2765
|
-
return input
|
|
2766
|
-
.filter((e) => e != null)
|
|
2767
|
-
.map((entry) => {
|
|
2768
|
-
return se_Batch(entry, context);
|
|
2769
|
-
});
|
|
2770
|
-
};
|
|
2771
|
-
const se_CalculatedAttributeDimension = (input, context) => {
|
|
2772
|
-
return take(input, {
|
|
2773
|
-
ConditionOverrides: [, _json, `ConditionOverrides`],
|
|
2774
|
-
DimensionType: [, , `DimensionType`],
|
|
2775
|
-
Values: [, _json, `Values`],
|
|
2776
|
-
});
|
|
2777
|
-
};
|
|
2778
|
-
const se_CalculatedCustomAttributes = (input, context) => {
|
|
2779
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2780
|
-
if (value === null) {
|
|
2781
|
-
return acc;
|
|
2782
|
-
}
|
|
2783
|
-
acc[key] = se_CalculatedAttributeDimension(value, context);
|
|
2784
|
-
return acc;
|
|
2785
|
-
}, {});
|
|
2786
|
-
};
|
|
2787
|
-
const se_CustomAttributes = (input, context) => {
|
|
2788
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2789
|
-
if (value === null) {
|
|
2790
|
-
return acc;
|
|
2791
|
-
}
|
|
2792
|
-
acc[key] = se_AttributeDimension(value, context);
|
|
2793
|
-
return acc;
|
|
2794
|
-
}, {});
|
|
2795
|
-
};
|
|
2796
|
-
const se_DateDimension = (input, context) => {
|
|
2797
|
-
return take(input, {
|
|
2798
|
-
DimensionType: [, , `DimensionType`],
|
|
2799
|
-
Values: [, _json, `Values`],
|
|
2800
|
-
});
|
|
2801
|
-
};
|
|
2802
|
-
const se_Dimension = (input, context) => {
|
|
2803
|
-
return Dimension.visit(input, {
|
|
2804
|
-
CalculatedAttributes: (value) => ({ CalculatedAttributes: se_CalculatedCustomAttributes(value, context) }),
|
|
2805
|
-
ProfileAttributes: (value) => ({ ProfileAttributes: se_ProfileAttributes(value, context) }),
|
|
2806
|
-
_: (name, value) => ({ [name]: value }),
|
|
2807
|
-
});
|
|
2808
|
-
};
|
|
2809
|
-
const se_DimensionList = (input, context) => {
|
|
2810
|
-
return input
|
|
2811
|
-
.filter((e) => e != null)
|
|
2812
|
-
.map((entry) => {
|
|
2813
|
-
return se_Dimension(entry, context);
|
|
2814
|
-
});
|
|
2815
|
-
};
|
|
2816
|
-
const se_ExtraLengthValueProfileDimension = (input, context) => {
|
|
2817
|
-
return take(input, {
|
|
2818
|
-
DimensionType: [, , `DimensionType`],
|
|
2819
|
-
Values: [, _json, `Values`],
|
|
2820
|
-
});
|
|
2821
|
-
};
|
|
2822
|
-
const se_FlowDefinition = (input, context) => {
|
|
2823
|
-
return take(input, {
|
|
2824
|
-
Description: [],
|
|
2825
|
-
FlowName: [],
|
|
2826
|
-
KmsArn: [],
|
|
2827
|
-
SourceFlowConfig: _json,
|
|
2828
|
-
Tasks: _json,
|
|
2829
|
-
TriggerConfig: (_) => se_TriggerConfig(_, context),
|
|
2830
|
-
});
|
|
2831
|
-
};
|
|
2832
|
-
const se_Group = (input, context) => {
|
|
2833
|
-
return take(input, {
|
|
2834
|
-
Dimensions: [, (_) => se_DimensionList(_, context), `Dimensions`],
|
|
2835
|
-
SourceSegments: [, (_) => se_SourceSegmentList(_, context), `SourceSegments`],
|
|
2836
|
-
SourceType: [, , `SourceType`],
|
|
2837
|
-
Type: [, , `Type`],
|
|
2838
|
-
});
|
|
2839
|
-
};
|
|
2840
|
-
const se_IntegrationConfig = (input, context) => {
|
|
2841
|
-
return take(input, {
|
|
2842
|
-
AppflowIntegration: (_) => se_AppflowIntegration(_, context),
|
|
2843
|
-
});
|
|
2844
|
-
};
|
|
2845
|
-
const se_MatchingRequest = (input, context) => {
|
|
2846
|
-
return take(input, {
|
|
2847
|
-
AutoMerging: (_) => se_AutoMerging(_, context),
|
|
2848
|
-
Enabled: [],
|
|
2849
|
-
ExportingConfig: _json,
|
|
2850
|
-
JobSchedule: _json,
|
|
2851
|
-
});
|
|
2852
|
-
};
|
|
2853
|
-
const se_ProfileAttributes = (input, context) => {
|
|
2854
|
-
return take(input, {
|
|
2855
|
-
AccountNumber: [, (_) => se_ProfileDimension(_, context), `AccountNumber`],
|
|
2856
|
-
AdditionalInformation: [, (_) => se_ExtraLengthValueProfileDimension(_, context), `AdditionalInformation`],
|
|
2857
|
-
Address: [, (_) => se_AddressDimension(_, context), `Address`],
|
|
2858
|
-
Attributes: [, (_) => se_CustomAttributes(_, context), `Attributes`],
|
|
2859
|
-
BillingAddress: [, (_) => se_AddressDimension(_, context), `BillingAddress`],
|
|
2860
|
-
BirthDate: [, (_) => se_DateDimension(_, context), `BirthDate`],
|
|
2861
|
-
BusinessEmailAddress: [, (_) => se_ProfileDimension(_, context), `BusinessEmailAddress`],
|
|
2862
|
-
BusinessName: [, (_) => se_ProfileDimension(_, context), `BusinessName`],
|
|
2863
|
-
BusinessPhoneNumber: [, (_) => se_ProfileDimension(_, context), `BusinessPhoneNumber`],
|
|
2864
|
-
EmailAddress: [, (_) => se_ProfileDimension(_, context), `EmailAddress`],
|
|
2865
|
-
FirstName: [, (_) => se_ProfileDimension(_, context), `FirstName`],
|
|
2866
|
-
GenderString: [, (_) => se_ProfileDimension(_, context), `GenderString`],
|
|
2867
|
-
HomePhoneNumber: [, (_) => se_ProfileDimension(_, context), `HomePhoneNumber`],
|
|
2868
|
-
LastName: [, (_) => se_ProfileDimension(_, context), `LastName`],
|
|
2869
|
-
MailingAddress: [, (_) => se_AddressDimension(_, context), `MailingAddress`],
|
|
2870
|
-
MiddleName: [, (_) => se_ProfileDimension(_, context), `MiddleName`],
|
|
2871
|
-
MobilePhoneNumber: [, (_) => se_ProfileDimension(_, context), `MobilePhoneNumber`],
|
|
2872
|
-
PartyTypeString: [, (_) => se_ProfileDimension(_, context), `PartyTypeString`],
|
|
2873
|
-
PersonalEmailAddress: [, (_) => se_ProfileDimension(_, context), `PersonalEmailAddress`],
|
|
2874
|
-
PhoneNumber: [, (_) => se_ProfileDimension(_, context), `PhoneNumber`],
|
|
2875
|
-
ProfileType: [, (_) => se_ProfileTypeDimension(_, context), `ProfileType`],
|
|
2876
|
-
ShippingAddress: [, (_) => se_AddressDimension(_, context), `ShippingAddress`],
|
|
2877
|
-
});
|
|
2878
|
-
};
|
|
2879
|
-
const se_ProfileDimension = (input, context) => {
|
|
2880
|
-
return take(input, {
|
|
2881
|
-
DimensionType: [, , `DimensionType`],
|
|
2882
|
-
Values: [, _json, `Values`],
|
|
2883
|
-
});
|
|
2884
|
-
};
|
|
2885
|
-
const se_ProfileTypeDimension = (input, context) => {
|
|
2886
|
-
return take(input, {
|
|
2887
|
-
DimensionType: [, , `DimensionType`],
|
|
2888
|
-
Values: [, _json, `Values`],
|
|
2889
|
-
});
|
|
2890
|
-
};
|
|
2891
|
-
const se_ScheduledTriggerProperties = (input, context) => {
|
|
2892
|
-
return take(input, {
|
|
2893
|
-
DataPullMode: [],
|
|
2894
|
-
FirstExecutionFrom: (_) => _.getTime() / 1_000,
|
|
2895
|
-
ScheduleEndTime: (_) => _.getTime() / 1_000,
|
|
2896
|
-
ScheduleExpression: [],
|
|
2897
|
-
ScheduleOffset: [],
|
|
2898
|
-
ScheduleStartTime: (_) => _.getTime() / 1_000,
|
|
2899
|
-
Timezone: [],
|
|
2900
|
-
});
|
|
2901
|
-
};
|
|
2902
|
-
const se_SegmentGroup = (input, context) => {
|
|
2903
|
-
return take(input, {
|
|
2904
|
-
Groups: [, (_) => se_SegmentGroupList(_, context), `Groups`],
|
|
2905
|
-
Include: [, , `Include`],
|
|
2906
|
-
});
|
|
2907
|
-
};
|
|
2908
|
-
const se_SegmentGroupList = (input, context) => {
|
|
2909
|
-
return input
|
|
2910
|
-
.filter((e) => e != null)
|
|
2911
|
-
.map((entry) => {
|
|
2912
|
-
return se_Group(entry, context);
|
|
2913
|
-
});
|
|
2914
|
-
};
|
|
2915
|
-
const se_SegmentGroupStructure = (input, context) => {
|
|
2916
|
-
return take(input, {
|
|
2917
|
-
Groups: (_) => se_SegmentGroupList(_, context),
|
|
2918
|
-
Include: [],
|
|
2919
|
-
});
|
|
2920
|
-
};
|
|
2921
|
-
const se_SourceSegment = (input, context) => {
|
|
2922
|
-
return take(input, {
|
|
2923
|
-
SegmentDefinitionName: [, , `SegmentDefinitionName`],
|
|
2924
|
-
});
|
|
2925
|
-
};
|
|
2926
|
-
const se_SourceSegmentList = (input, context) => {
|
|
2927
|
-
return input
|
|
2928
|
-
.filter((e) => e != null)
|
|
2929
|
-
.map((entry) => {
|
|
2930
|
-
return se_SourceSegment(entry, context);
|
|
2931
|
-
});
|
|
2932
|
-
};
|
|
2933
|
-
const se_TriggerConfig = (input, context) => {
|
|
2934
|
-
return take(input, {
|
|
2935
|
-
TriggerProperties: (_) => se_TriggerProperties(_, context),
|
|
2936
|
-
TriggerType: [],
|
|
2937
|
-
});
|
|
2938
|
-
};
|
|
2939
|
-
const se_TriggerProperties = (input, context) => {
|
|
2940
|
-
return take(input, {
|
|
2941
|
-
Scheduled: (_) => se_ScheduledTriggerProperties(_, context),
|
|
2942
|
-
});
|
|
2943
|
-
};
|
|
2944
|
-
const de_AddressDimension = (output, context) => {
|
|
2945
|
-
return take(output, {
|
|
2946
|
-
City: [, (_) => de_ProfileDimension(_, context), `City`],
|
|
2947
|
-
Country: [, (_) => de_ProfileDimension(_, context), `Country`],
|
|
2948
|
-
County: [, (_) => de_ProfileDimension(_, context), `County`],
|
|
2949
|
-
PostalCode: [, (_) => de_ProfileDimension(_, context), `PostalCode`],
|
|
2950
|
-
Province: [, (_) => de_ProfileDimension(_, context), `Province`],
|
|
2951
|
-
State: [, (_) => de_ProfileDimension(_, context), `State`],
|
|
2952
|
-
});
|
|
2953
|
-
};
|
|
2954
|
-
const de_AppflowIntegrationWorkflowStep = (output, context) => {
|
|
2955
|
-
return take(output, {
|
|
2956
|
-
BatchRecordsEndTime: __expectString,
|
|
2957
|
-
BatchRecordsStartTime: __expectString,
|
|
2958
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2959
|
-
ExecutionMessage: __expectString,
|
|
2960
|
-
FlowName: __expectString,
|
|
2961
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2962
|
-
RecordsProcessed: __expectLong,
|
|
2963
|
-
Status: __expectString,
|
|
2964
|
-
});
|
|
2965
|
-
};
|
|
2966
|
-
const de_AttributeDimension = (output, context) => {
|
|
2967
|
-
return take(output, {
|
|
2968
|
-
DimensionType: [, __expectString, `DimensionType`],
|
|
2969
|
-
Values: [, _json, `Values`],
|
|
2970
|
-
});
|
|
2971
|
-
};
|
|
2972
|
-
const de_AutoMerging = (output, context) => {
|
|
2973
|
-
return take(output, {
|
|
2974
|
-
ConflictResolution: _json,
|
|
2975
|
-
Consolidation: _json,
|
|
2976
|
-
Enabled: __expectBoolean,
|
|
2977
|
-
MinAllowedConfidenceScoreForMerging: __limitedParseDouble,
|
|
2978
|
-
});
|
|
2979
|
-
};
|
|
2980
|
-
const de_CalculatedAttributeDefinitionsList = (output, context) => {
|
|
2981
|
-
const retVal = (output || [])
|
|
2982
|
-
.filter((e) => e != null)
|
|
2983
|
-
.map((entry) => {
|
|
2984
|
-
return de_ListCalculatedAttributeDefinitionItem(entry, context);
|
|
2985
|
-
});
|
|
2986
|
-
return retVal;
|
|
2987
|
-
};
|
|
2988
|
-
const de_CalculatedAttributeDimension = (output, context) => {
|
|
2989
|
-
return take(output, {
|
|
2990
|
-
ConditionOverrides: [, _json, `ConditionOverrides`],
|
|
2991
|
-
DimensionType: [, __expectString, `DimensionType`],
|
|
2992
|
-
Values: [, _json, `Values`],
|
|
2993
|
-
});
|
|
2994
|
-
};
|
|
2995
|
-
const de_CalculatedAttributesForProfileList = (output, context) => {
|
|
2996
|
-
const retVal = (output || [])
|
|
2997
|
-
.filter((e) => e != null)
|
|
2998
|
-
.map((entry) => {
|
|
2999
|
-
return de_ListCalculatedAttributeForProfileItem(entry, context);
|
|
3000
|
-
});
|
|
3001
|
-
return retVal;
|
|
3002
|
-
};
|
|
3003
|
-
const de_CalculatedAttributeValue = (output, context) => {
|
|
3004
|
-
return take(output, {
|
|
3005
|
-
CalculatedAttributeName: __expectString,
|
|
3006
|
-
DisplayName: __expectString,
|
|
3007
|
-
IsDataPartial: __expectString,
|
|
3008
|
-
LastObjectTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3009
|
-
ProfileId: __expectString,
|
|
3010
|
-
Value: __expectString,
|
|
3011
|
-
});
|
|
3012
|
-
};
|
|
3013
|
-
const de_CalculatedAttributeValueList = (output, context) => {
|
|
3014
|
-
const retVal = (output || [])
|
|
3015
|
-
.filter((e) => e != null)
|
|
3016
|
-
.map((entry) => {
|
|
3017
|
-
return de_CalculatedAttributeValue(entry, context);
|
|
3018
|
-
});
|
|
3019
|
-
return retVal;
|
|
3020
|
-
};
|
|
3021
|
-
const de_CalculatedCustomAttributes = (output, context) => {
|
|
3022
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3023
|
-
if (value === null) {
|
|
3024
|
-
return acc;
|
|
3025
|
-
}
|
|
3026
|
-
acc[key] = de_CalculatedAttributeDimension(value, context);
|
|
3027
|
-
return acc;
|
|
3028
|
-
}, {});
|
|
3029
|
-
};
|
|
3030
|
-
const de_CustomAttributes = (output, context) => {
|
|
3031
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3032
|
-
if (value === null) {
|
|
3033
|
-
return acc;
|
|
3034
|
-
}
|
|
3035
|
-
acc[key] = de_AttributeDimension(value, context);
|
|
3036
|
-
return acc;
|
|
3037
|
-
}, {});
|
|
3038
|
-
};
|
|
3039
|
-
const de_DateDimension = (output, context) => {
|
|
3040
|
-
return take(output, {
|
|
3041
|
-
DimensionType: [, __expectString, `DimensionType`],
|
|
3042
|
-
Values: [, _json, `Values`],
|
|
3043
|
-
});
|
|
3044
|
-
};
|
|
3045
|
-
const de_DestinationSummary = (output, context) => {
|
|
3046
|
-
return take(output, {
|
|
3047
|
-
Status: __expectString,
|
|
3048
|
-
UnhealthySince: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3049
|
-
Uri: __expectString,
|
|
3050
|
-
});
|
|
3051
|
-
};
|
|
3052
|
-
const de_Dimension = (output, context) => {
|
|
3053
|
-
if (output.CalculatedAttributes != null) {
|
|
3054
|
-
return {
|
|
3055
|
-
CalculatedAttributes: de_CalculatedCustomAttributes(output.CalculatedAttributes, context),
|
|
3056
|
-
};
|
|
3057
|
-
}
|
|
3058
|
-
if (output.ProfileAttributes != null) {
|
|
3059
|
-
return {
|
|
3060
|
-
ProfileAttributes: de_ProfileAttributes(output.ProfileAttributes, context),
|
|
3061
|
-
};
|
|
3062
|
-
}
|
|
3063
|
-
return { $unknown: Object.entries(output)[0] };
|
|
3064
|
-
};
|
|
3065
|
-
const de_DimensionList = (output, context) => {
|
|
3066
|
-
const retVal = (output || [])
|
|
3067
|
-
.filter((e) => e != null)
|
|
3068
|
-
.map((entry) => {
|
|
3069
|
-
return de_Dimension(__expectUnion(entry), context);
|
|
3070
|
-
});
|
|
3071
|
-
return retVal;
|
|
3072
|
-
};
|
|
3073
|
-
const de_DomainList = (output, context) => {
|
|
3074
|
-
const retVal = (output || [])
|
|
3075
|
-
.filter((e) => e != null)
|
|
3076
|
-
.map((entry) => {
|
|
3077
|
-
return de_ListDomainItem(entry, context);
|
|
3078
|
-
});
|
|
3079
|
-
return retVal;
|
|
3080
|
-
};
|
|
3081
|
-
const de_EventStreamDestinationDetails = (output, context) => {
|
|
3082
|
-
return take(output, {
|
|
3083
|
-
Message: __expectString,
|
|
3084
|
-
Status: __expectString,
|
|
3085
|
-
UnhealthySince: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3086
|
-
Uri: __expectString,
|
|
3087
|
-
});
|
|
3088
|
-
};
|
|
3089
|
-
const de_EventStreamSummary = (output, context) => {
|
|
3090
|
-
return take(output, {
|
|
3091
|
-
DestinationSummary: (_) => de_DestinationSummary(_, context),
|
|
3092
|
-
DomainName: __expectString,
|
|
3093
|
-
EventStreamArn: __expectString,
|
|
3094
|
-
EventStreamName: __expectString,
|
|
3095
|
-
State: __expectString,
|
|
3096
|
-
StoppedSince: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3097
|
-
Tags: _json,
|
|
3098
|
-
});
|
|
3099
|
-
};
|
|
3100
|
-
const de_EventStreamSummaryList = (output, context) => {
|
|
3101
|
-
const retVal = (output || [])
|
|
3102
|
-
.filter((e) => e != null)
|
|
3103
|
-
.map((entry) => {
|
|
3104
|
-
return de_EventStreamSummary(entry, context);
|
|
3105
|
-
});
|
|
3106
|
-
return retVal;
|
|
3107
|
-
};
|
|
3108
|
-
const de_EventTriggerSummaryItem = (output, context) => {
|
|
3109
|
-
return take(output, {
|
|
3110
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3111
|
-
Description: __expectString,
|
|
3112
|
-
EventTriggerName: __expectString,
|
|
3113
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3114
|
-
ObjectTypeName: __expectString,
|
|
3115
|
-
Tags: _json,
|
|
3116
|
-
});
|
|
3117
|
-
};
|
|
3118
|
-
const de_EventTriggerSummaryList = (output, context) => {
|
|
3119
|
-
const retVal = (output || [])
|
|
3120
|
-
.filter((e) => e != null)
|
|
3121
|
-
.map((entry) => {
|
|
3122
|
-
return de_EventTriggerSummaryItem(entry, context);
|
|
3123
|
-
});
|
|
3124
|
-
return retVal;
|
|
3125
|
-
};
|
|
3126
|
-
const de_ExtraLengthValueProfileDimension = (output, context) => {
|
|
3127
|
-
return take(output, {
|
|
3128
|
-
DimensionType: [, __expectString, `DimensionType`],
|
|
3129
|
-
Values: [, _json, `Values`],
|
|
3130
|
-
});
|
|
3131
|
-
};
|
|
3132
|
-
const de_Failures = (output, context) => {
|
|
3133
|
-
const retVal = (output || [])
|
|
3134
|
-
.filter((e) => e != null)
|
|
3135
|
-
.map((entry) => {
|
|
3136
|
-
return de_ProfileQueryFailures(entry, context);
|
|
3137
|
-
});
|
|
3138
|
-
return retVal;
|
|
3139
|
-
};
|
|
3140
|
-
const de_Group = (output, context) => {
|
|
3141
|
-
return take(output, {
|
|
3142
|
-
Dimensions: [, (_) => de_DimensionList(_, context), `Dimensions`],
|
|
3143
|
-
SourceSegments: [, (_) => de_SourceSegmentList(_, context), `SourceSegments`],
|
|
3144
|
-
SourceType: [, __expectString, `SourceType`],
|
|
3145
|
-
Type: [, __expectString, `Type`],
|
|
3146
|
-
});
|
|
3147
|
-
};
|
|
3148
|
-
const de_IdentityResolutionJob = (output, context) => {
|
|
3149
|
-
return take(output, {
|
|
3150
|
-
DomainName: __expectString,
|
|
3151
|
-
ExportingLocation: _json,
|
|
3152
|
-
JobEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3153
|
-
JobId: __expectString,
|
|
3154
|
-
JobStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3155
|
-
JobStats: _json,
|
|
3156
|
-
Message: __expectString,
|
|
3157
|
-
Status: __expectString,
|
|
3158
|
-
});
|
|
3159
|
-
};
|
|
3160
|
-
const de_IdentityResolutionJobsList = (output, context) => {
|
|
3161
|
-
const retVal = (output || [])
|
|
3162
|
-
.filter((e) => e != null)
|
|
3163
|
-
.map((entry) => {
|
|
3164
|
-
return de_IdentityResolutionJob(entry, context);
|
|
3165
|
-
});
|
|
3166
|
-
return retVal;
|
|
3167
|
-
};
|
|
3168
|
-
const de_IntegrationList = (output, context) => {
|
|
3169
|
-
const retVal = (output || [])
|
|
3170
|
-
.filter((e) => e != null)
|
|
3171
|
-
.map((entry) => {
|
|
3172
|
-
return de_ListIntegrationItem(entry, context);
|
|
3173
|
-
});
|
|
3174
|
-
return retVal;
|
|
3175
|
-
};
|
|
3176
|
-
const de_LayoutItem = (output, context) => {
|
|
3177
|
-
return take(output, {
|
|
3178
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3179
|
-
Description: __expectString,
|
|
3180
|
-
DisplayName: __expectString,
|
|
3181
|
-
IsDefault: __expectBoolean,
|
|
3182
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3183
|
-
LayoutDefinitionName: __expectString,
|
|
3184
|
-
LayoutType: __expectString,
|
|
3185
|
-
Tags: _json,
|
|
3186
|
-
});
|
|
3187
|
-
};
|
|
3188
|
-
const de_LayoutList = (output, context) => {
|
|
3189
|
-
const retVal = (output || [])
|
|
3190
|
-
.filter((e) => e != null)
|
|
3191
|
-
.map((entry) => {
|
|
3192
|
-
return de_LayoutItem(entry, context);
|
|
3193
|
-
});
|
|
3194
|
-
return retVal;
|
|
3195
|
-
};
|
|
3196
|
-
const de_ListCalculatedAttributeDefinitionItem = (output, context) => {
|
|
3197
|
-
return take(output, {
|
|
3198
|
-
CalculatedAttributeName: __expectString,
|
|
3199
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3200
|
-
Description: __expectString,
|
|
3201
|
-
DisplayName: __expectString,
|
|
3202
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3203
|
-
Status: __expectString,
|
|
3204
|
-
Tags: _json,
|
|
3205
|
-
UseHistoricalData: __expectBoolean,
|
|
3206
|
-
});
|
|
3207
|
-
};
|
|
3208
|
-
const de_ListCalculatedAttributeForProfileItem = (output, context) => {
|
|
3209
|
-
return take(output, {
|
|
3210
|
-
CalculatedAttributeName: __expectString,
|
|
3211
|
-
DisplayName: __expectString,
|
|
3212
|
-
IsDataPartial: __expectString,
|
|
3213
|
-
LastObjectTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3214
|
-
Value: __expectString,
|
|
3215
|
-
});
|
|
3216
|
-
};
|
|
3217
|
-
const de_ListDomainItem = (output, context) => {
|
|
3218
|
-
return take(output, {
|
|
3219
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3220
|
-
DomainName: __expectString,
|
|
3221
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3222
|
-
Tags: _json,
|
|
3223
|
-
});
|
|
3224
|
-
};
|
|
3225
|
-
const de_ListIntegrationItem = (output, context) => {
|
|
3226
|
-
return take(output, {
|
|
3227
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3228
|
-
DomainName: __expectString,
|
|
3229
|
-
EventTriggerNames: _json,
|
|
3230
|
-
IsUnstructured: __expectBoolean,
|
|
3231
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3232
|
-
ObjectTypeName: __expectString,
|
|
3233
|
-
ObjectTypeNames: _json,
|
|
3234
|
-
RoleArn: __expectString,
|
|
3235
|
-
Tags: _json,
|
|
3236
|
-
Uri: __expectString,
|
|
3237
|
-
WorkflowId: __expectString,
|
|
3238
|
-
});
|
|
3239
|
-
};
|
|
3240
|
-
const de_ListObjectTypeAttributeItem = (output, context) => {
|
|
3241
|
-
return take(output, {
|
|
3242
|
-
AttributeName: __expectString,
|
|
3243
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3244
|
-
});
|
|
3245
|
-
};
|
|
3246
|
-
const de_ListObjectTypeAttributesList = (output, context) => {
|
|
3247
|
-
const retVal = (output || [])
|
|
3248
|
-
.filter((e) => e != null)
|
|
3249
|
-
.map((entry) => {
|
|
3250
|
-
return de_ListObjectTypeAttributeItem(entry, context);
|
|
3251
|
-
});
|
|
3252
|
-
return retVal;
|
|
3253
|
-
};
|
|
3254
|
-
const de_ListProfileObjectTypeItem = (output, context) => {
|
|
3255
|
-
return take(output, {
|
|
3256
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3257
|
-
Description: __expectString,
|
|
3258
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3259
|
-
MaxAvailableProfileObjectCount: __expectInt32,
|
|
3260
|
-
MaxProfileObjectCount: __expectInt32,
|
|
3261
|
-
ObjectTypeName: __expectString,
|
|
3262
|
-
Tags: _json,
|
|
3263
|
-
});
|
|
3264
|
-
};
|
|
3265
|
-
const de_ListWorkflowsItem = (output, context) => {
|
|
3266
|
-
return take(output, {
|
|
3267
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3268
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3269
|
-
Status: __expectString,
|
|
3270
|
-
StatusDescription: __expectString,
|
|
3271
|
-
WorkflowId: __expectString,
|
|
3272
|
-
WorkflowType: __expectString,
|
|
3273
|
-
});
|
|
3274
|
-
};
|
|
3275
|
-
const de_MatchesList = (output, context) => {
|
|
3276
|
-
const retVal = (output || [])
|
|
3277
|
-
.filter((e) => e != null)
|
|
3278
|
-
.map((entry) => {
|
|
3279
|
-
return de_MatchItem(entry, context);
|
|
3280
|
-
});
|
|
3281
|
-
return retVal;
|
|
3282
|
-
};
|
|
3283
|
-
const de_MatchingResponse = (output, context) => {
|
|
3284
|
-
return take(output, {
|
|
3285
|
-
AutoMerging: (_) => de_AutoMerging(_, context),
|
|
3286
|
-
Enabled: __expectBoolean,
|
|
3287
|
-
ExportingConfig: _json,
|
|
3288
|
-
JobSchedule: _json,
|
|
3289
|
-
});
|
|
3290
|
-
};
|
|
3291
|
-
const de_MatchItem = (output, context) => {
|
|
3292
|
-
return take(output, {
|
|
3293
|
-
ConfidenceScore: __limitedParseDouble,
|
|
3294
|
-
MatchId: __expectString,
|
|
3295
|
-
ProfileIds: _json,
|
|
3296
|
-
});
|
|
3297
|
-
};
|
|
3298
|
-
const de_ProfileAttributes = (output, context) => {
|
|
3299
|
-
return take(output, {
|
|
3300
|
-
AccountNumber: [, (_) => de_ProfileDimension(_, context), `AccountNumber`],
|
|
3301
|
-
AdditionalInformation: [, (_) => de_ExtraLengthValueProfileDimension(_, context), `AdditionalInformation`],
|
|
3302
|
-
Address: [, (_) => de_AddressDimension(_, context), `Address`],
|
|
3303
|
-
Attributes: [, (_) => de_CustomAttributes(_, context), `Attributes`],
|
|
3304
|
-
BillingAddress: [, (_) => de_AddressDimension(_, context), `BillingAddress`],
|
|
3305
|
-
BirthDate: [, (_) => de_DateDimension(_, context), `BirthDate`],
|
|
3306
|
-
BusinessEmailAddress: [, (_) => de_ProfileDimension(_, context), `BusinessEmailAddress`],
|
|
3307
|
-
BusinessName: [, (_) => de_ProfileDimension(_, context), `BusinessName`],
|
|
3308
|
-
BusinessPhoneNumber: [, (_) => de_ProfileDimension(_, context), `BusinessPhoneNumber`],
|
|
3309
|
-
EmailAddress: [, (_) => de_ProfileDimension(_, context), `EmailAddress`],
|
|
3310
|
-
FirstName: [, (_) => de_ProfileDimension(_, context), `FirstName`],
|
|
3311
|
-
GenderString: [, (_) => de_ProfileDimension(_, context), `GenderString`],
|
|
3312
|
-
HomePhoneNumber: [, (_) => de_ProfileDimension(_, context), `HomePhoneNumber`],
|
|
3313
|
-
LastName: [, (_) => de_ProfileDimension(_, context), `LastName`],
|
|
3314
|
-
MailingAddress: [, (_) => de_AddressDimension(_, context), `MailingAddress`],
|
|
3315
|
-
MiddleName: [, (_) => de_ProfileDimension(_, context), `MiddleName`],
|
|
3316
|
-
MobilePhoneNumber: [, (_) => de_ProfileDimension(_, context), `MobilePhoneNumber`],
|
|
3317
|
-
PartyTypeString: [, (_) => de_ProfileDimension(_, context), `PartyTypeString`],
|
|
3318
|
-
PersonalEmailAddress: [, (_) => de_ProfileDimension(_, context), `PersonalEmailAddress`],
|
|
3319
|
-
PhoneNumber: [, (_) => de_ProfileDimension(_, context), `PhoneNumber`],
|
|
3320
|
-
ProfileType: [, (_) => de_ProfileTypeDimension(_, context), `ProfileType`],
|
|
3321
|
-
ShippingAddress: [, (_) => de_AddressDimension(_, context), `ShippingAddress`],
|
|
3322
|
-
});
|
|
3323
|
-
};
|
|
3324
|
-
const de_ProfileDimension = (output, context) => {
|
|
3325
|
-
return take(output, {
|
|
3326
|
-
DimensionType: [, __expectString, `DimensionType`],
|
|
3327
|
-
Values: [, _json, `Values`],
|
|
3328
|
-
});
|
|
3329
|
-
};
|
|
3330
|
-
const de_ProfileHistoryRecord = (output, context) => {
|
|
3331
|
-
return take(output, {
|
|
3332
|
-
ActionType: __expectString,
|
|
3333
|
-
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3334
|
-
Id: __expectString,
|
|
3335
|
-
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3336
|
-
ObjectTypeName: __expectString,
|
|
3337
|
-
PerformedBy: __expectString,
|
|
3338
|
-
ProfileObjectUniqueKey: __expectString,
|
|
3339
|
-
});
|
|
3340
|
-
};
|
|
3341
|
-
const de_ProfileHistoryRecords = (output, context) => {
|
|
3342
|
-
const retVal = (output || [])
|
|
3343
|
-
.filter((e) => e != null)
|
|
3344
|
-
.map((entry) => {
|
|
3345
|
-
return de_ProfileHistoryRecord(entry, context);
|
|
3346
|
-
});
|
|
3347
|
-
return retVal;
|
|
3348
|
-
};
|
|
3349
|
-
const de_ProfileObjectTypeList = (output, context) => {
|
|
3350
|
-
const retVal = (output || [])
|
|
3351
|
-
.filter((e) => e != null)
|
|
3352
|
-
.map((entry) => {
|
|
3353
|
-
return de_ListProfileObjectTypeItem(entry, context);
|
|
3354
|
-
});
|
|
3355
|
-
return retVal;
|
|
3356
|
-
};
|
|
3357
|
-
const de_ProfileQueryFailures = (output, context) => {
|
|
3358
|
-
return take(output, {
|
|
3359
|
-
Message: [, __expectString, `Message`],
|
|
3360
|
-
ProfileId: [, __expectString, `ProfileId`],
|
|
3361
|
-
Status: [, __expectInt32, `Status`],
|
|
3362
|
-
});
|
|
3363
|
-
};
|
|
3364
|
-
const de_ProfileQueryResult = (output, context) => {
|
|
3365
|
-
return take(output, {
|
|
3366
|
-
Profile: [, _json, `Profile`],
|
|
3367
|
-
ProfileId: [, __expectString, `ProfileId`],
|
|
3368
|
-
QueryResult: [, __expectString, `QueryResult`],
|
|
3369
|
-
});
|
|
3370
|
-
};
|
|
3371
|
-
const de_Profiles = (output, context) => {
|
|
3372
|
-
const retVal = (output || [])
|
|
3373
|
-
.filter((e) => e != null)
|
|
3374
|
-
.map((entry) => {
|
|
3375
|
-
return de_ProfileQueryResult(entry, context);
|
|
3376
|
-
});
|
|
3377
|
-
return retVal;
|
|
3378
|
-
};
|
|
3379
|
-
const de_ProfileTypeDimension = (output, context) => {
|
|
3380
|
-
return take(output, {
|
|
3381
|
-
DimensionType: [, __expectString, `DimensionType`],
|
|
3382
|
-
Values: [, _json, `Values`],
|
|
3383
|
-
});
|
|
3384
|
-
};
|
|
3385
|
-
const de_ResultsSummary = (output, context) => {
|
|
3386
|
-
return take(output, {
|
|
3387
|
-
CreatedRecords: [, __expectLong, `CreatedRecords`],
|
|
3388
|
-
FailedRecords: [, __expectLong, `FailedRecords`],
|
|
3389
|
-
UpdatedRecords: [, __expectLong, `UpdatedRecords`],
|
|
3390
|
-
});
|
|
3391
|
-
};
|
|
3392
|
-
const de_SegmentDefinitionItem = (output, context) => {
|
|
3393
|
-
return take(output, {
|
|
3394
|
-
CreatedAt: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `CreatedAt`],
|
|
3395
|
-
Description: [, __expectString, `Description`],
|
|
3396
|
-
DisplayName: [, __expectString, `DisplayName`],
|
|
3397
|
-
SegmentDefinitionArn: [, __expectString, `SegmentDefinitionArn`],
|
|
3398
|
-
SegmentDefinitionName: [, __expectString, `SegmentDefinitionName`],
|
|
3399
|
-
Tags: [, _json, `Tags`],
|
|
3400
|
-
});
|
|
3401
|
-
};
|
|
3402
|
-
const de_SegmentDefinitionsList = (output, context) => {
|
|
3403
|
-
const retVal = (output || [])
|
|
3404
|
-
.filter((e) => e != null)
|
|
3405
|
-
.map((entry) => {
|
|
3406
|
-
return de_SegmentDefinitionItem(entry, context);
|
|
3407
|
-
});
|
|
3408
|
-
return retVal;
|
|
3409
|
-
};
|
|
3410
|
-
const de_SegmentGroup = (output, context) => {
|
|
3411
|
-
return take(output, {
|
|
3412
|
-
Groups: [, (_) => de_SegmentGroupList(_, context), `Groups`],
|
|
3413
|
-
Include: [, __expectString, `Include`],
|
|
3414
|
-
});
|
|
3415
|
-
};
|
|
3416
|
-
const de_SegmentGroupList = (output, context) => {
|
|
3417
|
-
const retVal = (output || [])
|
|
3418
|
-
.filter((e) => e != null)
|
|
3419
|
-
.map((entry) => {
|
|
3420
|
-
return de_Group(entry, context);
|
|
3421
|
-
});
|
|
3422
|
-
return retVal;
|
|
3423
|
-
};
|
|
3424
|
-
const de_SourceSegment = (output, context) => {
|
|
3425
|
-
return take(output, {
|
|
3426
|
-
SegmentDefinitionName: [, __expectString, `SegmentDefinitionName`],
|
|
3427
|
-
});
|
|
3428
|
-
};
|
|
3429
|
-
const de_SourceSegmentList = (output, context) => {
|
|
3430
|
-
const retVal = (output || [])
|
|
3431
|
-
.filter((e) => e != null)
|
|
3432
|
-
.map((entry) => {
|
|
3433
|
-
return de_SourceSegment(entry, context);
|
|
3434
|
-
});
|
|
3435
|
-
return retVal;
|
|
3436
|
-
};
|
|
3437
|
-
const de_UploadJobItem = (output, context) => {
|
|
3438
|
-
return take(output, {
|
|
3439
|
-
CompletedAt: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `CompletedAt`],
|
|
3440
|
-
CreatedAt: [, (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `CreatedAt`],
|
|
3441
|
-
DataExpiry: [, __expectInt32, `DataExpiry`],
|
|
3442
|
-
DisplayName: [, __expectString, `DisplayName`],
|
|
3443
|
-
JobId: [, __expectString, `JobId`],
|
|
3444
|
-
Status: [, __expectString, `Status`],
|
|
3445
|
-
StatusReason: [, __expectString, `StatusReason`],
|
|
3446
|
-
});
|
|
3447
|
-
};
|
|
3448
|
-
const de_UploadJobsList = (output, context) => {
|
|
3449
|
-
const retVal = (output || [])
|
|
3450
|
-
.filter((e) => e != null)
|
|
3451
|
-
.map((entry) => {
|
|
3452
|
-
return de_UploadJobItem(entry, context);
|
|
3453
|
-
});
|
|
3454
|
-
return retVal;
|
|
3455
|
-
};
|
|
3456
|
-
const de_WorkflowList = (output, context) => {
|
|
3457
|
-
const retVal = (output || [])
|
|
3458
|
-
.filter((e) => e != null)
|
|
3459
|
-
.map((entry) => {
|
|
3460
|
-
return de_ListWorkflowsItem(entry, context);
|
|
3461
|
-
});
|
|
3462
|
-
return retVal;
|
|
3463
|
-
};
|
|
3464
|
-
const de_WorkflowStepItem = (output, context) => {
|
|
3465
|
-
return take(output, {
|
|
3466
|
-
AppflowIntegration: (_) => de_AppflowIntegrationWorkflowStep(_, context),
|
|
3467
|
-
});
|
|
3468
|
-
};
|
|
3469
|
-
const de_WorkflowStepsList = (output, context) => {
|
|
3470
|
-
const retVal = (output || [])
|
|
3471
|
-
.filter((e) => e != null)
|
|
3472
|
-
.map((entry) => {
|
|
3473
|
-
return de_WorkflowStepItem(entry, context);
|
|
3474
|
-
});
|
|
3475
|
-
return retVal;
|
|
3476
|
-
};
|
|
3477
|
-
const deserializeMetadata = (output) => ({
|
|
3478
|
-
httpStatusCode: output.statusCode,
|
|
3479
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
3480
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3481
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
3482
|
-
});
|
|
3483
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3484
|
-
const _IH = "IncludeHidden";
|
|
3485
|
-
const _MR = "MaxResults";
|
|
3486
|
-
const _NT = "NextToken";
|
|
3487
|
-
const _ih = "include-hidden";
|
|
3488
|
-
const _mr = "max-results";
|
|
3489
|
-
const _nt = "next-token";
|
|
3490
|
-
const _tK = "tagKeys";
|