| 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.MediaLive.BatchUpdateSchedule
Description
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.
Constructors
| BatchUpdateSchedule' | |
Fields
| |
Instances
newBatchUpdateSchedule Source #
Arguments
| :: Text | |
| -> BatchUpdateSchedule |
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:
BatchUpdateSchedule, batchUpdateSchedule_creates - Schedule actions to create in the schedule.
BatchUpdateSchedule, batchUpdateSchedule_deletes - Schedule actions to delete from the schedule.
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.
Constructors
| BatchUpdateScheduleResponse' | |
Fields
| |
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:
BatchUpdateSchedule, batchUpdateScheduleResponse_creates - Schedule actions created in the schedule.
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.