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

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

Returns a new instance of InvalidParameterException.

Parameters:



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

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

Instance Method Details

#addon_nameString

Returns:

  • (String)


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

def addon_name
  @data[:addon_name]
end

#cluster_nameString

Returns:

  • (String)


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

def cluster_name
  @data[:cluster_name]
end

#fargate_profile_nameString

Returns:

  • (String)


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

def fargate_profile_name
  @data[:fargate_profile_name]
end

#messageString

Returns:

  • (String)


150
151
152
# File 'lib/aws-sdk-eks/errors.rb', line 150

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

#nodegroup_nameString

Returns:

  • (String)


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

def nodegroup_name
  @data[:nodegroup_name]
end

#subscription_idString

Returns:

  • (String)


145
146
147
# File 'lib/aws-sdk-eks/errors.rb', line 145

def subscription_id
  @data[:subscription_id]
end