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:


313
314
315
# File 'lib/aws-sdk-eks/errors.rb', line 313

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

Instance Method Details

#cluster_nameString

Returns:

  • (String)

323
324
325
# File 'lib/aws-sdk-eks/errors.rb', line 323

def cluster_name
  @data[:cluster_name]
end

#messageString

Returns:

  • (String)

318
319
320
# File 'lib/aws-sdk-eks/errors.rb', line 318

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

#nodegroup_nameString

Returns:

  • (String)

328
329
330
# File 'lib/aws-sdk-eks/errors.rb', line 328

def nodegroup_name
  @data[:nodegroup_name]
end

#valid_zonesString

Returns:

  • (String)

333
334
335
# File 'lib/aws-sdk-eks/errors.rb', line 333

def valid_zones
  @data[:valid_zones]
end