Class: Aws::Backup::Errors::AlreadyExistsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Backup::Errors::AlreadyExistsException
- Defined in:
- lib/aws-sdk-backup/errors.rb
Instance Method Summary collapse
- #arn ⇒ String
- #code ⇒ String
- #context ⇒ String
- #creator_request_id ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AlreadyExistsException
constructor
A new instance of AlreadyExistsException.
- #message ⇒ String
- #type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AlreadyExistsException
Returns a new instance of AlreadyExistsException.
52 53 54 |
# File 'lib/aws-sdk-backup/errors.rb', line 52 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#arn ⇒ String
72 73 74 |
# File 'lib/aws-sdk-backup/errors.rb', line 72 def arn @data[:arn] end |
#code ⇒ String
57 58 59 |
# File 'lib/aws-sdk-backup/errors.rb', line 57 def code @code || @data[:code] end |
#context ⇒ String
82 83 84 |
# File 'lib/aws-sdk-backup/errors.rb', line 82 def context @data[:context] end |
#creator_request_id ⇒ String
67 68 69 |
# File 'lib/aws-sdk-backup/errors.rb', line 67 def creator_request_id @data[:creator_request_id] end |
#message ⇒ String
62 63 64 |
# File 'lib/aws-sdk-backup/errors.rb', line 62 def @message || @data[:message] end |
#type ⇒ String
77 78 79 |
# File 'lib/aws-sdk-backup/errors.rb', line 77 def type @data[:type] end |