@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
@@ -535,6 +535,17 @@ export const se_GetMatchesCommand = async (input, context) => {
535
535
  b.m("GET").h(headers).q(query).b(body);
536
536
  return b.build();
537
537
  };
538
+ export const se_GetProfileHistoryRecordCommand = async (input, context) => {
539
+ const b = rb(input, context);
540
+ const headers = {};
541
+ b.bp("/domains/{DomainName}/profiles/{ProfileId}/history-records/{Id}");
542
+ b.p("DomainName", () => input.DomainName, "{DomainName}", false);
543
+ b.p("ProfileId", () => input.ProfileId, "{ProfileId}", false);
544
+ b.p("Id", () => input.Id, "{Id}", false);
545
+ let body;
546
+ b.m("GET").h(headers).b(body);
547
+ return b.build();
548
+ };
538
549
  export const se_GetProfileObjectTypeCommand = async (input, context) => {
539
550
  const b = rb(input, context);
540
551
  const headers = {};
@@ -811,6 +822,27 @@ export const se_ListProfileAttributeValuesCommand = async (input, context) => {
811
822
  b.m("GET").h(headers).b(body);
812
823
  return b.build();
813
824
  };
825
+ export const se_ListProfileHistoryRecordsCommand = async (input, context) => {
826
+ const b = rb(input, context);
827
+ const headers = {
828
+ "content-type": "application/json",
829
+ };
830
+ b.bp("/domains/{DomainName}/profiles/history-records");
831
+ b.p("DomainName", () => input.DomainName, "{DomainName}", false);
832
+ const query = map({
833
+ [_nt]: [, input[_NT]],
834
+ [_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
835
+ });
836
+ let body;
837
+ body = JSON.stringify(take(input, {
838
+ ActionType: [],
839
+ ObjectTypeName: [],
840
+ PerformedBy: [],
841
+ ProfileId: [],
842
+ }));
843
+ b.m("POST").h(headers).q(query).b(body);
844
+ return b.build();
845
+ };
814
846
  export const se_ListProfileObjectsCommand = async (input, context) => {
815
847
  const b = rb(input, context);
816
848
  const headers = {
@@ -1812,6 +1844,27 @@ export const de_GetMatchesCommand = async (output, context) => {
1812
1844
  Object.assign(contents, doc);
1813
1845
  return contents;
1814
1846
  };
1847
+ export const de_GetProfileHistoryRecordCommand = async (output, context) => {
1848
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1849
+ return de_CommandError(output, context);
1850
+ }
1851
+ const contents = map({
1852
+ $metadata: deserializeMetadata(output),
1853
+ });
1854
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1855
+ const doc = take(data, {
1856
+ ActionType: __expectString,
1857
+ Content: __expectString,
1858
+ CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1859
+ Id: __expectString,
1860
+ LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1861
+ ObjectTypeName: __expectString,
1862
+ PerformedBy: __expectString,
1863
+ ProfileObjectUniqueKey: __expectString,
1864
+ });
1865
+ Object.assign(contents, doc);
1866
+ return contents;
1867
+ };
1815
1868
  export const de_GetProfileObjectTypeCommand = async (output, context) => {
1816
1869
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1817
1870
  return de_CommandError(output, context);
@@ -2201,6 +2254,21 @@ export const de_ListProfileAttributeValuesCommand = async (output, context) => {
2201
2254
  });
2202
2255
  return contents;
2203
2256
  };
2257
+ export const de_ListProfileHistoryRecordsCommand = async (output, context) => {
2258
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2259
+ return de_CommandError(output, context);
2260
+ }
2261
+ const contents = map({
2262
+ $metadata: deserializeMetadata(output),
2263
+ });
2264
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2265
+ const doc = take(data, {
2266
+ NextToken: __expectString,
2267
+ ProfileHistoryRecords: (_) => de_ProfileHistoryRecords(_, context),
2268
+ });
2269
+ Object.assign(contents, doc);
2270
+ return contents;
2271
+ };
2204
2272
  export const de_ListProfileObjectsCommand = async (output, context) => {
2205
2273
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2206
2274
  return de_CommandError(output, context);
@@ -3259,6 +3327,25 @@ const de_ProfileDimension = (output, context) => {
3259
3327
  Values: [, _json, `Values`],
3260
3328
  });
3261
3329
  };
3330
+ const de_ProfileHistoryRecord = (output, context) => {
3331
+ return take(output, {
3332
+ ActionType: __expectString,
3333
+ CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3334
+ Id: __expectString,
3335
+ LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3336
+ ObjectTypeName: __expectString,
3337
+ PerformedBy: __expectString,
3338
+ ProfileObjectUniqueKey: __expectString,
3339
+ });
3340
+ };
3341
+ const de_ProfileHistoryRecords = (output, context) => {
3342
+ const retVal = (output || [])
3343
+ .filter((e) => e != null)
3344
+ .map((entry) => {
3345
+ return de_ProfileHistoryRecord(entry, context);
3346
+ });
3347
+ return retVal;
3348
+ };
3262
3349
  const de_ProfileObjectTypeList = (output, context) => {
3263
3350
  const retVal = (output || [])
3264
3351
  .filter((e) => e != null)
@@ -36,6 +36,7 @@ import { GetEventTriggerCommandInput, GetEventTriggerCommandOutput } from "./com
36
36
  import { GetIdentityResolutionJobCommandInput, GetIdentityResolutionJobCommandOutput } from "./commands/GetIdentityResolutionJobCommand";
37
37
  import { GetIntegrationCommandInput, GetIntegrationCommandOutput } from "./commands/GetIntegrationCommand";
38
38
  import { GetMatchesCommandInput, GetMatchesCommandOutput } from "./commands/GetMatchesCommand";
39
+ import { GetProfileHistoryRecordCommandInput, GetProfileHistoryRecordCommandOutput } from "./commands/GetProfileHistoryRecordCommand";
39
40
  import { GetProfileObjectTypeCommandInput, GetProfileObjectTypeCommandOutput } from "./commands/GetProfileObjectTypeCommand";
40
41
  import { GetProfileObjectTypeTemplateCommandInput, GetProfileObjectTypeTemplateCommandOutput } from "./commands/GetProfileObjectTypeTemplateCommand";
41
42
  import { GetSegmentDefinitionCommandInput, GetSegmentDefinitionCommandOutput } from "./commands/GetSegmentDefinitionCommand";
@@ -58,6 +59,7 @@ import { ListIdentityResolutionJobsCommandInput, ListIdentityResolutionJobsComma
58
59
  import { ListIntegrationsCommandInput, ListIntegrationsCommandOutput } from "./commands/ListIntegrationsCommand";
59
60
  import { ListObjectTypeAttributesCommandInput, ListObjectTypeAttributesCommandOutput } from "./commands/ListObjectTypeAttributesCommand";
60
61
  import { ListProfileAttributeValuesCommandInput, ListProfileAttributeValuesCommandOutput } from "./commands/ListProfileAttributeValuesCommand";
62
+ import { ListProfileHistoryRecordsCommandInput, ListProfileHistoryRecordsCommandOutput } from "./commands/ListProfileHistoryRecordsCommand";
61
63
  import { ListProfileObjectsCommandInput, ListProfileObjectsCommandOutput } from "./commands/ListProfileObjectsCommand";
62
64
  import { ListProfileObjectTypesCommandInput, ListProfileObjectTypesCommandOutput } from "./commands/ListProfileObjectTypesCommand";
63
65
  import { ListProfileObjectTypeTemplatesCommandInput, ListProfileObjectTypeTemplatesCommandOutput } from "./commands/ListProfileObjectTypeTemplatesCommand";
@@ -304,6 +306,12 @@ export interface CustomerProfiles {
304
306
  getMatches(args: GetMatchesCommandInput, options?: __HttpHandlerOptions): Promise<GetMatchesCommandOutput>;
305
307
  getMatches(args: GetMatchesCommandInput, cb: (err: any, data?: GetMatchesCommandOutput) => void): void;
306
308
  getMatches(args: GetMatchesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMatchesCommandOutput) => void): void;
309
+ /**
310
+ * @see {@link GetProfileHistoryRecordCommand}
311
+ */
312
+ getProfileHistoryRecord(args: GetProfileHistoryRecordCommandInput, options?: __HttpHandlerOptions): Promise<GetProfileHistoryRecordCommandOutput>;
313
+ getProfileHistoryRecord(args: GetProfileHistoryRecordCommandInput, cb: (err: any, data?: GetProfileHistoryRecordCommandOutput) => void): void;
314
+ getProfileHistoryRecord(args: GetProfileHistoryRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProfileHistoryRecordCommandOutput) => void): void;
307
315
  /**
308
316
  * @see {@link GetProfileObjectTypeCommand}
309
317
  */
@@ -437,6 +445,12 @@ export interface CustomerProfiles {
437
445
  listProfileAttributeValues(args: ListProfileAttributeValuesCommandInput, options?: __HttpHandlerOptions): Promise<ListProfileAttributeValuesCommandOutput>;
438
446
  listProfileAttributeValues(args: ListProfileAttributeValuesCommandInput, cb: (err: any, data?: ListProfileAttributeValuesCommandOutput) => void): void;
439
447
  listProfileAttributeValues(args: ListProfileAttributeValuesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfileAttributeValuesCommandOutput) => void): void;
448
+ /**
449
+ * @see {@link ListProfileHistoryRecordsCommand}
450
+ */
451
+ listProfileHistoryRecords(args: ListProfileHistoryRecordsCommandInput, options?: __HttpHandlerOptions): Promise<ListProfileHistoryRecordsCommandOutput>;
452
+ listProfileHistoryRecords(args: ListProfileHistoryRecordsCommandInput, cb: (err: any, data?: ListProfileHistoryRecordsCommandOutput) => void): void;
453
+ listProfileHistoryRecords(args: ListProfileHistoryRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfileHistoryRecordsCommandOutput) => void): void;
440
454
  /**
441
455
  * @see {@link ListProfileObjectsCommand}
442
456
  */
@@ -44,6 +44,7 @@ import { GetEventTriggerCommandInput, GetEventTriggerCommandOutput } from "./com
44
44
  import { GetIdentityResolutionJobCommandInput, GetIdentityResolutionJobCommandOutput } from "./commands/GetIdentityResolutionJobCommand";
45
45
  import { GetIntegrationCommandInput, GetIntegrationCommandOutput } from "./commands/GetIntegrationCommand";
46
46
  import { GetMatchesCommandInput, GetMatchesCommandOutput } from "./commands/GetMatchesCommand";
47
+ import { GetProfileHistoryRecordCommandInput, GetProfileHistoryRecordCommandOutput } from "./commands/GetProfileHistoryRecordCommand";
47
48
  import { GetProfileObjectTypeCommandInput, GetProfileObjectTypeCommandOutput } from "./commands/GetProfileObjectTypeCommand";
48
49
  import { GetProfileObjectTypeTemplateCommandInput, GetProfileObjectTypeTemplateCommandOutput } from "./commands/GetProfileObjectTypeTemplateCommand";
49
50
  import { GetSegmentDefinitionCommandInput, GetSegmentDefinitionCommandOutput } from "./commands/GetSegmentDefinitionCommand";
@@ -66,6 +67,7 @@ import { ListIdentityResolutionJobsCommandInput, ListIdentityResolutionJobsComma
66
67
  import { ListIntegrationsCommandInput, ListIntegrationsCommandOutput } from "./commands/ListIntegrationsCommand";
67
68
  import { ListObjectTypeAttributesCommandInput, ListObjectTypeAttributesCommandOutput } from "./commands/ListObjectTypeAttributesCommand";
68
69
  import { ListProfileAttributeValuesCommandInput, ListProfileAttributeValuesCommandOutput } from "./commands/ListProfileAttributeValuesCommand";
70
+ import { ListProfileHistoryRecordsCommandInput, ListProfileHistoryRecordsCommandOutput } from "./commands/ListProfileHistoryRecordsCommand";
69
71
  import { ListProfileObjectsCommandInput, ListProfileObjectsCommandOutput } from "./commands/ListProfileObjectsCommand";
70
72
  import { ListProfileObjectTypesCommandInput, ListProfileObjectTypesCommandOutput } from "./commands/ListProfileObjectTypesCommand";
71
73
  import { ListProfileObjectTypeTemplatesCommandInput, ListProfileObjectTypeTemplatesCommandOutput } from "./commands/ListProfileObjectTypeTemplatesCommand";
@@ -94,11 +96,11 @@ export { __Client };
94
96
  /**
95
97
  * @public
96
98
  */
97
- export type ServiceInputTypes = AddProfileKeyCommandInput | BatchGetCalculatedAttributeForProfileCommandInput | BatchGetProfileCommandInput | CreateCalculatedAttributeDefinitionCommandInput | CreateDomainCommandInput | CreateDomainLayoutCommandInput | CreateEventStreamCommandInput | CreateEventTriggerCommandInput | CreateIntegrationWorkflowCommandInput | CreateProfileCommandInput | CreateSegmentDefinitionCommandInput | CreateSegmentEstimateCommandInput | CreateSegmentSnapshotCommandInput | CreateUploadJobCommandInput | DeleteCalculatedAttributeDefinitionCommandInput | DeleteDomainCommandInput | DeleteDomainLayoutCommandInput | DeleteEventStreamCommandInput | DeleteEventTriggerCommandInput | DeleteIntegrationCommandInput | DeleteProfileCommandInput | DeleteProfileKeyCommandInput | DeleteProfileObjectCommandInput | DeleteProfileObjectTypeCommandInput | DeleteSegmentDefinitionCommandInput | DeleteWorkflowCommandInput | DetectProfileObjectTypeCommandInput | GetAutoMergingPreviewCommandInput | GetCalculatedAttributeDefinitionCommandInput | GetCalculatedAttributeForProfileCommandInput | GetDomainCommandInput | GetDomainLayoutCommandInput | GetEventStreamCommandInput | GetEventTriggerCommandInput | GetIdentityResolutionJobCommandInput | GetIntegrationCommandInput | GetMatchesCommandInput | GetProfileObjectTypeCommandInput | GetProfileObjectTypeTemplateCommandInput | GetSegmentDefinitionCommandInput | GetSegmentEstimateCommandInput | GetSegmentMembershipCommandInput | GetSegmentSnapshotCommandInput | GetSimilarProfilesCommandInput | GetUploadJobCommandInput | GetUploadJobPathCommandInput | GetWorkflowCommandInput | GetWorkflowStepsCommandInput | ListAccountIntegrationsCommandInput | ListCalculatedAttributeDefinitionsCommandInput | ListCalculatedAttributesForProfileCommandInput | ListDomainLayoutsCommandInput | ListDomainsCommandInput | ListEventStreamsCommandInput | ListEventTriggersCommandInput | ListIdentityResolutionJobsCommandInput | ListIntegrationsCommandInput | ListObjectTypeAttributesCommandInput | ListProfileAttributeValuesCommandInput | ListProfileObjectTypeTemplatesCommandInput | ListProfileObjectTypesCommandInput | ListProfileObjectsCommandInput | ListRuleBasedMatchesCommandInput | ListSegmentDefinitionsCommandInput | ListTagsForResourceCommandInput | ListUploadJobsCommandInput | ListWorkflowsCommandInput | MergeProfilesCommandInput | PutIntegrationCommandInput | PutProfileObjectCommandInput | PutProfileObjectTypeCommandInput | SearchProfilesCommandInput | StartUploadJobCommandInput | StopUploadJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCalculatedAttributeDefinitionCommandInput | UpdateDomainCommandInput | UpdateDomainLayoutCommandInput | UpdateEventTriggerCommandInput | UpdateProfileCommandInput;
99
+ export type ServiceInputTypes = AddProfileKeyCommandInput | BatchGetCalculatedAttributeForProfileCommandInput | BatchGetProfileCommandInput | CreateCalculatedAttributeDefinitionCommandInput | CreateDomainCommandInput | CreateDomainLayoutCommandInput | CreateEventStreamCommandInput | CreateEventTriggerCommandInput | CreateIntegrationWorkflowCommandInput | CreateProfileCommandInput | CreateSegmentDefinitionCommandInput | CreateSegmentEstimateCommandInput | CreateSegmentSnapshotCommandInput | CreateUploadJobCommandInput | DeleteCalculatedAttributeDefinitionCommandInput | DeleteDomainCommandInput | DeleteDomainLayoutCommandInput | DeleteEventStreamCommandInput | DeleteEventTriggerCommandInput | DeleteIntegrationCommandInput | DeleteProfileCommandInput | DeleteProfileKeyCommandInput | DeleteProfileObjectCommandInput | DeleteProfileObjectTypeCommandInput | DeleteSegmentDefinitionCommandInput | DeleteWorkflowCommandInput | DetectProfileObjectTypeCommandInput | GetAutoMergingPreviewCommandInput | GetCalculatedAttributeDefinitionCommandInput | GetCalculatedAttributeForProfileCommandInput | GetDomainCommandInput | GetDomainLayoutCommandInput | GetEventStreamCommandInput | GetEventTriggerCommandInput | GetIdentityResolutionJobCommandInput | GetIntegrationCommandInput | GetMatchesCommandInput | GetProfileHistoryRecordCommandInput | GetProfileObjectTypeCommandInput | GetProfileObjectTypeTemplateCommandInput | GetSegmentDefinitionCommandInput | GetSegmentEstimateCommandInput | GetSegmentMembershipCommandInput | GetSegmentSnapshotCommandInput | GetSimilarProfilesCommandInput | GetUploadJobCommandInput | GetUploadJobPathCommandInput | GetWorkflowCommandInput | GetWorkflowStepsCommandInput | ListAccountIntegrationsCommandInput | ListCalculatedAttributeDefinitionsCommandInput | ListCalculatedAttributesForProfileCommandInput | ListDomainLayoutsCommandInput | ListDomainsCommandInput | ListEventStreamsCommandInput | ListEventTriggersCommandInput | ListIdentityResolutionJobsCommandInput | ListIntegrationsCommandInput | ListObjectTypeAttributesCommandInput | ListProfileAttributeValuesCommandInput | ListProfileHistoryRecordsCommandInput | ListProfileObjectTypeTemplatesCommandInput | ListProfileObjectTypesCommandInput | ListProfileObjectsCommandInput | ListRuleBasedMatchesCommandInput | ListSegmentDefinitionsCommandInput | ListTagsForResourceCommandInput | ListUploadJobsCommandInput | ListWorkflowsCommandInput | MergeProfilesCommandInput | PutIntegrationCommandInput | PutProfileObjectCommandInput | PutProfileObjectTypeCommandInput | SearchProfilesCommandInput | StartUploadJobCommandInput | StopUploadJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCalculatedAttributeDefinitionCommandInput | UpdateDomainCommandInput | UpdateDomainLayoutCommandInput | UpdateEventTriggerCommandInput | UpdateProfileCommandInput;
98
100
  /**
99
101
  * @public
100
102
  */
101
- export type ServiceOutputTypes = AddProfileKeyCommandOutput | BatchGetCalculatedAttributeForProfileCommandOutput | BatchGetProfileCommandOutput | CreateCalculatedAttributeDefinitionCommandOutput | CreateDomainCommandOutput | CreateDomainLayoutCommandOutput | CreateEventStreamCommandOutput | CreateEventTriggerCommandOutput | CreateIntegrationWorkflowCommandOutput | CreateProfileCommandOutput | CreateSegmentDefinitionCommandOutput | CreateSegmentEstimateCommandOutput | CreateSegmentSnapshotCommandOutput | CreateUploadJobCommandOutput | DeleteCalculatedAttributeDefinitionCommandOutput | DeleteDomainCommandOutput | DeleteDomainLayoutCommandOutput | DeleteEventStreamCommandOutput | DeleteEventTriggerCommandOutput | DeleteIntegrationCommandOutput | DeleteProfileCommandOutput | DeleteProfileKeyCommandOutput | DeleteProfileObjectCommandOutput | DeleteProfileObjectTypeCommandOutput | DeleteSegmentDefinitionCommandOutput | DeleteWorkflowCommandOutput | DetectProfileObjectTypeCommandOutput | GetAutoMergingPreviewCommandOutput | GetCalculatedAttributeDefinitionCommandOutput | GetCalculatedAttributeForProfileCommandOutput | GetDomainCommandOutput | GetDomainLayoutCommandOutput | GetEventStreamCommandOutput | GetEventTriggerCommandOutput | GetIdentityResolutionJobCommandOutput | GetIntegrationCommandOutput | GetMatchesCommandOutput | GetProfileObjectTypeCommandOutput | GetProfileObjectTypeTemplateCommandOutput | GetSegmentDefinitionCommandOutput | GetSegmentEstimateCommandOutput | GetSegmentMembershipCommandOutput | GetSegmentSnapshotCommandOutput | GetSimilarProfilesCommandOutput | GetUploadJobCommandOutput | GetUploadJobPathCommandOutput | GetWorkflowCommandOutput | GetWorkflowStepsCommandOutput | ListAccountIntegrationsCommandOutput | ListCalculatedAttributeDefinitionsCommandOutput | ListCalculatedAttributesForProfileCommandOutput | ListDomainLayoutsCommandOutput | ListDomainsCommandOutput | ListEventStreamsCommandOutput | ListEventTriggersCommandOutput | ListIdentityResolutionJobsCommandOutput | ListIntegrationsCommandOutput | ListObjectTypeAttributesCommandOutput | ListProfileAttributeValuesCommandOutput | ListProfileObjectTypeTemplatesCommandOutput | ListProfileObjectTypesCommandOutput | ListProfileObjectsCommandOutput | ListRuleBasedMatchesCommandOutput | ListSegmentDefinitionsCommandOutput | ListTagsForResourceCommandOutput | ListUploadJobsCommandOutput | ListWorkflowsCommandOutput | MergeProfilesCommandOutput | PutIntegrationCommandOutput | PutProfileObjectCommandOutput | PutProfileObjectTypeCommandOutput | SearchProfilesCommandOutput | StartUploadJobCommandOutput | StopUploadJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCalculatedAttributeDefinitionCommandOutput | UpdateDomainCommandOutput | UpdateDomainLayoutCommandOutput | UpdateEventTriggerCommandOutput | UpdateProfileCommandOutput;
103
+ export type ServiceOutputTypes = AddProfileKeyCommandOutput | BatchGetCalculatedAttributeForProfileCommandOutput | BatchGetProfileCommandOutput | CreateCalculatedAttributeDefinitionCommandOutput | CreateDomainCommandOutput | CreateDomainLayoutCommandOutput | CreateEventStreamCommandOutput | CreateEventTriggerCommandOutput | CreateIntegrationWorkflowCommandOutput | CreateProfileCommandOutput | CreateSegmentDefinitionCommandOutput | CreateSegmentEstimateCommandOutput | CreateSegmentSnapshotCommandOutput | CreateUploadJobCommandOutput | DeleteCalculatedAttributeDefinitionCommandOutput | DeleteDomainCommandOutput | DeleteDomainLayoutCommandOutput | DeleteEventStreamCommandOutput | DeleteEventTriggerCommandOutput | DeleteIntegrationCommandOutput | DeleteProfileCommandOutput | DeleteProfileKeyCommandOutput | DeleteProfileObjectCommandOutput | DeleteProfileObjectTypeCommandOutput | DeleteSegmentDefinitionCommandOutput | DeleteWorkflowCommandOutput | DetectProfileObjectTypeCommandOutput | GetAutoMergingPreviewCommandOutput | GetCalculatedAttributeDefinitionCommandOutput | GetCalculatedAttributeForProfileCommandOutput | GetDomainCommandOutput | GetDomainLayoutCommandOutput | GetEventStreamCommandOutput | GetEventTriggerCommandOutput | GetIdentityResolutionJobCommandOutput | GetIntegrationCommandOutput | GetMatchesCommandOutput | GetProfileHistoryRecordCommandOutput | GetProfileObjectTypeCommandOutput | GetProfileObjectTypeTemplateCommandOutput | GetSegmentDefinitionCommandOutput | GetSegmentEstimateCommandOutput | GetSegmentMembershipCommandOutput | GetSegmentSnapshotCommandOutput | GetSimilarProfilesCommandOutput | GetUploadJobCommandOutput | GetUploadJobPathCommandOutput | GetWorkflowCommandOutput | GetWorkflowStepsCommandOutput | ListAccountIntegrationsCommandOutput | ListCalculatedAttributeDefinitionsCommandOutput | ListCalculatedAttributesForProfileCommandOutput | ListDomainLayoutsCommandOutput | ListDomainsCommandOutput | ListEventStreamsCommandOutput | ListEventTriggersCommandOutput | ListIdentityResolutionJobsCommandOutput | ListIntegrationsCommandOutput | ListObjectTypeAttributesCommandOutput | ListProfileAttributeValuesCommandOutput | ListProfileHistoryRecordsCommandOutput | ListProfileObjectTypeTemplatesCommandOutput | ListProfileObjectTypesCommandOutput | ListProfileObjectsCommandOutput | ListRuleBasedMatchesCommandOutput | ListSegmentDefinitionsCommandOutput | ListTagsForResourceCommandOutput | ListUploadJobsCommandOutput | ListWorkflowsCommandOutput | MergeProfilesCommandOutput | PutIntegrationCommandOutput | PutProfileObjectCommandOutput | PutProfileObjectTypeCommandOutput | SearchProfilesCommandOutput | StartUploadJobCommandOutput | StopUploadJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCalculatedAttributeDefinitionCommandOutput | UpdateDomainCommandOutput | UpdateDomainLayoutCommandOutput | UpdateEventTriggerCommandOutput | UpdateProfileCommandOutput;
102
104
  /**
103
105
  * @public
104
106
  */
@@ -0,0 +1,98 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
+ import { GetProfileHistoryRecordRequest, GetProfileHistoryRecordResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetProfileHistoryRecordCommand}.
14
+ */
15
+ export interface GetProfileHistoryRecordCommandInput extends GetProfileHistoryRecordRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetProfileHistoryRecordCommand}.
21
+ */
22
+ export interface GetProfileHistoryRecordCommandOutput extends GetProfileHistoryRecordResponse, __MetadataBearer {
23
+ }
24
+ declare const GetProfileHistoryRecordCommand_base: {
25
+ new (input: GetProfileHistoryRecordCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileHistoryRecordCommandInput, GetProfileHistoryRecordCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetProfileHistoryRecordCommandInput): import("@smithy/smithy-client").CommandImpl<GetProfileHistoryRecordCommandInput, GetProfileHistoryRecordCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a history record for a specific profile, for a specific domain.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CustomerProfilesClient, GetProfileHistoryRecordCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
35
+ * // const { CustomerProfilesClient, GetProfileHistoryRecordCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
36
+ * // import type { CustomerProfilesClientConfig } from "@aws-sdk/client-customer-profiles";
37
+ * const config = {}; // type is CustomerProfilesClientConfig
38
+ * const client = new CustomerProfilesClient(config);
39
+ * const input = { // GetProfileHistoryRecordRequest
40
+ * DomainName: "STRING_VALUE", // required
41
+ * ProfileId: "STRING_VALUE", // required
42
+ * Id: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new GetProfileHistoryRecordCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // GetProfileHistoryRecordResponse
47
+ * // Id: "STRING_VALUE", // required
48
+ * // ObjectTypeName: "STRING_VALUE", // required
49
+ * // CreatedAt: new Date("TIMESTAMP"), // required
50
+ * // LastUpdatedAt: new Date("TIMESTAMP"),
51
+ * // ActionType: "ADDED_PROFILE_KEY" || "DELETED_PROFILE_KEY" || "CREATED" || "UPDATED" || "INGESTED" || "DELETED_BY_CUSTOMER" || "EXPIRED" || "MERGED" || "DELETED_BY_MERGE", // required
52
+ * // ProfileObjectUniqueKey: "STRING_VALUE",
53
+ * // Content: "STRING_VALUE",
54
+ * // PerformedBy: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param GetProfileHistoryRecordCommandInput - {@link GetProfileHistoryRecordCommandInput}
60
+ * @returns {@link GetProfileHistoryRecordCommandOutput}
61
+ * @see {@link GetProfileHistoryRecordCommandInput} for command's `input` shape.
62
+ * @see {@link GetProfileHistoryRecordCommandOutput} for command's `response` shape.
63
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You do not have sufficient access to perform this action.</p>
67
+ *
68
+ * @throws {@link BadRequestException} (client fault)
69
+ * <p>The input you provided is invalid.</p>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>An internal service error occurred.</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>The requested resource does not exist, or access was denied.</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>You exceeded the maximum number of requests.</p>
79
+ *
80
+ * @throws {@link CustomerProfilesServiceException}
81
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
82
+ *
83
+ *
84
+ * @public
85
+ */
86
+ export declare class GetProfileHistoryRecordCommand extends GetProfileHistoryRecordCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: GetProfileHistoryRecordRequest;
91
+ output: GetProfileHistoryRecordResponse;
92
+ };
93
+ sdk: {
94
+ input: GetProfileHistoryRecordCommandInput;
95
+ output: GetProfileHistoryRecordCommandOutput;
96
+ };
97
+ };
98
+ }
@@ -0,0 +1,106 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
+ import { ListProfileHistoryRecordsRequest, ListProfileHistoryRecordsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListProfileHistoryRecordsCommand}.
14
+ */
15
+ export interface ListProfileHistoryRecordsCommandInput extends ListProfileHistoryRecordsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListProfileHistoryRecordsCommand}.
21
+ */
22
+ export interface ListProfileHistoryRecordsCommandOutput extends ListProfileHistoryRecordsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListProfileHistoryRecordsCommand_base: {
25
+ new (input: ListProfileHistoryRecordsCommandInput): import("@smithy/smithy-client").CommandImpl<ListProfileHistoryRecordsCommandInput, ListProfileHistoryRecordsCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListProfileHistoryRecordsCommandInput): import("@smithy/smithy-client").CommandImpl<ListProfileHistoryRecordsCommandInput, ListProfileHistoryRecordsCommandOutput, CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Returns a list of history records for a specific profile, for a specific domain.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CustomerProfilesClient, ListProfileHistoryRecordsCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
35
+ * // const { CustomerProfilesClient, ListProfileHistoryRecordsCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
36
+ * // import type { CustomerProfilesClientConfig } from "@aws-sdk/client-customer-profiles";
37
+ * const config = {}; // type is CustomerProfilesClientConfig
38
+ * const client = new CustomerProfilesClient(config);
39
+ * const input = { // ListProfileHistoryRecordsRequest
40
+ * DomainName: "STRING_VALUE", // required
41
+ * ProfileId: "STRING_VALUE", // required
42
+ * ObjectTypeName: "STRING_VALUE",
43
+ * NextToken: "STRING_VALUE",
44
+ * MaxResults: Number("int"),
45
+ * ActionType: "ADDED_PROFILE_KEY" || "DELETED_PROFILE_KEY" || "CREATED" || "UPDATED" || "INGESTED" || "DELETED_BY_CUSTOMER" || "EXPIRED" || "MERGED" || "DELETED_BY_MERGE",
46
+ * PerformedBy: "STRING_VALUE",
47
+ * };
48
+ * const command = new ListProfileHistoryRecordsCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // ListProfileHistoryRecordsResponse
51
+ * // ProfileHistoryRecords: [ // ProfileHistoryRecords
52
+ * // { // ProfileHistoryRecord
53
+ * // Id: "STRING_VALUE", // required
54
+ * // ObjectTypeName: "STRING_VALUE", // required
55
+ * // CreatedAt: new Date("TIMESTAMP"), // required
56
+ * // LastUpdatedAt: new Date("TIMESTAMP"),
57
+ * // ActionType: "ADDED_PROFILE_KEY" || "DELETED_PROFILE_KEY" || "CREATED" || "UPDATED" || "INGESTED" || "DELETED_BY_CUSTOMER" || "EXPIRED" || "MERGED" || "DELETED_BY_MERGE", // required
58
+ * // ProfileObjectUniqueKey: "STRING_VALUE",
59
+ * // PerformedBy: "STRING_VALUE",
60
+ * // },
61
+ * // ],
62
+ * // NextToken: "STRING_VALUE",
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param ListProfileHistoryRecordsCommandInput - {@link ListProfileHistoryRecordsCommandInput}
68
+ * @returns {@link ListProfileHistoryRecordsCommandOutput}
69
+ * @see {@link ListProfileHistoryRecordsCommandInput} for command's `input` shape.
70
+ * @see {@link ListProfileHistoryRecordsCommandOutput} for command's `response` shape.
71
+ * @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <p>You do not have sufficient access to perform this action.</p>
75
+ *
76
+ * @throws {@link BadRequestException} (client fault)
77
+ * <p>The input you provided is invalid.</p>
78
+ *
79
+ * @throws {@link InternalServerException} (server fault)
80
+ * <p>An internal service error occurred.</p>
81
+ *
82
+ * @throws {@link ResourceNotFoundException} (client fault)
83
+ * <p>The requested resource does not exist, or access was denied.</p>
84
+ *
85
+ * @throws {@link ThrottlingException} (client fault)
86
+ * <p>You exceeded the maximum number of requests.</p>
87
+ *
88
+ * @throws {@link CustomerProfilesServiceException}
89
+ * <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
90
+ *
91
+ *
92
+ * @public
93
+ */
94
+ export declare class ListProfileHistoryRecordsCommand extends ListProfileHistoryRecordsCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: ListProfileHistoryRecordsRequest;
99
+ output: ListProfileHistoryRecordsResponse;
100
+ };
101
+ sdk: {
102
+ input: ListProfileHistoryRecordsCommandInput;
103
+ output: ListProfileHistoryRecordsCommandOutput;
104
+ };
105
+ };
106
+ }
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
- import { MergeProfilesRequest, MergeProfilesResponse } from "../models/models_0";
4
+ import { MergeProfilesRequest, MergeProfilesResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
- import { PutIntegrationRequest, PutIntegrationResponse } from "../models/models_0";
4
+ import { PutIntegrationRequest, PutIntegrationResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
4
- import { PutProfileObjectRequest, PutProfileObjectResponse } from "../models/models_0";
4
+ import { PutProfileObjectRequest, PutProfileObjectResponse } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -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";