Skip to content

Commit

Permalink
feat(client-pinpoint): Adds support for journey runs and querying jou…
Browse files Browse the repository at this point in the history
…rney execution metrics based on journey runs. Adds execution metrics to campaign activities. Updates docs for Advanced Quiet Time.
  • Loading branch information
awstools committed Apr 25, 2023
1 parent 9ab9bfb commit 914700e
Show file tree
Hide file tree
Showing 30 changed files with 4,060 additions and 1,470 deletions.
24 changes: 24 additions & 0 deletions clients/client-pinpoint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,30 @@ GetJourneyExecutionMetrics

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-pinpoint/classes/getjourneyexecutionmetricscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-pinpoint/interfaces/getjourneyexecutionmetricscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-pinpoint/interfaces/getjourneyexecutionmetricscommandoutput.html)

</details>
<details>
<summary>
GetJourneyRunExecutionActivityMetrics
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-pinpoint/classes/getjourneyrunexecutionactivitymetricscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-pinpoint/interfaces/getjourneyrunexecutionactivitymetricscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-pinpoint/interfaces/getjourneyrunexecutionactivitymetricscommandoutput.html)

</details>
<details>
<summary>
GetJourneyRunExecutionMetrics
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-pinpoint/classes/getjourneyrunexecutionmetricscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-pinpoint/interfaces/getjourneyrunexecutionmetricscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-pinpoint/interfaces/getjourneyrunexecutionmetricscommandoutput.html)

</details>
<details>
<summary>
GetJourneyRuns
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-pinpoint/classes/getjourneyrunscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-pinpoint/interfaces/getjourneyrunscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-pinpoint/interfaces/getjourneyrunscommandoutput.html)

</details>
<details>
<summary>
Expand Down
66 changes: 66 additions & 0 deletions clients/client-pinpoint/src/Pinpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,21 @@ import {
GetJourneyExecutionMetricsCommandInput,
GetJourneyExecutionMetricsCommandOutput,
} from "./commands/GetJourneyExecutionMetricsCommand";
import {
GetJourneyRunExecutionActivityMetricsCommand,
GetJourneyRunExecutionActivityMetricsCommandInput,
GetJourneyRunExecutionActivityMetricsCommandOutput,
} from "./commands/GetJourneyRunExecutionActivityMetricsCommand";
import {
GetJourneyRunExecutionMetricsCommand,
GetJourneyRunExecutionMetricsCommandInput,
GetJourneyRunExecutionMetricsCommandOutput,
} from "./commands/GetJourneyRunExecutionMetricsCommand";
import {
GetJourneyRunsCommand,
GetJourneyRunsCommandInput,
GetJourneyRunsCommandOutput,
} from "./commands/GetJourneyRunsCommand";
import {
GetPushTemplateCommand,
GetPushTemplateCommandInput,
Expand Down Expand Up @@ -619,6 +634,9 @@ const commands = {
GetJourneyDateRangeKpiCommand,
GetJourneyExecutionActivityMetricsCommand,
GetJourneyExecutionMetricsCommand,
GetJourneyRunExecutionActivityMetricsCommand,
GetJourneyRunExecutionMetricsCommand,
GetJourneyRunsCommand,
GetPushTemplateCommand,
GetRecommenderConfigurationCommand,
GetRecommenderConfigurationsCommand,
Expand Down Expand Up @@ -1672,6 +1690,54 @@ export interface Pinpoint {
cb: (err: any, data?: GetJourneyExecutionMetricsCommandOutput) => void
): void;

/**
* @see {@link GetJourneyRunExecutionActivityMetricsCommand}
*/
getJourneyRunExecutionActivityMetrics(
args: GetJourneyRunExecutionActivityMetricsCommandInput,
options?: __HttpHandlerOptions
): Promise<GetJourneyRunExecutionActivityMetricsCommandOutput>;
getJourneyRunExecutionActivityMetrics(
args: GetJourneyRunExecutionActivityMetricsCommandInput,
cb: (err: any, data?: GetJourneyRunExecutionActivityMetricsCommandOutput) => void
): void;
getJourneyRunExecutionActivityMetrics(
args: GetJourneyRunExecutionActivityMetricsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: GetJourneyRunExecutionActivityMetricsCommandOutput) => void
): void;

/**
* @see {@link GetJourneyRunExecutionMetricsCommand}
*/
getJourneyRunExecutionMetrics(
args: GetJourneyRunExecutionMetricsCommandInput,
options?: __HttpHandlerOptions
): Promise<GetJourneyRunExecutionMetricsCommandOutput>;
getJourneyRunExecutionMetrics(
args: GetJourneyRunExecutionMetricsCommandInput,
cb: (err: any, data?: GetJourneyRunExecutionMetricsCommandOutput) => void
): void;
getJourneyRunExecutionMetrics(
args: GetJourneyRunExecutionMetricsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: GetJourneyRunExecutionMetricsCommandOutput) => void
): void;

/**
* @see {@link GetJourneyRunsCommand}
*/
getJourneyRuns(
args: GetJourneyRunsCommandInput,
options?: __HttpHandlerOptions
): Promise<GetJourneyRunsCommandOutput>;
getJourneyRuns(args: GetJourneyRunsCommandInput, cb: (err: any, data?: GetJourneyRunsCommandOutput) => void): void;
getJourneyRuns(
args: GetJourneyRunsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: GetJourneyRunsCommandOutput) => void
): void;

/**
* @see {@link GetPushTemplateCommand}
*/
Expand Down
15 changes: 15 additions & 0 deletions clients/client-pinpoint/src/PinpointClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,15 @@ import {
GetJourneyExecutionMetricsCommandInput,
GetJourneyExecutionMetricsCommandOutput,
} from "./commands/GetJourneyExecutionMetricsCommand";
import {
GetJourneyRunExecutionActivityMetricsCommandInput,
GetJourneyRunExecutionActivityMetricsCommandOutput,
} from "./commands/GetJourneyRunExecutionActivityMetricsCommand";
import {
GetJourneyRunExecutionMetricsCommandInput,
GetJourneyRunExecutionMetricsCommandOutput,
} from "./commands/GetJourneyRunExecutionMetricsCommand";
import { GetJourneyRunsCommandInput, GetJourneyRunsCommandOutput } from "./commands/GetJourneyRunsCommand";
import { GetPushTemplateCommandInput, GetPushTemplateCommandOutput } from "./commands/GetPushTemplateCommand";
import {
GetRecommenderConfigurationCommandInput,
Expand Down Expand Up @@ -364,6 +373,9 @@ export type ServiceInputTypes =
| GetJourneyDateRangeKpiCommandInput
| GetJourneyExecutionActivityMetricsCommandInput
| GetJourneyExecutionMetricsCommandInput
| GetJourneyRunExecutionActivityMetricsCommandInput
| GetJourneyRunExecutionMetricsCommandInput
| GetJourneyRunsCommandInput
| GetPushTemplateCommandInput
| GetRecommenderConfigurationCommandInput
| GetRecommenderConfigurationsCommandInput
Expand Down Expand Up @@ -488,6 +500,9 @@ export type ServiceOutputTypes =
| GetJourneyDateRangeKpiCommandOutput
| GetJourneyExecutionActivityMetricsCommandOutput
| GetJourneyExecutionMetricsCommandOutput
| GetJourneyRunExecutionActivityMetricsCommandOutput
| GetJourneyRunExecutionMetricsCommandOutput
| GetJourneyRunsCommandOutput
| GetPushTemplateCommandOutput
| GetRecommenderConfigurationCommandOutput
| GetRecommenderConfigurationsCommandOutput
Expand Down
Loading

0 comments on commit 914700e

Please sign in to comment.