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 |
Update a channel schedule
Synopsis
- data BatchUpdateSchedule = BatchUpdateSchedule' {}
- newBatchUpdateSchedule :: Text -> BatchUpdateSchedule
- batchUpdateSchedule_creates :: Lens' BatchUpdateSchedule (Maybe BatchScheduleActionCreateRequest)
- batchUpdateSchedule_deletes :: Lens' BatchUpdateSchedule (Maybe BatchScheduleActionDeleteRequest)
- batchUpdateSchedule_channelId :: Lens' BatchUpdateSchedule Text
- data BatchUpdateScheduleResponse = BatchUpdateScheduleResponse' {}
- newBatchUpdateScheduleResponse :: Int -> BatchUpdateScheduleResponse
- batchUpdateScheduleResponse_creates :: Lens' BatchUpdateScheduleResponse (Maybe BatchScheduleActionCreateResult)
- batchUpdateScheduleResponse_deletes :: Lens' BatchUpdateScheduleResponse (Maybe BatchScheduleActionDeleteResult)
- batchUpdateScheduleResponse_httpStatus :: Lens' BatchUpdateScheduleResponse Int
Creating a Request
data BatchUpdateSchedule Source #
List of actions to create and list of actions to delete.
See: newBatchUpdateSchedule
smart constructor.
BatchUpdateSchedule' | |
|
Instances
newBatchUpdateSchedule Source #
Create a value of BatchUpdateSchedule
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:creates:BatchUpdateSchedule'
, batchUpdateSchedule_creates
- Schedule actions to create in the schedule.
$sel:deletes:BatchUpdateSchedule'
, batchUpdateSchedule_deletes
- Schedule actions to delete from the schedule.
$sel:channelId:BatchUpdateSchedule'
, batchUpdateSchedule_channelId
- Id of the channel whose schedule is being updated.
Request Lenses
batchUpdateSchedule_creates :: Lens' BatchUpdateSchedule (Maybe BatchScheduleActionCreateRequest) Source #
Schedule actions to create in the schedule.
batchUpdateSchedule_deletes :: Lens' BatchUpdateSchedule (Maybe BatchScheduleActionDeleteRequest) Source #
Schedule actions to delete from the schedule.
batchUpdateSchedule_channelId :: Lens' BatchUpdateSchedule Text Source #
Id of the channel whose schedule is being updated.
Destructuring the Response
data BatchUpdateScheduleResponse Source #
Placeholder documentation for BatchUpdateScheduleResponse
See: newBatchUpdateScheduleResponse
smart constructor.
BatchUpdateScheduleResponse' | |
|
Instances
newBatchUpdateScheduleResponse Source #
Create a value of BatchUpdateScheduleResponse
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:creates:BatchUpdateSchedule'
, batchUpdateScheduleResponse_creates
- Schedule actions created in the schedule.
$sel:deletes:BatchUpdateSchedule'
, batchUpdateScheduleResponse_deletes
- Schedule actions deleted from the schedule.
$sel:httpStatus:BatchUpdateScheduleResponse'
, batchUpdateScheduleResponse_httpStatus
- The response's http status code.
Response Lenses
batchUpdateScheduleResponse_creates :: Lens' BatchUpdateScheduleResponse (Maybe BatchScheduleActionCreateResult) Source #
Schedule actions created in the schedule.
batchUpdateScheduleResponse_deletes :: Lens' BatchUpdateScheduleResponse (Maybe BatchScheduleActionDeleteResult) Source #
Schedule actions deleted from the schedule.
batchUpdateScheduleResponse_httpStatus :: Lens' BatchUpdateScheduleResponse Int Source #
The response's http status code.