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

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

Returns a new instance of ResourceInUseException.

Parameters:



195
196
197
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 195

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

Instance Method Details

#addon_nameString

Returns:

  • (String)


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

def addon_name
  @data[:addon_name]
end

#cluster_nameString

Returns:

  • (String)


200
201
202
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 200

def cluster_name
  @data[:cluster_name]
end

#messageString

Returns:

  • (String)


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

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

#nodegroup_nameString

Returns:

  • (String)


205
206
207
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 205

def nodegroup_name
  @data[:nodegroup_name]
end