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

Description

 
Synopsis

Documentation

data UsageTotal Source #

Provides aggregated data for an Amazon Macie usage metric. The value for the metric reports estimated usage data for an account for the preceding 30 days or the current calendar month to date, depending on the time period (timeRange) specified in the request.

See: newUsageTotal smart constructor.

Constructors

UsageTotal' 

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.

  • 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 UsageTotal Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageTotal

Generic UsageTotal Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageTotal

Associated Types

type Rep UsageTotal :: Type -> Type #

Read UsageTotal Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageTotal

Show UsageTotal Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageTotal

NFData UsageTotal Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageTotal

Methods

rnf :: UsageTotal -> () #

Eq UsageTotal Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageTotal

Hashable UsageTotal Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageTotal

type Rep UsageTotal Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageTotal

type Rep UsageTotal = D1 ('MetaData "UsageTotal" "Amazonka.MacieV2.Types.UsageTotal" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "UsageTotal'" '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 "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UsageType)))))

newUsageTotal :: UsageTotal Source #

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

$sel:estimatedCost:UsageTotal', usageTotal_estimatedCost - The estimated value for the metric.

$sel:type':UsageTotal', usageTotal_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.

usageTotal_currency :: Lens' UsageTotal (Maybe Currency) Source #

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

usageTotal_estimatedCost :: Lens' UsageTotal (Maybe Text) Source #

The estimated value for the metric.

usageTotal_type :: Lens' UsageTotal (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.