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

Description

Describes the details of a DDoS attack.

Synopsis

Creating a Request

data DescribeAttack Source #

See: newDescribeAttack smart constructor.

Constructors

DescribeAttack' 

Fields

  • attackId :: Text

    The unique identifier (ID) for the attack that to be described.

Instances

Instances details
Eq DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Read DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Show DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Generic DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Associated Types

type Rep DescribeAttack :: Type -> Type #

NFData DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Methods

rnf :: DescribeAttack -> () #

Hashable DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

ToJSON DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

AWSRequest DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Associated Types

type AWSResponse 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

type Rep DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

type Rep DescribeAttack = D1 ('MetaData "DescribeAttack" "Amazonka.Shield.DescribeAttack" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "DescribeAttack'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeAttack Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

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:

$sel:attackId:DescribeAttack', describeAttack_attackId - The unique identifier (ID) for the attack that to be described.

Request Lenses

describeAttack_attackId :: Lens' DescribeAttack Text Source #

The unique identifier (ID) for the attack that to be described.

Destructuring the Response

data DescribeAttackResponse Source #

See: newDescribeAttackResponse smart constructor.

Constructors

DescribeAttackResponse' 

Fields

Instances

Instances details
Eq DescribeAttackResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Read DescribeAttackResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Show DescribeAttackResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Generic DescribeAttackResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Associated Types

type Rep DescribeAttackResponse :: Type -> Type #

NFData DescribeAttackResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

Methods

rnf :: DescribeAttackResponse -> () #

type Rep DescribeAttackResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttack

type Rep DescribeAttackResponse = D1 ('MetaData "DescribeAttackResponse" "Amazonka.Shield.DescribeAttack" "libZSservicesZSamazonka-shieldZSamazonka-shield" '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 is described.

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

Response Lenses