Class: Aws::BedrockAgentCoreControl::Types::RateConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb

Overview

Contains the rate configuration for a rate limit metric, specifying the allowed rate and time period.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#period ⇒ String

The time period for the rate limit. Valid values:

  • second—Measures the rate limit over a one-second window.

  • minute—Measures the rate limit over a one-minute window.

Returns:

  • (String)


18230
18231
18232
18233
18234
18235
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 18230

class RateConfig < Struct.new(
  :rate,
  :period)
  SENSITIVE = []
  include Aws::Structure
end

#rate ⇒ Float

The rate value for the limit. For request limits, this is the number of requests allowed per period. For token limits, this is the number of tokens allowed per period. For connection limits, this is the number of concurrent connections allowed.

Returns:

  • (Float)


18230
18231
18232
18233
18234
18235
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/types.rb', line 18230

class RateConfig < Struct.new(
  :rate,
  :period)
  SENSITIVE = []
  include Aws::Structure
end