Skip to content

Commit 8d6e13d

Browse files
This release introduces ListProfileHistoryRecords and GetProfileHistoryRecord APIs for comprehensive profile history tracking with complete audit trails of creation, updates, merges, deletions, and data ingestion events.
1 parent d3727b8 commit 8d6e13d

19 files changed

+2449
-10
lines changed

generator/ServiceModels/customer-profiles/customer-profiles-2020-08-15.api.json

Lines changed: 157 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,22 @@
613613
{"shape":"InternalServerException"}
614614
]
615615
},
616+
"GetProfileHistoryRecord":{
617+
"name":"GetProfileHistoryRecord",
618+
"http":{
619+
"method":"GET",
620+
"requestUri":"/domains/{DomainName}/profiles/{ProfileId}/history-records/{Id}"
621+
},
622+
"input":{"shape":"GetProfileHistoryRecordRequest"},
623+
"output":{"shape":"GetProfileHistoryRecordResponse"},
624+
"errors":[
625+
{"shape":"BadRequestException"},
626+
{"shape":"AccessDeniedException"},
627+
{"shape":"ResourceNotFoundException"},
628+
{"shape":"ThrottlingException"},
629+
{"shape":"InternalServerException"}
630+
]
631+
},
616632
"GetProfileObjectType":{
617633
"name":"GetProfileObjectType",
618634
"http":{
@@ -660,7 +676,8 @@
660676
{"shape":"BadRequestException"},
661677
{"shape":"ThrottlingException"},
662678
{"shape":"AccessDeniedException"}
663-
]
679+
],
680+
"readonly":true
664681
},
665682
"GetSegmentEstimate":{
666683
"name":"GetSegmentEstimate",
@@ -743,7 +760,8 @@
743760
{"shape":"BadRequestException"},
744761
{"shape":"ThrottlingException"},
745762
{"shape":"AccessDeniedException"}
746-
]
763+
],
764+
"readonly":true
747765
},
748766
"GetUploadJobPath":{
749767
"name":"GetUploadJobPath",
@@ -760,7 +778,8 @@
760778
{"shape":"BadRequestException"},
761779
{"shape":"ThrottlingException"},
762780
{"shape":"AccessDeniedException"}
763-
]
781+
],
782+
"readonly":true
764783
},
765784
"GetWorkflow":{
766785
"name":"GetWorkflow",
@@ -970,6 +989,22 @@
970989
{"shape":"InternalServerException"}
971990
]
972991
},
992+
"ListProfileHistoryRecords":{
993+
"name":"ListProfileHistoryRecords",
994+
"http":{
995+
"method":"POST",
996+
"requestUri":"/domains/{DomainName}/profiles/history-records"
997+
},
998+
"input":{"shape":"ListProfileHistoryRecordsRequest"},
999+
"output":{"shape":"ListProfileHistoryRecordsResponse"},
1000+
"errors":[
1001+
{"shape":"BadRequestException"},
1002+
{"shape":"AccessDeniedException"},
1003+
{"shape":"ResourceNotFoundException"},
1004+
{"shape":"ThrottlingException"},
1005+
{"shape":"InternalServerException"}
1006+
]
1007+
},
9731008
"ListProfileObjectTypeTemplates":{
9741009
"name":"ListProfileObjectTypeTemplates",
9751010
"http":{
@@ -1049,7 +1084,8 @@
10491084
{"shape":"BadRequestException"},
10501085
{"shape":"ThrottlingException"},
10511086
{"shape":"AccessDeniedException"}
1052-
]
1087+
],
1088+
"readonly":true
10531089
},
10541090
"ListTagsForResource":{
10551091
"name":"ListTagsForResource",
@@ -1080,7 +1116,8 @@
10801116
{"shape":"BadRequestException"},
10811117
{"shape":"ThrottlingException"},
10821118
{"shape":"AccessDeniedException"}
1083-
]
1119+
],
1120+
"readonly":true
10841121
},
10851122
"ListWorkflows":{
10861123
"name":"ListWorkflows",
@@ -1335,6 +1372,20 @@
13351372
"error":{"httpStatusCode":403},
13361373
"exception":true
13371374
},
1375+
"ActionType":{
1376+
"type":"string",
1377+
"enum":[
1378+
"ADDED_PROFILE_KEY",
1379+
"DELETED_PROFILE_KEY",
1380+
"CREATED",
1381+
"UPDATED",
1382+
"INGESTED",
1383+
"DELETED_BY_CUSTOMER",
1384+
"EXPIRED",
1385+
"MERGED",
1386+
"DELETED_BY_MERGE"
1387+
]
1388+
},
13381389
"AddProfileKeyRequest":{
13391390
"type":"structure",
13401391
"required":[
@@ -3428,6 +3479,50 @@
34283479
"Matches":{"shape":"MatchesList"}
34293480
}
34303481
},
3482+
"GetProfileHistoryRecordRequest":{
3483+
"type":"structure",
3484+
"required":[
3485+
"DomainName",
3486+
"ProfileId",
3487+
"Id"
3488+
],
3489+
"members":{
3490+
"DomainName":{
3491+
"shape":"name",
3492+
"location":"uri",
3493+
"locationName":"DomainName"
3494+
},
3495+
"ProfileId":{
3496+
"shape":"uuid",
3497+
"location":"uri",
3498+
"locationName":"ProfileId"
3499+
},
3500+
"Id":{
3501+
"shape":"uuid",
3502+
"location":"uri",
3503+
"locationName":"Id"
3504+
}
3505+
}
3506+
},
3507+
"GetProfileHistoryRecordResponse":{
3508+
"type":"structure",
3509+
"required":[
3510+
"Id",
3511+
"ObjectTypeName",
3512+
"CreatedAt",
3513+
"ActionType"
3514+
],
3515+
"members":{
3516+
"Id":{"shape":"uuid"},
3517+
"ObjectTypeName":{"shape":"typeName"},
3518+
"CreatedAt":{"shape":"timestamp"},
3519+
"LastUpdatedAt":{"shape":"timestamp"},
3520+
"ActionType":{"shape":"ActionType"},
3521+
"ProfileObjectUniqueKey":{"shape":"string1To255"},
3522+
"Content":{"shape":"stringifiedJson"},
3523+
"PerformedBy":{"shape":"string1To255"}
3524+
}
3525+
},
34313526
"GetProfileObjectTypeRequest":{
34323527
"type":"structure",
34333528
"required":[
@@ -4423,6 +4518,41 @@
44234518
"NextToken":{"shape":"token"}
44244519
}
44254520
},
4521+
"ListProfileHistoryRecordsRequest":{
4522+
"type":"structure",
4523+
"required":[
4524+
"DomainName",
4525+
"ProfileId"
4526+
],
4527+
"members":{
4528+
"DomainName":{
4529+
"shape":"name",
4530+
"location":"uri",
4531+
"locationName":"DomainName"
4532+
},
4533+
"ProfileId":{"shape":"uuid"},
4534+
"ObjectTypeName":{"shape":"typeName"},
4535+
"NextToken":{
4536+
"shape":"token",
4537+
"location":"querystring",
4538+
"locationName":"next-token"
4539+
},
4540+
"MaxResults":{
4541+
"shape":"maxSize100",
4542+
"location":"querystring",
4543+
"locationName":"max-results"
4544+
},
4545+
"ActionType":{"shape":"ActionType"},
4546+
"PerformedBy":{"shape":"string1To255"}
4547+
}
4548+
},
4549+
"ListProfileHistoryRecordsResponse":{
4550+
"type":"structure",
4551+
"members":{
4552+
"ProfileHistoryRecords":{"shape":"ProfileHistoryRecords"},
4553+
"NextToken":{"shape":"token"}
4554+
}
4555+
},
44264556
"ListProfileObjectTypeItem":{
44274557
"type":"structure",
44284558
"required":[
@@ -5165,6 +5295,28 @@
51655295
}
51665296
}
51675297
},
5298+
"ProfileHistoryRecord":{
5299+
"type":"structure",
5300+
"required":[
5301+
"Id",
5302+
"ObjectTypeName",
5303+
"CreatedAt",
5304+
"ActionType"
5305+
],
5306+
"members":{
5307+
"Id":{"shape":"uuid"},
5308+
"ObjectTypeName":{"shape":"typeName"},
5309+
"CreatedAt":{"shape":"timestamp"},
5310+
"LastUpdatedAt":{"shape":"timestamp"},
5311+
"ActionType":{"shape":"ActionType"},
5312+
"ProfileObjectUniqueKey":{"shape":"string1To255"},
5313+
"PerformedBy":{"shape":"string1To255"}
5314+
}
5315+
},
5316+
"ProfileHistoryRecords":{
5317+
"type":"list",
5318+
"member":{"shape":"ProfileHistoryRecord"}
5319+
},
51685320
"ProfileId":{"type":"string"},
51695321
"ProfileIdList":{
51705322
"type":"list",

0 commit comments

Comments
 (0)