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 |
Retrieves information about a channel.
Synopsis
- data DescribeChannel = DescribeChannel' {}
- newDescribeChannel :: Text -> DescribeChannel
- describeChannel_includeStatistics :: Lens' DescribeChannel (Maybe Bool)
- describeChannel_channelName :: Lens' DescribeChannel Text
- data DescribeChannelResponse = DescribeChannelResponse' {}
- newDescribeChannelResponse :: Int -> DescribeChannelResponse
- describeChannelResponse_channel :: Lens' DescribeChannelResponse (Maybe Channel)
- describeChannelResponse_statistics :: Lens' DescribeChannelResponse (Maybe ChannelStatistics)
- describeChannelResponse_httpStatus :: Lens' DescribeChannelResponse Int
Creating a Request
data DescribeChannel Source #
See: newDescribeChannel
smart constructor.
DescribeChannel' | |
|
Instances
Create a value of DescribeChannel
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:includeStatistics:DescribeChannel'
, describeChannel_includeStatistics
- If true, additional statistical information about the channel is
included in the response. This feature can't be used with a channel
whose S3 storage is customer-managed.
$sel:channelName:DescribeChannel'
, describeChannel_channelName
- The name of the channel whose information is retrieved.
Request Lenses
describeChannel_includeStatistics :: Lens' DescribeChannel (Maybe Bool) Source #
If true, additional statistical information about the channel is included in the response. This feature can't be used with a channel whose S3 storage is customer-managed.
describeChannel_channelName :: Lens' DescribeChannel Text Source #
The name of the channel whose information is retrieved.
Destructuring the Response
data DescribeChannelResponse Source #
See: newDescribeChannelResponse
smart constructor.
DescribeChannelResponse' | |
|
Instances
newDescribeChannelResponse Source #
Create a value of DescribeChannelResponse
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:channel:DescribeChannelResponse'
, describeChannelResponse_channel
- An object that contains information about the channel.
$sel:statistics:DescribeChannelResponse'
, describeChannelResponse_statistics
- Statistics about the channel. Included if the includeStatistics
parameter is set to true
in the request.
$sel:httpStatus:DescribeChannelResponse'
, describeChannelResponse_httpStatus
- The response's http status code.
Response Lenses
describeChannelResponse_channel :: Lens' DescribeChannelResponse (Maybe Channel) Source #
An object that contains information about the channel.
describeChannelResponse_statistics :: Lens' DescribeChannelResponse (Maybe ChannelStatistics) Source #
Statistics about the channel. Included if the includeStatistics
parameter is set to true
in the request.
describeChannelResponse_httpStatus :: Lens' DescribeChannelResponse Int Source #
The response's http status code.