class
Amazonite::ApiGateway::QuotaSettings
- Amazonite::ApiGateway::QuotaSettings
- Reference
- Object
Overview
Quotas configured for a usage plan.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/quota_settings.crConstructors
- .new(pull : JSON::PullParser)
- .new(limit : Int32 | Nil = nil, offset : Int32 | Nil = nil, period : QuotaPeriodType | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#limit : Int32 | Nil
The target maximum number of requests that can be made in a given time period.
-
#limit=(limit : Int32 | Nil)
The target maximum number of requests that can be made in a given time period.
-
#offset : Int32 | Nil
The number of requests subtracted from the given limit in the initial time period.
-
#offset=(offset : Int32 | Nil)
The number of requests subtracted from the given limit in the initial time period.
-
#period : QuotaPeriodType | Nil
The time period in which the limit applies.
-
#period=(period : QuotaPeriodType | Nil)
The time period in which the limit applies.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The target maximum number of requests that can be made in a given time period.
The target maximum number of requests that can be made in a given time period.
The number of requests subtracted from the given limit in the initial time period.
The number of requests subtracted from the given limit in the initial time period.
The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".
The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".