Class: Aws::Backup::Errors::AlreadyExistsException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of AlreadyExistsException.

Parameters:



52
53
54
# File 'lib/aws-sdk-backup/errors.rb', line 52

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

Instance Method Details

#arnString

Returns:

  • (String)


72
73
74
# File 'lib/aws-sdk-backup/errors.rb', line 72

def arn
  @data[:arn]
end

#codeString

Returns:

  • (String)


57
58
59
# File 'lib/aws-sdk-backup/errors.rb', line 57

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

#contextString

Returns:

  • (String)


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

def context
  @data[:context]
end

#creator_request_idString

Returns:

  • (String)


67
68
69
# File 'lib/aws-sdk-backup/errors.rb', line 67

def creator_request_id
  @data[:creator_request_id]
end

#messageString

Returns:

  • (String)


62
63
64
# File 'lib/aws-sdk-backup/errors.rb', line 62

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

#typeString

Returns:

  • (String)


77
78
79
# File 'lib/aws-sdk-backup/errors.rb', line 77

def type
  @data[:type]
end