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

Contents

Description

Adds an inventory configuration (identified by the inventory ID) from the bucket.

Synopsis

Creating a Request

putBucketInventoryConfiguration Source #

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

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

  • pbicBucket - The name of the bucket where the inventory configuration will be stored.
  • pbicId - The ID used to identify the inventory configuration.
  • pbicInventoryConfiguration - Specifies the inventory configuration.

data PutBucketInventoryConfiguration Source #

See: putBucketInventoryConfiguration smart constructor.

Instances

Eq PutBucketInventoryConfiguration Source # 
Data PutBucketInventoryConfiguration Source # 

Methods

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

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

toConstr :: PutBucketInventoryConfiguration -> Constr #

dataTypeOf :: PutBucketInventoryConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

pbicBucket :: Lens' PutBucketInventoryConfiguration BucketName Source #

The name of the bucket where the inventory configuration will be stored.

pbicId :: Lens' PutBucketInventoryConfiguration Text Source #

The ID used to identify the inventory configuration.

Destructuring the Response

data PutBucketInventoryConfigurationResponse Source #

Instances

Eq PutBucketInventoryConfigurationResponse Source # 
Data PutBucketInventoryConfigurationResponse Source # 

Methods

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

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

toConstr :: PutBucketInventoryConfigurationResponse -> Constr #

dataTypeOf :: PutBucketInventoryConfigurationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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