Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Control.Monad.AWS.Class
Synopsis
- class Monad m => MonadAWS m where
- sendEither :: (AWSRequest a, Typeable a, Typeable (AWSResponse a)) => a -> m (Either Error (AWSResponse a))
- awaitEither :: (AWSRequest a, Typeable a) => Wait a -> a -> m (Either Error Accept)
- withAuth :: (AuthEnv -> m a) -> m a
- localEnv :: (Env -> Env) -> m a -> m a
Documentation
class Monad m => MonadAWS m where Source #
Typeclass for making AWS requests via Amazonka
For out-of-the-box transformers, see:
For DerivingVia
usage, see:
Methods
sendEither :: (AWSRequest a, Typeable a, Typeable (AWSResponse a)) => a -> m (Either Error (AWSResponse a)) Source #
The type-class version of sendEither
.
Since: 0.1.0.0
awaitEither :: (AWSRequest a, Typeable a) => Wait a -> a -> m (Either Error Accept) Source #
The type-class version of awaitEither
.
Since: 0.1.0.0
withAuth :: (AuthEnv -> m a) -> m a Source #
Supply the current credentials to the given action.
Since: 0.1.1.0