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

Contents

Description

Returns the server-side encryption configuration of a bucket.

Synopsis

Creating a Request

getBucketEncryption Source #

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

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

  • gbeBucket - The name of the bucket from which the server-side encryption configuration is retrieved.

data GetBucketEncryption Source #

See: getBucketEncryption smart constructor.

Instances

Eq GetBucketEncryption Source # 
Data GetBucketEncryption Source # 

Methods

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

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

toConstr :: GetBucketEncryption -> Constr #

dataTypeOf :: GetBucketEncryption -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBucketEncryption Source # 
Show GetBucketEncryption Source # 
Generic GetBucketEncryption Source # 
Hashable GetBucketEncryption Source # 
NFData GetBucketEncryption Source # 

Methods

rnf :: GetBucketEncryption -> () #

AWSRequest GetBucketEncryption Source # 
ToQuery GetBucketEncryption Source # 
ToPath GetBucketEncryption Source # 
ToHeaders GetBucketEncryption Source # 
type Rep GetBucketEncryption Source # 
type Rep GetBucketEncryption = D1 (MetaData "GetBucketEncryption" "Network.AWS.S3.GetBucketEncryption" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" True) (C1 (MetaCons "GetBucketEncryption'" PrefixI True) (S1 (MetaSel (Just Symbol "_gbeBucket") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 BucketName)))
type Rs GetBucketEncryption Source # 

Request Lenses

gbeBucket :: Lens' GetBucketEncryption BucketName Source #

The name of the bucket from which the server-side encryption configuration is retrieved.

Destructuring the Response

getBucketEncryptionResponse Source #

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

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

data GetBucketEncryptionResponse Source #

See: getBucketEncryptionResponse smart constructor.

Instances

Eq GetBucketEncryptionResponse Source # 
Data GetBucketEncryptionResponse Source # 

Methods

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

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

toConstr :: GetBucketEncryptionResponse -> Constr #

dataTypeOf :: GetBucketEncryptionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GetBucketEncryptionResponse Source # 
Generic GetBucketEncryptionResponse Source # 
NFData GetBucketEncryptionResponse Source # 
type Rep GetBucketEncryptionResponse Source # 
type Rep GetBucketEncryptionResponse = D1 (MetaData "GetBucketEncryptionResponse" "Network.AWS.S3.GetBucketEncryption" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "GetBucketEncryptionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gbersServerSideEncryptionConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ServerSideEncryptionConfiguration))) (S1 (MetaSel (Just Symbol "_gbersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses