| 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 |
Network.AWS.KinesisVideo.DescribeStream
Description
Returns the most current information about the specified stream. You must specify either the StreamName or the StreamARN .
- describeStream :: DescribeStream
- data DescribeStream
- dStreamARN :: Lens' DescribeStream (Maybe Text)
- dStreamName :: Lens' DescribeStream (Maybe Text)
- describeStreamResponse :: Int -> DescribeStreamResponse
- data DescribeStreamResponse
- drsStreamInfo :: Lens' DescribeStreamResponse (Maybe StreamInfo)
- drsResponseStatus :: Lens' DescribeStreamResponse Int
Creating a Request
describeStream :: DescribeStream Source #
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:
dStreamARN- The Amazon Resource Name (ARN) of the stream.dStreamName- The name of the stream.
data DescribeStream Source #
See: describeStream smart constructor.
Instances
Request Lenses
dStreamARN :: Lens' DescribeStream (Maybe Text) Source #
The Amazon Resource Name (ARN) of the stream.
dStreamName :: Lens' DescribeStream (Maybe Text) Source #
The name of the stream.
Destructuring the Response
describeStreamResponse Source #
Arguments
| :: Int | |
| -> DescribeStreamResponse |
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:
drsStreamInfo- An object that describes the stream.drsResponseStatus- -- | The response status code.
data DescribeStreamResponse Source #
See: describeStreamResponse smart constructor.
Response Lenses
drsStreamInfo :: Lens' DescribeStreamResponse (Maybe StreamInfo) Source #
An object that describes the stream.
drsResponseStatus :: Lens' DescribeStreamResponse Int Source #
- - | The response status code.