@aws-sdk/client-customer-profiles 3.899.0 → 3.901.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.
Files changed (34) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +181 -39
  3. package/dist-es/CustomerProfiles.js +4 -0
  4. package/dist-es/commands/GetProfileHistoryRecordCommand.js +23 -0
  5. package/dist-es/commands/ListProfileHistoryRecordsCommand.js +22 -0
  6. package/dist-es/commands/PutIntegrationCommand.js +1 -1
  7. package/dist-es/commands/PutProfileObjectCommand.js +1 -1
  8. package/dist-es/commands/index.js +2 -0
  9. package/dist-es/models/models_0.js +15 -8
  10. package/dist-es/models/models_1.js +8 -0
  11. package/dist-es/protocols/Aws_restJson1.js +87 -0
  12. package/dist-types/CustomerProfiles.d.ts +14 -0
  13. package/dist-types/CustomerProfilesClient.d.ts +4 -2
  14. package/dist-types/commands/GetProfileHistoryRecordCommand.d.ts +98 -0
  15. package/dist-types/commands/ListProfileHistoryRecordsCommand.d.ts +106 -0
  16. package/dist-types/commands/MergeProfilesCommand.d.ts +1 -1
  17. package/dist-types/commands/PutIntegrationCommand.d.ts +1 -1
  18. package/dist-types/commands/PutProfileObjectCommand.d.ts +1 -1
  19. package/dist-types/commands/index.d.ts +2 -0
  20. package/dist-types/models/models_0.d.ts +185 -190
  21. package/dist-types/models/models_1.d.ts +191 -1
  22. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  23. package/dist-types/ts3.4/CustomerProfiles.d.ts +34 -0
  24. package/dist-types/ts3.4/CustomerProfilesClient.d.ts +12 -0
  25. package/dist-types/ts3.4/commands/GetProfileHistoryRecordCommand.d.ts +51 -0
  26. package/dist-types/ts3.4/commands/ListProfileHistoryRecordsCommand.d.ts +51 -0
  27. package/dist-types/ts3.4/commands/MergeProfilesCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/commands/PutIntegrationCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/PutProfileObjectCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +52 -46
  32. package/dist-types/ts3.4/models/models_1.d.ts +48 -0
  33. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  34. package/package.json +37 -37
package/README.md CHANGED
@@ -517,6 +517,14 @@ GetMatches
517
517
 
518
518
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/GetMatchesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/GetMatchesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/GetMatchesCommandOutput/)
519
519
 
520
+ </details>
521
+ <details>
522
+ <summary>
523
+ GetProfileHistoryRecord
524
+ </summary>
525
+
526
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/GetProfileHistoryRecordCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/GetProfileHistoryRecordCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/GetProfileHistoryRecordCommandOutput/)
527
+
520
528
  </details>
521
529
  <details>
522
530
  <summary>
@@ -693,6 +701,14 @@ ListProfileAttributeValues
693
701
 
694
702
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/ListProfileAttributeValuesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/ListProfileAttributeValuesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/ListProfileAttributeValuesCommandOutput/)
695
703
 
704
+ </details>
705
+ <details>
706
+ <summary>
707
+ ListProfileHistoryRecords
708
+ </summary>
709
+
710
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/ListProfileHistoryRecordsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/ListProfileHistoryRecordsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/ListProfileHistoryRecordsCommandOutput/)
711
+
696
712
  </details>
697
713
  <details>
698
714
  <summary>
package/dist-cjs/index.js CHANGED
@@ -22,6 +22,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
22
22
  var index_exports = {};
23
23
  __export(index_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
+ ActionType: () => ActionType,
25
26
  AddProfileKeyCommand: () => AddProfileKeyCommand,
26
27
  AddressFilterSensitiveLog: () => AddressFilterSensitiveLog,
27
28
  AppflowIntegrationFilterSensitiveLog: () => AppflowIntegrationFilterSensitiveLog,
@@ -109,6 +110,8 @@ __export(index_exports, {
109
110
  GetIdentityResolutionJobCommand: () => GetIdentityResolutionJobCommand,
110
111
  GetIntegrationCommand: () => GetIntegrationCommand,
111
112
  GetMatchesCommand: () => GetMatchesCommand,
113
+ GetProfileHistoryRecordCommand: () => GetProfileHistoryRecordCommand,
114
+ GetProfileHistoryRecordResponseFilterSensitiveLog: () => GetProfileHistoryRecordResponseFilterSensitiveLog,
112
115
  GetProfileObjectTypeCommand: () => GetProfileObjectTypeCommand,
113
116
  GetProfileObjectTypeResponseFilterSensitiveLog: () => GetProfileObjectTypeResponseFilterSensitiveLog,
114
117
  GetProfileObjectTypeTemplateCommand: () => GetProfileObjectTypeTemplateCommand,
@@ -149,6 +152,7 @@ __export(index_exports, {
149
152
  ListIntegrationsCommand: () => ListIntegrationsCommand,
150
153
  ListObjectTypeAttributesCommand: () => ListObjectTypeAttributesCommand,
151
154
  ListProfileAttributeValuesCommand: () => ListProfileAttributeValuesCommand,
155
+ ListProfileHistoryRecordsCommand: () => ListProfileHistoryRecordsCommand,
152
156
  ListProfileObjectTypeTemplatesCommand: () => ListProfileObjectTypeTemplatesCommand,
153
157
  ListProfileObjectTypesCommand: () => ListProfileObjectTypesCommand,
154
158
  ListProfileObjectTypesResponseFilterSensitiveLog: () => ListProfileObjectTypesResponseFilterSensitiveLog,
@@ -430,6 +434,17 @@ var AccessDeniedException = class _AccessDeniedException extends CustomerProfile
430
434
  this.Message = opts.Message;
431
435
  }
432
436
  };
437
+ var ActionType = {
438
+ ADDED_PROFILE_KEY: "ADDED_PROFILE_KEY",
439
+ CREATED: "CREATED",
440
+ DELETED_BY_CUSTOMER: "DELETED_BY_CUSTOMER",
441
+ DELETED_BY_MERGE: "DELETED_BY_MERGE",
442
+ DELETED_PROFILE_KEY: "DELETED_PROFILE_KEY",
443
+ EXPIRED: "EXPIRED",
444
+ INGESTED: "INGESTED",
445
+ MERGED: "MERGED",
446
+ UPDATED: "UPDATED"
447
+ };
433
448
  var BadRequestException = class _BadRequestException extends CustomerProfilesServiceException {
434
449
  static {
435
450
  __name(this, "BadRequestException");
@@ -1145,6 +1160,10 @@ var GetEventTriggerResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
1145
1160
  ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
1146
1161
  ...obj.EventTriggerConditions && { EventTriggerConditions: import_smithy_client.SENSITIVE_STRING }
1147
1162
  }), "GetEventTriggerResponseFilterSensitiveLog");
1163
+ var GetProfileHistoryRecordResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1164
+ ...obj,
1165
+ ...obj.Content && { Content: import_smithy_client.SENSITIVE_STRING }
1166
+ }), "GetProfileHistoryRecordResponseFilterSensitiveLog");
1148
1167
  var GetProfileObjectTypeResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1149
1168
  ...obj,
1150
1169
  ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
@@ -1209,14 +1228,6 @@ var ListSegmentDefinitionsResponseFilterSensitiveLog = /* @__PURE__ */ __name((o
1209
1228
  ...obj,
1210
1229
  ...obj.Items && { Items: obj.Items.map((item) => SegmentDefinitionItemFilterSensitiveLog(item)) }
1211
1230
  }), "ListSegmentDefinitionsResponseFilterSensitiveLog");
1212
- var PutIntegrationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1213
- ...obj,
1214
- ...obj.FlowDefinition && { FlowDefinition: import_smithy_client.SENSITIVE_STRING }
1215
- }), "PutIntegrationRequestFilterSensitiveLog");
1216
- var PutProfileObjectRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1217
- ...obj,
1218
- ...obj.Object && { Object: import_smithy_client.SENSITIVE_STRING }
1219
- }), "PutProfileObjectRequestFilterSensitiveLog");
1220
1231
 
1221
1232
  // src/protocols/Aws_restJson1.ts
1222
1233
  var se_AddProfileKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -1793,6 +1804,17 @@ var se_GetMatchesCommand = /* @__PURE__ */ __name(async (input, context) => {
1793
1804
  b.m("GET").h(headers).q(query).b(body);
1794
1805
  return b.build();
1795
1806
  }, "se_GetMatchesCommand");
1807
+ var se_GetProfileHistoryRecordCommand = /* @__PURE__ */ __name(async (input, context) => {
1808
+ const b = (0, import_core.requestBuilder)(input, context);
1809
+ const headers = {};
1810
+ b.bp("/domains/{DomainName}/profiles/{ProfileId}/history-records/{Id}");
1811
+ b.p("DomainName", () => input.DomainName, "{DomainName}", false);
1812
+ b.p("ProfileId", () => input.ProfileId, "{ProfileId}", false);
1813
+ b.p("Id", () => input.Id, "{Id}", false);
1814
+ let body;
1815
+ b.m("GET").h(headers).b(body);
1816
+ return b.build();
1817
+ }, "se_GetProfileHistoryRecordCommand");
1796
1818
  var se_GetProfileObjectTypeCommand = /* @__PURE__ */ __name(async (input, context) => {
1797
1819
  const b = (0, import_core.requestBuilder)(input, context);
1798
1820
  const headers = {};
@@ -2075,6 +2097,29 @@ var se_ListProfileAttributeValuesCommand = /* @__PURE__ */ __name(async (input,
2075
2097
  b.m("GET").h(headers).b(body);
2076
2098
  return b.build();
2077
2099
  }, "se_ListProfileAttributeValuesCommand");
2100
+ var se_ListProfileHistoryRecordsCommand = /* @__PURE__ */ __name(async (input, context) => {
2101
+ const b = (0, import_core.requestBuilder)(input, context);
2102
+ const headers = {
2103
+ "content-type": "application/json"
2104
+ };
2105
+ b.bp("/domains/{DomainName}/profiles/history-records");
2106
+ b.p("DomainName", () => input.DomainName, "{DomainName}", false);
2107
+ const query = (0, import_smithy_client.map)({
2108
+ [_nt]: [, input[_NT]],
2109
+ [_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
2110
+ });
2111
+ let body;
2112
+ body = JSON.stringify(
2113
+ (0, import_smithy_client.take)(input, {
2114
+ ActionType: [],
2115
+ ObjectTypeName: [],
2116
+ PerformedBy: [],
2117
+ ProfileId: []
2118
+ })
2119
+ );
2120
+ b.m("POST").h(headers).q(query).b(body);
2121
+ return b.build();
2122
+ }, "se_ListProfileHistoryRecordsCommand");
2078
2123
  var se_ListProfileObjectsCommand = /* @__PURE__ */ __name(async (input, context) => {
2079
2124
  const b = (0, import_core.requestBuilder)(input, context);
2080
2125
  const headers = {
@@ -3102,6 +3147,27 @@ var de_GetMatchesCommand = /* @__PURE__ */ __name(async (output, context) => {
3102
3147
  Object.assign(contents, doc);
3103
3148
  return contents;
3104
3149
  }, "de_GetMatchesCommand");
3150
+ var de_GetProfileHistoryRecordCommand = /* @__PURE__ */ __name(async (output, context) => {
3151
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3152
+ return de_CommandError(output, context);
3153
+ }
3154
+ const contents = (0, import_smithy_client.map)({
3155
+ $metadata: deserializeMetadata(output)
3156
+ });
3157
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3158
+ const doc = (0, import_smithy_client.take)(data, {
3159
+ ActionType: import_smithy_client.expectString,
3160
+ Content: import_smithy_client.expectString,
3161
+ CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
3162
+ Id: import_smithy_client.expectString,
3163
+ LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedAt"),
3164
+ ObjectTypeName: import_smithy_client.expectString,
3165
+ PerformedBy: import_smithy_client.expectString,
3166
+ ProfileObjectUniqueKey: import_smithy_client.expectString
3167
+ });
3168
+ Object.assign(contents, doc);
3169
+ return contents;
3170
+ }, "de_GetProfileHistoryRecordCommand");
3105
3171
  var de_GetProfileObjectTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
3106
3172
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3107
3173
  return de_CommandError(output, context);
@@ -3491,6 +3557,21 @@ var de_ListProfileAttributeValuesCommand = /* @__PURE__ */ __name(async (output,
3491
3557
  });
3492
3558
  return contents;
3493
3559
  }, "de_ListProfileAttributeValuesCommand");
3560
+ var de_ListProfileHistoryRecordsCommand = /* @__PURE__ */ __name(async (output, context) => {
3561
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3562
+ return de_CommandError(output, context);
3563
+ }
3564
+ const contents = (0, import_smithy_client.map)({
3565
+ $metadata: deserializeMetadata(output)
3566
+ });
3567
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3568
+ const doc = (0, import_smithy_client.take)(data, {
3569
+ NextToken: import_smithy_client.expectString,
3570
+ ProfileHistoryRecords: /* @__PURE__ */ __name((_) => de_ProfileHistoryRecords(_, context), "ProfileHistoryRecords")
3571
+ });
3572
+ Object.assign(contents, doc);
3573
+ return contents;
3574
+ }, "de_ListProfileHistoryRecordsCommand");
3494
3575
  var de_ListProfileObjectsCommand = /* @__PURE__ */ __name(async (output, context) => {
3495
3576
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3496
3577
  return de_CommandError(output, context);
@@ -4518,6 +4599,23 @@ var de_ProfileDimension = /* @__PURE__ */ __name((output, context) => {
4518
4599
  Values: [, import_smithy_client._json, `Values`]
4519
4600
  });
4520
4601
  }, "de_ProfileDimension");
4602
+ var de_ProfileHistoryRecord = /* @__PURE__ */ __name((output, context) => {
4603
+ return (0, import_smithy_client.take)(output, {
4604
+ ActionType: import_smithy_client.expectString,
4605
+ CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
4606
+ Id: import_smithy_client.expectString,
4607
+ LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedAt"),
4608
+ ObjectTypeName: import_smithy_client.expectString,
4609
+ PerformedBy: import_smithy_client.expectString,
4610
+ ProfileObjectUniqueKey: import_smithy_client.expectString
4611
+ });
4612
+ }, "de_ProfileHistoryRecord");
4613
+ var de_ProfileHistoryRecords = /* @__PURE__ */ __name((output, context) => {
4614
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
4615
+ return de_ProfileHistoryRecord(entry, context);
4616
+ });
4617
+ return retVal;
4618
+ }, "de_ProfileHistoryRecords");
4521
4619
  var de_ProfileObjectTypeList = /* @__PURE__ */ __name((output, context) => {
4522
4620
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
4523
4621
  return de_ListProfileObjectTypeItem(entry, context);
@@ -5202,6 +5300,21 @@ var GetMatchesCommand = class extends import_smithy_client.Command.classBuilder(
5202
5300
  }
5203
5301
  };
5204
5302
 
5303
+ // src/commands/GetProfileHistoryRecordCommand.ts
5304
+
5305
+
5306
+
5307
+ var GetProfileHistoryRecordCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5308
+ return [
5309
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5310
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5311
+ ];
5312
+ }).s("CustomerProfiles_20200815", "GetProfileHistoryRecord", {}).n("CustomerProfilesClient", "GetProfileHistoryRecordCommand").f(void 0, GetProfileHistoryRecordResponseFilterSensitiveLog).ser(se_GetProfileHistoryRecordCommand).de(de_GetProfileHistoryRecordCommand).build() {
5313
+ static {
5314
+ __name(this, "GetProfileHistoryRecordCommand");
5315
+ }
5316
+ };
5317
+
5205
5318
  // src/commands/GetProfileObjectTypeCommand.ts
5206
5319
 
5207
5320
 
@@ -5532,6 +5645,21 @@ var ListProfileAttributeValuesCommand = class extends import_smithy_client.Comma
5532
5645
  }
5533
5646
  };
5534
5647
 
5648
+ // src/commands/ListProfileHistoryRecordsCommand.ts
5649
+
5650
+
5651
+
5652
+ var ListProfileHistoryRecordsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5653
+ return [
5654
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5655
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5656
+ ];
5657
+ }).s("CustomerProfiles_20200815", "ListProfileHistoryRecords", {}).n("CustomerProfilesClient", "ListProfileHistoryRecordsCommand").f(void 0, void 0).ser(se_ListProfileHistoryRecordsCommand).de(de_ListProfileHistoryRecordsCommand).build() {
5658
+ static {
5659
+ __name(this, "ListProfileHistoryRecordsCommand");
5660
+ }
5661
+ };
5662
+
5535
5663
  // src/commands/ListProfileObjectsCommand.ts
5536
5664
 
5537
5665
 
@@ -5671,36 +5799,6 @@ var MergeProfilesCommand = class extends import_smithy_client.Command.classBuild
5671
5799
 
5672
5800
 
5673
5801
 
5674
- var PutIntegrationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5675
- return [
5676
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5677
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5678
- ];
5679
- }).s("CustomerProfiles_20200815", "PutIntegration", {}).n("CustomerProfilesClient", "PutIntegrationCommand").f(PutIntegrationRequestFilterSensitiveLog, void 0).ser(se_PutIntegrationCommand).de(de_PutIntegrationCommand).build() {
5680
- static {
5681
- __name(this, "PutIntegrationCommand");
5682
- }
5683
- };
5684
-
5685
- // src/commands/PutProfileObjectCommand.ts
5686
-
5687
-
5688
-
5689
- var PutProfileObjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5690
- return [
5691
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5692
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5693
- ];
5694
- }).s("CustomerProfiles_20200815", "PutProfileObject", {}).n("CustomerProfilesClient", "PutProfileObjectCommand").f(PutProfileObjectRequestFilterSensitiveLog, void 0).ser(se_PutProfileObjectCommand).de(de_PutProfileObjectCommand).build() {
5695
- static {
5696
- __name(this, "PutProfileObjectCommand");
5697
- }
5698
- };
5699
-
5700
- // src/commands/PutProfileObjectTypeCommand.ts
5701
-
5702
-
5703
-
5704
5802
 
5705
5803
  // src/models/models_1.ts
5706
5804
 
@@ -5708,6 +5806,14 @@ var LogicalOperator = {
5708
5806
  AND: "AND",
5709
5807
  OR: "OR"
5710
5808
  };
5809
+ var PutIntegrationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5810
+ ...obj,
5811
+ ...obj.FlowDefinition && { FlowDefinition: import_smithy_client.SENSITIVE_STRING }
5812
+ }), "PutIntegrationRequestFilterSensitiveLog");
5813
+ var PutProfileObjectRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5814
+ ...obj,
5815
+ ...obj.Object && { Object: import_smithy_client.SENSITIVE_STRING }
5816
+ }), "PutProfileObjectRequestFilterSensitiveLog");
5711
5817
  var PutProfileObjectTypeRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5712
5818
  ...obj,
5713
5819
  ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
@@ -5788,7 +5894,37 @@ var UpdateProfileRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5788
5894
  ...obj.EngagementPreferences && { EngagementPreferences: import_smithy_client.SENSITIVE_STRING }
5789
5895
  }), "UpdateProfileRequestFilterSensitiveLog");
5790
5896
 
5897
+ // src/commands/PutIntegrationCommand.ts
5898
+ var PutIntegrationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5899
+ return [
5900
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5901
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5902
+ ];
5903
+ }).s("CustomerProfiles_20200815", "PutIntegration", {}).n("CustomerProfilesClient", "PutIntegrationCommand").f(PutIntegrationRequestFilterSensitiveLog, void 0).ser(se_PutIntegrationCommand).de(de_PutIntegrationCommand).build() {
5904
+ static {
5905
+ __name(this, "PutIntegrationCommand");
5906
+ }
5907
+ };
5908
+
5909
+ // src/commands/PutProfileObjectCommand.ts
5910
+
5911
+
5912
+
5913
+ var PutProfileObjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5914
+ return [
5915
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5916
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5917
+ ];
5918
+ }).s("CustomerProfiles_20200815", "PutProfileObject", {}).n("CustomerProfilesClient", "PutProfileObjectCommand").f(PutProfileObjectRequestFilterSensitiveLog, void 0).ser(se_PutProfileObjectCommand).de(de_PutProfileObjectCommand).build() {
5919
+ static {
5920
+ __name(this, "PutProfileObjectCommand");
5921
+ }
5922
+ };
5923
+
5791
5924
  // src/commands/PutProfileObjectTypeCommand.ts
5925
+
5926
+
5927
+
5792
5928
  var PutProfileObjectTypeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5793
5929
  return [
5794
5930
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
@@ -5992,6 +6128,7 @@ var commands = {
5992
6128
  GetIdentityResolutionJobCommand,
5993
6129
  GetIntegrationCommand,
5994
6130
  GetMatchesCommand,
6131
+ GetProfileHistoryRecordCommand,
5995
6132
  GetProfileObjectTypeCommand,
5996
6133
  GetProfileObjectTypeTemplateCommand,
5997
6134
  GetSegmentDefinitionCommand,
@@ -6014,6 +6151,7 @@ var commands = {
6014
6151
  ListIntegrationsCommand,
6015
6152
  ListObjectTypeAttributesCommand,
6016
6153
  ListProfileAttributeValuesCommand,
6154
+ ListProfileHistoryRecordsCommand,
6017
6155
  ListProfileObjectsCommand,
6018
6156
  ListProfileObjectTypesCommand,
6019
6157
  ListProfileObjectTypeTemplatesCommand,
@@ -6120,6 +6258,7 @@ var paginateListUploadJobs = (0, import_core.createPaginator)(CustomerProfilesCl
6120
6258
  GetIdentityResolutionJobCommand,
6121
6259
  GetIntegrationCommand,
6122
6260
  GetMatchesCommand,
6261
+ GetProfileHistoryRecordCommand,
6123
6262
  GetProfileObjectTypeCommand,
6124
6263
  GetProfileObjectTypeTemplateCommand,
6125
6264
  GetSegmentDefinitionCommand,
@@ -6142,6 +6281,7 @@ var paginateListUploadJobs = (0, import_core.createPaginator)(CustomerProfilesCl
6142
6281
  ListIntegrationsCommand,
6143
6282
  ListObjectTypeAttributesCommand,
6144
6283
  ListProfileAttributeValuesCommand,
6284
+ ListProfileHistoryRecordsCommand,
6145
6285
  ListProfileObjectTypeTemplatesCommand,
6146
6286
  ListProfileObjectTypesCommand,
6147
6287
  ListProfileObjectsCommand,
@@ -6173,6 +6313,7 @@ var paginateListUploadJobs = (0, import_core.createPaginator)(CustomerProfilesCl
6173
6313
  paginateListSegmentDefinitions,
6174
6314
  paginateListUploadJobs,
6175
6315
  AccessDeniedException,
6316
+ ActionType,
6176
6317
  BadRequestException,
6177
6318
  InternalServerException,
6178
6319
  ResourceNotFoundException,
@@ -6265,6 +6406,7 @@ var paginateListUploadJobs = (0, import_core.createPaginator)(CustomerProfilesCl
6265
6406
  GetCalculatedAttributeDefinitionResponseFilterSensitiveLog,
6266
6407
  GetDomainLayoutResponseFilterSensitiveLog,
6267
6408
  GetEventTriggerResponseFilterSensitiveLog,
6409
+ GetProfileHistoryRecordResponseFilterSensitiveLog,
6268
6410
  GetProfileObjectTypeResponseFilterSensitiveLog,
6269
6411
  GetProfileObjectTypeTemplateResponseFilterSensitiveLog,
6270
6412
  GetSegmentDefinitionResponseFilterSensitiveLog,
@@ -6280,9 +6422,9 @@ var paginateListUploadJobs = (0, import_core.createPaginator)(CustomerProfilesCl
6280
6422
  ListProfileObjectTypesResponseFilterSensitiveLog,
6281
6423
  SegmentDefinitionItemFilterSensitiveLog,
6282
6424
  ListSegmentDefinitionsResponseFilterSensitiveLog,
6425
+ LogicalOperator,
6283
6426
  PutIntegrationRequestFilterSensitiveLog,
6284
6427
  PutProfileObjectRequestFilterSensitiveLog,
6285
- LogicalOperator,
6286
6428
  PutProfileObjectTypeRequestFilterSensitiveLog,
6287
6429
  PutProfileObjectTypeResponseFilterSensitiveLog,
6288
6430
  SearchProfilesResponseFilterSensitiveLog,
@@ -36,6 +36,7 @@ import { GetEventTriggerCommand, } from "./commands/GetEventTriggerCommand";
36
36
  import { GetIdentityResolutionJobCommand, } from "./commands/GetIdentityResolutionJobCommand";
37
37
  import { GetIntegrationCommand, } from "./commands/GetIntegrationCommand";
38
38
  import { GetMatchesCommand } from "./commands/GetMatchesCommand";
39
+ import { GetProfileHistoryRecordCommand, } from "./commands/GetProfileHistoryRecordCommand";
39
40
  import { GetProfileObjectTypeCommand, } from "./commands/GetProfileObjectTypeCommand";
40
41
  import { GetProfileObjectTypeTemplateCommand, } from "./commands/GetProfileObjectTypeTemplateCommand";
41
42
  import { GetSegmentDefinitionCommand, } from "./commands/GetSegmentDefinitionCommand";
@@ -58,6 +59,7 @@ import { ListIdentityResolutionJobsCommand, } from "./commands/ListIdentityResol
58
59
  import { ListIntegrationsCommand, } from "./commands/ListIntegrationsCommand";
59
60
  import { ListObjectTypeAttributesCommand, } from "./commands/ListObjectTypeAttributesCommand";
60
61
  import { ListProfileAttributeValuesCommand, } from "./commands/ListProfileAttributeValuesCommand";
62
+ import { ListProfileHistoryRecordsCommand, } from "./commands/ListProfileHistoryRecordsCommand";
61
63
  import { ListProfileObjectsCommand, } from "./commands/ListProfileObjectsCommand";
62
64
  import { ListProfileObjectTypesCommand, } from "./commands/ListProfileObjectTypesCommand";
63
65
  import { ListProfileObjectTypeTemplatesCommand, } from "./commands/ListProfileObjectTypeTemplatesCommand";
@@ -119,6 +121,7 @@ const commands = {
119
121
  GetIdentityResolutionJobCommand,
120
122
  GetIntegrationCommand,
121
123
  GetMatchesCommand,
124
+ GetProfileHistoryRecordCommand,
122
125
  GetProfileObjectTypeCommand,
123
126
  GetProfileObjectTypeTemplateCommand,
124
127
  GetSegmentDefinitionCommand,
@@ -141,6 +144,7 @@ const commands = {
141
144
  ListIntegrationsCommand,
142
145
  ListObjectTypeAttributesCommand,
143
146
  ListProfileAttributeValuesCommand,
147
+ ListProfileHistoryRecordsCommand,
144
148
  ListProfileObjectsCommand,
145
149
  ListProfileObjectTypesCommand,
146
150
  ListProfileObjectTypeTemplatesCommand,
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { GetProfileHistoryRecordResponseFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_GetProfileHistoryRecordCommand, se_GetProfileHistoryRecordCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class GetProfileHistoryRecordCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("CustomerProfiles_20200815", "GetProfileHistoryRecord", {})
18
+ .n("CustomerProfilesClient", "GetProfileHistoryRecordCommand")
19
+ .f(void 0, GetProfileHistoryRecordResponseFilterSensitiveLog)
20
+ .ser(se_GetProfileHistoryRecordCommand)
21
+ .de(de_GetProfileHistoryRecordCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListProfileHistoryRecordsCommand, se_ListProfileHistoryRecordsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListProfileHistoryRecordsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("CustomerProfiles_20200815", "ListProfileHistoryRecords", {})
17
+ .n("CustomerProfilesClient", "ListProfileHistoryRecordsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListProfileHistoryRecordsCommand)
20
+ .de(de_ListProfileHistoryRecordsCommand)
21
+ .build() {
22
+ }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { PutIntegrationRequestFilterSensitiveLog, } from "../models/models_0";
5
+ import { PutIntegrationRequestFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_PutIntegrationCommand, se_PutIntegrationCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class PutIntegrationCommand extends $Command
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { PutProfileObjectRequestFilterSensitiveLog, } from "../models/models_0";
5
+ import { PutProfileObjectRequestFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_PutProfileObjectCommand, se_PutProfileObjectCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class PutProfileObjectCommand extends $Command
@@ -35,6 +35,7 @@ export * from "./GetEventTriggerCommand";
35
35
  export * from "./GetIdentityResolutionJobCommand";
36
36
  export * from "./GetIntegrationCommand";
37
37
  export * from "./GetMatchesCommand";
38
+ export * from "./GetProfileHistoryRecordCommand";
38
39
  export * from "./GetProfileObjectTypeCommand";
39
40
  export * from "./GetProfileObjectTypeTemplateCommand";
40
41
  export * from "./GetSegmentDefinitionCommand";
@@ -57,6 +58,7 @@ export * from "./ListIdentityResolutionJobsCommand";
57
58
  export * from "./ListIntegrationsCommand";
58
59
  export * from "./ListObjectTypeAttributesCommand";
59
60
  export * from "./ListProfileAttributeValuesCommand";
61
+ export * from "./ListProfileHistoryRecordsCommand";
60
62
  export * from "./ListProfileObjectTypeTemplatesCommand";
61
63
  export * from "./ListProfileObjectTypesCommand";
62
64
  export * from "./ListProfileObjectsCommand";
@@ -14,6 +14,17 @@ export class AccessDeniedException extends __BaseException {
14
14
  this.Message = opts.Message;
15
15
  }
16
16
  }
17
+ export const ActionType = {
18
+ ADDED_PROFILE_KEY: "ADDED_PROFILE_KEY",
19
+ CREATED: "CREATED",
20
+ DELETED_BY_CUSTOMER: "DELETED_BY_CUSTOMER",
21
+ DELETED_BY_MERGE: "DELETED_BY_MERGE",
22
+ DELETED_PROFILE_KEY: "DELETED_PROFILE_KEY",
23
+ EXPIRED: "EXPIRED",
24
+ INGESTED: "INGESTED",
25
+ MERGED: "MERGED",
26
+ UPDATED: "UPDATED",
27
+ };
17
28
  export class BadRequestException extends __BaseException {
18
29
  name = "BadRequestException";
19
30
  $fault = "client";
@@ -704,6 +715,10 @@ export const GetEventTriggerResponseFilterSensitiveLog = (obj) => ({
704
715
  ...(obj.Description && { Description: SENSITIVE_STRING }),
705
716
  ...(obj.EventTriggerConditions && { EventTriggerConditions: SENSITIVE_STRING }),
706
717
  });
718
+ export const GetProfileHistoryRecordResponseFilterSensitiveLog = (obj) => ({
719
+ ...obj,
720
+ ...(obj.Content && { Content: SENSITIVE_STRING }),
721
+ });
707
722
  export const GetProfileObjectTypeResponseFilterSensitiveLog = (obj) => ({
708
723
  ...obj,
709
724
  ...(obj.Description && { Description: SENSITIVE_STRING }),
@@ -768,11 +783,3 @@ export const ListSegmentDefinitionsResponseFilterSensitiveLog = (obj) => ({
768
783
  ...obj,
769
784
  ...(obj.Items && { Items: obj.Items.map((item) => SegmentDefinitionItemFilterSensitiveLog(item)) }),
770
785
  });
771
- export const PutIntegrationRequestFilterSensitiveLog = (obj) => ({
772
- ...obj,
773
- ...(obj.FlowDefinition && { FlowDefinition: SENSITIVE_STRING }),
774
- });
775
- export const PutProfileObjectRequestFilterSensitiveLog = (obj) => ({
776
- ...obj,
777
- ...(obj.Object && { Object: SENSITIVE_STRING }),
778
- });
@@ -4,6 +4,14 @@ export const LogicalOperator = {
4
4
  AND: "AND",
5
5
  OR: "OR",
6
6
  };
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
+ });
7
15
  export const PutProfileObjectTypeRequestFilterSensitiveLog = (obj) => ({
8
16
  ...obj,
9
17
  ...(obj.Description && { Description: SENSITIVE_STRING }),