Class: Aws::BedrockAgentCoreControl::Errors::ThrottledException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::BedrockAgentCoreControl::Errors::ThrottledException
- Defined in:
- gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottledException
constructor
A new instance of ThrottledException.
-
#message ⇒ String
-
#retryable? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottledException
Returns a new instance of ThrottledException.
210 211 212 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/errors.rb', line 210 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
215 216 217 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/errors.rb', line 215 def @message || @data[:message] end |
#retryable? ⇒ Boolean
219 220 221 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/errors.rb', line 219 def retryable? true end |