| 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.DescribeSchedule
Description
Get a channel schedule
This operation returns paginated results.
Synopsis
- data DescribeSchedule = DescribeSchedule' {}
- newDescribeSchedule :: Text -> DescribeSchedule
- describeSchedule_maxResults :: Lens' DescribeSchedule (Maybe Natural)
- describeSchedule_nextToken :: Lens' DescribeSchedule (Maybe Text)
- describeSchedule_channelId :: Lens' DescribeSchedule Text
- data DescribeScheduleResponse = DescribeScheduleResponse' {}
- newDescribeScheduleResponse :: Int -> DescribeScheduleResponse
- describeScheduleResponse_nextToken :: Lens' DescribeScheduleResponse (Maybe Text)
- describeScheduleResponse_scheduleActions :: Lens' DescribeScheduleResponse (Maybe [ScheduleAction])
- describeScheduleResponse_httpStatus :: Lens' DescribeScheduleResponse Int
Creating a Request
data DescribeSchedule Source #
Placeholder documentation for DescribeScheduleRequest
See: newDescribeSchedule smart constructor.
Constructors
| DescribeSchedule' | |
Instances
Arguments
| :: Text | |
| -> DescribeSchedule |
Create a value of DescribeSchedule 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:maxResults:DescribeSchedule', describeSchedule_maxResults - Undocumented member.
DescribeSchedule, describeSchedule_nextToken - Undocumented member.
DescribeSchedule, describeSchedule_channelId - Id of the channel whose schedule is being updated.
Request Lenses
describeSchedule_maxResults :: Lens' DescribeSchedule (Maybe Natural) Source #
Undocumented member.
describeSchedule_nextToken :: Lens' DescribeSchedule (Maybe Text) Source #
Undocumented member.
describeSchedule_channelId :: Lens' DescribeSchedule Text Source #
Id of the channel whose schedule is being updated.
Destructuring the Response
data DescribeScheduleResponse Source #
Placeholder documentation for DescribeScheduleResponse
See: newDescribeScheduleResponse smart constructor.
Constructors
| DescribeScheduleResponse' | |
Fields
| |
Instances
newDescribeScheduleResponse Source #
Create a value of DescribeScheduleResponse 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:
DescribeSchedule, describeScheduleResponse_nextToken - The next token; for use in pagination.
DescribeScheduleResponse, describeScheduleResponse_scheduleActions - The list of actions in the schedule.
$sel:httpStatus:DescribeScheduleResponse', describeScheduleResponse_httpStatus - The response's http status code.
Response Lenses
describeScheduleResponse_nextToken :: Lens' DescribeScheduleResponse (Maybe Text) Source #
The next token; for use in pagination.
describeScheduleResponse_scheduleActions :: Lens' DescribeScheduleResponse (Maybe [ScheduleAction]) Source #
The list of actions in the schedule.
describeScheduleResponse_httpStatus :: Lens' DescribeScheduleResponse Int Source #
The response's http status code.