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

  • serviceLimit :: Maybe ServiceLimit

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

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

Defined in Amazonka.MacieV2.Types.UsageByAccount

Read UsageByAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageByAccount

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

NFData UsageByAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageByAccount

Methods

rnf :: UsageByAccount -> () #

Hashable UsageByAccount Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageByAccount

FromJSON 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" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "UsageByAccount'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "serviceLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServiceLimit)) :*: 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)))))

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:serviceLimit:UsageByAccount', usageByAccount_serviceLimit - The current value for the quota that corresponds to the metric specified by the type field.

$sel:currency:UsageByAccount', usageByAccount_currency - The type of currency that the value for the metric (estimatedCost) is reported in.

$sel:type':UsageByAccount', usageByAccount_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:UsageByAccount', usageByAccount_estimatedCost - 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_currency :: Lens' UsageByAccount (Maybe Currency) Source #

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

usageByAccount_type :: Lens' UsageByAccount (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.

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

The estimated value for the metric.