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 |
Gets information about a stream.
Synopsis
- describeStream :: Text -> DescribeStream
- data DescribeStream
- dStreamId :: Lens' DescribeStream Text
- describeStreamResponse :: Int -> DescribeStreamResponse
- data DescribeStreamResponse
- dssrsStreamInfo :: Lens' DescribeStreamResponse (Maybe StreamInfo)
- dssrsResponseStatus :: Lens' DescribeStreamResponse Int
Creating a Request
Creates a value of DescribeStream
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dStreamId
- The stream ID.
data DescribeStream Source #
See: describeStream
smart constructor.
Instances
Request Lenses
Destructuring the Response
describeStreamResponse Source #
Creates a value of DescribeStreamResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dssrsStreamInfo
- Information about the stream.dssrsResponseStatus
- -- | The response status code.
data DescribeStreamResponse Source #
See: describeStreamResponse
smart constructor.
Instances
Response Lenses
dssrsStreamInfo :: Lens' DescribeStreamResponse (Maybe StreamInfo) Source #
Information about the stream.
dssrsResponseStatus :: Lens' DescribeStreamResponse Int Source #
- - | The response status code.