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

Contents

Description

Deletes the retention policy of the specified log group. Log events would not expire if they belong to log groups without a retention policy.

Synopsis

Creating a Request

deleteRetentionPolicy Source #

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

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

data DeleteRetentionPolicy Source #

See: deleteRetentionPolicy smart constructor.

Instances

Eq DeleteRetentionPolicy Source # 
Data DeleteRetentionPolicy Source # 

Methods

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

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

toConstr :: DeleteRetentionPolicy -> Constr #

dataTypeOf :: DeleteRetentionPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DeleteRetentionPolicy -> () #

AWSRequest DeleteRetentionPolicy Source # 
ToQuery DeleteRetentionPolicy Source # 
ToPath DeleteRetentionPolicy Source # 
ToHeaders DeleteRetentionPolicy Source # 
type Rep DeleteRetentionPolicy Source # 
type Rep DeleteRetentionPolicy = D1 (MetaData "DeleteRetentionPolicy" "Network.AWS.CloudWatchLogs.DeleteRetentionPolicy" "amazonka-cloudwatch-logs-1.4.1-8BlvwEM356M5ywRJfrJow6" True) (C1 (MetaCons "DeleteRetentionPolicy'" PrefixI True) (S1 (MetaSel (Just Symbol "_drpLogGroupName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteRetentionPolicy Source # 

Request Lenses

drpLogGroupName :: Lens' DeleteRetentionPolicy Text Source #

The name of the log group that is associated with the retention policy to delete.

Destructuring the Response

deleteRetentionPolicyResponse :: DeleteRetentionPolicyResponse Source #

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

data DeleteRetentionPolicyResponse Source #

See: deleteRetentionPolicyResponse smart constructor.

Instances

Eq DeleteRetentionPolicyResponse Source # 
Data DeleteRetentionPolicyResponse Source # 

Methods

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

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

toConstr :: DeleteRetentionPolicyResponse -> Constr #

dataTypeOf :: DeleteRetentionPolicyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteRetentionPolicyResponse Source # 
Show DeleteRetentionPolicyResponse Source # 
Generic DeleteRetentionPolicyResponse Source # 
NFData DeleteRetentionPolicyResponse Source # 
type Rep DeleteRetentionPolicyResponse Source # 
type Rep DeleteRetentionPolicyResponse = D1 (MetaData "DeleteRetentionPolicyResponse" "Network.AWS.CloudWatchLogs.DeleteRetentionPolicy" "amazonka-cloudwatch-logs-1.4.1-8BlvwEM356M5ywRJfrJow6" False) (C1 (MetaCons "DeleteRetentionPolicyResponse'" PrefixI False) U1)