amazonka-cloudwatch-logs-1.6.0: Amazon CloudWatch Logs 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.CloudWatchLogs.DeleteDestination

Contents

Description

Deletes the specified destination, and eventually disables all the subscription filters that publish to it. This operation does not delete the physical resource encapsulated by the destination.

Synopsis

Creating a Request

deleteDestination Source #

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

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

data DeleteDestination Source #

See: deleteDestination smart constructor.

Instances

Eq DeleteDestination Source # 
Data DeleteDestination Source # 

Methods

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

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

toConstr :: DeleteDestination -> Constr #

dataTypeOf :: DeleteDestination -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteDestination Source # 
Show DeleteDestination Source # 
Generic DeleteDestination Source # 
Hashable DeleteDestination Source # 
ToJSON DeleteDestination Source # 
NFData DeleteDestination Source # 

Methods

rnf :: DeleteDestination -> () #

AWSRequest DeleteDestination Source # 
ToHeaders DeleteDestination Source # 
ToPath DeleteDestination Source # 
ToQuery DeleteDestination Source # 
type Rep DeleteDestination Source # 
type Rep DeleteDestination = D1 * (MetaData "DeleteDestination" "Network.AWS.CloudWatchLogs.DeleteDestination" "amazonka-cloudwatch-logs-1.6.0-HcMszQeKJF6Iux4ovYYZri" True) (C1 * (MetaCons "DeleteDestination'" PrefixI True) (S1 * (MetaSel (Just Symbol "_ddDestinationName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DeleteDestination Source # 

Request Lenses

ddDestinationName :: Lens' DeleteDestination Text Source #

The name of the destination.

Destructuring the Response

deleteDestinationResponse :: DeleteDestinationResponse Source #

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

data DeleteDestinationResponse Source #

See: deleteDestinationResponse smart constructor.

Instances

Eq DeleteDestinationResponse Source # 
Data DeleteDestinationResponse Source # 

Methods

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

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

toConstr :: DeleteDestinationResponse -> Constr #

dataTypeOf :: DeleteDestinationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteDestinationResponse Source # 
Show DeleteDestinationResponse Source # 
Generic DeleteDestinationResponse Source # 
NFData DeleteDestinationResponse Source # 
type Rep DeleteDestinationResponse Source # 
type Rep DeleteDestinationResponse = D1 * (MetaData "DeleteDestinationResponse" "Network.AWS.CloudWatchLogs.DeleteDestination" "amazonka-cloudwatch-logs-1.6.0-HcMszQeKJF6Iux4ovYYZri" False) (C1 * (MetaCons "DeleteDestinationResponse'" PrefixI False) (U1 *))