Class: Aws::EKS::Errors::ResourceNotFoundException

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

Returns a new instance of ResourceNotFoundException.

Parameters:


233
234
235
# File 'lib/aws-sdk-eks/errors.rb', line 233

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

Instance Method Details

#addon_nameString

Returns:

  • (String)

253
254
255
# File 'lib/aws-sdk-eks/errors.rb', line 253

def addon_name
  @data[:addon_name]
end

#cluster_nameString

Returns:

  • (String)

238
239
240
# File 'lib/aws-sdk-eks/errors.rb', line 238

def cluster_name
  @data[:cluster_name]
end

#fargate_profile_nameString

Returns:

  • (String)

248
249
250
# File 'lib/aws-sdk-eks/errors.rb', line 248

def fargate_profile_name
  @data[:fargate_profile_name]
end

#messageString

Returns:

  • (String)

258
259
260
# File 'lib/aws-sdk-eks/errors.rb', line 258

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

#nodegroup_nameString

Returns:

  • (String)

243
244
245
# File 'lib/aws-sdk-eks/errors.rb', line 243

def nodegroup_name
  @data[:nodegroup_name]
end