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

Contents

Description

Creates a new server-side encryption configuration (or replaces an existing one, if present).

Synopsis

Creating a Request

putBucketEncryption Source #

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

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

data PutBucketEncryption Source #

See: putBucketEncryption smart constructor.

Instances

Eq PutBucketEncryption Source # 
Data PutBucketEncryption Source # 

Methods

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

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

toConstr :: PutBucketEncryption -> Constr #

dataTypeOf :: PutBucketEncryption -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PutBucketEncryption Source # 
Generic PutBucketEncryption Source # 
Hashable PutBucketEncryption Source # 
NFData PutBucketEncryption Source # 

Methods

rnf :: PutBucketEncryption -> () #

AWSRequest PutBucketEncryption Source # 
ToElement PutBucketEncryption Source # 
ToQuery PutBucketEncryption Source # 
ToPath PutBucketEncryption Source # 
ToHeaders PutBucketEncryption Source # 
type Rep PutBucketEncryption Source # 
type Rep PutBucketEncryption = D1 (MetaData "PutBucketEncryption" "Network.AWS.S3.PutBucketEncryption" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "PutBucketEncryption'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pbeContentMD5") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_pbeBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketName)) (S1 (MetaSel (Just Symbol "_pbeServerSideEncryptionConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ServerSideEncryptionConfiguration)))))
type Rs PutBucketEncryption Source # 

Request Lenses

pbeContentMD5 :: Lens' PutBucketEncryption (Maybe Text) Source #

The base64-encoded 128-bit MD5 digest of the server-side encryption configuration.

pbeBucket :: Lens' PutBucketEncryption BucketName Source #

The name of the bucket for which the server-side encryption configuration is set.

Destructuring the Response

putBucketEncryptionResponse :: PutBucketEncryptionResponse Source #

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

data PutBucketEncryptionResponse Source #

See: putBucketEncryptionResponse smart constructor.

Instances

Eq PutBucketEncryptionResponse Source # 
Data PutBucketEncryptionResponse Source # 

Methods

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

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

toConstr :: PutBucketEncryptionResponse -> Constr #

dataTypeOf :: PutBucketEncryptionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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