| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
- data CreateSchedule = CreateSchedule' {}
- newCreateSchedule :: Text -> Text -> CreateSchedule
- createSchedule_jobNames :: Lens' CreateSchedule (Maybe [Text])
- createSchedule_tags :: Lens' CreateSchedule (Maybe (HashMap Text Text))
- createSchedule_cronExpression :: Lens' CreateSchedule Text
- createSchedule_name :: Lens' CreateSchedule Text
- data CreateScheduleResponse = CreateScheduleResponse' {
- httpStatus :: Int
- name :: Text
- newCreateScheduleResponse :: Int -> Text -> CreateScheduleResponse
- createScheduleResponse_httpStatus :: Lens' CreateScheduleResponse Int
- createScheduleResponse_name :: Lens' CreateScheduleResponse Text
Creating a Request
data CreateSchedule Source #
See: newCreateSchedule smart constructor.
Constructors
| CreateSchedule' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> CreateSchedule |
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:
CreateSchedule, createSchedule_jobNames - The name or names of one or more jobs to be run.
CreateSchedule, createSchedule_tags - Metadata tags to apply to this schedule.
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.
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
newCreateScheduleResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> CreateScheduleResponse |
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.
CreateSchedule, createScheduleResponse_name - The name of the schedule that was created.
Response Lenses
createScheduleResponse_httpStatus :: Lens' CreateScheduleResponse Int Source #
The response's http status code.
createScheduleResponse_name :: Lens' CreateScheduleResponse Text Source #
The name of the schedule that was created.