Pinpoint / Client / get_journey_run_execution_metrics
get_journey_run_execution_metrics#
- Pinpoint.Client.get_journey_run_execution_metrics(**kwargs)#
Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey.
See also: AWS API Documentation
Request Syntax
response = client.get_journey_run_execution_metrics( ApplicationId='string', JourneyId='string', NextToken='string', PageSize='string', RunId='string' )
- Parameters:
ApplicationId (string) –
[REQUIRED]
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
JourneyId (string) –
[REQUIRED]
The unique identifier for the journey.
NextToken (string) – The string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.
PageSize (string) – The maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.
RunId (string) –
[REQUIRED]
The unique identifier for the journey run.
- Return type:
dict
- Returns:
Response Syntax
{ 'JourneyRunExecutionMetricsResponse': { 'ApplicationId': 'string', 'JourneyId': 'string', 'LastEvaluatedTime': 'string', 'Metrics': { 'string': 'string' }, 'RunId': 'string' } }
Response Structure
(dict) –
The request succeeded.
JourneyRunExecutionMetricsResponse (dict) –
Provides the results of a query that retrieved the data for a standard execution metric that applies to a journey run, and provides information about that query.
ApplicationId (string) –
The unique identifier for the application that the metric applies to.
JourneyId (string) –
The unique identifier for the journey that the metric applies to.
LastEvaluatedTime (string) –
The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the journey run and updated the data for the metric.
Metrics (dict) –
A JSON object that contains the results of the query. For information about the structure and contents of the results, see the Standard Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer Guide.
(string) –
(string) –
RunId (string) –
The unique identifier for the journey run that the metric applies to.
Exceptions