Copyright | (c) 2021 Rory Tyler Hayford |
---|---|
License | BSD-3-Clause |
Maintainer | rory.hayford@protonmail.com |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
This module re-exports the Action
instances in the modules below it
Synopsis
- runAction :: forall a m. (MonadSpaces m, Action m a) => WithMetadata -> a -> m (SpacesResponse a)
- parseErrorResponse :: (MonadThrow m, MonadIO m) => Status -> RawResponse m -> m APIException
- module Network.DO.Spaces.Actions.UploadObject
- module Network.DO.Spaces.Actions.UploadMultipart
- module Network.DO.Spaces.Actions.SetObjectACLs
- module Network.DO.Spaces.Actions.SetBucketLifecycle
- module Network.DO.Spaces.Actions.SetBucketCORS
- module Network.DO.Spaces.Actions.SetBucketACLs
- module Network.DO.Spaces.Actions.ListBucket
- module Network.DO.Spaces.Actions.ListAllBuckets
- module Network.DO.Spaces.Actions.GetObjectInfo
- module Network.DO.Spaces.Actions.GetObjectACLs
- module Network.DO.Spaces.Actions.GetObject
- module Network.DO.Spaces.Actions.GetBucketLocation
- module Network.DO.Spaces.Actions.GetBucketLifecycle
- module Network.DO.Spaces.Actions.GetBucketCORS
- module Network.DO.Spaces.Actions.GetBucketACLs
- module Network.DO.Spaces.Actions.DeleteObject
- module Network.DO.Spaces.Actions.DeleteBucketLifecycle
- module Network.DO.Spaces.Actions.DeleteBucketCORS
- module Network.DO.Spaces.Actions.DeleteBucket
- module Network.DO.Spaces.Actions.CreateBucket
- module Network.DO.Spaces.Actions.CopyObject
Documentation
runAction :: forall a m. (MonadSpaces m, Action m a) => WithMetadata -> a -> m (SpacesResponse a) Source #
Run an instance of Action
, receiving a ConsumedResponse
. The retention
of SpacesMetadata
can be controlled by passing a
WithMetadata
constructor
parseErrorResponse :: (MonadThrow m, MonadIO m) => Status -> RawResponse m -> m APIException Source #