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 |
Documentation
data QuotaSettings Source #
Quotas configured for a usage plan.
See: newQuotaSettings
smart constructor.
QuotaSettings' | |
|
Instances
newQuotaSettings :: QuotaSettings Source #
Create a value of QuotaSettings
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:offset:QuotaSettings'
, quotaSettings_offset
- The day that a time period starts. For example, with a time period of
WEEK
, an offset of 0
starts on Sunday, and an offset of 1
starts
on Monday.
$sel:period:QuotaSettings'
, quotaSettings_period
- The time period in which the limit applies. Valid values are "DAY",
"WEEK" or "MONTH".
$sel:limit:QuotaSettings'
, quotaSettings_limit
- The maximum number of requests that can be made in a given time period.
quotaSettings_offset :: Lens' QuotaSettings (Maybe Int) Source #
The day that a time period starts. For example, with a time period of
WEEK
, an offset of 0
starts on Sunday, and an offset of 1
starts
on Monday.
quotaSettings_period :: Lens' QuotaSettings (Maybe QuotaPeriodType) Source #
The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".
quotaSettings_limit :: Lens' QuotaSettings (Maybe Int) Source #
The maximum number of requests that can be made in a given time period.