Class: Aws::EKS::Errors::InvalidRequestException

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

Returns a new instance of InvalidRequestException.

Parameters:


133
134
135
# File 'lib/aws-sdk-eks/errors.rb', line 133

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

Instance Method Details

#addon_nameString

Returns:

  • (String)

148
149
150
# File 'lib/aws-sdk-eks/errors.rb', line 148

def addon_name
  @data[:addon_name]
end

#cluster_nameString

Returns:

  • (String)

138
139
140
# File 'lib/aws-sdk-eks/errors.rb', line 138

def cluster_name
  @data[:cluster_name]
end

#messageString

Returns:

  • (String)

153
154
155
# File 'lib/aws-sdk-eks/errors.rb', line 153

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

#nodegroup_nameString

Returns:

  • (String)

143
144
145
# File 'lib/aws-sdk-eks/errors.rb', line 143

def nodegroup_name
  @data[:nodegroup_name]
end