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.AttackStatisticsDataItem

Description

 
Synopsis

Documentation

data AttackStatisticsDataItem Source #

A single attack statistics data record. This is returned by DescribeAttackStatistics along with a time range indicating the time period that the attack statistics apply to.

See: newAttackStatisticsDataItem smart constructor.

Constructors

AttackStatisticsDataItem' 

Fields

  • attackVolume :: Maybe AttackVolume

    Information about the volume of attacks during the time period. If the accompanying AttackCount is zero, this setting might be empty.

  • attackCount :: Integer

    The number of attacks detected during the time period. This is always present, but might be zero.

Instances

Instances details
FromJSON AttackStatisticsDataItem Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackStatisticsDataItem

Generic AttackStatisticsDataItem Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackStatisticsDataItem

Associated Types

type Rep AttackStatisticsDataItem :: Type -> Type #

Read AttackStatisticsDataItem Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackStatisticsDataItem

Show AttackStatisticsDataItem Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackStatisticsDataItem

NFData AttackStatisticsDataItem Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackStatisticsDataItem

Eq AttackStatisticsDataItem Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackStatisticsDataItem

Hashable AttackStatisticsDataItem Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackStatisticsDataItem

type Rep AttackStatisticsDataItem Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackStatisticsDataItem

type Rep AttackStatisticsDataItem = D1 ('MetaData "AttackStatisticsDataItem" "Amazonka.Shield.Types.AttackStatisticsDataItem" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" 'False) (C1 ('MetaCons "AttackStatisticsDataItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attackVolume") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttackVolume)) :*: S1 ('MetaSel ('Just "attackCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)))

newAttackStatisticsDataItem Source #

Create a value of AttackStatisticsDataItem 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:attackVolume:AttackStatisticsDataItem', attackStatisticsDataItem_attackVolume - Information about the volume of attacks during the time period. If the accompanying AttackCount is zero, this setting might be empty.

$sel:attackCount:AttackStatisticsDataItem', attackStatisticsDataItem_attackCount - The number of attacks detected during the time period. This is always present, but might be zero.

attackStatisticsDataItem_attackVolume :: Lens' AttackStatisticsDataItem (Maybe AttackVolume) Source #

Information about the volume of attacks during the time period. If the accompanying AttackCount is zero, this setting might be empty.

attackStatisticsDataItem_attackCount :: Lens' AttackStatisticsDataItem Integer Source #

The number of attacks detected during the time period. This is always present, but might be zero.