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:


268
269
270
# File 'lib/aws-sdk-eks/errors.rb', line 268

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

Instance Method Details

#addon_nameString

Returns:

  • (String)

283
284
285
# File 'lib/aws-sdk-eks/errors.rb', line 283

def addon_name
  @data[:addon_name]
end

#cluster_nameString

Returns:

  • (String)

273
274
275
# File 'lib/aws-sdk-eks/errors.rb', line 273

def cluster_name
  @data[:cluster_name]
end

#messageString

Returns:

  • (String)

288
289
290
# File 'lib/aws-sdk-eks/errors.rb', line 288

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

#nodegroup_nameString

Returns:

  • (String)

278
279
280
# File 'lib/aws-sdk-eks/errors.rb', line 278

def nodegroup_name
  @data[:nodegroup_name]
end