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 |
Synopsis
- data FieldSort = FieldSort' {}
- newFieldSort :: Text -> SortDirection -> FieldSort
- fieldSort_fieldId :: Lens' FieldSort Text
- fieldSort_direction :: Lens' FieldSort SortDirection
Documentation
The sort configuration for a field in a field well.
See: newFieldSort
smart constructor.
FieldSort' | |
|
Instances
FromJSON FieldSort Source # | |
ToJSON FieldSort Source # | |
Defined in Amazonka.QuickSight.Types.FieldSort | |
Generic FieldSort Source # | |
Read FieldSort Source # | |
Show FieldSort Source # | |
NFData FieldSort Source # | |
Defined in Amazonka.QuickSight.Types.FieldSort | |
Eq FieldSort Source # | |
Hashable FieldSort Source # | |
Defined in Amazonka.QuickSight.Types.FieldSort | |
type Rep FieldSort Source # | |
Defined in Amazonka.QuickSight.Types.FieldSort type Rep FieldSort = D1 ('MetaData "FieldSort" "Amazonka.QuickSight.Types.FieldSort" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "FieldSort'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fieldId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "direction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SortDirection))) |
Create a value of FieldSort
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:fieldId:FieldSort'
, fieldSort_fieldId
- The sort configuration target field.
$sel:direction:FieldSort'
, fieldSort_direction
- The sort direction. Choose one of the following options:
ASC
: AscendingDESC
: Descending
fieldSort_direction :: Lens' FieldSort SortDirection Source #
The sort direction. Choose one of the following options:
ASC
: AscendingDESC
: Descending