libZSservicesZSamazonka-glueZSamazonka-glue
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.Glue.Types.Schedule

Description

 
Synopsis

Documentation

data Schedule Source #

A scheduling object using a cron statement to schedule an event.

See: newSchedule smart constructor.

Constructors

Schedule' 

Fields

Instances

Instances details
Eq Schedule Source # 
Instance details

Defined in Amazonka.Glue.Types.Schedule

Read Schedule Source # 
Instance details

Defined in Amazonka.Glue.Types.Schedule

Show Schedule Source # 
Instance details

Defined in Amazonka.Glue.Types.Schedule

Generic Schedule Source # 
Instance details

Defined in Amazonka.Glue.Types.Schedule

Associated Types

type Rep Schedule :: Type -> Type #

Methods

from :: Schedule -> Rep Schedule x #

to :: Rep Schedule x -> Schedule #

NFData Schedule Source # 
Instance details

Defined in Amazonka.Glue.Types.Schedule

Methods

rnf :: Schedule -> () #

Hashable Schedule Source # 
Instance details

Defined in Amazonka.Glue.Types.Schedule

Methods

hashWithSalt :: Int -> Schedule -> Int #

hash :: Schedule -> Int #

FromJSON Schedule Source # 
Instance details

Defined in Amazonka.Glue.Types.Schedule

type Rep Schedule Source # 
Instance details

Defined in Amazonka.Glue.Types.Schedule

type Rep Schedule = D1 ('MetaData "Schedule" "Amazonka.Glue.Types.Schedule" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "Schedule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScheduleState)) :*: S1 ('MetaSel ('Just "scheduleExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSchedule :: Schedule Source #

Create a value of Schedule 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:state:Schedule', schedule_state - The state of the schedule.

$sel:scheduleExpression:Schedule', schedule_scheduleExpression - A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).

schedule_state :: Lens' Schedule (Maybe ScheduleState) Source #

The state of the schedule.

schedule_scheduleExpression :: Lens' Schedule (Maybe Text) Source #

A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).