amazonka-route53-domains-2.0: Amazon Route 53 Domains 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.Route53Domains.Types.SortCondition

Description

 
Synopsis

Documentation

data SortCondition Source #

Information for sorting a list of domains.

See: newSortCondition smart constructor.

Constructors

SortCondition' 

Fields

  • name :: ListDomainsAttributeName

    Field to be used for sorting the list of domains. It can be either the name or the expiration for a domain. Note that if filterCondition is used in the same ListDomains call, the field used for sorting has to be the same as the field used for filtering.

  • sortOrder :: SortOrder

    The sort order for a list of domains. Either ascending (ASC) or descending (DES).

Instances

Instances details
ToJSON SortCondition Source # 
Instance details

Defined in Amazonka.Route53Domains.Types.SortCondition

Generic SortCondition Source # 
Instance details

Defined in Amazonka.Route53Domains.Types.SortCondition

Associated Types

type Rep SortCondition :: Type -> Type #

Read SortCondition Source # 
Instance details

Defined in Amazonka.Route53Domains.Types.SortCondition

Show SortCondition Source # 
Instance details

Defined in Amazonka.Route53Domains.Types.SortCondition

NFData SortCondition Source # 
Instance details

Defined in Amazonka.Route53Domains.Types.SortCondition

Methods

rnf :: SortCondition -> () #

Eq SortCondition Source # 
Instance details

Defined in Amazonka.Route53Domains.Types.SortCondition

Hashable SortCondition Source # 
Instance details

Defined in Amazonka.Route53Domains.Types.SortCondition

type Rep SortCondition Source # 
Instance details

Defined in Amazonka.Route53Domains.Types.SortCondition

type Rep SortCondition = D1 ('MetaData "SortCondition" "Amazonka.Route53Domains.Types.SortCondition" "amazonka-route53-domains-2.0-6iruRSkjgLuDp958hFs0e" 'False) (C1 ('MetaCons "SortCondition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ListDomainsAttributeName) :*: S1 ('MetaSel ('Just "sortOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SortOrder)))

newSortCondition Source #

Create a value of SortCondition 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:name:SortCondition', sortCondition_name - Field to be used for sorting the list of domains. It can be either the name or the expiration for a domain. Note that if filterCondition is used in the same ListDomains call, the field used for sorting has to be the same as the field used for filtering.

$sel:sortOrder:SortCondition', sortCondition_sortOrder - The sort order for a list of domains. Either ascending (ASC) or descending (DES).

sortCondition_name :: Lens' SortCondition ListDomainsAttributeName Source #

Field to be used for sorting the list of domains. It can be either the name or the expiration for a domain. Note that if filterCondition is used in the same ListDomains call, the field used for sorting has to be the same as the field used for filtering.

sortCondition_sortOrder :: Lens' SortCondition SortOrder Source #

The sort order for a list of domains. Either ascending (ASC) or descending (DES).