| 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.Route53Domains.Types.SortCondition
Description
Documentation
data SortCondition Source #
Information for sorting a list of domains.
See: newSortCondition smart constructor.
Constructors
| SortCondition' | |
Fields
| |
Instances
Arguments
| :: ListDomainsAttributeName | |
| -> SortOrder | |
| -> SortCondition |
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).