lib/aws-sdk-acm/errors.rb in aws-sdk-acm-1.26.0 vs lib/aws-sdk-acm/errors.rb in aws-sdk-acm-1.27.0

- old
+ new

@@ -56,10 +56,26 @@ @message || @data[:message] end end + class InvalidParameterException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::ACM::Types::InvalidParameterException] data + def initialize(context, message, data = Aws::EmptyStructure.new) + super(context, message, data) + end + + # @return [String] + def message + @message || @data[:message] + end + + end + class InvalidStateException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::ACM::Types::InvalidStateException] data @@ -141,9 +157,25 @@ class ResourceNotFoundException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::ACM::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 TagPolicyException < ServiceError + + # @param [Seahorse::Client::RequestContext] context + # @param [String] message + # @param [Aws::ACM::Types::TagPolicyException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String]