amazonka-s3-1.6.0: 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.GetBucketEncryption

Contents

Description

Returns the server-side encryption configuration of a bucket.

Synopsis

Creating a Request

getBucketEncryption #

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 #

See: getBucketEncryption smart constructor.

Instances

Eq GetBucketEncryption # 
Data GetBucketEncryption # 

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 # 
Show GetBucketEncryption # 
Generic GetBucketEncryption # 
Hashable GetBucketEncryption # 
NFData GetBucketEncryption # 

Methods

rnf :: GetBucketEncryption -> () #

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

Request Lenses

gbeBucket :: Lens' GetBucketEncryption BucketName #

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

Destructuring the Response

getBucketEncryptionResponse #

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 #

See: getBucketEncryptionResponse smart constructor.

Instances

Eq GetBucketEncryptionResponse # 
Data GetBucketEncryptionResponse # 

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 # 
Generic GetBucketEncryptionResponse # 
NFData GetBucketEncryptionResponse # 
type Rep GetBucketEncryptionResponse # 
type Rep GetBucketEncryptionResponse = D1 * (MetaData "GetBucketEncryptionResponse" "Network.AWS.S3.GetBucketEncryption" "amazonka-s3-1.6.0-7IU4ob52e2UJs8PzXUUtYL" 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