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 #

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 #

See: describeAttack smart constructor.

Instances

Eq DescribeAttack # 
Data DescribeAttack # 

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 # 
Show DescribeAttack # 
Generic DescribeAttack # 

Associated Types

type Rep DescribeAttack :: * -> * #

Hashable DescribeAttack # 
ToJSON DescribeAttack # 
NFData DescribeAttack # 

Methods

rnf :: DescribeAttack -> () #

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

Request Lenses

daAttackId :: Lens' DescribeAttack Text #

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

Destructuring the Response

describeAttackResponse #

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 #

See: describeAttackResponse smart constructor.

Instances

Eq DescribeAttackResponse # 
Data DescribeAttackResponse # 

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 # 
Show DescribeAttackResponse # 
Generic DescribeAttackResponse # 
NFData DescribeAttackResponse # 

Methods

rnf :: DescribeAttackResponse -> () #

type Rep DescribeAttackResponse # 
type Rep DescribeAttackResponse = D1 * (MetaData "DescribeAttackResponse" "Network.AWS.Shield.DescribeAttack" "amazonka-shield-1.6.0-6msL1NyA5rn7XfVoLoYmV2" 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

darsAttack :: Lens' DescribeAttackResponse (Maybe AttackDetail) #

The attack that is described.

darsResponseStatus :: Lens' DescribeAttackResponse Int #

  • - | The response status code.