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 #

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

Defined in Network.AWS.S3.GetBucketEncryption

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

Defined in Network.AWS.S3.GetBucketEncryption

Show GetBucketEncryption # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

Generic GetBucketEncryption # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

Associated Types

type Rep GetBucketEncryption :: Type -> Type #

Hashable GetBucketEncryption # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

AWSRequest GetBucketEncryption # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

Associated Types

type Rs GetBucketEncryption :: Type #

ToHeaders GetBucketEncryption # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

ToPath GetBucketEncryption # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

ToQuery GetBucketEncryption # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

NFData GetBucketEncryption # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

Methods

rnf :: GetBucketEncryption -> () #

type Rep GetBucketEncryption # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

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

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

Defined in Network.AWS.S3.GetBucketEncryption

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

Defined in Network.AWS.S3.GetBucketEncryption

Generic GetBucketEncryptionResponse # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

Associated Types

type Rep GetBucketEncryptionResponse :: Type -> Type #

NFData GetBucketEncryptionResponse # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

type Rep GetBucketEncryptionResponse # 
Instance details

Defined in Network.AWS.S3.GetBucketEncryption

type Rep GetBucketEncryptionResponse = D1 (MetaData "GetBucketEncryptionResponse" "Network.AWS.S3.GetBucketEncryption" "amazonka-s3-1.6.1-LiqvNF3p5E63pl94gDJb0i" 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