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.PutBucketAnalyticsConfiguration

Contents

Description

Sets an analytics configuration for the bucket (specified by the analytics configuration ID).

Synopsis

Creating a Request

putBucketAnalyticsConfiguration Source #

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

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

  • pBucket - The name of the bucket to which an analytics configuration is stored.
  • pId - The identifier used to represent an analytics configuration.
  • pAnalyticsConfiguration - The configuration and any analyses for the analytics filter.

data PutBucketAnalyticsConfiguration Source #

See: putBucketAnalyticsConfiguration smart constructor.

Instances

Eq PutBucketAnalyticsConfiguration Source # 
Data PutBucketAnalyticsConfiguration Source # 

Methods

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

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

toConstr :: PutBucketAnalyticsConfiguration -> Constr #

dataTypeOf :: PutBucketAnalyticsConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

pBucket :: Lens' PutBucketAnalyticsConfiguration BucketName Source #

The name of the bucket to which an analytics configuration is stored.

pId :: Lens' PutBucketAnalyticsConfiguration Text Source #

The identifier used to represent an analytics configuration.

pAnalyticsConfiguration :: Lens' PutBucketAnalyticsConfiguration AnalyticsConfiguration Source #

The configuration and any analyses for the analytics filter.

Destructuring the Response

data PutBucketAnalyticsConfigurationResponse Source #

Instances

Eq PutBucketAnalyticsConfigurationResponse Source # 
Data PutBucketAnalyticsConfigurationResponse Source # 

Methods

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

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

toConstr :: PutBucketAnalyticsConfigurationResponse -> Constr #

dataTypeOf :: PutBucketAnalyticsConfigurationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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