libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
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.MacieV2.Types.SortCriteria

Description

 
Synopsis

Documentation

data SortCriteria Source #

Specifies criteria for sorting the results of a request for findings.

See: newSortCriteria smart constructor.

Constructors

SortCriteria' 

Fields

  • orderBy :: Maybe OrderBy

    The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

  • attributeName :: Maybe Text

    The name of the property to sort the results by. This value can be the name of any property that Amazon Macie defines for a finding.

Instances

Instances details
Eq SortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SortCriteria

Read SortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SortCriteria

Show SortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SortCriteria

Generic SortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SortCriteria

Associated Types

type Rep SortCriteria :: Type -> Type #

NFData SortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SortCriteria

Methods

rnf :: SortCriteria -> () #

Hashable SortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SortCriteria

ToJSON SortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SortCriteria

type Rep SortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.SortCriteria

type Rep SortCriteria = D1 ('MetaData "SortCriteria" "Amazonka.MacieV2.Types.SortCriteria" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "SortCriteria'" 'PrefixI 'True) (S1 ('MetaSel ('Just "orderBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OrderBy)) :*: S1 ('MetaSel ('Just "attributeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSortCriteria :: SortCriteria Source #

Create a value of SortCriteria 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:orderBy:SortCriteria', sortCriteria_orderBy - The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

$sel:attributeName:SortCriteria', sortCriteria_attributeName - The name of the property to sort the results by. This value can be the name of any property that Amazon Macie defines for a finding.

sortCriteria_orderBy :: Lens' SortCriteria (Maybe OrderBy) Source #

The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.

sortCriteria_attributeName :: Lens' SortCriteria (Maybe Text) Source #

The name of the property to sort the results by. This value can be the name of any property that Amazon Macie defines for a finding.