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

Description

Describes the details of a DDoS attack.

Synopsis

Creating a Request

data DescribeAttack Source #

See: newDescribeAttack smart constructor.

Constructors

DescribeAttack' 

Fields

Instances

Instances details
ToJSON DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

ToHeaders DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

ToPath DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

ToQuery DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

AWSRequest DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Associated Types

type AWSResponse DescribeAttack #

Generic DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Associated Types

type Rep DescribeAttack :: Type -> Type #

Read DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Show DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

NFData DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Methods

rnf :: DescribeAttack -> () #

Eq DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Hashable DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

type AWSResponse DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

type Rep DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

type Rep DescribeAttack = D1 ('MetaData "DescribeAttack" "Amazonka.Shield.DescribeAttack" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" 'False) (C1 ('MetaCons "DescribeAttack'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeAttack Source #

Create a value of DescribeAttack 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:

DescribeAttack, describeAttack_attackId - The unique identifier (ID) for the attack.

Request Lenses

describeAttack_attackId :: Lens' DescribeAttack Text Source #

The unique identifier (ID) for the attack.

Destructuring the Response

data DescribeAttackResponse Source #

See: newDescribeAttackResponse smart constructor.

Constructors

DescribeAttackResponse' 

Fields

Instances

Instances details
Generic DescribeAttackResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Associated Types

type Rep DescribeAttackResponse :: Type -> Type #

Read DescribeAttackResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Show DescribeAttackResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

NFData DescribeAttackResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Methods

rnf :: DescribeAttackResponse -> () #

Eq DescribeAttackResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

type Rep DescribeAttackResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

type Rep DescribeAttackResponse = D1 ('MetaData "DescribeAttackResponse" "Amazonka.Shield.DescribeAttack" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" 'False) (C1 ('MetaCons "DescribeAttackResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attack") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttackDetail)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeAttackResponse Source #

Create a value of DescribeAttackResponse 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:attack:DescribeAttackResponse', describeAttackResponse_attack - The attack that you requested.

$sel:httpStatus:DescribeAttackResponse', describeAttackResponse_httpStatus - The response's http status code.

Response Lenses