Safe Haskell | None |
---|---|
Language | Haskell2010 |
- getLocation :: Bucket -> Minio Text
- getService :: Minio [BucketInfo]
- listObjects' :: Bucket -> Maybe Text -> Maybe Text -> Maybe Text -> Minio ListObjectsResult
- getObject' :: Bucket -> Object -> Query -> [Header] -> Minio ([Header], ResumableSource Minio ByteString)
- putBucket :: Bucket -> Region -> Minio ()
- putObjectSingle :: Bucket -> Object -> [Header] -> Handle -> Int64 -> Int64 -> Minio ETag
- newMultipartUpload :: Bucket -> Object -> [Header] -> Minio UploadId
- putObjectPart :: Bucket -> Object -> UploadId -> PartNumber -> [Header] -> Payload -> Minio PartInfo
- completeMultipartUpload :: Bucket -> Object -> UploadId -> [PartInfo] -> Minio ETag
- abortMultipartUpload :: Bucket -> Object -> UploadId -> Minio ()
- listIncompleteUploads' :: Bucket -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Minio ListUploadsResult
- listIncompleteParts' :: Bucket -> Object -> UploadId -> Maybe Text -> Maybe Text -> Minio ListPartsResult
- deleteBucket :: Bucket -> Minio ()
- deleteObject :: Bucket -> Object -> Minio ()
Documentation
Listing buckets
getService :: Minio [BucketInfo] Source #
Fetch all buckets from the service.
Listing objects
listObjects' :: Bucket -> Maybe Text -> Maybe Text -> Maybe Text -> Minio ListObjectsResult Source #
List objects in a bucket matching prefix up to delimiter, starting from nextToken.
Retrieving objects
getObject' :: Bucket -> Object -> Query -> [Header] -> Minio ([Header], ResumableSource Minio ByteString) Source #
GET an object from the service and return the response headers and a conduit source for the object content
Creating buckets and objects
putObjectSingle :: Bucket -> Object -> [Header] -> Handle -> Int64 -> Int64 -> Minio ETag Source #
PUT an object into the service. This function performs a single PUT object call, and so can only transfer objects upto 5GiB.
Multipart Upload APIs
newMultipartUpload :: Bucket -> Object -> [Header] -> Minio UploadId Source #
Create a new multipart upload.
putObjectPart :: Bucket -> Object -> UploadId -> PartNumber -> [Header] -> Payload -> Minio PartInfo Source #
PUT a part of an object as part of a multipart upload.
completeMultipartUpload :: Bucket -> Object -> UploadId -> [PartInfo] -> Minio ETag Source #
Complete a multipart upload.
listIncompleteUploads' :: Bucket -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Minio ListUploadsResult Source #
List incomplete multipart uploads.
listIncompleteParts' :: Bucket -> Object -> UploadId -> Maybe Text -> Maybe Text -> Minio ListPartsResult Source #
List parts of an ongoing multipart upload.
Deletion APIs
deleteBucket :: Bucket -> Minio () Source #
DELETE a bucket from the service.