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.QuietTime

Description

 
Synopsis

Documentation

data QuietTime Source #

Specifies the start and end times that define a time range when messages aren't sent to endpoints.

See: newQuietTime smart constructor.

Constructors

QuietTime' 

Fields

  • start :: Maybe Text

    The specific time when quiet time begins. This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (with a leading zero, if applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, or 14:30 to represent 2:30 PM.

  • end :: Maybe Text

    The specific time when quiet time ends. This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (with a leading zero, if applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, or 14:30 to represent 2:30 PM.

Instances

Instances details
Eq QuietTime Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.QuietTime

Read QuietTime Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.QuietTime

Show QuietTime Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.QuietTime

Generic QuietTime Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.QuietTime

Associated Types

type Rep QuietTime :: Type -> Type #

NFData QuietTime Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.QuietTime

Methods

rnf :: QuietTime -> () #

Hashable QuietTime Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.QuietTime

ToJSON QuietTime Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.QuietTime

FromJSON QuietTime Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.QuietTime

type Rep QuietTime Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.QuietTime

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

newQuietTime :: QuietTime Source #

Create a value of QuietTime 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:start:QuietTime', quietTime_start - The specific time when quiet time begins. This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (with a leading zero, if applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, or 14:30 to represent 2:30 PM.

$sel:end:QuietTime', quietTime_end - The specific time when quiet time ends. This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (with a leading zero, if applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, or 14:30 to represent 2:30 PM.

quietTime_start :: Lens' QuietTime (Maybe Text) Source #

The specific time when quiet time begins. This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (with a leading zero, if applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, or 14:30 to represent 2:30 PM.

quietTime_end :: Lens' QuietTime (Maybe Text) Source #

The specific time when quiet time ends. This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (with a leading zero, if applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, or 14:30 to represent 2:30 PM.