Returns the S3AccessControlList for the specified bucket or object.
![](../icons/collapse_all.gif)
C# |
public GetACLResponse GetACL( GetACLRequest request )
![](../icons/collapse_all.gif)
- request (GetACLRequest)
- The GetACLRequest that defines the parameters of the operation.
![](../icons/collapse_all.gif)
Returns a GetACLResponse from S3.
![](../icons/collapse_all.gif)
Each bucket and object in Amazon S3 has an ACL that defines its access control
policy, which is a list of grants. A grant consists of one grantee and one permission.
ACLs only grant permissions; they do not deny them.
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
ArgumentNullException | |
WebException | |
AmazonS3Exception |
![](../icons/collapse_all.gif)