Class: Aws::BedrockAgentCoreControl::Errors::SubscriptionRequiredException

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

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ SubscriptionRequiredException

Returns a new instance of SubscriptionRequiredException.

Parameters:



231
232
233
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/errors.rb', line 231

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


236
237
238
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/errors.rb', line 236

def message
  @message || @data[:message]
end

#product_nameString

Returns:

  • (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_urlString

Returns:

  • (String)


241
242
243
# File 'gems/aws-sdk-bedrockagentcorecontrol/lib/aws-sdk-bedrockagentcorecontrol/errors.rb', line 241

def subscription_url
  @data[:subscription_url]
end