aws-sdk-lambdaweb 1.2.0 → 1.3.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,8 +28,12 @@ module Aws::LambdaWeb
28
28
  #
29
29
  # ## Error Classes
30
30
  # * {AccessDeniedException}
31
+ # * {ConflictException}
31
32
  # * {InternalServerException}
33
+ # * {ResourceNotFoundException}
34
+ # * {ServiceQuotaExceededException}
32
35
  # * {ThrottlingException}
36
+ # * {ValidationException}
33
37
  #
34
38
  # Additionally, error classes are dynamically generated for service errors based on the error code
35
39
  # if they are not defined above.
@@ -52,6 +56,31 @@ module Aws::LambdaWeb
52
56
  end
53
57
  end
54
58
 
59
+ class ConflictException < ServiceError
60
+
61
+ # @param [Seahorse::Client::RequestContext] context
62
+ # @param [String] message
63
+ # @param [Aws::LambdaWeb::Types::ConflictException] data
64
+ def initialize(context, message, data = Aws::EmptyStructure.new)
65
+ super(context, message, data)
66
+ end
67
+
68
+ # @return [String]
69
+ def message
70
+ @message || @data[:message]
71
+ end
72
+
73
+ # @return [String]
74
+ def resource_id
75
+ @data[:resource_id]
76
+ end
77
+
78
+ # @return [String]
79
+ def resource_type
80
+ @data[:resource_type]
81
+ end
82
+ end
83
+
55
84
  class InternalServerException < ServiceError
56
85
 
57
86
  # @param [Seahorse::Client::RequestContext] context
@@ -71,6 +100,66 @@ module Aws::LambdaWeb
71
100
  end
72
101
  end
73
102
 
103
+ class ResourceNotFoundException < ServiceError
104
+
105
+ # @param [Seahorse::Client::RequestContext] context
106
+ # @param [String] message
107
+ # @param [Aws::LambdaWeb::Types::ResourceNotFoundException] data
108
+ def initialize(context, message, data = Aws::EmptyStructure.new)
109
+ super(context, message, data)
110
+ end
111
+
112
+ # @return [String]
113
+ def message
114
+ @message || @data[:message]
115
+ end
116
+
117
+ # @return [String]
118
+ def resource_id
119
+ @data[:resource_id]
120
+ end
121
+
122
+ # @return [String]
123
+ def resource_type
124
+ @data[:resource_type]
125
+ end
126
+ end
127
+
128
+ class ServiceQuotaExceededException < ServiceError
129
+
130
+ # @param [Seahorse::Client::RequestContext] context
131
+ # @param [String] message
132
+ # @param [Aws::LambdaWeb::Types::ServiceQuotaExceededException] data
133
+ def initialize(context, message, data = Aws::EmptyStructure.new)
134
+ super(context, message, data)
135
+ end
136
+
137
+ # @return [String]
138
+ def message
139
+ @message || @data[:message]
140
+ end
141
+
142
+ # @return [String]
143
+ def resource_id
144
+ @data[:resource_id]
145
+ end
146
+
147
+ # @return [String]
148
+ def resource_type
149
+ @data[:resource_type]
150
+ end
151
+
152
+ # @return [String]
153
+ def service_code
154
+ @data[:service_code]
155
+ end
156
+
157
+ # @return [String]
158
+ def quota_code
159
+ @data[:quota_code]
160
+ end
161
+ end
162
+
74
163
  class ThrottlingException < ServiceError
75
164
 
76
165
  # @param [Seahorse::Client::RequestContext] context
@@ -109,5 +198,20 @@ module Aws::LambdaWeb
109
198
  end
110
199
  end
111
200
 
201
+ class ValidationException < ServiceError
202
+
203
+ # @param [Seahorse::Client::RequestContext] context
204
+ # @param [String] message
205
+ # @param [Aws::LambdaWeb::Types::ValidationException] data
206
+ def initialize(context, message, data = Aws::EmptyStructure.new)
207
+ super(context, message, data)
208
+ end
209
+
210
+ # @return [String]
211
+ def message
212
+ @message || @data[:message]
213
+ end
214
+ end
215
+
112
216
  end
113
217
  end