Sha256: a6075068e800a425168137686743d20f604aa911c5ec426da730799a1491ee10

Contents?: true

Size: 1.12 KB

Versions: 6

Compression:

Stored size: 1.12 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::OpsWorks
  module Errors

    extend Aws::Errors::DynamicErrors

    class ResourceNotFoundException < ServiceError

      # @param [Seahorse::Client::RequestContext] context
      # @param [String] message
      # @param [Aws::OpsWorks::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 ValidationException < ServiceError

      # @param [Seahorse::Client::RequestContext] context
      # @param [String] message
      # @param [Aws::OpsWorks::Types::ValidationException] 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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
aws-sdk-opsworks-1.21.0 lib/aws-sdk-opsworks/errors.rb
aws-sdk-opsworks-1.20.0 lib/aws-sdk-opsworks/errors.rb
aws-sdk-opsworks-1.19.0 lib/aws-sdk-opsworks/errors.rb
aws-sdk-opsworks-1.18.0 lib/aws-sdk-opsworks/errors.rb
aws-sdk-opsworks-1.17.0 lib/aws-sdk-opsworks/errors.rb
aws-sdk-opsworks-1.16.0 lib/aws-sdk-opsworks/errors.rb