aws-sdk-elasticache 1.29.0 → 1.35.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,10 +6,347 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::ElastiCache
9
+
10
+ # When ElastiCache returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::ElastiCache::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all ElastiCache errors using ServiceError:
14
+ #
15
+ # begin
16
+ # # do stuff
17
+ # rescue Aws::ElastiCache::Errors::ServiceError
18
+ # # rescues all ElastiCache API errors
19
+ # end
20
+ #
21
+ #
22
+ # ## Request Context
23
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
24
+ # information about the request that generated the error.
25
+ # See {Seahorse::Client::RequestContext} for more information.
26
+ #
27
+ # ## Error Classes
28
+ # * {APICallRateForCustomerExceededFault}
29
+ # * {AuthorizationAlreadyExistsFault}
30
+ # * {AuthorizationNotFoundFault}
31
+ # * {CacheClusterAlreadyExistsFault}
32
+ # * {CacheClusterNotFoundFault}
33
+ # * {CacheParameterGroupAlreadyExistsFault}
34
+ # * {CacheParameterGroupNotFoundFault}
35
+ # * {CacheParameterGroupQuotaExceededFault}
36
+ # * {CacheSecurityGroupAlreadyExistsFault}
37
+ # * {CacheSecurityGroupNotFoundFault}
38
+ # * {CacheSecurityGroupQuotaExceededFault}
39
+ # * {CacheSubnetGroupAlreadyExistsFault}
40
+ # * {CacheSubnetGroupInUse}
41
+ # * {CacheSubnetGroupNotFoundFault}
42
+ # * {CacheSubnetGroupQuotaExceededFault}
43
+ # * {CacheSubnetQuotaExceededFault}
44
+ # * {ClusterQuotaForCustomerExceededFault}
45
+ # * {GlobalReplicationGroupAlreadyExistsFault}
46
+ # * {GlobalReplicationGroupNotFoundFault}
47
+ # * {InsufficientCacheClusterCapacityFault}
48
+ # * {InvalidARNFault}
49
+ # * {InvalidCacheClusterStateFault}
50
+ # * {InvalidCacheParameterGroupStateFault}
51
+ # * {InvalidCacheSecurityGroupStateFault}
52
+ # * {InvalidGlobalReplicationGroupStateFault}
53
+ # * {InvalidKMSKeyFault}
54
+ # * {InvalidParameterCombinationException}
55
+ # * {InvalidParameterValueException}
56
+ # * {InvalidReplicationGroupStateFault}
57
+ # * {InvalidSnapshotStateFault}
58
+ # * {InvalidSubnet}
59
+ # * {InvalidVPCNetworkStateFault}
60
+ # * {NoOperationFault}
61
+ # * {NodeGroupNotFoundFault}
62
+ # * {NodeGroupsPerReplicationGroupQuotaExceededFault}
63
+ # * {NodeQuotaForClusterExceededFault}
64
+ # * {NodeQuotaForCustomerExceededFault}
65
+ # * {ReplicationGroupAlreadyExistsFault}
66
+ # * {ReplicationGroupAlreadyUnderMigrationFault}
67
+ # * {ReplicationGroupNotFoundFault}
68
+ # * {ReplicationGroupNotUnderMigrationFault}
69
+ # * {ReservedCacheNodeAlreadyExistsFault}
70
+ # * {ReservedCacheNodeNotFoundFault}
71
+ # * {ReservedCacheNodeQuotaExceededFault}
72
+ # * {ReservedCacheNodesOfferingNotFoundFault}
73
+ # * {ServiceLinkedRoleNotFoundFault}
74
+ # * {ServiceUpdateNotFoundFault}
75
+ # * {SnapshotAlreadyExistsFault}
76
+ # * {SnapshotFeatureNotSupportedFault}
77
+ # * {SnapshotNotFoundFault}
78
+ # * {SnapshotQuotaExceededFault}
79
+ # * {SubnetInUse}
80
+ # * {TagNotFoundFault}
81
+ # * {TagQuotaPerResourceExceeded}
82
+ # * {TestFailoverNotAvailableFault}
83
+ #
84
+ # Additionally, error classes are dynamically generated for service errors based on the error code
85
+ # if they are not defined above.
9
86
  module Errors
10
87
 
11
88
  extend Aws::Errors::DynamicErrors
12
89
 
90
+ class APICallRateForCustomerExceededFault < ServiceError
91
+
92
+ # @param [Seahorse::Client::RequestContext] context
93
+ # @param [String] message
94
+ # @param [Aws::ElastiCache::Types::APICallRateForCustomerExceededFault] data
95
+ def initialize(context, message, data = Aws::EmptyStructure.new)
96
+ super(context, message, data)
97
+ end
98
+ end
99
+
100
+ class AuthorizationAlreadyExistsFault < ServiceError
101
+
102
+ # @param [Seahorse::Client::RequestContext] context
103
+ # @param [String] message
104
+ # @param [Aws::ElastiCache::Types::AuthorizationAlreadyExistsFault] data
105
+ def initialize(context, message, data = Aws::EmptyStructure.new)
106
+ super(context, message, data)
107
+ end
108
+ end
109
+
110
+ class AuthorizationNotFoundFault < ServiceError
111
+
112
+ # @param [Seahorse::Client::RequestContext] context
113
+ # @param [String] message
114
+ # @param [Aws::ElastiCache::Types::AuthorizationNotFoundFault] data
115
+ def initialize(context, message, data = Aws::EmptyStructure.new)
116
+ super(context, message, data)
117
+ end
118
+ end
119
+
120
+ class CacheClusterAlreadyExistsFault < ServiceError
121
+
122
+ # @param [Seahorse::Client::RequestContext] context
123
+ # @param [String] message
124
+ # @param [Aws::ElastiCache::Types::CacheClusterAlreadyExistsFault] data
125
+ def initialize(context, message, data = Aws::EmptyStructure.new)
126
+ super(context, message, data)
127
+ end
128
+ end
129
+
130
+ class CacheClusterNotFoundFault < ServiceError
131
+
132
+ # @param [Seahorse::Client::RequestContext] context
133
+ # @param [String] message
134
+ # @param [Aws::ElastiCache::Types::CacheClusterNotFoundFault] data
135
+ def initialize(context, message, data = Aws::EmptyStructure.new)
136
+ super(context, message, data)
137
+ end
138
+ end
139
+
140
+ class CacheParameterGroupAlreadyExistsFault < ServiceError
141
+
142
+ # @param [Seahorse::Client::RequestContext] context
143
+ # @param [String] message
144
+ # @param [Aws::ElastiCache::Types::CacheParameterGroupAlreadyExistsFault] data
145
+ def initialize(context, message, data = Aws::EmptyStructure.new)
146
+ super(context, message, data)
147
+ end
148
+ end
149
+
150
+ class CacheParameterGroupNotFoundFault < ServiceError
151
+
152
+ # @param [Seahorse::Client::RequestContext] context
153
+ # @param [String] message
154
+ # @param [Aws::ElastiCache::Types::CacheParameterGroupNotFoundFault] data
155
+ def initialize(context, message, data = Aws::EmptyStructure.new)
156
+ super(context, message, data)
157
+ end
158
+ end
159
+
160
+ class CacheParameterGroupQuotaExceededFault < ServiceError
161
+
162
+ # @param [Seahorse::Client::RequestContext] context
163
+ # @param [String] message
164
+ # @param [Aws::ElastiCache::Types::CacheParameterGroupQuotaExceededFault] data
165
+ def initialize(context, message, data = Aws::EmptyStructure.new)
166
+ super(context, message, data)
167
+ end
168
+ end
169
+
170
+ class CacheSecurityGroupAlreadyExistsFault < ServiceError
171
+
172
+ # @param [Seahorse::Client::RequestContext] context
173
+ # @param [String] message
174
+ # @param [Aws::ElastiCache::Types::CacheSecurityGroupAlreadyExistsFault] data
175
+ def initialize(context, message, data = Aws::EmptyStructure.new)
176
+ super(context, message, data)
177
+ end
178
+ end
179
+
180
+ class CacheSecurityGroupNotFoundFault < ServiceError
181
+
182
+ # @param [Seahorse::Client::RequestContext] context
183
+ # @param [String] message
184
+ # @param [Aws::ElastiCache::Types::CacheSecurityGroupNotFoundFault] data
185
+ def initialize(context, message, data = Aws::EmptyStructure.new)
186
+ super(context, message, data)
187
+ end
188
+ end
189
+
190
+ class CacheSecurityGroupQuotaExceededFault < ServiceError
191
+
192
+ # @param [Seahorse::Client::RequestContext] context
193
+ # @param [String] message
194
+ # @param [Aws::ElastiCache::Types::CacheSecurityGroupQuotaExceededFault] data
195
+ def initialize(context, message, data = Aws::EmptyStructure.new)
196
+ super(context, message, data)
197
+ end
198
+ end
199
+
200
+ class CacheSubnetGroupAlreadyExistsFault < ServiceError
201
+
202
+ # @param [Seahorse::Client::RequestContext] context
203
+ # @param [String] message
204
+ # @param [Aws::ElastiCache::Types::CacheSubnetGroupAlreadyExistsFault] data
205
+ def initialize(context, message, data = Aws::EmptyStructure.new)
206
+ super(context, message, data)
207
+ end
208
+ end
209
+
210
+ class CacheSubnetGroupInUse < ServiceError
211
+
212
+ # @param [Seahorse::Client::RequestContext] context
213
+ # @param [String] message
214
+ # @param [Aws::ElastiCache::Types::CacheSubnetGroupInUse] data
215
+ def initialize(context, message, data = Aws::EmptyStructure.new)
216
+ super(context, message, data)
217
+ end
218
+ end
219
+
220
+ class CacheSubnetGroupNotFoundFault < ServiceError
221
+
222
+ # @param [Seahorse::Client::RequestContext] context
223
+ # @param [String] message
224
+ # @param [Aws::ElastiCache::Types::CacheSubnetGroupNotFoundFault] data
225
+ def initialize(context, message, data = Aws::EmptyStructure.new)
226
+ super(context, message, data)
227
+ end
228
+ end
229
+
230
+ class CacheSubnetGroupQuotaExceededFault < ServiceError
231
+
232
+ # @param [Seahorse::Client::RequestContext] context
233
+ # @param [String] message
234
+ # @param [Aws::ElastiCache::Types::CacheSubnetGroupQuotaExceededFault] data
235
+ def initialize(context, message, data = Aws::EmptyStructure.new)
236
+ super(context, message, data)
237
+ end
238
+ end
239
+
240
+ class CacheSubnetQuotaExceededFault < ServiceError
241
+
242
+ # @param [Seahorse::Client::RequestContext] context
243
+ # @param [String] message
244
+ # @param [Aws::ElastiCache::Types::CacheSubnetQuotaExceededFault] data
245
+ def initialize(context, message, data = Aws::EmptyStructure.new)
246
+ super(context, message, data)
247
+ end
248
+ end
249
+
250
+ class ClusterQuotaForCustomerExceededFault < ServiceError
251
+
252
+ # @param [Seahorse::Client::RequestContext] context
253
+ # @param [String] message
254
+ # @param [Aws::ElastiCache::Types::ClusterQuotaForCustomerExceededFault] data
255
+ def initialize(context, message, data = Aws::EmptyStructure.new)
256
+ super(context, message, data)
257
+ end
258
+ end
259
+
260
+ class GlobalReplicationGroupAlreadyExistsFault < ServiceError
261
+
262
+ # @param [Seahorse::Client::RequestContext] context
263
+ # @param [String] message
264
+ # @param [Aws::ElastiCache::Types::GlobalReplicationGroupAlreadyExistsFault] data
265
+ def initialize(context, message, data = Aws::EmptyStructure.new)
266
+ super(context, message, data)
267
+ end
268
+ end
269
+
270
+ class GlobalReplicationGroupNotFoundFault < ServiceError
271
+
272
+ # @param [Seahorse::Client::RequestContext] context
273
+ # @param [String] message
274
+ # @param [Aws::ElastiCache::Types::GlobalReplicationGroupNotFoundFault] data
275
+ def initialize(context, message, data = Aws::EmptyStructure.new)
276
+ super(context, message, data)
277
+ end
278
+ end
279
+
280
+ class InsufficientCacheClusterCapacityFault < ServiceError
281
+
282
+ # @param [Seahorse::Client::RequestContext] context
283
+ # @param [String] message
284
+ # @param [Aws::ElastiCache::Types::InsufficientCacheClusterCapacityFault] data
285
+ def initialize(context, message, data = Aws::EmptyStructure.new)
286
+ super(context, message, data)
287
+ end
288
+ end
289
+
290
+ class InvalidARNFault < ServiceError
291
+
292
+ # @param [Seahorse::Client::RequestContext] context
293
+ # @param [String] message
294
+ # @param [Aws::ElastiCache::Types::InvalidARNFault] data
295
+ def initialize(context, message, data = Aws::EmptyStructure.new)
296
+ super(context, message, data)
297
+ end
298
+ end
299
+
300
+ class InvalidCacheClusterStateFault < ServiceError
301
+
302
+ # @param [Seahorse::Client::RequestContext] context
303
+ # @param [String] message
304
+ # @param [Aws::ElastiCache::Types::InvalidCacheClusterStateFault] data
305
+ def initialize(context, message, data = Aws::EmptyStructure.new)
306
+ super(context, message, data)
307
+ end
308
+ end
309
+
310
+ class InvalidCacheParameterGroupStateFault < ServiceError
311
+
312
+ # @param [Seahorse::Client::RequestContext] context
313
+ # @param [String] message
314
+ # @param [Aws::ElastiCache::Types::InvalidCacheParameterGroupStateFault] data
315
+ def initialize(context, message, data = Aws::EmptyStructure.new)
316
+ super(context, message, data)
317
+ end
318
+ end
319
+
320
+ class InvalidCacheSecurityGroupStateFault < ServiceError
321
+
322
+ # @param [Seahorse::Client::RequestContext] context
323
+ # @param [String] message
324
+ # @param [Aws::ElastiCache::Types::InvalidCacheSecurityGroupStateFault] data
325
+ def initialize(context, message, data = Aws::EmptyStructure.new)
326
+ super(context, message, data)
327
+ end
328
+ end
329
+
330
+ class InvalidGlobalReplicationGroupStateFault < ServiceError
331
+
332
+ # @param [Seahorse::Client::RequestContext] context
333
+ # @param [String] message
334
+ # @param [Aws::ElastiCache::Types::InvalidGlobalReplicationGroupStateFault] data
335
+ def initialize(context, message, data = Aws::EmptyStructure.new)
336
+ super(context, message, data)
337
+ end
338
+ end
339
+
340
+ class InvalidKMSKeyFault < ServiceError
341
+
342
+ # @param [Seahorse::Client::RequestContext] context
343
+ # @param [String] message
344
+ # @param [Aws::ElastiCache::Types::InvalidKMSKeyFault] data
345
+ def initialize(context, message, data = Aws::EmptyStructure.new)
346
+ super(context, message, data)
347
+ end
348
+ end
349
+
13
350
  class InvalidParameterCombinationException < ServiceError
14
351
 
15
352
  # @param [Seahorse::Client::RequestContext] context
@@ -23,7 +360,6 @@ module Aws::ElastiCache
23
360
  def message
24
361
  @message || @data[:message]
25
362
  end
26
-
27
363
  end
28
364
 
29
365
  class InvalidParameterValueException < ServiceError
@@ -39,7 +375,276 @@ module Aws::ElastiCache
39
375
  def message
40
376
  @message || @data[:message]
41
377
  end
378
+ end
379
+
380
+ class InvalidReplicationGroupStateFault < ServiceError
42
381
 
382
+ # @param [Seahorse::Client::RequestContext] context
383
+ # @param [String] message
384
+ # @param [Aws::ElastiCache::Types::InvalidReplicationGroupStateFault] data
385
+ def initialize(context, message, data = Aws::EmptyStructure.new)
386
+ super(context, message, data)
387
+ end
388
+ end
389
+
390
+ class InvalidSnapshotStateFault < ServiceError
391
+
392
+ # @param [Seahorse::Client::RequestContext] context
393
+ # @param [String] message
394
+ # @param [Aws::ElastiCache::Types::InvalidSnapshotStateFault] data
395
+ def initialize(context, message, data = Aws::EmptyStructure.new)
396
+ super(context, message, data)
397
+ end
398
+ end
399
+
400
+ class InvalidSubnet < ServiceError
401
+
402
+ # @param [Seahorse::Client::RequestContext] context
403
+ # @param [String] message
404
+ # @param [Aws::ElastiCache::Types::InvalidSubnet] data
405
+ def initialize(context, message, data = Aws::EmptyStructure.new)
406
+ super(context, message, data)
407
+ end
408
+ end
409
+
410
+ class InvalidVPCNetworkStateFault < ServiceError
411
+
412
+ # @param [Seahorse::Client::RequestContext] context
413
+ # @param [String] message
414
+ # @param [Aws::ElastiCache::Types::InvalidVPCNetworkStateFault] data
415
+ def initialize(context, message, data = Aws::EmptyStructure.new)
416
+ super(context, message, data)
417
+ end
418
+ end
419
+
420
+ class NoOperationFault < ServiceError
421
+
422
+ # @param [Seahorse::Client::RequestContext] context
423
+ # @param [String] message
424
+ # @param [Aws::ElastiCache::Types::NoOperationFault] data
425
+ def initialize(context, message, data = Aws::EmptyStructure.new)
426
+ super(context, message, data)
427
+ end
428
+ end
429
+
430
+ class NodeGroupNotFoundFault < ServiceError
431
+
432
+ # @param [Seahorse::Client::RequestContext] context
433
+ # @param [String] message
434
+ # @param [Aws::ElastiCache::Types::NodeGroupNotFoundFault] data
435
+ def initialize(context, message, data = Aws::EmptyStructure.new)
436
+ super(context, message, data)
437
+ end
438
+ end
439
+
440
+ class NodeGroupsPerReplicationGroupQuotaExceededFault < ServiceError
441
+
442
+ # @param [Seahorse::Client::RequestContext] context
443
+ # @param [String] message
444
+ # @param [Aws::ElastiCache::Types::NodeGroupsPerReplicationGroupQuotaExceededFault] data
445
+ def initialize(context, message, data = Aws::EmptyStructure.new)
446
+ super(context, message, data)
447
+ end
448
+ end
449
+
450
+ class NodeQuotaForClusterExceededFault < ServiceError
451
+
452
+ # @param [Seahorse::Client::RequestContext] context
453
+ # @param [String] message
454
+ # @param [Aws::ElastiCache::Types::NodeQuotaForClusterExceededFault] data
455
+ def initialize(context, message, data = Aws::EmptyStructure.new)
456
+ super(context, message, data)
457
+ end
458
+ end
459
+
460
+ class NodeQuotaForCustomerExceededFault < ServiceError
461
+
462
+ # @param [Seahorse::Client::RequestContext] context
463
+ # @param [String] message
464
+ # @param [Aws::ElastiCache::Types::NodeQuotaForCustomerExceededFault] data
465
+ def initialize(context, message, data = Aws::EmptyStructure.new)
466
+ super(context, message, data)
467
+ end
468
+ end
469
+
470
+ class ReplicationGroupAlreadyExistsFault < ServiceError
471
+
472
+ # @param [Seahorse::Client::RequestContext] context
473
+ # @param [String] message
474
+ # @param [Aws::ElastiCache::Types::ReplicationGroupAlreadyExistsFault] data
475
+ def initialize(context, message, data = Aws::EmptyStructure.new)
476
+ super(context, message, data)
477
+ end
478
+ end
479
+
480
+ class ReplicationGroupAlreadyUnderMigrationFault < ServiceError
481
+
482
+ # @param [Seahorse::Client::RequestContext] context
483
+ # @param [String] message
484
+ # @param [Aws::ElastiCache::Types::ReplicationGroupAlreadyUnderMigrationFault] data
485
+ def initialize(context, message, data = Aws::EmptyStructure.new)
486
+ super(context, message, data)
487
+ end
488
+ end
489
+
490
+ class ReplicationGroupNotFoundFault < ServiceError
491
+
492
+ # @param [Seahorse::Client::RequestContext] context
493
+ # @param [String] message
494
+ # @param [Aws::ElastiCache::Types::ReplicationGroupNotFoundFault] data
495
+ def initialize(context, message, data = Aws::EmptyStructure.new)
496
+ super(context, message, data)
497
+ end
498
+ end
499
+
500
+ class ReplicationGroupNotUnderMigrationFault < ServiceError
501
+
502
+ # @param [Seahorse::Client::RequestContext] context
503
+ # @param [String] message
504
+ # @param [Aws::ElastiCache::Types::ReplicationGroupNotUnderMigrationFault] data
505
+ def initialize(context, message, data = Aws::EmptyStructure.new)
506
+ super(context, message, data)
507
+ end
508
+ end
509
+
510
+ class ReservedCacheNodeAlreadyExistsFault < ServiceError
511
+
512
+ # @param [Seahorse::Client::RequestContext] context
513
+ # @param [String] message
514
+ # @param [Aws::ElastiCache::Types::ReservedCacheNodeAlreadyExistsFault] data
515
+ def initialize(context, message, data = Aws::EmptyStructure.new)
516
+ super(context, message, data)
517
+ end
518
+ end
519
+
520
+ class ReservedCacheNodeNotFoundFault < ServiceError
521
+
522
+ # @param [Seahorse::Client::RequestContext] context
523
+ # @param [String] message
524
+ # @param [Aws::ElastiCache::Types::ReservedCacheNodeNotFoundFault] data
525
+ def initialize(context, message, data = Aws::EmptyStructure.new)
526
+ super(context, message, data)
527
+ end
528
+ end
529
+
530
+ class ReservedCacheNodeQuotaExceededFault < ServiceError
531
+
532
+ # @param [Seahorse::Client::RequestContext] context
533
+ # @param [String] message
534
+ # @param [Aws::ElastiCache::Types::ReservedCacheNodeQuotaExceededFault] data
535
+ def initialize(context, message, data = Aws::EmptyStructure.new)
536
+ super(context, message, data)
537
+ end
538
+ end
539
+
540
+ class ReservedCacheNodesOfferingNotFoundFault < ServiceError
541
+
542
+ # @param [Seahorse::Client::RequestContext] context
543
+ # @param [String] message
544
+ # @param [Aws::ElastiCache::Types::ReservedCacheNodesOfferingNotFoundFault] data
545
+ def initialize(context, message, data = Aws::EmptyStructure.new)
546
+ super(context, message, data)
547
+ end
548
+ end
549
+
550
+ class ServiceLinkedRoleNotFoundFault < ServiceError
551
+
552
+ # @param [Seahorse::Client::RequestContext] context
553
+ # @param [String] message
554
+ # @param [Aws::ElastiCache::Types::ServiceLinkedRoleNotFoundFault] data
555
+ def initialize(context, message, data = Aws::EmptyStructure.new)
556
+ super(context, message, data)
557
+ end
558
+ end
559
+
560
+ class ServiceUpdateNotFoundFault < ServiceError
561
+
562
+ # @param [Seahorse::Client::RequestContext] context
563
+ # @param [String] message
564
+ # @param [Aws::ElastiCache::Types::ServiceUpdateNotFoundFault] data
565
+ def initialize(context, message, data = Aws::EmptyStructure.new)
566
+ super(context, message, data)
567
+ end
568
+ end
569
+
570
+ class SnapshotAlreadyExistsFault < ServiceError
571
+
572
+ # @param [Seahorse::Client::RequestContext] context
573
+ # @param [String] message
574
+ # @param [Aws::ElastiCache::Types::SnapshotAlreadyExistsFault] data
575
+ def initialize(context, message, data = Aws::EmptyStructure.new)
576
+ super(context, message, data)
577
+ end
578
+ end
579
+
580
+ class SnapshotFeatureNotSupportedFault < ServiceError
581
+
582
+ # @param [Seahorse::Client::RequestContext] context
583
+ # @param [String] message
584
+ # @param [Aws::ElastiCache::Types::SnapshotFeatureNotSupportedFault] data
585
+ def initialize(context, message, data = Aws::EmptyStructure.new)
586
+ super(context, message, data)
587
+ end
588
+ end
589
+
590
+ class SnapshotNotFoundFault < ServiceError
591
+
592
+ # @param [Seahorse::Client::RequestContext] context
593
+ # @param [String] message
594
+ # @param [Aws::ElastiCache::Types::SnapshotNotFoundFault] data
595
+ def initialize(context, message, data = Aws::EmptyStructure.new)
596
+ super(context, message, data)
597
+ end
598
+ end
599
+
600
+ class SnapshotQuotaExceededFault < ServiceError
601
+
602
+ # @param [Seahorse::Client::RequestContext] context
603
+ # @param [String] message
604
+ # @param [Aws::ElastiCache::Types::SnapshotQuotaExceededFault] data
605
+ def initialize(context, message, data = Aws::EmptyStructure.new)
606
+ super(context, message, data)
607
+ end
608
+ end
609
+
610
+ class SubnetInUse < ServiceError
611
+
612
+ # @param [Seahorse::Client::RequestContext] context
613
+ # @param [String] message
614
+ # @param [Aws::ElastiCache::Types::SubnetInUse] data
615
+ def initialize(context, message, data = Aws::EmptyStructure.new)
616
+ super(context, message, data)
617
+ end
618
+ end
619
+
620
+ class TagNotFoundFault < ServiceError
621
+
622
+ # @param [Seahorse::Client::RequestContext] context
623
+ # @param [String] message
624
+ # @param [Aws::ElastiCache::Types::TagNotFoundFault] data
625
+ def initialize(context, message, data = Aws::EmptyStructure.new)
626
+ super(context, message, data)
627
+ end
628
+ end
629
+
630
+ class TagQuotaPerResourceExceeded < ServiceError
631
+
632
+ # @param [Seahorse::Client::RequestContext] context
633
+ # @param [String] message
634
+ # @param [Aws::ElastiCache::Types::TagQuotaPerResourceExceeded] data
635
+ def initialize(context, message, data = Aws::EmptyStructure.new)
636
+ super(context, message, data)
637
+ end
638
+ end
639
+
640
+ class TestFailoverNotAvailableFault < ServiceError
641
+
642
+ # @param [Seahorse::Client::RequestContext] context
643
+ # @param [String] message
644
+ # @param [Aws::ElastiCache::Types::TestFailoverNotAvailableFault] data
645
+ def initialize(context, message, data = Aws::EmptyStructure.new)
646
+ super(context, message, data)
647
+ end
43
648
  end
44
649
 
45
650
  end