libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Pinpoint.Types.WaitTime

Description

 
Synopsis

Documentation

data WaitTime Source #

Specifies a duration or a date and time that indicates when Amazon Pinpoint determines whether an activity's conditions have been met or an activity moves participants to the next activity in a journey.

See: newWaitTime smart constructor.

Constructors

WaitTime' 

Fields

  • waitFor :: Maybe Text

    The amount of time to wait, as a duration in ISO 8601 format, before determining whether the activity's conditions have been met or moving participants to the next activity in the journey.

  • waitUntil :: Maybe Text

    The date and time, in ISO 8601 format, when Amazon Pinpoint determines whether the activity's conditions have been met or the activity moves participants to the next activity in the journey.

Instances

Instances details
Eq WaitTime Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.WaitTime

Read WaitTime Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.WaitTime

Show WaitTime Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.WaitTime

Generic WaitTime Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.WaitTime

Associated Types

type Rep WaitTime :: Type -> Type #

Methods

from :: WaitTime -> Rep WaitTime x #

to :: Rep WaitTime x -> WaitTime #

NFData WaitTime Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.WaitTime

Methods

rnf :: WaitTime -> () #

Hashable WaitTime Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.WaitTime

Methods

hashWithSalt :: Int -> WaitTime -> Int #

hash :: WaitTime -> Int #

ToJSON WaitTime Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.WaitTime

FromJSON WaitTime Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.WaitTime

type Rep WaitTime Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.WaitTime

type Rep WaitTime = D1 ('MetaData "WaitTime" "Amazonka.Pinpoint.Types.WaitTime" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "WaitTime'" 'PrefixI 'True) (S1 ('MetaSel ('Just "waitFor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "waitUntil") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newWaitTime :: WaitTime Source #

Create a value of WaitTime with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:waitFor:WaitTime', waitTime_waitFor - The amount of time to wait, as a duration in ISO 8601 format, before determining whether the activity's conditions have been met or moving participants to the next activity in the journey.

$sel:waitUntil:WaitTime', waitTime_waitUntil - The date and time, in ISO 8601 format, when Amazon Pinpoint determines whether the activity's conditions have been met or the activity moves participants to the next activity in the journey.

waitTime_waitFor :: Lens' WaitTime (Maybe Text) Source #

The amount of time to wait, as a duration in ISO 8601 format, before determining whether the activity's conditions have been met or moving participants to the next activity in the journey.

waitTime_waitUntil :: Lens' WaitTime (Maybe Text) Source #

The date and time, in ISO 8601 format, when Amazon Pinpoint determines whether the activity's conditions have been met or the activity moves participants to the next activity in the journey.