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

Description

 
Synopsis

Documentation

data AttackSummary Source #

Summarizes all DDoS attacks for a specified time period.

See: newAttackSummary smart constructor.

Constructors

AttackSummary' 

Fields

Instances

Instances details
FromJSON AttackSummary Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackSummary

Generic AttackSummary Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackSummary

Associated Types

type Rep AttackSummary :: Type -> Type #

Read AttackSummary Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackSummary

Show AttackSummary Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackSummary

NFData AttackSummary Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackSummary

Methods

rnf :: AttackSummary -> () #

Eq AttackSummary Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackSummary

Hashable AttackSummary Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackSummary

type Rep AttackSummary Source # 
Instance details

Defined in Amazonka.Shield.Types.AttackSummary

type Rep AttackSummary = D1 ('MetaData "AttackSummary" "Amazonka.Shield.Types.AttackSummary" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" 'False) (C1 ('MetaCons "AttackSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "attackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "attackVectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AttackVectorDescription]))) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newAttackSummary :: AttackSummary Source #

Create a value of AttackSummary 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:attackId:AttackSummary', attackSummary_attackId - The unique identifier (ID) of the attack.

$sel:attackVectors:AttackSummary', attackSummary_attackVectors - The list of attacks for a specified time period.

$sel:endTime:AttackSummary', attackSummary_endTime - The end time of the attack, in Unix time in seconds.

$sel:resourceArn:AttackSummary', attackSummary_resourceArn - The ARN (Amazon Resource Name) of the resource that was attacked.

$sel:startTime:AttackSummary', attackSummary_startTime - The start time of the attack, in Unix time in seconds.

attackSummary_attackId :: Lens' AttackSummary (Maybe Text) Source #

The unique identifier (ID) of the attack.

attackSummary_attackVectors :: Lens' AttackSummary (Maybe [AttackVectorDescription]) Source #

The list of attacks for a specified time period.

attackSummary_endTime :: Lens' AttackSummary (Maybe UTCTime) Source #

The end time of the attack, in Unix time in seconds.

attackSummary_resourceArn :: Lens' AttackSummary (Maybe Text) Source #

The ARN (Amazon Resource Name) of the resource that was attacked.

attackSummary_startTime :: Lens' AttackSummary (Maybe UTCTime) Source #

The start time of the attack, in Unix time in seconds.