Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | provisional |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- type Acceptor a = Request a -> Either Error (ClientResponse (AWSResponse a)) -> Maybe Accept
- data Accept
- data Wait a = Wait {}
- wait_name :: Lens' (Wait a) ByteString
- wait_attempts :: forall a. Lens' (Wait a) Int
- wait_delay :: Lens' (Wait a) Seconds
- wait_acceptors :: Lens (Wait a) (Wait b) [Acceptor a] [Acceptor b]
- accept :: Wait a -> Acceptor a
- matchAll :: Eq b => b -> Accept -> Fold (AWSResponse a) b -> Acceptor a
- matchAny :: Eq b => b -> Accept -> Fold (AWSResponse a) b -> Acceptor a
- matchNonEmpty :: Bool -> Accept -> Fold (AWSResponse a) b -> Acceptor a
- matchError :: ErrorCode -> Accept -> Acceptor a
- matchStatus :: Int -> Accept -> Acceptor a
- nonEmptyText :: Fold a Text -> Fold a Bool
Types
type Acceptor a = Request a -> Either Error (ClientResponse (AWSResponse a)) -> Maybe Accept Source #
Timing and acceptance criteria to check fulfillment of a remote operation.
Lenses
Acceptors
Matchers
matchNonEmpty :: Bool -> Accept -> Fold (AWSResponse a) b -> Acceptor a Source #