lib/aws-sdk-kinesisvideoarchivedmedia/errors.rb in aws-sdk-kinesisvideoarchivedmedia-1.13.0 vs lib/aws-sdk-kinesisvideoarchivedmedia/errors.rb in aws-sdk-kinesisvideoarchivedmedia-1.14.0

- old
+ new

@@ -8,7 +8,135 @@ module Aws::KinesisVideoArchivedMedia module Errors extend Aws::Errors::DynamicErrors + class ClientLimitExceededException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::KinesisVideoArchivedMedia::Types::ClientLimitExceededException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + + end + + class InvalidArgumentException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::KinesisVideoArchivedMedia::Types::InvalidArgumentException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + + end + + class InvalidCodecPrivateDataException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::KinesisVideoArchivedMedia::Types::InvalidCodecPrivateDataException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + + end + + class MissingCodecPrivateDataException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::KinesisVideoArchivedMedia::Types::MissingCodecPrivateDataException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + + end + + class NoDataRetentionException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::KinesisVideoArchivedMedia::Types::NoDataRetentionException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + + end + + class NotAuthorizedException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::KinesisVideoArchivedMedia::Types::NotAuthorizedException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + + end + + class ResourceNotFoundException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::KinesisVideoArchivedMedia::Types::ResourceNotFoundException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + + end + + class UnsupportedStreamMediaTypeException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::KinesisVideoArchivedMedia::Types::UnsupportedStreamMediaTypeException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + + end + end end