| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MacieV2.Types.UsageRecord
Description
Synopsis
- data UsageRecord = UsageRecord' {}
- newUsageRecord :: UsageRecord
- usageRecord_accountId :: Lens' UsageRecord (Maybe Text)
- usageRecord_automatedDiscoveryFreeTrialStartDate :: Lens' UsageRecord (Maybe UTCTime)
- usageRecord_freeTrialStartDate :: Lens' UsageRecord (Maybe UTCTime)
- usageRecord_usage :: Lens' UsageRecord (Maybe [UsageByAccount])
Documentation
data UsageRecord Source #
Provides quota and aggregated usage data for an Amazon Macie account.
See: newUsageRecord smart constructor.
Constructors
| UsageRecord' | |
Fields
| |
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:automatedDiscoveryFreeTrialStartDate:UsageRecord', usageRecord_automatedDiscoveryFreeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the free
trial of automated sensitive data discovery started for the account. If
the account is a member account in an organization, this value is the
same as the value for the organization's Amazon Macie administrator
account.
$sel:freeTrialStartDate:UsageRecord', usageRecord_freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the Amazon
Macie 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_automatedDiscoveryFreeTrialStartDate :: Lens' UsageRecord (Maybe UTCTime) Source #
The date and time, in UTC and extended ISO 8601 format, when the free trial of automated sensitive data discovery started for the account. If the account is a member account in an organization, this value is the same as the value for the organization's Amazon Macie administrator account.
usageRecord_freeTrialStartDate :: Lens' UsageRecord (Maybe UTCTime) Source #
The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie 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.