Class: Aws::BedrockAgentCoreControl::Errors::SubscriptionRequiredException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::BedrockAgentCoreControl::Errors::SubscriptionRequiredException
- Defined in:
- gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/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.
231 232 233 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/errors.rb', line 231 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
236 237 238 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/errors.rb', line 236 def @message || @data[:message] end |
#product_name ⇒ String
246 247 248 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/errors.rb', line 246 def product_name @data[:product_name] end |
#subscription_url ⇒ String
241 242 243 |
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/errors.rb', line 241 def subscription_url @data[:subscription_url] end |