# 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::MediaLive module Errors extend Aws::Errors::DynamicErrors class BadGatewayException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::MediaLive::Types::BadGatewayException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class BadRequestException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::MediaLive::Types::BadRequestException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class ConflictException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::MediaLive::Types::ConflictException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class ForbiddenException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::MediaLive::Types::ForbiddenException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class GatewayTimeoutException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::MediaLive::Types::GatewayTimeoutException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class InternalServerErrorException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::MediaLive::Types::InternalServerErrorException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class NotFoundException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::MediaLive::Types::NotFoundException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class TooManyRequestsException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::MediaLive::Types::TooManyRequestsException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end class UnprocessableEntityException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::MediaLive::Types::UnprocessableEntityException] 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 validation_errors @data[:validation_errors] end end end end