JourneyResponse
¶
Source code in docs_src/capo_pinpoint/types/journey_response.py
activities
instance-attribute
¶
activities: NotRequired[MapOfActivity]
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
instance-attribute
¶
application_id: NotRequired[__string]
The unique identifier for the application that the journey applies to.
closed_days
instance-attribute
¶
closed_days: NotRequired[ClosedDays]
The time when a journey will not send messages. QuietTime should be configured first and SendingSchedule should be set to true.
creation_date
instance-attribute
¶
creation_date: NotRequired[__string]
The date, in ISO 8601 format, when the journey was created.
journey_channel_settings
instance-attribute
¶
journey_channel_settings: NotRequired[JourneyChannelSettings]
The channel-specific configurations for the journey.
last_modified_date
instance-attribute
¶
last_modified_date: NotRequired[__string]
The date, in ISO 8601 format, when the journey was last modified.
limits
instance-attribute
¶
limits: NotRequired[JourneyLimits]
The messaging and entry limits for the journey.
local_time
instance-attribute
¶
local_time: NotRequired[__boolean]
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.
open_hours
instance-attribute
¶
open_hours: NotRequired[OpenHours]
The time when a journey can send messages. QuietTime should be configured first and SendingSchedule should be set to true.
quiet_time
instance-attribute
¶
quiet_time: NotRequired[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
instance-attribute
¶
refresh_frequency: NotRequired[__string]
The frequency with which Amazon Pinpoint evaluates segment and event data for the journey, as a duration in ISO 8601 format.
refresh_on_segment_update
instance-attribute
¶
refresh_on_segment_update: NotRequired[__boolean]
Indicates whether the journey participants should be refreshed when a segment is updated.
schedule
instance-attribute
¶
schedule: NotRequired[JourneySchedule]
The schedule settings for the journey.
sending_schedule
instance-attribute
¶
sending_schedule: NotRequired[__boolean]
Indicates if journey has Advance Quiet Time enabled. This flag should be set to true in order to allow using OpenHours and ClosedDays.
start_activity
instance-attribute
¶
start_activity: NotRequired[__string]
The unique identifier for the first activity in the journey.
start_condition
instance-attribute
¶
start_condition: NotRequired[StartCondition]
The segment that defines which users are participants in the journey.
state
instance-attribute
¶
state: NotRequired[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.
timezone_estimation_methods
instance-attribute
¶
timezone_estimation_methods: NotRequired[ListOf__TimezoneEstimationMethodsElement]
An array of time zone estimation methods, if any, to use for determining an Endpoints time zone if the Endpoint does not have a value for the Demographic.Timezone attribute.
PHONE_NUMBER - A time zone is determined based on the Endpoint.Address and Endpoint.Location.Country.
POSTAL_CODE - A time zone is determined based on the Endpoint.Location.PostalCode and Endpoint.Location.Country.
POSTAL_CODE detection is only supported in the United States, United Kingdom, Australia, New Zealand, Canada, France, Italy, Spain, Germany and in regions where Amazon Pinpoint is available.