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.UploadObject

Description

 
Synopsis

Documentation

data UploadObject Source #

Upload a single object to Spaces. The maximum size for a single PUT request is 5 GB

Instances

Instances details
Generic UploadObject Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadObject

Associated Types

type Rep UploadObject :: Type -> Type #

MonadSpaces m => Action m UploadObject Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadObject

Associated Types

type ConsumedResponse UploadObject Source #

type Rep UploadObject Source # 
Instance details

Defined in Network.DO.Spaces.Actions.UploadObject

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

Defined in Network.DO.Spaces.Actions.UploadObject