| 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.APIGateway.Types.QuotaSettings
Description
Documentation
data QuotaSettings Source #
Quotas configured for a usage plan.
See: newQuotaSettings smart constructor.
Constructors
| QuotaSettings' | |
Fields
| |
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:limit:QuotaSettings', quotaSettings_limit - The target maximum number of requests that can be made in a given time
period.
$sel:offset:QuotaSettings', quotaSettings_offset - The number of requests subtracted from the given limit in the initial
time period.
$sel:period:QuotaSettings', quotaSettings_period - The time period in which the limit applies. Valid values are "DAY",
"WEEK" or "MONTH".
quotaSettings_limit :: Lens' QuotaSettings (Maybe Int) Source #
The target maximum number of requests that can be made in a given time period.
quotaSettings_offset :: Lens' QuotaSettings (Maybe Int) Source #
The number of requests subtracted from the given limit in the initial time period.
quotaSettings_period :: Lens' QuotaSettings (Maybe QuotaPeriodType) Source #
The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".