aws-sdk-backup 1.29.0 → 1.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,6 +28,7 @@ module Aws::Backup
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {AlreadyExistsException}
31
+ # * {ConflictException}
31
32
  # * {DependencyFailureException}
32
33
  # * {InvalidParameterValueException}
33
34
  # * {InvalidRequestException}
@@ -83,6 +84,36 @@ module Aws::Backup
83
84
  end
84
85
  end
85
86
 
87
+ class ConflictException < ServiceError
88
+
89
+ # @param [Seahorse::Client::RequestContext] context
90
+ # @param [String] message
91
+ # @param [Aws::Backup::Types::ConflictException] data
92
+ def initialize(context, message, data = Aws::EmptyStructure.new)
93
+ super(context, message, data)
94
+ end
95
+
96
+ # @return [String]
97
+ def code
98
+ @code || @data[:code]
99
+ end
100
+
101
+ # @return [String]
102
+ def message
103
+ @message || @data[:message]
104
+ end
105
+
106
+ # @return [String]
107
+ def type
108
+ @data[:type]
109
+ end
110
+
111
+ # @return [String]
112
+ def context
113
+ @data[:context]
114
+ end
115
+ end
116
+
86
117
  class DependencyFailureException < ServiceError
87
118
 
88
119
  # @param [Seahorse::Client::RequestContext] context