Class: Aws::EKS::Errors::ServerException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ServerException.

Parameters:



325
326
327
# File 'lib/aws-sdk-eks/errors.rb', line 325

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

Instance Method Details

#addon_nameString

Returns:

  • (String)


340
341
342
# File 'lib/aws-sdk-eks/errors.rb', line 340

def addon_name
  @data[:addon_name]
end

#cluster_nameString

Returns:

  • (String)


330
331
332
# File 'lib/aws-sdk-eks/errors.rb', line 330

def cluster_name
  @data[:cluster_name]
end

#messageString

Returns:

  • (String)


350
351
352
# File 'lib/aws-sdk-eks/errors.rb', line 350

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

#nodegroup_nameString

Returns:

  • (String)


335
336
337
# File 'lib/aws-sdk-eks/errors.rb', line 335

def nodegroup_name
  @data[:nodegroup_name]
end

#subscription_idString

Returns:

  • (String)


345
346
347
# File 'lib/aws-sdk-eks/errors.rb', line 345

def subscription_id
  @data[:subscription_id]
end