#[non_exhaustive]
pub struct JourneyResponse {
Show 18 fields pub activities: Option<HashMap<String, Activity>>, pub application_id: Option<String>, pub creation_date: Option<String>, pub id: Option<String>, pub last_modified_date: Option<String>, pub limits: Option<JourneyLimits>, pub local_time: bool, pub name: Option<String>, pub quiet_time: Option<QuietTime>, pub refresh_frequency: Option<String>, pub schedule: Option<JourneySchedule>, pub start_activity: Option<String>, pub start_condition: Option<StartCondition>, pub state: Option<State>, pub tags: Option<HashMap<String, String>>, pub wait_for_quiet_time: bool, pub refresh_on_segment_update: bool, pub journey_channel_settings: Option<JourneyChannelSettings>,
}
Expand description

Provides information about the status, configuration, and other settings for a journey.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
activities: Option<HashMap<String, Activity>>

A map that contains a set of Activity objects, one object for each activity in the journey. For each Activity object, the key is the unique identifier (string) for an activity and the value is the settings for the activity.

application_id: Option<String>

The unique identifier for the application that the journey applies to.

creation_date: Option<String>

The date, in ISO 8601 format, when the journey was created.

id: Option<String>

The unique identifier for the journey.

last_modified_date: Option<String>

The date, in ISO 8601 format, when the journey was last modified.

limits: Option<JourneyLimits>

The messaging and entry limits for the journey.

local_time: bool

Specifies whether the journey's scheduled start and end times use each participant's local time. If this value is true, the schedule uses each participant's local time.

name: Option<String>

The name of the journey.

quiet_time: Option<QuietTime>

The quiet time settings for the journey. Quiet time is a specific time range when a journey doesn't send messages to participants, if all the following conditions are met:

  • The EndpointDemographic.Timezone property of the endpoint for the participant is set to a valid value.

  • The current time in the participant's time zone is later than or equal to the time specified by the QuietTime.Start property for the journey.

  • The current time in the participant's time zone is earlier than or equal to the time specified by the QuietTime.End property for the journey.

If any of the preceding conditions isn't met, the participant will receive messages from the journey, even if quiet time is enabled.

refresh_frequency: Option<String>

The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration in ISO 8601 format.

schedule: Option<JourneySchedule>

The schedule settings for the journey.

start_activity: Option<String>

The unique identifier for the first activity in the journey.

start_condition: Option<StartCondition>

The segment that defines which users are participants in the journey.

state: Option<State>

The current status of the journey. Possible values are:

  • DRAFT - The journey is being developed and hasn't been published yet.

  • ACTIVE - The journey has been developed and published. Depending on the journey's schedule, the journey may currently be running or scheduled to start running at a later time. If a journey's status is ACTIVE, you can't add, change, or remove activities from it.

  • COMPLETED - The journey has been published and has finished running. All participants have entered the journey and no participants are waiting to complete the journey or any activities in the journey.

  • CANCELLED - The journey has been stopped. If a journey's status is CANCELLED, you can't add, change, or remove activities or segment settings from the journey.

  • CLOSED - The journey has been published and has started running. It may have also passed its scheduled end time, or passed its scheduled start time and a refresh frequency hasn't been specified for it. If a journey's status is CLOSED, you can't add participants to it, and no existing participants can enter the journey for the first time. However, any existing participants who are currently waiting to start an activity may continue the journey.

tags: Option<HashMap<String, String>>

This object is not used or supported.

wait_for_quiet_time: bool

Specifies whether endpoints in quiet hours should enter a wait till the end of their quiet hours.

refresh_on_segment_update: bool

Specifies whether a journey should be refreshed on segment update.

journey_channel_settings: Option<JourneyChannelSettings>

The channel-specific configurations for the journey.

Implementations

A map that contains a set of Activity objects, one object for each activity in the journey. For each Activity object, the key is the unique identifier (string) for an activity and the value is the settings for the activity.

The unique identifier for the application that the journey applies to.

The date, in ISO 8601 format, when the journey was created.

The unique identifier for the journey.

The date, in ISO 8601 format, when the journey was last modified.

The messaging and entry limits for the journey.

Specifies whether the journey's scheduled start and end times use each participant's local time. If this value is true, the schedule uses each participant's local time.

The name of the journey.

The quiet time settings for the journey. Quiet time is a specific time range when a journey doesn't send messages to participants, if all the following conditions are met:

  • The EndpointDemographic.Timezone property of the endpoint for the participant is set to a valid value.

  • The current time in the participant's time zone is later than or equal to the time specified by the QuietTime.Start property for the journey.

  • The current time in the participant's time zone is earlier than or equal to the time specified by the QuietTime.End property for the journey.

If any of the preceding conditions isn't met, the participant will receive messages from the journey, even if quiet time is enabled.

The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration in ISO 8601 format.

The schedule settings for the journey.

The unique identifier for the first activity in the journey.

The segment that defines which users are participants in the journey.

The current status of the journey. Possible values are:

  • DRAFT - The journey is being developed and hasn't been published yet.

  • ACTIVE - The journey has been developed and published. Depending on the journey's schedule, the journey may currently be running or scheduled to start running at a later time. If a journey's status is ACTIVE, you can't add, change, or remove activities from it.

  • COMPLETED - The journey has been published and has finished running. All participants have entered the journey and no participants are waiting to complete the journey or any activities in the journey.

  • CANCELLED - The journey has been stopped. If a journey's status is CANCELLED, you can't add, change, or remove activities or segment settings from the journey.

  • CLOSED - The journey has been published and has started running. It may have also passed its scheduled end time, or passed its scheduled start time and a refresh frequency hasn't been specified for it. If a journey's status is CLOSED, you can't add participants to it, and no existing participants can enter the journey for the first time. However, any existing participants who are currently waiting to start an activity may continue the journey.

This object is not used or supported.

Specifies whether endpoints in quiet hours should enter a wait till the end of their quiet hours.

Specifies whether a journey should be refreshed on segment update.

The channel-specific configurations for the journey.

Creates a new builder-style object to manufacture JourneyResponse

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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