Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
UpdateSchedule' | |
|
Instances
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:
$sel:jobNames:UpdateSchedule'
, updateSchedule_jobNames
- The name or names of one or more jobs to be run for this schedule.
$sel:cronExpression: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.
$sel:name: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.
UpdateScheduleResponse' | |
|
Instances
newUpdateScheduleResponse Source #
:: 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.
$sel:name: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.