Sha256: 6bb893367f2d80657a5f408a60e76f295f6c763f72b11abec964d88f3e756623

Contents?: true

Size: 1.27 KB

Versions: 11

Compression:

Stored size: 1.27 KB

Contents

# 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::DataSync
  module Errors

    extend Aws::Errors::DynamicErrors

    class InternalException < ServiceError

      # @param [Seahorse::Client::RequestContext] context
      # @param [String] message
      # @param [Aws::DataSync::Types::InternalException] 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 error_code
        @data[:error_code]
      end

    end

    class InvalidRequestException < ServiceError

      # @param [Seahorse::Client::RequestContext] context
      # @param [String] message
      # @param [Aws::DataSync::Types::InvalidRequestException] 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 error_code
        @data[:error_code]
      end

    end

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
aws-sdk-datasync-1.17.0 lib/aws-sdk-datasync/errors.rb
aws-sdk-datasync-1.16.0 lib/aws-sdk-datasync/errors.rb
aws-sdk-datasync-1.15.0 lib/aws-sdk-datasync/errors.rb
aws-sdk-datasync-1.14.0 lib/aws-sdk-datasync/errors.rb
aws-sdk-datasync-1.13.0 lib/aws-sdk-datasync/errors.rb
aws-sdk-datasync-1.12.0 lib/aws-sdk-datasync/errors.rb
aws-sdk-datasync-1.11.0 lib/aws-sdk-datasync/errors.rb
aws-sdk-datasync-1.10.0 lib/aws-sdk-datasync/errors.rb
aws-sdk-datasync-1.9.0 lib/aws-sdk-datasync/errors.rb
aws-sdk-datasync-1.8.0 lib/aws-sdk-datasync/errors.rb
aws-sdk-datasync-1.7.0 lib/aws-sdk-datasync/errors.rb