Class: Aws::APIGateway::Types::ThrottleSettings

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-apigateway/types.rb

Overview

Note:

When making an API call, you may pass ThrottleSettings data as a hash:

{
  burst_limit: 1,
  rate_limit: 1.0,
}

The API request rate limits.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#burst_limitInteger

The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.

Returns:

  • (Integer)

6252
6253
6254
6255
6256
6257
# File 'lib/aws-sdk-apigateway/types.rb', line 6252

class ThrottleSettings < Struct.new(
  :burst_limit,
  :rate_limit)
  SENSITIVE = []
  include Aws::Structure
end

#rate_limitFloat

The API target request rate limit.

Returns:

  • (Float)

6252
6253
6254
6255
6256
6257
# File 'lib/aws-sdk-apigateway/types.rb', line 6252

class ThrottleSettings < Struct.new(
  :burst_limit,
  :rate_limit)
  SENSITIVE = []
  include Aws::Structure
end