| 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.UpdateSchedule
Description
Modifies the definition of an existing DataBrew schedule.
Synopsis
- data UpdateSchedule = UpdateSchedule' {}
- newUpdateSchedule :: Text -> Text -> UpdateSchedule
- updateSchedule_jobNames :: Lens' UpdateSchedule (Maybe [Text])
- updateSchedule_cronExpression :: Lens' UpdateSchedule Text
- updateSchedule_name :: Lens' UpdateSchedule Text
- data UpdateScheduleResponse = UpdateScheduleResponse' {
- httpStatus :: Int
- name :: Text
- newUpdateScheduleResponse :: Int -> Text -> UpdateScheduleResponse
- updateScheduleResponse_httpStatus :: Lens' UpdateScheduleResponse Int
- updateScheduleResponse_name :: Lens' UpdateScheduleResponse Text
Creating a Request
data UpdateSchedule Source #
See: newUpdateSchedule smart constructor.
Constructors
| UpdateSchedule' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> UpdateSchedule |
Create a value of UpdateSchedule 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:
UpdateSchedule, updateSchedule_jobNames - The name or names of one or more jobs to be run for this schedule.
UpdateSchedule, updateSchedule_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.
UpdateSchedule, updateSchedule_name - The name of the schedule to update.
Request Lenses
updateSchedule_jobNames :: Lens' UpdateSchedule (Maybe [Text]) Source #
The name or names of one or more jobs to be run for this schedule.
updateSchedule_cronExpression :: Lens' UpdateSchedule 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.
updateSchedule_name :: Lens' UpdateSchedule Text Source #
The name of the schedule to update.
Destructuring the Response
data UpdateScheduleResponse Source #
See: newUpdateScheduleResponse smart constructor.
Constructors
| UpdateScheduleResponse' | |
Fields
| |
Instances
newUpdateScheduleResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> UpdateScheduleResponse |
Create a value of UpdateScheduleResponse 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:UpdateScheduleResponse', updateScheduleResponse_httpStatus - The response's http status code.
UpdateSchedule, updateScheduleResponse_name - The name of the schedule that was updated.
Response Lenses
updateScheduleResponse_httpStatus :: Lens' UpdateScheduleResponse Int Source #
The response's http status code.
updateScheduleResponse_name :: Lens' UpdateScheduleResponse Text Source #
The name of the schedule that was updated.