amazonka-shield-1.6.0: Amazon Shield SDK.

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

Network.AWS.Shield.DescribeAttack

Contents

Description

Describes the details of a DDoS attack.

Synopsis

Creating a Request

describeAttack Source #

Creates a value of DescribeAttack with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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

data DescribeAttack Source #

See: describeAttack smart constructor.

Instances

Eq DescribeAttack Source # 
Data DescribeAttack Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeAttack -> c DescribeAttack #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeAttack #

toConstr :: DescribeAttack -> Constr #

dataTypeOf :: DescribeAttack -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeAttack) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeAttack) #

gmapT :: (forall b. Data b => b -> b) -> DescribeAttack -> DescribeAttack #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeAttack -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeAttack -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeAttack -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeAttack -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeAttack -> m DescribeAttack #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeAttack -> m DescribeAttack #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeAttack -> m DescribeAttack #

Read DescribeAttack Source # 
Show DescribeAttack Source # 
Generic DescribeAttack Source # 

Associated Types

type Rep DescribeAttack :: * -> * #

Hashable DescribeAttack Source # 
ToJSON DescribeAttack Source # 
NFData DescribeAttack Source # 

Methods

rnf :: DescribeAttack -> () #

AWSRequest DescribeAttack Source # 
ToHeaders DescribeAttack Source # 
ToPath DescribeAttack Source # 
ToQuery DescribeAttack Source # 
type Rep DescribeAttack Source # 
type Rep DescribeAttack = D1 * (MetaData "DescribeAttack" "Network.AWS.Shield.DescribeAttack" "amazonka-shield-1.6.0-2xi7D1IHnHkEfNzXOp5G0j" True) (C1 * (MetaCons "DescribeAttack'" PrefixI True) (S1 * (MetaSel (Just Symbol "_daAttackId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DescribeAttack Source # 

Request Lenses

daAttackId :: Lens' DescribeAttack Text Source #

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

Destructuring the Response

describeAttackResponse Source #

Creates a value of DescribeAttackResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeAttackResponse Source #

See: describeAttackResponse smart constructor.

Instances

Eq DescribeAttackResponse Source # 
Data DescribeAttackResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeAttackResponse -> c DescribeAttackResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeAttackResponse #

toConstr :: DescribeAttackResponse -> Constr #

dataTypeOf :: DescribeAttackResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeAttackResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeAttackResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeAttackResponse -> DescribeAttackResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeAttackResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeAttackResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeAttackResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeAttackResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeAttackResponse -> m DescribeAttackResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeAttackResponse -> m DescribeAttackResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeAttackResponse -> m DescribeAttackResponse #

Read DescribeAttackResponse Source # 
Show DescribeAttackResponse Source # 
Generic DescribeAttackResponse Source # 
NFData DescribeAttackResponse Source # 

Methods

rnf :: DescribeAttackResponse -> () #

type Rep DescribeAttackResponse Source # 
type Rep DescribeAttackResponse = D1 * (MetaData "DescribeAttackResponse" "Network.AWS.Shield.DescribeAttack" "amazonka-shield-1.6.0-2xi7D1IHnHkEfNzXOp5G0j" False) (C1 * (MetaCons "DescribeAttackResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_darsAttack") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe AttackDetail))) (S1 * (MetaSel (Just Symbol "_darsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

darsResponseStatus :: Lens' DescribeAttackResponse Int Source #

  • - | The response status code.