cloud-seeder-0.0.0.0: A tool for interacting with AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Network.CloudSeeder.Interfaces

Synopsis

Documentation

class Monad m => MonadArguments m where Source #

A class of monads that can access command-line arguments.

Methods

getArgs :: m Command Source #

Returns the command-line arguments provided to the program.

getArgs :: (MonadTrans t, MonadArguments m', m ~ t m') => m Command Source #

Returns the command-line arguments provided to the program.

class (AsFileSystemError e, MonadError e m) => MonadFileSystem e m | m -> e where Source #

A class of monads that can interact with the filesystem.

Methods

readFile :: Text -> m Text Source #

Reads a file at the given path and returns its contents. If the file does not exist, is not accessible, or is improperly encoded, this method throws an exception.

readFile :: (MonadTrans t, MonadFileSystem e m', m ~ t m') => Text -> m Text Source #

Reads a file at the given path and returns its contents. If the file does not exist, is not accessible, or is improperly encoded, this method throws an exception.

class Monad m => MonadCloud m where Source #

A class of monads that can interact with cloud deployments.

Methods

computeChangeset :: StackName -> Text -> [(Text, Text)] -> m Text Source #

getStackOutputs :: StackName -> m (Maybe [(Text, Text)]) Source #

runChangeSet :: Text -> m () Source #

computeChangeset :: (MonadTrans t, MonadCloud m', m ~ t m') => StackName -> Text -> [(Text, Text)] -> m Text Source #

getStackOutputs :: (MonadTrans t, MonadCloud m', m ~ t m') => StackName -> m (Maybe [(Text, Text)]) Source #

runChangeSet :: (MonadTrans t, MonadCloud m', m ~ t m') => Text -> m () Source #

computeChangeset' :: MonadCloudIO r m => StackName -> Text -> [(Text, Text)] -> m Text Source #

getStackOutputs' :: MonadCloudIO r m => StackName -> m (Maybe [(Text, Text)]) Source #

runChangeSet' :: MonadCloudIO r m => Text -> m () Source #

class Monad m => MonadEnvironment m where Source #

A class of monads that can access environment variables

Methods

getEnv :: Text -> m (Maybe Text) Source #

getEnv :: (MonadTrans t, MonadEnvironment m', m ~ t m') => Text -> m (Maybe Text) Source #

newtype StackName Source #

Constructors

StackName Text 

Instances

Eq StackName Source # 
Show StackName Source # 
IsString StackName Source # 
Generic StackName Source # 

Associated Types

type Rep StackName :: * -> * #

NFData StackName Source # 

Methods

rnf :: StackName -> () #

type Rep StackName Source # 
type Rep StackName = D1 (MetaData "StackName" "Network.CloudSeeder.Interfaces" "cloud-seeder-0.0.0.0-7xg9yVA1ThK9ziGGftIAxj" True) (C1 (MetaCons "StackName" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))