| 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.AmplifyUiBuilder.Types.SortProperty
Description
Synopsis
Documentation
data SortProperty Source #
Describes how to sort the data that you bind to a component.
See: newSortProperty smart constructor.
Constructors
| SortProperty' | |
Fields
| |
Instances
Create a value of SortProperty 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:direction:SortProperty', sortProperty_direction - The direction of the sort, either ascending or descending.
$sel:field:SortProperty', sortProperty_field - The field to perform the sort on.
sortProperty_direction :: Lens' SortProperty SortDirection Source #
The direction of the sort, either ascending or descending.
sortProperty_field :: Lens' SortProperty Text Source #
The field to perform the sort on.