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

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-backup/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:



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

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

Instance Method Details

#arnString

Returns:

  • (String)


70
71
72
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 70

def arn
  @data[:arn]
end

#codeString

Returns:

  • (String)


55
56
57
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 55

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

#contextString

Returns:

  • (String)


80
81
82
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 80

def context
  @data[:context]
end

#creator_request_idString

Returns:

  • (String)


65
66
67
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 65

def creator_request_id
  @data[:creator_request_id]
end

#messageString

Returns:

  • (String)


60
61
62
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 60

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

#typeString

Returns:

  • (String)


75
76
77
# File 'gems/aws-sdk-backup/lib/aws-sdk-backup/errors.rb', line 75

def type
  @data[:type]
end