@aws-sdk/client-customer-profiles 3.693.0 → 3.696.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/README.md +104 -0
- package/dist-cjs/index.js +1265 -46
- package/dist-es/CustomerProfiles.js +26 -0
- package/dist-es/commands/BatchGetCalculatedAttributeForProfileCommand.js +23 -0
- package/dist-es/commands/BatchGetProfileCommand.js +23 -0
- package/dist-es/commands/CreateSegmentDefinitionCommand.js +23 -0
- package/dist-es/commands/CreateSegmentEstimateCommand.js +23 -0
- package/dist-es/commands/CreateSegmentSnapshotCommand.js +22 -0
- package/dist-es/commands/DeleteSegmentDefinitionCommand.js +22 -0
- package/dist-es/commands/GetSegmentDefinitionCommand.js +23 -0
- package/dist-es/commands/GetSegmentEstimateCommand.js +22 -0
- package/dist-es/commands/GetSegmentMembershipCommand.js +23 -0
- package/dist-es/commands/GetSegmentSnapshotCommand.js +22 -0
- package/dist-es/commands/ListObjectTypeAttributesCommand.js +22 -0
- package/dist-es/commands/ListProfileAttributeValuesCommand.js +22 -0
- package/dist-es/commands/ListSegmentDefinitionsCommand.js +23 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/models_0.js +208 -34
- package/dist-es/pagination/GetSimilarProfilesPaginator.js +4 -0
- package/dist-es/pagination/ListObjectTypeAttributesPaginator.js +4 -0
- package/dist-es/pagination/ListRuleBasedMatchesPaginator.js +4 -0
- package/dist-es/pagination/ListSegmentDefinitionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +739 -2
- package/dist-types/CustomerProfiles.d.ts +91 -0
- package/dist-types/CustomerProfilesClient.d.ts +15 -2
- package/dist-types/commands/BatchGetCalculatedAttributeForProfileCommand.d.ts +119 -0
- package/dist-types/commands/BatchGetProfileCommand.d.ts +177 -0
- package/dist-types/commands/CreateCalculatedAttributeDefinitionCommand.d.ts +40 -0
- package/dist-types/commands/CreateSegmentDefinitionCommand.d.ts +221 -0
- package/dist-types/commands/CreateSegmentEstimateCommand.d.ts +210 -0
- package/dist-types/commands/CreateSegmentSnapshotCommand.d.ts +91 -0
- package/dist-types/commands/DeleteSegmentDefinitionCommand.d.ts +87 -0
- package/dist-types/commands/DetectProfileObjectTypeCommand.d.ts +1 -1
- package/dist-types/commands/GetCalculatedAttributeDefinitionCommand.d.ts +20 -0
- package/dist-types/commands/GetProfileObjectTypeCommand.d.ts +1 -1
- package/dist-types/commands/GetProfileObjectTypeTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentDefinitionCommand.d.ts +216 -0
- package/dist-types/commands/GetSegmentEstimateCommand.d.ts +92 -0
- package/dist-types/commands/GetSegmentMembershipCommand.d.ts +183 -0
- package/dist-types/commands/GetSegmentSnapshotCommand.d.ts +94 -0
- package/dist-types/commands/ListObjectTypeAttributesCommand.d.ts +95 -0
- package/dist-types/commands/ListProfileAttributeValuesCommand.d.ts +94 -0
- package/dist-types/commands/ListSegmentDefinitionsCommand.d.ts +100 -0
- package/dist-types/commands/PutProfileObjectTypeCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +2277 -826
- package/dist-types/pagination/GetSimilarProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListObjectTypeAttributesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRuleBasedMatchesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSegmentDefinitionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
- package/dist-types/ts3.4/CustomerProfiles.d.ts +227 -0
- package/dist-types/ts3.4/CustomerProfilesClient.d.ts +78 -0
- package/dist-types/ts3.4/commands/BatchGetCalculatedAttributeForProfileCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchGetProfileCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateSegmentDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateSegmentEstimateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateSegmentSnapshotCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteSegmentDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSegmentDefinitionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSegmentEstimateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSegmentMembershipCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSegmentSnapshotCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListObjectTypeAttributesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListProfileAttributeValuesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListSegmentDefinitionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +503 -44
- package/dist-types/ts3.4/pagination/GetSimilarProfilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListObjectTypeAttributesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRuleBasedMatchesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSegmentDefinitionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
- package/package.json +35 -35
|
@@ -65,6 +65,13 @@ export class ThrottlingException extends __BaseException {
|
|
|
65
65
|
this.Message = opts.Message;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
+
export const StringDimensionType = {
|
|
69
|
+
BEGINS_WITH: "BEGINS_WITH",
|
|
70
|
+
CONTAINS: "CONTAINS",
|
|
71
|
+
ENDS_WITH: "ENDS_WITH",
|
|
72
|
+
EXCLUSIVE: "EXCLUSIVE",
|
|
73
|
+
INCLUSIVE: "INCLUSIVE",
|
|
74
|
+
};
|
|
68
75
|
export const SourceConnectorType = {
|
|
69
76
|
MARKETO: "Marketo",
|
|
70
77
|
S3: "S3",
|
|
@@ -217,6 +224,40 @@ export const Status = {
|
|
|
217
224
|
RETRY: "RETRY",
|
|
218
225
|
SPLIT: "SPLIT",
|
|
219
226
|
};
|
|
227
|
+
export const AttributeDimensionType = {
|
|
228
|
+
AFTER: "AFTER",
|
|
229
|
+
BEFORE: "BEFORE",
|
|
230
|
+
BEGINS_WITH: "BEGINS_WITH",
|
|
231
|
+
BETWEEN: "BETWEEN",
|
|
232
|
+
CONTAINS: "CONTAINS",
|
|
233
|
+
ENDS_WITH: "ENDS_WITH",
|
|
234
|
+
EQUAL: "EQUAL",
|
|
235
|
+
EXCLUSIVE: "EXCLUSIVE",
|
|
236
|
+
GREATER_THAN: "GREATER_THAN",
|
|
237
|
+
GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL",
|
|
238
|
+
INCLUSIVE: "INCLUSIVE",
|
|
239
|
+
LESS_THAN: "LESS_THAN",
|
|
240
|
+
LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL",
|
|
241
|
+
NOT_BETWEEN: "NOT_BETWEEN",
|
|
242
|
+
ON: "ON",
|
|
243
|
+
};
|
|
244
|
+
export const FilterDimensionType = {
|
|
245
|
+
AFTER: "AFTER",
|
|
246
|
+
BEFORE: "BEFORE",
|
|
247
|
+
BEGINS_WITH: "BEGINS_WITH",
|
|
248
|
+
BETWEEN: "BETWEEN",
|
|
249
|
+
CONTAINS: "CONTAINS",
|
|
250
|
+
ENDS_WITH: "ENDS_WITH",
|
|
251
|
+
EQUAL: "EQUAL",
|
|
252
|
+
EXCLUSIVE: "EXCLUSIVE",
|
|
253
|
+
GREATER_THAN: "GREATER_THAN",
|
|
254
|
+
GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL",
|
|
255
|
+
INCLUSIVE: "INCLUSIVE",
|
|
256
|
+
LESS_THAN: "LESS_THAN",
|
|
257
|
+
LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL",
|
|
258
|
+
NOT_BETWEEN: "NOT_BETWEEN",
|
|
259
|
+
ON: "ON",
|
|
260
|
+
};
|
|
220
261
|
export const AttributeMatchingModel = {
|
|
221
262
|
MANY_TO_MANY: "MANY_TO_MANY",
|
|
222
263
|
ONE_TO_ONE: "ONE_TO_ONE",
|
|
@@ -225,6 +266,19 @@ export const ConflictResolvingModel = {
|
|
|
225
266
|
RECENCY: "RECENCY",
|
|
226
267
|
SOURCE: "SOURCE",
|
|
227
268
|
};
|
|
269
|
+
export const RangeUnit = {
|
|
270
|
+
DAYS: "DAYS",
|
|
271
|
+
};
|
|
272
|
+
export const Gender = {
|
|
273
|
+
FEMALE: "FEMALE",
|
|
274
|
+
MALE: "MALE",
|
|
275
|
+
UNSPECIFIED: "UNSPECIFIED",
|
|
276
|
+
};
|
|
277
|
+
export const PartyType = {
|
|
278
|
+
BUSINESS: "BUSINESS",
|
|
279
|
+
INDIVIDUAL: "INDIVIDUAL",
|
|
280
|
+
OTHER: "OTHER",
|
|
281
|
+
};
|
|
228
282
|
export const Unit = {
|
|
229
283
|
DAYS: "DAYS",
|
|
230
284
|
};
|
|
@@ -234,6 +288,16 @@ export const Operator = {
|
|
|
234
288
|
LESS_THAN: "LESS_THAN",
|
|
235
289
|
NOT_EQUAL_TO: "NOT_EQUAL_TO",
|
|
236
290
|
};
|
|
291
|
+
export const Type = {
|
|
292
|
+
ALL: "ALL",
|
|
293
|
+
ANY: "ANY",
|
|
294
|
+
NONE: "NONE",
|
|
295
|
+
};
|
|
296
|
+
export const Include = {
|
|
297
|
+
ALL: "ALL",
|
|
298
|
+
ANY: "ANY",
|
|
299
|
+
NONE: "NONE",
|
|
300
|
+
};
|
|
237
301
|
export const Statistic = {
|
|
238
302
|
AVERAGE: "AVERAGE",
|
|
239
303
|
COUNT: "COUNT",
|
|
@@ -261,15 +325,32 @@ export const RuleBasedMatchingStatus = {
|
|
|
261
325
|
export const WorkflowType = {
|
|
262
326
|
APPFLOW_INTEGRATION: "APPFLOW_INTEGRATION",
|
|
263
327
|
};
|
|
264
|
-
export const
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
328
|
+
export const DateDimensionType = {
|
|
329
|
+
AFTER: "AFTER",
|
|
330
|
+
BEFORE: "BEFORE",
|
|
331
|
+
BETWEEN: "BETWEEN",
|
|
332
|
+
NOT_BETWEEN: "NOT_BETWEEN",
|
|
333
|
+
ON: "ON",
|
|
268
334
|
};
|
|
269
|
-
export
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
335
|
+
export var Dimension;
|
|
336
|
+
(function (Dimension) {
|
|
337
|
+
Dimension.visit = (value, visitor) => {
|
|
338
|
+
if (value.ProfileAttributes !== undefined)
|
|
339
|
+
return visitor.ProfileAttributes(value.ProfileAttributes);
|
|
340
|
+
if (value.CalculatedAttributes !== undefined)
|
|
341
|
+
return visitor.CalculatedAttributes(value.CalculatedAttributes);
|
|
342
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
343
|
+
};
|
|
344
|
+
})(Dimension || (Dimension = {}));
|
|
345
|
+
export const IncludeOptions = {
|
|
346
|
+
ALL: "ALL",
|
|
347
|
+
ANY: "ANY",
|
|
348
|
+
NONE: "NONE",
|
|
349
|
+
};
|
|
350
|
+
export const DataFormat = {
|
|
351
|
+
CSV: "CSV",
|
|
352
|
+
JSONL: "JSONL",
|
|
353
|
+
ORC: "ORC",
|
|
273
354
|
};
|
|
274
355
|
export const FieldContentType = {
|
|
275
356
|
EMAIL_ADDRESS: "EMAIL_ADDRESS",
|
|
@@ -281,6 +362,7 @@ export const FieldContentType = {
|
|
|
281
362
|
export const StandardIdentifier = {
|
|
282
363
|
ASSET: "ASSET",
|
|
283
364
|
CASE: "CASE",
|
|
365
|
+
COMMUNICATION_RECORD: "COMMUNICATION_RECORD",
|
|
284
366
|
LOOKUP_ONLY: "LOOKUP_ONLY",
|
|
285
367
|
NEW_ONLY: "NEW_ONLY",
|
|
286
368
|
ORDER: "ORDER",
|
|
@@ -305,6 +387,20 @@ export const IdentityResolutionJobStatus = {
|
|
|
305
387
|
PENDING: "PENDING",
|
|
306
388
|
PREPROCESSING: "PREPROCESSING",
|
|
307
389
|
};
|
|
390
|
+
export const EstimateStatus = {
|
|
391
|
+
FAILED: "FAILED",
|
|
392
|
+
RUNNING: "RUNNING",
|
|
393
|
+
SUCCEEDED: "SUCCEEDED",
|
|
394
|
+
};
|
|
395
|
+
export const QueryResult = {
|
|
396
|
+
ABSENT: "ABSENT",
|
|
397
|
+
PRESENT: "PRESENT",
|
|
398
|
+
};
|
|
399
|
+
export const SegmentSnapshotStatus = {
|
|
400
|
+
COMPLETED: "COMPLETED",
|
|
401
|
+
FAILED: "FAILED",
|
|
402
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
403
|
+
};
|
|
308
404
|
export const MatchType = {
|
|
309
405
|
ML_BASED_MATCHING: "ML_BASED_MATCHING",
|
|
310
406
|
RULE_BASED_MATCHING: "RULE_BASED_MATCHING",
|
|
@@ -326,10 +422,55 @@ export const AppflowIntegrationFilterSensitiveLog = (obj) => ({
|
|
|
326
422
|
export const AttributeDetailsFilterSensitiveLog = (obj) => ({
|
|
327
423
|
...obj,
|
|
328
424
|
});
|
|
425
|
+
export const ConditionOverridesFilterSensitiveLog = (obj) => ({
|
|
426
|
+
...obj,
|
|
427
|
+
});
|
|
428
|
+
export const BatchGetCalculatedAttributeForProfileRequestFilterSensitiveLog = (obj) => ({
|
|
429
|
+
...obj,
|
|
430
|
+
...(obj.ConditionOverrides && { ConditionOverrides: SENSITIVE_STRING }),
|
|
431
|
+
});
|
|
432
|
+
export const BatchGetCalculatedAttributeForProfileResponseFilterSensitiveLog = (obj) => ({
|
|
433
|
+
...obj,
|
|
434
|
+
...(obj.ConditionOverrides && { ConditionOverrides: SENSITIVE_STRING }),
|
|
435
|
+
});
|
|
436
|
+
export const ProfileFilterSensitiveLog = (obj) => ({
|
|
437
|
+
...obj,
|
|
438
|
+
...(obj.AccountNumber && { AccountNumber: SENSITIVE_STRING }),
|
|
439
|
+
...(obj.AdditionalInformation && { AdditionalInformation: SENSITIVE_STRING }),
|
|
440
|
+
...(obj.PartyType && { PartyType: SENSITIVE_STRING }),
|
|
441
|
+
...(obj.BusinessName && { BusinessName: SENSITIVE_STRING }),
|
|
442
|
+
...(obj.FirstName && { FirstName: SENSITIVE_STRING }),
|
|
443
|
+
...(obj.MiddleName && { MiddleName: SENSITIVE_STRING }),
|
|
444
|
+
...(obj.LastName && { LastName: SENSITIVE_STRING }),
|
|
445
|
+
...(obj.BirthDate && { BirthDate: SENSITIVE_STRING }),
|
|
446
|
+
...(obj.Gender && { Gender: SENSITIVE_STRING }),
|
|
447
|
+
...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }),
|
|
448
|
+
...(obj.MobilePhoneNumber && { MobilePhoneNumber: SENSITIVE_STRING }),
|
|
449
|
+
...(obj.HomePhoneNumber && { HomePhoneNumber: SENSITIVE_STRING }),
|
|
450
|
+
...(obj.BusinessPhoneNumber && { BusinessPhoneNumber: SENSITIVE_STRING }),
|
|
451
|
+
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
452
|
+
...(obj.PersonalEmailAddress && { PersonalEmailAddress: SENSITIVE_STRING }),
|
|
453
|
+
...(obj.BusinessEmailAddress && { BusinessEmailAddress: SENSITIVE_STRING }),
|
|
454
|
+
...(obj.Address && { Address: SENSITIVE_STRING }),
|
|
455
|
+
...(obj.ShippingAddress && { ShippingAddress: SENSITIVE_STRING }),
|
|
456
|
+
...(obj.MailingAddress && { MailingAddress: SENSITIVE_STRING }),
|
|
457
|
+
...(obj.BillingAddress && { BillingAddress: SENSITIVE_STRING }),
|
|
458
|
+
...(obj.Attributes && { Attributes: SENSITIVE_STRING }),
|
|
459
|
+
...(obj.PartyTypeString && { PartyTypeString: SENSITIVE_STRING }),
|
|
460
|
+
...(obj.GenderString && { GenderString: SENSITIVE_STRING }),
|
|
461
|
+
});
|
|
462
|
+
export const BatchGetProfileResponseFilterSensitiveLog = (obj) => ({
|
|
463
|
+
...obj,
|
|
464
|
+
...(obj.Profiles && { Profiles: obj.Profiles.map((item) => ProfileFilterSensitiveLog(item)) }),
|
|
465
|
+
});
|
|
329
466
|
export const ListCalculatedAttributeDefinitionItemFilterSensitiveLog = (obj) => ({
|
|
330
467
|
...obj,
|
|
331
468
|
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
332
469
|
});
|
|
470
|
+
export const CalculatedAttributeDimensionFilterSensitiveLog = (obj) => ({
|
|
471
|
+
...obj,
|
|
472
|
+
...(obj.ConditionOverrides && { ConditionOverrides: SENSITIVE_STRING }),
|
|
473
|
+
});
|
|
333
474
|
export const ConditionsFilterSensitiveLog = (obj) => ({
|
|
334
475
|
...obj,
|
|
335
476
|
});
|
|
@@ -381,6 +522,44 @@ export const CreateProfileRequestFilterSensitiveLog = (obj) => ({
|
|
|
381
522
|
...(obj.PartyTypeString && { PartyTypeString: SENSITIVE_STRING }),
|
|
382
523
|
...(obj.GenderString && { GenderString: SENSITIVE_STRING }),
|
|
383
524
|
});
|
|
525
|
+
export const ProfileAttributesFilterSensitiveLog = (obj) => ({
|
|
526
|
+
...obj,
|
|
527
|
+
});
|
|
528
|
+
export const DimensionFilterSensitiveLog = (obj) => {
|
|
529
|
+
if (obj.ProfileAttributes !== undefined)
|
|
530
|
+
return { ProfileAttributes: SENSITIVE_STRING };
|
|
531
|
+
if (obj.CalculatedAttributes !== undefined)
|
|
532
|
+
return {
|
|
533
|
+
CalculatedAttributes: Object.entries(obj.CalculatedAttributes).reduce((acc, [key, value]) => ((acc[key] = CalculatedAttributeDimensionFilterSensitiveLog(value)), acc), {}),
|
|
534
|
+
};
|
|
535
|
+
if (obj.$unknown !== undefined)
|
|
536
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
537
|
+
};
|
|
538
|
+
export const GroupFilterSensitiveLog = (obj) => ({
|
|
539
|
+
...obj,
|
|
540
|
+
...(obj.Dimensions && { Dimensions: obj.Dimensions.map((item) => DimensionFilterSensitiveLog(item)) }),
|
|
541
|
+
});
|
|
542
|
+
export const SegmentGroupFilterSensitiveLog = (obj) => ({
|
|
543
|
+
...obj,
|
|
544
|
+
...(obj.Groups && { Groups: obj.Groups.map((item) => GroupFilterSensitiveLog(item)) }),
|
|
545
|
+
});
|
|
546
|
+
export const CreateSegmentDefinitionRequestFilterSensitiveLog = (obj) => ({
|
|
547
|
+
...obj,
|
|
548
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
549
|
+
...(obj.SegmentGroups && { SegmentGroups: SENSITIVE_STRING }),
|
|
550
|
+
});
|
|
551
|
+
export const CreateSegmentDefinitionResponseFilterSensitiveLog = (obj) => ({
|
|
552
|
+
...obj,
|
|
553
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
554
|
+
});
|
|
555
|
+
export const SegmentGroupStructureFilterSensitiveLog = (obj) => ({
|
|
556
|
+
...obj,
|
|
557
|
+
...(obj.Groups && { Groups: obj.Groups.map((item) => GroupFilterSensitiveLog(item)) }),
|
|
558
|
+
});
|
|
559
|
+
export const CreateSegmentEstimateRequestFilterSensitiveLog = (obj) => ({
|
|
560
|
+
...obj,
|
|
561
|
+
...(obj.SegmentQuery && { SegmentQuery: SegmentGroupStructureFilterSensitiveLog(obj.SegmentQuery) }),
|
|
562
|
+
});
|
|
384
563
|
export const DetectProfileObjectTypeRequestFilterSensitiveLog = (obj) => ({
|
|
385
564
|
...obj,
|
|
386
565
|
...(obj.Objects && { Objects: SENSITIVE_STRING }),
|
|
@@ -414,6 +593,19 @@ export const GetProfileObjectTypeTemplateResponseFilterSensitiveLog = (obj) => (
|
|
|
414
593
|
...(obj.Fields && { Fields: SENSITIVE_STRING }),
|
|
415
594
|
...(obj.Keys && { Keys: SENSITIVE_STRING }),
|
|
416
595
|
});
|
|
596
|
+
export const GetSegmentDefinitionResponseFilterSensitiveLog = (obj) => ({
|
|
597
|
+
...obj,
|
|
598
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
599
|
+
...(obj.SegmentGroups && { SegmentGroups: SENSITIVE_STRING }),
|
|
600
|
+
});
|
|
601
|
+
export const ProfileQueryResultFilterSensitiveLog = (obj) => ({
|
|
602
|
+
...obj,
|
|
603
|
+
...(obj.Profile && { Profile: ProfileFilterSensitiveLog(obj.Profile) }),
|
|
604
|
+
});
|
|
605
|
+
export const GetSegmentMembershipResponseFilterSensitiveLog = (obj) => ({
|
|
606
|
+
...obj,
|
|
607
|
+
...(obj.Profiles && { Profiles: obj.Profiles.map((item) => ProfileQueryResultFilterSensitiveLog(item)) }),
|
|
608
|
+
});
|
|
417
609
|
export const ListCalculatedAttributeDefinitionsResponseFilterSensitiveLog = (obj) => ({
|
|
418
610
|
...obj,
|
|
419
611
|
...(obj.Items && { Items: SENSITIVE_STRING }),
|
|
@@ -430,6 +622,14 @@ export const ListProfileObjectTypesResponseFilterSensitiveLog = (obj) => ({
|
|
|
430
622
|
...obj,
|
|
431
623
|
...(obj.Items && { Items: SENSITIVE_STRING }),
|
|
432
624
|
});
|
|
625
|
+
export const SegmentDefinitionItemFilterSensitiveLog = (obj) => ({
|
|
626
|
+
...obj,
|
|
627
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
628
|
+
});
|
|
629
|
+
export const ListSegmentDefinitionsResponseFilterSensitiveLog = (obj) => ({
|
|
630
|
+
...obj,
|
|
631
|
+
...(obj.Items && { Items: obj.Items.map((item) => SegmentDefinitionItemFilterSensitiveLog(item)) }),
|
|
632
|
+
});
|
|
433
633
|
export const PutIntegrationRequestFilterSensitiveLog = (obj) => ({
|
|
434
634
|
...obj,
|
|
435
635
|
...(obj.FlowDefinition && { FlowDefinition: SENSITIVE_STRING }),
|
|
@@ -450,32 +650,6 @@ export const PutProfileObjectTypeResponseFilterSensitiveLog = (obj) => ({
|
|
|
450
650
|
...(obj.Fields && { Fields: SENSITIVE_STRING }),
|
|
451
651
|
...(obj.Keys && { Keys: SENSITIVE_STRING }),
|
|
452
652
|
});
|
|
453
|
-
export const ProfileFilterSensitiveLog = (obj) => ({
|
|
454
|
-
...obj,
|
|
455
|
-
...(obj.AccountNumber && { AccountNumber: SENSITIVE_STRING }),
|
|
456
|
-
...(obj.AdditionalInformation && { AdditionalInformation: SENSITIVE_STRING }),
|
|
457
|
-
...(obj.PartyType && { PartyType: SENSITIVE_STRING }),
|
|
458
|
-
...(obj.BusinessName && { BusinessName: SENSITIVE_STRING }),
|
|
459
|
-
...(obj.FirstName && { FirstName: SENSITIVE_STRING }),
|
|
460
|
-
...(obj.MiddleName && { MiddleName: SENSITIVE_STRING }),
|
|
461
|
-
...(obj.LastName && { LastName: SENSITIVE_STRING }),
|
|
462
|
-
...(obj.BirthDate && { BirthDate: SENSITIVE_STRING }),
|
|
463
|
-
...(obj.Gender && { Gender: SENSITIVE_STRING }),
|
|
464
|
-
...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }),
|
|
465
|
-
...(obj.MobilePhoneNumber && { MobilePhoneNumber: SENSITIVE_STRING }),
|
|
466
|
-
...(obj.HomePhoneNumber && { HomePhoneNumber: SENSITIVE_STRING }),
|
|
467
|
-
...(obj.BusinessPhoneNumber && { BusinessPhoneNumber: SENSITIVE_STRING }),
|
|
468
|
-
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
469
|
-
...(obj.PersonalEmailAddress && { PersonalEmailAddress: SENSITIVE_STRING }),
|
|
470
|
-
...(obj.BusinessEmailAddress && { BusinessEmailAddress: SENSITIVE_STRING }),
|
|
471
|
-
...(obj.Address && { Address: SENSITIVE_STRING }),
|
|
472
|
-
...(obj.ShippingAddress && { ShippingAddress: SENSITIVE_STRING }),
|
|
473
|
-
...(obj.MailingAddress && { MailingAddress: SENSITIVE_STRING }),
|
|
474
|
-
...(obj.BillingAddress && { BillingAddress: SENSITIVE_STRING }),
|
|
475
|
-
...(obj.Attributes && { Attributes: SENSITIVE_STRING }),
|
|
476
|
-
...(obj.PartyTypeString && { PartyTypeString: SENSITIVE_STRING }),
|
|
477
|
-
...(obj.GenderString && { GenderString: SENSITIVE_STRING }),
|
|
478
|
-
});
|
|
479
653
|
export const SearchProfilesResponseFilterSensitiveLog = (obj) => ({
|
|
480
654
|
...obj,
|
|
481
655
|
...(obj.Items && { Items: obj.Items.map((item) => ProfileFilterSensitiveLog(item)) }),
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { GetSimilarProfilesCommand, } from "../commands/GetSimilarProfilesCommand";
|
|
3
|
+
import { CustomerProfilesClient } from "../CustomerProfilesClient";
|
|
4
|
+
export const paginateGetSimilarProfiles = createPaginator(CustomerProfilesClient, GetSimilarProfilesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListObjectTypeAttributesCommand, } from "../commands/ListObjectTypeAttributesCommand";
|
|
3
|
+
import { CustomerProfilesClient } from "../CustomerProfilesClient";
|
|
4
|
+
export const paginateListObjectTypeAttributes = createPaginator(CustomerProfilesClient, ListObjectTypeAttributesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListRuleBasedMatchesCommand, } from "../commands/ListRuleBasedMatchesCommand";
|
|
3
|
+
import { CustomerProfilesClient } from "../CustomerProfilesClient";
|
|
4
|
+
export const paginateListRuleBasedMatches = createPaginator(CustomerProfilesClient, ListRuleBasedMatchesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListSegmentDefinitionsCommand, } from "../commands/ListSegmentDefinitionsCommand";
|
|
3
|
+
import { CustomerProfilesClient } from "../CustomerProfilesClient";
|
|
4
|
+
export const paginateListSegmentDefinitions = createPaginator(CustomerProfilesClient, ListSegmentDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
export * from "./GetSimilarProfilesPaginator";
|
|
1
2
|
export * from "./Interfaces";
|
|
2
3
|
export * from "./ListEventStreamsPaginator";
|
|
4
|
+
export * from "./ListObjectTypeAttributesPaginator";
|
|
5
|
+
export * from "./ListRuleBasedMatchesPaginator";
|
|
6
|
+
export * from "./ListSegmentDefinitionsPaginator";
|