do-spaces-0.2: DigitalOcean Spaces API bindings
Copyright(c) 2021 Rory Tyler Hayford
LicenseBSD-3-Clause
Maintainerrory.hayford@protonmail.com
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

Network.DO.Spaces.Actions.UploadMultipart

Description

 
Synopsis

Documentation

data BeginMultipart Source #

Initiate a multipart upload session

Instances

Instances details
Eq BeginMultipart Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Show BeginMultipart Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Generic BeginMultipart Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Associated Types

type Rep BeginMultipart :: Type -> Type #

MonadSpaces m => Action m BeginMultipart Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

type Rep BeginMultipart Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

type Rep BeginMultipart = D1 ('MetaData "BeginMultipart" "Network.DO.Spaces.Actions.UploadMultipart" "do-spaces-0.2-6plBREpGHjL7zr5f6tFOCc" 'False) (C1 ('MetaCons "BeginMultipart" 'PrefixI 'True) ((S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bucket) :*: S1 ('MetaSel ('Just "object") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Object)) :*: (S1 ('MetaSel ('Just "optionalHeaders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UploadHeaders) :*: S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MimeType)))))
type ConsumedResponse BeginMultipart Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

data UploadPartResponse Source #

Constructors

UploadPartResponse 

Fields

Instances

Instances details
Eq UploadPartResponse Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Show UploadPartResponse Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Generic UploadPartResponse Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Associated Types

type Rep UploadPartResponse :: Type -> Type #

type Rep UploadPartResponse Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

type Rep UploadPartResponse = D1 ('MetaData "UploadPartResponse" "Network.DO.Spaces.Actions.UploadMultipart" "do-spaces-0.2-6plBREpGHjL7zr5f6tFOCc" 'False) (C1 ('MetaCons "UploadPartResponse" 'PrefixI 'True) (S1 ('MetaSel ('Just "etag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ETag)))

newtype ListParts Source #

List all of the Parts of a multipart upload session

Constructors

ListParts 

Instances

Instances details
Eq ListParts Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Show ListParts Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Generic ListParts Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Associated Types

type Rep ListParts :: Type -> Type #

MonadSpaces m => Action m ListParts Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Associated Types

type ConsumedResponse ListParts Source #

type Rep ListParts Source # 
Instance details

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 # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

data Part Source #

A single part of a multipart upload session. Returned when querying ListParts

Constructors

Part 

Fields

Instances

Instances details
Eq Part Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Methods

(==) :: Part -> Part -> Bool #

(/=) :: Part -> Part -> Bool #

Show Part Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Methods

showsPrec :: Int -> Part -> ShowS #

show :: Part -> String #

showList :: [Part] -> ShowS #

Generic Part Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Associated Types

type Rep Part :: Type -> Type #

Methods

from :: Part -> Rep Part x #

to :: Rep Part x -> Part #

type Rep Part Source # 
Instance details

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 #

Constructors

ListPartsResponse 

Fields

Instances

Instances details
Eq ListPartsResponse Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Show ListPartsResponse Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Generic ListPartsResponse Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Associated Types

type Rep ListPartsResponse :: Type -> Type #

type Rep ListPartsResponse Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

type UploadID = Text Source #

A unique ID assigned to a multipart upload session

newtype CancelMultipart Source #

Cancel an active multipart upload session

Constructors

CancelMultipart 

Instances

Instances details
Eq CancelMultipart Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Show CancelMultipart Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Generic CancelMultipart Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Associated Types

type Rep CancelMultipart :: Type -> Type #

MonadSpaces m => Action m CancelMultipart Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

type Rep CancelMultipart Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

type Rep CancelMultipart = D1 ('MetaData "CancelMultipart" "Network.DO.Spaces.Actions.UploadMultipart" "do-spaces-0.2-6plBREpGHjL7zr5f6tFOCc" 'True) (C1 ('MetaCons "CancelMultipart" 'PrefixI 'True) (S1 ('MetaSel ('Just "session") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MultipartSession)))
type ConsumedResponse CancelMultipart Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

data MultipartSession Source #

Constructors

MultipartSession 

data CompleteMultipart Source #

Complete a multipart session

Constructors

CompleteMultipart 

Fields

Instances

Instances details
Eq CompleteMultipart Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Show CompleteMultipart Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Generic CompleteMultipart Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Associated Types

type Rep CompleteMultipart :: Type -> Type #

MonadSpaces m => Action m CompleteMultipart Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

type Rep CompleteMultipart Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

type Rep CompleteMultipart = D1 ('MetaData "CompleteMultipart" "Network.DO.Spaces.Actions.UploadMultipart" "do-spaces-0.2-6plBREpGHjL7zr5f6tFOCc" 'False) (C1 ('MetaCons "CompleteMultipart" 'PrefixI 'True) (S1 ('MetaSel ('Just "session") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MultipartSession) :*: S1 ('MetaSel ('Just "parts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [(Int, ETag)])))
type ConsumedResponse CompleteMultipart Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

data CompleteMultipartResponse Source #

Constructors

CompleteMultipartResponse 

Fields

Instances

Instances details
Eq CompleteMultipartResponse Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Show CompleteMultipartResponse Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Generic CompleteMultipartResponse Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

Associated Types

type Rep CompleteMultipartResponse :: Type -> Type #

type Rep CompleteMultipartResponse Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadMultipart

type Rep CompleteMultipartResponse = D1 ('MetaData "CompleteMultipartResponse" "Network.DO.Spaces.Actions.UploadMultipart" "do-spaces-0.2-6plBREpGHjL7zr5f6tFOCc" 'False) (C1 ('MetaCons "CompleteMultipartResponse" 'PrefixI 'True) ((S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bucket)) :*: (S1 ('MetaSel ('Just "object") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Object) :*: S1 ('MetaSel ('Just "etag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ETag))))