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

Description

 
Synopsis

Documentation

data UsageStatisticsSortBy Source #

Specifies criteria for sorting the results of a query for Amazon Macie account quotas and usage data.

See: newUsageStatisticsSortBy smart constructor.

Constructors

UsageStatisticsSortBy' 

Fields

  • orderBy :: Maybe OrderBy

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

  • key :: Maybe UsageStatisticsSortKey

    The field to sort the results by.

Instances

Instances details
Eq UsageStatisticsSortBy Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsSortBy

Read UsageStatisticsSortBy Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsSortBy

Show UsageStatisticsSortBy Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsSortBy

Generic UsageStatisticsSortBy Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsSortBy

Associated Types

type Rep UsageStatisticsSortBy :: Type -> Type #

NFData UsageStatisticsSortBy Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsSortBy

Methods

rnf :: UsageStatisticsSortBy -> () #

Hashable UsageStatisticsSortBy Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsSortBy

ToJSON UsageStatisticsSortBy Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsSortBy

type Rep UsageStatisticsSortBy Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsSortBy

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

newUsageStatisticsSortBy :: UsageStatisticsSortBy Source #

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

$sel:key:UsageStatisticsSortBy', usageStatisticsSortBy_key - The field to sort the results by.

usageStatisticsSortBy_orderBy :: Lens' UsageStatisticsSortBy (Maybe OrderBy) Source #

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