# WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::EKS module Errors extend Aws::Errors::DynamicErrors class ClientException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::EKS::Types::ClientException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def cluster_name @data[:cluster_name] end # @return [String] def message @message || @data[:message] end end class InvalidParameterException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::EKS::Types::InvalidParameterException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def cluster_name @data[:cluster_name] end # @return [String] def message @message || @data[:message] end end class InvalidRequestException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::EKS::Types::InvalidRequestException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def cluster_name @data[:cluster_name] end # @return [String] def message @message || @data[:message] end end class ResourceInUseException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::EKS::Types::ResourceInUseException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def cluster_name @data[:cluster_name] end # @return [String] def message @message || @data[:message] end end class ResourceLimitExceededException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::EKS::Types::ResourceLimitExceededException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def cluster_name @data[:cluster_name] end # @return [String] def message @message || @data[:message] end end class ResourceNotFoundException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::EKS::Types::ResourceNotFoundException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def cluster_name @data[:cluster_name] end # @return [String] def message @message || @data[:message] end end class ServerException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::EKS::Types::ServerException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def cluster_name @data[:cluster_name] end # @return [String] def message @message || @data[:message] end end class ServiceUnavailableException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::EKS::Types::ServiceUnavailableException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class UnsupportedAvailabilityZoneException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::EKS::Types::UnsupportedAvailabilityZoneException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end # @return [String] def cluster_name @data[:cluster_name] end # @return [String] def valid_zones @data[:valid_zones] end end end end