amazonka-s3-1.5.0: Amazon Simple Storage Service SDK.

Copyright(c) 2013-2017 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.S3.PutBucketLifecycleConfiguration

Contents

Description

Sets lifecycle configuration for your bucket. If a lifecycle configuration exists, it replaces it.

Synopsis

Creating a Request

putBucketLifecycleConfiguration Source #

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

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

data PutBucketLifecycleConfiguration Source #

See: putBucketLifecycleConfiguration smart constructor.

Instances

Eq PutBucketLifecycleConfiguration Source # 
Data PutBucketLifecycleConfiguration Source # 

Methods

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

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

toConstr :: PutBucketLifecycleConfiguration -> Constr #

dataTypeOf :: PutBucketLifecycleConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutBucketLifecycleConfiguration Source # 
Show PutBucketLifecycleConfiguration Source # 
Generic PutBucketLifecycleConfiguration Source # 
Hashable PutBucketLifecycleConfiguration Source # 
NFData PutBucketLifecycleConfiguration Source # 
AWSRequest PutBucketLifecycleConfiguration Source # 
ToElement PutBucketLifecycleConfiguration Source # 
ToQuery PutBucketLifecycleConfiguration Source # 
ToPath PutBucketLifecycleConfiguration Source # 
ToHeaders PutBucketLifecycleConfiguration Source # 
type Rep PutBucketLifecycleConfiguration Source # 
type Rep PutBucketLifecycleConfiguration = D1 (MetaData "PutBucketLifecycleConfiguration" "Network.AWS.S3.PutBucketLifecycleConfiguration" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "PutBucketLifecycleConfiguration'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pblcLifecycleConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BucketLifecycleConfiguration))) (S1 (MetaSel (Just Symbol "_pblcBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketName))))
type Rs PutBucketLifecycleConfiguration Source # 

Request Lenses

Destructuring the Response

data PutBucketLifecycleConfigurationResponse Source #

Instances

Eq PutBucketLifecycleConfigurationResponse Source # 
Data PutBucketLifecycleConfigurationResponse Source # 

Methods

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

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

toConstr :: PutBucketLifecycleConfigurationResponse -> Constr #

dataTypeOf :: PutBucketLifecycleConfigurationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutBucketLifecycleConfigurationResponse Source # 
Show PutBucketLifecycleConfigurationResponse Source # 
Generic PutBucketLifecycleConfigurationResponse Source # 
NFData PutBucketLifecycleConfigurationResponse Source # 
type Rep PutBucketLifecycleConfigurationResponse Source # 
type Rep PutBucketLifecycleConfigurationResponse = D1 (MetaData "PutBucketLifecycleConfigurationResponse" "Network.AWS.S3.PutBucketLifecycleConfiguration" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "PutBucketLifecycleConfigurationResponse'" PrefixI False) U1)