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