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

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

Data PutBucketInventoryConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

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

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

Generic PutBucketInventoryConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

Associated Types

type Rep PutBucketInventoryConfiguration :: Type -> Type #

Hashable PutBucketInventoryConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

AWSRequest PutBucketInventoryConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

Associated Types

type Rs PutBucketInventoryConfiguration :: Type #

ToElement PutBucketInventoryConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

ToHeaders PutBucketInventoryConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

ToPath PutBucketInventoryConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

ToQuery PutBucketInventoryConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

NFData PutBucketInventoryConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

type Rep PutBucketInventoryConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

type Rep PutBucketInventoryConfiguration = D1 (MetaData "PutBucketInventoryConfiguration" "Network.AWS.S3.PutBucketInventoryConfiguration" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "PutBucketInventoryConfiguration'" PrefixI True) (S1 (MetaSel (Just "_pbicBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketName) :*: (S1 (MetaSel (Just "_pbicId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pbicInventoryConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InventoryConfiguration))))
type Rs PutBucketInventoryConfiguration Source # 
Instance details

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

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

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

Data PutBucketInventoryConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

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

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

Show PutBucketInventoryConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

Generic PutBucketInventoryConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

NFData PutBucketInventoryConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

type Rep PutBucketInventoryConfigurationResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketInventoryConfiguration

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