@aws-sdk/client-customer-profiles 3.928.0 → 3.929.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 +4966 -4728
- 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 -288
- 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 +0 -216
- 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 -148
- 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 +2 -2
- 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,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { CustomerProfilesServiceException as __BaseException } from "./CustomerProfilesServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -496,290 +495,3 @@ export const StatusReason = {
|
|
|
496
495
|
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
497
496
|
VALIDATION_FAILURE: "VALIDATION_FAILURE",
|
|
498
497
|
};
|
|
499
|
-
export const AddressFilterSensitiveLog = (obj) => ({
|
|
500
|
-
...obj,
|
|
501
|
-
});
|
|
502
|
-
export const FlowDefinitionFilterSensitiveLog = (obj) => ({
|
|
503
|
-
...obj,
|
|
504
|
-
});
|
|
505
|
-
export const AppflowIntegrationFilterSensitiveLog = (obj) => ({
|
|
506
|
-
...obj,
|
|
507
|
-
...(obj.FlowDefinition && { FlowDefinition: SENSITIVE_STRING }),
|
|
508
|
-
});
|
|
509
|
-
export const AttributeDetailsFilterSensitiveLog = (obj) => ({
|
|
510
|
-
...obj,
|
|
511
|
-
});
|
|
512
|
-
export const ConditionOverridesFilterSensitiveLog = (obj) => ({
|
|
513
|
-
...obj,
|
|
514
|
-
});
|
|
515
|
-
export const BatchGetCalculatedAttributeForProfileRequestFilterSensitiveLog = (obj) => ({
|
|
516
|
-
...obj,
|
|
517
|
-
...(obj.ConditionOverrides && { ConditionOverrides: SENSITIVE_STRING }),
|
|
518
|
-
});
|
|
519
|
-
export const BatchGetCalculatedAttributeForProfileResponseFilterSensitiveLog = (obj) => ({
|
|
520
|
-
...obj,
|
|
521
|
-
...(obj.ConditionOverrides && { ConditionOverrides: SENSITIVE_STRING }),
|
|
522
|
-
});
|
|
523
|
-
export const EngagementPreferencesFilterSensitiveLog = (obj) => ({
|
|
524
|
-
...obj,
|
|
525
|
-
});
|
|
526
|
-
export const ProfileFilterSensitiveLog = (obj) => ({
|
|
527
|
-
...obj,
|
|
528
|
-
...(obj.AccountNumber && { AccountNumber: SENSITIVE_STRING }),
|
|
529
|
-
...(obj.AdditionalInformation && { AdditionalInformation: SENSITIVE_STRING }),
|
|
530
|
-
...(obj.PartyType && { PartyType: SENSITIVE_STRING }),
|
|
531
|
-
...(obj.BusinessName && { BusinessName: SENSITIVE_STRING }),
|
|
532
|
-
...(obj.FirstName && { FirstName: SENSITIVE_STRING }),
|
|
533
|
-
...(obj.MiddleName && { MiddleName: SENSITIVE_STRING }),
|
|
534
|
-
...(obj.LastName && { LastName: SENSITIVE_STRING }),
|
|
535
|
-
...(obj.BirthDate && { BirthDate: SENSITIVE_STRING }),
|
|
536
|
-
...(obj.Gender && { Gender: SENSITIVE_STRING }),
|
|
537
|
-
...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }),
|
|
538
|
-
...(obj.MobilePhoneNumber && { MobilePhoneNumber: SENSITIVE_STRING }),
|
|
539
|
-
...(obj.HomePhoneNumber && { HomePhoneNumber: SENSITIVE_STRING }),
|
|
540
|
-
...(obj.BusinessPhoneNumber && { BusinessPhoneNumber: SENSITIVE_STRING }),
|
|
541
|
-
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
542
|
-
...(obj.PersonalEmailAddress && { PersonalEmailAddress: SENSITIVE_STRING }),
|
|
543
|
-
...(obj.BusinessEmailAddress && { BusinessEmailAddress: SENSITIVE_STRING }),
|
|
544
|
-
...(obj.Address && { Address: SENSITIVE_STRING }),
|
|
545
|
-
...(obj.ShippingAddress && { ShippingAddress: SENSITIVE_STRING }),
|
|
546
|
-
...(obj.MailingAddress && { MailingAddress: SENSITIVE_STRING }),
|
|
547
|
-
...(obj.BillingAddress && { BillingAddress: SENSITIVE_STRING }),
|
|
548
|
-
...(obj.Attributes && { Attributes: SENSITIVE_STRING }),
|
|
549
|
-
...(obj.PartyTypeString && { PartyTypeString: SENSITIVE_STRING }),
|
|
550
|
-
...(obj.GenderString && { GenderString: SENSITIVE_STRING }),
|
|
551
|
-
...(obj.ProfileType && { ProfileType: SENSITIVE_STRING }),
|
|
552
|
-
...(obj.EngagementPreferences && { EngagementPreferences: SENSITIVE_STRING }),
|
|
553
|
-
});
|
|
554
|
-
export const BatchGetProfileResponseFilterSensitiveLog = (obj) => ({
|
|
555
|
-
...obj,
|
|
556
|
-
...(obj.Profiles && { Profiles: obj.Profiles.map((item) => ProfileFilterSensitiveLog(item)) }),
|
|
557
|
-
});
|
|
558
|
-
export const ListCalculatedAttributeDefinitionItemFilterSensitiveLog = (obj) => ({
|
|
559
|
-
...obj,
|
|
560
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
561
|
-
});
|
|
562
|
-
export const CalculatedAttributeDimensionFilterSensitiveLog = (obj) => ({
|
|
563
|
-
...obj,
|
|
564
|
-
...(obj.ConditionOverrides && { ConditionOverrides: SENSITIVE_STRING }),
|
|
565
|
-
});
|
|
566
|
-
export const ConditionsFilterSensitiveLog = (obj) => ({
|
|
567
|
-
...obj,
|
|
568
|
-
});
|
|
569
|
-
export const CreateCalculatedAttributeDefinitionRequestFilterSensitiveLog = (obj) => ({
|
|
570
|
-
...obj,
|
|
571
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
572
|
-
...(obj.AttributeDetails && { AttributeDetails: SENSITIVE_STRING }),
|
|
573
|
-
...(obj.Conditions && { Conditions: SENSITIVE_STRING }),
|
|
574
|
-
...(obj.Statistic && { Statistic: SENSITIVE_STRING }),
|
|
575
|
-
});
|
|
576
|
-
export const CreateCalculatedAttributeDefinitionResponseFilterSensitiveLog = (obj) => ({
|
|
577
|
-
...obj,
|
|
578
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
579
|
-
...(obj.AttributeDetails && { AttributeDetails: SENSITIVE_STRING }),
|
|
580
|
-
...(obj.Conditions && { Conditions: SENSITIVE_STRING }),
|
|
581
|
-
...(obj.Statistic && { Statistic: SENSITIVE_STRING }),
|
|
582
|
-
});
|
|
583
|
-
export const CreateDomainLayoutRequestFilterSensitiveLog = (obj) => ({
|
|
584
|
-
...obj,
|
|
585
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
586
|
-
...(obj.Layout && { Layout: SENSITIVE_STRING }),
|
|
587
|
-
});
|
|
588
|
-
export const CreateDomainLayoutResponseFilterSensitiveLog = (obj) => ({
|
|
589
|
-
...obj,
|
|
590
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
591
|
-
...(obj.Layout && { Layout: SENSITIVE_STRING }),
|
|
592
|
-
});
|
|
593
|
-
export const CreateEventTriggerRequestFilterSensitiveLog = (obj) => ({
|
|
594
|
-
...obj,
|
|
595
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
596
|
-
...(obj.EventTriggerConditions && { EventTriggerConditions: SENSITIVE_STRING }),
|
|
597
|
-
});
|
|
598
|
-
export const CreateEventTriggerResponseFilterSensitiveLog = (obj) => ({
|
|
599
|
-
...obj,
|
|
600
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
601
|
-
...(obj.EventTriggerConditions && { EventTriggerConditions: SENSITIVE_STRING }),
|
|
602
|
-
});
|
|
603
|
-
export const IntegrationConfigFilterSensitiveLog = (obj) => ({
|
|
604
|
-
...obj,
|
|
605
|
-
...(obj.AppflowIntegration && { AppflowIntegration: AppflowIntegrationFilterSensitiveLog(obj.AppflowIntegration) }),
|
|
606
|
-
});
|
|
607
|
-
export const CreateIntegrationWorkflowRequestFilterSensitiveLog = (obj) => ({
|
|
608
|
-
...obj,
|
|
609
|
-
...(obj.IntegrationConfig && { IntegrationConfig: IntegrationConfigFilterSensitiveLog(obj.IntegrationConfig) }),
|
|
610
|
-
});
|
|
611
|
-
export const CreateProfileRequestFilterSensitiveLog = (obj) => ({
|
|
612
|
-
...obj,
|
|
613
|
-
...(obj.AccountNumber && { AccountNumber: SENSITIVE_STRING }),
|
|
614
|
-
...(obj.AdditionalInformation && { AdditionalInformation: SENSITIVE_STRING }),
|
|
615
|
-
...(obj.PartyType && { PartyType: SENSITIVE_STRING }),
|
|
616
|
-
...(obj.BusinessName && { BusinessName: SENSITIVE_STRING }),
|
|
617
|
-
...(obj.FirstName && { FirstName: SENSITIVE_STRING }),
|
|
618
|
-
...(obj.MiddleName && { MiddleName: SENSITIVE_STRING }),
|
|
619
|
-
...(obj.LastName && { LastName: SENSITIVE_STRING }),
|
|
620
|
-
...(obj.BirthDate && { BirthDate: SENSITIVE_STRING }),
|
|
621
|
-
...(obj.Gender && { Gender: SENSITIVE_STRING }),
|
|
622
|
-
...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }),
|
|
623
|
-
...(obj.MobilePhoneNumber && { MobilePhoneNumber: SENSITIVE_STRING }),
|
|
624
|
-
...(obj.HomePhoneNumber && { HomePhoneNumber: SENSITIVE_STRING }),
|
|
625
|
-
...(obj.BusinessPhoneNumber && { BusinessPhoneNumber: SENSITIVE_STRING }),
|
|
626
|
-
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
627
|
-
...(obj.PersonalEmailAddress && { PersonalEmailAddress: SENSITIVE_STRING }),
|
|
628
|
-
...(obj.BusinessEmailAddress && { BusinessEmailAddress: SENSITIVE_STRING }),
|
|
629
|
-
...(obj.Address && { Address: SENSITIVE_STRING }),
|
|
630
|
-
...(obj.ShippingAddress && { ShippingAddress: SENSITIVE_STRING }),
|
|
631
|
-
...(obj.MailingAddress && { MailingAddress: SENSITIVE_STRING }),
|
|
632
|
-
...(obj.BillingAddress && { BillingAddress: SENSITIVE_STRING }),
|
|
633
|
-
...(obj.Attributes && { Attributes: SENSITIVE_STRING }),
|
|
634
|
-
...(obj.PartyTypeString && { PartyTypeString: SENSITIVE_STRING }),
|
|
635
|
-
...(obj.GenderString && { GenderString: SENSITIVE_STRING }),
|
|
636
|
-
...(obj.ProfileType && { ProfileType: SENSITIVE_STRING }),
|
|
637
|
-
...(obj.EngagementPreferences && { EngagementPreferences: SENSITIVE_STRING }),
|
|
638
|
-
});
|
|
639
|
-
export const ProfileTypeDimensionFilterSensitiveLog = (obj) => ({
|
|
640
|
-
...obj,
|
|
641
|
-
...(obj.Values && { Values: SENSITIVE_STRING }),
|
|
642
|
-
});
|
|
643
|
-
export const ProfileAttributesFilterSensitiveLog = (obj) => ({
|
|
644
|
-
...obj,
|
|
645
|
-
...(obj.ProfileType && { ProfileType: ProfileTypeDimensionFilterSensitiveLog(obj.ProfileType) }),
|
|
646
|
-
});
|
|
647
|
-
export const DimensionFilterSensitiveLog = (obj) => {
|
|
648
|
-
if (obj.ProfileAttributes !== undefined)
|
|
649
|
-
return { ProfileAttributes: SENSITIVE_STRING };
|
|
650
|
-
if (obj.CalculatedAttributes !== undefined)
|
|
651
|
-
return {
|
|
652
|
-
CalculatedAttributes: Object.entries(obj.CalculatedAttributes).reduce((acc, [key, value]) => ((acc[key] = CalculatedAttributeDimensionFilterSensitiveLog(value)), acc), {}),
|
|
653
|
-
};
|
|
654
|
-
if (obj.$unknown !== undefined)
|
|
655
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
656
|
-
};
|
|
657
|
-
export const GroupFilterSensitiveLog = (obj) => ({
|
|
658
|
-
...obj,
|
|
659
|
-
...(obj.Dimensions && { Dimensions: obj.Dimensions.map((item) => DimensionFilterSensitiveLog(item)) }),
|
|
660
|
-
});
|
|
661
|
-
export const SegmentGroupFilterSensitiveLog = (obj) => ({
|
|
662
|
-
...obj,
|
|
663
|
-
...(obj.Groups && { Groups: obj.Groups.map((item) => GroupFilterSensitiveLog(item)) }),
|
|
664
|
-
});
|
|
665
|
-
export const CreateSegmentDefinitionRequestFilterSensitiveLog = (obj) => ({
|
|
666
|
-
...obj,
|
|
667
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
668
|
-
...(obj.SegmentGroups && { SegmentGroups: SENSITIVE_STRING }),
|
|
669
|
-
});
|
|
670
|
-
export const CreateSegmentDefinitionResponseFilterSensitiveLog = (obj) => ({
|
|
671
|
-
...obj,
|
|
672
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
673
|
-
});
|
|
674
|
-
export const SegmentGroupStructureFilterSensitiveLog = (obj) => ({
|
|
675
|
-
...obj,
|
|
676
|
-
...(obj.Groups && { Groups: obj.Groups.map((item) => GroupFilterSensitiveLog(item)) }),
|
|
677
|
-
});
|
|
678
|
-
export const CreateSegmentEstimateRequestFilterSensitiveLog = (obj) => ({
|
|
679
|
-
...obj,
|
|
680
|
-
...(obj.SegmentQuery && { SegmentQuery: SegmentGroupStructureFilterSensitiveLog(obj.SegmentQuery) }),
|
|
681
|
-
});
|
|
682
|
-
export const CreateUploadJobRequestFilterSensitiveLog = (obj) => ({
|
|
683
|
-
...obj,
|
|
684
|
-
...(obj.Fields && { Fields: SENSITIVE_STRING }),
|
|
685
|
-
});
|
|
686
|
-
export const DetectProfileObjectTypeRequestFilterSensitiveLog = (obj) => ({
|
|
687
|
-
...obj,
|
|
688
|
-
...(obj.Objects && { Objects: SENSITIVE_STRING }),
|
|
689
|
-
});
|
|
690
|
-
export const DetectedProfileObjectTypeFilterSensitiveLog = (obj) => ({
|
|
691
|
-
...obj,
|
|
692
|
-
...(obj.Fields && { Fields: SENSITIVE_STRING }),
|
|
693
|
-
...(obj.Keys && { Keys: SENSITIVE_STRING }),
|
|
694
|
-
});
|
|
695
|
-
export const DetectProfileObjectTypeResponseFilterSensitiveLog = (obj) => ({
|
|
696
|
-
...obj,
|
|
697
|
-
...(obj.DetectedProfileObjectTypes && {
|
|
698
|
-
DetectedProfileObjectTypes: obj.DetectedProfileObjectTypes.map((item) => DetectedProfileObjectTypeFilterSensitiveLog(item)),
|
|
699
|
-
}),
|
|
700
|
-
});
|
|
701
|
-
export const GetCalculatedAttributeDefinitionResponseFilterSensitiveLog = (obj) => ({
|
|
702
|
-
...obj,
|
|
703
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
704
|
-
...(obj.Statistic && { Statistic: SENSITIVE_STRING }),
|
|
705
|
-
...(obj.Conditions && { Conditions: SENSITIVE_STRING }),
|
|
706
|
-
...(obj.AttributeDetails && { AttributeDetails: SENSITIVE_STRING }),
|
|
707
|
-
});
|
|
708
|
-
export const GetDomainLayoutResponseFilterSensitiveLog = (obj) => ({
|
|
709
|
-
...obj,
|
|
710
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
711
|
-
...(obj.Layout && { Layout: SENSITIVE_STRING }),
|
|
712
|
-
});
|
|
713
|
-
export const GetEventTriggerResponseFilterSensitiveLog = (obj) => ({
|
|
714
|
-
...obj,
|
|
715
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
716
|
-
...(obj.EventTriggerConditions && { EventTriggerConditions: SENSITIVE_STRING }),
|
|
717
|
-
});
|
|
718
|
-
export const GetProfileHistoryRecordResponseFilterSensitiveLog = (obj) => ({
|
|
719
|
-
...obj,
|
|
720
|
-
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
721
|
-
});
|
|
722
|
-
export const GetProfileObjectTypeResponseFilterSensitiveLog = (obj) => ({
|
|
723
|
-
...obj,
|
|
724
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
725
|
-
...(obj.Fields && { Fields: SENSITIVE_STRING }),
|
|
726
|
-
...(obj.Keys && { Keys: SENSITIVE_STRING }),
|
|
727
|
-
});
|
|
728
|
-
export const GetProfileObjectTypeTemplateResponseFilterSensitiveLog = (obj) => ({
|
|
729
|
-
...obj,
|
|
730
|
-
...(obj.Fields && { Fields: SENSITIVE_STRING }),
|
|
731
|
-
...(obj.Keys && { Keys: SENSITIVE_STRING }),
|
|
732
|
-
});
|
|
733
|
-
export const GetSegmentDefinitionResponseFilterSensitiveLog = (obj) => ({
|
|
734
|
-
...obj,
|
|
735
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
736
|
-
...(obj.SegmentGroups && { SegmentGroups: SENSITIVE_STRING }),
|
|
737
|
-
});
|
|
738
|
-
export const ProfileQueryResultFilterSensitiveLog = (obj) => ({
|
|
739
|
-
...obj,
|
|
740
|
-
...(obj.Profile && { Profile: ProfileFilterSensitiveLog(obj.Profile) }),
|
|
741
|
-
});
|
|
742
|
-
export const GetSegmentMembershipResponseFilterSensitiveLog = (obj) => ({
|
|
743
|
-
...obj,
|
|
744
|
-
...(obj.Profiles && { Profiles: obj.Profiles.map((item) => ProfileQueryResultFilterSensitiveLog(item)) }),
|
|
745
|
-
});
|
|
746
|
-
export const GetUploadJobResponseFilterSensitiveLog = (obj) => ({
|
|
747
|
-
...obj,
|
|
748
|
-
...(obj.Fields && { Fields: SENSITIVE_STRING }),
|
|
749
|
-
});
|
|
750
|
-
export const ListCalculatedAttributeDefinitionsResponseFilterSensitiveLog = (obj) => ({
|
|
751
|
-
...obj,
|
|
752
|
-
...(obj.Items && { Items: SENSITIVE_STRING }),
|
|
753
|
-
});
|
|
754
|
-
export const LayoutItemFilterSensitiveLog = (obj) => ({
|
|
755
|
-
...obj,
|
|
756
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
757
|
-
});
|
|
758
|
-
export const ListDomainLayoutsResponseFilterSensitiveLog = (obj) => ({
|
|
759
|
-
...obj,
|
|
760
|
-
...(obj.Items && { Items: obj.Items.map((item) => LayoutItemFilterSensitiveLog(item)) }),
|
|
761
|
-
});
|
|
762
|
-
export const ListEventTriggersResponseFilterSensitiveLog = (obj) => ({
|
|
763
|
-
...obj,
|
|
764
|
-
...(obj.Items && { Items: SENSITIVE_STRING }),
|
|
765
|
-
});
|
|
766
|
-
export const ListProfileObjectsItemFilterSensitiveLog = (obj) => ({
|
|
767
|
-
...obj,
|
|
768
|
-
...(obj.Object && { Object: SENSITIVE_STRING }),
|
|
769
|
-
});
|
|
770
|
-
export const ListProfileObjectsResponseFilterSensitiveLog = (obj) => ({
|
|
771
|
-
...obj,
|
|
772
|
-
...(obj.Items && { Items: obj.Items.map((item) => ListProfileObjectsItemFilterSensitiveLog(item)) }),
|
|
773
|
-
});
|
|
774
|
-
export const ListProfileObjectTypesResponseFilterSensitiveLog = (obj) => ({
|
|
775
|
-
...obj,
|
|
776
|
-
...(obj.Items && { Items: SENSITIVE_STRING }),
|
|
777
|
-
});
|
|
778
|
-
export const SegmentDefinitionItemFilterSensitiveLog = (obj) => ({
|
|
779
|
-
...obj,
|
|
780
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
781
|
-
});
|
|
782
|
-
export const ListSegmentDefinitionsResponseFilterSensitiveLog = (obj) => ({
|
|
783
|
-
...obj,
|
|
784
|
-
...(obj.Items && { Items: obj.Items.map((item) => SegmentDefinitionItemFilterSensitiveLog(item)) }),
|
|
785
|
-
});
|
|
@@ -1,93 +1,4 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
-
import { ProfileFilterSensitiveLog, } from "./models_0";
|
|
3
1
|
export const LogicalOperator = {
|
|
4
2
|
AND: "AND",
|
|
5
3
|
OR: "OR",
|
|
6
4
|
};
|
|
7
|
-
export const PutIntegrationRequestFilterSensitiveLog = (obj) => ({
|
|
8
|
-
...obj,
|
|
9
|
-
...(obj.FlowDefinition && { FlowDefinition: SENSITIVE_STRING }),
|
|
10
|
-
});
|
|
11
|
-
export const PutProfileObjectRequestFilterSensitiveLog = (obj) => ({
|
|
12
|
-
...obj,
|
|
13
|
-
...(obj.Object && { Object: SENSITIVE_STRING }),
|
|
14
|
-
});
|
|
15
|
-
export const PutProfileObjectTypeRequestFilterSensitiveLog = (obj) => ({
|
|
16
|
-
...obj,
|
|
17
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
18
|
-
...(obj.Fields && { Fields: SENSITIVE_STRING }),
|
|
19
|
-
...(obj.Keys && { Keys: SENSITIVE_STRING }),
|
|
20
|
-
});
|
|
21
|
-
export const PutProfileObjectTypeResponseFilterSensitiveLog = (obj) => ({
|
|
22
|
-
...obj,
|
|
23
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
24
|
-
...(obj.Fields && { Fields: SENSITIVE_STRING }),
|
|
25
|
-
...(obj.Keys && { Keys: SENSITIVE_STRING }),
|
|
26
|
-
});
|
|
27
|
-
export const SearchProfilesResponseFilterSensitiveLog = (obj) => ({
|
|
28
|
-
...obj,
|
|
29
|
-
...(obj.Items && { Items: obj.Items.map((item) => ProfileFilterSensitiveLog(item)) }),
|
|
30
|
-
});
|
|
31
|
-
export const UpdateCalculatedAttributeDefinitionRequestFilterSensitiveLog = (obj) => ({
|
|
32
|
-
...obj,
|
|
33
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
34
|
-
...(obj.Conditions && { Conditions: SENSITIVE_STRING }),
|
|
35
|
-
});
|
|
36
|
-
export const UpdateCalculatedAttributeDefinitionResponseFilterSensitiveLog = (obj) => ({
|
|
37
|
-
...obj,
|
|
38
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
39
|
-
...(obj.Statistic && { Statistic: SENSITIVE_STRING }),
|
|
40
|
-
...(obj.Conditions && { Conditions: SENSITIVE_STRING }),
|
|
41
|
-
...(obj.AttributeDetails && { AttributeDetails: SENSITIVE_STRING }),
|
|
42
|
-
});
|
|
43
|
-
export const UpdateDomainLayoutRequestFilterSensitiveLog = (obj) => ({
|
|
44
|
-
...obj,
|
|
45
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
46
|
-
...(obj.Layout && { Layout: SENSITIVE_STRING }),
|
|
47
|
-
});
|
|
48
|
-
export const UpdateDomainLayoutResponseFilterSensitiveLog = (obj) => ({
|
|
49
|
-
...obj,
|
|
50
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
51
|
-
...(obj.Layout && { Layout: SENSITIVE_STRING }),
|
|
52
|
-
});
|
|
53
|
-
export const UpdateEventTriggerRequestFilterSensitiveLog = (obj) => ({
|
|
54
|
-
...obj,
|
|
55
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
56
|
-
...(obj.EventTriggerConditions && { EventTriggerConditions: SENSITIVE_STRING }),
|
|
57
|
-
});
|
|
58
|
-
export const UpdateEventTriggerResponseFilterSensitiveLog = (obj) => ({
|
|
59
|
-
...obj,
|
|
60
|
-
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
61
|
-
...(obj.EventTriggerConditions && { EventTriggerConditions: SENSITIVE_STRING }),
|
|
62
|
-
});
|
|
63
|
-
export const UpdateAddressFilterSensitiveLog = (obj) => ({
|
|
64
|
-
...obj,
|
|
65
|
-
});
|
|
66
|
-
export const UpdateProfileRequestFilterSensitiveLog = (obj) => ({
|
|
67
|
-
...obj,
|
|
68
|
-
...(obj.AdditionalInformation && { AdditionalInformation: SENSITIVE_STRING }),
|
|
69
|
-
...(obj.AccountNumber && { AccountNumber: SENSITIVE_STRING }),
|
|
70
|
-
...(obj.PartyType && { PartyType: SENSITIVE_STRING }),
|
|
71
|
-
...(obj.BusinessName && { BusinessName: SENSITIVE_STRING }),
|
|
72
|
-
...(obj.FirstName && { FirstName: SENSITIVE_STRING }),
|
|
73
|
-
...(obj.MiddleName && { MiddleName: SENSITIVE_STRING }),
|
|
74
|
-
...(obj.LastName && { LastName: SENSITIVE_STRING }),
|
|
75
|
-
...(obj.BirthDate && { BirthDate: SENSITIVE_STRING }),
|
|
76
|
-
...(obj.Gender && { Gender: SENSITIVE_STRING }),
|
|
77
|
-
...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }),
|
|
78
|
-
...(obj.MobilePhoneNumber && { MobilePhoneNumber: SENSITIVE_STRING }),
|
|
79
|
-
...(obj.HomePhoneNumber && { HomePhoneNumber: SENSITIVE_STRING }),
|
|
80
|
-
...(obj.BusinessPhoneNumber && { BusinessPhoneNumber: SENSITIVE_STRING }),
|
|
81
|
-
...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }),
|
|
82
|
-
...(obj.PersonalEmailAddress && { PersonalEmailAddress: SENSITIVE_STRING }),
|
|
83
|
-
...(obj.BusinessEmailAddress && { BusinessEmailAddress: SENSITIVE_STRING }),
|
|
84
|
-
...(obj.Address && { Address: SENSITIVE_STRING }),
|
|
85
|
-
...(obj.ShippingAddress && { ShippingAddress: SENSITIVE_STRING }),
|
|
86
|
-
...(obj.MailingAddress && { MailingAddress: SENSITIVE_STRING }),
|
|
87
|
-
...(obj.BillingAddress && { BillingAddress: SENSITIVE_STRING }),
|
|
88
|
-
...(obj.Attributes && { Attributes: SENSITIVE_STRING }),
|
|
89
|
-
...(obj.PartyTypeString && { PartyTypeString: SENSITIVE_STRING }),
|
|
90
|
-
...(obj.GenderString && { GenderString: SENSITIVE_STRING }),
|
|
91
|
-
...(obj.ProfileType && { ProfileType: SENSITIVE_STRING }),
|
|
92
|
-
...(obj.EngagementPreferences && { EngagementPreferences: SENSITIVE_STRING }),
|
|
93
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.customerprofiles" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "Customer Profiles",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|