Pinpoint.Client.
get_journey_execution_activity_metrics
(**kwargs)¶Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey activity.
See also: AWS API Documentation
Request Syntax
response = client.get_journey_execution_activity_metrics(
ApplicationId='string',
JourneyActivityId='string',
JourneyId='string',
NextToken='string',
PageSize='string'
)
[REQUIRED]
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
[REQUIRED]
The unique identifier for the journey activity.
[REQUIRED]
The unique identifier for the journey.
dict
Response Syntax
{
'JourneyExecutionActivityMetricsResponse': {
'ActivityType': 'string',
'ApplicationId': 'string',
'JourneyActivityId': 'string',
'JourneyId': 'string',
'LastEvaluatedTime': 'string',
'Metrics': {
'string': 'string'
}
}
}
Response Structure
(dict) --
The request succeeded.
JourneyExecutionActivityMetricsResponse (dict) --
Provides the results of a query that retrieved the data for a standard execution metric that applies to a journey activity, and provides information about that query.
ActivityType (string) --
The type of activity that the metric applies to. Possible values are:
ApplicationId (string) --
The unique identifier for the application that the metric applies to.
JourneyActivityId (string) --
The unique identifier for the activity 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 execution status of the activity and updated the data for the metric.
Metrics (dict) --
A JSON object that contains the results of the query. The results vary depending on the type of activity (ActivityType). For information about the structure and contents of the results, see the Amazon Pinpoint Developer Guide.
Exceptions
Pinpoint.Client.exceptions.BadRequestException
Pinpoint.Client.exceptions.InternalServerErrorException
Pinpoint.Client.exceptions.PayloadTooLargeException
Pinpoint.Client.exceptions.ForbiddenException
Pinpoint.Client.exceptions.NotFoundException
Pinpoint.Client.exceptions.MethodNotAllowedException
Pinpoint.Client.exceptions.TooManyRequestsException