class Amazonite::ApiGateway::ThrottleSettings

Overview

The API request rate limits.

Included Modules

Defined in:

api_gateway/throttle_settings.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(burst_limit : Int32 | Nil = nil, rate_limit : Float64 | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

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.


[View source]
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.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def rate_limit : Float64 | Nil #

The API target request rate limit.


[View source]
def rate_limit=(rate_limit : Float64 | Nil) #

The API target request rate limit.


[View source]
def validate! : Nil #

[View source]