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 ServiceLimit Source #
Specifies a current quota for an Amazon Macie account.
See: newServiceLimit
smart constructor.
ServiceLimit' | |
|
Instances
newServiceLimit :: ServiceLimit Source #
Create a value of ServiceLimit
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:isServiceLimited:ServiceLimit'
, serviceLimit_isServiceLimited
- Specifies whether the account has met the quota that corresponds to the
metric specified by the UsageByAccount.type field in the response.
$sel:value:ServiceLimit'
, serviceLimit_value
- The value for the metric specified by the UsageByAccount.type field in
the response.
$sel:unit:ServiceLimit'
, serviceLimit_unit
- The unit of measurement for the value specified by the value field.
serviceLimit_isServiceLimited :: Lens' ServiceLimit (Maybe Bool) Source #
Specifies whether the account has met the quota that corresponds to the metric specified by the UsageByAccount.type field in the response.
serviceLimit_value :: Lens' ServiceLimit (Maybe Integer) Source #
The value for the metric specified by the UsageByAccount.type field in the response.
serviceLimit_unit :: Lens' ServiceLimit (Maybe Unit) Source #
The unit of measurement for the value specified by the value field.