Class: Aws::EKS::Errors::UnsupportedAvailabilityZoneException

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

Returns a new instance of UnsupportedAvailabilityZoneException.

Parameters:



345
346
347
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 345

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

Instance Method Details

#cluster_nameString

Returns:

  • (String)


355
356
357
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 355

def cluster_name
  @data[:cluster_name]
end

#messageString

Returns:

  • (String)


350
351
352
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 350

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

#nodegroup_nameString

Returns:

  • (String)


360
361
362
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 360

def nodegroup_name
  @data[:nodegroup_name]
end

#valid_zonesString

Returns:

  • (String)


365
366
367
# File 'gems/aws-sdk-eks/lib/aws-sdk-eks/errors.rb', line 365

def valid_zones
  @data[:valid_zones]
end