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

Contents

Description

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

Synopsis

Creating a Request

putBucketACL #

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 #

See: putBucketACL smart constructor.

Instances

Eq PutBucketACL # 
Data PutBucketACL # 

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 # 
Show PutBucketACL # 
Generic PutBucketACL # 

Associated Types

type Rep PutBucketACL :: * -> * #

Hashable PutBucketACL # 
NFData PutBucketACL # 

Methods

rnf :: PutBucketACL -> () #

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

Request Lenses

pbaGrantReadACP :: Lens' PutBucketACL (Maybe Text) #

Allows grantee to read the bucket ACL.

pbaGrantWriteACP :: Lens' PutBucketACL (Maybe Text) #

Allows grantee to write the ACL for the applicable bucket.

pbaGrantRead :: Lens' PutBucketACL (Maybe Text) #

Allows grantee to list the objects in the bucket.

pbaGrantFullControl :: Lens' PutBucketACL (Maybe Text) #

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

pbaContentMD5 :: Lens' PutBucketACL (Maybe Text) #

Undocumented member.

pbaGrantWrite :: Lens' PutBucketACL (Maybe Text) #

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

pbaACL :: Lens' PutBucketACL (Maybe BucketCannedACL) #

The canned ACL to apply to the bucket.

pbaBucket :: Lens' PutBucketACL BucketName #

Undocumented member.

Destructuring the Response

putBucketACLResponse :: PutBucketACLResponse #

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

data PutBucketACLResponse #

See: putBucketACLResponse smart constructor.

Instances

Eq PutBucketACLResponse # 
Data PutBucketACLResponse # 

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

Methods

rnf :: PutBucketACLResponse -> () #

type Rep PutBucketACLResponse # 
type Rep PutBucketACLResponse = D1 * (MetaData "PutBucketACLResponse" "Network.AWS.S3.PutBucketACL" "amazonka-s3-1.6.0-7IU4ob52e2UJs8PzXUUtYL" False) (C1 * (MetaCons "PutBucketACLResponse'" PrefixI False) (U1 *))