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:



795
796
797
# File 'lib/aws-sdk-ssm/errors.rb', line 795

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

Instance Method Details

#messageString

Returns:

  • (String)


800
801
802
# File 'lib/aws-sdk-ssm/errors.rb', line 800

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