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

Contents

Description

uses the acl subresource to set the access control list (ACL) permissions for an object that already exists in a bucket

Synopsis

Creating a Request

putObjectACL Source #

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

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

data PutObjectACL Source #

See: putObjectACL smart constructor.

Instances

Eq PutObjectACL Source # 
Data PutObjectACL Source # 

Methods

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

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

toConstr :: PutObjectACL -> Constr #

dataTypeOf :: PutObjectACL -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutObjectACL Source # 
Show PutObjectACL Source # 
Generic PutObjectACL Source # 

Associated Types

type Rep PutObjectACL :: * -> * #

Hashable PutObjectACL Source # 
NFData PutObjectACL Source # 

Methods

rnf :: PutObjectACL -> () #

AWSRequest PutObjectACL Source # 
ToElement PutObjectACL Source # 
ToQuery PutObjectACL Source # 
ToPath PutObjectACL Source # 
ToHeaders PutObjectACL Source # 
type Rep PutObjectACL Source # 
type Rep PutObjectACL = D1 (MetaData "PutObjectACL" "Network.AWS.S3.PutObjectACL" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "PutObjectACL'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_poaVersionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ObjectVersionId))) ((:*:) (S1 (MetaSel (Just Symbol "_poaGrantReadACP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_poaRequestPayer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RequestPayer))))) ((:*:) (S1 (MetaSel (Just Symbol "_poaGrantWriteACP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_poaGrantRead") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_poaGrantFullControl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_poaContentMD5") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_poaAccessControlPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AccessControlPolicy))) (S1 (MetaSel (Just Symbol "_poaGrantWrite") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_poaACL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ObjectCannedACL))) ((:*:) (S1 (MetaSel (Just Symbol "_poaBucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketName)) (S1 (MetaSel (Just Symbol "_poaKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ObjectKey)))))))
type Rs PutObjectACL Source # 

Request Lenses

poaVersionId :: Lens' PutObjectACL (Maybe ObjectVersionId) Source #

VersionId used to reference a specific version of the object.

poaGrantReadACP :: Lens' PutObjectACL (Maybe Text) Source #

Allows grantee to read the bucket ACL.

poaGrantWriteACP :: Lens' PutObjectACL (Maybe Text) Source #

Allows grantee to write the ACL for the applicable bucket.

poaGrantRead :: Lens' PutObjectACL (Maybe Text) Source #

Allows grantee to list the objects in the bucket.

poaGrantFullControl :: Lens' PutObjectACL (Maybe Text) Source #

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

poaContentMD5 :: Lens' PutObjectACL (Maybe Text) Source #

Undocumented member.

poaGrantWrite :: Lens' PutObjectACL (Maybe Text) Source #

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

poaACL :: Lens' PutObjectACL (Maybe ObjectCannedACL) Source #

The canned ACL to apply to the object.

poaKey :: Lens' PutObjectACL ObjectKey Source #

Undocumented member.

Destructuring the Response

putObjectACLResponse Source #

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

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

data PutObjectACLResponse Source #

See: putObjectACLResponse smart constructor.

Instances

Eq PutObjectACLResponse Source # 
Data PutObjectACLResponse Source # 

Methods

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

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

toConstr :: PutObjectACLResponse -> Constr #

dataTypeOf :: PutObjectACLResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PutObjectACLResponse Source # 
Show PutObjectACLResponse Source # 
Generic PutObjectACLResponse Source # 
NFData PutObjectACLResponse Source # 

Methods

rnf :: PutObjectACLResponse -> () #

type Rep PutObjectACLResponse Source # 
type Rep PutObjectACLResponse = D1 (MetaData "PutObjectACLResponse" "Network.AWS.S3.PutObjectACL" "amazonka-s3-1.5.0-4i2REsRgyXL98WvgynC9is" False) (C1 (MetaCons "PutObjectACLResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_poarsRequestCharged") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RequestCharged))) (S1 (MetaSel (Just Symbol "_poarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

poarsResponseStatus :: Lens' PutObjectACLResponse Int Source #

  • - | The response status code.