AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This operation is not supported for directory buckets.
Returns the access control list (ACL) of an object. To use this operation, you must
have s3:GetObjectAcl
permissions or READ_ACP
access to the object. For
more information, see Mapping
of ACL permissions and access policy permissions in the Amazon S3 User Guide
This functionality is not supported for Amazon S3 on Outposts.
By default, GET returns ACL information about the current version of an object. To return ACL information about a different version, use the versionId subresource.
If your bucket uses the bucket owner enforced setting for S3 Object Ownership, requests
to read ACLs are still supported and return the bucket-owner-full-control
ACL
with the owner being the account that created the bucket. For more information, see
Controlling object ownership and disabling ACLs in the Amazon S3 User Guide.
The following operations are related to GetObjectAcl
:
For .NET Core this operation is only available in asynchronous form. Please refer to GetObjectAclAsync.
Namespace: Amazon.S3
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z
public abstract GetObjectAclResponse GetObjectAcl( GetObjectAclRequest request )
Container for the necessary parameters to execute the GetObjectAcl service method.
.NET Framework:
Supported in: 4.7.2 and newer