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 |
Get a channel schedule
This operation returns paginated results.
Synopsis
- data DescribeSchedule = DescribeSchedule' {}
- newDescribeSchedule :: Text -> DescribeSchedule
- describeSchedule_nextToken :: Lens' DescribeSchedule (Maybe Text)
- describeSchedule_maxResults :: Lens' DescribeSchedule (Maybe Natural)
- 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.
Instances
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:nextToken:DescribeSchedule'
, describeSchedule_nextToken
- Undocumented member.
$sel:maxResults:DescribeSchedule'
, describeSchedule_maxResults
- Undocumented member.
$sel:channelId:DescribeSchedule'
, describeSchedule_channelId
- Id of the channel whose schedule is being updated.
Request Lenses
describeSchedule_nextToken :: Lens' DescribeSchedule (Maybe Text) Source #
Undocumented member.
describeSchedule_maxResults :: Lens' DescribeSchedule (Maybe Natural) 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.
DescribeScheduleResponse' | |
|
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:
$sel:nextToken:DescribeSchedule'
, describeScheduleResponse_nextToken
- The next token; for use in pagination.
$sel:scheduleActions: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.