class
Amazonite::ApiGateway::ThrottleSettings
- Amazonite::ApiGateway::ThrottleSettings
- Reference
- Object
Overview
The API request rate limits.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/throttle_settings.crConstructors
- .new(pull : JSON::PullParser)
- .new(burst_limit : Int32 | Nil = nil, rate_limit : Float64 | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#burst_limit : Int32 | Nil
The API target request burst rate limit.
-
#burst_limit=(burst_limit : Int32 | Nil)
The API target request burst rate limit.
-
#hash(hasher)
See
Object#hash(hasher) -
#rate_limit : Float64 | Nil
The API target request rate limit.
-
#rate_limit=(rate_limit : Float64 | Nil)
The API target request rate limit.
- #validate! : Nil
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
def burst_limit : Int32 | Nil
#
The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.
def burst_limit=(burst_limit : Int32 | Nil)
#
The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.