amazonka-s3-1.6.1: Amazon Simple Storage Service 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.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 # 
Instance details

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

Data PutBucketAnalyticsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

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

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

Show PutBucketAnalyticsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

Generic PutBucketAnalyticsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

Associated Types

type Rep PutBucketAnalyticsConfiguration :: Type -> Type #

Hashable PutBucketAnalyticsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

AWSRequest PutBucketAnalyticsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

Associated Types

type Rs PutBucketAnalyticsConfiguration :: Type #

ToElement PutBucketAnalyticsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

ToHeaders PutBucketAnalyticsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

ToPath PutBucketAnalyticsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

ToQuery PutBucketAnalyticsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

NFData PutBucketAnalyticsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

type Rep PutBucketAnalyticsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

type Rep PutBucketAnalyticsConfiguration = D1 (MetaData "PutBucketAnalyticsConfiguration" "Network.AWS.S3.PutBucketAnalyticsConfiguration" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "PutBucketAnalyticsConfiguration'" PrefixI True) (S1 (MetaSel (Just "_pBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketName) :*: (S1 (MetaSel (Just "_pId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pAnalyticsConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 AnalyticsConfiguration))))
type Rs PutBucketAnalyticsConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

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

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

Data PutBucketAnalyticsConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

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

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

Show PutBucketAnalyticsConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

Generic PutBucketAnalyticsConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

NFData PutBucketAnalyticsConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

type Rep PutBucketAnalyticsConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketAnalyticsConfiguration

type Rep PutBucketAnalyticsConfigurationResponse = D1 (MetaData "PutBucketAnalyticsConfigurationResponse" "Network.AWS.S3.PutBucketAnalyticsConfiguration" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "PutBucketAnalyticsConfigurationResponse'" PrefixI False) (U1 :: Type -> Type))