예제 #1
0
    public Task <PutObjectAclResponse> PutObjectAclAsync(string bucketName, string objectKey, Action <PutObjectAclRequest>?config = null, CancellationToken token = default)
    {
        PutObjectAclRequest req = new PutObjectAclRequest(bucketName, objectKey);

        config?.Invoke(req);

        return(_objectOperations.PutObjectAclAsync(req, token));
    }