#[non_exhaustive]pub struct JourneyExecutionActivityMetricsResponse {
pub activity_type: Option<String>,
pub application_id: Option<String>,
pub journey_activity_id: Option<String>,
pub journey_id: Option<String>,
pub last_evaluated_time: Option<String>,
pub metrics: Option<HashMap<String, String>>,
}
Expand description
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.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.activity_type: Option<String>
The type of activity that the metric applies to. Possible values are:
CONDITIONAL_SPLIT - For a yes/no split activity, which is an activity that sends participants down one of two paths in a journey.
HOLDOUT - For a holdout activity, which is an activity that stops a journey for a specified percentage of participants.
MESSAGE - For an email activity, which is an activity that sends an email message to participants.
MULTI_CONDITIONAL_SPLIT - For a multivariate split activity, which is an activity that sends participants down one of as many as five paths in a journey.
RANDOM_SPLIT - For a random split activity, which is an activity that sends specified percentages of participants down one of as many as five paths in a journey.
WAIT - For a wait activity, which is an activity that waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
application_id: Option<String>
The unique identifier for the application that the metric applies to.
journey_activity_id: Option<String>
The unique identifier for the activity that the metric applies to.
journey_id: Option<String>
The unique identifier for the journey that the metric applies to.
last_evaluated_time: Option<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: Option<HashMap<String, String>>
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.
Implementations
The type of activity that the metric applies to. Possible values are:
CONDITIONAL_SPLIT - For a yes/no split activity, which is an activity that sends participants down one of two paths in a journey.
HOLDOUT - For a holdout activity, which is an activity that stops a journey for a specified percentage of participants.
MESSAGE - For an email activity, which is an activity that sends an email message to participants.
MULTI_CONDITIONAL_SPLIT - For a multivariate split activity, which is an activity that sends participants down one of as many as five paths in a journey.
RANDOM_SPLIT - For a random split activity, which is an activity that sends specified percentages of participants down one of as many as five paths in a journey.
WAIT - For a wait activity, which is an activity that waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
The unique identifier for the application that the metric applies to.
The unique identifier for the activity that the metric applies to.
The unique identifier for the journey that the metric applies to.
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.
Creates a new builder-style object to manufacture JourneyExecutionActivityMetricsResponse
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more