| 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.IoT.DescribeStream
Description
Gets information about a stream.
Requires permission to access the DescribeStream action.
Synopsis
- data DescribeStream = DescribeStream' {}
- newDescribeStream :: Text -> DescribeStream
- describeStream_streamId :: Lens' DescribeStream 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.
Constructors
| DescribeStream' | |
Instances
Arguments
| :: Text | |
| -> DescribeStream |
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:
DescribeStream, describeStream_streamId - The stream ID.
Request Lenses
describeStream_streamId :: Lens' DescribeStream Text Source #
The stream ID.
Destructuring the Response
data DescribeStreamResponse Source #
See: newDescribeStreamResponse smart constructor.
Constructors
| DescribeStreamResponse' | |
Fields
| |
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 - Information about the stream.
$sel:httpStatus:DescribeStreamResponse', describeStreamResponse_httpStatus - The response's http status code.
Response Lenses
describeStreamResponse_streamInfo :: Lens' DescribeStreamResponse (Maybe StreamInfo) Source #
Information about the stream.
describeStreamResponse_httpStatus :: Lens' DescribeStreamResponse Int Source #
The response's http status code.