| 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.IoTAnalytics.DescribeChannel
Description
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.
Constructors
| DescribeChannel' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeChannel |
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.
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.
Constructors
| DescribeChannelResponse' | |
Fields
| |
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:
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.