aws-sdk-memorydb 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-memorydb.rb +53 -0
- data/lib/aws-sdk-memorydb/client.rb +2585 -0
- data/lib/aws-sdk-memorydb/client_api.rb +1421 -0
- data/lib/aws-sdk-memorydb/customizations.rb +0 -0
- data/lib/aws-sdk-memorydb/errors.rb +587 -0
- data/lib/aws-sdk-memorydb/resource.rb +26 -0
- data/lib/aws-sdk-memorydb/types.rb +3378 -0
- metadata +90 -0
File without changes
|
@@ -0,0 +1,587 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::MemoryDB
|
11
|
+
|
12
|
+
# When MemoryDB returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::MemoryDB::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all MemoryDB errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::MemoryDB::Errors::ServiceError
|
20
|
+
# # rescues all MemoryDB API errors
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
#
|
24
|
+
# ## Request Context
|
25
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
26
|
+
# information about the request that generated the error.
|
27
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
28
|
+
#
|
29
|
+
# ## Error Classes
|
30
|
+
# * {ACLAlreadyExistsFault}
|
31
|
+
# * {ACLNotFoundFault}
|
32
|
+
# * {ACLQuotaExceededFault}
|
33
|
+
# * {APICallRateForCustomerExceededFault}
|
34
|
+
# * {ClusterAlreadyExistsFault}
|
35
|
+
# * {ClusterNotFoundFault}
|
36
|
+
# * {ClusterQuotaForCustomerExceededFault}
|
37
|
+
# * {DefaultUserRequired}
|
38
|
+
# * {DuplicateUserNameFault}
|
39
|
+
# * {InsufficientClusterCapacityFault}
|
40
|
+
# * {InvalidACLStateFault}
|
41
|
+
# * {InvalidARNFault}
|
42
|
+
# * {InvalidClusterStateFault}
|
43
|
+
# * {InvalidCredentialsException}
|
44
|
+
# * {InvalidKMSKeyFault}
|
45
|
+
# * {InvalidNodeStateFault}
|
46
|
+
# * {InvalidParameterCombinationException}
|
47
|
+
# * {InvalidParameterGroupStateFault}
|
48
|
+
# * {InvalidParameterValueException}
|
49
|
+
# * {InvalidSnapshotStateFault}
|
50
|
+
# * {InvalidSubnet}
|
51
|
+
# * {InvalidUserStateFault}
|
52
|
+
# * {InvalidVPCNetworkStateFault}
|
53
|
+
# * {NoOperationFault}
|
54
|
+
# * {NodeQuotaForClusterExceededFault}
|
55
|
+
# * {NodeQuotaForCustomerExceededFault}
|
56
|
+
# * {ParameterGroupAlreadyExistsFault}
|
57
|
+
# * {ParameterGroupNotFoundFault}
|
58
|
+
# * {ParameterGroupQuotaExceededFault}
|
59
|
+
# * {ServiceLinkedRoleNotFoundFault}
|
60
|
+
# * {ServiceUpdateNotFoundFault}
|
61
|
+
# * {ShardNotFoundFault}
|
62
|
+
# * {ShardsPerClusterQuotaExceededFault}
|
63
|
+
# * {SnapshotAlreadyExistsFault}
|
64
|
+
# * {SnapshotNotFoundFault}
|
65
|
+
# * {SnapshotQuotaExceededFault}
|
66
|
+
# * {SubnetGroupAlreadyExistsFault}
|
67
|
+
# * {SubnetGroupInUseFault}
|
68
|
+
# * {SubnetGroupNotFoundFault}
|
69
|
+
# * {SubnetGroupQuotaExceededFault}
|
70
|
+
# * {SubnetInUse}
|
71
|
+
# * {SubnetNotAllowedFault}
|
72
|
+
# * {SubnetQuotaExceededFault}
|
73
|
+
# * {TagNotFoundFault}
|
74
|
+
# * {TagQuotaPerResourceExceeded}
|
75
|
+
# * {TestFailoverNotAvailableFault}
|
76
|
+
# * {UserAlreadyExistsFault}
|
77
|
+
# * {UserNotFoundFault}
|
78
|
+
# * {UserQuotaExceededFault}
|
79
|
+
#
|
80
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
81
|
+
# if they are not defined above.
|
82
|
+
module Errors
|
83
|
+
|
84
|
+
extend Aws::Errors::DynamicErrors
|
85
|
+
|
86
|
+
class ACLAlreadyExistsFault < ServiceError
|
87
|
+
|
88
|
+
# @param [Seahorse::Client::RequestContext] context
|
89
|
+
# @param [String] message
|
90
|
+
# @param [Aws::MemoryDB::Types::ACLAlreadyExistsFault] data
|
91
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
92
|
+
super(context, message, data)
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
class ACLNotFoundFault < ServiceError
|
97
|
+
|
98
|
+
# @param [Seahorse::Client::RequestContext] context
|
99
|
+
# @param [String] message
|
100
|
+
# @param [Aws::MemoryDB::Types::ACLNotFoundFault] data
|
101
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
102
|
+
super(context, message, data)
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
class ACLQuotaExceededFault < ServiceError
|
107
|
+
|
108
|
+
# @param [Seahorse::Client::RequestContext] context
|
109
|
+
# @param [String] message
|
110
|
+
# @param [Aws::MemoryDB::Types::ACLQuotaExceededFault] data
|
111
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
112
|
+
super(context, message, data)
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
class APICallRateForCustomerExceededFault < ServiceError
|
117
|
+
|
118
|
+
# @param [Seahorse::Client::RequestContext] context
|
119
|
+
# @param [String] message
|
120
|
+
# @param [Aws::MemoryDB::Types::APICallRateForCustomerExceededFault] data
|
121
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
122
|
+
super(context, message, data)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
class ClusterAlreadyExistsFault < ServiceError
|
127
|
+
|
128
|
+
# @param [Seahorse::Client::RequestContext] context
|
129
|
+
# @param [String] message
|
130
|
+
# @param [Aws::MemoryDB::Types::ClusterAlreadyExistsFault] data
|
131
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
132
|
+
super(context, message, data)
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
class ClusterNotFoundFault < ServiceError
|
137
|
+
|
138
|
+
# @param [Seahorse::Client::RequestContext] context
|
139
|
+
# @param [String] message
|
140
|
+
# @param [Aws::MemoryDB::Types::ClusterNotFoundFault] data
|
141
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
142
|
+
super(context, message, data)
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
146
|
+
class ClusterQuotaForCustomerExceededFault < ServiceError
|
147
|
+
|
148
|
+
# @param [Seahorse::Client::RequestContext] context
|
149
|
+
# @param [String] message
|
150
|
+
# @param [Aws::MemoryDB::Types::ClusterQuotaForCustomerExceededFault] data
|
151
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
152
|
+
super(context, message, data)
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
class DefaultUserRequired < ServiceError
|
157
|
+
|
158
|
+
# @param [Seahorse::Client::RequestContext] context
|
159
|
+
# @param [String] message
|
160
|
+
# @param [Aws::MemoryDB::Types::DefaultUserRequired] data
|
161
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
162
|
+
super(context, message, data)
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
class DuplicateUserNameFault < ServiceError
|
167
|
+
|
168
|
+
# @param [Seahorse::Client::RequestContext] context
|
169
|
+
# @param [String] message
|
170
|
+
# @param [Aws::MemoryDB::Types::DuplicateUserNameFault] data
|
171
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
172
|
+
super(context, message, data)
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
class InsufficientClusterCapacityFault < ServiceError
|
177
|
+
|
178
|
+
# @param [Seahorse::Client::RequestContext] context
|
179
|
+
# @param [String] message
|
180
|
+
# @param [Aws::MemoryDB::Types::InsufficientClusterCapacityFault] data
|
181
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
182
|
+
super(context, message, data)
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
class InvalidACLStateFault < ServiceError
|
187
|
+
|
188
|
+
# @param [Seahorse::Client::RequestContext] context
|
189
|
+
# @param [String] message
|
190
|
+
# @param [Aws::MemoryDB::Types::InvalidACLStateFault] data
|
191
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
192
|
+
super(context, message, data)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class InvalidARNFault < ServiceError
|
197
|
+
|
198
|
+
# @param [Seahorse::Client::RequestContext] context
|
199
|
+
# @param [String] message
|
200
|
+
# @param [Aws::MemoryDB::Types::InvalidARNFault] data
|
201
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
202
|
+
super(context, message, data)
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
class InvalidClusterStateFault < ServiceError
|
207
|
+
|
208
|
+
# @param [Seahorse::Client::RequestContext] context
|
209
|
+
# @param [String] message
|
210
|
+
# @param [Aws::MemoryDB::Types::InvalidClusterStateFault] data
|
211
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
212
|
+
super(context, message, data)
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
class InvalidCredentialsException < ServiceError
|
217
|
+
|
218
|
+
# @param [Seahorse::Client::RequestContext] context
|
219
|
+
# @param [String] message
|
220
|
+
# @param [Aws::MemoryDB::Types::InvalidCredentialsException] data
|
221
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
222
|
+
super(context, message, data)
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
class InvalidKMSKeyFault < ServiceError
|
227
|
+
|
228
|
+
# @param [Seahorse::Client::RequestContext] context
|
229
|
+
# @param [String] message
|
230
|
+
# @param [Aws::MemoryDB::Types::InvalidKMSKeyFault] data
|
231
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
232
|
+
super(context, message, data)
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
class InvalidNodeStateFault < ServiceError
|
237
|
+
|
238
|
+
# @param [Seahorse::Client::RequestContext] context
|
239
|
+
# @param [String] message
|
240
|
+
# @param [Aws::MemoryDB::Types::InvalidNodeStateFault] data
|
241
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
242
|
+
super(context, message, data)
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
246
|
+
class InvalidParameterCombinationException < ServiceError
|
247
|
+
|
248
|
+
# @param [Seahorse::Client::RequestContext] context
|
249
|
+
# @param [String] message
|
250
|
+
# @param [Aws::MemoryDB::Types::InvalidParameterCombinationException] data
|
251
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
252
|
+
super(context, message, data)
|
253
|
+
end
|
254
|
+
|
255
|
+
# @return [String]
|
256
|
+
def message
|
257
|
+
@message || @data[:message]
|
258
|
+
end
|
259
|
+
end
|
260
|
+
|
261
|
+
class InvalidParameterGroupStateFault < ServiceError
|
262
|
+
|
263
|
+
# @param [Seahorse::Client::RequestContext] context
|
264
|
+
# @param [String] message
|
265
|
+
# @param [Aws::MemoryDB::Types::InvalidParameterGroupStateFault] data
|
266
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
267
|
+
super(context, message, data)
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
271
|
+
class InvalidParameterValueException < ServiceError
|
272
|
+
|
273
|
+
# @param [Seahorse::Client::RequestContext] context
|
274
|
+
# @param [String] message
|
275
|
+
# @param [Aws::MemoryDB::Types::InvalidParameterValueException] data
|
276
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
277
|
+
super(context, message, data)
|
278
|
+
end
|
279
|
+
|
280
|
+
# @return [String]
|
281
|
+
def message
|
282
|
+
@message || @data[:message]
|
283
|
+
end
|
284
|
+
end
|
285
|
+
|
286
|
+
class InvalidSnapshotStateFault < ServiceError
|
287
|
+
|
288
|
+
# @param [Seahorse::Client::RequestContext] context
|
289
|
+
# @param [String] message
|
290
|
+
# @param [Aws::MemoryDB::Types::InvalidSnapshotStateFault] data
|
291
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
292
|
+
super(context, message, data)
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
class InvalidSubnet < ServiceError
|
297
|
+
|
298
|
+
# @param [Seahorse::Client::RequestContext] context
|
299
|
+
# @param [String] message
|
300
|
+
# @param [Aws::MemoryDB::Types::InvalidSubnet] data
|
301
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
302
|
+
super(context, message, data)
|
303
|
+
end
|
304
|
+
end
|
305
|
+
|
306
|
+
class InvalidUserStateFault < ServiceError
|
307
|
+
|
308
|
+
# @param [Seahorse::Client::RequestContext] context
|
309
|
+
# @param [String] message
|
310
|
+
# @param [Aws::MemoryDB::Types::InvalidUserStateFault] data
|
311
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
312
|
+
super(context, message, data)
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
316
|
+
class InvalidVPCNetworkStateFault < ServiceError
|
317
|
+
|
318
|
+
# @param [Seahorse::Client::RequestContext] context
|
319
|
+
# @param [String] message
|
320
|
+
# @param [Aws::MemoryDB::Types::InvalidVPCNetworkStateFault] data
|
321
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
322
|
+
super(context, message, data)
|
323
|
+
end
|
324
|
+
end
|
325
|
+
|
326
|
+
class NoOperationFault < ServiceError
|
327
|
+
|
328
|
+
# @param [Seahorse::Client::RequestContext] context
|
329
|
+
# @param [String] message
|
330
|
+
# @param [Aws::MemoryDB::Types::NoOperationFault] data
|
331
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
332
|
+
super(context, message, data)
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
class NodeQuotaForClusterExceededFault < ServiceError
|
337
|
+
|
338
|
+
# @param [Seahorse::Client::RequestContext] context
|
339
|
+
# @param [String] message
|
340
|
+
# @param [Aws::MemoryDB::Types::NodeQuotaForClusterExceededFault] data
|
341
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
342
|
+
super(context, message, data)
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
346
|
+
class NodeQuotaForCustomerExceededFault < ServiceError
|
347
|
+
|
348
|
+
# @param [Seahorse::Client::RequestContext] context
|
349
|
+
# @param [String] message
|
350
|
+
# @param [Aws::MemoryDB::Types::NodeQuotaForCustomerExceededFault] data
|
351
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
352
|
+
super(context, message, data)
|
353
|
+
end
|
354
|
+
end
|
355
|
+
|
356
|
+
class ParameterGroupAlreadyExistsFault < ServiceError
|
357
|
+
|
358
|
+
# @param [Seahorse::Client::RequestContext] context
|
359
|
+
# @param [String] message
|
360
|
+
# @param [Aws::MemoryDB::Types::ParameterGroupAlreadyExistsFault] data
|
361
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
362
|
+
super(context, message, data)
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
366
|
+
class ParameterGroupNotFoundFault < ServiceError
|
367
|
+
|
368
|
+
# @param [Seahorse::Client::RequestContext] context
|
369
|
+
# @param [String] message
|
370
|
+
# @param [Aws::MemoryDB::Types::ParameterGroupNotFoundFault] data
|
371
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
372
|
+
super(context, message, data)
|
373
|
+
end
|
374
|
+
end
|
375
|
+
|
376
|
+
class ParameterGroupQuotaExceededFault < ServiceError
|
377
|
+
|
378
|
+
# @param [Seahorse::Client::RequestContext] context
|
379
|
+
# @param [String] message
|
380
|
+
# @param [Aws::MemoryDB::Types::ParameterGroupQuotaExceededFault] data
|
381
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
382
|
+
super(context, message, data)
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
386
|
+
class ServiceLinkedRoleNotFoundFault < ServiceError
|
387
|
+
|
388
|
+
# @param [Seahorse::Client::RequestContext] context
|
389
|
+
# @param [String] message
|
390
|
+
# @param [Aws::MemoryDB::Types::ServiceLinkedRoleNotFoundFault] data
|
391
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
392
|
+
super(context, message, data)
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
class ServiceUpdateNotFoundFault < ServiceError
|
397
|
+
|
398
|
+
# @param [Seahorse::Client::RequestContext] context
|
399
|
+
# @param [String] message
|
400
|
+
# @param [Aws::MemoryDB::Types::ServiceUpdateNotFoundFault] data
|
401
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
402
|
+
super(context, message, data)
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
406
|
+
class ShardNotFoundFault < ServiceError
|
407
|
+
|
408
|
+
# @param [Seahorse::Client::RequestContext] context
|
409
|
+
# @param [String] message
|
410
|
+
# @param [Aws::MemoryDB::Types::ShardNotFoundFault] data
|
411
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
412
|
+
super(context, message, data)
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
416
|
+
class ShardsPerClusterQuotaExceededFault < ServiceError
|
417
|
+
|
418
|
+
# @param [Seahorse::Client::RequestContext] context
|
419
|
+
# @param [String] message
|
420
|
+
# @param [Aws::MemoryDB::Types::ShardsPerClusterQuotaExceededFault] data
|
421
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
422
|
+
super(context, message, data)
|
423
|
+
end
|
424
|
+
end
|
425
|
+
|
426
|
+
class SnapshotAlreadyExistsFault < ServiceError
|
427
|
+
|
428
|
+
# @param [Seahorse::Client::RequestContext] context
|
429
|
+
# @param [String] message
|
430
|
+
# @param [Aws::MemoryDB::Types::SnapshotAlreadyExistsFault] data
|
431
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
432
|
+
super(context, message, data)
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
class SnapshotNotFoundFault < ServiceError
|
437
|
+
|
438
|
+
# @param [Seahorse::Client::RequestContext] context
|
439
|
+
# @param [String] message
|
440
|
+
# @param [Aws::MemoryDB::Types::SnapshotNotFoundFault] data
|
441
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
442
|
+
super(context, message, data)
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
446
|
+
class SnapshotQuotaExceededFault < ServiceError
|
447
|
+
|
448
|
+
# @param [Seahorse::Client::RequestContext] context
|
449
|
+
# @param [String] message
|
450
|
+
# @param [Aws::MemoryDB::Types::SnapshotQuotaExceededFault] data
|
451
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
452
|
+
super(context, message, data)
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
456
|
+
class SubnetGroupAlreadyExistsFault < ServiceError
|
457
|
+
|
458
|
+
# @param [Seahorse::Client::RequestContext] context
|
459
|
+
# @param [String] message
|
460
|
+
# @param [Aws::MemoryDB::Types::SubnetGroupAlreadyExistsFault] data
|
461
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
462
|
+
super(context, message, data)
|
463
|
+
end
|
464
|
+
end
|
465
|
+
|
466
|
+
class SubnetGroupInUseFault < ServiceError
|
467
|
+
|
468
|
+
# @param [Seahorse::Client::RequestContext] context
|
469
|
+
# @param [String] message
|
470
|
+
# @param [Aws::MemoryDB::Types::SubnetGroupInUseFault] data
|
471
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
472
|
+
super(context, message, data)
|
473
|
+
end
|
474
|
+
end
|
475
|
+
|
476
|
+
class SubnetGroupNotFoundFault < ServiceError
|
477
|
+
|
478
|
+
# @param [Seahorse::Client::RequestContext] context
|
479
|
+
# @param [String] message
|
480
|
+
# @param [Aws::MemoryDB::Types::SubnetGroupNotFoundFault] data
|
481
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
482
|
+
super(context, message, data)
|
483
|
+
end
|
484
|
+
end
|
485
|
+
|
486
|
+
class SubnetGroupQuotaExceededFault < ServiceError
|
487
|
+
|
488
|
+
# @param [Seahorse::Client::RequestContext] context
|
489
|
+
# @param [String] message
|
490
|
+
# @param [Aws::MemoryDB::Types::SubnetGroupQuotaExceededFault] data
|
491
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
492
|
+
super(context, message, data)
|
493
|
+
end
|
494
|
+
end
|
495
|
+
|
496
|
+
class SubnetInUse < ServiceError
|
497
|
+
|
498
|
+
# @param [Seahorse::Client::RequestContext] context
|
499
|
+
# @param [String] message
|
500
|
+
# @param [Aws::MemoryDB::Types::SubnetInUse] data
|
501
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
502
|
+
super(context, message, data)
|
503
|
+
end
|
504
|
+
end
|
505
|
+
|
506
|
+
class SubnetNotAllowedFault < ServiceError
|
507
|
+
|
508
|
+
# @param [Seahorse::Client::RequestContext] context
|
509
|
+
# @param [String] message
|
510
|
+
# @param [Aws::MemoryDB::Types::SubnetNotAllowedFault] data
|
511
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
512
|
+
super(context, message, data)
|
513
|
+
end
|
514
|
+
end
|
515
|
+
|
516
|
+
class SubnetQuotaExceededFault < ServiceError
|
517
|
+
|
518
|
+
# @param [Seahorse::Client::RequestContext] context
|
519
|
+
# @param [String] message
|
520
|
+
# @param [Aws::MemoryDB::Types::SubnetQuotaExceededFault] data
|
521
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
522
|
+
super(context, message, data)
|
523
|
+
end
|
524
|
+
end
|
525
|
+
|
526
|
+
class TagNotFoundFault < ServiceError
|
527
|
+
|
528
|
+
# @param [Seahorse::Client::RequestContext] context
|
529
|
+
# @param [String] message
|
530
|
+
# @param [Aws::MemoryDB::Types::TagNotFoundFault] data
|
531
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
532
|
+
super(context, message, data)
|
533
|
+
end
|
534
|
+
end
|
535
|
+
|
536
|
+
class TagQuotaPerResourceExceeded < ServiceError
|
537
|
+
|
538
|
+
# @param [Seahorse::Client::RequestContext] context
|
539
|
+
# @param [String] message
|
540
|
+
# @param [Aws::MemoryDB::Types::TagQuotaPerResourceExceeded] data
|
541
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
542
|
+
super(context, message, data)
|
543
|
+
end
|
544
|
+
end
|
545
|
+
|
546
|
+
class TestFailoverNotAvailableFault < ServiceError
|
547
|
+
|
548
|
+
# @param [Seahorse::Client::RequestContext] context
|
549
|
+
# @param [String] message
|
550
|
+
# @param [Aws::MemoryDB::Types::TestFailoverNotAvailableFault] data
|
551
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
552
|
+
super(context, message, data)
|
553
|
+
end
|
554
|
+
end
|
555
|
+
|
556
|
+
class UserAlreadyExistsFault < ServiceError
|
557
|
+
|
558
|
+
# @param [Seahorse::Client::RequestContext] context
|
559
|
+
# @param [String] message
|
560
|
+
# @param [Aws::MemoryDB::Types::UserAlreadyExistsFault] data
|
561
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
562
|
+
super(context, message, data)
|
563
|
+
end
|
564
|
+
end
|
565
|
+
|
566
|
+
class UserNotFoundFault < ServiceError
|
567
|
+
|
568
|
+
# @param [Seahorse::Client::RequestContext] context
|
569
|
+
# @param [String] message
|
570
|
+
# @param [Aws::MemoryDB::Types::UserNotFoundFault] data
|
571
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
572
|
+
super(context, message, data)
|
573
|
+
end
|
574
|
+
end
|
575
|
+
|
576
|
+
class UserQuotaExceededFault < ServiceError
|
577
|
+
|
578
|
+
# @param [Seahorse::Client::RequestContext] context
|
579
|
+
# @param [String] message
|
580
|
+
# @param [Aws::MemoryDB::Types::UserQuotaExceededFault] data
|
581
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
582
|
+
super(context, message, data)
|
583
|
+
end
|
584
|
+
end
|
585
|
+
|
586
|
+
end
|
587
|
+
end
|