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 |
Documentation
data ThrottleSettings Source #
The API request rate limits.
See: newThrottleSettings
smart constructor.
Instances
newThrottleSettings :: ThrottleSettings Source #
Create a value of ThrottleSettings
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:burstLimit:ThrottleSettings'
, throttleSettings_burstLimit
- The API target request burst rate limit. This allows more requests
through for a period of time than the target rate limit.
$sel:rateLimit:ThrottleSettings'
, throttleSettings_rateLimit
- The API target request rate limit.
throttleSettings_burstLimit :: Lens' ThrottleSettings (Maybe Int) Source #
The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.
throttleSettings_rateLimit :: Lens' ThrottleSettings (Maybe Double) Source #
The API target request rate limit.