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

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

Returns a new instance of UnsupportedAvailabilityZoneException.

Parameters:



375
376
377
# File 'lib/aws-sdk-eks/errors.rb', line 375

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

Instance Method Details

#cluster_nameString

Returns:

  • (String)


385
386
387
# File 'lib/aws-sdk-eks/errors.rb', line 385

def cluster_name
  @data[:cluster_name]
end

#messageString

Returns:

  • (String)


380
381
382
# File 'lib/aws-sdk-eks/errors.rb', line 380

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

#nodegroup_nameString

Returns:

  • (String)


390
391
392
# File 'lib/aws-sdk-eks/errors.rb', line 390

def nodegroup_name
  @data[:nodegroup_name]
end

#valid_zonesString

Returns:

  • (String)


395
396
397
# File 'lib/aws-sdk-eks/errors.rb', line 395

def valid_zones
  @data[:valid_zones]
end