amazonka-shield-1.6.1: 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 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 # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Data DescribeProtection Source # 
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 Source # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Show DescribeProtection Source # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Generic DescribeProtection Source # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Associated Types

type Rep DescribeProtection :: Type -> Type #

Hashable DescribeProtection Source # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

ToJSON DescribeProtection Source # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

AWSRequest DescribeProtection Source # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Associated Types

type Rs DescribeProtection :: Type #

ToHeaders DescribeProtection Source # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

ToPath DescribeProtection Source # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

ToQuery DescribeProtection Source # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

NFData DescribeProtection Source # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Methods

rnf :: DescribeProtection -> () #

type Rep DescribeProtection Source # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

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

Defined in Network.AWS.Shield.DescribeProtection

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 # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Data DescribeProtectionResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Show DescribeProtectionResponse Source # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Generic DescribeProtectionResponse Source # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

Associated Types

type Rep DescribeProtectionResponse :: Type -> Type #

NFData DescribeProtectionResponse Source # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

type Rep DescribeProtectionResponse Source # 
Instance details

Defined in Network.AWS.Shield.DescribeProtection

type Rep DescribeProtectionResponse = D1 (MetaData "DescribeProtectionResponse" "Network.AWS.Shield.DescribeProtection" "amazonka-shield-1.6.1-8Y66prV5lhL7KZmytnDDA7" 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