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

Contents

Description

Sets the permissions on a bucket using access control lists (ACL).

Synopsis

Creating a Request

putBucketACL Source #

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

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

data PutBucketACL Source #

See: putBucketACL smart constructor.

Instances

Eq PutBucketACL Source # 
Data PutBucketACL Source # 

Methods

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

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

toConstr :: PutBucketACL -> Constr #

dataTypeOf :: PutBucketACL -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutBucketACL Source # 
Show PutBucketACL Source # 
Generic PutBucketACL Source # 

Associated Types

type Rep PutBucketACL :: * -> * #

Hashable PutBucketACL Source # 
NFData PutBucketACL Source # 

Methods

rnf :: PutBucketACL -> () #

AWSRequest PutBucketACL Source # 
ToElement PutBucketACL Source # 
ToQuery PutBucketACL Source # 
ToPath PutBucketACL Source # 
ToHeaders PutBucketACL Source # 
type Rep PutBucketACL Source # 
type Rs PutBucketACL Source # 

Request Lenses

pbaGrantReadACP :: Lens' PutBucketACL (Maybe Text) Source #

Allows grantee to read the bucket ACL.

pbaGrantWriteACP :: Lens' PutBucketACL (Maybe Text) Source #

Allows grantee to write the ACL for the applicable bucket.

pbaGrantRead :: Lens' PutBucketACL (Maybe Text) Source #

Allows grantee to list the objects in the bucket.

pbaGrantFullControl :: Lens' PutBucketACL (Maybe Text) Source #

Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.

pbaContentMD5 :: Lens' PutBucketACL (Maybe Text) Source #

Undocumented member.

pbaGrantWrite :: Lens' PutBucketACL (Maybe Text) Source #

Allows grantee to create, overwrite, and delete any object in the bucket.

pbaACL :: Lens' PutBucketACL (Maybe BucketCannedACL) Source #

The canned ACL to apply to the bucket.

Destructuring the Response

putBucketACLResponse :: PutBucketACLResponse Source #

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

data PutBucketACLResponse Source #

See: putBucketACLResponse smart constructor.

Instances

Eq PutBucketACLResponse Source # 
Data PutBucketACLResponse Source # 

Methods

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

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

toConstr :: PutBucketACLResponse -> Constr #

dataTypeOf :: PutBucketACLResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutBucketACLResponse Source # 
Show PutBucketACLResponse Source # 
Generic PutBucketACLResponse Source # 
NFData PutBucketACLResponse Source # 

Methods

rnf :: PutBucketACLResponse -> () #

type Rep PutBucketACLResponse Source # 
type Rep PutBucketACLResponse = D1 (MetaData "PutBucketACLResponse" "Network.AWS.S3.PutBucketACL" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "PutBucketACLResponse'" PrefixI False) U1)