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 |
Produces list of channels that have been created
This operation returns paginated results.
Synopsis
- data ListChannels = ListChannels' {}
- newListChannels :: ListChannels
- listChannels_maxResults :: Lens' ListChannels (Maybe Natural)
- listChannels_nextToken :: Lens' ListChannels (Maybe Text)
- data ListChannelsResponse = ListChannelsResponse' {
- channels :: Maybe [ChannelSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListChannelsResponse :: Int -> ListChannelsResponse
- listChannelsResponse_channels :: Lens' ListChannelsResponse (Maybe [ChannelSummary])
- listChannelsResponse_nextToken :: Lens' ListChannelsResponse (Maybe Text)
- listChannelsResponse_httpStatus :: Lens' ListChannelsResponse Int
Creating a Request
data ListChannels Source #
Placeholder documentation for ListChannelsRequest
See: newListChannels
smart constructor.
Instances
newListChannels :: ListChannels Source #
Create a value of ListChannels
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:ListChannels'
, listChannels_maxResults
- Undocumented member.
ListChannels
, listChannels_nextToken
- Undocumented member.
Request Lenses
listChannels_maxResults :: Lens' ListChannels (Maybe Natural) Source #
Undocumented member.
listChannels_nextToken :: Lens' ListChannels (Maybe Text) Source #
Undocumented member.
Destructuring the Response
data ListChannelsResponse Source #
Placeholder documentation for ListChannelsResponse
See: newListChannelsResponse
smart constructor.
ListChannelsResponse' | |
|
Instances
newListChannelsResponse Source #
Create a value of ListChannelsResponse
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:channels:ListChannelsResponse'
, listChannelsResponse_channels
- Undocumented member.
ListChannels
, listChannelsResponse_nextToken
- Undocumented member.
$sel:httpStatus:ListChannelsResponse'
, listChannelsResponse_httpStatus
- The response's http status code.
Response Lenses
listChannelsResponse_channels :: Lens' ListChannelsResponse (Maybe [ChannelSummary]) Source #
Undocumented member.
listChannelsResponse_nextToken :: Lens' ListChannelsResponse (Maybe Text) Source #
Undocumented member.
listChannelsResponse_httpStatus :: Lens' ListChannelsResponse Int Source #
The response's http status code.