Returns the S3AccessControlList for the specified bucket or object.
Declaration Syntax
C# |
public GetACLResponse GetACL( GetACLRequest request )
Parameters
- request (GetACLRequest)
- The GetACLRequest that defines the parameters of the operation.
Return Value
Returns a GetACLResponse from S3.
Remarks
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.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | |
WebException | |
AmazonS3Exception |
See Also