Class: Aws::SSM::Errors::InvalidAssociation

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) ⇒ InvalidAssociation

Returns a new instance of InvalidAssociation.

Parameters:


639
640
641
# File 'lib/aws-sdk-ssm/errors.rb', line 639

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

Instance Method Details

#messageString

Returns:

  • (String)

644
645
646
# File 'lib/aws-sdk-ssm/errors.rb', line 644

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