amazonka-s3-0.3.2: Amazon Simple Storage Service SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.S3.GetObjectAcl

Contents

Description

Returns the access control list (ACL) of an object.

http://docs.aws.amazon.com/AmazonS3/latest/API/GetObjectAcl.html

Synopsis

Request

Request constructor

getObjectAcl Source

Arguments

:: Text

goaBucket

-> Text

goaKey

-> GetObjectAcl 

GetObjectAcl constructor.

The fields accessible through corresponding lenses are:

Request lenses

goaKey :: Lens' GetObjectAcl Text Source

goaVersionId :: Lens' GetObjectAcl (Maybe Text) Source

VersionId used to reference a specific version of the object.

Response

Response constructor

getObjectAclResponse :: GetObjectAclResponse Source

GetObjectAclResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

goarGrants :: Lens' GetObjectAclResponse [Grant] Source

A list of grants.