Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data UsageRecord Source #
Provides quota and aggregated usage data for an Amazon Macie account.
See: newUsageRecord
smart constructor.
UsageRecord' | |
|
Instances
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.