libZSservicesZSamazonka-databrewZSamazonka-databrew
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.DataBrew.CreateSchedule

Description

Creates a new schedule for one or more DataBrew jobs. Jobs can be run at a specific date and time, or at regular intervals.

Synopsis

Creating a Request

data CreateSchedule Source #

See: newCreateSchedule smart constructor.

Constructors

CreateSchedule' 

Fields

  • jobNames :: Maybe [Text]

    The name or names of one or more jobs to be run.

  • tags :: Maybe (HashMap Text Text)

    Metadata tags to apply to this schedule.

  • cronExpression :: Text

    The date or dates and time or times when the jobs are to be run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.

  • name :: Text

    A unique name for the schedule. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

Instances

Instances details
Eq CreateSchedule Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

Read CreateSchedule Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

Show CreateSchedule Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

Generic CreateSchedule Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

Associated Types

type Rep CreateSchedule :: Type -> Type #

NFData CreateSchedule Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

Methods

rnf :: CreateSchedule -> () #

Hashable CreateSchedule Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

ToJSON CreateSchedule Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

AWSRequest CreateSchedule Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

Associated Types

type AWSResponse CreateSchedule #

ToHeaders CreateSchedule Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

ToPath CreateSchedule Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

ToQuery CreateSchedule Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

type Rep CreateSchedule Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

type Rep CreateSchedule = D1 ('MetaData "CreateSchedule" "Amazonka.DataBrew.CreateSchedule" "libZSservicesZSamazonka-databrewZSamazonka-databrew" 'False) (C1 ('MetaCons "CreateSchedule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "jobNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "cronExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateSchedule Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

newCreateSchedule Source #

Create a value of CreateSchedule 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:jobNames:CreateSchedule', createSchedule_jobNames - The name or names of one or more jobs to be run.

$sel:tags:CreateSchedule', createSchedule_tags - Metadata tags to apply to this schedule.

$sel:cronExpression:CreateSchedule', createSchedule_cronExpression - The date or dates and time or times when the jobs are to be run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.

$sel:name:CreateSchedule', createSchedule_name - A unique name for the schedule. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

Request Lenses

createSchedule_jobNames :: Lens' CreateSchedule (Maybe [Text]) Source #

The name or names of one or more jobs to be run.

createSchedule_tags :: Lens' CreateSchedule (Maybe (HashMap Text Text)) Source #

Metadata tags to apply to this schedule.

createSchedule_cronExpression :: Lens' CreateSchedule Text Source #

The date or dates and time or times when the jobs are to be run. For more information, see Cron expressions in the Glue DataBrew Developer Guide.

createSchedule_name :: Lens' CreateSchedule Text Source #

A unique name for the schedule. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

Destructuring the Response

data CreateScheduleResponse Source #

See: newCreateScheduleResponse smart constructor.

Constructors

CreateScheduleResponse' 

Fields

Instances

Instances details
Eq CreateScheduleResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

Read CreateScheduleResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

Show CreateScheduleResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

Generic CreateScheduleResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

Associated Types

type Rep CreateScheduleResponse :: Type -> Type #

NFData CreateScheduleResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

Methods

rnf :: CreateScheduleResponse -> () #

type Rep CreateScheduleResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateSchedule

type Rep CreateScheduleResponse = D1 ('MetaData "CreateScheduleResponse" "Amazonka.DataBrew.CreateSchedule" "libZSservicesZSamazonka-databrewZSamazonka-databrew" 'False) (C1 ('MetaCons "CreateScheduleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateScheduleResponse Source #

Create a value of CreateScheduleResponse 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:httpStatus:CreateScheduleResponse', createScheduleResponse_httpStatus - The response's http status code.

$sel:name:CreateSchedule', createScheduleResponse_name - The name of the schedule that was created.

Response Lenses

createScheduleResponse_name :: Lens' CreateScheduleResponse Text Source #

The name of the schedule that was created.