lib/aws-sdk-pinpoint/errors.rb in aws-sdk-pinpoint-1.33.0 vs lib/aws-sdk-pinpoint/errors.rb in aws-sdk-pinpoint-1.34.0

- old
+ new

@@ -113,9 +113,30 @@ @data[:request_id] end end + class PayloadTooLargeException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Pinpoint::Types::PayloadTooLargeException] 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 request_id + @data[:request_id] + end + + end + class TooManyRequestsException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::Pinpoint::Types::TooManyRequestsException] data