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// Access denied.
11type AccessDenied struct {
12	Message *string
13}
14
15func (e *AccessDenied) Error() string {
16	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
17}
18func (e *AccessDenied) ErrorMessage() string {
19	if e.Message == nil {
20		return ""
21	}
22	return *e.Message
23}
24func (e *AccessDenied) ErrorCode() string             { return "AccessDenied" }
25func (e *AccessDenied) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
26
27// Invalidation batch specified is too large.
28type BatchTooLarge struct {
29	Message *string
30}
31
32func (e *BatchTooLarge) Error() string {
33	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
34}
35func (e *BatchTooLarge) ErrorMessage() string {
36	if e.Message == nil {
37		return ""
38	}
39	return *e.Message
40}
41func (e *BatchTooLarge) ErrorCode() string             { return "BatchTooLarge" }
42func (e *BatchTooLarge) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
43
44// A cache policy with this name already exists. You must provide a unique name. To
45// modify an existing cache policy, use UpdateCachePolicy.
46type CachePolicyAlreadyExists struct {
47	Message *string
48}
49
50func (e *CachePolicyAlreadyExists) Error() string {
51	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
52}
53func (e *CachePolicyAlreadyExists) ErrorMessage() string {
54	if e.Message == nil {
55		return ""
56	}
57	return *e.Message
58}
59func (e *CachePolicyAlreadyExists) ErrorCode() string             { return "CachePolicyAlreadyExists" }
60func (e *CachePolicyAlreadyExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
61
62// Cannot delete the cache policy because it is attached to one or more cache
63// behaviors.
64type CachePolicyInUse struct {
65	Message *string
66}
67
68func (e *CachePolicyInUse) Error() string {
69	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
70}
71func (e *CachePolicyInUse) ErrorMessage() string {
72	if e.Message == nil {
73		return ""
74	}
75	return *e.Message
76}
77func (e *CachePolicyInUse) ErrorCode() string             { return "CachePolicyInUse" }
78func (e *CachePolicyInUse) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
79
80// You can't change the value of a public key.
81type CannotChangeImmutablePublicKeyFields struct {
82	Message *string
83}
84
85func (e *CannotChangeImmutablePublicKeyFields) Error() string {
86	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
87}
88func (e *CannotChangeImmutablePublicKeyFields) ErrorMessage() string {
89	if e.Message == nil {
90		return ""
91	}
92	return *e.Message
93}
94func (e *CannotChangeImmutablePublicKeyFields) ErrorCode() string {
95	return "CannotChangeImmutablePublicKeyFields"
96}
97func (e *CannotChangeImmutablePublicKeyFields) ErrorFault() smithy.ErrorFault {
98	return smithy.FaultClient
99}
100
101// If the CallerReference is a value you already sent in a previous request to
102// create an identity but the content of the CloudFrontOriginAccessIdentityConfig
103// is different from the original request, CloudFront returns a
104// CloudFrontOriginAccessIdentityAlreadyExists error.
105type CloudFrontOriginAccessIdentityAlreadyExists struct {
106	Message *string
107}
108
109func (e *CloudFrontOriginAccessIdentityAlreadyExists) Error() string {
110	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
111}
112func (e *CloudFrontOriginAccessIdentityAlreadyExists) ErrorMessage() string {
113	if e.Message == nil {
114		return ""
115	}
116	return *e.Message
117}
118func (e *CloudFrontOriginAccessIdentityAlreadyExists) ErrorCode() string {
119	return "CloudFrontOriginAccessIdentityAlreadyExists"
120}
121func (e *CloudFrontOriginAccessIdentityAlreadyExists) ErrorFault() smithy.ErrorFault {
122	return smithy.FaultClient
123}
124
125// The Origin Access Identity specified is already in use.
126type CloudFrontOriginAccessIdentityInUse struct {
127	Message *string
128}
129
130func (e *CloudFrontOriginAccessIdentityInUse) Error() string {
131	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
132}
133func (e *CloudFrontOriginAccessIdentityInUse) ErrorMessage() string {
134	if e.Message == nil {
135		return ""
136	}
137	return *e.Message
138}
139func (e *CloudFrontOriginAccessIdentityInUse) ErrorCode() string {
140	return "CloudFrontOriginAccessIdentityInUse"
141}
142func (e *CloudFrontOriginAccessIdentityInUse) ErrorFault() smithy.ErrorFault {
143	return smithy.FaultClient
144}
145
146// The CNAME specified is already defined for CloudFront.
147type CNAMEAlreadyExists struct {
148	Message *string
149}
150
151func (e *CNAMEAlreadyExists) Error() string {
152	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
153}
154func (e *CNAMEAlreadyExists) ErrorMessage() string {
155	if e.Message == nil {
156		return ""
157	}
158	return *e.Message
159}
160func (e *CNAMEAlreadyExists) ErrorCode() string             { return "CNAMEAlreadyExists" }
161func (e *CNAMEAlreadyExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
162
163// The caller reference you attempted to create the distribution with is associated
164// with another distribution.
165type DistributionAlreadyExists struct {
166	Message *string
167}
168
169func (e *DistributionAlreadyExists) Error() string {
170	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
171}
172func (e *DistributionAlreadyExists) ErrorMessage() string {
173	if e.Message == nil {
174		return ""
175	}
176	return *e.Message
177}
178func (e *DistributionAlreadyExists) ErrorCode() string             { return "DistributionAlreadyExists" }
179func (e *DistributionAlreadyExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
180
181// The specified CloudFront distribution is not disabled. You must disable the
182// distribution before you can delete it.
183type DistributionNotDisabled struct {
184	Message *string
185}
186
187func (e *DistributionNotDisabled) Error() string {
188	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
189}
190func (e *DistributionNotDisabled) ErrorMessage() string {
191	if e.Message == nil {
192		return ""
193	}
194	return *e.Message
195}
196func (e *DistributionNotDisabled) ErrorCode() string             { return "DistributionNotDisabled" }
197func (e *DistributionNotDisabled) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
198
199// The specified configuration for field-level encryption already exists.
200type FieldLevelEncryptionConfigAlreadyExists struct {
201	Message *string
202}
203
204func (e *FieldLevelEncryptionConfigAlreadyExists) Error() string {
205	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
206}
207func (e *FieldLevelEncryptionConfigAlreadyExists) ErrorMessage() string {
208	if e.Message == nil {
209		return ""
210	}
211	return *e.Message
212}
213func (e *FieldLevelEncryptionConfigAlreadyExists) ErrorCode() string {
214	return "FieldLevelEncryptionConfigAlreadyExists"
215}
216func (e *FieldLevelEncryptionConfigAlreadyExists) ErrorFault() smithy.ErrorFault {
217	return smithy.FaultClient
218}
219
220// The specified configuration for field-level encryption is in use.
221type FieldLevelEncryptionConfigInUse struct {
222	Message *string
223}
224
225func (e *FieldLevelEncryptionConfigInUse) Error() string {
226	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
227}
228func (e *FieldLevelEncryptionConfigInUse) ErrorMessage() string {
229	if e.Message == nil {
230		return ""
231	}
232	return *e.Message
233}
234func (e *FieldLevelEncryptionConfigInUse) ErrorCode() string {
235	return "FieldLevelEncryptionConfigInUse"
236}
237func (e *FieldLevelEncryptionConfigInUse) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
238
239// The specified profile for field-level encryption already exists.
240type FieldLevelEncryptionProfileAlreadyExists struct {
241	Message *string
242}
243
244func (e *FieldLevelEncryptionProfileAlreadyExists) Error() string {
245	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
246}
247func (e *FieldLevelEncryptionProfileAlreadyExists) ErrorMessage() string {
248	if e.Message == nil {
249		return ""
250	}
251	return *e.Message
252}
253func (e *FieldLevelEncryptionProfileAlreadyExists) ErrorCode() string {
254	return "FieldLevelEncryptionProfileAlreadyExists"
255}
256func (e *FieldLevelEncryptionProfileAlreadyExists) ErrorFault() smithy.ErrorFault {
257	return smithy.FaultClient
258}
259
260// The specified profile for field-level encryption is in use.
261type FieldLevelEncryptionProfileInUse struct {
262	Message *string
263}
264
265func (e *FieldLevelEncryptionProfileInUse) Error() string {
266	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
267}
268func (e *FieldLevelEncryptionProfileInUse) ErrorMessage() string {
269	if e.Message == nil {
270		return ""
271	}
272	return *e.Message
273}
274func (e *FieldLevelEncryptionProfileInUse) ErrorCode() string {
275	return "FieldLevelEncryptionProfileInUse"
276}
277func (e *FieldLevelEncryptionProfileInUse) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
278
279// The maximum size of a profile for field-level encryption was exceeded.
280type FieldLevelEncryptionProfileSizeExceeded struct {
281	Message *string
282}
283
284func (e *FieldLevelEncryptionProfileSizeExceeded) Error() string {
285	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
286}
287func (e *FieldLevelEncryptionProfileSizeExceeded) ErrorMessage() string {
288	if e.Message == nil {
289		return ""
290	}
291	return *e.Message
292}
293func (e *FieldLevelEncryptionProfileSizeExceeded) ErrorCode() string {
294	return "FieldLevelEncryptionProfileSizeExceeded"
295}
296func (e *FieldLevelEncryptionProfileSizeExceeded) ErrorFault() smithy.ErrorFault {
297	return smithy.FaultClient
298}
299
300// A function with the same name already exists in this AWS account. To create a
301// function, you must provide a unique name. To update an existing function, use
302// UpdateFunction.
303type FunctionAlreadyExists struct {
304	Message *string
305}
306
307func (e *FunctionAlreadyExists) Error() string {
308	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
309}
310func (e *FunctionAlreadyExists) ErrorMessage() string {
311	if e.Message == nil {
312		return ""
313	}
314	return *e.Message
315}
316func (e *FunctionAlreadyExists) ErrorCode() string             { return "FunctionAlreadyExists" }
317func (e *FunctionAlreadyExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
318
319// Cannot delete the function because it’s attached to one or more cache behaviors.
320type FunctionInUse struct {
321	Message *string
322}
323
324func (e *FunctionInUse) Error() string {
325	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
326}
327func (e *FunctionInUse) ErrorMessage() string {
328	if e.Message == nil {
329		return ""
330	}
331	return *e.Message
332}
333func (e *FunctionInUse) ErrorCode() string             { return "FunctionInUse" }
334func (e *FunctionInUse) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
335
336// The function is too large. For more information, see Quotas
337// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
338// (formerly known as limits) in the Amazon CloudFront Developer Guide.
339type FunctionSizeLimitExceeded struct {
340	Message *string
341}
342
343func (e *FunctionSizeLimitExceeded) Error() string {
344	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
345}
346func (e *FunctionSizeLimitExceeded) ErrorMessage() string {
347	if e.Message == nil {
348		return ""
349	}
350	return *e.Message
351}
352func (e *FunctionSizeLimitExceeded) ErrorCode() string             { return "FunctionSizeLimitExceeded" }
353func (e *FunctionSizeLimitExceeded) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
354
355// You cannot delete a managed policy.
356type IllegalDelete struct {
357	Message *string
358}
359
360func (e *IllegalDelete) Error() string {
361	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
362}
363func (e *IllegalDelete) ErrorMessage() string {
364	if e.Message == nil {
365		return ""
366	}
367	return *e.Message
368}
369func (e *IllegalDelete) ErrorCode() string             { return "IllegalDelete" }
370func (e *IllegalDelete) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
371
372// The specified configuration for field-level encryption can't be associated with
373// the specified cache behavior.
374type IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior struct {
375	Message *string
376}
377
378func (e *IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior) Error() string {
379	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
380}
381func (e *IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior) ErrorMessage() string {
382	if e.Message == nil {
383		return ""
384	}
385	return *e.Message
386}
387func (e *IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior) ErrorCode() string {
388	return "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior"
389}
390func (e *IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior) ErrorFault() smithy.ErrorFault {
391	return smithy.FaultClient
392}
393
394// The update contains modifications that are not allowed.
395type IllegalUpdate struct {
396	Message *string
397}
398
399func (e *IllegalUpdate) Error() string {
400	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
401}
402func (e *IllegalUpdate) ErrorMessage() string {
403	if e.Message == nil {
404		return ""
405	}
406	return *e.Message
407}
408func (e *IllegalUpdate) ErrorCode() string             { return "IllegalUpdate" }
409func (e *IllegalUpdate) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
410
411// The value of Quantity and the size of Items don't match.
412type InconsistentQuantities struct {
413	Message *string
414}
415
416func (e *InconsistentQuantities) Error() string {
417	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
418}
419func (e *InconsistentQuantities) ErrorMessage() string {
420	if e.Message == nil {
421		return ""
422	}
423	return *e.Message
424}
425func (e *InconsistentQuantities) ErrorCode() string             { return "InconsistentQuantities" }
426func (e *InconsistentQuantities) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
427
428// An argument is invalid.
429type InvalidArgument struct {
430	Message *string
431}
432
433func (e *InvalidArgument) Error() string {
434	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
435}
436func (e *InvalidArgument) ErrorMessage() string {
437	if e.Message == nil {
438		return ""
439	}
440	return *e.Message
441}
442func (e *InvalidArgument) ErrorCode() string             { return "InvalidArgument" }
443func (e *InvalidArgument) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
444
445// The default root object file name is too big or contains an invalid character.
446type InvalidDefaultRootObject struct {
447	Message *string
448}
449
450func (e *InvalidDefaultRootObject) Error() string {
451	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
452}
453func (e *InvalidDefaultRootObject) ErrorMessage() string {
454	if e.Message == nil {
455		return ""
456	}
457	return *e.Message
458}
459func (e *InvalidDefaultRootObject) ErrorCode() string             { return "InvalidDefaultRootObject" }
460func (e *InvalidDefaultRootObject) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
461
462// An invalid error code was specified.
463type InvalidErrorCode struct {
464	Message *string
465}
466
467func (e *InvalidErrorCode) Error() string {
468	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
469}
470func (e *InvalidErrorCode) ErrorMessage() string {
471	if e.Message == nil {
472		return ""
473	}
474	return *e.Message
475}
476func (e *InvalidErrorCode) ErrorCode() string             { return "InvalidErrorCode" }
477func (e *InvalidErrorCode) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
478
479// Your request contains forward cookies option which doesn't match with the
480// expectation for the whitelisted list of cookie names. Either list of cookie
481// names has been specified when not allowed or list of cookie names is missing
482// when expected.
483type InvalidForwardCookies struct {
484	Message *string
485}
486
487func (e *InvalidForwardCookies) Error() string {
488	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
489}
490func (e *InvalidForwardCookies) ErrorMessage() string {
491	if e.Message == nil {
492		return ""
493	}
494	return *e.Message
495}
496func (e *InvalidForwardCookies) ErrorCode() string             { return "InvalidForwardCookies" }
497func (e *InvalidForwardCookies) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
498
499// A CloudFront function association is invalid.
500type InvalidFunctionAssociation struct {
501	Message *string
502}
503
504func (e *InvalidFunctionAssociation) Error() string {
505	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
506}
507func (e *InvalidFunctionAssociation) ErrorMessage() string {
508	if e.Message == nil {
509		return ""
510	}
511	return *e.Message
512}
513func (e *InvalidFunctionAssociation) ErrorCode() string             { return "InvalidFunctionAssociation" }
514func (e *InvalidFunctionAssociation) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
515
516// The specified geo restriction parameter is not valid.
517type InvalidGeoRestrictionParameter struct {
518	Message *string
519}
520
521func (e *InvalidGeoRestrictionParameter) Error() string {
522	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
523}
524func (e *InvalidGeoRestrictionParameter) ErrorMessage() string {
525	if e.Message == nil {
526		return ""
527	}
528	return *e.Message
529}
530func (e *InvalidGeoRestrictionParameter) ErrorCode() string             { return "InvalidGeoRestrictionParameter" }
531func (e *InvalidGeoRestrictionParameter) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
532
533// The headers specified are not valid for an Amazon S3 origin.
534type InvalidHeadersForS3Origin struct {
535	Message *string
536}
537
538func (e *InvalidHeadersForS3Origin) Error() string {
539	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
540}
541func (e *InvalidHeadersForS3Origin) ErrorMessage() string {
542	if e.Message == nil {
543		return ""
544	}
545	return *e.Message
546}
547func (e *InvalidHeadersForS3Origin) ErrorCode() string             { return "InvalidHeadersForS3Origin" }
548func (e *InvalidHeadersForS3Origin) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
549
550// The If-Match version is missing or not valid.
551type InvalidIfMatchVersion struct {
552	Message *string
553}
554
555func (e *InvalidIfMatchVersion) Error() string {
556	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
557}
558func (e *InvalidIfMatchVersion) ErrorMessage() string {
559	if e.Message == nil {
560		return ""
561	}
562	return *e.Message
563}
564func (e *InvalidIfMatchVersion) ErrorCode() string             { return "InvalidIfMatchVersion" }
565func (e *InvalidIfMatchVersion) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
566
567// The specified Lambda function association is invalid.
568type InvalidLambdaFunctionAssociation struct {
569	Message *string
570}
571
572func (e *InvalidLambdaFunctionAssociation) Error() string {
573	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
574}
575func (e *InvalidLambdaFunctionAssociation) ErrorMessage() string {
576	if e.Message == nil {
577		return ""
578	}
579	return *e.Message
580}
581func (e *InvalidLambdaFunctionAssociation) ErrorCode() string {
582	return "InvalidLambdaFunctionAssociation"
583}
584func (e *InvalidLambdaFunctionAssociation) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
585
586// The location code specified is not valid.
587type InvalidLocationCode struct {
588	Message *string
589}
590
591func (e *InvalidLocationCode) Error() string {
592	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
593}
594func (e *InvalidLocationCode) ErrorMessage() string {
595	if e.Message == nil {
596		return ""
597	}
598	return *e.Message
599}
600func (e *InvalidLocationCode) ErrorCode() string             { return "InvalidLocationCode" }
601func (e *InvalidLocationCode) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
602
603// The minimum protocol version specified is not valid.
604type InvalidMinimumProtocolVersion struct {
605	Message *string
606}
607
608func (e *InvalidMinimumProtocolVersion) Error() string {
609	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
610}
611func (e *InvalidMinimumProtocolVersion) ErrorMessage() string {
612	if e.Message == nil {
613		return ""
614	}
615	return *e.Message
616}
617func (e *InvalidMinimumProtocolVersion) ErrorCode() string             { return "InvalidMinimumProtocolVersion" }
618func (e *InvalidMinimumProtocolVersion) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
619
620// The Amazon S3 origin server specified does not refer to a valid Amazon S3
621// bucket.
622type InvalidOrigin struct {
623	Message *string
624}
625
626func (e *InvalidOrigin) Error() string {
627	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
628}
629func (e *InvalidOrigin) ErrorMessage() string {
630	if e.Message == nil {
631		return ""
632	}
633	return *e.Message
634}
635func (e *InvalidOrigin) ErrorCode() string             { return "InvalidOrigin" }
636func (e *InvalidOrigin) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
637
638// The origin access identity is not valid or doesn't exist.
639type InvalidOriginAccessIdentity struct {
640	Message *string
641}
642
643func (e *InvalidOriginAccessIdentity) Error() string {
644	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
645}
646func (e *InvalidOriginAccessIdentity) ErrorMessage() string {
647	if e.Message == nil {
648		return ""
649	}
650	return *e.Message
651}
652func (e *InvalidOriginAccessIdentity) ErrorCode() string             { return "InvalidOriginAccessIdentity" }
653func (e *InvalidOriginAccessIdentity) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
654
655// The keep alive timeout specified for the origin is not valid.
656type InvalidOriginKeepaliveTimeout struct {
657	Message *string
658}
659
660func (e *InvalidOriginKeepaliveTimeout) Error() string {
661	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
662}
663func (e *InvalidOriginKeepaliveTimeout) ErrorMessage() string {
664	if e.Message == nil {
665		return ""
666	}
667	return *e.Message
668}
669func (e *InvalidOriginKeepaliveTimeout) ErrorCode() string             { return "InvalidOriginKeepaliveTimeout" }
670func (e *InvalidOriginKeepaliveTimeout) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
671
672// The read timeout specified for the origin is not valid.
673type InvalidOriginReadTimeout struct {
674	Message *string
675}
676
677func (e *InvalidOriginReadTimeout) Error() string {
678	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
679}
680func (e *InvalidOriginReadTimeout) ErrorMessage() string {
681	if e.Message == nil {
682		return ""
683	}
684	return *e.Message
685}
686func (e *InvalidOriginReadTimeout) ErrorCode() string             { return "InvalidOriginReadTimeout" }
687func (e *InvalidOriginReadTimeout) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
688
689// You cannot specify SSLv3 as the minimum protocol version if you only want to
690// support only clients that support Server Name Indication (SNI).
691type InvalidProtocolSettings struct {
692	Message *string
693}
694
695func (e *InvalidProtocolSettings) Error() string {
696	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
697}
698func (e *InvalidProtocolSettings) ErrorMessage() string {
699	if e.Message == nil {
700		return ""
701	}
702	return *e.Message
703}
704func (e *InvalidProtocolSettings) ErrorCode() string             { return "InvalidProtocolSettings" }
705func (e *InvalidProtocolSettings) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
706
707// The query string parameters specified are not valid.
708type InvalidQueryStringParameters struct {
709	Message *string
710}
711
712func (e *InvalidQueryStringParameters) Error() string {
713	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
714}
715func (e *InvalidQueryStringParameters) ErrorMessage() string {
716	if e.Message == nil {
717		return ""
718	}
719	return *e.Message
720}
721func (e *InvalidQueryStringParameters) ErrorCode() string             { return "InvalidQueryStringParameters" }
722func (e *InvalidQueryStringParameters) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
723
724// The relative path is too big, is not URL-encoded, or does not begin with a slash
725// (/).
726type InvalidRelativePath struct {
727	Message *string
728}
729
730func (e *InvalidRelativePath) Error() string {
731	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
732}
733func (e *InvalidRelativePath) ErrorMessage() string {
734	if e.Message == nil {
735		return ""
736	}
737	return *e.Message
738}
739func (e *InvalidRelativePath) ErrorCode() string             { return "InvalidRelativePath" }
740func (e *InvalidRelativePath) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
741
742// This operation requires the HTTPS protocol. Ensure that you specify the HTTPS
743// protocol in your request, or omit the RequiredProtocols element from your
744// distribution configuration.
745type InvalidRequiredProtocol struct {
746	Message *string
747}
748
749func (e *InvalidRequiredProtocol) Error() string {
750	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
751}
752func (e *InvalidRequiredProtocol) ErrorMessage() string {
753	if e.Message == nil {
754		return ""
755	}
756	return *e.Message
757}
758func (e *InvalidRequiredProtocol) ErrorCode() string             { return "InvalidRequiredProtocol" }
759func (e *InvalidRequiredProtocol) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
760
761// A response code is not valid.
762type InvalidResponseCode struct {
763	Message *string
764}
765
766func (e *InvalidResponseCode) Error() string {
767	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
768}
769func (e *InvalidResponseCode) ErrorMessage() string {
770	if e.Message == nil {
771		return ""
772	}
773	return *e.Message
774}
775func (e *InvalidResponseCode) ErrorCode() string             { return "InvalidResponseCode" }
776func (e *InvalidResponseCode) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
777
778// The tagging specified is not valid.
779type InvalidTagging struct {
780	Message *string
781}
782
783func (e *InvalidTagging) Error() string {
784	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
785}
786func (e *InvalidTagging) ErrorMessage() string {
787	if e.Message == nil {
788		return ""
789	}
790	return *e.Message
791}
792func (e *InvalidTagging) ErrorCode() string             { return "InvalidTagging" }
793func (e *InvalidTagging) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
794
795// The TTL order specified is not valid.
796type InvalidTTLOrder struct {
797	Message *string
798}
799
800func (e *InvalidTTLOrder) Error() string {
801	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
802}
803func (e *InvalidTTLOrder) ErrorMessage() string {
804	if e.Message == nil {
805		return ""
806	}
807	return *e.Message
808}
809func (e *InvalidTTLOrder) ErrorCode() string             { return "InvalidTTLOrder" }
810func (e *InvalidTTLOrder) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
811
812// A viewer certificate specified is not valid.
813type InvalidViewerCertificate struct {
814	Message *string
815}
816
817func (e *InvalidViewerCertificate) Error() string {
818	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
819}
820func (e *InvalidViewerCertificate) ErrorMessage() string {
821	if e.Message == nil {
822		return ""
823	}
824	return *e.Message
825}
826func (e *InvalidViewerCertificate) ErrorCode() string             { return "InvalidViewerCertificate" }
827func (e *InvalidViewerCertificate) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
828
829// A web ACL ID specified is not valid. To specify a web ACL created using the
830// latest version of AWS WAF, use the ACL ARN, for example
831// arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a.
832// To specify a web ACL created using AWS WAF Classic, use the ACL ID, for example
833// 473e64fd-f30b-4765-81a0-62ad96dd167a.
834type InvalidWebACLId struct {
835	Message *string
836}
837
838func (e *InvalidWebACLId) Error() string {
839	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
840}
841func (e *InvalidWebACLId) ErrorMessage() string {
842	if e.Message == nil {
843		return ""
844	}
845	return *e.Message
846}
847func (e *InvalidWebACLId) ErrorCode() string             { return "InvalidWebACLId" }
848func (e *InvalidWebACLId) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
849
850// A key group with this name already exists. You must provide a unique name. To
851// modify an existing key group, use UpdateKeyGroup.
852type KeyGroupAlreadyExists struct {
853	Message *string
854}
855
856func (e *KeyGroupAlreadyExists) Error() string {
857	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
858}
859func (e *KeyGroupAlreadyExists) ErrorMessage() string {
860	if e.Message == nil {
861		return ""
862	}
863	return *e.Message
864}
865func (e *KeyGroupAlreadyExists) ErrorCode() string             { return "KeyGroupAlreadyExists" }
866func (e *KeyGroupAlreadyExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
867
868// This operation requires a body. Ensure that the body is present and the
869// Content-Type header is set.
870type MissingBody struct {
871	Message *string
872}
873
874func (e *MissingBody) Error() string {
875	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
876}
877func (e *MissingBody) ErrorMessage() string {
878	if e.Message == nil {
879		return ""
880	}
881	return *e.Message
882}
883func (e *MissingBody) ErrorCode() string             { return "MissingBody" }
884func (e *MissingBody) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
885
886// The cache policy does not exist.
887type NoSuchCachePolicy struct {
888	Message *string
889}
890
891func (e *NoSuchCachePolicy) Error() string {
892	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
893}
894func (e *NoSuchCachePolicy) ErrorMessage() string {
895	if e.Message == nil {
896		return ""
897	}
898	return *e.Message
899}
900func (e *NoSuchCachePolicy) ErrorCode() string             { return "NoSuchCachePolicy" }
901func (e *NoSuchCachePolicy) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
902
903// The specified origin access identity does not exist.
904type NoSuchCloudFrontOriginAccessIdentity struct {
905	Message *string
906}
907
908func (e *NoSuchCloudFrontOriginAccessIdentity) Error() string {
909	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
910}
911func (e *NoSuchCloudFrontOriginAccessIdentity) ErrorMessage() string {
912	if e.Message == nil {
913		return ""
914	}
915	return *e.Message
916}
917func (e *NoSuchCloudFrontOriginAccessIdentity) ErrorCode() string {
918	return "NoSuchCloudFrontOriginAccessIdentity"
919}
920func (e *NoSuchCloudFrontOriginAccessIdentity) ErrorFault() smithy.ErrorFault {
921	return smithy.FaultClient
922}
923
924// The specified distribution does not exist.
925type NoSuchDistribution struct {
926	Message *string
927}
928
929func (e *NoSuchDistribution) Error() string {
930	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
931}
932func (e *NoSuchDistribution) ErrorMessage() string {
933	if e.Message == nil {
934		return ""
935	}
936	return *e.Message
937}
938func (e *NoSuchDistribution) ErrorCode() string             { return "NoSuchDistribution" }
939func (e *NoSuchDistribution) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
940
941// The specified configuration for field-level encryption doesn't exist.
942type NoSuchFieldLevelEncryptionConfig struct {
943	Message *string
944}
945
946func (e *NoSuchFieldLevelEncryptionConfig) Error() string {
947	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
948}
949func (e *NoSuchFieldLevelEncryptionConfig) ErrorMessage() string {
950	if e.Message == nil {
951		return ""
952	}
953	return *e.Message
954}
955func (e *NoSuchFieldLevelEncryptionConfig) ErrorCode() string {
956	return "NoSuchFieldLevelEncryptionConfig"
957}
958func (e *NoSuchFieldLevelEncryptionConfig) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
959
960// The specified profile for field-level encryption doesn't exist.
961type NoSuchFieldLevelEncryptionProfile struct {
962	Message *string
963}
964
965func (e *NoSuchFieldLevelEncryptionProfile) Error() string {
966	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
967}
968func (e *NoSuchFieldLevelEncryptionProfile) ErrorMessage() string {
969	if e.Message == nil {
970		return ""
971	}
972	return *e.Message
973}
974func (e *NoSuchFieldLevelEncryptionProfile) ErrorCode() string {
975	return "NoSuchFieldLevelEncryptionProfile"
976}
977func (e *NoSuchFieldLevelEncryptionProfile) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
978
979// The function does not exist.
980type NoSuchFunctionExists struct {
981	Message *string
982}
983
984func (e *NoSuchFunctionExists) Error() string {
985	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
986}
987func (e *NoSuchFunctionExists) ErrorMessage() string {
988	if e.Message == nil {
989		return ""
990	}
991	return *e.Message
992}
993func (e *NoSuchFunctionExists) ErrorCode() string             { return "NoSuchFunctionExists" }
994func (e *NoSuchFunctionExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
995
996// The specified invalidation does not exist.
997type NoSuchInvalidation struct {
998	Message *string
999}
1000
1001func (e *NoSuchInvalidation) Error() string {
1002	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1003}
1004func (e *NoSuchInvalidation) ErrorMessage() string {
1005	if e.Message == nil {
1006		return ""
1007	}
1008	return *e.Message
1009}
1010func (e *NoSuchInvalidation) ErrorCode() string             { return "NoSuchInvalidation" }
1011func (e *NoSuchInvalidation) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1012
1013// No origin exists with the specified Origin Id.
1014type NoSuchOrigin struct {
1015	Message *string
1016}
1017
1018func (e *NoSuchOrigin) Error() string {
1019	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1020}
1021func (e *NoSuchOrigin) ErrorMessage() string {
1022	if e.Message == nil {
1023		return ""
1024	}
1025	return *e.Message
1026}
1027func (e *NoSuchOrigin) ErrorCode() string             { return "NoSuchOrigin" }
1028func (e *NoSuchOrigin) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1029
1030// The origin request policy does not exist.
1031type NoSuchOriginRequestPolicy struct {
1032	Message *string
1033}
1034
1035func (e *NoSuchOriginRequestPolicy) Error() string {
1036	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1037}
1038func (e *NoSuchOriginRequestPolicy) ErrorMessage() string {
1039	if e.Message == nil {
1040		return ""
1041	}
1042	return *e.Message
1043}
1044func (e *NoSuchOriginRequestPolicy) ErrorCode() string             { return "NoSuchOriginRequestPolicy" }
1045func (e *NoSuchOriginRequestPolicy) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1046
1047// The specified public key doesn't exist.
1048type NoSuchPublicKey struct {
1049	Message *string
1050}
1051
1052func (e *NoSuchPublicKey) Error() string {
1053	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1054}
1055func (e *NoSuchPublicKey) ErrorMessage() string {
1056	if e.Message == nil {
1057		return ""
1058	}
1059	return *e.Message
1060}
1061func (e *NoSuchPublicKey) ErrorCode() string             { return "NoSuchPublicKey" }
1062func (e *NoSuchPublicKey) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1063
1064// The real-time log configuration does not exist.
1065type NoSuchRealtimeLogConfig struct {
1066	Message *string
1067}
1068
1069func (e *NoSuchRealtimeLogConfig) Error() string {
1070	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1071}
1072func (e *NoSuchRealtimeLogConfig) ErrorMessage() string {
1073	if e.Message == nil {
1074		return ""
1075	}
1076	return *e.Message
1077}
1078func (e *NoSuchRealtimeLogConfig) ErrorCode() string             { return "NoSuchRealtimeLogConfig" }
1079func (e *NoSuchRealtimeLogConfig) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1080
1081// A resource that was specified is not valid.
1082type NoSuchResource struct {
1083	Message *string
1084}
1085
1086func (e *NoSuchResource) Error() string {
1087	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1088}
1089func (e *NoSuchResource) ErrorMessage() string {
1090	if e.Message == nil {
1091		return ""
1092	}
1093	return *e.Message
1094}
1095func (e *NoSuchResource) ErrorCode() string             { return "NoSuchResource" }
1096func (e *NoSuchResource) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1097
1098// The specified streaming distribution does not exist.
1099type NoSuchStreamingDistribution struct {
1100	Message *string
1101}
1102
1103func (e *NoSuchStreamingDistribution) Error() string {
1104	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1105}
1106func (e *NoSuchStreamingDistribution) ErrorMessage() string {
1107	if e.Message == nil {
1108		return ""
1109	}
1110	return *e.Message
1111}
1112func (e *NoSuchStreamingDistribution) ErrorCode() string             { return "NoSuchStreamingDistribution" }
1113func (e *NoSuchStreamingDistribution) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1114
1115// An origin request policy with this name already exists. You must provide a
1116// unique name. To modify an existing origin request policy, use
1117// UpdateOriginRequestPolicy.
1118type OriginRequestPolicyAlreadyExists struct {
1119	Message *string
1120}
1121
1122func (e *OriginRequestPolicyAlreadyExists) Error() string {
1123	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1124}
1125func (e *OriginRequestPolicyAlreadyExists) ErrorMessage() string {
1126	if e.Message == nil {
1127		return ""
1128	}
1129	return *e.Message
1130}
1131func (e *OriginRequestPolicyAlreadyExists) ErrorCode() string {
1132	return "OriginRequestPolicyAlreadyExists"
1133}
1134func (e *OriginRequestPolicyAlreadyExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1135
1136// Cannot delete the origin request policy because it is attached to one or more
1137// cache behaviors.
1138type OriginRequestPolicyInUse struct {
1139	Message *string
1140}
1141
1142func (e *OriginRequestPolicyInUse) Error() string {
1143	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1144}
1145func (e *OriginRequestPolicyInUse) ErrorMessage() string {
1146	if e.Message == nil {
1147		return ""
1148	}
1149	return *e.Message
1150}
1151func (e *OriginRequestPolicyInUse) ErrorCode() string             { return "OriginRequestPolicyInUse" }
1152func (e *OriginRequestPolicyInUse) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1153
1154// The precondition in one or more of the request fields evaluated to false.
1155type PreconditionFailed struct {
1156	Message *string
1157}
1158
1159func (e *PreconditionFailed) Error() string {
1160	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1161}
1162func (e *PreconditionFailed) ErrorMessage() string {
1163	if e.Message == nil {
1164		return ""
1165	}
1166	return *e.Message
1167}
1168func (e *PreconditionFailed) ErrorCode() string             { return "PreconditionFailed" }
1169func (e *PreconditionFailed) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1170
1171// The specified public key already exists.
1172type PublicKeyAlreadyExists struct {
1173	Message *string
1174}
1175
1176func (e *PublicKeyAlreadyExists) Error() string {
1177	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1178}
1179func (e *PublicKeyAlreadyExists) ErrorMessage() string {
1180	if e.Message == nil {
1181		return ""
1182	}
1183	return *e.Message
1184}
1185func (e *PublicKeyAlreadyExists) ErrorCode() string             { return "PublicKeyAlreadyExists" }
1186func (e *PublicKeyAlreadyExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1187
1188// The specified public key is in use.
1189type PublicKeyInUse struct {
1190	Message *string
1191}
1192
1193func (e *PublicKeyInUse) Error() string {
1194	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1195}
1196func (e *PublicKeyInUse) ErrorMessage() string {
1197	if e.Message == nil {
1198		return ""
1199	}
1200	return *e.Message
1201}
1202func (e *PublicKeyInUse) ErrorCode() string             { return "PublicKeyInUse" }
1203func (e *PublicKeyInUse) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1204
1205// No profile specified for the field-level encryption query argument.
1206type QueryArgProfileEmpty struct {
1207	Message *string
1208}
1209
1210func (e *QueryArgProfileEmpty) Error() string {
1211	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1212}
1213func (e *QueryArgProfileEmpty) ErrorMessage() string {
1214	if e.Message == nil {
1215		return ""
1216	}
1217	return *e.Message
1218}
1219func (e *QueryArgProfileEmpty) ErrorCode() string             { return "QueryArgProfileEmpty" }
1220func (e *QueryArgProfileEmpty) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1221
1222// A real-time log configuration with this name already exists. You must provide a
1223// unique name. To modify an existing real-time log configuration, use
1224// UpdateRealtimeLogConfig.
1225type RealtimeLogConfigAlreadyExists struct {
1226	Message *string
1227}
1228
1229func (e *RealtimeLogConfigAlreadyExists) Error() string {
1230	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1231}
1232func (e *RealtimeLogConfigAlreadyExists) ErrorMessage() string {
1233	if e.Message == nil {
1234		return ""
1235	}
1236	return *e.Message
1237}
1238func (e *RealtimeLogConfigAlreadyExists) ErrorCode() string             { return "RealtimeLogConfigAlreadyExists" }
1239func (e *RealtimeLogConfigAlreadyExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1240
1241// Cannot delete the real-time log configuration because it is attached to one or
1242// more cache behaviors.
1243type RealtimeLogConfigInUse struct {
1244	Message *string
1245}
1246
1247func (e *RealtimeLogConfigInUse) Error() string {
1248	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1249}
1250func (e *RealtimeLogConfigInUse) ErrorMessage() string {
1251	if e.Message == nil {
1252		return ""
1253	}
1254	return *e.Message
1255}
1256func (e *RealtimeLogConfigInUse) ErrorCode() string             { return "RealtimeLogConfigInUse" }
1257func (e *RealtimeLogConfigInUse) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1258
1259// The specified real-time log configuration belongs to a different AWS account.
1260type RealtimeLogConfigOwnerMismatch struct {
1261	Message *string
1262}
1263
1264func (e *RealtimeLogConfigOwnerMismatch) Error() string {
1265	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1266}
1267func (e *RealtimeLogConfigOwnerMismatch) ErrorMessage() string {
1268	if e.Message == nil {
1269		return ""
1270	}
1271	return *e.Message
1272}
1273func (e *RealtimeLogConfigOwnerMismatch) ErrorCode() string             { return "RealtimeLogConfigOwnerMismatch" }
1274func (e *RealtimeLogConfigOwnerMismatch) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1275
1276// Cannot delete this resource because it is in use.
1277type ResourceInUse struct {
1278	Message *string
1279}
1280
1281func (e *ResourceInUse) Error() string {
1282	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1283}
1284func (e *ResourceInUse) ErrorMessage() string {
1285	if e.Message == nil {
1286		return ""
1287	}
1288	return *e.Message
1289}
1290func (e *ResourceInUse) ErrorCode() string             { return "ResourceInUse" }
1291func (e *ResourceInUse) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1292
1293// The caller reference you attempted to create the streaming distribution with is
1294// associated with another distribution
1295type StreamingDistributionAlreadyExists struct {
1296	Message *string
1297}
1298
1299func (e *StreamingDistributionAlreadyExists) Error() string {
1300	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1301}
1302func (e *StreamingDistributionAlreadyExists) ErrorMessage() string {
1303	if e.Message == nil {
1304		return ""
1305	}
1306	return *e.Message
1307}
1308func (e *StreamingDistributionAlreadyExists) ErrorCode() string {
1309	return "StreamingDistributionAlreadyExists"
1310}
1311func (e *StreamingDistributionAlreadyExists) ErrorFault() smithy.ErrorFault {
1312	return smithy.FaultClient
1313}
1314
1315// The specified CloudFront distribution is not disabled. You must disable the
1316// distribution before you can delete it.
1317type StreamingDistributionNotDisabled struct {
1318	Message *string
1319}
1320
1321func (e *StreamingDistributionNotDisabled) Error() string {
1322	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1323}
1324func (e *StreamingDistributionNotDisabled) ErrorMessage() string {
1325	if e.Message == nil {
1326		return ""
1327	}
1328	return *e.Message
1329}
1330func (e *StreamingDistributionNotDisabled) ErrorCode() string {
1331	return "StreamingDistributionNotDisabled"
1332}
1333func (e *StreamingDistributionNotDisabled) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1334
1335// The CloudFront function failed.
1336type TestFunctionFailed struct {
1337	Message *string
1338}
1339
1340func (e *TestFunctionFailed) Error() string {
1341	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1342}
1343func (e *TestFunctionFailed) ErrorMessage() string {
1344	if e.Message == nil {
1345		return ""
1346	}
1347	return *e.Message
1348}
1349func (e *TestFunctionFailed) ErrorCode() string             { return "TestFunctionFailed" }
1350func (e *TestFunctionFailed) ErrorFault() smithy.ErrorFault { return smithy.FaultServer }
1351
1352// You cannot create more cache behaviors for the distribution.
1353type TooManyCacheBehaviors struct {
1354	Message *string
1355}
1356
1357func (e *TooManyCacheBehaviors) Error() string {
1358	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1359}
1360func (e *TooManyCacheBehaviors) ErrorMessage() string {
1361	if e.Message == nil {
1362		return ""
1363	}
1364	return *e.Message
1365}
1366func (e *TooManyCacheBehaviors) ErrorCode() string             { return "TooManyCacheBehaviors" }
1367func (e *TooManyCacheBehaviors) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1368
1369// You have reached the maximum number of cache policies for this AWS account. For
1370// more information, see Quotas
1371// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
1372// (formerly known as limits) in the Amazon CloudFront Developer Guide.
1373type TooManyCachePolicies struct {
1374	Message *string
1375}
1376
1377func (e *TooManyCachePolicies) Error() string {
1378	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1379}
1380func (e *TooManyCachePolicies) ErrorMessage() string {
1381	if e.Message == nil {
1382		return ""
1383	}
1384	return *e.Message
1385}
1386func (e *TooManyCachePolicies) ErrorCode() string             { return "TooManyCachePolicies" }
1387func (e *TooManyCachePolicies) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1388
1389// You cannot create anymore custom SSL/TLS certificates.
1390type TooManyCertificates struct {
1391	Message *string
1392}
1393
1394func (e *TooManyCertificates) Error() string {
1395	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1396}
1397func (e *TooManyCertificates) ErrorMessage() string {
1398	if e.Message == nil {
1399		return ""
1400	}
1401	return *e.Message
1402}
1403func (e *TooManyCertificates) ErrorCode() string             { return "TooManyCertificates" }
1404func (e *TooManyCertificates) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1405
1406// Processing your request would cause you to exceed the maximum number of origin
1407// access identities allowed.
1408type TooManyCloudFrontOriginAccessIdentities struct {
1409	Message *string
1410}
1411
1412func (e *TooManyCloudFrontOriginAccessIdentities) Error() string {
1413	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1414}
1415func (e *TooManyCloudFrontOriginAccessIdentities) ErrorMessage() string {
1416	if e.Message == nil {
1417		return ""
1418	}
1419	return *e.Message
1420}
1421func (e *TooManyCloudFrontOriginAccessIdentities) ErrorCode() string {
1422	return "TooManyCloudFrontOriginAccessIdentities"
1423}
1424func (e *TooManyCloudFrontOriginAccessIdentities) ErrorFault() smithy.ErrorFault {
1425	return smithy.FaultClient
1426}
1427
1428// Your request contains more cookie names in the whitelist than are allowed per
1429// cache behavior.
1430type TooManyCookieNamesInWhiteList struct {
1431	Message *string
1432}
1433
1434func (e *TooManyCookieNamesInWhiteList) Error() string {
1435	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1436}
1437func (e *TooManyCookieNamesInWhiteList) ErrorMessage() string {
1438	if e.Message == nil {
1439		return ""
1440	}
1441	return *e.Message
1442}
1443func (e *TooManyCookieNamesInWhiteList) ErrorCode() string             { return "TooManyCookieNamesInWhiteList" }
1444func (e *TooManyCookieNamesInWhiteList) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1445
1446// The number of cookies in the cache policy exceeds the maximum. For more
1447// information, see Quotas
1448// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
1449// (formerly known as limits) in the Amazon CloudFront Developer Guide.
1450type TooManyCookiesInCachePolicy struct {
1451	Message *string
1452}
1453
1454func (e *TooManyCookiesInCachePolicy) Error() string {
1455	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1456}
1457func (e *TooManyCookiesInCachePolicy) ErrorMessage() string {
1458	if e.Message == nil {
1459		return ""
1460	}
1461	return *e.Message
1462}
1463func (e *TooManyCookiesInCachePolicy) ErrorCode() string             { return "TooManyCookiesInCachePolicy" }
1464func (e *TooManyCookiesInCachePolicy) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1465
1466// The number of cookies in the origin request policy exceeds the maximum. For more
1467// information, see Quotas
1468// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
1469// (formerly known as limits) in the Amazon CloudFront Developer Guide.
1470type TooManyCookiesInOriginRequestPolicy struct {
1471	Message *string
1472}
1473
1474func (e *TooManyCookiesInOriginRequestPolicy) Error() string {
1475	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1476}
1477func (e *TooManyCookiesInOriginRequestPolicy) ErrorMessage() string {
1478	if e.Message == nil {
1479		return ""
1480	}
1481	return *e.Message
1482}
1483func (e *TooManyCookiesInOriginRequestPolicy) ErrorCode() string {
1484	return "TooManyCookiesInOriginRequestPolicy"
1485}
1486func (e *TooManyCookiesInOriginRequestPolicy) ErrorFault() smithy.ErrorFault {
1487	return smithy.FaultClient
1488}
1489
1490// Your request contains more CNAMEs than are allowed per distribution.
1491type TooManyDistributionCNAMEs struct {
1492	Message *string
1493}
1494
1495func (e *TooManyDistributionCNAMEs) Error() string {
1496	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1497}
1498func (e *TooManyDistributionCNAMEs) ErrorMessage() string {
1499	if e.Message == nil {
1500		return ""
1501	}
1502	return *e.Message
1503}
1504func (e *TooManyDistributionCNAMEs) ErrorCode() string             { return "TooManyDistributionCNAMEs" }
1505func (e *TooManyDistributionCNAMEs) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1506
1507// Processing your request would cause you to exceed the maximum number of
1508// distributions allowed.
1509type TooManyDistributions struct {
1510	Message *string
1511}
1512
1513func (e *TooManyDistributions) Error() string {
1514	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1515}
1516func (e *TooManyDistributions) ErrorMessage() string {
1517	if e.Message == nil {
1518		return ""
1519	}
1520	return *e.Message
1521}
1522func (e *TooManyDistributions) ErrorCode() string             { return "TooManyDistributions" }
1523func (e *TooManyDistributions) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1524
1525// The maximum number of distributions have been associated with the specified
1526// cache policy. For more information, see Quotas
1527// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
1528// (formerly known as limits) in the Amazon CloudFront Developer Guide.
1529type TooManyDistributionsAssociatedToCachePolicy struct {
1530	Message *string
1531}
1532
1533func (e *TooManyDistributionsAssociatedToCachePolicy) Error() string {
1534	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1535}
1536func (e *TooManyDistributionsAssociatedToCachePolicy) ErrorMessage() string {
1537	if e.Message == nil {
1538		return ""
1539	}
1540	return *e.Message
1541}
1542func (e *TooManyDistributionsAssociatedToCachePolicy) ErrorCode() string {
1543	return "TooManyDistributionsAssociatedToCachePolicy"
1544}
1545func (e *TooManyDistributionsAssociatedToCachePolicy) ErrorFault() smithy.ErrorFault {
1546	return smithy.FaultClient
1547}
1548
1549// The maximum number of distributions have been associated with the specified
1550// configuration for field-level encryption.
1551type TooManyDistributionsAssociatedToFieldLevelEncryptionConfig struct {
1552	Message *string
1553}
1554
1555func (e *TooManyDistributionsAssociatedToFieldLevelEncryptionConfig) Error() string {
1556	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1557}
1558func (e *TooManyDistributionsAssociatedToFieldLevelEncryptionConfig) ErrorMessage() string {
1559	if e.Message == nil {
1560		return ""
1561	}
1562	return *e.Message
1563}
1564func (e *TooManyDistributionsAssociatedToFieldLevelEncryptionConfig) ErrorCode() string {
1565	return "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig"
1566}
1567func (e *TooManyDistributionsAssociatedToFieldLevelEncryptionConfig) ErrorFault() smithy.ErrorFault {
1568	return smithy.FaultClient
1569}
1570
1571// The number of distributions that reference this key group is more than the
1572// maximum allowed. For more information, see Quotas
1573// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
1574// (formerly known as limits) in the Amazon CloudFront Developer Guide.
1575type TooManyDistributionsAssociatedToKeyGroup struct {
1576	Message *string
1577}
1578
1579func (e *TooManyDistributionsAssociatedToKeyGroup) Error() string {
1580	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1581}
1582func (e *TooManyDistributionsAssociatedToKeyGroup) ErrorMessage() string {
1583	if e.Message == nil {
1584		return ""
1585	}
1586	return *e.Message
1587}
1588func (e *TooManyDistributionsAssociatedToKeyGroup) ErrorCode() string {
1589	return "TooManyDistributionsAssociatedToKeyGroup"
1590}
1591func (e *TooManyDistributionsAssociatedToKeyGroup) ErrorFault() smithy.ErrorFault {
1592	return smithy.FaultClient
1593}
1594
1595// The maximum number of distributions have been associated with the specified
1596// origin request policy. For more information, see Quotas
1597// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
1598// (formerly known as limits) in the Amazon CloudFront Developer Guide.
1599type TooManyDistributionsAssociatedToOriginRequestPolicy struct {
1600	Message *string
1601}
1602
1603func (e *TooManyDistributionsAssociatedToOriginRequestPolicy) Error() string {
1604	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1605}
1606func (e *TooManyDistributionsAssociatedToOriginRequestPolicy) ErrorMessage() string {
1607	if e.Message == nil {
1608		return ""
1609	}
1610	return *e.Message
1611}
1612func (e *TooManyDistributionsAssociatedToOriginRequestPolicy) ErrorCode() string {
1613	return "TooManyDistributionsAssociatedToOriginRequestPolicy"
1614}
1615func (e *TooManyDistributionsAssociatedToOriginRequestPolicy) ErrorFault() smithy.ErrorFault {
1616	return smithy.FaultClient
1617}
1618
1619// You have reached the maximum number of distributions that are associated with a
1620// CloudFront function. For more information, see Quotas
1621// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
1622// (formerly known as limits) in the Amazon CloudFront Developer Guide.
1623type TooManyDistributionsWithFunctionAssociations struct {
1624	Message *string
1625}
1626
1627func (e *TooManyDistributionsWithFunctionAssociations) Error() string {
1628	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1629}
1630func (e *TooManyDistributionsWithFunctionAssociations) ErrorMessage() string {
1631	if e.Message == nil {
1632		return ""
1633	}
1634	return *e.Message
1635}
1636func (e *TooManyDistributionsWithFunctionAssociations) ErrorCode() string {
1637	return "TooManyDistributionsWithFunctionAssociations"
1638}
1639func (e *TooManyDistributionsWithFunctionAssociations) ErrorFault() smithy.ErrorFault {
1640	return smithy.FaultClient
1641}
1642
1643// Processing your request would cause the maximum number of distributions with
1644// Lambda function associations per owner to be exceeded.
1645type TooManyDistributionsWithLambdaAssociations struct {
1646	Message *string
1647}
1648
1649func (e *TooManyDistributionsWithLambdaAssociations) Error() string {
1650	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1651}
1652func (e *TooManyDistributionsWithLambdaAssociations) ErrorMessage() string {
1653	if e.Message == nil {
1654		return ""
1655	}
1656	return *e.Message
1657}
1658func (e *TooManyDistributionsWithLambdaAssociations) ErrorCode() string {
1659	return "TooManyDistributionsWithLambdaAssociations"
1660}
1661func (e *TooManyDistributionsWithLambdaAssociations) ErrorFault() smithy.ErrorFault {
1662	return smithy.FaultClient
1663}
1664
1665// The maximum number of distributions have been associated with the specified
1666// Lambda function.
1667type TooManyDistributionsWithSingleFunctionARN struct {
1668	Message *string
1669}
1670
1671func (e *TooManyDistributionsWithSingleFunctionARN) Error() string {
1672	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1673}
1674func (e *TooManyDistributionsWithSingleFunctionARN) ErrorMessage() string {
1675	if e.Message == nil {
1676		return ""
1677	}
1678	return *e.Message
1679}
1680func (e *TooManyDistributionsWithSingleFunctionARN) ErrorCode() string {
1681	return "TooManyDistributionsWithSingleFunctionARN"
1682}
1683func (e *TooManyDistributionsWithSingleFunctionARN) ErrorFault() smithy.ErrorFault {
1684	return smithy.FaultClient
1685}
1686
1687// The maximum number of configurations for field-level encryption have been
1688// created.
1689type TooManyFieldLevelEncryptionConfigs struct {
1690	Message *string
1691}
1692
1693func (e *TooManyFieldLevelEncryptionConfigs) Error() string {
1694	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1695}
1696func (e *TooManyFieldLevelEncryptionConfigs) ErrorMessage() string {
1697	if e.Message == nil {
1698		return ""
1699	}
1700	return *e.Message
1701}
1702func (e *TooManyFieldLevelEncryptionConfigs) ErrorCode() string {
1703	return "TooManyFieldLevelEncryptionConfigs"
1704}
1705func (e *TooManyFieldLevelEncryptionConfigs) ErrorFault() smithy.ErrorFault {
1706	return smithy.FaultClient
1707}
1708
1709// The maximum number of content type profiles for field-level encryption have been
1710// created.
1711type TooManyFieldLevelEncryptionContentTypeProfiles struct {
1712	Message *string
1713}
1714
1715func (e *TooManyFieldLevelEncryptionContentTypeProfiles) Error() string {
1716	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1717}
1718func (e *TooManyFieldLevelEncryptionContentTypeProfiles) ErrorMessage() string {
1719	if e.Message == nil {
1720		return ""
1721	}
1722	return *e.Message
1723}
1724func (e *TooManyFieldLevelEncryptionContentTypeProfiles) ErrorCode() string {
1725	return "TooManyFieldLevelEncryptionContentTypeProfiles"
1726}
1727func (e *TooManyFieldLevelEncryptionContentTypeProfiles) ErrorFault() smithy.ErrorFault {
1728	return smithy.FaultClient
1729}
1730
1731// The maximum number of encryption entities for field-level encryption have been
1732// created.
1733type TooManyFieldLevelEncryptionEncryptionEntities struct {
1734	Message *string
1735}
1736
1737func (e *TooManyFieldLevelEncryptionEncryptionEntities) Error() string {
1738	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1739}
1740func (e *TooManyFieldLevelEncryptionEncryptionEntities) ErrorMessage() string {
1741	if e.Message == nil {
1742		return ""
1743	}
1744	return *e.Message
1745}
1746func (e *TooManyFieldLevelEncryptionEncryptionEntities) ErrorCode() string {
1747	return "TooManyFieldLevelEncryptionEncryptionEntities"
1748}
1749func (e *TooManyFieldLevelEncryptionEncryptionEntities) ErrorFault() smithy.ErrorFault {
1750	return smithy.FaultClient
1751}
1752
1753// The maximum number of field patterns for field-level encryption have been
1754// created.
1755type TooManyFieldLevelEncryptionFieldPatterns struct {
1756	Message *string
1757}
1758
1759func (e *TooManyFieldLevelEncryptionFieldPatterns) Error() string {
1760	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1761}
1762func (e *TooManyFieldLevelEncryptionFieldPatterns) ErrorMessage() string {
1763	if e.Message == nil {
1764		return ""
1765	}
1766	return *e.Message
1767}
1768func (e *TooManyFieldLevelEncryptionFieldPatterns) ErrorCode() string {
1769	return "TooManyFieldLevelEncryptionFieldPatterns"
1770}
1771func (e *TooManyFieldLevelEncryptionFieldPatterns) ErrorFault() smithy.ErrorFault {
1772	return smithy.FaultClient
1773}
1774
1775// The maximum number of profiles for field-level encryption have been created.
1776type TooManyFieldLevelEncryptionProfiles struct {
1777	Message *string
1778}
1779
1780func (e *TooManyFieldLevelEncryptionProfiles) Error() string {
1781	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1782}
1783func (e *TooManyFieldLevelEncryptionProfiles) ErrorMessage() string {
1784	if e.Message == nil {
1785		return ""
1786	}
1787	return *e.Message
1788}
1789func (e *TooManyFieldLevelEncryptionProfiles) ErrorCode() string {
1790	return "TooManyFieldLevelEncryptionProfiles"
1791}
1792func (e *TooManyFieldLevelEncryptionProfiles) ErrorFault() smithy.ErrorFault {
1793	return smithy.FaultClient
1794}
1795
1796// The maximum number of query arg profiles for field-level encryption have been
1797// created.
1798type TooManyFieldLevelEncryptionQueryArgProfiles struct {
1799	Message *string
1800}
1801
1802func (e *TooManyFieldLevelEncryptionQueryArgProfiles) Error() string {
1803	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1804}
1805func (e *TooManyFieldLevelEncryptionQueryArgProfiles) ErrorMessage() string {
1806	if e.Message == nil {
1807		return ""
1808	}
1809	return *e.Message
1810}
1811func (e *TooManyFieldLevelEncryptionQueryArgProfiles) ErrorCode() string {
1812	return "TooManyFieldLevelEncryptionQueryArgProfiles"
1813}
1814func (e *TooManyFieldLevelEncryptionQueryArgProfiles) ErrorFault() smithy.ErrorFault {
1815	return smithy.FaultClient
1816}
1817
1818// You have reached the maximum number of CloudFront function associations for this
1819// distribution. For more information, see Quotas
1820// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
1821// (formerly known as limits) in the Amazon CloudFront Developer Guide.
1822type TooManyFunctionAssociations struct {
1823	Message *string
1824}
1825
1826func (e *TooManyFunctionAssociations) Error() string {
1827	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1828}
1829func (e *TooManyFunctionAssociations) ErrorMessage() string {
1830	if e.Message == nil {
1831		return ""
1832	}
1833	return *e.Message
1834}
1835func (e *TooManyFunctionAssociations) ErrorCode() string             { return "TooManyFunctionAssociations" }
1836func (e *TooManyFunctionAssociations) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1837
1838// You have reached the maximum number of CloudFront functions for this AWS
1839// account. For more information, see Quotas
1840// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
1841// (formerly known as limits) in the Amazon CloudFront Developer Guide.
1842type TooManyFunctions struct {
1843	Message *string
1844}
1845
1846func (e *TooManyFunctions) Error() string {
1847	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1848}
1849func (e *TooManyFunctions) ErrorMessage() string {
1850	if e.Message == nil {
1851		return ""
1852	}
1853	return *e.Message
1854}
1855func (e *TooManyFunctions) ErrorCode() string             { return "TooManyFunctions" }
1856func (e *TooManyFunctions) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1857
1858// The number of headers in the cache policy exceeds the maximum. For more
1859// information, see Quotas
1860// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
1861// (formerly known as limits) in the Amazon CloudFront Developer Guide.
1862type TooManyHeadersInCachePolicy struct {
1863	Message *string
1864}
1865
1866func (e *TooManyHeadersInCachePolicy) Error() string {
1867	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1868}
1869func (e *TooManyHeadersInCachePolicy) ErrorMessage() string {
1870	if e.Message == nil {
1871		return ""
1872	}
1873	return *e.Message
1874}
1875func (e *TooManyHeadersInCachePolicy) ErrorCode() string             { return "TooManyHeadersInCachePolicy" }
1876func (e *TooManyHeadersInCachePolicy) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1877
1878// Your request contains too many headers in forwarded values.
1879type TooManyHeadersInForwardedValues struct {
1880	Message *string
1881}
1882
1883func (e *TooManyHeadersInForwardedValues) Error() string {
1884	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1885}
1886func (e *TooManyHeadersInForwardedValues) ErrorMessage() string {
1887	if e.Message == nil {
1888		return ""
1889	}
1890	return *e.Message
1891}
1892func (e *TooManyHeadersInForwardedValues) ErrorCode() string {
1893	return "TooManyHeadersInForwardedValues"
1894}
1895func (e *TooManyHeadersInForwardedValues) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1896
1897// The number of headers in the origin request policy exceeds the maximum. For more
1898// information, see Quotas
1899// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
1900// (formerly known as limits) in the Amazon CloudFront Developer Guide.
1901type TooManyHeadersInOriginRequestPolicy struct {
1902	Message *string
1903}
1904
1905func (e *TooManyHeadersInOriginRequestPolicy) Error() string {
1906	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1907}
1908func (e *TooManyHeadersInOriginRequestPolicy) ErrorMessage() string {
1909	if e.Message == nil {
1910		return ""
1911	}
1912	return *e.Message
1913}
1914func (e *TooManyHeadersInOriginRequestPolicy) ErrorCode() string {
1915	return "TooManyHeadersInOriginRequestPolicy"
1916}
1917func (e *TooManyHeadersInOriginRequestPolicy) ErrorFault() smithy.ErrorFault {
1918	return smithy.FaultClient
1919}
1920
1921// You have exceeded the maximum number of allowable InProgress invalidation batch
1922// requests, or invalidation objects.
1923type TooManyInvalidationsInProgress struct {
1924	Message *string
1925}
1926
1927func (e *TooManyInvalidationsInProgress) Error() string {
1928	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1929}
1930func (e *TooManyInvalidationsInProgress) ErrorMessage() string {
1931	if e.Message == nil {
1932		return ""
1933	}
1934	return *e.Message
1935}
1936func (e *TooManyInvalidationsInProgress) ErrorCode() string             { return "TooManyInvalidationsInProgress" }
1937func (e *TooManyInvalidationsInProgress) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1938
1939// You have reached the maximum number of key groups for this AWS account. For more
1940// information, see Quotas
1941// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
1942// (formerly known as limits) in the Amazon CloudFront Developer Guide.
1943type TooManyKeyGroups struct {
1944	Message *string
1945}
1946
1947func (e *TooManyKeyGroups) Error() string {
1948	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1949}
1950func (e *TooManyKeyGroups) ErrorMessage() string {
1951	if e.Message == nil {
1952		return ""
1953	}
1954	return *e.Message
1955}
1956func (e *TooManyKeyGroups) ErrorCode() string             { return "TooManyKeyGroups" }
1957func (e *TooManyKeyGroups) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
1958
1959// The number of key groups referenced by this distribution is more than the
1960// maximum allowed. For more information, see Quotas
1961// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
1962// (formerly known as limits) in the Amazon CloudFront Developer Guide.
1963type TooManyKeyGroupsAssociatedToDistribution struct {
1964	Message *string
1965}
1966
1967func (e *TooManyKeyGroupsAssociatedToDistribution) Error() string {
1968	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1969}
1970func (e *TooManyKeyGroupsAssociatedToDistribution) ErrorMessage() string {
1971	if e.Message == nil {
1972		return ""
1973	}
1974	return *e.Message
1975}
1976func (e *TooManyKeyGroupsAssociatedToDistribution) ErrorCode() string {
1977	return "TooManyKeyGroupsAssociatedToDistribution"
1978}
1979func (e *TooManyKeyGroupsAssociatedToDistribution) ErrorFault() smithy.ErrorFault {
1980	return smithy.FaultClient
1981}
1982
1983// Your request contains more Lambda function associations than are allowed per
1984// distribution.
1985type TooManyLambdaFunctionAssociations struct {
1986	Message *string
1987}
1988
1989func (e *TooManyLambdaFunctionAssociations) Error() string {
1990	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
1991}
1992func (e *TooManyLambdaFunctionAssociations) ErrorMessage() string {
1993	if e.Message == nil {
1994		return ""
1995	}
1996	return *e.Message
1997}
1998func (e *TooManyLambdaFunctionAssociations) ErrorCode() string {
1999	return "TooManyLambdaFunctionAssociations"
2000}
2001func (e *TooManyLambdaFunctionAssociations) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
2002
2003// Your request contains too many origin custom headers.
2004type TooManyOriginCustomHeaders struct {
2005	Message *string
2006}
2007
2008func (e *TooManyOriginCustomHeaders) Error() string {
2009	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
2010}
2011func (e *TooManyOriginCustomHeaders) ErrorMessage() string {
2012	if e.Message == nil {
2013		return ""
2014	}
2015	return *e.Message
2016}
2017func (e *TooManyOriginCustomHeaders) ErrorCode() string             { return "TooManyOriginCustomHeaders" }
2018func (e *TooManyOriginCustomHeaders) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
2019
2020// Processing your request would cause you to exceed the maximum number of origin
2021// groups allowed.
2022type TooManyOriginGroupsPerDistribution struct {
2023	Message *string
2024}
2025
2026func (e *TooManyOriginGroupsPerDistribution) Error() string {
2027	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
2028}
2029func (e *TooManyOriginGroupsPerDistribution) ErrorMessage() string {
2030	if e.Message == nil {
2031		return ""
2032	}
2033	return *e.Message
2034}
2035func (e *TooManyOriginGroupsPerDistribution) ErrorCode() string {
2036	return "TooManyOriginGroupsPerDistribution"
2037}
2038func (e *TooManyOriginGroupsPerDistribution) ErrorFault() smithy.ErrorFault {
2039	return smithy.FaultClient
2040}
2041
2042// You have reached the maximum number of origin request policies for this AWS
2043// account. For more information, see Quotas
2044// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
2045// (formerly known as limits) in the Amazon CloudFront Developer Guide.
2046type TooManyOriginRequestPolicies struct {
2047	Message *string
2048}
2049
2050func (e *TooManyOriginRequestPolicies) Error() string {
2051	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
2052}
2053func (e *TooManyOriginRequestPolicies) ErrorMessage() string {
2054	if e.Message == nil {
2055		return ""
2056	}
2057	return *e.Message
2058}
2059func (e *TooManyOriginRequestPolicies) ErrorCode() string             { return "TooManyOriginRequestPolicies" }
2060func (e *TooManyOriginRequestPolicies) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
2061
2062// You cannot create more origins for the distribution.
2063type TooManyOrigins struct {
2064	Message *string
2065}
2066
2067func (e *TooManyOrigins) Error() string {
2068	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
2069}
2070func (e *TooManyOrigins) ErrorMessage() string {
2071	if e.Message == nil {
2072		return ""
2073	}
2074	return *e.Message
2075}
2076func (e *TooManyOrigins) ErrorCode() string             { return "TooManyOrigins" }
2077func (e *TooManyOrigins) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
2078
2079// The maximum number of public keys for field-level encryption have been created.
2080// To create a new public key, delete one of the existing keys.
2081type TooManyPublicKeys struct {
2082	Message *string
2083}
2084
2085func (e *TooManyPublicKeys) Error() string {
2086	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
2087}
2088func (e *TooManyPublicKeys) ErrorMessage() string {
2089	if e.Message == nil {
2090		return ""
2091	}
2092	return *e.Message
2093}
2094func (e *TooManyPublicKeys) ErrorCode() string             { return "TooManyPublicKeys" }
2095func (e *TooManyPublicKeys) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
2096
2097// The number of public keys in this key group is more than the maximum allowed.
2098// For more information, see Quotas
2099// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
2100// (formerly known as limits) in the Amazon CloudFront Developer Guide.
2101type TooManyPublicKeysInKeyGroup struct {
2102	Message *string
2103}
2104
2105func (e *TooManyPublicKeysInKeyGroup) Error() string {
2106	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
2107}
2108func (e *TooManyPublicKeysInKeyGroup) ErrorMessage() string {
2109	if e.Message == nil {
2110		return ""
2111	}
2112	return *e.Message
2113}
2114func (e *TooManyPublicKeysInKeyGroup) ErrorCode() string             { return "TooManyPublicKeysInKeyGroup" }
2115func (e *TooManyPublicKeysInKeyGroup) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
2116
2117// Your request contains too many query string parameters.
2118type TooManyQueryStringParameters struct {
2119	Message *string
2120}
2121
2122func (e *TooManyQueryStringParameters) Error() string {
2123	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
2124}
2125func (e *TooManyQueryStringParameters) ErrorMessage() string {
2126	if e.Message == nil {
2127		return ""
2128	}
2129	return *e.Message
2130}
2131func (e *TooManyQueryStringParameters) ErrorCode() string             { return "TooManyQueryStringParameters" }
2132func (e *TooManyQueryStringParameters) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
2133
2134// The number of query strings in the cache policy exceeds the maximum. For more
2135// information, see Quotas
2136// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
2137// (formerly known as limits) in the Amazon CloudFront Developer Guide.
2138type TooManyQueryStringsInCachePolicy struct {
2139	Message *string
2140}
2141
2142func (e *TooManyQueryStringsInCachePolicy) Error() string {
2143	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
2144}
2145func (e *TooManyQueryStringsInCachePolicy) ErrorMessage() string {
2146	if e.Message == nil {
2147		return ""
2148	}
2149	return *e.Message
2150}
2151func (e *TooManyQueryStringsInCachePolicy) ErrorCode() string {
2152	return "TooManyQueryStringsInCachePolicy"
2153}
2154func (e *TooManyQueryStringsInCachePolicy) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
2155
2156// The number of query strings in the origin request policy exceeds the maximum.
2157// For more information, see Quotas
2158// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
2159// (formerly known as limits) in the Amazon CloudFront Developer Guide.
2160type TooManyQueryStringsInOriginRequestPolicy struct {
2161	Message *string
2162}
2163
2164func (e *TooManyQueryStringsInOriginRequestPolicy) Error() string {
2165	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
2166}
2167func (e *TooManyQueryStringsInOriginRequestPolicy) ErrorMessage() string {
2168	if e.Message == nil {
2169		return ""
2170	}
2171	return *e.Message
2172}
2173func (e *TooManyQueryStringsInOriginRequestPolicy) ErrorCode() string {
2174	return "TooManyQueryStringsInOriginRequestPolicy"
2175}
2176func (e *TooManyQueryStringsInOriginRequestPolicy) ErrorFault() smithy.ErrorFault {
2177	return smithy.FaultClient
2178}
2179
2180// You have reached the maximum number of real-time log configurations for this AWS
2181// account. For more information, see Quotas
2182// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html)
2183// (formerly known as limits) in the Amazon CloudFront Developer Guide.
2184type TooManyRealtimeLogConfigs struct {
2185	Message *string
2186}
2187
2188func (e *TooManyRealtimeLogConfigs) Error() string {
2189	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
2190}
2191func (e *TooManyRealtimeLogConfigs) ErrorMessage() string {
2192	if e.Message == nil {
2193		return ""
2194	}
2195	return *e.Message
2196}
2197func (e *TooManyRealtimeLogConfigs) ErrorCode() string             { return "TooManyRealtimeLogConfigs" }
2198func (e *TooManyRealtimeLogConfigs) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
2199
2200// Your request contains more CNAMEs than are allowed per distribution.
2201type TooManyStreamingDistributionCNAMEs struct {
2202	Message *string
2203}
2204
2205func (e *TooManyStreamingDistributionCNAMEs) Error() string {
2206	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
2207}
2208func (e *TooManyStreamingDistributionCNAMEs) ErrorMessage() string {
2209	if e.Message == nil {
2210		return ""
2211	}
2212	return *e.Message
2213}
2214func (e *TooManyStreamingDistributionCNAMEs) ErrorCode() string {
2215	return "TooManyStreamingDistributionCNAMEs"
2216}
2217func (e *TooManyStreamingDistributionCNAMEs) ErrorFault() smithy.ErrorFault {
2218	return smithy.FaultClient
2219}
2220
2221// Processing your request would cause you to exceed the maximum number of
2222// streaming distributions allowed.
2223type TooManyStreamingDistributions struct {
2224	Message *string
2225}
2226
2227func (e *TooManyStreamingDistributions) Error() string {
2228	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
2229}
2230func (e *TooManyStreamingDistributions) ErrorMessage() string {
2231	if e.Message == nil {
2232		return ""
2233	}
2234	return *e.Message
2235}
2236func (e *TooManyStreamingDistributions) ErrorCode() string             { return "TooManyStreamingDistributions" }
2237func (e *TooManyStreamingDistributions) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
2238
2239// Your request contains more trusted signers than are allowed per distribution.
2240type TooManyTrustedSigners struct {
2241	Message *string
2242}
2243
2244func (e *TooManyTrustedSigners) Error() string {
2245	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
2246}
2247func (e *TooManyTrustedSigners) ErrorMessage() string {
2248	if e.Message == nil {
2249		return ""
2250	}
2251	return *e.Message
2252}
2253func (e *TooManyTrustedSigners) ErrorCode() string             { return "TooManyTrustedSigners" }
2254func (e *TooManyTrustedSigners) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
2255
2256// The specified key group does not exist.
2257type TrustedKeyGroupDoesNotExist struct {
2258	Message *string
2259}
2260
2261func (e *TrustedKeyGroupDoesNotExist) Error() string {
2262	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
2263}
2264func (e *TrustedKeyGroupDoesNotExist) ErrorMessage() string {
2265	if e.Message == nil {
2266		return ""
2267	}
2268	return *e.Message
2269}
2270func (e *TrustedKeyGroupDoesNotExist) ErrorCode() string             { return "TrustedKeyGroupDoesNotExist" }
2271func (e *TrustedKeyGroupDoesNotExist) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
2272
2273// One or more of your trusted signers don't exist.
2274type TrustedSignerDoesNotExist struct {
2275	Message *string
2276}
2277
2278func (e *TrustedSignerDoesNotExist) Error() string {
2279	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
2280}
2281func (e *TrustedSignerDoesNotExist) ErrorMessage() string {
2282	if e.Message == nil {
2283		return ""
2284	}
2285	return *e.Message
2286}
2287func (e *TrustedSignerDoesNotExist) ErrorCode() string             { return "TrustedSignerDoesNotExist" }
2288func (e *TrustedSignerDoesNotExist) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
2289
2290// This operation is not supported in this region.
2291type UnsupportedOperation struct {
2292	Message *string
2293}
2294
2295func (e *UnsupportedOperation) Error() string {
2296	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
2297}
2298func (e *UnsupportedOperation) ErrorMessage() string {
2299	if e.Message == nil {
2300		return ""
2301	}
2302	return *e.Message
2303}
2304func (e *UnsupportedOperation) ErrorCode() string             { return "UnsupportedOperation" }
2305func (e *UnsupportedOperation) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
2306