Skip to content

Commit

Permalink
feat(client-customer-profiles): This release introduces Event Trigger…
Browse files Browse the repository at this point in the history
… APIs as part of Amazon Connect Customer Profiles service.
  • Loading branch information
awstools committed Dec 2, 2024
1 parent dc60c6f commit a4af58b
Show file tree
Hide file tree
Showing 18 changed files with 3,117 additions and 82 deletions.
40 changes: 40 additions & 0 deletions clients/client-customer-profiles/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,14 @@ CreateEventStream

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

</details>
<details>
<summary>
CreateEventTrigger
</summary>

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

</details>
<details>
<summary>
Expand Down Expand Up @@ -333,6 +341,14 @@ DeleteEventStream

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

</details>
<details>
<summary>
DeleteEventTrigger
</summary>

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

</details>
<details>
<summary>
Expand Down Expand Up @@ -437,6 +453,14 @@ GetEventStream

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

</details>
<details>
<summary>
GetEventTrigger
</summary>

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

</details>
<details>
<summary>
Expand Down Expand Up @@ -573,6 +597,14 @@ ListEventStreams

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

</details>
<details>
<summary>
ListEventTriggers
</summary>

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

</details>
<details>
<summary>
Expand Down Expand Up @@ -733,6 +765,14 @@ UpdateDomain

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

</details>
<details>
<summary>
UpdateEventTrigger
</summary>

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

</details>
<details>
<summary>
Expand Down
112 changes: 112 additions & 0 deletions clients/client-customer-profiles/src/CustomerProfiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ import {
CreateEventStreamCommandInput,
CreateEventStreamCommandOutput,
} from "./commands/CreateEventStreamCommand";
import {
CreateEventTriggerCommand,
CreateEventTriggerCommandInput,
CreateEventTriggerCommandOutput,
} from "./commands/CreateEventTriggerCommand";
import {
CreateIntegrationWorkflowCommand,
CreateIntegrationWorkflowCommandInput,
Expand Down Expand Up @@ -72,6 +77,11 @@ import {
DeleteEventStreamCommandInput,
DeleteEventStreamCommandOutput,
} from "./commands/DeleteEventStreamCommand";
import {
DeleteEventTriggerCommand,
DeleteEventTriggerCommandInput,
DeleteEventTriggerCommandOutput,
} from "./commands/DeleteEventTriggerCommand";
import {
DeleteIntegrationCommand,
DeleteIntegrationCommandInput,
Expand Down Expand Up @@ -133,6 +143,11 @@ import {
GetEventStreamCommandInput,
GetEventStreamCommandOutput,
} from "./commands/GetEventStreamCommand";
import {
GetEventTriggerCommand,
GetEventTriggerCommandInput,
GetEventTriggerCommandOutput,
} from "./commands/GetEventTriggerCommand";
import {
GetIdentityResolutionJobCommand,
GetIdentityResolutionJobCommandInput,
Expand Down Expand Up @@ -206,6 +221,11 @@ import {
ListEventStreamsCommandInput,
ListEventStreamsCommandOutput,
} from "./commands/ListEventStreamsCommand";
import {
ListEventTriggersCommand,
ListEventTriggersCommandInput,
ListEventTriggersCommandOutput,
} from "./commands/ListEventTriggersCommand";
import {
ListIdentityResolutionJobsCommand,
ListIdentityResolutionJobsCommandInput,
Expand Down Expand Up @@ -302,6 +322,11 @@ import {
UpdateDomainCommandInput,
UpdateDomainCommandOutput,
} from "./commands/UpdateDomainCommand";
import {
UpdateEventTriggerCommand,
UpdateEventTriggerCommandInput,
UpdateEventTriggerCommandOutput,
} from "./commands/UpdateEventTriggerCommand";
import {
UpdateProfileCommand,
UpdateProfileCommandInput,
Expand All @@ -316,6 +341,7 @@ const commands = {
CreateCalculatedAttributeDefinitionCommand,
CreateDomainCommand,
CreateEventStreamCommand,
CreateEventTriggerCommand,
CreateIntegrationWorkflowCommand,
CreateProfileCommand,
CreateSegmentDefinitionCommand,
Expand All @@ -324,6 +350,7 @@ const commands = {
DeleteCalculatedAttributeDefinitionCommand,
DeleteDomainCommand,
DeleteEventStreamCommand,
DeleteEventTriggerCommand,
DeleteIntegrationCommand,
DeleteProfileCommand,
DeleteProfileKeyCommand,
Expand All @@ -337,6 +364,7 @@ const commands = {
GetCalculatedAttributeForProfileCommand,
GetDomainCommand,
GetEventStreamCommand,
GetEventTriggerCommand,
GetIdentityResolutionJobCommand,
GetIntegrationCommand,
GetMatchesCommand,
Expand All @@ -354,6 +382,7 @@ const commands = {
ListCalculatedAttributesForProfileCommand,
ListDomainsCommand,
ListEventStreamsCommand,
ListEventTriggersCommand,
ListIdentityResolutionJobsCommand,
ListIntegrationsCommand,
ListObjectTypeAttributesCommand,
Expand All @@ -374,6 +403,7 @@ const commands = {
UntagResourceCommand,
UpdateCalculatedAttributeDefinitionCommand,
UpdateDomainCommand,
UpdateEventTriggerCommand,
UpdateProfileCommand,
};

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

/**
* @see {@link CreateEventTriggerCommand}
*/
createEventTrigger(
args: CreateEventTriggerCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateEventTriggerCommandOutput>;
createEventTrigger(
args: CreateEventTriggerCommandInput,
cb: (err: any, data?: CreateEventTriggerCommandOutput) => void
): void;
createEventTrigger(
args: CreateEventTriggerCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateEventTriggerCommandOutput) => void
): void;

/**
* @see {@link CreateIntegrationWorkflowCommand}
*/
Expand Down Expand Up @@ -589,6 +636,23 @@ export interface CustomerProfiles {
cb: (err: any, data?: DeleteEventStreamCommandOutput) => void
): void;

/**
* @see {@link DeleteEventTriggerCommand}
*/
deleteEventTrigger(
args: DeleteEventTriggerCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteEventTriggerCommandOutput>;
deleteEventTrigger(
args: DeleteEventTriggerCommandInput,
cb: (err: any, data?: DeleteEventTriggerCommandOutput) => void
): void;
deleteEventTrigger(
args: DeleteEventTriggerCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteEventTriggerCommandOutput) => void
): void;

/**
* @see {@link DeleteIntegrationCommand}
*/
Expand Down Expand Up @@ -792,6 +856,20 @@ export interface CustomerProfiles {
cb: (err: any, data?: GetEventStreamCommandOutput) => void
): void;

/**
* @see {@link GetEventTriggerCommand}
*/
getEventTrigger(
args: GetEventTriggerCommandInput,
options?: __HttpHandlerOptions
): Promise<GetEventTriggerCommandOutput>;
getEventTrigger(args: GetEventTriggerCommandInput, cb: (err: any, data?: GetEventTriggerCommandOutput) => void): void;
getEventTrigger(
args: GetEventTriggerCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: GetEventTriggerCommandOutput) => void
): void;

/**
* @see {@link GetIdentityResolutionJobCommand}
*/
Expand Down Expand Up @@ -1061,6 +1139,23 @@ export interface CustomerProfiles {
cb: (err: any, data?: ListEventStreamsCommandOutput) => void
): void;

/**
* @see {@link ListEventTriggersCommand}
*/
listEventTriggers(
args: ListEventTriggersCommandInput,
options?: __HttpHandlerOptions
): Promise<ListEventTriggersCommandOutput>;
listEventTriggers(
args: ListEventTriggersCommandInput,
cb: (err: any, data?: ListEventTriggersCommandOutput) => void
): void;
listEventTriggers(
args: ListEventTriggersCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListEventTriggersCommandOutput) => void
): void;

/**
* @see {@link ListIdentityResolutionJobsCommand}
*/
Expand Down Expand Up @@ -1366,6 +1461,23 @@ export interface CustomerProfiles {
cb: (err: any, data?: UpdateDomainCommandOutput) => void
): void;

/**
* @see {@link UpdateEventTriggerCommand}
*/
updateEventTrigger(
args: UpdateEventTriggerCommandInput,
options?: __HttpHandlerOptions
): Promise<UpdateEventTriggerCommandOutput>;
updateEventTrigger(
args: UpdateEventTriggerCommandInput,
cb: (err: any, data?: UpdateEventTriggerCommandOutput) => void
): void;
updateEventTrigger(
args: UpdateEventTriggerCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: UpdateEventTriggerCommandOutput) => void
): void;

/**
* @see {@link UpdateProfileCommand}
*/
Expand Down
Loading

0 comments on commit a4af58b

Please sign in to comment.