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

  • type' :: Maybe UsageType

    The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing S3 objects to detect sensitive data.

  • estimatedCost :: Maybe Text

    The estimated value for the metric.

Instances

Instances details
Eq UsageTotal Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageTotal

Read UsageTotal Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageTotal

Show 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 #

NFData UsageTotal Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageTotal

Methods

rnf :: UsageTotal -> () #

Hashable UsageTotal Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageTotal

FromJSON 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" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "UsageTotal'" 'PrefixI 'True) (S1 ('MetaSel ('Just "currency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Currency)) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UsageType)) :*: S1 ('MetaSel ('Just "estimatedCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:type':UsageTotal', usageTotal_type - The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing S3 objects to detect sensitive data.

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

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

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

usageTotal_type :: Lens' UsageTotal (Maybe UsageType) Source #

The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing S3 objects to detect sensitive data.

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

The estimated value for the metric.