amazonka-shield-2.0: Amazon Shield SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Shield.Types.SummarizedCounter

Description

 
Synopsis

Documentation

data SummarizedCounter Source #

The counter that describes a DDoS attack.

See: newSummarizedCounter smart constructor.

Constructors

SummarizedCounter' 

Fields

Instances

Instances details
FromJSON SummarizedCounter Source # 
Instance details

Defined in Amazonka.Shield.Types.SummarizedCounter

Generic SummarizedCounter Source # 
Instance details

Defined in Amazonka.Shield.Types.SummarizedCounter

Associated Types

type Rep SummarizedCounter :: Type -> Type #

Read SummarizedCounter Source # 
Instance details

Defined in Amazonka.Shield.Types.SummarizedCounter

Show SummarizedCounter Source # 
Instance details

Defined in Amazonka.Shield.Types.SummarizedCounter

NFData SummarizedCounter Source # 
Instance details

Defined in Amazonka.Shield.Types.SummarizedCounter

Methods

rnf :: SummarizedCounter -> () #

Eq SummarizedCounter Source # 
Instance details

Defined in Amazonka.Shield.Types.SummarizedCounter

Hashable SummarizedCounter Source # 
Instance details

Defined in Amazonka.Shield.Types.SummarizedCounter

type Rep SummarizedCounter Source # 
Instance details

Defined in Amazonka.Shield.Types.SummarizedCounter

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_sum :: Lens' SummarizedCounter (Maybe Double) Source #

The total of counter values for a specified time period.