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

Description

 
Synopsis

Documentation

data UsageStatisticsFilter Source #

Specifies a condition for filtering the results of a query for quota and usage data for one or more Amazon Macie accounts.

See: newUsageStatisticsFilter smart constructor.

Constructors

UsageStatisticsFilter' 

Fields

  • values :: Maybe [Text]

    An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.

    Valid values for each supported field are:

    • accountId - The unique identifier for an Amazon Web Services account.
    • freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the free trial started for an account.
    • serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota.
    • total - A string that represents the current estimated cost for an account.
  • key :: Maybe UsageStatisticsFilterKey

    The field to use in the condition.

  • comparator :: Maybe UsageStatisticsFilterComparator

    The operator to use in the condition. If the value for the key property is accountId, this value must be CONTAINS. If the value for the key property is any other supported field, this value can be EQ, GT, GTE, LT, LTE, or NE.

Instances

Instances details
Eq UsageStatisticsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsFilter

Read UsageStatisticsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsFilter

Show UsageStatisticsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsFilter

Generic UsageStatisticsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsFilter

Associated Types

type Rep UsageStatisticsFilter :: Type -> Type #

NFData UsageStatisticsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsFilter

Methods

rnf :: UsageStatisticsFilter -> () #

Hashable UsageStatisticsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsFilter

ToJSON UsageStatisticsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsFilter

type Rep UsageStatisticsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsFilter

type Rep UsageStatisticsFilter = D1 ('MetaData "UsageStatisticsFilter" "Amazonka.MacieV2.Types.UsageStatisticsFilter" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "UsageStatisticsFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UsageStatisticsFilterKey)) :*: S1 ('MetaSel ('Just "comparator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UsageStatisticsFilterComparator)))))

newUsageStatisticsFilter :: UsageStatisticsFilter Source #

Create a value of UsageStatisticsFilter 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:values:UsageStatisticsFilter', usageStatisticsFilter_values - An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.

Valid values for each supported field are:

  • accountId - The unique identifier for an Amazon Web Services account.
  • freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the free trial started for an account.
  • serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota.
  • total - A string that represents the current estimated cost for an account.

$sel:key:UsageStatisticsFilter', usageStatisticsFilter_key - The field to use in the condition.

$sel:comparator:UsageStatisticsFilter', usageStatisticsFilter_comparator - The operator to use in the condition. If the value for the key property is accountId, this value must be CONTAINS. If the value for the key property is any other supported field, this value can be EQ, GT, GTE, LT, LTE, or NE.

usageStatisticsFilter_values :: Lens' UsageStatisticsFilter (Maybe [Text]) Source #

An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.

Valid values for each supported field are:

  • accountId - The unique identifier for an Amazon Web Services account.
  • freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the free trial started for an account.
  • serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota.
  • total - A string that represents the current estimated cost for an account.

usageStatisticsFilter_comparator :: Lens' UsageStatisticsFilter (Maybe UsageStatisticsFilterComparator) Source #

The operator to use in the condition. If the value for the key property is accountId, this value must be CONTAINS. If the value for the key property is any other supported field, this value can be EQ, GT, GTE, LT, LTE, or NE.