| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Discovery.Types.OrderByElement
Description
Documentation
data OrderByElement Source #
A field and direction for ordered output.
See: newOrderByElement smart constructor.
Constructors
| OrderByElement' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> OrderByElement |
Create a value of OrderByElement with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:sortOrder:OrderByElement', orderByElement_sortOrder - Ordering direction.
$sel:fieldName:OrderByElement', orderByElement_fieldName - The field on which to order.
orderByElement_sortOrder :: Lens' OrderByElement (Maybe OrderString) Source #
Ordering direction.
orderByElement_fieldName :: Lens' OrderByElement Text Source #
The field on which to order.