@aws-sdk/client-customer-profiles 3.476.0 → 3.477.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/protocols/Aws_restJson1.js +318 -716
- package/dist-es/protocols/Aws_restJson1.js +319 -717
- package/package.json +5 -4
|
@@ -3,43 +3,35 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.se_UpdateCalculatedAttributeDefinitionCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_SearchProfilesCommand = exports.se_PutProfileObjectTypeCommand = exports.se_PutProfileObjectCommand = exports.se_PutIntegrationCommand = exports.se_MergeProfilesCommand = exports.se_ListWorkflowsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListRuleBasedMatchesCommand = exports.se_ListProfileObjectTypeTemplatesCommand = exports.se_ListProfileObjectTypesCommand = exports.se_ListProfileObjectsCommand = exports.se_ListIntegrationsCommand = exports.se_ListIdentityResolutionJobsCommand = exports.se_ListEventStreamsCommand = exports.se_ListDomainsCommand = exports.se_ListCalculatedAttributesForProfileCommand = exports.se_ListCalculatedAttributeDefinitionsCommand = exports.se_ListAccountIntegrationsCommand = exports.se_GetWorkflowStepsCommand = exports.se_GetWorkflowCommand = exports.se_GetSimilarProfilesCommand = exports.se_GetProfileObjectTypeTemplateCommand = exports.se_GetProfileObjectTypeCommand = exports.se_GetMatchesCommand = exports.se_GetIntegrationCommand = exports.se_GetIdentityResolutionJobCommand = exports.se_GetEventStreamCommand = exports.se_GetDomainCommand = exports.se_GetCalculatedAttributeForProfileCommand = exports.se_GetCalculatedAttributeDefinitionCommand = exports.se_GetAutoMergingPreviewCommand = exports.se_DetectProfileObjectTypeCommand = exports.se_DeleteWorkflowCommand = exports.se_DeleteProfileObjectTypeCommand = exports.se_DeleteProfileObjectCommand = exports.se_DeleteProfileKeyCommand = exports.se_DeleteProfileCommand = exports.se_DeleteIntegrationCommand = exports.se_DeleteEventStreamCommand = exports.se_DeleteDomainCommand = exports.se_DeleteCalculatedAttributeDefinitionCommand = exports.se_CreateProfileCommand = exports.se_CreateIntegrationWorkflowCommand = exports.se_CreateEventStreamCommand = exports.se_CreateDomainCommand = exports.se_CreateCalculatedAttributeDefinitionCommand = exports.se_AddProfileKeyCommand = void 0;
|
|
4
4
|
exports.de_TagResourceCommand = exports.de_SearchProfilesCommand = exports.de_PutProfileObjectTypeCommand = exports.de_PutProfileObjectCommand = exports.de_PutIntegrationCommand = exports.de_MergeProfilesCommand = exports.de_ListWorkflowsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListRuleBasedMatchesCommand = exports.de_ListProfileObjectTypeTemplatesCommand = exports.de_ListProfileObjectTypesCommand = exports.de_ListProfileObjectsCommand = exports.de_ListIntegrationsCommand = exports.de_ListIdentityResolutionJobsCommand = exports.de_ListEventStreamsCommand = exports.de_ListDomainsCommand = exports.de_ListCalculatedAttributesForProfileCommand = exports.de_ListCalculatedAttributeDefinitionsCommand = exports.de_ListAccountIntegrationsCommand = exports.de_GetWorkflowStepsCommand = exports.de_GetWorkflowCommand = exports.de_GetSimilarProfilesCommand = exports.de_GetProfileObjectTypeTemplateCommand = exports.de_GetProfileObjectTypeCommand = exports.de_GetMatchesCommand = exports.de_GetIntegrationCommand = exports.de_GetIdentityResolutionJobCommand = exports.de_GetEventStreamCommand = exports.de_GetDomainCommand = exports.de_GetCalculatedAttributeForProfileCommand = exports.de_GetCalculatedAttributeDefinitionCommand = exports.de_GetAutoMergingPreviewCommand = exports.de_DetectProfileObjectTypeCommand = exports.de_DeleteWorkflowCommand = exports.de_DeleteProfileObjectTypeCommand = exports.de_DeleteProfileObjectCommand = exports.de_DeleteProfileKeyCommand = exports.de_DeleteProfileCommand = exports.de_DeleteIntegrationCommand = exports.de_DeleteEventStreamCommand = exports.de_DeleteDomainCommand = exports.de_DeleteCalculatedAttributeDefinitionCommand = exports.de_CreateProfileCommand = exports.de_CreateIntegrationWorkflowCommand = exports.de_CreateEventStreamCommand = exports.de_CreateDomainCommand = exports.de_CreateCalculatedAttributeDefinitionCommand = exports.de_AddProfileKeyCommand = exports.se_UpdateProfileCommand = exports.se_UpdateDomainCommand = void 0;
|
|
5
5
|
exports.de_UpdateProfileCommand = exports.de_UpdateDomainCommand = exports.de_UpdateCalculatedAttributeDefinitionCommand = exports.de_UntagResourceCommand = void 0;
|
|
6
|
-
const
|
|
6
|
+
const core_1 = require("@smithy/core");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
const CustomerProfilesServiceException_1 = require("../models/CustomerProfilesServiceException");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const se_AddProfileKeyCommand = async (input, context) => {
|
|
11
|
-
const
|
|
11
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
12
12
|
const headers = {
|
|
13
13
|
"content-type": "application/json",
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
b.bp("/domains/{DomainName}/profiles/keys");
|
|
16
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
17
17
|
let body;
|
|
18
18
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
19
19
|
KeyName: [],
|
|
20
20
|
ProfileId: [],
|
|
21
21
|
Values: (_) => (0, smithy_client_1._json)(_),
|
|
22
22
|
}));
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
hostname,
|
|
26
|
-
port,
|
|
27
|
-
method: "POST",
|
|
28
|
-
headers,
|
|
29
|
-
path: resolvedPath,
|
|
30
|
-
body,
|
|
31
|
-
});
|
|
23
|
+
b.m("POST").h(headers).b(body);
|
|
24
|
+
return b.build();
|
|
32
25
|
};
|
|
33
26
|
exports.se_AddProfileKeyCommand = se_AddProfileKeyCommand;
|
|
34
27
|
const se_CreateCalculatedAttributeDefinitionCommand = async (input, context) => {
|
|
35
|
-
const
|
|
28
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
36
29
|
const headers = {
|
|
37
30
|
"content-type": "application/json",
|
|
38
31
|
};
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CalculatedAttributeName", () => input.CalculatedAttributeName, "{CalculatedAttributeName}", false);
|
|
32
|
+
b.bp("/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}");
|
|
33
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
34
|
+
b.p("CalculatedAttributeName", () => input.CalculatedAttributeName, "{CalculatedAttributeName}", false);
|
|
43
35
|
let body;
|
|
44
36
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
45
37
|
AttributeDetails: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -49,24 +41,17 @@ const se_CreateCalculatedAttributeDefinitionCommand = async (input, context) =>
|
|
|
49
41
|
Statistic: [],
|
|
50
42
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
51
43
|
}));
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
hostname,
|
|
55
|
-
port,
|
|
56
|
-
method: "POST",
|
|
57
|
-
headers,
|
|
58
|
-
path: resolvedPath,
|
|
59
|
-
body,
|
|
60
|
-
});
|
|
44
|
+
b.m("POST").h(headers).b(body);
|
|
45
|
+
return b.build();
|
|
61
46
|
};
|
|
62
47
|
exports.se_CreateCalculatedAttributeDefinitionCommand = se_CreateCalculatedAttributeDefinitionCommand;
|
|
63
48
|
const se_CreateDomainCommand = async (input, context) => {
|
|
64
|
-
const
|
|
49
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
65
50
|
const headers = {
|
|
66
51
|
"content-type": "application/json",
|
|
67
52
|
};
|
|
68
|
-
|
|
69
|
-
|
|
53
|
+
b.bp("/domains/{DomainName}");
|
|
54
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
70
55
|
let body;
|
|
71
56
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
72
57
|
DeadLetterQueueUrl: [],
|
|
@@ -76,50 +61,34 @@ const se_CreateDomainCommand = async (input, context) => {
|
|
|
76
61
|
RuleBasedMatching: (_) => (0, smithy_client_1._json)(_),
|
|
77
62
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
78
63
|
}));
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
hostname,
|
|
82
|
-
port,
|
|
83
|
-
method: "POST",
|
|
84
|
-
headers,
|
|
85
|
-
path: resolvedPath,
|
|
86
|
-
body,
|
|
87
|
-
});
|
|
64
|
+
b.m("POST").h(headers).b(body);
|
|
65
|
+
return b.build();
|
|
88
66
|
};
|
|
89
67
|
exports.se_CreateDomainCommand = se_CreateDomainCommand;
|
|
90
68
|
const se_CreateEventStreamCommand = async (input, context) => {
|
|
91
|
-
const
|
|
69
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
92
70
|
const headers = {
|
|
93
71
|
"content-type": "application/json",
|
|
94
72
|
};
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EventStreamName", () => input.EventStreamName, "{EventStreamName}", false);
|
|
73
|
+
b.bp("/domains/{DomainName}/event-streams/{EventStreamName}");
|
|
74
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
75
|
+
b.p("EventStreamName", () => input.EventStreamName, "{EventStreamName}", false);
|
|
99
76
|
let body;
|
|
100
77
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
101
78
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
102
79
|
Uri: [],
|
|
103
80
|
}));
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
hostname,
|
|
107
|
-
port,
|
|
108
|
-
method: "POST",
|
|
109
|
-
headers,
|
|
110
|
-
path: resolvedPath,
|
|
111
|
-
body,
|
|
112
|
-
});
|
|
81
|
+
b.m("POST").h(headers).b(body);
|
|
82
|
+
return b.build();
|
|
113
83
|
};
|
|
114
84
|
exports.se_CreateEventStreamCommand = se_CreateEventStreamCommand;
|
|
115
85
|
const se_CreateIntegrationWorkflowCommand = async (input, context) => {
|
|
116
|
-
const
|
|
86
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
117
87
|
const headers = {
|
|
118
88
|
"content-type": "application/json",
|
|
119
89
|
};
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
90
|
+
b.bp("/domains/{DomainName}/workflows/integrations");
|
|
91
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
123
92
|
let body;
|
|
124
93
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
125
94
|
IntegrationConfig: (_) => se_IntegrationConfig(_, context),
|
|
@@ -128,24 +97,17 @@ const se_CreateIntegrationWorkflowCommand = async (input, context) => {
|
|
|
128
97
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
129
98
|
WorkflowType: [],
|
|
130
99
|
}));
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
hostname,
|
|
134
|
-
port,
|
|
135
|
-
method: "POST",
|
|
136
|
-
headers,
|
|
137
|
-
path: resolvedPath,
|
|
138
|
-
body,
|
|
139
|
-
});
|
|
100
|
+
b.m("POST").h(headers).b(body);
|
|
101
|
+
return b.build();
|
|
140
102
|
};
|
|
141
103
|
exports.se_CreateIntegrationWorkflowCommand = se_CreateIntegrationWorkflowCommand;
|
|
142
104
|
const se_CreateProfileCommand = async (input, context) => {
|
|
143
|
-
const
|
|
105
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
144
106
|
const headers = {
|
|
145
107
|
"content-type": "application/json",
|
|
146
108
|
};
|
|
147
|
-
|
|
148
|
-
|
|
109
|
+
b.bp("/domains/{DomainName}/profiles");
|
|
110
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
149
111
|
let body;
|
|
150
112
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
151
113
|
AccountNumber: [],
|
|
@@ -172,435 +134,275 @@ const se_CreateProfileCommand = async (input, context) => {
|
|
|
172
134
|
PhoneNumber: [],
|
|
173
135
|
ShippingAddress: (_) => (0, smithy_client_1._json)(_),
|
|
174
136
|
}));
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
hostname,
|
|
178
|
-
port,
|
|
179
|
-
method: "POST",
|
|
180
|
-
headers,
|
|
181
|
-
path: resolvedPath,
|
|
182
|
-
body,
|
|
183
|
-
});
|
|
137
|
+
b.m("POST").h(headers).b(body);
|
|
138
|
+
return b.build();
|
|
184
139
|
};
|
|
185
140
|
exports.se_CreateProfileCommand = se_CreateProfileCommand;
|
|
186
141
|
const se_DeleteCalculatedAttributeDefinitionCommand = async (input, context) => {
|
|
187
|
-
const
|
|
142
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
188
143
|
const headers = {};
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CalculatedAttributeName", () => input.CalculatedAttributeName, "{CalculatedAttributeName}", false);
|
|
144
|
+
b.bp("/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}");
|
|
145
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
146
|
+
b.p("CalculatedAttributeName", () => input.CalculatedAttributeName, "{CalculatedAttributeName}", false);
|
|
193
147
|
let body;
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
hostname,
|
|
197
|
-
port,
|
|
198
|
-
method: "DELETE",
|
|
199
|
-
headers,
|
|
200
|
-
path: resolvedPath,
|
|
201
|
-
body,
|
|
202
|
-
});
|
|
148
|
+
b.m("DELETE").h(headers).b(body);
|
|
149
|
+
return b.build();
|
|
203
150
|
};
|
|
204
151
|
exports.se_DeleteCalculatedAttributeDefinitionCommand = se_DeleteCalculatedAttributeDefinitionCommand;
|
|
205
152
|
const se_DeleteDomainCommand = async (input, context) => {
|
|
206
|
-
const
|
|
153
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
207
154
|
const headers = {};
|
|
208
|
-
|
|
209
|
-
|
|
155
|
+
b.bp("/domains/{DomainName}");
|
|
156
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
210
157
|
let body;
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
hostname,
|
|
214
|
-
port,
|
|
215
|
-
method: "DELETE",
|
|
216
|
-
headers,
|
|
217
|
-
path: resolvedPath,
|
|
218
|
-
body,
|
|
219
|
-
});
|
|
158
|
+
b.m("DELETE").h(headers).b(body);
|
|
159
|
+
return b.build();
|
|
220
160
|
};
|
|
221
161
|
exports.se_DeleteDomainCommand = se_DeleteDomainCommand;
|
|
222
162
|
const se_DeleteEventStreamCommand = async (input, context) => {
|
|
223
|
-
const
|
|
163
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
224
164
|
const headers = {};
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EventStreamName", () => input.EventStreamName, "{EventStreamName}", false);
|
|
165
|
+
b.bp("/domains/{DomainName}/event-streams/{EventStreamName}");
|
|
166
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
167
|
+
b.p("EventStreamName", () => input.EventStreamName, "{EventStreamName}", false);
|
|
229
168
|
let body;
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
hostname,
|
|
233
|
-
port,
|
|
234
|
-
method: "DELETE",
|
|
235
|
-
headers,
|
|
236
|
-
path: resolvedPath,
|
|
237
|
-
body,
|
|
238
|
-
});
|
|
169
|
+
b.m("DELETE").h(headers).b(body);
|
|
170
|
+
return b.build();
|
|
239
171
|
};
|
|
240
172
|
exports.se_DeleteEventStreamCommand = se_DeleteEventStreamCommand;
|
|
241
173
|
const se_DeleteIntegrationCommand = async (input, context) => {
|
|
242
|
-
const
|
|
174
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
243
175
|
const headers = {
|
|
244
176
|
"content-type": "application/json",
|
|
245
177
|
};
|
|
246
|
-
|
|
247
|
-
|
|
178
|
+
b.bp("/domains/{DomainName}/integrations/delete");
|
|
179
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
248
180
|
let body;
|
|
249
181
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
250
182
|
Uri: [],
|
|
251
183
|
}));
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
hostname,
|
|
255
|
-
port,
|
|
256
|
-
method: "POST",
|
|
257
|
-
headers,
|
|
258
|
-
path: resolvedPath,
|
|
259
|
-
body,
|
|
260
|
-
});
|
|
184
|
+
b.m("POST").h(headers).b(body);
|
|
185
|
+
return b.build();
|
|
261
186
|
};
|
|
262
187
|
exports.se_DeleteIntegrationCommand = se_DeleteIntegrationCommand;
|
|
263
188
|
const se_DeleteProfileCommand = async (input, context) => {
|
|
264
|
-
const
|
|
189
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
265
190
|
const headers = {
|
|
266
191
|
"content-type": "application/json",
|
|
267
192
|
};
|
|
268
|
-
|
|
269
|
-
|
|
193
|
+
b.bp("/domains/{DomainName}/profiles/delete");
|
|
194
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
270
195
|
let body;
|
|
271
196
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
272
197
|
ProfileId: [],
|
|
273
198
|
}));
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
hostname,
|
|
277
|
-
port,
|
|
278
|
-
method: "POST",
|
|
279
|
-
headers,
|
|
280
|
-
path: resolvedPath,
|
|
281
|
-
body,
|
|
282
|
-
});
|
|
199
|
+
b.m("POST").h(headers).b(body);
|
|
200
|
+
return b.build();
|
|
283
201
|
};
|
|
284
202
|
exports.se_DeleteProfileCommand = se_DeleteProfileCommand;
|
|
285
203
|
const se_DeleteProfileKeyCommand = async (input, context) => {
|
|
286
|
-
const
|
|
204
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
287
205
|
const headers = {
|
|
288
206
|
"content-type": "application/json",
|
|
289
207
|
};
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
208
|
+
b.bp("/domains/{DomainName}/profiles/keys/delete");
|
|
209
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
293
210
|
let body;
|
|
294
211
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
295
212
|
KeyName: [],
|
|
296
213
|
ProfileId: [],
|
|
297
214
|
Values: (_) => (0, smithy_client_1._json)(_),
|
|
298
215
|
}));
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
hostname,
|
|
302
|
-
port,
|
|
303
|
-
method: "POST",
|
|
304
|
-
headers,
|
|
305
|
-
path: resolvedPath,
|
|
306
|
-
body,
|
|
307
|
-
});
|
|
216
|
+
b.m("POST").h(headers).b(body);
|
|
217
|
+
return b.build();
|
|
308
218
|
};
|
|
309
219
|
exports.se_DeleteProfileKeyCommand = se_DeleteProfileKeyCommand;
|
|
310
220
|
const se_DeleteProfileObjectCommand = async (input, context) => {
|
|
311
|
-
const
|
|
221
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
312
222
|
const headers = {
|
|
313
223
|
"content-type": "application/json",
|
|
314
224
|
};
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
225
|
+
b.bp("/domains/{DomainName}/profiles/objects/delete");
|
|
226
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
318
227
|
let body;
|
|
319
228
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
320
229
|
ObjectTypeName: [],
|
|
321
230
|
ProfileId: [],
|
|
322
231
|
ProfileObjectUniqueKey: [],
|
|
323
232
|
}));
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
hostname,
|
|
327
|
-
port,
|
|
328
|
-
method: "POST",
|
|
329
|
-
headers,
|
|
330
|
-
path: resolvedPath,
|
|
331
|
-
body,
|
|
332
|
-
});
|
|
233
|
+
b.m("POST").h(headers).b(body);
|
|
234
|
+
return b.build();
|
|
333
235
|
};
|
|
334
236
|
exports.se_DeleteProfileObjectCommand = se_DeleteProfileObjectCommand;
|
|
335
237
|
const se_DeleteProfileObjectTypeCommand = async (input, context) => {
|
|
336
|
-
const
|
|
238
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
337
239
|
const headers = {};
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ObjectTypeName", () => input.ObjectTypeName, "{ObjectTypeName}", false);
|
|
240
|
+
b.bp("/domains/{DomainName}/object-types/{ObjectTypeName}");
|
|
241
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
242
|
+
b.p("ObjectTypeName", () => input.ObjectTypeName, "{ObjectTypeName}", false);
|
|
342
243
|
let body;
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
hostname,
|
|
346
|
-
port,
|
|
347
|
-
method: "DELETE",
|
|
348
|
-
headers,
|
|
349
|
-
path: resolvedPath,
|
|
350
|
-
body,
|
|
351
|
-
});
|
|
244
|
+
b.m("DELETE").h(headers).b(body);
|
|
245
|
+
return b.build();
|
|
352
246
|
};
|
|
353
247
|
exports.se_DeleteProfileObjectTypeCommand = se_DeleteProfileObjectTypeCommand;
|
|
354
248
|
const se_DeleteWorkflowCommand = async (input, context) => {
|
|
355
|
-
const
|
|
249
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
356
250
|
const headers = {};
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "WorkflowId", () => input.WorkflowId, "{WorkflowId}", false);
|
|
251
|
+
b.bp("/domains/{DomainName}/workflows/{WorkflowId}");
|
|
252
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
253
|
+
b.p("WorkflowId", () => input.WorkflowId, "{WorkflowId}", false);
|
|
361
254
|
let body;
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
hostname,
|
|
365
|
-
port,
|
|
366
|
-
method: "DELETE",
|
|
367
|
-
headers,
|
|
368
|
-
path: resolvedPath,
|
|
369
|
-
body,
|
|
370
|
-
});
|
|
255
|
+
b.m("DELETE").h(headers).b(body);
|
|
256
|
+
return b.build();
|
|
371
257
|
};
|
|
372
258
|
exports.se_DeleteWorkflowCommand = se_DeleteWorkflowCommand;
|
|
373
259
|
const se_DetectProfileObjectTypeCommand = async (input, context) => {
|
|
374
|
-
const
|
|
260
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
375
261
|
const headers = {
|
|
376
262
|
"content-type": "application/json",
|
|
377
263
|
};
|
|
378
|
-
|
|
379
|
-
|
|
264
|
+
b.bp("/domains/{DomainName}/detect/object-types");
|
|
265
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
380
266
|
let body;
|
|
381
267
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
382
268
|
Objects: (_) => (0, smithy_client_1._json)(_),
|
|
383
269
|
}));
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
hostname,
|
|
387
|
-
port,
|
|
388
|
-
method: "POST",
|
|
389
|
-
headers,
|
|
390
|
-
path: resolvedPath,
|
|
391
|
-
body,
|
|
392
|
-
});
|
|
270
|
+
b.m("POST").h(headers).b(body);
|
|
271
|
+
return b.build();
|
|
393
272
|
};
|
|
394
273
|
exports.se_DetectProfileObjectTypeCommand = se_DetectProfileObjectTypeCommand;
|
|
395
274
|
const se_GetAutoMergingPreviewCommand = async (input, context) => {
|
|
396
|
-
const
|
|
275
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
397
276
|
const headers = {
|
|
398
277
|
"content-type": "application/json",
|
|
399
278
|
};
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
279
|
+
b.bp("/domains/{DomainName}/identity-resolution-jobs/auto-merging-preview");
|
|
280
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
403
281
|
let body;
|
|
404
282
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
405
283
|
ConflictResolution: (_) => (0, smithy_client_1._json)(_),
|
|
406
284
|
Consolidation: (_) => (0, smithy_client_1._json)(_),
|
|
407
285
|
MinAllowedConfidenceScoreForMerging: (_) => (0, smithy_client_1.serializeFloat)(_),
|
|
408
286
|
}));
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
hostname,
|
|
412
|
-
port,
|
|
413
|
-
method: "POST",
|
|
414
|
-
headers,
|
|
415
|
-
path: resolvedPath,
|
|
416
|
-
body,
|
|
417
|
-
});
|
|
287
|
+
b.m("POST").h(headers).b(body);
|
|
288
|
+
return b.build();
|
|
418
289
|
};
|
|
419
290
|
exports.se_GetAutoMergingPreviewCommand = se_GetAutoMergingPreviewCommand;
|
|
420
291
|
const se_GetCalculatedAttributeDefinitionCommand = async (input, context) => {
|
|
421
|
-
const
|
|
292
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
422
293
|
const headers = {};
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CalculatedAttributeName", () => input.CalculatedAttributeName, "{CalculatedAttributeName}", false);
|
|
294
|
+
b.bp("/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}");
|
|
295
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
296
|
+
b.p("CalculatedAttributeName", () => input.CalculatedAttributeName, "{CalculatedAttributeName}", false);
|
|
427
297
|
let body;
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
hostname,
|
|
431
|
-
port,
|
|
432
|
-
method: "GET",
|
|
433
|
-
headers,
|
|
434
|
-
path: resolvedPath,
|
|
435
|
-
body,
|
|
436
|
-
});
|
|
298
|
+
b.m("GET").h(headers).b(body);
|
|
299
|
+
return b.build();
|
|
437
300
|
};
|
|
438
301
|
exports.se_GetCalculatedAttributeDefinitionCommand = se_GetCalculatedAttributeDefinitionCommand;
|
|
439
302
|
const se_GetCalculatedAttributeForProfileCommand = async (input, context) => {
|
|
440
|
-
const
|
|
303
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
441
304
|
const headers = {};
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CalculatedAttributeName", () => input.CalculatedAttributeName, "{CalculatedAttributeName}", false);
|
|
305
|
+
b.bp("/domains/{DomainName}/profile/{ProfileId}/calculated-attributes/{CalculatedAttributeName}");
|
|
306
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
307
|
+
b.p("ProfileId", () => input.ProfileId, "{ProfileId}", false);
|
|
308
|
+
b.p("CalculatedAttributeName", () => input.CalculatedAttributeName, "{CalculatedAttributeName}", false);
|
|
447
309
|
let body;
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
hostname,
|
|
451
|
-
port,
|
|
452
|
-
method: "GET",
|
|
453
|
-
headers,
|
|
454
|
-
path: resolvedPath,
|
|
455
|
-
body,
|
|
456
|
-
});
|
|
310
|
+
b.m("GET").h(headers).b(body);
|
|
311
|
+
return b.build();
|
|
457
312
|
};
|
|
458
313
|
exports.se_GetCalculatedAttributeForProfileCommand = se_GetCalculatedAttributeForProfileCommand;
|
|
459
314
|
const se_GetDomainCommand = async (input, context) => {
|
|
460
|
-
const
|
|
315
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
461
316
|
const headers = {};
|
|
462
|
-
|
|
463
|
-
|
|
317
|
+
b.bp("/domains/{DomainName}");
|
|
318
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
464
319
|
let body;
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
hostname,
|
|
468
|
-
port,
|
|
469
|
-
method: "GET",
|
|
470
|
-
headers,
|
|
471
|
-
path: resolvedPath,
|
|
472
|
-
body,
|
|
473
|
-
});
|
|
320
|
+
b.m("GET").h(headers).b(body);
|
|
321
|
+
return b.build();
|
|
474
322
|
};
|
|
475
323
|
exports.se_GetDomainCommand = se_GetDomainCommand;
|
|
476
324
|
const se_GetEventStreamCommand = async (input, context) => {
|
|
477
|
-
const
|
|
325
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
478
326
|
const headers = {};
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EventStreamName", () => input.EventStreamName, "{EventStreamName}", false);
|
|
327
|
+
b.bp("/domains/{DomainName}/event-streams/{EventStreamName}");
|
|
328
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
329
|
+
b.p("EventStreamName", () => input.EventStreamName, "{EventStreamName}", false);
|
|
483
330
|
let body;
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
hostname,
|
|
487
|
-
port,
|
|
488
|
-
method: "GET",
|
|
489
|
-
headers,
|
|
490
|
-
path: resolvedPath,
|
|
491
|
-
body,
|
|
492
|
-
});
|
|
331
|
+
b.m("GET").h(headers).b(body);
|
|
332
|
+
return b.build();
|
|
493
333
|
};
|
|
494
334
|
exports.se_GetEventStreamCommand = se_GetEventStreamCommand;
|
|
495
335
|
const se_GetIdentityResolutionJobCommand = async (input, context) => {
|
|
496
|
-
const
|
|
336
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
497
337
|
const headers = {};
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "JobId", () => input.JobId, "{JobId}", false);
|
|
338
|
+
b.bp("/domains/{DomainName}/identity-resolution-jobs/{JobId}");
|
|
339
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
340
|
+
b.p("JobId", () => input.JobId, "{JobId}", false);
|
|
502
341
|
let body;
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
hostname,
|
|
506
|
-
port,
|
|
507
|
-
method: "GET",
|
|
508
|
-
headers,
|
|
509
|
-
path: resolvedPath,
|
|
510
|
-
body,
|
|
511
|
-
});
|
|
342
|
+
b.m("GET").h(headers).b(body);
|
|
343
|
+
return b.build();
|
|
512
344
|
};
|
|
513
345
|
exports.se_GetIdentityResolutionJobCommand = se_GetIdentityResolutionJobCommand;
|
|
514
346
|
const se_GetIntegrationCommand = async (input, context) => {
|
|
515
|
-
const
|
|
347
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
516
348
|
const headers = {
|
|
517
349
|
"content-type": "application/json",
|
|
518
350
|
};
|
|
519
|
-
|
|
520
|
-
|
|
351
|
+
b.bp("/domains/{DomainName}/integrations");
|
|
352
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
521
353
|
let body;
|
|
522
354
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
523
355
|
Uri: [],
|
|
524
356
|
}));
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
hostname,
|
|
528
|
-
port,
|
|
529
|
-
method: "POST",
|
|
530
|
-
headers,
|
|
531
|
-
path: resolvedPath,
|
|
532
|
-
body,
|
|
533
|
-
});
|
|
357
|
+
b.m("POST").h(headers).b(body);
|
|
358
|
+
return b.build();
|
|
534
359
|
};
|
|
535
360
|
exports.se_GetIntegrationCommand = se_GetIntegrationCommand;
|
|
536
361
|
const se_GetMatchesCommand = async (input, context) => {
|
|
537
|
-
const
|
|
362
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
538
363
|
const headers = {};
|
|
539
|
-
|
|
540
|
-
|
|
364
|
+
b.bp("/domains/{DomainName}/matches");
|
|
365
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
541
366
|
const query = (0, smithy_client_1.map)({
|
|
542
|
-
|
|
543
|
-
|
|
367
|
+
[_nt]: [, input[_NT]],
|
|
368
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
544
369
|
});
|
|
545
370
|
let body;
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
hostname,
|
|
549
|
-
port,
|
|
550
|
-
method: "GET",
|
|
551
|
-
headers,
|
|
552
|
-
path: resolvedPath,
|
|
553
|
-
query,
|
|
554
|
-
body,
|
|
555
|
-
});
|
|
371
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
372
|
+
return b.build();
|
|
556
373
|
};
|
|
557
374
|
exports.se_GetMatchesCommand = se_GetMatchesCommand;
|
|
558
375
|
const se_GetProfileObjectTypeCommand = async (input, context) => {
|
|
559
|
-
const
|
|
376
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
560
377
|
const headers = {};
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ObjectTypeName", () => input.ObjectTypeName, "{ObjectTypeName}", false);
|
|
378
|
+
b.bp("/domains/{DomainName}/object-types/{ObjectTypeName}");
|
|
379
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
380
|
+
b.p("ObjectTypeName", () => input.ObjectTypeName, "{ObjectTypeName}", false);
|
|
565
381
|
let body;
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
hostname,
|
|
569
|
-
port,
|
|
570
|
-
method: "GET",
|
|
571
|
-
headers,
|
|
572
|
-
path: resolvedPath,
|
|
573
|
-
body,
|
|
574
|
-
});
|
|
382
|
+
b.m("GET").h(headers).b(body);
|
|
383
|
+
return b.build();
|
|
575
384
|
};
|
|
576
385
|
exports.se_GetProfileObjectTypeCommand = se_GetProfileObjectTypeCommand;
|
|
577
386
|
const se_GetProfileObjectTypeTemplateCommand = async (input, context) => {
|
|
578
|
-
const
|
|
387
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
579
388
|
const headers = {};
|
|
580
|
-
|
|
581
|
-
|
|
389
|
+
b.bp("/templates/{TemplateId}");
|
|
390
|
+
b.p("TemplateId", () => input.TemplateId, "{TemplateId}", false);
|
|
582
391
|
let body;
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
hostname,
|
|
586
|
-
port,
|
|
587
|
-
method: "GET",
|
|
588
|
-
headers,
|
|
589
|
-
path: resolvedPath,
|
|
590
|
-
body,
|
|
591
|
-
});
|
|
392
|
+
b.m("GET").h(headers).b(body);
|
|
393
|
+
return b.build();
|
|
592
394
|
};
|
|
593
395
|
exports.se_GetProfileObjectTypeTemplateCommand = se_GetProfileObjectTypeTemplateCommand;
|
|
594
396
|
const se_GetSimilarProfilesCommand = async (input, context) => {
|
|
595
|
-
const
|
|
397
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
596
398
|
const headers = {
|
|
597
399
|
"content-type": "application/json",
|
|
598
400
|
};
|
|
599
|
-
|
|
600
|
-
|
|
401
|
+
b.bp("/domains/{DomainName}/matches");
|
|
402
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
601
403
|
const query = (0, smithy_client_1.map)({
|
|
602
|
-
|
|
603
|
-
|
|
404
|
+
[_nt]: [, input[_NT]],
|
|
405
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
604
406
|
});
|
|
605
407
|
let body;
|
|
606
408
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
@@ -608,234 +410,150 @@ const se_GetSimilarProfilesCommand = async (input, context) => {
|
|
|
608
410
|
SearchKey: [],
|
|
609
411
|
SearchValue: [],
|
|
610
412
|
}));
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
hostname,
|
|
614
|
-
port,
|
|
615
|
-
method: "POST",
|
|
616
|
-
headers,
|
|
617
|
-
path: resolvedPath,
|
|
618
|
-
query,
|
|
619
|
-
body,
|
|
620
|
-
});
|
|
413
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
414
|
+
return b.build();
|
|
621
415
|
};
|
|
622
416
|
exports.se_GetSimilarProfilesCommand = se_GetSimilarProfilesCommand;
|
|
623
417
|
const se_GetWorkflowCommand = async (input, context) => {
|
|
624
|
-
const
|
|
418
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
625
419
|
const headers = {};
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "WorkflowId", () => input.WorkflowId, "{WorkflowId}", false);
|
|
420
|
+
b.bp("/domains/{DomainName}/workflows/{WorkflowId}");
|
|
421
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
422
|
+
b.p("WorkflowId", () => input.WorkflowId, "{WorkflowId}", false);
|
|
630
423
|
let body;
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
hostname,
|
|
634
|
-
port,
|
|
635
|
-
method: "GET",
|
|
636
|
-
headers,
|
|
637
|
-
path: resolvedPath,
|
|
638
|
-
body,
|
|
639
|
-
});
|
|
424
|
+
b.m("GET").h(headers).b(body);
|
|
425
|
+
return b.build();
|
|
640
426
|
};
|
|
641
427
|
exports.se_GetWorkflowCommand = se_GetWorkflowCommand;
|
|
642
428
|
const se_GetWorkflowStepsCommand = async (input, context) => {
|
|
643
|
-
const
|
|
429
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
644
430
|
const headers = {};
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "WorkflowId", () => input.WorkflowId, "{WorkflowId}", false);
|
|
431
|
+
b.bp("/domains/{DomainName}/workflows/{WorkflowId}/steps");
|
|
432
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
433
|
+
b.p("WorkflowId", () => input.WorkflowId, "{WorkflowId}", false);
|
|
649
434
|
const query = (0, smithy_client_1.map)({
|
|
650
|
-
|
|
651
|
-
|
|
435
|
+
[_nt]: [, input[_NT]],
|
|
436
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
652
437
|
});
|
|
653
438
|
let body;
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
hostname,
|
|
657
|
-
port,
|
|
658
|
-
method: "GET",
|
|
659
|
-
headers,
|
|
660
|
-
path: resolvedPath,
|
|
661
|
-
query,
|
|
662
|
-
body,
|
|
663
|
-
});
|
|
439
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
440
|
+
return b.build();
|
|
664
441
|
};
|
|
665
442
|
exports.se_GetWorkflowStepsCommand = se_GetWorkflowStepsCommand;
|
|
666
443
|
const se_ListAccountIntegrationsCommand = async (input, context) => {
|
|
667
|
-
const
|
|
444
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
668
445
|
const headers = {
|
|
669
446
|
"content-type": "application/json",
|
|
670
447
|
};
|
|
671
|
-
|
|
448
|
+
b.bp("/integrations");
|
|
672
449
|
const query = (0, smithy_client_1.map)({
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
450
|
+
[_nt]: [, input[_NT]],
|
|
451
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
452
|
+
[_ih]: [() => input.IncludeHidden !== void 0, () => input[_IH].toString()],
|
|
676
453
|
});
|
|
677
454
|
let body;
|
|
678
455
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
679
456
|
Uri: [],
|
|
680
457
|
}));
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
hostname,
|
|
684
|
-
port,
|
|
685
|
-
method: "POST",
|
|
686
|
-
headers,
|
|
687
|
-
path: resolvedPath,
|
|
688
|
-
query,
|
|
689
|
-
body,
|
|
690
|
-
});
|
|
458
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
459
|
+
return b.build();
|
|
691
460
|
};
|
|
692
461
|
exports.se_ListAccountIntegrationsCommand = se_ListAccountIntegrationsCommand;
|
|
693
462
|
const se_ListCalculatedAttributeDefinitionsCommand = async (input, context) => {
|
|
694
|
-
const
|
|
463
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
695
464
|
const headers = {};
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
465
|
+
b.bp("/domains/{DomainName}/calculated-attributes");
|
|
466
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
699
467
|
const query = (0, smithy_client_1.map)({
|
|
700
|
-
|
|
701
|
-
|
|
468
|
+
[_nt]: [, input[_NT]],
|
|
469
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
702
470
|
});
|
|
703
471
|
let body;
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
hostname,
|
|
707
|
-
port,
|
|
708
|
-
method: "GET",
|
|
709
|
-
headers,
|
|
710
|
-
path: resolvedPath,
|
|
711
|
-
query,
|
|
712
|
-
body,
|
|
713
|
-
});
|
|
472
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
473
|
+
return b.build();
|
|
714
474
|
};
|
|
715
475
|
exports.se_ListCalculatedAttributeDefinitionsCommand = se_ListCalculatedAttributeDefinitionsCommand;
|
|
716
476
|
const se_ListCalculatedAttributesForProfileCommand = async (input, context) => {
|
|
717
|
-
const
|
|
477
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
718
478
|
const headers = {};
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ProfileId", () => input.ProfileId, "{ProfileId}", false);
|
|
479
|
+
b.bp("/domains/{DomainName}/profile/{ProfileId}/calculated-attributes");
|
|
480
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
481
|
+
b.p("ProfileId", () => input.ProfileId, "{ProfileId}", false);
|
|
723
482
|
const query = (0, smithy_client_1.map)({
|
|
724
|
-
|
|
725
|
-
|
|
483
|
+
[_nt]: [, input[_NT]],
|
|
484
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
726
485
|
});
|
|
727
486
|
let body;
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
hostname,
|
|
731
|
-
port,
|
|
732
|
-
method: "GET",
|
|
733
|
-
headers,
|
|
734
|
-
path: resolvedPath,
|
|
735
|
-
query,
|
|
736
|
-
body,
|
|
737
|
-
});
|
|
487
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
488
|
+
return b.build();
|
|
738
489
|
};
|
|
739
490
|
exports.se_ListCalculatedAttributesForProfileCommand = se_ListCalculatedAttributesForProfileCommand;
|
|
740
491
|
const se_ListDomainsCommand = async (input, context) => {
|
|
741
|
-
const
|
|
492
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
742
493
|
const headers = {};
|
|
743
|
-
|
|
494
|
+
b.bp("/domains");
|
|
744
495
|
const query = (0, smithy_client_1.map)({
|
|
745
|
-
|
|
746
|
-
|
|
496
|
+
[_nt]: [, input[_NT]],
|
|
497
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
747
498
|
});
|
|
748
499
|
let body;
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
hostname,
|
|
752
|
-
port,
|
|
753
|
-
method: "GET",
|
|
754
|
-
headers,
|
|
755
|
-
path: resolvedPath,
|
|
756
|
-
query,
|
|
757
|
-
body,
|
|
758
|
-
});
|
|
500
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
501
|
+
return b.build();
|
|
759
502
|
};
|
|
760
503
|
exports.se_ListDomainsCommand = se_ListDomainsCommand;
|
|
761
504
|
const se_ListEventStreamsCommand = async (input, context) => {
|
|
762
|
-
const
|
|
505
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
763
506
|
const headers = {};
|
|
764
|
-
|
|
765
|
-
|
|
507
|
+
b.bp("/domains/{DomainName}/event-streams");
|
|
508
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
766
509
|
const query = (0, smithy_client_1.map)({
|
|
767
|
-
|
|
768
|
-
|
|
510
|
+
[_nt]: [, input[_NT]],
|
|
511
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
769
512
|
});
|
|
770
513
|
let body;
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
hostname,
|
|
774
|
-
port,
|
|
775
|
-
method: "GET",
|
|
776
|
-
headers,
|
|
777
|
-
path: resolvedPath,
|
|
778
|
-
query,
|
|
779
|
-
body,
|
|
780
|
-
});
|
|
514
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
515
|
+
return b.build();
|
|
781
516
|
};
|
|
782
517
|
exports.se_ListEventStreamsCommand = se_ListEventStreamsCommand;
|
|
783
518
|
const se_ListIdentityResolutionJobsCommand = async (input, context) => {
|
|
784
|
-
const
|
|
519
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
785
520
|
const headers = {};
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
521
|
+
b.bp("/domains/{DomainName}/identity-resolution-jobs");
|
|
522
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
789
523
|
const query = (0, smithy_client_1.map)({
|
|
790
|
-
|
|
791
|
-
|
|
524
|
+
[_nt]: [, input[_NT]],
|
|
525
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
792
526
|
});
|
|
793
527
|
let body;
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
hostname,
|
|
797
|
-
port,
|
|
798
|
-
method: "GET",
|
|
799
|
-
headers,
|
|
800
|
-
path: resolvedPath,
|
|
801
|
-
query,
|
|
802
|
-
body,
|
|
803
|
-
});
|
|
528
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
529
|
+
return b.build();
|
|
804
530
|
};
|
|
805
531
|
exports.se_ListIdentityResolutionJobsCommand = se_ListIdentityResolutionJobsCommand;
|
|
806
532
|
const se_ListIntegrationsCommand = async (input, context) => {
|
|
807
|
-
const
|
|
533
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
808
534
|
const headers = {};
|
|
809
|
-
|
|
810
|
-
|
|
535
|
+
b.bp("/domains/{DomainName}/integrations");
|
|
536
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
811
537
|
const query = (0, smithy_client_1.map)({
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
538
|
+
[_nt]: [, input[_NT]],
|
|
539
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
540
|
+
[_ih]: [() => input.IncludeHidden !== void 0, () => input[_IH].toString()],
|
|
815
541
|
});
|
|
816
542
|
let body;
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
hostname,
|
|
820
|
-
port,
|
|
821
|
-
method: "GET",
|
|
822
|
-
headers,
|
|
823
|
-
path: resolvedPath,
|
|
824
|
-
query,
|
|
825
|
-
body,
|
|
826
|
-
});
|
|
543
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
544
|
+
return b.build();
|
|
827
545
|
};
|
|
828
546
|
exports.se_ListIntegrationsCommand = se_ListIntegrationsCommand;
|
|
829
547
|
const se_ListProfileObjectsCommand = async (input, context) => {
|
|
830
|
-
const
|
|
548
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
831
549
|
const headers = {
|
|
832
550
|
"content-type": "application/json",
|
|
833
551
|
};
|
|
834
|
-
|
|
835
|
-
|
|
552
|
+
b.bp("/domains/{DomainName}/profiles/objects");
|
|
553
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
836
554
|
const query = (0, smithy_client_1.map)({
|
|
837
|
-
|
|
838
|
-
|
|
555
|
+
[_nt]: [, input[_NT]],
|
|
556
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
839
557
|
});
|
|
840
558
|
let body;
|
|
841
559
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
@@ -843,111 +561,71 @@ const se_ListProfileObjectsCommand = async (input, context) => {
|
|
|
843
561
|
ObjectTypeName: [],
|
|
844
562
|
ProfileId: [],
|
|
845
563
|
}));
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
hostname,
|
|
849
|
-
port,
|
|
850
|
-
method: "POST",
|
|
851
|
-
headers,
|
|
852
|
-
path: resolvedPath,
|
|
853
|
-
query,
|
|
854
|
-
body,
|
|
855
|
-
});
|
|
564
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
565
|
+
return b.build();
|
|
856
566
|
};
|
|
857
567
|
exports.se_ListProfileObjectsCommand = se_ListProfileObjectsCommand;
|
|
858
568
|
const se_ListProfileObjectTypesCommand = async (input, context) => {
|
|
859
|
-
const
|
|
569
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
860
570
|
const headers = {};
|
|
861
|
-
|
|
862
|
-
|
|
571
|
+
b.bp("/domains/{DomainName}/object-types");
|
|
572
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
863
573
|
const query = (0, smithy_client_1.map)({
|
|
864
|
-
|
|
865
|
-
|
|
574
|
+
[_nt]: [, input[_NT]],
|
|
575
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
866
576
|
});
|
|
867
577
|
let body;
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
hostname,
|
|
871
|
-
port,
|
|
872
|
-
method: "GET",
|
|
873
|
-
headers,
|
|
874
|
-
path: resolvedPath,
|
|
875
|
-
query,
|
|
876
|
-
body,
|
|
877
|
-
});
|
|
578
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
579
|
+
return b.build();
|
|
878
580
|
};
|
|
879
581
|
exports.se_ListProfileObjectTypesCommand = se_ListProfileObjectTypesCommand;
|
|
880
582
|
const se_ListProfileObjectTypeTemplatesCommand = async (input, context) => {
|
|
881
|
-
const
|
|
583
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
882
584
|
const headers = {};
|
|
883
|
-
|
|
585
|
+
b.bp("/templates");
|
|
884
586
|
const query = (0, smithy_client_1.map)({
|
|
885
|
-
|
|
886
|
-
|
|
587
|
+
[_nt]: [, input[_NT]],
|
|
588
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
887
589
|
});
|
|
888
590
|
let body;
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
hostname,
|
|
892
|
-
port,
|
|
893
|
-
method: "GET",
|
|
894
|
-
headers,
|
|
895
|
-
path: resolvedPath,
|
|
896
|
-
query,
|
|
897
|
-
body,
|
|
898
|
-
});
|
|
591
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
592
|
+
return b.build();
|
|
899
593
|
};
|
|
900
594
|
exports.se_ListProfileObjectTypeTemplatesCommand = se_ListProfileObjectTypeTemplatesCommand;
|
|
901
595
|
const se_ListRuleBasedMatchesCommand = async (input, context) => {
|
|
902
|
-
const
|
|
596
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
903
597
|
const headers = {};
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
598
|
+
b.bp("/domains/{DomainName}/profiles/ruleBasedMatches");
|
|
599
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
907
600
|
const query = (0, smithy_client_1.map)({
|
|
908
|
-
|
|
909
|
-
|
|
601
|
+
[_nt]: [, input[_NT]],
|
|
602
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
910
603
|
});
|
|
911
604
|
let body;
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
hostname,
|
|
915
|
-
port,
|
|
916
|
-
method: "GET",
|
|
917
|
-
headers,
|
|
918
|
-
path: resolvedPath,
|
|
919
|
-
query,
|
|
920
|
-
body,
|
|
921
|
-
});
|
|
605
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
606
|
+
return b.build();
|
|
922
607
|
};
|
|
923
608
|
exports.se_ListRuleBasedMatchesCommand = se_ListRuleBasedMatchesCommand;
|
|
924
609
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
925
|
-
const
|
|
610
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
926
611
|
const headers = {};
|
|
927
|
-
|
|
928
|
-
|
|
612
|
+
b.bp("/tags/{resourceArn}");
|
|
613
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
929
614
|
let body;
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
hostname,
|
|
933
|
-
port,
|
|
934
|
-
method: "GET",
|
|
935
|
-
headers,
|
|
936
|
-
path: resolvedPath,
|
|
937
|
-
body,
|
|
938
|
-
});
|
|
615
|
+
b.m("GET").h(headers).b(body);
|
|
616
|
+
return b.build();
|
|
939
617
|
};
|
|
940
618
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
941
619
|
const se_ListWorkflowsCommand = async (input, context) => {
|
|
942
|
-
const
|
|
620
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
943
621
|
const headers = {
|
|
944
622
|
"content-type": "application/json",
|
|
945
623
|
};
|
|
946
|
-
|
|
947
|
-
|
|
624
|
+
b.bp("/domains/{DomainName}/workflows");
|
|
625
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
948
626
|
const query = (0, smithy_client_1.map)({
|
|
949
|
-
|
|
950
|
-
|
|
627
|
+
[_nt]: [, input[_NT]],
|
|
628
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
951
629
|
});
|
|
952
630
|
let body;
|
|
953
631
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
@@ -956,50 +634,34 @@ const se_ListWorkflowsCommand = async (input, context) => {
|
|
|
956
634
|
Status: [],
|
|
957
635
|
WorkflowType: [],
|
|
958
636
|
}));
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
hostname,
|
|
962
|
-
port,
|
|
963
|
-
method: "POST",
|
|
964
|
-
headers,
|
|
965
|
-
path: resolvedPath,
|
|
966
|
-
query,
|
|
967
|
-
body,
|
|
968
|
-
});
|
|
637
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
638
|
+
return b.build();
|
|
969
639
|
};
|
|
970
640
|
exports.se_ListWorkflowsCommand = se_ListWorkflowsCommand;
|
|
971
641
|
const se_MergeProfilesCommand = async (input, context) => {
|
|
972
|
-
const
|
|
642
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
973
643
|
const headers = {
|
|
974
644
|
"content-type": "application/json",
|
|
975
645
|
};
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
646
|
+
b.bp("/domains/{DomainName}/profiles/objects/merge");
|
|
647
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
979
648
|
let body;
|
|
980
649
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
981
650
|
FieldSourceProfileIds: (_) => (0, smithy_client_1._json)(_),
|
|
982
651
|
MainProfileId: [],
|
|
983
652
|
ProfileIdsToBeMerged: (_) => (0, smithy_client_1._json)(_),
|
|
984
653
|
}));
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
hostname,
|
|
988
|
-
port,
|
|
989
|
-
method: "POST",
|
|
990
|
-
headers,
|
|
991
|
-
path: resolvedPath,
|
|
992
|
-
body,
|
|
993
|
-
});
|
|
654
|
+
b.m("POST").h(headers).b(body);
|
|
655
|
+
return b.build();
|
|
994
656
|
};
|
|
995
657
|
exports.se_MergeProfilesCommand = se_MergeProfilesCommand;
|
|
996
658
|
const se_PutIntegrationCommand = async (input, context) => {
|
|
997
|
-
const
|
|
659
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
998
660
|
const headers = {
|
|
999
661
|
"content-type": "application/json",
|
|
1000
662
|
};
|
|
1001
|
-
|
|
1002
|
-
|
|
663
|
+
b.bp("/domains/{DomainName}/integrations");
|
|
664
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1003
665
|
let body;
|
|
1004
666
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1005
667
|
FlowDefinition: (_) => se_FlowDefinition(_, context),
|
|
@@ -1008,49 +670,34 @@ const se_PutIntegrationCommand = async (input, context) => {
|
|
|
1008
670
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
1009
671
|
Uri: [],
|
|
1010
672
|
}));
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
hostname,
|
|
1014
|
-
port,
|
|
1015
|
-
method: "PUT",
|
|
1016
|
-
headers,
|
|
1017
|
-
path: resolvedPath,
|
|
1018
|
-
body,
|
|
1019
|
-
});
|
|
673
|
+
b.m("PUT").h(headers).b(body);
|
|
674
|
+
return b.build();
|
|
1020
675
|
};
|
|
1021
676
|
exports.se_PutIntegrationCommand = se_PutIntegrationCommand;
|
|
1022
677
|
const se_PutProfileObjectCommand = async (input, context) => {
|
|
1023
|
-
const
|
|
678
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1024
679
|
const headers = {
|
|
1025
680
|
"content-type": "application/json",
|
|
1026
681
|
};
|
|
1027
|
-
|
|
1028
|
-
|
|
682
|
+
b.bp("/domains/{DomainName}/profiles/objects");
|
|
683
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1029
684
|
let body;
|
|
1030
685
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1031
686
|
Object: [],
|
|
1032
687
|
ObjectTypeName: [],
|
|
1033
688
|
}));
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
hostname,
|
|
1037
|
-
port,
|
|
1038
|
-
method: "PUT",
|
|
1039
|
-
headers,
|
|
1040
|
-
path: resolvedPath,
|
|
1041
|
-
body,
|
|
1042
|
-
});
|
|
689
|
+
b.m("PUT").h(headers).b(body);
|
|
690
|
+
return b.build();
|
|
1043
691
|
};
|
|
1044
692
|
exports.se_PutProfileObjectCommand = se_PutProfileObjectCommand;
|
|
1045
693
|
const se_PutProfileObjectTypeCommand = async (input, context) => {
|
|
1046
|
-
const
|
|
694
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1047
695
|
const headers = {
|
|
1048
696
|
"content-type": "application/json",
|
|
1049
697
|
};
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ObjectTypeName", () => input.ObjectTypeName, "{ObjectTypeName}", false);
|
|
698
|
+
b.bp("/domains/{DomainName}/object-types/{ObjectTypeName}");
|
|
699
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
700
|
+
b.p("ObjectTypeName", () => input.ObjectTypeName, "{ObjectTypeName}", false);
|
|
1054
701
|
let body;
|
|
1055
702
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1056
703
|
AllowProfileCreation: [],
|
|
@@ -1063,27 +710,20 @@ const se_PutProfileObjectTypeCommand = async (input, context) => {
|
|
|
1063
710
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
1064
711
|
TemplateId: [],
|
|
1065
712
|
}));
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
hostname,
|
|
1069
|
-
port,
|
|
1070
|
-
method: "PUT",
|
|
1071
|
-
headers,
|
|
1072
|
-
path: resolvedPath,
|
|
1073
|
-
body,
|
|
1074
|
-
});
|
|
713
|
+
b.m("PUT").h(headers).b(body);
|
|
714
|
+
return b.build();
|
|
1075
715
|
};
|
|
1076
716
|
exports.se_PutProfileObjectTypeCommand = se_PutProfileObjectTypeCommand;
|
|
1077
717
|
const se_SearchProfilesCommand = async (input, context) => {
|
|
1078
|
-
const
|
|
718
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1079
719
|
const headers = {
|
|
1080
720
|
"content-type": "application/json",
|
|
1081
721
|
};
|
|
1082
|
-
|
|
1083
|
-
|
|
722
|
+
b.bp("/domains/{DomainName}/profiles/search");
|
|
723
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1084
724
|
const query = (0, smithy_client_1.map)({
|
|
1085
|
-
|
|
1086
|
-
|
|
725
|
+
[_nt]: [, input[_NT]],
|
|
726
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1087
727
|
});
|
|
1088
728
|
let body;
|
|
1089
729
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
@@ -1092,97 +732,66 @@ const se_SearchProfilesCommand = async (input, context) => {
|
|
|
1092
732
|
LogicalOperator: [],
|
|
1093
733
|
Values: (_) => (0, smithy_client_1._json)(_),
|
|
1094
734
|
}));
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
hostname,
|
|
1098
|
-
port,
|
|
1099
|
-
method: "POST",
|
|
1100
|
-
headers,
|
|
1101
|
-
path: resolvedPath,
|
|
1102
|
-
query,
|
|
1103
|
-
body,
|
|
1104
|
-
});
|
|
735
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
736
|
+
return b.build();
|
|
1105
737
|
};
|
|
1106
738
|
exports.se_SearchProfilesCommand = se_SearchProfilesCommand;
|
|
1107
739
|
const se_TagResourceCommand = async (input, context) => {
|
|
1108
|
-
const
|
|
740
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1109
741
|
const headers = {
|
|
1110
742
|
"content-type": "application/json",
|
|
1111
743
|
};
|
|
1112
|
-
|
|
1113
|
-
|
|
744
|
+
b.bp("/tags/{resourceArn}");
|
|
745
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1114
746
|
let body;
|
|
1115
747
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1116
748
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
1117
749
|
}));
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
hostname,
|
|
1121
|
-
port,
|
|
1122
|
-
method: "POST",
|
|
1123
|
-
headers,
|
|
1124
|
-
path: resolvedPath,
|
|
1125
|
-
body,
|
|
1126
|
-
});
|
|
750
|
+
b.m("POST").h(headers).b(body);
|
|
751
|
+
return b.build();
|
|
1127
752
|
};
|
|
1128
753
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
1129
754
|
const se_UntagResourceCommand = async (input, context) => {
|
|
1130
|
-
const
|
|
755
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1131
756
|
const headers = {};
|
|
1132
|
-
|
|
1133
|
-
|
|
757
|
+
b.bp("/tags/{resourceArn}");
|
|
758
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1134
759
|
const query = (0, smithy_client_1.map)({
|
|
1135
|
-
|
|
760
|
+
[_tK]: [
|
|
1136
761
|
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
1137
|
-
() => (input
|
|
762
|
+
() => (input[_tK] || []).map((_entry) => _entry),
|
|
1138
763
|
],
|
|
1139
764
|
});
|
|
1140
765
|
let body;
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
hostname,
|
|
1144
|
-
port,
|
|
1145
|
-
method: "DELETE",
|
|
1146
|
-
headers,
|
|
1147
|
-
path: resolvedPath,
|
|
1148
|
-
query,
|
|
1149
|
-
body,
|
|
1150
|
-
});
|
|
766
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
767
|
+
return b.build();
|
|
1151
768
|
};
|
|
1152
769
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
1153
770
|
const se_UpdateCalculatedAttributeDefinitionCommand = async (input, context) => {
|
|
1154
|
-
const
|
|
771
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1155
772
|
const headers = {
|
|
1156
773
|
"content-type": "application/json",
|
|
1157
774
|
};
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CalculatedAttributeName", () => input.CalculatedAttributeName, "{CalculatedAttributeName}", false);
|
|
775
|
+
b.bp("/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}");
|
|
776
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
777
|
+
b.p("CalculatedAttributeName", () => input.CalculatedAttributeName, "{CalculatedAttributeName}", false);
|
|
1162
778
|
let body;
|
|
1163
779
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1164
780
|
Conditions: (_) => (0, smithy_client_1._json)(_),
|
|
1165
781
|
Description: [],
|
|
1166
782
|
DisplayName: [],
|
|
1167
783
|
}));
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
hostname,
|
|
1171
|
-
port,
|
|
1172
|
-
method: "PUT",
|
|
1173
|
-
headers,
|
|
1174
|
-
path: resolvedPath,
|
|
1175
|
-
body,
|
|
1176
|
-
});
|
|
784
|
+
b.m("PUT").h(headers).b(body);
|
|
785
|
+
return b.build();
|
|
1177
786
|
};
|
|
1178
787
|
exports.se_UpdateCalculatedAttributeDefinitionCommand = se_UpdateCalculatedAttributeDefinitionCommand;
|
|
1179
788
|
const se_UpdateDomainCommand = async (input, context) => {
|
|
1180
|
-
const
|
|
789
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1181
790
|
const headers = {
|
|
1182
791
|
"content-type": "application/json",
|
|
1183
792
|
};
|
|
1184
|
-
|
|
1185
|
-
|
|
793
|
+
b.bp("/domains/{DomainName}");
|
|
794
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1186
795
|
let body;
|
|
1187
796
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1188
797
|
DeadLetterQueueUrl: [],
|
|
@@ -1192,24 +801,17 @@ const se_UpdateDomainCommand = async (input, context) => {
|
|
|
1192
801
|
RuleBasedMatching: (_) => (0, smithy_client_1._json)(_),
|
|
1193
802
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
1194
803
|
}));
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
hostname,
|
|
1198
|
-
port,
|
|
1199
|
-
method: "PUT",
|
|
1200
|
-
headers,
|
|
1201
|
-
path: resolvedPath,
|
|
1202
|
-
body,
|
|
1203
|
-
});
|
|
804
|
+
b.m("PUT").h(headers).b(body);
|
|
805
|
+
return b.build();
|
|
1204
806
|
};
|
|
1205
807
|
exports.se_UpdateDomainCommand = se_UpdateDomainCommand;
|
|
1206
808
|
const se_UpdateProfileCommand = async (input, context) => {
|
|
1207
|
-
const
|
|
809
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1208
810
|
const headers = {
|
|
1209
811
|
"content-type": "application/json",
|
|
1210
812
|
};
|
|
1211
|
-
|
|
1212
|
-
|
|
813
|
+
b.bp("/domains/{DomainName}/profiles");
|
|
814
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
1213
815
|
let body;
|
|
1214
816
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1215
817
|
AccountNumber: [],
|
|
@@ -1237,15 +839,8 @@ const se_UpdateProfileCommand = async (input, context) => {
|
|
|
1237
839
|
ProfileId: [],
|
|
1238
840
|
ShippingAddress: (_) => (0, smithy_client_1._json)(_),
|
|
1239
841
|
}));
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
hostname,
|
|
1243
|
-
port,
|
|
1244
|
-
method: "PUT",
|
|
1245
|
-
headers,
|
|
1246
|
-
path: resolvedPath,
|
|
1247
|
-
body,
|
|
1248
|
-
});
|
|
842
|
+
b.m("PUT").h(headers).b(body);
|
|
843
|
+
return b.build();
|
|
1249
844
|
};
|
|
1250
845
|
exports.se_UpdateProfileCommand = se_UpdateProfileCommand;
|
|
1251
846
|
const de_AddProfileKeyCommand = async (output, context) => {
|
|
@@ -4098,6 +3693,13 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
4098
3693
|
value !== "" &&
|
|
4099
3694
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
4100
3695
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
3696
|
+
const _IH = "IncludeHidden";
|
|
3697
|
+
const _MR = "MaxResults";
|
|
3698
|
+
const _NT = "NextToken";
|
|
3699
|
+
const _ih = "include-hidden";
|
|
3700
|
+
const _mr = "max-results";
|
|
3701
|
+
const _nt = "next-token";
|
|
3702
|
+
const _tK = "tagKeys";
|
|
4101
3703
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4102
3704
|
if (encoded.length) {
|
|
4103
3705
|
return JSON.parse(encoded);
|