Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Retrieves information about a channel.
Synopsis
- describeChannel :: Text -> DescribeChannel
- data DescribeChannel
- dChannelName :: Lens' DescribeChannel Text
- describeChannelResponse :: Int -> DescribeChannelResponse
- data DescribeChannelResponse
- dcrsChannel :: Lens' DescribeChannelResponse (Maybe Channel)
- dcrsResponseStatus :: Lens' DescribeChannelResponse Int
Creating a Request
Creates a value of DescribeChannel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dChannelName
- The name of the channel whose information is retrieved.
data DescribeChannel Source #
See: describeChannel
smart constructor.
Instances
Request Lenses
dChannelName :: Lens' DescribeChannel Text Source #
The name of the channel whose information is retrieved.
Destructuring the Response
describeChannelResponse Source #
Creates a value of DescribeChannelResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcrsChannel
- An object that contains information about the channel.dcrsResponseStatus
- -- | The response status code.
data DescribeChannelResponse Source #
See: describeChannelResponse
smart constructor.
Instances
Response Lenses
dcrsChannel :: Lens' DescribeChannelResponse (Maybe Channel) Source #
An object that contains information about the channel.
dcrsResponseStatus :: Lens' DescribeChannelResponse Int Source #
- - | The response status code.