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

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

Data DeleteDestination Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

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

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

Show DeleteDestination Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

Generic DeleteDestination Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

Associated Types

type Rep DeleteDestination :: Type -> Type #

Hashable DeleteDestination Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

ToJSON DeleteDestination Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

AWSRequest DeleteDestination Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

Associated Types

type Rs DeleteDestination :: Type #

ToHeaders DeleteDestination Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

ToPath DeleteDestination Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

ToQuery DeleteDestination Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

NFData DeleteDestination Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

Methods

rnf :: DeleteDestination -> () #

type Rep DeleteDestination Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

type Rep DeleteDestination = D1 (MetaData "DeleteDestination" "Network.AWS.CloudWatchLogs.DeleteDestination" "amazonka-cloudwatch-logs-1.6.1-3MDuvRaDmjeBjiAkGx8qXs" True) (C1 (MetaCons "DeleteDestination'" PrefixI True) (S1 (MetaSel (Just "_ddDestinationName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteDestination Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

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

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

Data DeleteDestinationResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

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

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

Show DeleteDestinationResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

Generic DeleteDestinationResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

Associated Types

type Rep DeleteDestinationResponse :: Type -> Type #

NFData DeleteDestinationResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

type Rep DeleteDestinationResponse Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.DeleteDestination

type Rep DeleteDestinationResponse = D1 (MetaData "DeleteDestinationResponse" "Network.AWS.CloudWatchLogs.DeleteDestination" "amazonka-cloudwatch-logs-1.6.1-3MDuvRaDmjeBjiAkGx8qXs" False) (C1 (MetaCons "DeleteDestinationResponse'" PrefixI False) (U1 :: Type -> Type))