Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type Acceptor a = Request a -> Response' a -> Maybe Accept
- data Accept
- data Wait a = Wait {
- _waitName :: !ByteString
- _waitAttempts :: !Int
- _waitDelay :: !Int
- _waitAcceptors :: [Acceptor a]
- accept :: Wait a -> Acceptor a
- matchAll :: Eq b => b -> Accept -> Fold (Rs a) b -> Acceptor a
- matchAny :: Eq b => b -> Accept -> Fold (Rs a) b -> Acceptor a
- matchError :: AWSErrorCode (Er (Sv a)) => ErrorCode -> Accept -> Acceptor a
- matchStatus :: Int -> Accept -> Acceptor a
- module Control.Lens
Types
Timing and acceptance criteria to check fulfillment of a remote operation.
Wait | |
|
Acceptors
Matchers
matchError :: AWSErrorCode (Er (Sv a)) => ErrorCode -> Accept -> Acceptor a Source
matchStatus :: Int -> Accept -> Acceptor a Source
Lenses
module Control.Lens