added methods to get the accessibility of S3