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

Defined in Network.AWS.Shield.DeleteProtection

Data DeleteProtection # 
Instance details

Defined in Network.AWS.Shield.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 # 
Instance details

Defined in Network.AWS.Shield.DeleteProtection

Show DeleteProtection # 
Instance details

Defined in Network.AWS.Shield.DeleteProtection

Generic DeleteProtection # 
Instance details

Defined in Network.AWS.Shield.DeleteProtection

Associated Types

type Rep DeleteProtection :: * -> * #

Hashable DeleteProtection # 
Instance details

Defined in Network.AWS.Shield.DeleteProtection

ToJSON DeleteProtection # 
Instance details

Defined in Network.AWS.Shield.DeleteProtection

AWSRequest DeleteProtection # 
Instance details

Defined in Network.AWS.Shield.DeleteProtection

Associated Types

type Rs DeleteProtection :: * #

ToHeaders DeleteProtection # 
Instance details

Defined in Network.AWS.Shield.DeleteProtection

ToPath DeleteProtection # 
Instance details

Defined in Network.AWS.Shield.DeleteProtection

ToQuery DeleteProtection # 
Instance details

Defined in Network.AWS.Shield.DeleteProtection

NFData DeleteProtection # 
Instance details

Defined in Network.AWS.Shield.DeleteProtection

Methods

rnf :: DeleteProtection -> () #

type Rep DeleteProtection # 
Instance details

Defined in Network.AWS.Shield.DeleteProtection

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

Defined in Network.AWS.Shield.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 # 
Instance details

Defined in Network.AWS.Shield.DeleteProtection

Data DeleteProtectionResponse # 
Instance details

Defined in Network.AWS.Shield.DeleteProtection

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

Defined in Network.AWS.Shield.DeleteProtection

Show DeleteProtectionResponse # 
Instance details

Defined in Network.AWS.Shield.DeleteProtection

Generic DeleteProtectionResponse # 
Instance details

Defined in Network.AWS.Shield.DeleteProtection

Associated Types

type Rep DeleteProtectionResponse :: * -> * #

NFData DeleteProtectionResponse # 
Instance details

Defined in Network.AWS.Shield.DeleteProtection

type Rep DeleteProtectionResponse # 
Instance details

Defined in Network.AWS.Shield.DeleteProtection

type Rep DeleteProtectionResponse = D1 (MetaData "DeleteProtectionResponse" "Network.AWS.Shield.DeleteProtection" "amazonka-shield-1.6.0-CmU3mtZalr1CO98Otb2ZRq" True) (C1 (MetaCons "DeleteProtectionResponse'" PrefixI True) (S1 (MetaSel (Just "_delrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

delrsResponseStatus :: Lens' DeleteProtectionResponse Int #

  • - | The response status code.