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// You have specified a template that is not valid or supported. 11type ConformancePackTemplateValidationException struct { 12 Message *string 13} 14 15func (e *ConformancePackTemplateValidationException) Error() string { 16 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 17} 18func (e *ConformancePackTemplateValidationException) ErrorMessage() string { 19 if e.Message == nil { 20 return "" 21 } 22 return *e.Message 23} 24func (e *ConformancePackTemplateValidationException) ErrorCode() string { 25 return "ConformancePackTemplateValidationException" 26} 27func (e *ConformancePackTemplateValidationException) ErrorFault() smithy.ErrorFault { 28 return smithy.FaultClient 29} 30 31// Your Amazon S3 bucket policy does not permit AWS Config to write to it. 32type InsufficientDeliveryPolicyException struct { 33 Message *string 34} 35 36func (e *InsufficientDeliveryPolicyException) Error() string { 37 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 38} 39func (e *InsufficientDeliveryPolicyException) ErrorMessage() string { 40 if e.Message == nil { 41 return "" 42 } 43 return *e.Message 44} 45func (e *InsufficientDeliveryPolicyException) ErrorCode() string { 46 return "InsufficientDeliveryPolicyException" 47} 48func (e *InsufficientDeliveryPolicyException) ErrorFault() smithy.ErrorFault { 49 return smithy.FaultClient 50} 51 52// Indicates one of the following errors: 53// 54// * For PutConfigRule, the rule cannot be 55// created because the IAM role assigned to AWS Config lacks permissions to perform 56// the config:Put* action. 57// 58// * For PutConfigRule, the AWS Lambda function cannot be 59// invoked. Check the function ARN, and check the function's permissions. 60// 61// * For 62// PutOrganizationConfigRule, organization config rule cannot be created because 63// you do not have permissions to call IAM GetRole action or create a service 64// linked role. 65// 66// * For PutConformancePack and PutOrganizationConformancePack, a 67// conformance pack cannot be created because you do not have permissions: 68// 69// * To 70// call IAM GetRole action or create a service linked role. 71// 72// * To read Amazon S3 73// bucket. 74type InsufficientPermissionsException struct { 75 Message *string 76} 77 78func (e *InsufficientPermissionsException) Error() string { 79 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 80} 81func (e *InsufficientPermissionsException) ErrorMessage() string { 82 if e.Message == nil { 83 return "" 84 } 85 return *e.Message 86} 87func (e *InsufficientPermissionsException) ErrorCode() string { 88 return "InsufficientPermissionsException" 89} 90func (e *InsufficientPermissionsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 91 92// You have provided a configuration recorder name that is not valid. 93type InvalidConfigurationRecorderNameException struct { 94 Message *string 95} 96 97func (e *InvalidConfigurationRecorderNameException) Error() string { 98 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 99} 100func (e *InvalidConfigurationRecorderNameException) ErrorMessage() string { 101 if e.Message == nil { 102 return "" 103 } 104 return *e.Message 105} 106func (e *InvalidConfigurationRecorderNameException) ErrorCode() string { 107 return "InvalidConfigurationRecorderNameException" 108} 109func (e *InvalidConfigurationRecorderNameException) ErrorFault() smithy.ErrorFault { 110 return smithy.FaultClient 111} 112 113// The specified delivery channel name is not valid. 114type InvalidDeliveryChannelNameException struct { 115 Message *string 116} 117 118func (e *InvalidDeliveryChannelNameException) Error() string { 119 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 120} 121func (e *InvalidDeliveryChannelNameException) ErrorMessage() string { 122 if e.Message == nil { 123 return "" 124 } 125 return *e.Message 126} 127func (e *InvalidDeliveryChannelNameException) ErrorCode() string { 128 return "InvalidDeliveryChannelNameException" 129} 130func (e *InvalidDeliveryChannelNameException) ErrorFault() smithy.ErrorFault { 131 return smithy.FaultClient 132} 133 134// The syntax of the query is incorrect. 135type InvalidExpressionException struct { 136 Message *string 137} 138 139func (e *InvalidExpressionException) Error() string { 140 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 141} 142func (e *InvalidExpressionException) ErrorMessage() string { 143 if e.Message == nil { 144 return "" 145 } 146 return *e.Message 147} 148func (e *InvalidExpressionException) ErrorCode() string { return "InvalidExpressionException" } 149func (e *InvalidExpressionException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 150 151// The specified limit is outside the allowable range. 152type InvalidLimitException struct { 153 Message *string 154} 155 156func (e *InvalidLimitException) Error() string { 157 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 158} 159func (e *InvalidLimitException) ErrorMessage() string { 160 if e.Message == nil { 161 return "" 162 } 163 return *e.Message 164} 165func (e *InvalidLimitException) ErrorCode() string { return "InvalidLimitException" } 166func (e *InvalidLimitException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 167 168// The specified next token is invalid. Specify the nextToken string that was 169// returned in the previous response to get the next page of results. 170type InvalidNextTokenException struct { 171 Message *string 172} 173 174func (e *InvalidNextTokenException) Error() string { 175 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 176} 177func (e *InvalidNextTokenException) ErrorMessage() string { 178 if e.Message == nil { 179 return "" 180 } 181 return *e.Message 182} 183func (e *InvalidNextTokenException) ErrorCode() string { return "InvalidNextTokenException" } 184func (e *InvalidNextTokenException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 185 186// One or more of the specified parameters are invalid. Verify that your parameters 187// are valid and try again. 188type InvalidParameterValueException struct { 189 Message *string 190} 191 192func (e *InvalidParameterValueException) Error() string { 193 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 194} 195func (e *InvalidParameterValueException) ErrorMessage() string { 196 if e.Message == nil { 197 return "" 198 } 199 return *e.Message 200} 201func (e *InvalidParameterValueException) ErrorCode() string { return "InvalidParameterValueException" } 202func (e *InvalidParameterValueException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 203 204// AWS Config throws an exception if the recording group does not contain a valid 205// list of resource types. Invalid values might also be incorrectly formatted. 206type InvalidRecordingGroupException struct { 207 Message *string 208} 209 210func (e *InvalidRecordingGroupException) Error() string { 211 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 212} 213func (e *InvalidRecordingGroupException) ErrorMessage() string { 214 if e.Message == nil { 215 return "" 216 } 217 return *e.Message 218} 219func (e *InvalidRecordingGroupException) ErrorCode() string { return "InvalidRecordingGroupException" } 220func (e *InvalidRecordingGroupException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 221 222// The specified ResultToken is invalid. 223type InvalidResultTokenException struct { 224 Message *string 225} 226 227func (e *InvalidResultTokenException) Error() string { 228 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 229} 230func (e *InvalidResultTokenException) ErrorMessage() string { 231 if e.Message == nil { 232 return "" 233 } 234 return *e.Message 235} 236func (e *InvalidResultTokenException) ErrorCode() string { return "InvalidResultTokenException" } 237func (e *InvalidResultTokenException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 238 239// You have provided a null or empty role ARN. 240type InvalidRoleException struct { 241 Message *string 242} 243 244func (e *InvalidRoleException) Error() string { 245 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 246} 247func (e *InvalidRoleException) ErrorMessage() string { 248 if e.Message == nil { 249 return "" 250 } 251 return *e.Message 252} 253func (e *InvalidRoleException) ErrorCode() string { return "InvalidRoleException" } 254func (e *InvalidRoleException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 255 256// The specified Amazon S3 key prefix is not valid. 257type InvalidS3KeyPrefixException struct { 258 Message *string 259} 260 261func (e *InvalidS3KeyPrefixException) Error() string { 262 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 263} 264func (e *InvalidS3KeyPrefixException) ErrorMessage() string { 265 if e.Message == nil { 266 return "" 267 } 268 return *e.Message 269} 270func (e *InvalidS3KeyPrefixException) ErrorCode() string { return "InvalidS3KeyPrefixException" } 271func (e *InvalidS3KeyPrefixException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 272 273// The specified Amazon KMS Key ARN is not valid. 274type InvalidS3KmsKeyArnException struct { 275 Message *string 276} 277 278func (e *InvalidS3KmsKeyArnException) Error() string { 279 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 280} 281func (e *InvalidS3KmsKeyArnException) ErrorMessage() string { 282 if e.Message == nil { 283 return "" 284 } 285 return *e.Message 286} 287func (e *InvalidS3KmsKeyArnException) ErrorCode() string { return "InvalidS3KmsKeyArnException" } 288func (e *InvalidS3KmsKeyArnException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 289 290// The specified Amazon SNS topic does not exist. 291type InvalidSNSTopicARNException struct { 292 Message *string 293} 294 295func (e *InvalidSNSTopicARNException) Error() string { 296 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 297} 298func (e *InvalidSNSTopicARNException) ErrorMessage() string { 299 if e.Message == nil { 300 return "" 301 } 302 return *e.Message 303} 304func (e *InvalidSNSTopicARNException) ErrorCode() string { return "InvalidSNSTopicARNException" } 305func (e *InvalidSNSTopicARNException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 306 307// The specified time range is not valid. The earlier time is not chronologically 308// before the later time. 309type InvalidTimeRangeException struct { 310 Message *string 311} 312 313func (e *InvalidTimeRangeException) Error() string { 314 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 315} 316func (e *InvalidTimeRangeException) ErrorMessage() string { 317 if e.Message == nil { 318 return "" 319 } 320 return *e.Message 321} 322func (e *InvalidTimeRangeException) ErrorCode() string { return "InvalidTimeRangeException" } 323func (e *InvalidTimeRangeException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 324 325// You cannot delete the delivery channel you specified because the configuration 326// recorder is running. 327type LastDeliveryChannelDeleteFailedException struct { 328 Message *string 329} 330 331func (e *LastDeliveryChannelDeleteFailedException) Error() string { 332 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 333} 334func (e *LastDeliveryChannelDeleteFailedException) ErrorMessage() string { 335 if e.Message == nil { 336 return "" 337 } 338 return *e.Message 339} 340func (e *LastDeliveryChannelDeleteFailedException) ErrorCode() string { 341 return "LastDeliveryChannelDeleteFailedException" 342} 343func (e *LastDeliveryChannelDeleteFailedException) ErrorFault() smithy.ErrorFault { 344 return smithy.FaultClient 345} 346 347// For StartConfigRulesEvaluation API, this exception is thrown if an evaluation is 348// in progress or if you call the StartConfigRulesEvaluation API more than once per 349// minute. For PutConfigurationAggregator API, this exception is thrown if the 350// number of accounts and aggregators exceeds the limit. 351type LimitExceededException struct { 352 Message *string 353} 354 355func (e *LimitExceededException) Error() string { 356 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 357} 358func (e *LimitExceededException) ErrorMessage() string { 359 if e.Message == nil { 360 return "" 361 } 362 return *e.Message 363} 364func (e *LimitExceededException) ErrorCode() string { return "LimitExceededException" } 365func (e *LimitExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 366 367// You have reached the limit (100,000) of active custom resource types in your 368// account. Delete unused resources using DeleteResourceConfig. 369type MaxActiveResourcesExceededException struct { 370 Message *string 371} 372 373func (e *MaxActiveResourcesExceededException) Error() string { 374 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 375} 376func (e *MaxActiveResourcesExceededException) ErrorMessage() string { 377 if e.Message == nil { 378 return "" 379 } 380 return *e.Message 381} 382func (e *MaxActiveResourcesExceededException) ErrorCode() string { 383 return "MaxActiveResourcesExceededException" 384} 385func (e *MaxActiveResourcesExceededException) ErrorFault() smithy.ErrorFault { 386 return smithy.FaultClient 387} 388 389// Failed to add the AWS Config rule because the account already contains the 390// maximum number of 150 rules. Consider deleting any deactivated rules before you 391// add new rules. 392type MaxNumberOfConfigRulesExceededException struct { 393 Message *string 394} 395 396func (e *MaxNumberOfConfigRulesExceededException) Error() string { 397 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 398} 399func (e *MaxNumberOfConfigRulesExceededException) ErrorMessage() string { 400 if e.Message == nil { 401 return "" 402 } 403 return *e.Message 404} 405func (e *MaxNumberOfConfigRulesExceededException) ErrorCode() string { 406 return "MaxNumberOfConfigRulesExceededException" 407} 408func (e *MaxNumberOfConfigRulesExceededException) ErrorFault() smithy.ErrorFault { 409 return smithy.FaultClient 410} 411 412// You have reached the limit of the number of recorders you can create. 413type MaxNumberOfConfigurationRecordersExceededException struct { 414 Message *string 415} 416 417func (e *MaxNumberOfConfigurationRecordersExceededException) Error() string { 418 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 419} 420func (e *MaxNumberOfConfigurationRecordersExceededException) ErrorMessage() string { 421 if e.Message == nil { 422 return "" 423 } 424 return *e.Message 425} 426func (e *MaxNumberOfConfigurationRecordersExceededException) ErrorCode() string { 427 return "MaxNumberOfConfigurationRecordersExceededException" 428} 429func (e *MaxNumberOfConfigurationRecordersExceededException) ErrorFault() smithy.ErrorFault { 430 return smithy.FaultClient 431} 432 433// You have reached the limit (6) of the number of conformance packs in an account 434// (6 conformance pack with 25 AWS Config rules per pack). 435type MaxNumberOfConformancePacksExceededException struct { 436 Message *string 437} 438 439func (e *MaxNumberOfConformancePacksExceededException) Error() string { 440 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 441} 442func (e *MaxNumberOfConformancePacksExceededException) ErrorMessage() string { 443 if e.Message == nil { 444 return "" 445 } 446 return *e.Message 447} 448func (e *MaxNumberOfConformancePacksExceededException) ErrorCode() string { 449 return "MaxNumberOfConformancePacksExceededException" 450} 451func (e *MaxNumberOfConformancePacksExceededException) ErrorFault() smithy.ErrorFault { 452 return smithy.FaultClient 453} 454 455// You have reached the limit of the number of delivery channels you can create. 456type MaxNumberOfDeliveryChannelsExceededException struct { 457 Message *string 458} 459 460func (e *MaxNumberOfDeliveryChannelsExceededException) Error() string { 461 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 462} 463func (e *MaxNumberOfDeliveryChannelsExceededException) ErrorMessage() string { 464 if e.Message == nil { 465 return "" 466 } 467 return *e.Message 468} 469func (e *MaxNumberOfDeliveryChannelsExceededException) ErrorCode() string { 470 return "MaxNumberOfDeliveryChannelsExceededException" 471} 472func (e *MaxNumberOfDeliveryChannelsExceededException) ErrorFault() smithy.ErrorFault { 473 return smithy.FaultClient 474} 475 476// You have reached the limit of the number of organization config rules you can 477// create. 478type MaxNumberOfOrganizationConfigRulesExceededException struct { 479 Message *string 480} 481 482func (e *MaxNumberOfOrganizationConfigRulesExceededException) Error() string { 483 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 484} 485func (e *MaxNumberOfOrganizationConfigRulesExceededException) ErrorMessage() string { 486 if e.Message == nil { 487 return "" 488 } 489 return *e.Message 490} 491func (e *MaxNumberOfOrganizationConfigRulesExceededException) ErrorCode() string { 492 return "MaxNumberOfOrganizationConfigRulesExceededException" 493} 494func (e *MaxNumberOfOrganizationConfigRulesExceededException) ErrorFault() smithy.ErrorFault { 495 return smithy.FaultClient 496} 497 498// You have reached the limit (6) of the number of organization conformance packs 499// in an account (6 conformance pack with 25 AWS Config rules per pack per 500// account). 501type MaxNumberOfOrganizationConformancePacksExceededException struct { 502 Message *string 503} 504 505func (e *MaxNumberOfOrganizationConformancePacksExceededException) Error() string { 506 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 507} 508func (e *MaxNumberOfOrganizationConformancePacksExceededException) ErrorMessage() string { 509 if e.Message == nil { 510 return "" 511 } 512 return *e.Message 513} 514func (e *MaxNumberOfOrganizationConformancePacksExceededException) ErrorCode() string { 515 return "MaxNumberOfOrganizationConformancePacksExceededException" 516} 517func (e *MaxNumberOfOrganizationConformancePacksExceededException) ErrorFault() smithy.ErrorFault { 518 return smithy.FaultClient 519} 520 521// Failed to add the retention configuration because a retention configuration with 522// that name already exists. 523type MaxNumberOfRetentionConfigurationsExceededException struct { 524 Message *string 525} 526 527func (e *MaxNumberOfRetentionConfigurationsExceededException) Error() string { 528 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 529} 530func (e *MaxNumberOfRetentionConfigurationsExceededException) ErrorMessage() string { 531 if e.Message == nil { 532 return "" 533 } 534 return *e.Message 535} 536func (e *MaxNumberOfRetentionConfigurationsExceededException) ErrorCode() string { 537 return "MaxNumberOfRetentionConfigurationsExceededException" 538} 539func (e *MaxNumberOfRetentionConfigurationsExceededException) ErrorFault() smithy.ErrorFault { 540 return smithy.FaultClient 541} 542 543// There are no configuration recorders available to provide the role needed to 544// describe your resources. Create a configuration recorder. 545type NoAvailableConfigurationRecorderException struct { 546 Message *string 547} 548 549func (e *NoAvailableConfigurationRecorderException) Error() string { 550 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 551} 552func (e *NoAvailableConfigurationRecorderException) ErrorMessage() string { 553 if e.Message == nil { 554 return "" 555 } 556 return *e.Message 557} 558func (e *NoAvailableConfigurationRecorderException) ErrorCode() string { 559 return "NoAvailableConfigurationRecorderException" 560} 561func (e *NoAvailableConfigurationRecorderException) ErrorFault() smithy.ErrorFault { 562 return smithy.FaultClient 563} 564 565// There is no delivery channel available to record configurations. 566type NoAvailableDeliveryChannelException struct { 567 Message *string 568} 569 570func (e *NoAvailableDeliveryChannelException) Error() string { 571 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 572} 573func (e *NoAvailableDeliveryChannelException) ErrorMessage() string { 574 if e.Message == nil { 575 return "" 576 } 577 return *e.Message 578} 579func (e *NoAvailableDeliveryChannelException) ErrorCode() string { 580 return "NoAvailableDeliveryChannelException" 581} 582func (e *NoAvailableDeliveryChannelException) ErrorFault() smithy.ErrorFault { 583 return smithy.FaultClient 584} 585 586// Organization is no longer available. 587type NoAvailableOrganizationException struct { 588 Message *string 589} 590 591func (e *NoAvailableOrganizationException) Error() string { 592 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 593} 594func (e *NoAvailableOrganizationException) ErrorMessage() string { 595 if e.Message == nil { 596 return "" 597 } 598 return *e.Message 599} 600func (e *NoAvailableOrganizationException) ErrorCode() string { 601 return "NoAvailableOrganizationException" 602} 603func (e *NoAvailableOrganizationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 604 605// There is no configuration recorder running. 606type NoRunningConfigurationRecorderException struct { 607 Message *string 608} 609 610func (e *NoRunningConfigurationRecorderException) Error() string { 611 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 612} 613func (e *NoRunningConfigurationRecorderException) ErrorMessage() string { 614 if e.Message == nil { 615 return "" 616 } 617 return *e.Message 618} 619func (e *NoRunningConfigurationRecorderException) ErrorCode() string { 620 return "NoRunningConfigurationRecorderException" 621} 622func (e *NoRunningConfigurationRecorderException) ErrorFault() smithy.ErrorFault { 623 return smithy.FaultClient 624} 625 626// The specified Amazon S3 bucket does not exist. 627type NoSuchBucketException struct { 628 Message *string 629} 630 631func (e *NoSuchBucketException) Error() string { 632 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 633} 634func (e *NoSuchBucketException) ErrorMessage() string { 635 if e.Message == nil { 636 return "" 637 } 638 return *e.Message 639} 640func (e *NoSuchBucketException) ErrorCode() string { return "NoSuchBucketException" } 641func (e *NoSuchBucketException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 642 643// One or more AWS Config rules in the request are invalid. Verify that the rule 644// names are correct and try again. 645type NoSuchConfigRuleException struct { 646 Message *string 647} 648 649func (e *NoSuchConfigRuleException) Error() string { 650 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 651} 652func (e *NoSuchConfigRuleException) ErrorMessage() string { 653 if e.Message == nil { 654 return "" 655 } 656 return *e.Message 657} 658func (e *NoSuchConfigRuleException) ErrorCode() string { return "NoSuchConfigRuleException" } 659func (e *NoSuchConfigRuleException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 660 661// AWS Config rule that you passed in the filter does not exist. 662type NoSuchConfigRuleInConformancePackException struct { 663 Message *string 664} 665 666func (e *NoSuchConfigRuleInConformancePackException) Error() string { 667 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 668} 669func (e *NoSuchConfigRuleInConformancePackException) ErrorMessage() string { 670 if e.Message == nil { 671 return "" 672 } 673 return *e.Message 674} 675func (e *NoSuchConfigRuleInConformancePackException) ErrorCode() string { 676 return "NoSuchConfigRuleInConformancePackException" 677} 678func (e *NoSuchConfigRuleInConformancePackException) ErrorFault() smithy.ErrorFault { 679 return smithy.FaultClient 680} 681 682// You have specified a configuration aggregator that does not exist. 683type NoSuchConfigurationAggregatorException struct { 684 Message *string 685} 686 687func (e *NoSuchConfigurationAggregatorException) Error() string { 688 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 689} 690func (e *NoSuchConfigurationAggregatorException) ErrorMessage() string { 691 if e.Message == nil { 692 return "" 693 } 694 return *e.Message 695} 696func (e *NoSuchConfigurationAggregatorException) ErrorCode() string { 697 return "NoSuchConfigurationAggregatorException" 698} 699func (e *NoSuchConfigurationAggregatorException) ErrorFault() smithy.ErrorFault { 700 return smithy.FaultClient 701} 702 703// You have specified a configuration recorder that does not exist. 704type NoSuchConfigurationRecorderException struct { 705 Message *string 706} 707 708func (e *NoSuchConfigurationRecorderException) Error() string { 709 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 710} 711func (e *NoSuchConfigurationRecorderException) ErrorMessage() string { 712 if e.Message == nil { 713 return "" 714 } 715 return *e.Message 716} 717func (e *NoSuchConfigurationRecorderException) ErrorCode() string { 718 return "NoSuchConfigurationRecorderException" 719} 720func (e *NoSuchConfigurationRecorderException) ErrorFault() smithy.ErrorFault { 721 return smithy.FaultClient 722} 723 724// You specified one or more conformance packs that do not exist. 725type NoSuchConformancePackException struct { 726 Message *string 727} 728 729func (e *NoSuchConformancePackException) Error() string { 730 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 731} 732func (e *NoSuchConformancePackException) ErrorMessage() string { 733 if e.Message == nil { 734 return "" 735 } 736 return *e.Message 737} 738func (e *NoSuchConformancePackException) ErrorCode() string { return "NoSuchConformancePackException" } 739func (e *NoSuchConformancePackException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 740 741// You have specified a delivery channel that does not exist. 742type NoSuchDeliveryChannelException struct { 743 Message *string 744} 745 746func (e *NoSuchDeliveryChannelException) Error() string { 747 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 748} 749func (e *NoSuchDeliveryChannelException) ErrorMessage() string { 750 if e.Message == nil { 751 return "" 752 } 753 return *e.Message 754} 755func (e *NoSuchDeliveryChannelException) ErrorCode() string { return "NoSuchDeliveryChannelException" } 756func (e *NoSuchDeliveryChannelException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 757 758// You specified one or more organization config rules that do not exist. 759type NoSuchOrganizationConfigRuleException struct { 760 Message *string 761} 762 763func (e *NoSuchOrganizationConfigRuleException) Error() string { 764 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 765} 766func (e *NoSuchOrganizationConfigRuleException) ErrorMessage() string { 767 if e.Message == nil { 768 return "" 769 } 770 return *e.Message 771} 772func (e *NoSuchOrganizationConfigRuleException) ErrorCode() string { 773 return "NoSuchOrganizationConfigRuleException" 774} 775func (e *NoSuchOrganizationConfigRuleException) ErrorFault() smithy.ErrorFault { 776 return smithy.FaultClient 777} 778 779// AWS Config organization conformance pack that you passed in the filter does not 780// exist. For DeleteOrganizationConformancePack, you tried to delete an 781// organization conformance pack that does not exist. 782type NoSuchOrganizationConformancePackException struct { 783 Message *string 784} 785 786func (e *NoSuchOrganizationConformancePackException) Error() string { 787 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 788} 789func (e *NoSuchOrganizationConformancePackException) ErrorMessage() string { 790 if e.Message == nil { 791 return "" 792 } 793 return *e.Message 794} 795func (e *NoSuchOrganizationConformancePackException) ErrorCode() string { 796 return "NoSuchOrganizationConformancePackException" 797} 798func (e *NoSuchOrganizationConformancePackException) ErrorFault() smithy.ErrorFault { 799 return smithy.FaultClient 800} 801 802// You specified an AWS Config rule without a remediation configuration. 803type NoSuchRemediationConfigurationException struct { 804 Message *string 805} 806 807func (e *NoSuchRemediationConfigurationException) Error() string { 808 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 809} 810func (e *NoSuchRemediationConfigurationException) ErrorMessage() string { 811 if e.Message == nil { 812 return "" 813 } 814 return *e.Message 815} 816func (e *NoSuchRemediationConfigurationException) ErrorCode() string { 817 return "NoSuchRemediationConfigurationException" 818} 819func (e *NoSuchRemediationConfigurationException) ErrorFault() smithy.ErrorFault { 820 return smithy.FaultClient 821} 822 823// You tried to delete a remediation exception that does not exist. 824type NoSuchRemediationExceptionException struct { 825 Message *string 826} 827 828func (e *NoSuchRemediationExceptionException) Error() string { 829 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 830} 831func (e *NoSuchRemediationExceptionException) ErrorMessage() string { 832 if e.Message == nil { 833 return "" 834 } 835 return *e.Message 836} 837func (e *NoSuchRemediationExceptionException) ErrorCode() string { 838 return "NoSuchRemediationExceptionException" 839} 840func (e *NoSuchRemediationExceptionException) ErrorFault() smithy.ErrorFault { 841 return smithy.FaultClient 842} 843 844// You have specified a retention configuration that does not exist. 845type NoSuchRetentionConfigurationException struct { 846 Message *string 847} 848 849func (e *NoSuchRetentionConfigurationException) Error() string { 850 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 851} 852func (e *NoSuchRetentionConfigurationException) ErrorMessage() string { 853 if e.Message == nil { 854 return "" 855 } 856 return *e.Message 857} 858func (e *NoSuchRetentionConfigurationException) ErrorCode() string { 859 return "NoSuchRetentionConfigurationException" 860} 861func (e *NoSuchRetentionConfigurationException) ErrorFault() smithy.ErrorFault { 862 return smithy.FaultClient 863} 864 865// For PutConfigurationAggregator API, you can see this exception for the following 866// reasons: 867// 868// * No permission to call EnableAWSServiceAccess API 869// 870// * The 871// configuration aggregator cannot be updated because your AWS Organization 872// management account or the delegated administrator role changed. Delete this 873// aggregator and create a new one with the current AWS Organization. 874// 875// * The 876// configuration aggregator is associated with a previous AWS Organization and AWS 877// Config cannot aggregate data with current AWS Organization. Delete this 878// aggregator and create a new one with the current AWS Organization. 879// 880// * You are 881// not a registered delegated administrator for AWS Config with permissions to call 882// ListDelegatedAdministrators API. Ensure that the management account registers 883// delagated administrator for AWS Config service principle name before the 884// delegated administrator creates an aggregator. 885// 886// For all OrganizationConfigRule 887// and OrganizationConformancePack APIs, AWS Config throws an exception if APIs are 888// called from member accounts. All APIs must be called from organization master 889// account. 890type OrganizationAccessDeniedException struct { 891 Message *string 892} 893 894func (e *OrganizationAccessDeniedException) Error() string { 895 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 896} 897func (e *OrganizationAccessDeniedException) ErrorMessage() string { 898 if e.Message == nil { 899 return "" 900 } 901 return *e.Message 902} 903func (e *OrganizationAccessDeniedException) ErrorCode() string { 904 return "OrganizationAccessDeniedException" 905} 906func (e *OrganizationAccessDeniedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 907 908// AWS Config resource cannot be created because your organization does not have 909// all features enabled. 910type OrganizationAllFeaturesNotEnabledException struct { 911 Message *string 912} 913 914func (e *OrganizationAllFeaturesNotEnabledException) Error() string { 915 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 916} 917func (e *OrganizationAllFeaturesNotEnabledException) ErrorMessage() string { 918 if e.Message == nil { 919 return "" 920 } 921 return *e.Message 922} 923func (e *OrganizationAllFeaturesNotEnabledException) ErrorCode() string { 924 return "OrganizationAllFeaturesNotEnabledException" 925} 926func (e *OrganizationAllFeaturesNotEnabledException) ErrorFault() smithy.ErrorFault { 927 return smithy.FaultClient 928} 929 930// You have specified a template that is not valid or supported. 931type OrganizationConformancePackTemplateValidationException struct { 932 Message *string 933} 934 935func (e *OrganizationConformancePackTemplateValidationException) Error() string { 936 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 937} 938func (e *OrganizationConformancePackTemplateValidationException) ErrorMessage() string { 939 if e.Message == nil { 940 return "" 941 } 942 return *e.Message 943} 944func (e *OrganizationConformancePackTemplateValidationException) ErrorCode() string { 945 return "OrganizationConformancePackTemplateValidationException" 946} 947func (e *OrganizationConformancePackTemplateValidationException) ErrorFault() smithy.ErrorFault { 948 return smithy.FaultClient 949} 950 951// The configuration item size is outside the allowable range. 952type OversizedConfigurationItemException struct { 953 Message *string 954} 955 956func (e *OversizedConfigurationItemException) Error() string { 957 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 958} 959func (e *OversizedConfigurationItemException) ErrorMessage() string { 960 if e.Message == nil { 961 return "" 962 } 963 return *e.Message 964} 965func (e *OversizedConfigurationItemException) ErrorCode() string { 966 return "OversizedConfigurationItemException" 967} 968func (e *OversizedConfigurationItemException) ErrorFault() smithy.ErrorFault { 969 return smithy.FaultClient 970} 971 972// Remediation action is in progress. You can either cancel execution in AWS 973// Systems Manager or wait and try again later. 974type RemediationInProgressException struct { 975 Message *string 976} 977 978func (e *RemediationInProgressException) Error() string { 979 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 980} 981func (e *RemediationInProgressException) ErrorMessage() string { 982 if e.Message == nil { 983 return "" 984 } 985 return *e.Message 986} 987func (e *RemediationInProgressException) ErrorCode() string { return "RemediationInProgressException" } 988func (e *RemediationInProgressException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 989 990// Two users are trying to modify the same query at the same time. Wait for a 991// moment and try again. 992type ResourceConcurrentModificationException struct { 993 Message *string 994} 995 996func (e *ResourceConcurrentModificationException) Error() string { 997 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 998} 999func (e *ResourceConcurrentModificationException) ErrorMessage() string { 1000 if e.Message == nil { 1001 return "" 1002 } 1003 return *e.Message 1004} 1005func (e *ResourceConcurrentModificationException) ErrorCode() string { 1006 return "ResourceConcurrentModificationException" 1007} 1008func (e *ResourceConcurrentModificationException) ErrorFault() smithy.ErrorFault { 1009 return smithy.FaultClient 1010} 1011 1012// You see this exception in the following cases: 1013// 1014// * For DeleteConfigRule, AWS 1015// Config is deleting this rule. Try your request again later. 1016// 1017// * For 1018// DeleteConfigRule, the rule is deleting your evaluation results. Try your request 1019// again later. 1020// 1021// * For DeleteConfigRule, a remediation action is associated with 1022// the rule and AWS Config cannot delete this rule. Delete the remediation action 1023// associated with the rule before deleting the rule and try your request again 1024// later. 1025// 1026// * For PutConfigOrganizationRule, organization config rule deletion is in 1027// progress. Try your request again later. 1028// 1029// * For DeleteOrganizationConfigRule, 1030// organization config rule creation is in progress. Try your request again 1031// later. 1032// 1033// * For PutConformancePack and PutOrganizationConformancePack, a 1034// conformance pack creation, update, and deletion is in progress. Try your request 1035// again later. 1036// 1037// * For DeleteConformancePack, a conformance pack creation, update, 1038// and deletion is in progress. Try your request again later. 1039type ResourceInUseException struct { 1040 Message *string 1041} 1042 1043func (e *ResourceInUseException) Error() string { 1044 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1045} 1046func (e *ResourceInUseException) ErrorMessage() string { 1047 if e.Message == nil { 1048 return "" 1049 } 1050 return *e.Message 1051} 1052func (e *ResourceInUseException) ErrorCode() string { return "ResourceInUseException" } 1053func (e *ResourceInUseException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1054 1055// You have specified a resource that is either unknown or has not been discovered. 1056type ResourceNotDiscoveredException struct { 1057 Message *string 1058} 1059 1060func (e *ResourceNotDiscoveredException) Error() string { 1061 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1062} 1063func (e *ResourceNotDiscoveredException) ErrorMessage() string { 1064 if e.Message == nil { 1065 return "" 1066 } 1067 return *e.Message 1068} 1069func (e *ResourceNotDiscoveredException) ErrorCode() string { return "ResourceNotDiscoveredException" } 1070func (e *ResourceNotDiscoveredException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1071 1072// You have specified a resource that does not exist. 1073type ResourceNotFoundException struct { 1074 Message *string 1075} 1076 1077func (e *ResourceNotFoundException) Error() string { 1078 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1079} 1080func (e *ResourceNotFoundException) ErrorMessage() string { 1081 if e.Message == nil { 1082 return "" 1083 } 1084 return *e.Message 1085} 1086func (e *ResourceNotFoundException) ErrorCode() string { return "ResourceNotFoundException" } 1087func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1088 1089// You have reached the limit of the number of tags you can use. You have more than 1090// 50 tags. 1091type TooManyTagsException struct { 1092 Message *string 1093} 1094 1095func (e *TooManyTagsException) Error() string { 1096 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1097} 1098func (e *TooManyTagsException) ErrorMessage() string { 1099 if e.Message == nil { 1100 return "" 1101 } 1102 return *e.Message 1103} 1104func (e *TooManyTagsException) ErrorCode() string { return "TooManyTagsException" } 1105func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1106 1107// The requested action is not valid. For PutStoredQuery, you will see this 1108// exception if there are missing required fields or if the input value fails the 1109// validation, or if you are trying to create more than 300 queries. For 1110// GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this 1111// exception if there are missing required fields or if the input value fails the 1112// validation. 1113type ValidationException struct { 1114 Message *string 1115} 1116 1117func (e *ValidationException) Error() string { 1118 return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) 1119} 1120func (e *ValidationException) ErrorMessage() string { 1121 if e.Message == nil { 1122 return "" 1123 } 1124 return *e.Message 1125} 1126func (e *ValidationException) ErrorCode() string { return "ValidationException" } 1127func (e *ValidationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } 1128