forked from aristidb/aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ghci.hs
23 lines (20 loc) · 781 Bytes
/
ghci.hs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
-- GHCI convenience code
import Aws
import Aws.Ec2.InstanceMetadata
import qualified Aws.S3 as S3
import qualified Aws.Ses as Ses
import qualified Aws.SimpleDb as Sdb
import qualified Aws.Sqs as Sqs
import Control.Monad.IO.Class
import Control.Monad.Trans.Resource
import qualified Data.ByteString as S
import qualified Data.ByteString.Lazy as L
import qualified Data.Conduit as C
import qualified Data.Conduit.List as CL
import Data.Default
import qualified Network.HTTP.Conduit as HTTP
import qualified Network.HTTP.Types as HTTP
import System.IO.Unsafe -- only for the initialisation Please
bcfg = unsafePerformIO baseConfiguration
dcfg = unsafePerformIO dbgConfiguration
mgr = unsafePerformIO (HTTP.newManager def)