/// <summary> /// Lists the contents of a bucket. /// </summary> /// <param name="bucket">The name of the bucket to list</param> /// <param name="prefix">All returned keys will start with this string (can be null)</param> /// <param name="marker">All returned keys will be lexographically greater than this string (can be null)</param> /// <param name="maxKeys">The maximum number of keys to return (can be 0)</param> /// <param name="delimiter">If specified, the keys between the prefix and the first occurrence of the /// delimiter are rolled into a single result element in the CommonPrefixes property of the returned value /// (can be null)</param> public ListBucketResult listBucket(string bucket, string prefix, string marker, int maxKeys, string delimiter) { DateTime timestamp = AWSDateFormatter.GetCurrentTimeResolvedToMillis(); string signature = makeSignature("ListBucket", timestamp); return(s3.ListBucket(bucket, prefix, marker, maxKeys, maxKeys != 0, delimiter, awsAccessKeyId, timestamp, true, signature, null)); }