| 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.Shield.Types.SummarizedCounter
Description
Synopsis
- data SummarizedCounter = SummarizedCounter' {}
- newSummarizedCounter :: SummarizedCounter
- summarizedCounter_average :: Lens' SummarizedCounter (Maybe Double)
- summarizedCounter_max :: Lens' SummarizedCounter (Maybe Double)
- summarizedCounter_n :: Lens' SummarizedCounter (Maybe Int)
- summarizedCounter_name :: Lens' SummarizedCounter (Maybe Text)
- summarizedCounter_sum :: Lens' SummarizedCounter (Maybe Double)
- summarizedCounter_unit :: Lens' SummarizedCounter (Maybe Text)
Documentation
data SummarizedCounter Source #
The counter that describes a DDoS attack.
See: newSummarizedCounter smart constructor.
Constructors
| SummarizedCounter' | |
Fields
| |
Instances
newSummarizedCounter :: SummarizedCounter Source #
Create a value of SummarizedCounter 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:average:SummarizedCounter', summarizedCounter_average - The average value of the counter for a specified time period.
$sel:max:SummarizedCounter', summarizedCounter_max - The maximum value of the counter for a specified time period.
$sel:n:SummarizedCounter', summarizedCounter_n - The number of counters for a specified time period.
$sel:name:SummarizedCounter', summarizedCounter_name - The counter name.
$sel:sum:SummarizedCounter', summarizedCounter_sum - The total of counter values for a specified time period.
$sel:unit:SummarizedCounter', summarizedCounter_unit - The unit of the counters.
summarizedCounter_average :: Lens' SummarizedCounter (Maybe Double) Source #
The average value of the counter for a specified time period.
summarizedCounter_max :: Lens' SummarizedCounter (Maybe Double) Source #
The maximum value of the counter for a specified time period.
summarizedCounter_n :: Lens' SummarizedCounter (Maybe Int) Source #
The number of counters for a specified time period.
summarizedCounter_name :: Lens' SummarizedCounter (Maybe Text) Source #
The counter name.
summarizedCounter_sum :: Lens' SummarizedCounter (Maybe Double) Source #
The total of counter values for a specified time period.
summarizedCounter_unit :: Lens' SummarizedCounter (Maybe Text) Source #
The unit of the counters.