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

Defined in Network.AWS.S3.PutObjectACL

Data PutObjectACL Source # 
Instance details

Defined in Network.AWS.S3.PutObjectACL

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

Defined in Network.AWS.S3.PutObjectACL

Show PutObjectACL Source # 
Instance details

Defined in Network.AWS.S3.PutObjectACL

Generic PutObjectACL Source # 
Instance details

Defined in Network.AWS.S3.PutObjectACL

Associated Types

type Rep PutObjectACL :: Type -> Type #

Hashable PutObjectACL Source # 
Instance details

Defined in Network.AWS.S3.PutObjectACL

AWSRequest PutObjectACL Source # 
Instance details

Defined in Network.AWS.S3.PutObjectACL

Associated Types

type Rs PutObjectACL :: Type #

ToElement PutObjectACL Source # 
Instance details

Defined in Network.AWS.S3.PutObjectACL

ToHeaders PutObjectACL Source # 
Instance details

Defined in Network.AWS.S3.PutObjectACL

ToPath PutObjectACL Source # 
Instance details

Defined in Network.AWS.S3.PutObjectACL

ToQuery PutObjectACL Source # 
Instance details

Defined in Network.AWS.S3.PutObjectACL

NFData PutObjectACL Source # 
Instance details

Defined in Network.AWS.S3.PutObjectACL

Methods

rnf :: PutObjectACL -> () #

type Rep PutObjectACL Source # 
Instance details

Defined in Network.AWS.S3.PutObjectACL

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

Defined in Network.AWS.S3.PutObjectACL

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

Defined in Network.AWS.S3.PutObjectACL

Data PutObjectACLResponse Source # 
Instance details

Defined in Network.AWS.S3.PutObjectACL

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

Defined in Network.AWS.S3.PutObjectACL

Show PutObjectACLResponse Source # 
Instance details

Defined in Network.AWS.S3.PutObjectACL

Generic PutObjectACLResponse Source # 
Instance details

Defined in Network.AWS.S3.PutObjectACL

Associated Types

type Rep PutObjectACLResponse :: Type -> Type #

NFData PutObjectACLResponse Source # 
Instance details

Defined in Network.AWS.S3.PutObjectACL

Methods

rnf :: PutObjectACLResponse -> () #

type Rep PutObjectACLResponse Source # 
Instance details

Defined in Network.AWS.S3.PutObjectACL

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

Response Lenses

poarsResponseStatus :: Lens' PutObjectACLResponse Int Source #

  • - | The response status code.