Class: Aws::EKS::Errors::ResourceInUseException

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) ⇒ ResourceInUseException

Returns a new instance of ResourceInUseException.

Parameters:



210
211
212
# File 'lib/aws-sdk-eks/errors.rb', line 210

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

Instance Method Details

#addon_nameString

Returns:

  • (String)


225
226
227
# File 'lib/aws-sdk-eks/errors.rb', line 225

def addon_name
  @data[:addon_name]
end

#cluster_nameString

Returns:

  • (String)


215
216
217
# File 'lib/aws-sdk-eks/errors.rb', line 215

def cluster_name
  @data[:cluster_name]
end

#messageString

Returns:

  • (String)


230
231
232
# File 'lib/aws-sdk-eks/errors.rb', line 230

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

#nodegroup_nameString

Returns:

  • (String)


220
221
222
# File 'lib/aws-sdk-eks/errors.rb', line 220

def nodegroup_name
  @data[:nodegroup_name]
end