move s3 endpoint url to attributes.