Class: Aws::APIGateway::Types::QuotaSettings

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 QuotaSettings data as a hash:

{
  limit: 1,
  offset: 1,
  period: "DAY", # accepts DAY, WEEK, MONTH
}

Quotas configured for a usage plan.

Instance Attribute Summary collapse

Instance Attribute Details

#limitInteger

The maximum number of requests that can be made in a given time period.

Returns:

  • (Integer)


5971
5972
5973
5974
5975
5976
# File 'lib/aws-sdk-apigateway/types.rb', line 5971

class QuotaSettings < Struct.new(
  :limit,
  :offset,
  :period)
  include Aws::Structure
end

#offsetInteger

The number of requests subtracted from the given limit in the initial time period.

Returns:

  • (Integer)


5971
5972
5973
5974
5975
5976
# File 'lib/aws-sdk-apigateway/types.rb', line 5971

class QuotaSettings < Struct.new(
  :limit,
  :offset,
  :period)
  include Aws::Structure
end

#periodString

The time period in which the limit applies. Valid values are “DAY”, “WEEK” or “MONTH”.

Returns:

  • (String)


5971
5972
5973
5974
5975
5976
# File 'lib/aws-sdk-apigateway/types.rb', line 5971

class QuotaSettings < Struct.new(
  :limit,
  :offset,
  :period)
  include Aws::Structure
end