How do i use aws s3 service with digitalocean spaces?

hi,

anyone know how i could call putobject or getobject or get presignedurl or deleteobject using s3 service from function with digitalocean spaces?