libZSservicesZSamazonka-discoveryZSamazonka-discovery
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Discovery.Types.OrderByElement

Description

 
Synopsis

Documentation

data OrderByElement Source #

A field and direction for ordered output.

See: newOrderByElement smart constructor.

Constructors

OrderByElement' 

Fields

Instances

Instances details
Eq OrderByElement Source # 
Instance details

Defined in Amazonka.Discovery.Types.OrderByElement

Read OrderByElement Source # 
Instance details

Defined in Amazonka.Discovery.Types.OrderByElement

Show OrderByElement Source # 
Instance details

Defined in Amazonka.Discovery.Types.OrderByElement

Generic OrderByElement Source # 
Instance details

Defined in Amazonka.Discovery.Types.OrderByElement

Associated Types

type Rep OrderByElement :: Type -> Type #

NFData OrderByElement Source # 
Instance details

Defined in Amazonka.Discovery.Types.OrderByElement

Methods

rnf :: OrderByElement -> () #

Hashable OrderByElement Source # 
Instance details

Defined in Amazonka.Discovery.Types.OrderByElement

ToJSON OrderByElement Source # 
Instance details

Defined in Amazonka.Discovery.Types.OrderByElement

type Rep OrderByElement Source # 
Instance details

Defined in Amazonka.Discovery.Types.OrderByElement

type Rep OrderByElement = D1 ('MetaData "OrderByElement" "Amazonka.Discovery.Types.OrderByElement" "libZSservicesZSamazonka-discoveryZSamazonka-discovery" 'False) (C1 ('MetaCons "OrderByElement'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sortOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OrderString)) :*: S1 ('MetaSel ('Just "fieldName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newOrderByElement Source #

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_fieldName :: Lens' OrderByElement Text Source #

The field on which to order.