lib/aws-sdk-iotevents/errors.rb in aws-sdk-iotevents-1.12.0 vs lib/aws-sdk-iotevents/errors.rb in aws-sdk-iotevents-1.13.0

- old
+ new

@@ -30,16 +30,10 @@ # * {LimitExceededException} # * {ResourceAlreadyExistsException} # * {ResourceInUseException} # * {ResourceNotFoundException} # * {ServiceUnavailableException} - # * {TagrisAccessDeniedException} - # * {TagrisInternalServiceException} - # * {TagrisInvalidArnException} - # * {TagrisInvalidParameterException} - # * {TagrisPartialResourcesExistResultsException} - # * {TagrisThrottledException} # * {ThrottlingException} # * {UnsupportedOperationException} # # Additionally, error classes are dynamically generated for service errors based on the error code # if they are not defined above. @@ -150,109 +144,9 @@ class ServiceUnavailableException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::IoTEvents::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 TagrisAccessDeniedException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::IoTEvents::Types::TagrisAccessDeniedException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - - # @return [String] - def message - @message || @data[:message] - end - end - - class TagrisInternalServiceException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::IoTEvents::Types::TagrisInternalServiceException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - - # @return [String] - def message - @message || @data[:message] - end - end - - class TagrisInvalidArnException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::IoTEvents::Types::TagrisInvalidArnException] 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 sweep_list_item - @data[:sweep_list_item] - end - end - - class TagrisInvalidParameterException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::IoTEvents::Types::TagrisInvalidParameterException] data - def initialize(context, message, data = Aws::EmptyStructure.new) - super(context, message, data) - end - - # @return [String] - def message - @message || @data[:message] - end - end - - class TagrisPartialResourcesExistResultsException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::IoTEvents::Types::TagrisPartialResourcesExistResultsException] 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 resource_existence_information - @data[:resource_existence_information] - end - end - - class TagrisThrottledException < ServiceError - - # @param [Seahorse::Client::RequestContext] context - # @param [String] message - # @param [Aws::IoTEvents::Types::TagrisThrottledException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String]