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:



270
271
272
# File 'lib/aws-sdk-eks/errors.rb', line 270

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

Instance Method Details

#addon_nameString

Returns:

  • (String)


290
291
292
# File 'lib/aws-sdk-eks/errors.rb', line 290

def addon_name
  @data[:addon_name]
end

#cluster_nameString

Returns:

  • (String)


275
276
277
# File 'lib/aws-sdk-eks/errors.rb', line 275

def cluster_name
  @data[:cluster_name]
end

#fargate_profile_nameString

Returns:

  • (String)


285
286
287
# File 'lib/aws-sdk-eks/errors.rb', line 285

def fargate_profile_name
  @data[:fargate_profile_name]
end

#messageString

Returns:

  • (String)


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

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

#nodegroup_nameString

Returns:

  • (String)


280
281
282
# File 'lib/aws-sdk-eks/errors.rb', line 280

def nodegroup_name
  @data[:nodegroup_name]
end

#subscription_idString

Returns:

  • (String)


295
296
297
# File 'lib/aws-sdk-eks/errors.rb', line 295

def subscription_id
  @data[:subscription_id]
end