Class: Aws::SSM::Errors::InvalidPolicyTypeException

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

Returns a new instance of InvalidPolicyTypeException.

Parameters:



1157
1158
1159
# File 'lib/aws-sdk-ssm/errors.rb', line 1157

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

Instance Method Details

#messageString

Returns:

  • (String)


1162
1163
1164
# File 'lib/aws-sdk-ssm/errors.rb', line 1162

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