amazonka-maciev2-2.0: Amazon Macie 2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

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

  • key :: Maybe UsageStatisticsFilterKey

    The field to use in the condition.

  • 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 Amazon Macie 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.

Instances

Instances details
ToJSON 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 #

Read UsageStatisticsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsFilter

Show UsageStatisticsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsFilter

NFData UsageStatisticsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsFilter

Methods

rnf :: UsageStatisticsFilter -> () #

Eq UsageStatisticsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageStatisticsFilter

Hashable 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" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "UsageStatisticsFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "comparator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UsageStatisticsFilterComparator)) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UsageStatisticsFilterKey)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

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

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

$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 Amazon Macie 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.

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 Amazon Macie 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.