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:


98
99
100
# File 'lib/aws-sdk-eks/errors.rb', line 98

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

Instance Method Details

#addon_nameString

Returns:

  • (String)

118
119
120
# File 'lib/aws-sdk-eks/errors.rb', line 118

def addon_name
  @data[:addon_name]
end

#cluster_nameString

Returns:

  • (String)

103
104
105
# File 'lib/aws-sdk-eks/errors.rb', line 103

def cluster_name
  @data[:cluster_name]
end

#fargate_profile_nameString

Returns:

  • (String)

113
114
115
# File 'lib/aws-sdk-eks/errors.rb', line 113

def fargate_profile_name
  @data[:fargate_profile_name]
end

#messageString

Returns:

  • (String)

123
124
125
# File 'lib/aws-sdk-eks/errors.rb', line 123

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

#nodegroup_nameString

Returns:

  • (String)

108
109
110
# File 'lib/aws-sdk-eks/errors.rb', line 108

def nodegroup_name
  @data[:nodegroup_name]
end