Class: Aws::BedrockRuntime::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::BedrockRuntime::Errors::ThrottlingException
- Defined in:
- lib/aws-sdk-bedrockruntime/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
constructor
A new instance of ThrottlingException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
228 229 230 |
# File 'lib/aws-sdk-bedrockruntime/errors.rb', line 228 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
233 234 235 |
# File 'lib/aws-sdk-bedrockruntime/errors.rb', line 233 def @message || @data[:message] end |