lib/aws-sdk-transfer/errors.rb in aws-sdk-transfer-1.14.0 vs lib/aws-sdk-transfer/errors.rb in aws-sdk-transfer-1.15.0

- old
+ new

@@ -124,7 +124,23 @@ @message || @data[:message] end end + class ThrottlingException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::Transfer::Types::ThrottlingException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def retry_after_seconds + @data[:retry_after_seconds] + end + + end + end end