PutObjectAcl
Applies or updates an ACL on an object, customizing access rights at the object level.
Input
| Name | Type | Required | Description |
| Bucket | String | True | The name of the S3 bucket that contains the object for which the ACL will be applied. |
| Key | String | True | The key (name) of the object targeted by the PUT ACL operation. |
| AccessControlPolicy | String | False | The XML structure that defines the access control policy, including grants and grantees, to apply to the object. |
| VersionId | String | False | If versioning is enabled on the bucket, provides the specific version of the object to which the ACL applies. |
| ACL | String | False | A predefined (canned) ACL setting, such as private, public-read, or authenticated-read, to quickly configure access permissions for the object.
The allowed values are private, public-read, public-read-write, authenticated-read, aws-exec-read, bucket-owner-read, bucket-owner-full-control. |
| GrantFullControl | String | False | Grants the specified AWS account full control over the object, including read, write, read ACL, and write ACL permissions. |
| GrantRead | String | False | Grants the specified AWS account permission to read the object's data and metadata. |
| GrantReadAcp | String | False | Grants the specified AWS account permission to read the ACL of the object. |
| GrantWrite | String | False | Grants the specified AWS account permission to write or overwrite the object's data. |
| GrantWriteAcp | String | False | Grants the specified AWS account permission to write or modify the ACL of the object. |
Result Set Columns
| Name | Type | Description |
| Status | String | Indicates the result of the ACL update operation, such as success or failure. |