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

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-eks/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:



300
301
302
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 300

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

Instance Method Details

#addon_nameString

Returns:

  • (String)


315
316
317
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 315

def addon_name
  @data[:addon_name]
end

#cluster_nameString

Returns:

  • (String)


305
306
307
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 305

def cluster_name
  @data[:cluster_name]
end

#messageString

Returns:

  • (String)


320
321
322
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 320

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

#nodegroup_nameString

Returns:

  • (String)


310
311
312
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 310

def nodegroup_name
  @data[:nodegroup_name]
end