Skip to main content

journey_execution_metrics

Creates, updates, deletes, gets or lists a journey_execution_metrics resource.

Overview

Namejourney_execution_metrics
TypeResource
Idaws.pinpoint.journey_execution_metrics

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
application_idstringThe unique identifier for the application that the metric applies to.
journey_idstringThe unique identifier for the journey that the metric applies to.
last_evaluated_timestringThe date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the journey and updated the data for the metric.
metricsobjectA JSON object that contains the results of the query. For information about the structure and contents of the results, see the Amazon Pinpoint Developer Guide.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_journey_execution_metricsselectapplication-id, journey-id, regionnext-token, page-sizeRetrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
application-idstringThe unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
journey-idstringThe unique identifier for the journey.
regionstringAWS region (default: us-east-1)
next-tokenstringThe string that specifies which page of results to return in a paginated response. This parameter is not supported for application, campaign, and journey metrics.
page-sizestringThe maximum number of items to include in each page of a paginated response. This parameter is not supported for application, campaign, and journey metrics.

SELECT examples

Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey.

SELECT
application_id,
journey_id,
last_evaluated_time,
metrics
FROM aws.pinpoint.journey_execution_metrics
WHERE `application-id` = '{{ application-id }}' -- required
AND `journey-id` = '{{ journey-id }}' -- required
AND region = '{{ region }}' -- required
AND `next-token` = '{{ next-token }}'
AND `page-size` = '{{ page-size }}'
;