Class: Aws::Polly::Errors::ConflictException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ConflictException.

Parameters:



82
83
84
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/errors.rb', line 82

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

Instance Method Details

#message ⇒ String

Returns:

  • (String)


87
88
89
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/errors.rb', line 87

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

#resource_id ⇒ String

Returns:

  • (String)


92
93
94
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/errors.rb', line 92

def resource_id
  @data[:resource_id]
end

#resource_type ⇒ String

Returns:

  • (String)


97
98
99
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/errors.rb', line 97

def resource_type
  @data[:resource_type]
end