libZSservicesZSamazonka-shieldZSamazonka-shield
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Shield.Types.AttackVolume

Description

 
Synopsis

Documentation

data AttackVolume Source #

Information about the volume of attacks during the time period, included in an AttackStatisticsDataItem. If the accompanying AttackCount in the statistics object is zero, this setting might be empty.

See: newAttackVolume smart constructor.

Constructors

AttackVolume' 

Fields

Instances

Instances details
Eq AttackVolume Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackVolume

Read AttackVolume Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackVolume

Show AttackVolume Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackVolume

Generic AttackVolume Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackVolume

Associated Types

type Rep AttackVolume :: Type -> Type #

NFData AttackVolume Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackVolume

Methods

rnf :: AttackVolume -> () #

Hashable AttackVolume Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackVolume

FromJSON AttackVolume Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackVolume

type Rep AttackVolume Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackVolume

type Rep AttackVolume = D1 ('MetaData "AttackVolume" "Amazonka.Shield.Types.AttackVolume" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "AttackVolume'" 'PrefixI 'True) (S1 ('MetaSel ('Just "packetsPerSecond") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttackVolumeStatistics)) :*: (S1 ('MetaSel ('Just "requestsPerSecond") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttackVolumeStatistics)) :*: S1 ('MetaSel ('Just "bitsPerSecond") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttackVolumeStatistics)))))

newAttackVolume :: AttackVolume Source #

Create a value of AttackVolume 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:packetsPerSecond:AttackVolume', attackVolume_packetsPerSecond - A statistics object that uses packets per second as the unit. This is included for network level attacks.

$sel:requestsPerSecond:AttackVolume', attackVolume_requestsPerSecond - A statistics object that uses requests per second as the unit. This is included for application level attacks, and is only available for accounts that are subscribed to Shield Advanced.

$sel:bitsPerSecond:AttackVolume', attackVolume_bitsPerSecond - A statistics object that uses bits per second as the unit. This is included for network level attacks.

attackVolume_packetsPerSecond :: Lens' AttackVolume (Maybe AttackVolumeStatistics) Source #

A statistics object that uses packets per second as the unit. This is included for network level attacks.

attackVolume_requestsPerSecond :: Lens' AttackVolume (Maybe AttackVolumeStatistics) Source #

A statistics object that uses requests per second as the unit. This is included for application level attacks, and is only available for accounts that are subscribed to Shield Advanced.

attackVolume_bitsPerSecond :: Lens' AttackVolume (Maybe AttackVolumeStatistics) Source #

A statistics object that uses bits per second as the unit. This is included for network level attacks.