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 |
Provides a summarized description of the specified Kinesis data stream without the shard list.
The information returned includes the stream name, Amazon Resource Name (ARN), status, record retention period, approximate creation time, monitoring, encryption details, and open shard count.
DescribeStreamSummary has a limit of 20 transactions per second per account.
Synopsis
- data DescribeStreamSummary = DescribeStreamSummary' {
- streamName :: Text
- newDescribeStreamSummary :: Text -> DescribeStreamSummary
- describeStreamSummary_streamName :: Lens' DescribeStreamSummary Text
- data DescribeStreamSummaryResponse = DescribeStreamSummaryResponse' {}
- newDescribeStreamSummaryResponse :: Int -> StreamDescriptionSummary -> DescribeStreamSummaryResponse
- describeStreamSummaryResponse_httpStatus :: Lens' DescribeStreamSummaryResponse Int
- describeStreamSummaryResponse_streamDescriptionSummary :: Lens' DescribeStreamSummaryResponse StreamDescriptionSummary
Creating a Request
data DescribeStreamSummary Source #
See: newDescribeStreamSummary
smart constructor.
DescribeStreamSummary' | |
|
Instances
newDescribeStreamSummary Source #
Create a value of DescribeStreamSummary
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:streamName:DescribeStreamSummary'
, describeStreamSummary_streamName
- The name of the stream to describe.
Request Lenses
describeStreamSummary_streamName :: Lens' DescribeStreamSummary Text Source #
The name of the stream to describe.
Destructuring the Response
data DescribeStreamSummaryResponse Source #
See: newDescribeStreamSummaryResponse
smart constructor.
DescribeStreamSummaryResponse' | |
|
Instances
newDescribeStreamSummaryResponse Source #
:: Int | |
-> StreamDescriptionSummary |
|
-> DescribeStreamSummaryResponse |
Create a value of DescribeStreamSummaryResponse
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:httpStatus:DescribeStreamSummaryResponse'
, describeStreamSummaryResponse_httpStatus
- The response's http status code.
$sel:streamDescriptionSummary:DescribeStreamSummaryResponse'
, describeStreamSummaryResponse_streamDescriptionSummary
- A StreamDescriptionSummary containing information about the stream.
Response Lenses
describeStreamSummaryResponse_httpStatus :: Lens' DescribeStreamSummaryResponse Int Source #
The response's http status code.
describeStreamSummaryResponse_streamDescriptionSummary :: Lens' DescribeStreamSummaryResponse StreamDescriptionSummary Source #
A StreamDescriptionSummary containing information about the stream.