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.FindingStatisticsSortCriteria

Description

 
Synopsis

Documentation

data FindingStatisticsSortCriteria Source #

Specifies criteria for sorting the results of a query that retrieves aggregated statistical data about findings.

See: newFindingStatisticsSortCriteria smart constructor.

Constructors

FindingStatisticsSortCriteria' 

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 FindingStatisticsSortAttributeName

    The grouping to sort the results by. Valid values are: count, sort the results by the number of findings in each group of results; and, groupKey, sort the results by the name of each group of results.

Instances

Instances details
Eq FindingStatisticsSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingStatisticsSortCriteria

Read FindingStatisticsSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingStatisticsSortCriteria

Show FindingStatisticsSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingStatisticsSortCriteria

Generic FindingStatisticsSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingStatisticsSortCriteria

Associated Types

type Rep FindingStatisticsSortCriteria :: Type -> Type #

NFData FindingStatisticsSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingStatisticsSortCriteria

Hashable FindingStatisticsSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingStatisticsSortCriteria

ToJSON FindingStatisticsSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingStatisticsSortCriteria

type Rep FindingStatisticsSortCriteria Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingStatisticsSortCriteria

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

newFindingStatisticsSortCriteria :: FindingStatisticsSortCriteria Source #

Create a value of FindingStatisticsSortCriteria 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:FindingStatisticsSortCriteria', findingStatisticsSortCriteria_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:FindingStatisticsSortCriteria', findingStatisticsSortCriteria_attributeName - The grouping to sort the results by. Valid values are: count, sort the results by the number of findings in each group of results; and, groupKey, sort the results by the name of each group of results.

findingStatisticsSortCriteria_orderBy :: Lens' FindingStatisticsSortCriteria (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.

findingStatisticsSortCriteria_attributeName :: Lens' FindingStatisticsSortCriteria (Maybe FindingStatisticsSortAttributeName) Source #

The grouping to sort the results by. Valid values are: count, sort the results by the number of findings in each group of results; and, groupKey, sort the results by the name of each group of results.