You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudDirectory::Errors::BatchWriteException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of BatchWriteException

Parameters:



34
35
36
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/errors.rb', line 34

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

Instance Method Details

#indexString

Returns:

  • (String)


39
40
41
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/errors.rb', line 39

def index
  @data[:index]
end

#messageString

Returns:

  • (String)


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

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

#typeString

Returns:

  • (String)


44
45
46
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/errors.rb', line 44

def type
  @data[:type]
end