aws-sdk-securityhub 1.136.0 → 1.137.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,13 +28,17 @@ module Aws::SecurityHub
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {AccessDeniedException}
31
+ # * {ConflictException}
31
32
  # * {InternalException}
33
+ # * {InternalServerException}
32
34
  # * {InvalidAccessException}
33
35
  # * {InvalidInputException}
34
36
  # * {LimitExceededException}
35
37
  # * {ResourceConflictException}
36
38
  # * {ResourceInUseException}
37
39
  # * {ResourceNotFoundException}
40
+ # * {ThrottlingException}
41
+ # * {ValidationException}
38
42
  #
39
43
  # Additionally, error classes are dynamically generated for service errors based on the error code
40
44
  # if they are not defined above.
@@ -62,6 +66,26 @@ module Aws::SecurityHub
62
66
  end
63
67
  end
64
68
 
69
+ class ConflictException < ServiceError
70
+
71
+ # @param [Seahorse::Client::RequestContext] context
72
+ # @param [String] message
73
+ # @param [Aws::SecurityHub::Types::ConflictException] data
74
+ def initialize(context, message, data = Aws::EmptyStructure.new)
75
+ super(context, message, data)
76
+ end
77
+
78
+ # @return [String]
79
+ def message
80
+ @message || @data[:message]
81
+ end
82
+
83
+ # @return [String]
84
+ def code
85
+ @code || @data[:code]
86
+ end
87
+ end
88
+
65
89
  class InternalException < ServiceError
66
90
 
67
91
  # @param [Seahorse::Client::RequestContext] context
@@ -82,6 +106,26 @@ module Aws::SecurityHub
82
106
  end
83
107
  end
84
108
 
109
+ class InternalServerException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::SecurityHub::Types::InternalServerException] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+
123
+ # @return [String]
124
+ def code
125
+ @code || @data[:code]
126
+ end
127
+ end
128
+
85
129
  class InvalidAccessException < ServiceError
86
130
 
87
131
  # @param [Seahorse::Client::RequestContext] context
@@ -202,5 +246,45 @@ module Aws::SecurityHub
202
246
  end
203
247
  end
204
248
 
249
+ class ThrottlingException < ServiceError
250
+
251
+ # @param [Seahorse::Client::RequestContext] context
252
+ # @param [String] message
253
+ # @param [Aws::SecurityHub::Types::ThrottlingException] data
254
+ def initialize(context, message, data = Aws::EmptyStructure.new)
255
+ super(context, message, data)
256
+ end
257
+
258
+ # @return [String]
259
+ def message
260
+ @message || @data[:message]
261
+ end
262
+
263
+ # @return [String]
264
+ def code
265
+ @code || @data[:code]
266
+ end
267
+ end
268
+
269
+ class ValidationException < ServiceError
270
+
271
+ # @param [Seahorse::Client::RequestContext] context
272
+ # @param [String] message
273
+ # @param [Aws::SecurityHub::Types::ValidationException] data
274
+ def initialize(context, message, data = Aws::EmptyStructure.new)
275
+ super(context, message, data)
276
+ end
277
+
278
+ # @return [String]
279
+ def message
280
+ @message || @data[:message]
281
+ end
282
+
283
+ # @return [String]
284
+ def code
285
+ @code || @data[:code]
286
+ end
287
+ end
288
+
205
289
  end
206
290
  end