Class: Aws::EKS::Errors::ClientException

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

Returns a new instance of ClientException.

Parameters:



85
86
87
# File 'lib/aws-sdk-eks/errors.rb', line 85

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

Instance Method Details

#addon_nameString

Returns:

  • (String)


100
101
102
# File 'lib/aws-sdk-eks/errors.rb', line 100

def addon_name
  @data[:addon_name]
end

#cluster_nameString

Returns:

  • (String)


90
91
92
# File 'lib/aws-sdk-eks/errors.rb', line 90

def cluster_name
  @data[:cluster_name]
end

#messageString

Returns:

  • (String)


110
111
112
# File 'lib/aws-sdk-eks/errors.rb', line 110

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

#nodegroup_nameString

Returns:

  • (String)


95
96
97
# File 'lib/aws-sdk-eks/errors.rb', line 95

def nodegroup_name
  @data[:nodegroup_name]
end

#subscription_idString

Returns:

  • (String)


105
106
107
# File 'lib/aws-sdk-eks/errors.rb', line 105

def subscription_id
  @data[:subscription_id]
end