Skip to content

Commit 3558c83

Browse files
author
awstools
committed
feat(client-customer-profiles): This release introduces capability of Profile Explorer, using correct ingestion timestamp & using historical data for computing calculated attributes, and new standard objects for T&H as part of Amazon Connect Customer Profiles service.
1 parent 8aaaa37 commit 3558c83

28 files changed

+3243
-303
lines changed

clients/client-customer-profiles/README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,14 @@ CreateDomain
261261

262262
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/CreateDomainCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/CreateDomainCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/CreateDomainCommandOutput/)
263263

264+
</details>
265+
<details>
266+
<summary>
267+
CreateDomainLayout
268+
</summary>
269+
270+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/CreateDomainLayoutCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/CreateDomainLayoutCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/CreateDomainLayoutCommandOutput/)
271+
264272
</details>
265273
<details>
266274
<summary>
@@ -333,6 +341,14 @@ DeleteDomain
333341

334342
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/DeleteDomainCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/DeleteDomainCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/DeleteDomainCommandOutput/)
335343

344+
</details>
345+
<details>
346+
<summary>
347+
DeleteDomainLayout
348+
</summary>
349+
350+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/DeleteDomainLayoutCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/DeleteDomainLayoutCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/DeleteDomainLayoutCommandOutput/)
351+
336352
</details>
337353
<details>
338354
<summary>
@@ -445,6 +461,14 @@ GetDomain
445461

446462
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/GetDomainCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/GetDomainCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/GetDomainCommandOutput/)
447463

464+
</details>
465+
<details>
466+
<summary>
467+
GetDomainLayout
468+
</summary>
469+
470+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/GetDomainLayoutCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/GetDomainLayoutCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/GetDomainLayoutCommandOutput/)
471+
448472
</details>
449473
<details>
450474
<summary>
@@ -581,6 +605,14 @@ ListCalculatedAttributesForProfile
581605

582606
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/ListCalculatedAttributesForProfileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/ListCalculatedAttributesForProfileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/ListCalculatedAttributesForProfileCommandOutput/)
583607

608+
</details>
609+
<details>
610+
<summary>
611+
ListDomainLayouts
612+
</summary>
613+
614+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/ListDomainLayoutsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/ListDomainLayoutsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/ListDomainLayoutsCommandOutput/)
615+
584616
</details>
585617
<details>
586618
<summary>
@@ -765,6 +797,14 @@ UpdateDomain
765797

766798
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/UpdateDomainCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/UpdateDomainCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/UpdateDomainCommandOutput/)
767799

800+
</details>
801+
<details>
802+
<summary>
803+
UpdateDomainLayout
804+
</summary>
805+
806+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/UpdateDomainLayoutCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/UpdateDomainLayoutCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/UpdateDomainLayoutCommandOutput/)
807+
768808
</details>
769809
<details>
770810
<summary>

clients/client-customer-profiles/src/CustomerProfiles.ts

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ import {
2727
CreateDomainCommandInput,
2828
CreateDomainCommandOutput,
2929
} from "./commands/CreateDomainCommand";
30+
import {
31+
CreateDomainLayoutCommand,
32+
CreateDomainLayoutCommandInput,
33+
CreateDomainLayoutCommandOutput,
34+
} from "./commands/CreateDomainLayoutCommand";
3035
import {
3136
CreateEventStreamCommand,
3237
CreateEventStreamCommandInput,
@@ -72,6 +77,11 @@ import {
7277
DeleteDomainCommandInput,
7378
DeleteDomainCommandOutput,
7479
} from "./commands/DeleteDomainCommand";
80+
import {
81+
DeleteDomainLayoutCommand,
82+
DeleteDomainLayoutCommandInput,
83+
DeleteDomainLayoutCommandOutput,
84+
} from "./commands/DeleteDomainLayoutCommand";
7585
import {
7686
DeleteEventStreamCommand,
7787
DeleteEventStreamCommandInput,
@@ -138,6 +148,11 @@ import {
138148
GetCalculatedAttributeForProfileCommandOutput,
139149
} from "./commands/GetCalculatedAttributeForProfileCommand";
140150
import { GetDomainCommand, GetDomainCommandInput, GetDomainCommandOutput } from "./commands/GetDomainCommand";
151+
import {
152+
GetDomainLayoutCommand,
153+
GetDomainLayoutCommandInput,
154+
GetDomainLayoutCommandOutput,
155+
} from "./commands/GetDomainLayoutCommand";
141156
import {
142157
GetEventStreamCommand,
143158
GetEventStreamCommandInput,
@@ -215,6 +230,11 @@ import {
215230
ListCalculatedAttributesForProfileCommandInput,
216231
ListCalculatedAttributesForProfileCommandOutput,
217232
} from "./commands/ListCalculatedAttributesForProfileCommand";
233+
import {
234+
ListDomainLayoutsCommand,
235+
ListDomainLayoutsCommandInput,
236+
ListDomainLayoutsCommandOutput,
237+
} from "./commands/ListDomainLayoutsCommand";
218238
import { ListDomainsCommand, ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
219239
import {
220240
ListEventStreamsCommand,
@@ -322,6 +342,11 @@ import {
322342
UpdateDomainCommandInput,
323343
UpdateDomainCommandOutput,
324344
} from "./commands/UpdateDomainCommand";
345+
import {
346+
UpdateDomainLayoutCommand,
347+
UpdateDomainLayoutCommandInput,
348+
UpdateDomainLayoutCommandOutput,
349+
} from "./commands/UpdateDomainLayoutCommand";
325350
import {
326351
UpdateEventTriggerCommand,
327352
UpdateEventTriggerCommandInput,
@@ -340,6 +365,7 @@ const commands = {
340365
BatchGetProfileCommand,
341366
CreateCalculatedAttributeDefinitionCommand,
342367
CreateDomainCommand,
368+
CreateDomainLayoutCommand,
343369
CreateEventStreamCommand,
344370
CreateEventTriggerCommand,
345371
CreateIntegrationWorkflowCommand,
@@ -349,6 +375,7 @@ const commands = {
349375
CreateSegmentSnapshotCommand,
350376
DeleteCalculatedAttributeDefinitionCommand,
351377
DeleteDomainCommand,
378+
DeleteDomainLayoutCommand,
352379
DeleteEventStreamCommand,
353380
DeleteEventTriggerCommand,
354381
DeleteIntegrationCommand,
@@ -363,6 +390,7 @@ const commands = {
363390
GetCalculatedAttributeDefinitionCommand,
364391
GetCalculatedAttributeForProfileCommand,
365392
GetDomainCommand,
393+
GetDomainLayoutCommand,
366394
GetEventStreamCommand,
367395
GetEventTriggerCommand,
368396
GetIdentityResolutionJobCommand,
@@ -380,6 +408,7 @@ const commands = {
380408
ListAccountIntegrationsCommand,
381409
ListCalculatedAttributeDefinitionsCommand,
382410
ListCalculatedAttributesForProfileCommand,
411+
ListDomainLayoutsCommand,
383412
ListDomainsCommand,
384413
ListEventStreamsCommand,
385414
ListEventTriggersCommand,
@@ -403,6 +432,7 @@ const commands = {
403432
UntagResourceCommand,
404433
UpdateCalculatedAttributeDefinitionCommand,
405434
UpdateDomainCommand,
435+
UpdateDomainLayoutCommand,
406436
UpdateEventTriggerCommand,
407437
UpdateProfileCommand,
408438
};
@@ -478,6 +508,23 @@ export interface CustomerProfiles {
478508
cb: (err: any, data?: CreateDomainCommandOutput) => void
479509
): void;
480510

511+
/**
512+
* @see {@link CreateDomainLayoutCommand}
513+
*/
514+
createDomainLayout(
515+
args: CreateDomainLayoutCommandInput,
516+
options?: __HttpHandlerOptions
517+
): Promise<CreateDomainLayoutCommandOutput>;
518+
createDomainLayout(
519+
args: CreateDomainLayoutCommandInput,
520+
cb: (err: any, data?: CreateDomainLayoutCommandOutput) => void
521+
): void;
522+
createDomainLayout(
523+
args: CreateDomainLayoutCommandInput,
524+
options: __HttpHandlerOptions,
525+
cb: (err: any, data?: CreateDomainLayoutCommandOutput) => void
526+
): void;
527+
481528
/**
482529
* @see {@link CreateEventStreamCommand}
483530
*/
@@ -619,6 +666,23 @@ export interface CustomerProfiles {
619666
cb: (err: any, data?: DeleteDomainCommandOutput) => void
620667
): void;
621668

669+
/**
670+
* @see {@link DeleteDomainLayoutCommand}
671+
*/
672+
deleteDomainLayout(
673+
args: DeleteDomainLayoutCommandInput,
674+
options?: __HttpHandlerOptions
675+
): Promise<DeleteDomainLayoutCommandOutput>;
676+
deleteDomainLayout(
677+
args: DeleteDomainLayoutCommandInput,
678+
cb: (err: any, data?: DeleteDomainLayoutCommandOutput) => void
679+
): void;
680+
deleteDomainLayout(
681+
args: DeleteDomainLayoutCommandInput,
682+
options: __HttpHandlerOptions,
683+
cb: (err: any, data?: DeleteDomainLayoutCommandOutput) => void
684+
): void;
685+
622686
/**
623687
* @see {@link DeleteEventStreamCommand}
624688
*/
@@ -842,6 +906,20 @@ export interface CustomerProfiles {
842906
cb: (err: any, data?: GetDomainCommandOutput) => void
843907
): void;
844908

909+
/**
910+
* @see {@link GetDomainLayoutCommand}
911+
*/
912+
getDomainLayout(
913+
args: GetDomainLayoutCommandInput,
914+
options?: __HttpHandlerOptions
915+
): Promise<GetDomainLayoutCommandOutput>;
916+
getDomainLayout(args: GetDomainLayoutCommandInput, cb: (err: any, data?: GetDomainLayoutCommandOutput) => void): void;
917+
getDomainLayout(
918+
args: GetDomainLayoutCommandInput,
919+
options: __HttpHandlerOptions,
920+
cb: (err: any, data?: GetDomainLayoutCommandOutput) => void
921+
): void;
922+
845923
/**
846924
* @see {@link GetEventStreamCommand}
847925
*/
@@ -1110,6 +1188,23 @@ export interface CustomerProfiles {
11101188
cb: (err: any, data?: ListCalculatedAttributesForProfileCommandOutput) => void
11111189
): void;
11121190

1191+
/**
1192+
* @see {@link ListDomainLayoutsCommand}
1193+
*/
1194+
listDomainLayouts(
1195+
args: ListDomainLayoutsCommandInput,
1196+
options?: __HttpHandlerOptions
1197+
): Promise<ListDomainLayoutsCommandOutput>;
1198+
listDomainLayouts(
1199+
args: ListDomainLayoutsCommandInput,
1200+
cb: (err: any, data?: ListDomainLayoutsCommandOutput) => void
1201+
): void;
1202+
listDomainLayouts(
1203+
args: ListDomainLayoutsCommandInput,
1204+
options: __HttpHandlerOptions,
1205+
cb: (err: any, data?: ListDomainLayoutsCommandOutput) => void
1206+
): void;
1207+
11131208
/**
11141209
* @see {@link ListDomainsCommand}
11151210
*/
@@ -1461,6 +1556,23 @@ export interface CustomerProfiles {
14611556
cb: (err: any, data?: UpdateDomainCommandOutput) => void
14621557
): void;
14631558

1559+
/**
1560+
* @see {@link UpdateDomainLayoutCommand}
1561+
*/
1562+
updateDomainLayout(
1563+
args: UpdateDomainLayoutCommandInput,
1564+
options?: __HttpHandlerOptions
1565+
): Promise<UpdateDomainLayoutCommandOutput>;
1566+
updateDomainLayout(
1567+
args: UpdateDomainLayoutCommandInput,
1568+
cb: (err: any, data?: UpdateDomainLayoutCommandOutput) => void
1569+
): void;
1570+
updateDomainLayout(
1571+
args: UpdateDomainLayoutCommandInput,
1572+
options: __HttpHandlerOptions,
1573+
cb: (err: any, data?: UpdateDomainLayoutCommandOutput) => void
1574+
): void;
1575+
14641576
/**
14651577
* @see {@link UpdateEventTriggerCommand}
14661578
*/

0 commit comments

Comments
 (0)