Skip to content

Commit

Permalink
feat(client-customer-profiles): This release introduces event stream …
Browse files Browse the repository at this point in the history
…related APIs.
  • Loading branch information
awstools committed Jun 7, 2023
1 parent 83514db commit 5263022
Show file tree
Hide file tree
Showing 15 changed files with 2,105 additions and 0 deletions.
32 changes: 32 additions & 0 deletions clients/client-customer-profiles/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,14 @@ CreateDomain

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/createdomaincommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/createdomaincommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/createdomaincommandoutput.html)

</details>
<details>
<summary>
CreateEventStream
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/createeventstreamcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/createeventstreamcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/createeventstreamcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -264,6 +272,14 @@ DeleteDomain

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/deletedomaincommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/deletedomaincommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/deletedomaincommandoutput.html)

</details>
<details>
<summary>
DeleteEventStream
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/deleteeventstreamcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/deleteeventstreamcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/deleteeventstreamcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -344,6 +360,14 @@ GetDomain

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/getdomaincommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/getdomaincommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/getdomaincommandoutput.html)

</details>
<details>
<summary>
GetEventStream
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/geteventstreamcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/geteventstreamcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/geteventstreamcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -432,6 +456,14 @@ ListDomains

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/listdomainscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/listdomainscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/listdomainscommandoutput.html)

</details>
<details>
<summary>
ListEventStreams
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/listeventstreamscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/listeventstreamscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/listeventstreamscommandoutput.html)

</details>
<details>
<summary>
Expand Down
89 changes: 89 additions & 0 deletions clients/client-customer-profiles/src/CustomerProfiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ import {
CreateDomainCommandInput,
CreateDomainCommandOutput,
} from "./commands/CreateDomainCommand";
import {
CreateEventStreamCommand,
CreateEventStreamCommandInput,
CreateEventStreamCommandOutput,
} from "./commands/CreateEventStreamCommand";
import {
CreateIntegrationWorkflowCommand,
CreateIntegrationWorkflowCommandInput,
Expand All @@ -37,6 +42,11 @@ import {
DeleteDomainCommandInput,
DeleteDomainCommandOutput,
} from "./commands/DeleteDomainCommand";
import {
DeleteEventStreamCommand,
DeleteEventStreamCommandInput,
DeleteEventStreamCommandOutput,
} from "./commands/DeleteEventStreamCommand";
import {
DeleteIntegrationCommand,
DeleteIntegrationCommandInput,
Expand Down Expand Up @@ -83,6 +93,11 @@ import {
GetCalculatedAttributeForProfileCommandOutput,
} from "./commands/GetCalculatedAttributeForProfileCommand";
import { GetDomainCommand, GetDomainCommandInput, GetDomainCommandOutput } from "./commands/GetDomainCommand";
import {
GetEventStreamCommand,
GetEventStreamCommandInput,
GetEventStreamCommandOutput,
} from "./commands/GetEventStreamCommand";
import {
GetIdentityResolutionJobCommand,
GetIdentityResolutionJobCommandInput,
Expand Down Expand Up @@ -126,6 +141,11 @@ import {
ListCalculatedAttributesForProfileCommandOutput,
} from "./commands/ListCalculatedAttributesForProfileCommand";
import { ListDomainsCommand, ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
import {
ListEventStreamsCommand,
ListEventStreamsCommandInput,
ListEventStreamsCommandOutput,
} from "./commands/ListEventStreamsCommand";
import {
ListIdentityResolutionJobsCommand,
ListIdentityResolutionJobsCommandInput,
Expand Down Expand Up @@ -213,10 +233,12 @@ const commands = {
AddProfileKeyCommand,
CreateCalculatedAttributeDefinitionCommand,
CreateDomainCommand,
CreateEventStreamCommand,
CreateIntegrationWorkflowCommand,
CreateProfileCommand,
DeleteCalculatedAttributeDefinitionCommand,
DeleteDomainCommand,
DeleteEventStreamCommand,
DeleteIntegrationCommand,
DeleteProfileCommand,
DeleteProfileKeyCommand,
Expand All @@ -227,6 +249,7 @@ const commands = {
GetCalculatedAttributeDefinitionCommand,
GetCalculatedAttributeForProfileCommand,
GetDomainCommand,
GetEventStreamCommand,
GetIdentityResolutionJobCommand,
GetIntegrationCommand,
GetMatchesCommand,
Expand All @@ -238,6 +261,7 @@ const commands = {
ListCalculatedAttributeDefinitionsCommand,
ListCalculatedAttributesForProfileCommand,
ListDomainsCommand,
ListEventStreamsCommand,
ListIdentityResolutionJobsCommand,
ListIntegrationsCommand,
ListProfileObjectsCommand,
Expand Down Expand Up @@ -297,6 +321,23 @@ export interface CustomerProfiles {
cb: (err: any, data?: CreateDomainCommandOutput) => void
): void;

/**
* @see {@link CreateEventStreamCommand}
*/
createEventStream(
args: CreateEventStreamCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateEventStreamCommandOutput>;
createEventStream(
args: CreateEventStreamCommandInput,
cb: (err: any, data?: CreateEventStreamCommandOutput) => void
): void;
createEventStream(
args: CreateEventStreamCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateEventStreamCommandOutput) => void
): void;

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

/**
* @see {@link DeleteEventStreamCommand}
*/
deleteEventStream(
args: DeleteEventStreamCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteEventStreamCommandOutput>;
deleteEventStream(
args: DeleteEventStreamCommandInput,
cb: (err: any, data?: DeleteEventStreamCommandOutput) => void
): void;
deleteEventStream(
args: DeleteEventStreamCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteEventStreamCommandOutput) => void
): void;

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

/**
* @see {@link GetEventStreamCommand}
*/
getEventStream(
args: GetEventStreamCommandInput,
options?: __HttpHandlerOptions
): Promise<GetEventStreamCommandOutput>;
getEventStream(args: GetEventStreamCommandInput, cb: (err: any, data?: GetEventStreamCommandOutput) => void): void;
getEventStream(
args: GetEventStreamCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: GetEventStreamCommandOutput) => void
): void;

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

/**
* @see {@link ListEventStreamsCommand}
*/
listEventStreams(
args: ListEventStreamsCommandInput,
options?: __HttpHandlerOptions
): Promise<ListEventStreamsCommandOutput>;
listEventStreams(
args: ListEventStreamsCommandInput,
cb: (err: any, data?: ListEventStreamsCommandOutput) => void
): void;
listEventStreams(
args: ListEventStreamsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListEventStreamsCommandOutput) => void
): void;

/**
* @see {@link ListIdentityResolutionJobsCommand}
*/
Expand Down
12 changes: 12 additions & 0 deletions clients/client-customer-profiles/src/CustomerProfilesClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ import {
CreateCalculatedAttributeDefinitionCommandOutput,
} from "./commands/CreateCalculatedAttributeDefinitionCommand";
import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
import { CreateEventStreamCommandInput, CreateEventStreamCommandOutput } from "./commands/CreateEventStreamCommand";
import {
CreateIntegrationWorkflowCommandInput,
CreateIntegrationWorkflowCommandOutput,
Expand All @@ -67,6 +68,7 @@ import {
DeleteCalculatedAttributeDefinitionCommandOutput,
} from "./commands/DeleteCalculatedAttributeDefinitionCommand";
import { DeleteDomainCommandInput, DeleteDomainCommandOutput } from "./commands/DeleteDomainCommand";
import { DeleteEventStreamCommandInput, DeleteEventStreamCommandOutput } from "./commands/DeleteEventStreamCommand";
import { DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand";
import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
import { DeleteProfileKeyCommandInput, DeleteProfileKeyCommandOutput } from "./commands/DeleteProfileKeyCommand";
Expand All @@ -92,6 +94,7 @@ import {
GetCalculatedAttributeForProfileCommandOutput,
} from "./commands/GetCalculatedAttributeForProfileCommand";
import { GetDomainCommandInput, GetDomainCommandOutput } from "./commands/GetDomainCommand";
import { GetEventStreamCommandInput, GetEventStreamCommandOutput } from "./commands/GetEventStreamCommand";
import {
GetIdentityResolutionJobCommandInput,
GetIdentityResolutionJobCommandOutput,
Expand Down Expand Up @@ -121,6 +124,7 @@ import {
ListCalculatedAttributesForProfileCommandOutput,
} from "./commands/ListCalculatedAttributesForProfileCommand";
import { ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
import { ListEventStreamsCommandInput, ListEventStreamsCommandOutput } from "./commands/ListEventStreamsCommand";
import {
ListIdentityResolutionJobsCommandInput,
ListIdentityResolutionJobsCommandOutput,
Expand Down Expand Up @@ -173,10 +177,12 @@ export type ServiceInputTypes =
| AddProfileKeyCommandInput
| CreateCalculatedAttributeDefinitionCommandInput
| CreateDomainCommandInput
| CreateEventStreamCommandInput
| CreateIntegrationWorkflowCommandInput
| CreateProfileCommandInput
| DeleteCalculatedAttributeDefinitionCommandInput
| DeleteDomainCommandInput
| DeleteEventStreamCommandInput
| DeleteIntegrationCommandInput
| DeleteProfileCommandInput
| DeleteProfileKeyCommandInput
Expand All @@ -187,6 +193,7 @@ export type ServiceInputTypes =
| GetCalculatedAttributeDefinitionCommandInput
| GetCalculatedAttributeForProfileCommandInput
| GetDomainCommandInput
| GetEventStreamCommandInput
| GetIdentityResolutionJobCommandInput
| GetIntegrationCommandInput
| GetMatchesCommandInput
Expand All @@ -198,6 +205,7 @@ export type ServiceInputTypes =
| ListCalculatedAttributeDefinitionsCommandInput
| ListCalculatedAttributesForProfileCommandInput
| ListDomainsCommandInput
| ListEventStreamsCommandInput
| ListIdentityResolutionJobsCommandInput
| ListIntegrationsCommandInput
| ListProfileObjectTypeTemplatesCommandInput
Expand All @@ -223,10 +231,12 @@ export type ServiceOutputTypes =
| AddProfileKeyCommandOutput
| CreateCalculatedAttributeDefinitionCommandOutput
| CreateDomainCommandOutput
| CreateEventStreamCommandOutput
| CreateIntegrationWorkflowCommandOutput
| CreateProfileCommandOutput
| DeleteCalculatedAttributeDefinitionCommandOutput
| DeleteDomainCommandOutput
| DeleteEventStreamCommandOutput
| DeleteIntegrationCommandOutput
| DeleteProfileCommandOutput
| DeleteProfileKeyCommandOutput
Expand All @@ -237,6 +247,7 @@ export type ServiceOutputTypes =
| GetCalculatedAttributeDefinitionCommandOutput
| GetCalculatedAttributeForProfileCommandOutput
| GetDomainCommandOutput
| GetEventStreamCommandOutput
| GetIdentityResolutionJobCommandOutput
| GetIntegrationCommandOutput
| GetMatchesCommandOutput
Expand All @@ -248,6 +259,7 @@ export type ServiceOutputTypes =
| ListCalculatedAttributeDefinitionsCommandOutput
| ListCalculatedAttributesForProfileCommandOutput
| ListDomainsCommandOutput
| ListEventStreamsCommandOutput
| ListIdentityResolutionJobsCommandOutput
| ListIntegrationsCommandOutput
| ListProfileObjectTypeTemplatesCommandOutput
Expand Down
Loading

0 comments on commit 5263022

Please sign in to comment.