Class: Aws::Pipes::Errors::ConflictException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ConflictException.

Parameters:



48
49
50
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/errors.rb', line 48

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

Instance Method Details

#messageString

Returns:

  • (String)


53
54
55
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/errors.rb', line 53

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

#resource_idString

Returns:

  • (String)


58
59
60
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/errors.rb', line 58

def resource_id
  @data[:resource_id]
end

#resource_typeString

Returns:

  • (String)


63
64
65
# File 'gems/aws-sdk-pipes/lib/aws-sdk-pipes/errors.rb', line 63

def resource_type
  @data[:resource_type]
end