| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | This Source Code Form is subject to the terms of |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | provisional |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Waiter
Description
- type Acceptor a = Request a -> Either Error (Response a) -> Maybe Accept
- data Accept
- data Wait a = Wait {
- _waitName :: ByteString
- _waitAttempts :: !Int
- _waitDelay :: !Seconds
- _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 :: ErrorCode -> Accept -> Acceptor a
- matchStatus :: Int -> Accept -> Acceptor a
- nonEmpty :: Fold a Text -> Fold a Bool
Types
Constructors
| AcceptSuccess | |
| AcceptFailure | |
| AcceptRetry |
Timing and acceptance criteria to check fulfillment of a remote operation.
Constructors
| Wait | |
Fields
| |