Class: Aws::SSM::Errors::InvalidDocumentOperation

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-ssm/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidDocumentOperation

Returns a new instance of InvalidDocumentOperation.

Parameters:



797
798
799
# File 'lib/aws-sdk-ssm/errors.rb', line 797

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


802
803
804
# File 'lib/aws-sdk-ssm/errors.rb', line 802

def message
  @message || @data[:message]
end