1// Code generated by smithy-go-codegen DO NOT EDIT.
2
3package types
4
5import (
6	"fmt"
7	smithy "github.com/aws/smithy-go"
8)
9
10// The customer has exceeded the allowed rate of API calls.
11type APICallRateForCustomerExceededFault struct {
12	Message *string
13}
14
15func (e *APICallRateForCustomerExceededFault) Error() string {
16	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
17}
18func (e *APICallRateForCustomerExceededFault) ErrorMessage() string {
19	if e.Message == nil {
20		return ""
21	}
22	return *e.Message
23}
24func (e *APICallRateForCustomerExceededFault) ErrorCode() string {
25	return "APICallRateForCustomerExceededFault"
26}
27func (e *APICallRateForCustomerExceededFault) ErrorFault() smithy.ErrorFault {
28	return smithy.FaultClient
29}
30
31// The specified Amazon EC2 security group is already authorized for the specified
32// cache security group.
33type AuthorizationAlreadyExistsFault struct {
34	Message *string
35}
36
37func (e *AuthorizationAlreadyExistsFault) Error() string {
38	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
39}
40func (e *AuthorizationAlreadyExistsFault) ErrorMessage() string {
41	if e.Message == nil {
42		return ""
43	}
44	return *e.Message
45}
46func (e *AuthorizationAlreadyExistsFault) ErrorCode() string {
47	return "AuthorizationAlreadyExistsFault"
48}
49func (e *AuthorizationAlreadyExistsFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
50
51// The specified Amazon EC2 security group is not authorized for the specified
52// cache security group.
53type AuthorizationNotFoundFault struct {
54	Message *string
55}
56
57func (e *AuthorizationNotFoundFault) Error() string {
58	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
59}
60func (e *AuthorizationNotFoundFault) ErrorMessage() string {
61	if e.Message == nil {
62		return ""
63	}
64	return *e.Message
65}
66func (e *AuthorizationNotFoundFault) ErrorCode() string             { return "AuthorizationNotFoundFault" }
67func (e *AuthorizationNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
68
69// You already have a cluster with the given identifier.
70type CacheClusterAlreadyExistsFault struct {
71	Message *string
72}
73
74func (e *CacheClusterAlreadyExistsFault) Error() string {
75	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
76}
77func (e *CacheClusterAlreadyExistsFault) ErrorMessage() string {
78	if e.Message == nil {
79		return ""
80	}
81	return *e.Message
82}
83func (e *CacheClusterAlreadyExistsFault) ErrorCode() string             { return "CacheClusterAlreadyExistsFault" }
84func (e *CacheClusterAlreadyExistsFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
85
86// The requested cluster ID does not refer to an existing cluster.
87type CacheClusterNotFoundFault struct {
88	Message *string
89}
90
91func (e *CacheClusterNotFoundFault) Error() string {
92	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
93}
94func (e *CacheClusterNotFoundFault) ErrorMessage() string {
95	if e.Message == nil {
96		return ""
97	}
98	return *e.Message
99}
100func (e *CacheClusterNotFoundFault) ErrorCode() string             { return "CacheClusterNotFoundFault" }
101func (e *CacheClusterNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
102
103// A cache parameter group with the requested name already exists.
104type CacheParameterGroupAlreadyExistsFault struct {
105	Message *string
106}
107
108func (e *CacheParameterGroupAlreadyExistsFault) Error() string {
109	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
110}
111func (e *CacheParameterGroupAlreadyExistsFault) ErrorMessage() string {
112	if e.Message == nil {
113		return ""
114	}
115	return *e.Message
116}
117func (e *CacheParameterGroupAlreadyExistsFault) ErrorCode() string {
118	return "CacheParameterGroupAlreadyExistsFault"
119}
120func (e *CacheParameterGroupAlreadyExistsFault) ErrorFault() smithy.ErrorFault {
121	return smithy.FaultClient
122}
123
124// The requested cache parameter group name does not refer to an existing cache
125// parameter group.
126type CacheParameterGroupNotFoundFault struct {
127	Message *string
128}
129
130func (e *CacheParameterGroupNotFoundFault) Error() string {
131	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
132}
133func (e *CacheParameterGroupNotFoundFault) ErrorMessage() string {
134	if e.Message == nil {
135		return ""
136	}
137	return *e.Message
138}
139func (e *CacheParameterGroupNotFoundFault) ErrorCode() string {
140	return "CacheParameterGroupNotFoundFault"
141}
142func (e *CacheParameterGroupNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
143
144// The request cannot be processed because it would exceed the maximum number of
145// cache security groups.
146type CacheParameterGroupQuotaExceededFault struct {
147	Message *string
148}
149
150func (e *CacheParameterGroupQuotaExceededFault) Error() string {
151	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
152}
153func (e *CacheParameterGroupQuotaExceededFault) ErrorMessage() string {
154	if e.Message == nil {
155		return ""
156	}
157	return *e.Message
158}
159func (e *CacheParameterGroupQuotaExceededFault) ErrorCode() string {
160	return "CacheParameterGroupQuotaExceededFault"
161}
162func (e *CacheParameterGroupQuotaExceededFault) ErrorFault() smithy.ErrorFault {
163	return smithy.FaultClient
164}
165
166// A cache security group with the specified name already exists.
167type CacheSecurityGroupAlreadyExistsFault struct {
168	Message *string
169}
170
171func (e *CacheSecurityGroupAlreadyExistsFault) Error() string {
172	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
173}
174func (e *CacheSecurityGroupAlreadyExistsFault) ErrorMessage() string {
175	if e.Message == nil {
176		return ""
177	}
178	return *e.Message
179}
180func (e *CacheSecurityGroupAlreadyExistsFault) ErrorCode() string {
181	return "CacheSecurityGroupAlreadyExistsFault"
182}
183func (e *CacheSecurityGroupAlreadyExistsFault) ErrorFault() smithy.ErrorFault {
184	return smithy.FaultClient
185}
186
187// The requested cache security group name does not refer to an existing cache
188// security group.
189type CacheSecurityGroupNotFoundFault struct {
190	Message *string
191}
192
193func (e *CacheSecurityGroupNotFoundFault) Error() string {
194	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
195}
196func (e *CacheSecurityGroupNotFoundFault) ErrorMessage() string {
197	if e.Message == nil {
198		return ""
199	}
200	return *e.Message
201}
202func (e *CacheSecurityGroupNotFoundFault) ErrorCode() string {
203	return "CacheSecurityGroupNotFoundFault"
204}
205func (e *CacheSecurityGroupNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
206
207// The request cannot be processed because it would exceed the allowed number of
208// cache security groups.
209type CacheSecurityGroupQuotaExceededFault struct {
210	Message *string
211}
212
213func (e *CacheSecurityGroupQuotaExceededFault) Error() string {
214	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
215}
216func (e *CacheSecurityGroupQuotaExceededFault) ErrorMessage() string {
217	if e.Message == nil {
218		return ""
219	}
220	return *e.Message
221}
222func (e *CacheSecurityGroupQuotaExceededFault) ErrorCode() string {
223	return "CacheSecurityGroupQuotaExceededFault"
224}
225func (e *CacheSecurityGroupQuotaExceededFault) ErrorFault() smithy.ErrorFault {
226	return smithy.FaultClient
227}
228
229// The requested cache subnet group name is already in use by an existing cache
230// subnet group.
231type CacheSubnetGroupAlreadyExistsFault struct {
232	Message *string
233}
234
235func (e *CacheSubnetGroupAlreadyExistsFault) Error() string {
236	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
237}
238func (e *CacheSubnetGroupAlreadyExistsFault) ErrorMessage() string {
239	if e.Message == nil {
240		return ""
241	}
242	return *e.Message
243}
244func (e *CacheSubnetGroupAlreadyExistsFault) ErrorCode() string {
245	return "CacheSubnetGroupAlreadyExistsFault"
246}
247func (e *CacheSubnetGroupAlreadyExistsFault) ErrorFault() smithy.ErrorFault {
248	return smithy.FaultClient
249}
250
251// The requested cache subnet group is currently in use.
252type CacheSubnetGroupInUse struct {
253	Message *string
254}
255
256func (e *CacheSubnetGroupInUse) Error() string {
257	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
258}
259func (e *CacheSubnetGroupInUse) ErrorMessage() string {
260	if e.Message == nil {
261		return ""
262	}
263	return *e.Message
264}
265func (e *CacheSubnetGroupInUse) ErrorCode() string             { return "CacheSubnetGroupInUse" }
266func (e *CacheSubnetGroupInUse) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
267
268// The requested cache subnet group name does not refer to an existing cache subnet
269// group.
270type CacheSubnetGroupNotFoundFault struct {
271	Message *string
272}
273
274func (e *CacheSubnetGroupNotFoundFault) Error() string {
275	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
276}
277func (e *CacheSubnetGroupNotFoundFault) ErrorMessage() string {
278	if e.Message == nil {
279		return ""
280	}
281	return *e.Message
282}
283func (e *CacheSubnetGroupNotFoundFault) ErrorCode() string             { return "CacheSubnetGroupNotFoundFault" }
284func (e *CacheSubnetGroupNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
285
286// The request cannot be processed because it would exceed the allowed number of
287// cache subnet groups.
288type CacheSubnetGroupQuotaExceededFault struct {
289	Message *string
290}
291
292func (e *CacheSubnetGroupQuotaExceededFault) Error() string {
293	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
294}
295func (e *CacheSubnetGroupQuotaExceededFault) ErrorMessage() string {
296	if e.Message == nil {
297		return ""
298	}
299	return *e.Message
300}
301func (e *CacheSubnetGroupQuotaExceededFault) ErrorCode() string {
302	return "CacheSubnetGroupQuotaExceededFault"
303}
304func (e *CacheSubnetGroupQuotaExceededFault) ErrorFault() smithy.ErrorFault {
305	return smithy.FaultClient
306}
307
308// The request cannot be processed because it would exceed the allowed number of
309// subnets in a cache subnet group.
310type CacheSubnetQuotaExceededFault struct {
311	Message *string
312}
313
314func (e *CacheSubnetQuotaExceededFault) Error() string {
315	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
316}
317func (e *CacheSubnetQuotaExceededFault) ErrorMessage() string {
318	if e.Message == nil {
319		return ""
320	}
321	return *e.Message
322}
323func (e *CacheSubnetQuotaExceededFault) ErrorCode() string             { return "CacheSubnetQuotaExceededFault" }
324func (e *CacheSubnetQuotaExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
325
326// The request cannot be processed because it would exceed the allowed number of
327// clusters per customer.
328type ClusterQuotaForCustomerExceededFault struct {
329	Message *string
330}
331
332func (e *ClusterQuotaForCustomerExceededFault) Error() string {
333	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
334}
335func (e *ClusterQuotaForCustomerExceededFault) ErrorMessage() string {
336	if e.Message == nil {
337		return ""
338	}
339	return *e.Message
340}
341func (e *ClusterQuotaForCustomerExceededFault) ErrorCode() string {
342	return "ClusterQuotaForCustomerExceededFault"
343}
344func (e *ClusterQuotaForCustomerExceededFault) ErrorFault() smithy.ErrorFault {
345	return smithy.FaultClient
346}
347
348//
349type DefaultUserAssociatedToUserGroupFault struct {
350	Message *string
351}
352
353func (e *DefaultUserAssociatedToUserGroupFault) Error() string {
354	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
355}
356func (e *DefaultUserAssociatedToUserGroupFault) ErrorMessage() string {
357	if e.Message == nil {
358		return ""
359	}
360	return *e.Message
361}
362func (e *DefaultUserAssociatedToUserGroupFault) ErrorCode() string {
363	return "DefaultUserAssociatedToUserGroupFault"
364}
365func (e *DefaultUserAssociatedToUserGroupFault) ErrorFault() smithy.ErrorFault {
366	return smithy.FaultClient
367}
368
369// You must add default user to a user group.
370type DefaultUserRequired struct {
371	Message *string
372}
373
374func (e *DefaultUserRequired) Error() string {
375	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
376}
377func (e *DefaultUserRequired) ErrorMessage() string {
378	if e.Message == nil {
379		return ""
380	}
381	return *e.Message
382}
383func (e *DefaultUserRequired) ErrorCode() string             { return "DefaultUserRequired" }
384func (e *DefaultUserRequired) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
385
386// A user with this username already exists.
387type DuplicateUserNameFault struct {
388	Message *string
389}
390
391func (e *DuplicateUserNameFault) Error() string {
392	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
393}
394func (e *DuplicateUserNameFault) ErrorMessage() string {
395	if e.Message == nil {
396		return ""
397	}
398	return *e.Message
399}
400func (e *DuplicateUserNameFault) ErrorCode() string             { return "DuplicateUserNameFault" }
401func (e *DuplicateUserNameFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
402
403// The Global datastore name already exists.
404type GlobalReplicationGroupAlreadyExistsFault struct {
405	Message *string
406}
407
408func (e *GlobalReplicationGroupAlreadyExistsFault) Error() string {
409	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
410}
411func (e *GlobalReplicationGroupAlreadyExistsFault) ErrorMessage() string {
412	if e.Message == nil {
413		return ""
414	}
415	return *e.Message
416}
417func (e *GlobalReplicationGroupAlreadyExistsFault) ErrorCode() string {
418	return "GlobalReplicationGroupAlreadyExistsFault"
419}
420func (e *GlobalReplicationGroupAlreadyExistsFault) ErrorFault() smithy.ErrorFault {
421	return smithy.FaultClient
422}
423
424// The Global datastore does not exist
425type GlobalReplicationGroupNotFoundFault struct {
426	Message *string
427}
428
429func (e *GlobalReplicationGroupNotFoundFault) Error() string {
430	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
431}
432func (e *GlobalReplicationGroupNotFoundFault) ErrorMessage() string {
433	if e.Message == nil {
434		return ""
435	}
436	return *e.Message
437}
438func (e *GlobalReplicationGroupNotFoundFault) ErrorCode() string {
439	return "GlobalReplicationGroupNotFoundFault"
440}
441func (e *GlobalReplicationGroupNotFoundFault) ErrorFault() smithy.ErrorFault {
442	return smithy.FaultClient
443}
444
445// The requested cache node type is not available in the specified Availability
446// Zone. For more information, see InsufficientCacheClusterCapacity
447// (http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ErrorMessages.html#ErrorMessages.INSUFFICIENT_CACHE_CLUSTER_CAPACITY)
448// in the ElastiCache User Guide.
449type InsufficientCacheClusterCapacityFault struct {
450	Message *string
451}
452
453func (e *InsufficientCacheClusterCapacityFault) Error() string {
454	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
455}
456func (e *InsufficientCacheClusterCapacityFault) ErrorMessage() string {
457	if e.Message == nil {
458		return ""
459	}
460	return *e.Message
461}
462func (e *InsufficientCacheClusterCapacityFault) ErrorCode() string {
463	return "InsufficientCacheClusterCapacityFault"
464}
465func (e *InsufficientCacheClusterCapacityFault) ErrorFault() smithy.ErrorFault {
466	return smithy.FaultClient
467}
468
469// The requested Amazon Resource Name (ARN) does not refer to an existing resource.
470type InvalidARNFault struct {
471	Message *string
472}
473
474func (e *InvalidARNFault) Error() string {
475	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
476}
477func (e *InvalidARNFault) ErrorMessage() string {
478	if e.Message == nil {
479		return ""
480	}
481	return *e.Message
482}
483func (e *InvalidARNFault) ErrorCode() string             { return "InvalidARNFault" }
484func (e *InvalidARNFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
485
486// The requested cluster is not in the available state.
487type InvalidCacheClusterStateFault struct {
488	Message *string
489}
490
491func (e *InvalidCacheClusterStateFault) Error() string {
492	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
493}
494func (e *InvalidCacheClusterStateFault) ErrorMessage() string {
495	if e.Message == nil {
496		return ""
497	}
498	return *e.Message
499}
500func (e *InvalidCacheClusterStateFault) ErrorCode() string             { return "InvalidCacheClusterStateFault" }
501func (e *InvalidCacheClusterStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
502
503// The current state of the cache parameter group does not allow the requested
504// operation to occur.
505type InvalidCacheParameterGroupStateFault struct {
506	Message *string
507}
508
509func (e *InvalidCacheParameterGroupStateFault) Error() string {
510	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
511}
512func (e *InvalidCacheParameterGroupStateFault) ErrorMessage() string {
513	if e.Message == nil {
514		return ""
515	}
516	return *e.Message
517}
518func (e *InvalidCacheParameterGroupStateFault) ErrorCode() string {
519	return "InvalidCacheParameterGroupStateFault"
520}
521func (e *InvalidCacheParameterGroupStateFault) ErrorFault() smithy.ErrorFault {
522	return smithy.FaultClient
523}
524
525// The current state of the cache security group does not allow deletion.
526type InvalidCacheSecurityGroupStateFault struct {
527	Message *string
528}
529
530func (e *InvalidCacheSecurityGroupStateFault) Error() string {
531	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
532}
533func (e *InvalidCacheSecurityGroupStateFault) ErrorMessage() string {
534	if e.Message == nil {
535		return ""
536	}
537	return *e.Message
538}
539func (e *InvalidCacheSecurityGroupStateFault) ErrorCode() string {
540	return "InvalidCacheSecurityGroupStateFault"
541}
542func (e *InvalidCacheSecurityGroupStateFault) ErrorFault() smithy.ErrorFault {
543	return smithy.FaultClient
544}
545
546// The Global datastore is not available or in primary-only state.
547type InvalidGlobalReplicationGroupStateFault struct {
548	Message *string
549}
550
551func (e *InvalidGlobalReplicationGroupStateFault) Error() string {
552	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
553}
554func (e *InvalidGlobalReplicationGroupStateFault) ErrorMessage() string {
555	if e.Message == nil {
556		return ""
557	}
558	return *e.Message
559}
560func (e *InvalidGlobalReplicationGroupStateFault) ErrorCode() string {
561	return "InvalidGlobalReplicationGroupStateFault"
562}
563func (e *InvalidGlobalReplicationGroupStateFault) ErrorFault() smithy.ErrorFault {
564	return smithy.FaultClient
565}
566
567// The KMS key supplied is not valid.
568type InvalidKMSKeyFault struct {
569	Message *string
570}
571
572func (e *InvalidKMSKeyFault) Error() string {
573	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
574}
575func (e *InvalidKMSKeyFault) ErrorMessage() string {
576	if e.Message == nil {
577		return ""
578	}
579	return *e.Message
580}
581func (e *InvalidKMSKeyFault) ErrorCode() string             { return "InvalidKMSKeyFault" }
582func (e *InvalidKMSKeyFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
583
584// Two or more incompatible parameters were specified.
585type InvalidParameterCombinationException struct {
586	Message *string
587}
588
589func (e *InvalidParameterCombinationException) Error() string {
590	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
591}
592func (e *InvalidParameterCombinationException) ErrorMessage() string {
593	if e.Message == nil {
594		return ""
595	}
596	return *e.Message
597}
598func (e *InvalidParameterCombinationException) ErrorCode() string {
599	return "InvalidParameterCombinationException"
600}
601func (e *InvalidParameterCombinationException) ErrorFault() smithy.ErrorFault {
602	return smithy.FaultClient
603}
604
605// The value for a parameter is invalid.
606type InvalidParameterValueException struct {
607	Message *string
608}
609
610func (e *InvalidParameterValueException) Error() string {
611	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
612}
613func (e *InvalidParameterValueException) ErrorMessage() string {
614	if e.Message == nil {
615		return ""
616	}
617	return *e.Message
618}
619func (e *InvalidParameterValueException) ErrorCode() string             { return "InvalidParameterValueException" }
620func (e *InvalidParameterValueException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
621
622// The requested replication group is not in the available state.
623type InvalidReplicationGroupStateFault struct {
624	Message *string
625}
626
627func (e *InvalidReplicationGroupStateFault) Error() string {
628	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
629}
630func (e *InvalidReplicationGroupStateFault) ErrorMessage() string {
631	if e.Message == nil {
632		return ""
633	}
634	return *e.Message
635}
636func (e *InvalidReplicationGroupStateFault) ErrorCode() string {
637	return "InvalidReplicationGroupStateFault"
638}
639func (e *InvalidReplicationGroupStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
640
641// The current state of the snapshot does not allow the requested operation to
642// occur.
643type InvalidSnapshotStateFault struct {
644	Message *string
645}
646
647func (e *InvalidSnapshotStateFault) Error() string {
648	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
649}
650func (e *InvalidSnapshotStateFault) ErrorMessage() string {
651	if e.Message == nil {
652		return ""
653	}
654	return *e.Message
655}
656func (e *InvalidSnapshotStateFault) ErrorCode() string             { return "InvalidSnapshotStateFault" }
657func (e *InvalidSnapshotStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
658
659// An invalid subnet identifier was specified.
660type InvalidSubnet struct {
661	Message *string
662}
663
664func (e *InvalidSubnet) Error() string {
665	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
666}
667func (e *InvalidSubnet) ErrorMessage() string {
668	if e.Message == nil {
669		return ""
670	}
671	return *e.Message
672}
673func (e *InvalidSubnet) ErrorCode() string             { return "InvalidSubnet" }
674func (e *InvalidSubnet) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
675
676// The user group is not in an active state.
677type InvalidUserGroupStateFault struct {
678	Message *string
679}
680
681func (e *InvalidUserGroupStateFault) Error() string {
682	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
683}
684func (e *InvalidUserGroupStateFault) ErrorMessage() string {
685	if e.Message == nil {
686		return ""
687	}
688	return *e.Message
689}
690func (e *InvalidUserGroupStateFault) ErrorCode() string             { return "InvalidUserGroupStateFault" }
691func (e *InvalidUserGroupStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
692
693// The user is not in active state.
694type InvalidUserStateFault struct {
695	Message *string
696}
697
698func (e *InvalidUserStateFault) Error() string {
699	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
700}
701func (e *InvalidUserStateFault) ErrorMessage() string {
702	if e.Message == nil {
703		return ""
704	}
705	return *e.Message
706}
707func (e *InvalidUserStateFault) ErrorCode() string             { return "InvalidUserStateFault" }
708func (e *InvalidUserStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
709
710// The VPC network is in an invalid state.
711type InvalidVPCNetworkStateFault struct {
712	Message *string
713}
714
715func (e *InvalidVPCNetworkStateFault) Error() string {
716	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
717}
718func (e *InvalidVPCNetworkStateFault) ErrorMessage() string {
719	if e.Message == nil {
720		return ""
721	}
722	return *e.Message
723}
724func (e *InvalidVPCNetworkStateFault) ErrorCode() string             { return "InvalidVPCNetworkStateFault" }
725func (e *InvalidVPCNetworkStateFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
726
727// The node group specified by the NodeGroupId parameter could not be found. Please
728// verify that the node group exists and that you spelled the NodeGroupId value
729// correctly.
730type NodeGroupNotFoundFault struct {
731	Message *string
732}
733
734func (e *NodeGroupNotFoundFault) Error() string {
735	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
736}
737func (e *NodeGroupNotFoundFault) ErrorMessage() string {
738	if e.Message == nil {
739		return ""
740	}
741	return *e.Message
742}
743func (e *NodeGroupNotFoundFault) ErrorCode() string             { return "NodeGroupNotFoundFault" }
744func (e *NodeGroupNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
745
746// The request cannot be processed because it would exceed the maximum allowed
747// number of node groups (shards) in a single replication group. The default
748// maximum is 90
749type NodeGroupsPerReplicationGroupQuotaExceededFault struct {
750	Message *string
751}
752
753func (e *NodeGroupsPerReplicationGroupQuotaExceededFault) Error() string {
754	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
755}
756func (e *NodeGroupsPerReplicationGroupQuotaExceededFault) ErrorMessage() string {
757	if e.Message == nil {
758		return ""
759	}
760	return *e.Message
761}
762func (e *NodeGroupsPerReplicationGroupQuotaExceededFault) ErrorCode() string {
763	return "NodeGroupsPerReplicationGroupQuotaExceededFault"
764}
765func (e *NodeGroupsPerReplicationGroupQuotaExceededFault) ErrorFault() smithy.ErrorFault {
766	return smithy.FaultClient
767}
768
769// The request cannot be processed because it would exceed the allowed number of
770// cache nodes in a single cluster.
771type NodeQuotaForClusterExceededFault struct {
772	Message *string
773}
774
775func (e *NodeQuotaForClusterExceededFault) Error() string {
776	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
777}
778func (e *NodeQuotaForClusterExceededFault) ErrorMessage() string {
779	if e.Message == nil {
780		return ""
781	}
782	return *e.Message
783}
784func (e *NodeQuotaForClusterExceededFault) ErrorCode() string {
785	return "NodeQuotaForClusterExceededFault"
786}
787func (e *NodeQuotaForClusterExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
788
789// The request cannot be processed because it would exceed the allowed number of
790// cache nodes per customer.
791type NodeQuotaForCustomerExceededFault struct {
792	Message *string
793}
794
795func (e *NodeQuotaForCustomerExceededFault) Error() string {
796	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
797}
798func (e *NodeQuotaForCustomerExceededFault) ErrorMessage() string {
799	if e.Message == nil {
800		return ""
801	}
802	return *e.Message
803}
804func (e *NodeQuotaForCustomerExceededFault) ErrorCode() string {
805	return "NodeQuotaForCustomerExceededFault"
806}
807func (e *NodeQuotaForCustomerExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
808
809// The operation was not performed because no changes were required.
810type NoOperationFault struct {
811	Message *string
812}
813
814func (e *NoOperationFault) Error() string {
815	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
816}
817func (e *NoOperationFault) ErrorMessage() string {
818	if e.Message == nil {
819		return ""
820	}
821	return *e.Message
822}
823func (e *NoOperationFault) ErrorCode() string             { return "NoOperationFault" }
824func (e *NoOperationFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
825
826// The specified replication group already exists.
827type ReplicationGroupAlreadyExistsFault struct {
828	Message *string
829}
830
831func (e *ReplicationGroupAlreadyExistsFault) Error() string {
832	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
833}
834func (e *ReplicationGroupAlreadyExistsFault) ErrorMessage() string {
835	if e.Message == nil {
836		return ""
837	}
838	return *e.Message
839}
840func (e *ReplicationGroupAlreadyExistsFault) ErrorCode() string {
841	return "ReplicationGroupAlreadyExistsFault"
842}
843func (e *ReplicationGroupAlreadyExistsFault) ErrorFault() smithy.ErrorFault {
844	return smithy.FaultClient
845}
846
847// The targeted replication group is not available.
848type ReplicationGroupAlreadyUnderMigrationFault struct {
849	Message *string
850}
851
852func (e *ReplicationGroupAlreadyUnderMigrationFault) Error() string {
853	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
854}
855func (e *ReplicationGroupAlreadyUnderMigrationFault) ErrorMessage() string {
856	if e.Message == nil {
857		return ""
858	}
859	return *e.Message
860}
861func (e *ReplicationGroupAlreadyUnderMigrationFault) ErrorCode() string {
862	return "ReplicationGroupAlreadyUnderMigrationFault"
863}
864func (e *ReplicationGroupAlreadyUnderMigrationFault) ErrorFault() smithy.ErrorFault {
865	return smithy.FaultClient
866}
867
868// The specified replication group does not exist.
869type ReplicationGroupNotFoundFault struct {
870	Message *string
871}
872
873func (e *ReplicationGroupNotFoundFault) Error() string {
874	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
875}
876func (e *ReplicationGroupNotFoundFault) ErrorMessage() string {
877	if e.Message == nil {
878		return ""
879	}
880	return *e.Message
881}
882func (e *ReplicationGroupNotFoundFault) ErrorCode() string             { return "ReplicationGroupNotFoundFault" }
883func (e *ReplicationGroupNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
884
885// The designated replication group is not available for data migration.
886type ReplicationGroupNotUnderMigrationFault struct {
887	Message *string
888}
889
890func (e *ReplicationGroupNotUnderMigrationFault) Error() string {
891	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
892}
893func (e *ReplicationGroupNotUnderMigrationFault) ErrorMessage() string {
894	if e.Message == nil {
895		return ""
896	}
897	return *e.Message
898}
899func (e *ReplicationGroupNotUnderMigrationFault) ErrorCode() string {
900	return "ReplicationGroupNotUnderMigrationFault"
901}
902func (e *ReplicationGroupNotUnderMigrationFault) ErrorFault() smithy.ErrorFault {
903	return smithy.FaultClient
904}
905
906// You already have a reservation with the given identifier.
907type ReservedCacheNodeAlreadyExistsFault struct {
908	Message *string
909}
910
911func (e *ReservedCacheNodeAlreadyExistsFault) Error() string {
912	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
913}
914func (e *ReservedCacheNodeAlreadyExistsFault) ErrorMessage() string {
915	if e.Message == nil {
916		return ""
917	}
918	return *e.Message
919}
920func (e *ReservedCacheNodeAlreadyExistsFault) ErrorCode() string {
921	return "ReservedCacheNodeAlreadyExistsFault"
922}
923func (e *ReservedCacheNodeAlreadyExistsFault) ErrorFault() smithy.ErrorFault {
924	return smithy.FaultClient
925}
926
927// The requested reserved cache node was not found.
928type ReservedCacheNodeNotFoundFault struct {
929	Message *string
930}
931
932func (e *ReservedCacheNodeNotFoundFault) Error() string {
933	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
934}
935func (e *ReservedCacheNodeNotFoundFault) ErrorMessage() string {
936	if e.Message == nil {
937		return ""
938	}
939	return *e.Message
940}
941func (e *ReservedCacheNodeNotFoundFault) ErrorCode() string             { return "ReservedCacheNodeNotFoundFault" }
942func (e *ReservedCacheNodeNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
943
944// The request cannot be processed because it would exceed the user's cache node
945// quota.
946type ReservedCacheNodeQuotaExceededFault struct {
947	Message *string
948}
949
950func (e *ReservedCacheNodeQuotaExceededFault) Error() string {
951	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
952}
953func (e *ReservedCacheNodeQuotaExceededFault) ErrorMessage() string {
954	if e.Message == nil {
955		return ""
956	}
957	return *e.Message
958}
959func (e *ReservedCacheNodeQuotaExceededFault) ErrorCode() string {
960	return "ReservedCacheNodeQuotaExceededFault"
961}
962func (e *ReservedCacheNodeQuotaExceededFault) ErrorFault() smithy.ErrorFault {
963	return smithy.FaultClient
964}
965
966// The requested cache node offering does not exist.
967type ReservedCacheNodesOfferingNotFoundFault struct {
968	Message *string
969}
970
971func (e *ReservedCacheNodesOfferingNotFoundFault) Error() string {
972	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
973}
974func (e *ReservedCacheNodesOfferingNotFoundFault) ErrorMessage() string {
975	if e.Message == nil {
976		return ""
977	}
978	return *e.Message
979}
980func (e *ReservedCacheNodesOfferingNotFoundFault) ErrorCode() string {
981	return "ReservedCacheNodesOfferingNotFoundFault"
982}
983func (e *ReservedCacheNodesOfferingNotFoundFault) ErrorFault() smithy.ErrorFault {
984	return smithy.FaultClient
985}
986
987// The specified service linked role (SLR) was not found.
988type ServiceLinkedRoleNotFoundFault struct {
989	Message *string
990}
991
992func (e *ServiceLinkedRoleNotFoundFault) Error() string {
993	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
994}
995func (e *ServiceLinkedRoleNotFoundFault) ErrorMessage() string {
996	if e.Message == nil {
997		return ""
998	}
999	return *e.Message
1000}
1001func (e *ServiceLinkedRoleNotFoundFault) ErrorCode() string             { return "ServiceLinkedRoleNotFoundFault" }
1002func (e *ServiceLinkedRoleNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1003
1004// The service update doesn't exist
1005type ServiceUpdateNotFoundFault struct {
1006	Message *string
1007}
1008
1009func (e *ServiceUpdateNotFoundFault) Error() string {
1010	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1011}
1012func (e *ServiceUpdateNotFoundFault) ErrorMessage() string {
1013	if e.Message == nil {
1014		return ""
1015	}
1016	return *e.Message
1017}
1018func (e *ServiceUpdateNotFoundFault) ErrorCode() string             { return "ServiceUpdateNotFoundFault" }
1019func (e *ServiceUpdateNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1020
1021// You already have a snapshot with the given name.
1022type SnapshotAlreadyExistsFault struct {
1023	Message *string
1024}
1025
1026func (e *SnapshotAlreadyExistsFault) Error() string {
1027	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1028}
1029func (e *SnapshotAlreadyExistsFault) ErrorMessage() string {
1030	if e.Message == nil {
1031		return ""
1032	}
1033	return *e.Message
1034}
1035func (e *SnapshotAlreadyExistsFault) ErrorCode() string             { return "SnapshotAlreadyExistsFault" }
1036func (e *SnapshotAlreadyExistsFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1037
1038// You attempted one of the following operations:
1039//
1040// * Creating a snapshot of a Redis
1041// cluster running on a cache.t1.micro cache node.
1042//
1043// * Creating a snapshot of a
1044// cluster that is running Memcached rather than Redis.
1045//
1046// Neither of these are
1047// supported by ElastiCache.
1048type SnapshotFeatureNotSupportedFault struct {
1049	Message *string
1050}
1051
1052func (e *SnapshotFeatureNotSupportedFault) Error() string {
1053	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1054}
1055func (e *SnapshotFeatureNotSupportedFault) ErrorMessage() string {
1056	if e.Message == nil {
1057		return ""
1058	}
1059	return *e.Message
1060}
1061func (e *SnapshotFeatureNotSupportedFault) ErrorCode() string {
1062	return "SnapshotFeatureNotSupportedFault"
1063}
1064func (e *SnapshotFeatureNotSupportedFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1065
1066// The requested snapshot name does not refer to an existing snapshot.
1067type SnapshotNotFoundFault struct {
1068	Message *string
1069}
1070
1071func (e *SnapshotNotFoundFault) Error() string {
1072	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1073}
1074func (e *SnapshotNotFoundFault) ErrorMessage() string {
1075	if e.Message == nil {
1076		return ""
1077	}
1078	return *e.Message
1079}
1080func (e *SnapshotNotFoundFault) ErrorCode() string             { return "SnapshotNotFoundFault" }
1081func (e *SnapshotNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1082
1083// The request cannot be processed because it would exceed the maximum number of
1084// snapshots.
1085type SnapshotQuotaExceededFault struct {
1086	Message *string
1087}
1088
1089func (e *SnapshotQuotaExceededFault) Error() string {
1090	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1091}
1092func (e *SnapshotQuotaExceededFault) ErrorMessage() string {
1093	if e.Message == nil {
1094		return ""
1095	}
1096	return *e.Message
1097}
1098func (e *SnapshotQuotaExceededFault) ErrorCode() string             { return "SnapshotQuotaExceededFault" }
1099func (e *SnapshotQuotaExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1100
1101// The requested subnet is being used by another cache subnet group.
1102type SubnetInUse struct {
1103	Message *string
1104}
1105
1106func (e *SubnetInUse) Error() string {
1107	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1108}
1109func (e *SubnetInUse) ErrorMessage() string {
1110	if e.Message == nil {
1111		return ""
1112	}
1113	return *e.Message
1114}
1115func (e *SubnetInUse) ErrorCode() string             { return "SubnetInUse" }
1116func (e *SubnetInUse) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1117
1118// At least one subnet ID does not match the other subnet IDs. This mismatch
1119// typically occurs when a user sets one subnet ID to a regional Availability Zone
1120// and a different one to an outpost. Or when a user sets the subnet ID to an
1121// Outpost when not subscribed on this service.
1122type SubnetNotAllowedFault struct {
1123	Message *string
1124}
1125
1126func (e *SubnetNotAllowedFault) Error() string {
1127	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1128}
1129func (e *SubnetNotAllowedFault) ErrorMessage() string {
1130	if e.Message == nil {
1131		return ""
1132	}
1133	return *e.Message
1134}
1135func (e *SubnetNotAllowedFault) ErrorCode() string             { return "SubnetNotAllowedFault" }
1136func (e *SubnetNotAllowedFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1137
1138// The requested tag was not found on this resource.
1139type TagNotFoundFault struct {
1140	Message *string
1141}
1142
1143func (e *TagNotFoundFault) Error() string {
1144	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1145}
1146func (e *TagNotFoundFault) ErrorMessage() string {
1147	if e.Message == nil {
1148		return ""
1149	}
1150	return *e.Message
1151}
1152func (e *TagNotFoundFault) ErrorCode() string             { return "TagNotFoundFault" }
1153func (e *TagNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1154
1155// The request cannot be processed because it would cause the resource to have more
1156// than the allowed number of tags. The maximum number of tags permitted on a
1157// resource is 50.
1158type TagQuotaPerResourceExceeded struct {
1159	Message *string
1160}
1161
1162func (e *TagQuotaPerResourceExceeded) Error() string {
1163	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1164}
1165func (e *TagQuotaPerResourceExceeded) ErrorMessage() string {
1166	if e.Message == nil {
1167		return ""
1168	}
1169	return *e.Message
1170}
1171func (e *TagQuotaPerResourceExceeded) ErrorCode() string             { return "TagQuotaPerResourceExceeded" }
1172func (e *TagQuotaPerResourceExceeded) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1173
1174// The TestFailover action is not available.
1175type TestFailoverNotAvailableFault struct {
1176	Message *string
1177}
1178
1179func (e *TestFailoverNotAvailableFault) Error() string {
1180	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1181}
1182func (e *TestFailoverNotAvailableFault) ErrorMessage() string {
1183	if e.Message == nil {
1184		return ""
1185	}
1186	return *e.Message
1187}
1188func (e *TestFailoverNotAvailableFault) ErrorCode() string             { return "TestFailoverNotAvailableFault" }
1189func (e *TestFailoverNotAvailableFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1190
1191// A user with this ID already exists.
1192type UserAlreadyExistsFault struct {
1193	Message *string
1194}
1195
1196func (e *UserAlreadyExistsFault) Error() string {
1197	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1198}
1199func (e *UserAlreadyExistsFault) ErrorMessage() string {
1200	if e.Message == nil {
1201		return ""
1202	}
1203	return *e.Message
1204}
1205func (e *UserAlreadyExistsFault) ErrorCode() string             { return "UserAlreadyExistsFault" }
1206func (e *UserAlreadyExistsFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1207
1208// The user group with this ID already exists.
1209type UserGroupAlreadyExistsFault struct {
1210	Message *string
1211}
1212
1213func (e *UserGroupAlreadyExistsFault) Error() string {
1214	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1215}
1216func (e *UserGroupAlreadyExistsFault) ErrorMessage() string {
1217	if e.Message == nil {
1218		return ""
1219	}
1220	return *e.Message
1221}
1222func (e *UserGroupAlreadyExistsFault) ErrorCode() string             { return "UserGroupAlreadyExistsFault" }
1223func (e *UserGroupAlreadyExistsFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1224
1225// The user group was not found or does not exist
1226type UserGroupNotFoundFault struct {
1227	Message *string
1228}
1229
1230func (e *UserGroupNotFoundFault) Error() string {
1231	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1232}
1233func (e *UserGroupNotFoundFault) ErrorMessage() string {
1234	if e.Message == nil {
1235		return ""
1236	}
1237	return *e.Message
1238}
1239func (e *UserGroupNotFoundFault) ErrorCode() string             { return "UserGroupNotFoundFault" }
1240func (e *UserGroupNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1241
1242// The number of users exceeds the user group limit.
1243type UserGroupQuotaExceededFault struct {
1244	Message *string
1245}
1246
1247func (e *UserGroupQuotaExceededFault) Error() string {
1248	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1249}
1250func (e *UserGroupQuotaExceededFault) ErrorMessage() string {
1251	if e.Message == nil {
1252		return ""
1253	}
1254	return *e.Message
1255}
1256func (e *UserGroupQuotaExceededFault) ErrorCode() string             { return "UserGroupQuotaExceededFault" }
1257func (e *UserGroupQuotaExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1258
1259// The user does not exist or could not be found.
1260type UserNotFoundFault struct {
1261	Message *string
1262}
1263
1264func (e *UserNotFoundFault) Error() string {
1265	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1266}
1267func (e *UserNotFoundFault) ErrorMessage() string {
1268	if e.Message == nil {
1269		return ""
1270	}
1271	return *e.Message
1272}
1273func (e *UserNotFoundFault) ErrorCode() string             { return "UserNotFoundFault" }
1274func (e *UserNotFoundFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1275
1276// The quota of users has been exceeded.
1277type UserQuotaExceededFault struct {
1278	Message *string
1279}
1280
1281func (e *UserQuotaExceededFault) Error() string {
1282	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1283}
1284func (e *UserQuotaExceededFault) ErrorMessage() string {
1285	if e.Message == nil {
1286		return ""
1287	}
1288	return *e.Message
1289}
1290func (e *UserQuotaExceededFault) ErrorCode() string             { return "UserQuotaExceededFault" }
1291func (e *UserQuotaExceededFault) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1292