Class: Aws::SSM::Errors::ResourceInUseException

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

Returns a new instance of ResourceInUseException.

Parameters:



1876
1877
1878
# File 'lib/aws-sdk-ssm/errors.rb', line 1876

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

Instance Method Details

#messageString

Returns:

  • (String)


1881
1882
1883
# File 'lib/aws-sdk-ssm/errors.rb', line 1881

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