Skip to content

Commit a4af58b

Browse files
author
awstools
committed
feat(client-customer-profiles): This release introduces Event Trigger APIs as part of Amazon Connect Customer Profiles service.
1 parent dc60c6f commit a4af58b

18 files changed

+3117
-82
lines changed

Diff for: clients/client-customer-profiles/README.md

+40
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,14 @@ CreateEventStream
269269

270270
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/CreateEventStreamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/CreateEventStreamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/CreateEventStreamCommandOutput/)
271271

272+
</details>
273+
<details>
274+
<summary>
275+
CreateEventTrigger
276+
</summary>
277+
278+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/CreateEventTriggerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/CreateEventTriggerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/CreateEventTriggerCommandOutput/)
279+
272280
</details>
273281
<details>
274282
<summary>
@@ -333,6 +341,14 @@ DeleteEventStream
333341

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

344+
</details>
345+
<details>
346+
<summary>
347+
DeleteEventTrigger
348+
</summary>
349+
350+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/DeleteEventTriggerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/DeleteEventTriggerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/DeleteEventTriggerCommandOutput/)
351+
336352
</details>
337353
<details>
338354
<summary>
@@ -437,6 +453,14 @@ GetEventStream
437453

438454
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/GetEventStreamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/GetEventStreamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/GetEventStreamCommandOutput/)
439455

456+
</details>
457+
<details>
458+
<summary>
459+
GetEventTrigger
460+
</summary>
461+
462+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/GetEventTriggerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/GetEventTriggerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/GetEventTriggerCommandOutput/)
463+
440464
</details>
441465
<details>
442466
<summary>
@@ -573,6 +597,14 @@ ListEventStreams
573597

574598
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/ListEventStreamsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/ListEventStreamsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/ListEventStreamsCommandOutput/)
575599

600+
</details>
601+
<details>
602+
<summary>
603+
ListEventTriggers
604+
</summary>
605+
606+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/ListEventTriggersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/ListEventTriggersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/ListEventTriggersCommandOutput/)
607+
576608
</details>
577609
<details>
578610
<summary>
@@ -733,6 +765,14 @@ UpdateDomain
733765

734766
[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/)
735767

768+
</details>
769+
<details>
770+
<summary>
771+
UpdateEventTrigger
772+
</summary>
773+
774+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/customer-profiles/command/UpdateEventTriggerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/UpdateEventTriggerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-customer-profiles/Interface/UpdateEventTriggerCommandOutput/)
775+
736776
</details>
737777
<details>
738778
<summary>

Diff for: clients/client-customer-profiles/src/CustomerProfiles.ts

+112
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ import {
3232
CreateEventStreamCommandInput,
3333
CreateEventStreamCommandOutput,
3434
} from "./commands/CreateEventStreamCommand";
35+
import {
36+
CreateEventTriggerCommand,
37+
CreateEventTriggerCommandInput,
38+
CreateEventTriggerCommandOutput,
39+
} from "./commands/CreateEventTriggerCommand";
3540
import {
3641
CreateIntegrationWorkflowCommand,
3742
CreateIntegrationWorkflowCommandInput,
@@ -72,6 +77,11 @@ import {
7277
DeleteEventStreamCommandInput,
7378
DeleteEventStreamCommandOutput,
7479
} from "./commands/DeleteEventStreamCommand";
80+
import {
81+
DeleteEventTriggerCommand,
82+
DeleteEventTriggerCommandInput,
83+
DeleteEventTriggerCommandOutput,
84+
} from "./commands/DeleteEventTriggerCommand";
7585
import {
7686
DeleteIntegrationCommand,
7787
DeleteIntegrationCommandInput,
@@ -133,6 +143,11 @@ import {
133143
GetEventStreamCommandInput,
134144
GetEventStreamCommandOutput,
135145
} from "./commands/GetEventStreamCommand";
146+
import {
147+
GetEventTriggerCommand,
148+
GetEventTriggerCommandInput,
149+
GetEventTriggerCommandOutput,
150+
} from "./commands/GetEventTriggerCommand";
136151
import {
137152
GetIdentityResolutionJobCommand,
138153
GetIdentityResolutionJobCommandInput,
@@ -206,6 +221,11 @@ import {
206221
ListEventStreamsCommandInput,
207222
ListEventStreamsCommandOutput,
208223
} from "./commands/ListEventStreamsCommand";
224+
import {
225+
ListEventTriggersCommand,
226+
ListEventTriggersCommandInput,
227+
ListEventTriggersCommandOutput,
228+
} from "./commands/ListEventTriggersCommand";
209229
import {
210230
ListIdentityResolutionJobsCommand,
211231
ListIdentityResolutionJobsCommandInput,
@@ -302,6 +322,11 @@ import {
302322
UpdateDomainCommandInput,
303323
UpdateDomainCommandOutput,
304324
} from "./commands/UpdateDomainCommand";
325+
import {
326+
UpdateEventTriggerCommand,
327+
UpdateEventTriggerCommandInput,
328+
UpdateEventTriggerCommandOutput,
329+
} from "./commands/UpdateEventTriggerCommand";
305330
import {
306331
UpdateProfileCommand,
307332
UpdateProfileCommandInput,
@@ -316,6 +341,7 @@ const commands = {
316341
CreateCalculatedAttributeDefinitionCommand,
317342
CreateDomainCommand,
318343
CreateEventStreamCommand,
344+
CreateEventTriggerCommand,
319345
CreateIntegrationWorkflowCommand,
320346
CreateProfileCommand,
321347
CreateSegmentDefinitionCommand,
@@ -324,6 +350,7 @@ const commands = {
324350
DeleteCalculatedAttributeDefinitionCommand,
325351
DeleteDomainCommand,
326352
DeleteEventStreamCommand,
353+
DeleteEventTriggerCommand,
327354
DeleteIntegrationCommand,
328355
DeleteProfileCommand,
329356
DeleteProfileKeyCommand,
@@ -337,6 +364,7 @@ const commands = {
337364
GetCalculatedAttributeForProfileCommand,
338365
GetDomainCommand,
339366
GetEventStreamCommand,
367+
GetEventTriggerCommand,
340368
GetIdentityResolutionJobCommand,
341369
GetIntegrationCommand,
342370
GetMatchesCommand,
@@ -354,6 +382,7 @@ const commands = {
354382
ListCalculatedAttributesForProfileCommand,
355383
ListDomainsCommand,
356384
ListEventStreamsCommand,
385+
ListEventTriggersCommand,
357386
ListIdentityResolutionJobsCommand,
358387
ListIntegrationsCommand,
359388
ListObjectTypeAttributesCommand,
@@ -374,6 +403,7 @@ const commands = {
374403
UntagResourceCommand,
375404
UpdateCalculatedAttributeDefinitionCommand,
376405
UpdateDomainCommand,
406+
UpdateEventTriggerCommand,
377407
UpdateProfileCommand,
378408
};
379409

@@ -465,6 +495,23 @@ export interface CustomerProfiles {
465495
cb: (err: any, data?: CreateEventStreamCommandOutput) => void
466496
): void;
467497

498+
/**
499+
* @see {@link CreateEventTriggerCommand}
500+
*/
501+
createEventTrigger(
502+
args: CreateEventTriggerCommandInput,
503+
options?: __HttpHandlerOptions
504+
): Promise<CreateEventTriggerCommandOutput>;
505+
createEventTrigger(
506+
args: CreateEventTriggerCommandInput,
507+
cb: (err: any, data?: CreateEventTriggerCommandOutput) => void
508+
): void;
509+
createEventTrigger(
510+
args: CreateEventTriggerCommandInput,
511+
options: __HttpHandlerOptions,
512+
cb: (err: any, data?: CreateEventTriggerCommandOutput) => void
513+
): void;
514+
468515
/**
469516
* @see {@link CreateIntegrationWorkflowCommand}
470517
*/
@@ -589,6 +636,23 @@ export interface CustomerProfiles {
589636
cb: (err: any, data?: DeleteEventStreamCommandOutput) => void
590637
): void;
591638

639+
/**
640+
* @see {@link DeleteEventTriggerCommand}
641+
*/
642+
deleteEventTrigger(
643+
args: DeleteEventTriggerCommandInput,
644+
options?: __HttpHandlerOptions
645+
): Promise<DeleteEventTriggerCommandOutput>;
646+
deleteEventTrigger(
647+
args: DeleteEventTriggerCommandInput,
648+
cb: (err: any, data?: DeleteEventTriggerCommandOutput) => void
649+
): void;
650+
deleteEventTrigger(
651+
args: DeleteEventTriggerCommandInput,
652+
options: __HttpHandlerOptions,
653+
cb: (err: any, data?: DeleteEventTriggerCommandOutput) => void
654+
): void;
655+
592656
/**
593657
* @see {@link DeleteIntegrationCommand}
594658
*/
@@ -792,6 +856,20 @@ export interface CustomerProfiles {
792856
cb: (err: any, data?: GetEventStreamCommandOutput) => void
793857
): void;
794858

859+
/**
860+
* @see {@link GetEventTriggerCommand}
861+
*/
862+
getEventTrigger(
863+
args: GetEventTriggerCommandInput,
864+
options?: __HttpHandlerOptions
865+
): Promise<GetEventTriggerCommandOutput>;
866+
getEventTrigger(args: GetEventTriggerCommandInput, cb: (err: any, data?: GetEventTriggerCommandOutput) => void): void;
867+
getEventTrigger(
868+
args: GetEventTriggerCommandInput,
869+
options: __HttpHandlerOptions,
870+
cb: (err: any, data?: GetEventTriggerCommandOutput) => void
871+
): void;
872+
795873
/**
796874
* @see {@link GetIdentityResolutionJobCommand}
797875
*/
@@ -1061,6 +1139,23 @@ export interface CustomerProfiles {
10611139
cb: (err: any, data?: ListEventStreamsCommandOutput) => void
10621140
): void;
10631141

1142+
/**
1143+
* @see {@link ListEventTriggersCommand}
1144+
*/
1145+
listEventTriggers(
1146+
args: ListEventTriggersCommandInput,
1147+
options?: __HttpHandlerOptions
1148+
): Promise<ListEventTriggersCommandOutput>;
1149+
listEventTriggers(
1150+
args: ListEventTriggersCommandInput,
1151+
cb: (err: any, data?: ListEventTriggersCommandOutput) => void
1152+
): void;
1153+
listEventTriggers(
1154+
args: ListEventTriggersCommandInput,
1155+
options: __HttpHandlerOptions,
1156+
cb: (err: any, data?: ListEventTriggersCommandOutput) => void
1157+
): void;
1158+
10641159
/**
10651160
* @see {@link ListIdentityResolutionJobsCommand}
10661161
*/
@@ -1366,6 +1461,23 @@ export interface CustomerProfiles {
13661461
cb: (err: any, data?: UpdateDomainCommandOutput) => void
13671462
): void;
13681463

1464+
/**
1465+
* @see {@link UpdateEventTriggerCommand}
1466+
*/
1467+
updateEventTrigger(
1468+
args: UpdateEventTriggerCommandInput,
1469+
options?: __HttpHandlerOptions
1470+
): Promise<UpdateEventTriggerCommandOutput>;
1471+
updateEventTrigger(
1472+
args: UpdateEventTriggerCommandInput,
1473+
cb: (err: any, data?: UpdateEventTriggerCommandOutput) => void
1474+
): void;
1475+
updateEventTrigger(
1476+
args: UpdateEventTriggerCommandInput,
1477+
options: __HttpHandlerOptions,
1478+
cb: (err: any, data?: UpdateEventTriggerCommandOutput) => void
1479+
): void;
1480+
13691481
/**
13701482
* @see {@link UpdateProfileCommand}
13711483
*/

0 commit comments

Comments
 (0)