Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data SortCriteria Source #
The criteria used to sort.
See: newSortCriteria
smart constructor.
Instances
newSortCriteria :: SortCriteria Source #
Create a value of SortCriteria
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:orderBy:SortCriteria'
, sortCriteria_orderBy
- The sort order, ascending or descending.
$sel:attributeName:SortCriteria'
, sortCriteria_attributeName
- The name of the attribute to sort on.
sortCriteria_orderBy :: Lens' SortCriteria (Maybe OrderBy) Source #
The sort order, ascending or descending.
sortCriteria_attributeName :: Lens' SortCriteria (Maybe Text) Source #
The name of the attribute to sort on.