Copyright | (c) 2021 Rory Tyler Hayford |
---|---|
License | BSD-3-Clause |
Maintainer | rory.hayford@protonmail.com |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data BeginMultipart = BeginMultipart {}
- newtype BeginMultipartResponse = BeginMultipartResponse {}
- data UploadPart = UploadPart {}
- data UploadPartResponse = UploadPartResponse {}
- newtype ListParts = ListParts {}
- data Part = Part {
- partNumber :: Int
- lastModified :: UTCTime
- etag :: ETag
- size :: Int
- data ListPartsResponse = ListPartsResponse {}
- type UploadID = Text
- newtype CancelMultipart = CancelMultipart {}
- data MultipartSession = MultipartSession {}
- type CancelMultipartResponse = ()
- data CompleteMultipart = CompleteMultipart {
- session :: MultipartSession
- parts :: [(Int, ETag)]
- data CompleteMultipartResponse = CompleteMultipartResponse {}
Documentation
data BeginMultipart Source #
Initiate a multipart upload session
BeginMultipart | |
|
Instances
newtype BeginMultipartResponse Source #
Instances
Eq BeginMultipartResponse Source # | |
Defined in Network.DO.Spaces.Actions.UploadMultipart | |
Show BeginMultipartResponse Source # | |
Defined in Network.DO.Spaces.Actions.UploadMultipart showsPrec :: Int -> BeginMultipartResponse -> ShowS # show :: BeginMultipartResponse -> String # showList :: [BeginMultipartResponse] -> ShowS # | |
Generic BeginMultipartResponse Source # | |
Defined in Network.DO.Spaces.Actions.UploadMultipart type Rep BeginMultipartResponse :: Type -> Type # | |
type Rep BeginMultipartResponse Source # | |
Defined in Network.DO.Spaces.Actions.UploadMultipart type Rep BeginMultipartResponse = D1 ('MetaData "BeginMultipartResponse" "Network.DO.Spaces.Actions.UploadMultipart" "do-spaces-0.2-6plBREpGHjL7zr5f6tFOCc" 'True) (C1 ('MetaCons "BeginMultipartResponse" 'PrefixI 'True) (S1 ('MetaSel ('Just "session") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MultipartSession))) |
data UploadPart Source #
Instances
data UploadPartResponse Source #
Instances
List all of the Part
s of a multipart upload session
Instances
Eq ListParts Source # | |
Show ListParts Source # | |
Generic ListParts Source # | |
MonadSpaces m => Action m ListParts Source # | |
Defined in Network.DO.Spaces.Actions.UploadMultipart type ConsumedResponse ListParts Source # buildRequest :: ListParts -> m SpacesRequestBuilder Source # consumeResponse :: RawResponse m -> m (ConsumedResponse ListParts) Source # | |
type Rep ListParts Source # | |
Defined in Network.DO.Spaces.Actions.UploadMultipart type Rep ListParts = D1 ('MetaData "ListParts" "Network.DO.Spaces.Actions.UploadMultipart" "do-spaces-0.2-6plBREpGHjL7zr5f6tFOCc" 'True) (C1 ('MetaCons "ListParts" 'PrefixI 'True) (S1 ('MetaSel ('Just "session") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MultipartSession))) | |
type ConsumedResponse ListParts Source # | |
Defined in Network.DO.Spaces.Actions.UploadMultipart |
A single part of a multipart upload session. Returned when querying ListParts
Part | |
|
Instances
Eq Part Source # | |
Show Part Source # | |
Generic Part Source # | |
type Rep Part Source # | |
Defined in Network.DO.Spaces.Actions.UploadMultipart type Rep Part = D1 ('MetaData "Part" "Network.DO.Spaces.Actions.UploadMultipart" "do-spaces-0.2-6plBREpGHjL7zr5f6tFOCc" 'False) (C1 ('MetaCons "Part" 'PrefixI 'True) ((S1 ('MetaSel ('Just "partNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UTCTime)) :*: (S1 ('MetaSel ('Just "etag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ETag) :*: S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) |
data ListPartsResponse Source #
Instances
newtype CancelMultipart Source #
Cancel an active multipart upload session
Instances
data MultipartSession Source #
Instances
type CancelMultipartResponse = () Source #
data CompleteMultipart Source #
Complete a multipart session
Instances
data CompleteMultipartResponse Source #