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

Defined in Network.AWS.S3.PutBucketEncryption

Data PutBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.PutBucketEncryption

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

Defined in Network.AWS.S3.PutBucketEncryption

Generic PutBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.PutBucketEncryption

Associated Types

type Rep PutBucketEncryption :: Type -> Type #

Hashable PutBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.PutBucketEncryption

AWSRequest PutBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.PutBucketEncryption

Associated Types

type Rs PutBucketEncryption :: Type #

ToElement PutBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.PutBucketEncryption

ToHeaders PutBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.PutBucketEncryption

ToPath PutBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.PutBucketEncryption

ToQuery PutBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.PutBucketEncryption

NFData PutBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.PutBucketEncryption

Methods

rnf :: PutBucketEncryption -> () #

type Rep PutBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.PutBucketEncryption

type Rep PutBucketEncryption = D1 (MetaData "PutBucketEncryption" "Network.AWS.S3.PutBucketEncryption" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "PutBucketEncryption'" PrefixI True) (S1 (MetaSel (Just "_pbeContentMD5") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pbeBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketName) :*: S1 (MetaSel (Just "_pbeServerSideEncryptionConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ServerSideEncryptionConfiguration))))
type Rs PutBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.PutBucketEncryption

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

Defined in Network.AWS.S3.PutBucketEncryption

Data PutBucketEncryptionResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketEncryption

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

Defined in Network.AWS.S3.PutBucketEncryption

Show PutBucketEncryptionResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketEncryption

Generic PutBucketEncryptionResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketEncryption

Associated Types

type Rep PutBucketEncryptionResponse :: Type -> Type #

NFData PutBucketEncryptionResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketEncryption

type Rep PutBucketEncryptionResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketEncryption

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