/// <summary> /// Queries S3 to determine whether the given bucket resides in the Europe location. /// </summary> public bool IsBucketInEurope(string bucketName) { var request = new GetBucketLocationRequest(this, bucketName); using (GetBucketLocationResponse response = request.GetResponse()) return(response.IsEurope); }
/// <summary> /// Queries S3 to determine whether the given bucket resides in the Europe location. /// </summary> public string GetBucketLocation(string bucketName) { var request = new GetBucketLocationRequest(this, bucketName); using (GetBucketLocationResponse response = request.GetResponse()) return(response.Location); }