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 |
Returns the most current information about the specified stream. You
must specify either the StreamName
or the StreamARN
.
Synopsis
- data DescribeStream = DescribeStream' {}
- newDescribeStream :: DescribeStream
- describeStream_streamARN :: Lens' DescribeStream (Maybe Text)
- describeStream_streamName :: Lens' DescribeStream (Maybe Text)
- data DescribeStreamResponse = DescribeStreamResponse' {}
- newDescribeStreamResponse :: Int -> DescribeStreamResponse
- describeStreamResponse_streamInfo :: Lens' DescribeStreamResponse (Maybe StreamInfo)
- describeStreamResponse_httpStatus :: Lens' DescribeStreamResponse Int
Creating a Request
data DescribeStream Source #
See: newDescribeStream
smart constructor.
Instances
newDescribeStream :: DescribeStream Source #
Create a value of DescribeStream
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:streamARN:DescribeStream'
, describeStream_streamARN
- The Amazon Resource Name (ARN) of the stream.
$sel:streamName:DescribeStream'
, describeStream_streamName
- The name of the stream.
Request Lenses
describeStream_streamARN :: Lens' DescribeStream (Maybe Text) Source #
The Amazon Resource Name (ARN) of the stream.
describeStream_streamName :: Lens' DescribeStream (Maybe Text) Source #
The name of the stream.
Destructuring the Response
data DescribeStreamResponse Source #
See: newDescribeStreamResponse
smart constructor.
DescribeStreamResponse' | |
|
Instances
newDescribeStreamResponse Source #
Create a value of DescribeStreamResponse
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:streamInfo:DescribeStreamResponse'
, describeStreamResponse_streamInfo
- An object that describes the stream.
$sel:httpStatus:DescribeStreamResponse'
, describeStreamResponse_httpStatus
- The response's http status code.
Response Lenses
describeStreamResponse_streamInfo :: Lens' DescribeStreamResponse (Maybe StreamInfo) Source #
An object that describes the stream.
describeStreamResponse_httpStatus :: Lens' DescribeStreamResponse Int Source #
The response's http status code.