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

Description

 
Synopsis

Documentation

data MetadataDirective Source #

Whether the Object's metadata should be copied or replaced. Replace is required to copy an object to itself

Constructors

Copy 
Replace 

Instances

Instances details
Eq MetadataDirective Source # 
Instance details

Defined in Network.DO.Spaces.Actions.CopyObject

Show MetadataDirective Source # 
Instance details

Defined in Network.DO.Spaces.Actions.CopyObject

Generic MetadataDirective Source # 
Instance details

Defined in Network.DO.Spaces.Actions.CopyObject

Associated Types

type Rep MetadataDirective :: Type -> Type #

type Rep MetadataDirective Source # 
Instance details

Defined in Network.DO.Spaces.Actions.CopyObject

type Rep MetadataDirective = D1 ('MetaData "MetadataDirective" "Network.DO.Spaces.Actions.CopyObject" "do-spaces-0.2-6plBREpGHjL7zr5f6tFOCc" 'False) (C1 ('MetaCons "Copy" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Replace" 'PrefixI 'False) (U1 :: Type -> Type))

data CopyObject Source #

Copy and Object from one Bucket to another. Both buckets must be in the same region

Instances

Instances details
Eq CopyObject Source # 
Instance details

Defined in Network.DO.Spaces.Actions.CopyObject

Show CopyObject Source # 
Instance details

Defined in Network.DO.Spaces.Actions.CopyObject

Generic CopyObject Source # 
Instance details

Defined in Network.DO.Spaces.Actions.CopyObject

Associated Types

type Rep CopyObject :: Type -> Type #

MonadSpaces m => Action m CopyObject Source # 
Instance details

Defined in Network.DO.Spaces.Actions.CopyObject

Associated Types

type ConsumedResponse CopyObject Source #

type Rep CopyObject Source # 
Instance details

Defined in Network.DO.Spaces.Actions.CopyObject

type ConsumedResponse CopyObject Source # 
Instance details

Defined in Network.DO.Spaces.Actions.CopyObject