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

Defined in Network.AWS.S3.GetBucketEncryption

Data GetBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.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 Source # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

Show GetBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

Generic GetBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

Associated Types

type Rep GetBucketEncryption :: Type -> Type #

Hashable GetBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

AWSRequest GetBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

Associated Types

type Rs GetBucketEncryption :: Type #

ToHeaders GetBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

ToPath GetBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

ToQuery GetBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

NFData GetBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

Methods

rnf :: GetBucketEncryption -> () #

type Rep GetBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

type Rep GetBucketEncryption = D1 (MetaData "GetBucketEncryption" "Network.AWS.S3.GetBucketEncryption" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" True) (C1 (MetaCons "GetBucketEncryption'" PrefixI True) (S1 (MetaSel (Just "_gbeBucket") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 BucketName)))
type Rs GetBucketEncryption Source # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

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

Defined in Network.AWS.S3.GetBucketEncryption

Data GetBucketEncryptionResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

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

Defined in Network.AWS.S3.GetBucketEncryption

Generic GetBucketEncryptionResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

Associated Types

type Rep GetBucketEncryptionResponse :: Type -> Type #

NFData GetBucketEncryptionResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

type Rep GetBucketEncryptionResponse Source # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

type Rep GetBucketEncryptionResponse = D1 (MetaData "GetBucketEncryptionResponse" "Network.AWS.S3.GetBucketEncryption" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "GetBucketEncryptionResponse'" PrefixI True) (S1 (MetaSel (Just "_gbersServerSideEncryptionConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ServerSideEncryptionConfiguration)) :*: S1 (MetaSel (Just "_gbersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses