amazonka-shield-1.5.0: Amazon Shield SDK.

Copyright(c) 2013-2017 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 Source #

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 Source #

See: describeProtection smart constructor.

Instances

Eq DescribeProtection Source # 
Data DescribeProtection Source # 

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 Source # 
Show DescribeProtection Source # 
Generic DescribeProtection Source # 
Hashable DescribeProtection Source # 
ToJSON DescribeProtection Source # 
NFData DescribeProtection Source # 

Methods

rnf :: DescribeProtection -> () #

AWSRequest DescribeProtection Source # 
ToQuery DescribeProtection Source # 
ToPath DescribeProtection Source # 
ToHeaders DescribeProtection Source # 
type Rep DescribeProtection Source # 
type Rep DescribeProtection = D1 (MetaData "DescribeProtection" "Network.AWS.Shield.DescribeProtection" "amazonka-shield-1.5.0-D7peow1S4G05UtAnU0PnOg" True) (C1 (MetaCons "DescribeProtection'" PrefixI True) (S1 (MetaSel (Just Symbol "_dpProtectionId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeProtection Source # 

Request Lenses

dpProtectionId :: Lens' DescribeProtection Text Source #

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

Destructuring the Response

describeProtectionResponse Source #

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 Source #

See: describeProtectionResponse smart constructor.

Instances

Eq DescribeProtectionResponse Source # 
Data DescribeProtectionResponse Source # 

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 Source # 
Show DescribeProtectionResponse Source # 
Generic DescribeProtectionResponse Source # 
NFData DescribeProtectionResponse Source # 
type Rep DescribeProtectionResponse Source # 
type Rep DescribeProtectionResponse = D1 (MetaData "DescribeProtectionResponse" "Network.AWS.Shield.DescribeProtection" "amazonka-shield-1.5.0-D7peow1S4G05UtAnU0PnOg" False) (C1 (MetaCons "DescribeProtectionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dprsProtection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Protection))) (S1 (MetaSel (Just Symbol "_dprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses