update_object_acl Method
Updates an object's canned access policy.
Syntax
def update_object_acl(object_name: str) -> None: ...
Remarks
This method updates the caned access policy of the objects specified by ObjectName, in the bucket currently selected by bucket, to the value specified by access_policy.
If the version_id property is non-empty, the canned access policy of the specified version of the object is updated instead.