Class: Aws::EKS::Errors::InvalidParameterException

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

Returns a new instance of InvalidParameterException.

Parameters:



115
116
117
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 115

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

Instance Method Details

#addon_nameString

Returns:

  • (String)


135
136
137
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 135

def addon_name
  @data[:addon_name]
end

#cluster_nameString

Returns:

  • (String)


120
121
122
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 120

def cluster_name
  @data[:cluster_name]
end

#fargate_profile_nameString

Returns:

  • (String)


130
131
132
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 130

def fargate_profile_name
  @data[:fargate_profile_name]
end

#messageString

Returns:

  • (String)


140
141
142
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 140

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

#nodegroup_nameString

Returns:

  • (String)


125
126
127
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 125

def nodegroup_name
  @data[:nodegroup_name]
end