Class: Aws::BedrockAgentCore::Errors::SubscriptionRequiredException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::BedrockAgentCore::Errors::SubscriptionRequiredException
- Defined in:
- gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ SubscriptionRequiredException
constructor
A new instance of SubscriptionRequiredException.
-
#message ⇒ String
-
#product_name ⇒ String
-
#subscription_url ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ SubscriptionRequiredException
Returns a new instance of SubscriptionRequiredException.
211 212 213 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/errors.rb', line 211 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
216 217 218 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/errors.rb', line 216 def @message || @data[:message] end |
#product_name ⇒ String
226 227 228 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/errors.rb', line 226 def product_name @data[:product_name] end |
#subscription_url ⇒ String
221 222 223 |
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/errors.rb', line 221 def subscription_url @data[:subscription_url] end |