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

Description

 
Synopsis

Documentation

data UsageByAccount Source #

Provides data for a specific usage metric and the corresponding quota for an Amazon Macie account.

See: newUsageByAccount smart constructor.

Constructors

UsageByAccount' 

Fields

  • currency :: Maybe Currency

    The type of currency that the value for the metric (estimatedCost) is reported in.

  • estimatedCost :: Maybe Text

    The estimated value for the metric.

  • serviceLimit :: Maybe ServiceLimit

    The current value for the quota that corresponds to the metric specified by the type field.

  • type' :: Maybe UsageType

    The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.

Instances

Instances details
FromJSON UsageByAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageByAccount

Generic UsageByAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageByAccount

Associated Types

type Rep UsageByAccount :: Type -> Type #

Read UsageByAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageByAccount

Show UsageByAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageByAccount

NFData UsageByAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageByAccount

Methods

rnf :: UsageByAccount -> () #

Eq UsageByAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageByAccount

Hashable UsageByAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageByAccount

type Rep UsageByAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageByAccount

type Rep UsageByAccount = D1 ('MetaData "UsageByAccount" "Amazonka.MacieV2.Types.UsageByAccount" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "UsageByAccount'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "currency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Currency)) :*: S1 ('MetaSel ('Just "estimatedCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "serviceLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServiceLimit)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UsageType)))))

newUsageByAccount :: UsageByAccount Source #

Create a value of UsageByAccount 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:currency:UsageByAccount', usageByAccount_currency - The type of currency that the value for the metric (estimatedCost) is reported in.

$sel:estimatedCost:UsageByAccount', usageByAccount_estimatedCost - The estimated value for the metric.

$sel:serviceLimit:UsageByAccount', usageByAccount_serviceLimit - The current value for the quota that corresponds to the metric specified by the type field.

$sel:type':UsageByAccount', usageByAccount_type - The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.

usageByAccount_currency :: Lens' UsageByAccount (Maybe Currency) Source #

The type of currency that the value for the metric (estimatedCost) is reported in.

usageByAccount_estimatedCost :: Lens' UsageByAccount (Maybe Text) Source #

The estimated value for the metric.

usageByAccount_serviceLimit :: Lens' UsageByAccount (Maybe ServiceLimit) Source #

The current value for the quota that corresponds to the metric specified by the type field.

usageByAccount_type :: Lens' UsageByAccount (Maybe UsageType) Source #

The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.