Copyright | (c) 2013-2015 Brendan Hay |
---|---|

License | Mozilla Public License, v. 2.0. |

Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |

Stability | provisional |

Portability | non-portable (GHC extensions) |

Safe Haskell | None |

Language | Haskell2010 |

- class AWSRequest a => AWSPager a where
- class AWSTruncated a where
- stop :: AWSTruncated a => a -> Bool
- choice :: (Alternative f, ToText a, ToText b) => (s -> f a) -> (s -> f b) -> Getter s (f Text)

# Documentation

class AWSRequest a => AWSPager a where Source

Specify how an `AWSRequest`

and it's associated `Rs`

response can
generate a subsequent request, if available.

class AWSTruncated a where Source

Generalise IsTruncated and other optional/required response pagination fields.

AWSTruncated Bool | |

AWSTruncated [a] | |

AWSTruncated (Maybe Bool) | |

AWSTruncated (Maybe Int) | |

AWSTruncated (Maybe Text) | |

AWSTruncated (HashMap k v) |

stop :: AWSTruncated a => a -> Bool Source