amazonka-amplifyuibuilder-2.0: Amazon Amplify UI Builder SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Instances details
FromJSON SortProperty Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.SortProperty

ToJSON SortProperty Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.SortProperty

Generic SortProperty Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.SortProperty

Associated Types

type Rep SortProperty :: Type -> Type #

Read SortProperty Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.SortProperty

Show SortProperty Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.SortProperty

NFData SortProperty Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.SortProperty

Methods

rnf :: SortProperty -> () #

Eq SortProperty Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.SortProperty

Hashable SortProperty Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.SortProperty

type Rep SortProperty Source # 
Instance details

Defined in Amazonka.AmplifyUiBuilder.Types.SortProperty

type Rep SortProperty = D1 ('MetaData "SortProperty" "Amazonka.AmplifyUiBuilder.Types.SortProperty" "amazonka-amplifyuibuilder-2.0-KN0MRaPu7dZCAXr3ruBTcC" 'False) (C1 ('MetaCons "SortProperty'" 'PrefixI 'True) (S1 ('MetaSel ('Just "direction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SortDirection) :*: S1 ('MetaSel ('Just "field") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSortProperty Source #

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.