amazonka-shield-1.4.5: Amazon Shield SDK.

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

Network.AWS.Shield.DeleteProtection

Contents

Description

Deletes an AWS Shield Advanced Protection .

Synopsis

Creating a Request

deleteProtection #

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

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

data DeleteProtection #

See: deleteProtection smart constructor.

Instances

Eq DeleteProtection # 
Data DeleteProtection # 

Methods

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

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

toConstr :: DeleteProtection -> Constr #

dataTypeOf :: DeleteProtection -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteProtection # 
Show DeleteProtection # 
Generic DeleteProtection # 
Hashable DeleteProtection # 
ToJSON DeleteProtection # 
NFData DeleteProtection # 

Methods

rnf :: DeleteProtection -> () #

AWSRequest DeleteProtection # 
ToQuery DeleteProtection # 
ToPath DeleteProtection # 
ToHeaders DeleteProtection # 
type Rep DeleteProtection # 
type Rep DeleteProtection = D1 (MetaData "DeleteProtection" "Network.AWS.Shield.DeleteProtection" "amazonka-shield-1.4.5-2mbTguNn2yUF6VCRPwT5Lk" True) (C1 (MetaCons "DeleteProtection'" PrefixI True) (S1 (MetaSel (Just Symbol "_dProtectionId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteProtection # 

Request Lenses

dProtectionId :: Lens' DeleteProtection Text #

The unique identifier (ID) for the Protection object to be deleted.

Destructuring the Response

deleteProtectionResponse #

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

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

data DeleteProtectionResponse #

See: deleteProtectionResponse smart constructor.

Instances

Eq DeleteProtectionResponse # 
Data DeleteProtectionResponse # 

Methods

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

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

toConstr :: DeleteProtectionResponse -> Constr #

dataTypeOf :: DeleteProtectionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteProtectionResponse # 
Show DeleteProtectionResponse # 
Generic DeleteProtectionResponse # 
NFData DeleteProtectionResponse # 
type Rep DeleteProtectionResponse # 
type Rep DeleteProtectionResponse = D1 (MetaData "DeleteProtectionResponse" "Network.AWS.Shield.DeleteProtection" "amazonka-shield-1.4.5-2mbTguNn2yUF6VCRPwT5Lk" True) (C1 (MetaCons "DeleteProtectionResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_delrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

delrsResponseStatus :: Lens' DeleteProtectionResponse Int #

  • - | The response status code.