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

Defined in Network.AWS.S3.PutBucketACL

Data PutBucketACL Source # 
Instance details

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

Defined in Network.AWS.S3.PutBucketACL

Show PutBucketACL Source # 
Instance details

Defined in Network.AWS.S3.PutBucketACL

Generic PutBucketACL Source # 
Instance details

Defined in Network.AWS.S3.PutBucketACL

Associated Types

type Rep PutBucketACL :: Type -> Type #

Hashable PutBucketACL Source # 
Instance details

Defined in Network.AWS.S3.PutBucketACL

AWSRequest PutBucketACL Source # 
Instance details

Defined in Network.AWS.S3.PutBucketACL

Associated Types

type Rs PutBucketACL :: Type #

ToElement PutBucketACL Source # 
Instance details

Defined in Network.AWS.S3.PutBucketACL

ToHeaders PutBucketACL Source # 
Instance details

Defined in Network.AWS.S3.PutBucketACL

ToPath PutBucketACL Source # 
Instance details

Defined in Network.AWS.S3.PutBucketACL

ToQuery PutBucketACL Source # 
Instance details

Defined in Network.AWS.S3.PutBucketACL

NFData PutBucketACL Source # 
Instance details

Defined in Network.AWS.S3.PutBucketACL

Methods

rnf :: PutBucketACL -> () #

type Rep PutBucketACL Source # 
Instance details

Defined in Network.AWS.S3.PutBucketACL

type Rs PutBucketACL Source # 
Instance details

Defined in Network.AWS.S3.PutBucketACL

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

Defined in Network.AWS.S3.PutBucketACL

Data PutBucketACLResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketACL

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

Defined in Network.AWS.S3.PutBucketACL

Show PutBucketACLResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketACL

Generic PutBucketACLResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketACL

Associated Types

type Rep PutBucketACLResponse :: Type -> Type #

NFData PutBucketACLResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketACL

Methods

rnf :: PutBucketACLResponse -> () #

type Rep PutBucketACLResponse Source # 
Instance details

Defined in Network.AWS.S3.PutBucketACL

type Rep PutBucketACLResponse = D1 (MetaData "PutBucketACLResponse" "Network.AWS.S3.PutBucketACL" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "PutBucketACLResponse'" PrefixI False) (U1 :: Type -> Type))