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

Contents

Description

Lists the details of a Protection object.

Synopsis

Creating a Request

describeProtection #

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

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

data DescribeProtection #

See: describeProtection smart constructor.

Instances
Eq DescribeProtection # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Data DescribeProtection # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Methods

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

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

toConstr :: DescribeProtection -> Constr #

dataTypeOf :: DescribeProtection -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeProtection # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Show DescribeProtection # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Generic DescribeProtection # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Associated Types

type Rep DescribeProtection :: * -> * #

Hashable DescribeProtection # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

ToJSON DescribeProtection # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

AWSRequest DescribeProtection # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Associated Types

type Rs DescribeProtection :: * #

ToHeaders DescribeProtection # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

ToPath DescribeProtection # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

ToQuery DescribeProtection # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

NFData DescribeProtection # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Methods

rnf :: DescribeProtection -> () #

type Rep DescribeProtection # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

type Rep DescribeProtection = D1 (MetaData "DescribeProtection" "Network.AWS.Shield.DescribeProtection" "amazonka-shield-1.6.0-CmU3mtZalr1CO98Otb2ZRq" True) (C1 (MetaCons "DescribeProtection'" PrefixI True) (S1 (MetaSel (Just "_dpProtectionId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeProtection # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Request Lenses

dpProtectionId :: Lens' DescribeProtection Text #

The unique identifier (ID) for the Protection object that is described.

Destructuring the Response

describeProtectionResponse #

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

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

data DescribeProtectionResponse #

See: describeProtectionResponse smart constructor.

Instances
Eq DescribeProtectionResponse # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Data DescribeProtectionResponse # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Methods

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

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

toConstr :: DescribeProtectionResponse -> Constr #

dataTypeOf :: DescribeProtectionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeProtectionResponse # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Show DescribeProtectionResponse # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Generic DescribeProtectionResponse # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Associated Types

type Rep DescribeProtectionResponse :: * -> * #

NFData DescribeProtectionResponse # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

type Rep DescribeProtectionResponse # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

type Rep DescribeProtectionResponse = D1 (MetaData "DescribeProtectionResponse" "Network.AWS.Shield.DescribeProtection" "amazonka-shield-1.6.0-CmU3mtZalr1CO98Otb2ZRq" False) (C1 (MetaCons "DescribeProtectionResponse'" PrefixI True) (S1 (MetaSel (Just "_dprsProtection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Protection)) :*: S1 (MetaSel (Just "_dprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

dprsResponseStatus :: Lens' DescribeProtectionResponse Int #

  • - | The response status code.