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

Description

 
Synopsis

Documentation

data UsageRecord Source #

Provides quota and aggregated usage data for an Amazon Macie account.

See: newUsageRecord smart constructor.

Constructors

UsageRecord' 

Fields

  • accountId :: Maybe Text

    The unique identifier for the Amazon Web Services account that the data applies to.

  • freeTrialStartDate :: Maybe POSIX

    The date and time, in UTC and extended ISO 8601 format, when the free trial started for the account.

  • usage :: Maybe [UsageByAccount]

    An array of objects that contains usage data and quotas for the account. Each object contains the data for a specific usage metric and the corresponding quota.

Instances

Instances details
Eq UsageRecord Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageRecord

Read UsageRecord Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageRecord

Show UsageRecord Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageRecord

Generic UsageRecord Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageRecord

Associated Types

type Rep UsageRecord :: Type -> Type #

NFData UsageRecord Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageRecord

Methods

rnf :: UsageRecord -> () #

Hashable UsageRecord Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageRecord

FromJSON UsageRecord Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageRecord

type Rep UsageRecord Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UsageRecord

type Rep UsageRecord = D1 ('MetaData "UsageRecord" "Amazonka.MacieV2.Types.UsageRecord" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "UsageRecord'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "freeTrialStartDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "usage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UsageByAccount])))))

newUsageRecord :: UsageRecord Source #

Create a value of UsageRecord 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:accountId:UsageRecord', usageRecord_accountId - The unique identifier for the Amazon Web Services account that the data applies to.

$sel:freeTrialStartDate:UsageRecord', usageRecord_freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the free trial started for the account.

$sel:usage:UsageRecord', usageRecord_usage - An array of objects that contains usage data and quotas for the account. Each object contains the data for a specific usage metric and the corresponding quota.

usageRecord_accountId :: Lens' UsageRecord (Maybe Text) Source #

The unique identifier for the Amazon Web Services account that the data applies to.

usageRecord_freeTrialStartDate :: Lens' UsageRecord (Maybe UTCTime) Source #

The date and time, in UTC and extended ISO 8601 format, when the free trial started for the account.

usageRecord_usage :: Lens' UsageRecord (Maybe [UsageByAccount]) Source #

An array of objects that contains usage data and quotas for the account. Each object contains the data for a specific usage metric and the corresponding quota.