src

Go monorepo.
git clone git://code.dwrz.net/src
Log | Files | Refs

errors.go (54912B)


      1 // Code generated by smithy-go-codegen DO NOT EDIT.
      2 
      3 package types
      4 
      5 import (
      6 	"fmt"
      7 	smithy "github.com/aws/smithy-go"
      8 )
      9 
     10 // This CIDR block is already in use.
     11 type CidrBlockInUseException struct {
     12 	Message *string
     13 
     14 	ErrorCodeOverride *string
     15 
     16 	noSmithyDocumentSerde
     17 }
     18 
     19 func (e *CidrBlockInUseException) Error() string {
     20 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
     21 }
     22 func (e *CidrBlockInUseException) ErrorMessage() string {
     23 	if e.Message == nil {
     24 		return ""
     25 	}
     26 	return *e.Message
     27 }
     28 func (e *CidrBlockInUseException) ErrorCode() string {
     29 	if e == nil || e.ErrorCodeOverride == nil {
     30 		return "CidrBlockInUseException"
     31 	}
     32 	return *e.ErrorCodeOverride
     33 }
     34 func (e *CidrBlockInUseException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
     35 
     36 // A CIDR collection with this name and a different caller reference already
     37 // exists in this account.
     38 type CidrCollectionAlreadyExistsException struct {
     39 	Message *string
     40 
     41 	ErrorCodeOverride *string
     42 
     43 	noSmithyDocumentSerde
     44 }
     45 
     46 func (e *CidrCollectionAlreadyExistsException) Error() string {
     47 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
     48 }
     49 func (e *CidrCollectionAlreadyExistsException) ErrorMessage() string {
     50 	if e.Message == nil {
     51 		return ""
     52 	}
     53 	return *e.Message
     54 }
     55 func (e *CidrCollectionAlreadyExistsException) ErrorCode() string {
     56 	if e == nil || e.ErrorCodeOverride == nil {
     57 		return "CidrCollectionAlreadyExistsException"
     58 	}
     59 	return *e.ErrorCodeOverride
     60 }
     61 func (e *CidrCollectionAlreadyExistsException) ErrorFault() smithy.ErrorFault {
     62 	return smithy.FaultClient
     63 }
     64 
     65 // This CIDR collection is in use, and isn't empty.
     66 type CidrCollectionInUseException struct {
     67 	Message *string
     68 
     69 	ErrorCodeOverride *string
     70 
     71 	noSmithyDocumentSerde
     72 }
     73 
     74 func (e *CidrCollectionInUseException) Error() string {
     75 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
     76 }
     77 func (e *CidrCollectionInUseException) ErrorMessage() string {
     78 	if e.Message == nil {
     79 		return ""
     80 	}
     81 	return *e.Message
     82 }
     83 func (e *CidrCollectionInUseException) ErrorCode() string {
     84 	if e == nil || e.ErrorCodeOverride == nil {
     85 		return "CidrCollectionInUseException"
     86 	}
     87 	return *e.ErrorCodeOverride
     88 }
     89 func (e *CidrCollectionInUseException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
     90 
     91 // The CIDR collection version you provided, doesn't match the one in the
     92 // ListCidrCollections operation.
     93 type CidrCollectionVersionMismatchException struct {
     94 	Message *string
     95 
     96 	ErrorCodeOverride *string
     97 
     98 	noSmithyDocumentSerde
     99 }
    100 
    101 func (e *CidrCollectionVersionMismatchException) Error() string {
    102 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    103 }
    104 func (e *CidrCollectionVersionMismatchException) ErrorMessage() string {
    105 	if e.Message == nil {
    106 		return ""
    107 	}
    108 	return *e.Message
    109 }
    110 func (e *CidrCollectionVersionMismatchException) ErrorCode() string {
    111 	if e == nil || e.ErrorCodeOverride == nil {
    112 		return "CidrCollectionVersionMismatchException"
    113 	}
    114 	return *e.ErrorCodeOverride
    115 }
    116 func (e *CidrCollectionVersionMismatchException) ErrorFault() smithy.ErrorFault {
    117 	return smithy.FaultClient
    118 }
    119 
    120 // Another user submitted a request to create, update, or delete the object at the
    121 // same time that you did. Retry the request.
    122 type ConcurrentModification struct {
    123 	Message *string
    124 
    125 	ErrorCodeOverride *string
    126 
    127 	noSmithyDocumentSerde
    128 }
    129 
    130 func (e *ConcurrentModification) Error() string {
    131 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    132 }
    133 func (e *ConcurrentModification) ErrorMessage() string {
    134 	if e.Message == nil {
    135 		return ""
    136 	}
    137 	return *e.Message
    138 }
    139 func (e *ConcurrentModification) ErrorCode() string {
    140 	if e == nil || e.ErrorCodeOverride == nil {
    141 		return "ConcurrentModification"
    142 	}
    143 	return *e.ErrorCodeOverride
    144 }
    145 func (e *ConcurrentModification) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    146 
    147 // The cause of this error depends on the operation that you're performing:
    148 //   - Create a public hosted zone: Two hosted zones that have the same name or
    149 //     that have a parent/child relationship (example.com and test.example.com) can't
    150 //     have any common name servers. You tried to create a hosted zone that has the
    151 //     same name as an existing hosted zone or that's the parent or child of an
    152 //     existing hosted zone, and you specified a delegation set that shares one or more
    153 //     name servers with the existing hosted zone. For more information, see
    154 //     CreateReusableDelegationSet (https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateReusableDelegationSet.html)
    155 //     .
    156 //   - Create a private hosted zone: A hosted zone with the specified name already
    157 //     exists and is already associated with the Amazon VPC that you specified.
    158 //   - Associate VPCs with a private hosted zone: The VPC that you specified is
    159 //     already associated with another hosted zone that has the same name.
    160 type ConflictingDomainExists struct {
    161 	Message *string
    162 
    163 	ErrorCodeOverride *string
    164 
    165 	noSmithyDocumentSerde
    166 }
    167 
    168 func (e *ConflictingDomainExists) Error() string {
    169 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    170 }
    171 func (e *ConflictingDomainExists) ErrorMessage() string {
    172 	if e.Message == nil {
    173 		return ""
    174 	}
    175 	return *e.Message
    176 }
    177 func (e *ConflictingDomainExists) ErrorCode() string {
    178 	if e == nil || e.ErrorCodeOverride == nil {
    179 		return "ConflictingDomainExists"
    180 	}
    181 	return *e.ErrorCodeOverride
    182 }
    183 func (e *ConflictingDomainExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    184 
    185 // You tried to update a traffic policy instance by using a traffic policy version
    186 // that has a different DNS type than the current type for the instance. You
    187 // specified the type in the JSON document in the CreateTrafficPolicy or
    188 // CreateTrafficPolicyVersion request.
    189 type ConflictingTypes struct {
    190 	Message *string
    191 
    192 	ErrorCodeOverride *string
    193 
    194 	noSmithyDocumentSerde
    195 }
    196 
    197 func (e *ConflictingTypes) Error() string {
    198 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    199 }
    200 func (e *ConflictingTypes) ErrorMessage() string {
    201 	if e.Message == nil {
    202 		return ""
    203 	}
    204 	return *e.Message
    205 }
    206 func (e *ConflictingTypes) ErrorCode() string {
    207 	if e == nil || e.ErrorCodeOverride == nil {
    208 		return "ConflictingTypes"
    209 	}
    210 	return *e.ErrorCodeOverride
    211 }
    212 func (e *ConflictingTypes) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    213 
    214 // A delegation set with the same owner and caller reference combination has
    215 // already been created.
    216 type DelegationSetAlreadyCreated struct {
    217 	Message *string
    218 
    219 	ErrorCodeOverride *string
    220 
    221 	noSmithyDocumentSerde
    222 }
    223 
    224 func (e *DelegationSetAlreadyCreated) Error() string {
    225 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    226 }
    227 func (e *DelegationSetAlreadyCreated) ErrorMessage() string {
    228 	if e.Message == nil {
    229 		return ""
    230 	}
    231 	return *e.Message
    232 }
    233 func (e *DelegationSetAlreadyCreated) ErrorCode() string {
    234 	if e == nil || e.ErrorCodeOverride == nil {
    235 		return "DelegationSetAlreadyCreated"
    236 	}
    237 	return *e.ErrorCodeOverride
    238 }
    239 func (e *DelegationSetAlreadyCreated) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    240 
    241 // The specified delegation set has already been marked as reusable.
    242 type DelegationSetAlreadyReusable struct {
    243 	Message *string
    244 
    245 	ErrorCodeOverride *string
    246 
    247 	noSmithyDocumentSerde
    248 }
    249 
    250 func (e *DelegationSetAlreadyReusable) Error() string {
    251 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    252 }
    253 func (e *DelegationSetAlreadyReusable) ErrorMessage() string {
    254 	if e.Message == nil {
    255 		return ""
    256 	}
    257 	return *e.Message
    258 }
    259 func (e *DelegationSetAlreadyReusable) ErrorCode() string {
    260 	if e == nil || e.ErrorCodeOverride == nil {
    261 		return "DelegationSetAlreadyReusable"
    262 	}
    263 	return *e.ErrorCodeOverride
    264 }
    265 func (e *DelegationSetAlreadyReusable) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    266 
    267 // The specified delegation contains associated hosted zones which must be deleted
    268 // before the reusable delegation set can be deleted.
    269 type DelegationSetInUse struct {
    270 	Message *string
    271 
    272 	ErrorCodeOverride *string
    273 
    274 	noSmithyDocumentSerde
    275 }
    276 
    277 func (e *DelegationSetInUse) Error() string {
    278 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    279 }
    280 func (e *DelegationSetInUse) ErrorMessage() string {
    281 	if e.Message == nil {
    282 		return ""
    283 	}
    284 	return *e.Message
    285 }
    286 func (e *DelegationSetInUse) ErrorCode() string {
    287 	if e == nil || e.ErrorCodeOverride == nil {
    288 		return "DelegationSetInUse"
    289 	}
    290 	return *e.ErrorCodeOverride
    291 }
    292 func (e *DelegationSetInUse) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    293 
    294 // You can create a hosted zone that has the same name as an existing hosted zone
    295 // (example.com is common), but there is a limit to the number of hosted zones that
    296 // have the same name. If you get this error, Amazon Route 53 has reached that
    297 // limit. If you own the domain name and Route 53 generates this error, contact
    298 // Customer Support.
    299 type DelegationSetNotAvailable struct {
    300 	Message *string
    301 
    302 	ErrorCodeOverride *string
    303 
    304 	noSmithyDocumentSerde
    305 }
    306 
    307 func (e *DelegationSetNotAvailable) Error() string {
    308 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    309 }
    310 func (e *DelegationSetNotAvailable) ErrorMessage() string {
    311 	if e.Message == nil {
    312 		return ""
    313 	}
    314 	return *e.Message
    315 }
    316 func (e *DelegationSetNotAvailable) ErrorCode() string {
    317 	if e == nil || e.ErrorCodeOverride == nil {
    318 		return "DelegationSetNotAvailable"
    319 	}
    320 	return *e.ErrorCodeOverride
    321 }
    322 func (e *DelegationSetNotAvailable) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    323 
    324 // A reusable delegation set with the specified ID does not exist.
    325 type DelegationSetNotReusable struct {
    326 	Message *string
    327 
    328 	ErrorCodeOverride *string
    329 
    330 	noSmithyDocumentSerde
    331 }
    332 
    333 func (e *DelegationSetNotReusable) Error() string {
    334 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    335 }
    336 func (e *DelegationSetNotReusable) ErrorMessage() string {
    337 	if e.Message == nil {
    338 		return ""
    339 	}
    340 	return *e.Message
    341 }
    342 func (e *DelegationSetNotReusable) ErrorCode() string {
    343 	if e == nil || e.ErrorCodeOverride == nil {
    344 		return "DelegationSetNotReusable"
    345 	}
    346 	return *e.ErrorCodeOverride
    347 }
    348 func (e *DelegationSetNotReusable) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    349 
    350 // The hosted zone doesn't have any DNSSEC resources.
    351 type DNSSECNotFound struct {
    352 	Message *string
    353 
    354 	ErrorCodeOverride *string
    355 
    356 	noSmithyDocumentSerde
    357 }
    358 
    359 func (e *DNSSECNotFound) Error() string {
    360 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    361 }
    362 func (e *DNSSECNotFound) ErrorMessage() string {
    363 	if e.Message == nil {
    364 		return ""
    365 	}
    366 	return *e.Message
    367 }
    368 func (e *DNSSECNotFound) ErrorCode() string {
    369 	if e == nil || e.ErrorCodeOverride == nil {
    370 		return "DNSSECNotFound"
    371 	}
    372 	return *e.ErrorCodeOverride
    373 }
    374 func (e *DNSSECNotFound) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    375 
    376 // The health check you're attempting to create already exists. Amazon Route 53
    377 // returns this error when you submit a request that has the following values:
    378 //   - The same value for CallerReference as an existing health check, and one or
    379 //     more values that differ from the existing health check that has the same caller
    380 //     reference.
    381 //   - The same value for CallerReference as a health check that you created and
    382 //     later deleted, regardless of the other settings in the request.
    383 type HealthCheckAlreadyExists struct {
    384 	Message *string
    385 
    386 	ErrorCodeOverride *string
    387 
    388 	noSmithyDocumentSerde
    389 }
    390 
    391 func (e *HealthCheckAlreadyExists) Error() string {
    392 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    393 }
    394 func (e *HealthCheckAlreadyExists) ErrorMessage() string {
    395 	if e.Message == nil {
    396 		return ""
    397 	}
    398 	return *e.Message
    399 }
    400 func (e *HealthCheckAlreadyExists) ErrorCode() string {
    401 	if e == nil || e.ErrorCodeOverride == nil {
    402 		return "HealthCheckAlreadyExists"
    403 	}
    404 	return *e.ErrorCodeOverride
    405 }
    406 func (e *HealthCheckAlreadyExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    407 
    408 // This error code is not in use.
    409 type HealthCheckInUse struct {
    410 	Message *string
    411 
    412 	ErrorCodeOverride *string
    413 
    414 	noSmithyDocumentSerde
    415 }
    416 
    417 func (e *HealthCheckInUse) Error() string {
    418 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    419 }
    420 func (e *HealthCheckInUse) ErrorMessage() string {
    421 	if e.Message == nil {
    422 		return ""
    423 	}
    424 	return *e.Message
    425 }
    426 func (e *HealthCheckInUse) ErrorCode() string {
    427 	if e == nil || e.ErrorCodeOverride == nil {
    428 		return "HealthCheckInUse"
    429 	}
    430 	return *e.ErrorCodeOverride
    431 }
    432 func (e *HealthCheckInUse) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    433 
    434 // The value of HealthCheckVersion in the request doesn't match the value of
    435 // HealthCheckVersion in the health check.
    436 type HealthCheckVersionMismatch struct {
    437 	Message *string
    438 
    439 	ErrorCodeOverride *string
    440 
    441 	noSmithyDocumentSerde
    442 }
    443 
    444 func (e *HealthCheckVersionMismatch) Error() string {
    445 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    446 }
    447 func (e *HealthCheckVersionMismatch) ErrorMessage() string {
    448 	if e.Message == nil {
    449 		return ""
    450 	}
    451 	return *e.Message
    452 }
    453 func (e *HealthCheckVersionMismatch) ErrorCode() string {
    454 	if e == nil || e.ErrorCodeOverride == nil {
    455 		return "HealthCheckVersionMismatch"
    456 	}
    457 	return *e.ErrorCodeOverride
    458 }
    459 func (e *HealthCheckVersionMismatch) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    460 
    461 // The hosted zone you're trying to create already exists. Amazon Route 53 returns
    462 // this error when a hosted zone has already been created with the specified
    463 // CallerReference .
    464 type HostedZoneAlreadyExists struct {
    465 	Message *string
    466 
    467 	ErrorCodeOverride *string
    468 
    469 	noSmithyDocumentSerde
    470 }
    471 
    472 func (e *HostedZoneAlreadyExists) Error() string {
    473 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    474 }
    475 func (e *HostedZoneAlreadyExists) ErrorMessage() string {
    476 	if e.Message == nil {
    477 		return ""
    478 	}
    479 	return *e.Message
    480 }
    481 func (e *HostedZoneAlreadyExists) ErrorCode() string {
    482 	if e == nil || e.ErrorCodeOverride == nil {
    483 		return "HostedZoneAlreadyExists"
    484 	}
    485 	return *e.ErrorCodeOverride
    486 }
    487 func (e *HostedZoneAlreadyExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    488 
    489 // The hosted zone contains resource records that are not SOA or NS records.
    490 type HostedZoneNotEmpty struct {
    491 	Message *string
    492 
    493 	ErrorCodeOverride *string
    494 
    495 	noSmithyDocumentSerde
    496 }
    497 
    498 func (e *HostedZoneNotEmpty) Error() string {
    499 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    500 }
    501 func (e *HostedZoneNotEmpty) ErrorMessage() string {
    502 	if e.Message == nil {
    503 		return ""
    504 	}
    505 	return *e.Message
    506 }
    507 func (e *HostedZoneNotEmpty) ErrorCode() string {
    508 	if e == nil || e.ErrorCodeOverride == nil {
    509 		return "HostedZoneNotEmpty"
    510 	}
    511 	return *e.ErrorCodeOverride
    512 }
    513 func (e *HostedZoneNotEmpty) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    514 
    515 // The specified HostedZone can't be found.
    516 type HostedZoneNotFound struct {
    517 	Message *string
    518 
    519 	ErrorCodeOverride *string
    520 
    521 	noSmithyDocumentSerde
    522 }
    523 
    524 func (e *HostedZoneNotFound) Error() string {
    525 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    526 }
    527 func (e *HostedZoneNotFound) ErrorMessage() string {
    528 	if e.Message == nil {
    529 		return ""
    530 	}
    531 	return *e.Message
    532 }
    533 func (e *HostedZoneNotFound) ErrorCode() string {
    534 	if e == nil || e.ErrorCodeOverride == nil {
    535 		return "HostedZoneNotFound"
    536 	}
    537 	return *e.ErrorCodeOverride
    538 }
    539 func (e *HostedZoneNotFound) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    540 
    541 // The specified hosted zone is a public hosted zone, not a private hosted zone.
    542 type HostedZoneNotPrivate struct {
    543 	Message *string
    544 
    545 	ErrorCodeOverride *string
    546 
    547 	noSmithyDocumentSerde
    548 }
    549 
    550 func (e *HostedZoneNotPrivate) Error() string {
    551 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    552 }
    553 func (e *HostedZoneNotPrivate) ErrorMessage() string {
    554 	if e.Message == nil {
    555 		return ""
    556 	}
    557 	return *e.Message
    558 }
    559 func (e *HostedZoneNotPrivate) ErrorCode() string {
    560 	if e == nil || e.ErrorCodeOverride == nil {
    561 		return "HostedZoneNotPrivate"
    562 	}
    563 	return *e.ErrorCodeOverride
    564 }
    565 func (e *HostedZoneNotPrivate) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    566 
    567 // The hosted zone nameservers don't match the parent nameservers. The hosted zone
    568 // and parent must have the same nameservers.
    569 type HostedZonePartiallyDelegated struct {
    570 	Message *string
    571 
    572 	ErrorCodeOverride *string
    573 
    574 	noSmithyDocumentSerde
    575 }
    576 
    577 func (e *HostedZonePartiallyDelegated) Error() string {
    578 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    579 }
    580 func (e *HostedZonePartiallyDelegated) ErrorMessage() string {
    581 	if e.Message == nil {
    582 		return ""
    583 	}
    584 	return *e.Message
    585 }
    586 func (e *HostedZonePartiallyDelegated) ErrorCode() string {
    587 	if e == nil || e.ErrorCodeOverride == nil {
    588 		return "HostedZonePartiallyDelegated"
    589 	}
    590 	return *e.ErrorCodeOverride
    591 }
    592 func (e *HostedZonePartiallyDelegated) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    593 
    594 // The resource you're trying to access is unsupported on this Amazon Route 53
    595 // endpoint.
    596 type IncompatibleVersion struct {
    597 	Message *string
    598 
    599 	ErrorCodeOverride *string
    600 
    601 	noSmithyDocumentSerde
    602 }
    603 
    604 func (e *IncompatibleVersion) Error() string {
    605 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    606 }
    607 func (e *IncompatibleVersion) ErrorMessage() string {
    608 	if e.Message == nil {
    609 		return ""
    610 	}
    611 	return *e.Message
    612 }
    613 func (e *IncompatibleVersion) ErrorCode() string {
    614 	if e == nil || e.ErrorCodeOverride == nil {
    615 		return "IncompatibleVersion"
    616 	}
    617 	return *e.ErrorCodeOverride
    618 }
    619 func (e *IncompatibleVersion) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    620 
    621 // Amazon Route 53 doesn't have the permissions required to create log streams and
    622 // send query logs to log streams. Possible causes include the following:
    623 //   - There is no resource policy that specifies the log group ARN in the value
    624 //     for Resource .
    625 //   - The resource policy that includes the log group ARN in the value for
    626 //     Resource doesn't have the necessary permissions.
    627 //   - The resource policy hasn't finished propagating yet.
    628 //   - The Key management service (KMS) key you specified doesn’t exist or it
    629 //     can’t be used with the log group associated with query log. Update or provide a
    630 //     resource policy to grant permissions for the KMS key.
    631 //   - The Key management service (KMS) key you specified is marked as disabled
    632 //     for the log group associated with query log. Update or provide a resource policy
    633 //     to grant permissions for the KMS key.
    634 type InsufficientCloudWatchLogsResourcePolicy struct {
    635 	Message *string
    636 
    637 	ErrorCodeOverride *string
    638 
    639 	noSmithyDocumentSerde
    640 }
    641 
    642 func (e *InsufficientCloudWatchLogsResourcePolicy) Error() string {
    643 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    644 }
    645 func (e *InsufficientCloudWatchLogsResourcePolicy) ErrorMessage() string {
    646 	if e.Message == nil {
    647 		return ""
    648 	}
    649 	return *e.Message
    650 }
    651 func (e *InsufficientCloudWatchLogsResourcePolicy) ErrorCode() string {
    652 	if e == nil || e.ErrorCodeOverride == nil {
    653 		return "InsufficientCloudWatchLogsResourcePolicy"
    654 	}
    655 	return *e.ErrorCodeOverride
    656 }
    657 func (e *InsufficientCloudWatchLogsResourcePolicy) ErrorFault() smithy.ErrorFault {
    658 	return smithy.FaultClient
    659 }
    660 
    661 // Parameter name is not valid.
    662 type InvalidArgument struct {
    663 	Message *string
    664 
    665 	ErrorCodeOverride *string
    666 
    667 	noSmithyDocumentSerde
    668 }
    669 
    670 func (e *InvalidArgument) Error() string {
    671 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    672 }
    673 func (e *InvalidArgument) ErrorMessage() string {
    674 	if e.Message == nil {
    675 		return ""
    676 	}
    677 	return *e.Message
    678 }
    679 func (e *InvalidArgument) ErrorCode() string {
    680 	if e == nil || e.ErrorCodeOverride == nil {
    681 		return "InvalidArgument"
    682 	}
    683 	return *e.ErrorCodeOverride
    684 }
    685 func (e *InvalidArgument) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    686 
    687 // This exception contains a list of messages that might contain one or more error
    688 // messages. Each error message indicates one error in the change batch.
    689 type InvalidChangeBatch struct {
    690 	Message *string
    691 
    692 	ErrorCodeOverride *string
    693 
    694 	Messages []string
    695 
    696 	noSmithyDocumentSerde
    697 }
    698 
    699 func (e *InvalidChangeBatch) Error() string {
    700 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    701 }
    702 func (e *InvalidChangeBatch) ErrorMessage() string {
    703 	if e.Message == nil {
    704 		return ""
    705 	}
    706 	return *e.Message
    707 }
    708 func (e *InvalidChangeBatch) ErrorCode() string {
    709 	if e == nil || e.ErrorCodeOverride == nil {
    710 		return "InvalidChangeBatch"
    711 	}
    712 	return *e.ErrorCodeOverride
    713 }
    714 func (e *InvalidChangeBatch) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    715 
    716 // The specified domain name is not valid.
    717 type InvalidDomainName struct {
    718 	Message *string
    719 
    720 	ErrorCodeOverride *string
    721 
    722 	noSmithyDocumentSerde
    723 }
    724 
    725 func (e *InvalidDomainName) Error() string {
    726 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    727 }
    728 func (e *InvalidDomainName) ErrorMessage() string {
    729 	if e.Message == nil {
    730 		return ""
    731 	}
    732 	return *e.Message
    733 }
    734 func (e *InvalidDomainName) ErrorCode() string {
    735 	if e == nil || e.ErrorCodeOverride == nil {
    736 		return "InvalidDomainName"
    737 	}
    738 	return *e.ErrorCodeOverride
    739 }
    740 func (e *InvalidDomainName) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    741 
    742 // The input is not valid.
    743 type InvalidInput struct {
    744 	Message *string
    745 
    746 	ErrorCodeOverride *string
    747 
    748 	noSmithyDocumentSerde
    749 }
    750 
    751 func (e *InvalidInput) Error() string {
    752 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    753 }
    754 func (e *InvalidInput) ErrorMessage() string {
    755 	if e.Message == nil {
    756 		return ""
    757 	}
    758 	return *e.Message
    759 }
    760 func (e *InvalidInput) ErrorCode() string {
    761 	if e == nil || e.ErrorCodeOverride == nil {
    762 		return "InvalidInput"
    763 	}
    764 	return *e.ErrorCodeOverride
    765 }
    766 func (e *InvalidInput) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    767 
    768 // The key-signing key (KSK) name that you specified isn't a valid name.
    769 type InvalidKeySigningKeyName struct {
    770 	Message *string
    771 
    772 	ErrorCodeOverride *string
    773 
    774 	noSmithyDocumentSerde
    775 }
    776 
    777 func (e *InvalidKeySigningKeyName) Error() string {
    778 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    779 }
    780 func (e *InvalidKeySigningKeyName) ErrorMessage() string {
    781 	if e.Message == nil {
    782 		return ""
    783 	}
    784 	return *e.Message
    785 }
    786 func (e *InvalidKeySigningKeyName) ErrorCode() string {
    787 	if e == nil || e.ErrorCodeOverride == nil {
    788 		return "InvalidKeySigningKeyName"
    789 	}
    790 	return *e.ErrorCodeOverride
    791 }
    792 func (e *InvalidKeySigningKeyName) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    793 
    794 // The key-signing key (KSK) status isn't valid or another KSK has the status
    795 // INTERNAL_FAILURE .
    796 type InvalidKeySigningKeyStatus struct {
    797 	Message *string
    798 
    799 	ErrorCodeOverride *string
    800 
    801 	noSmithyDocumentSerde
    802 }
    803 
    804 func (e *InvalidKeySigningKeyStatus) Error() string {
    805 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    806 }
    807 func (e *InvalidKeySigningKeyStatus) ErrorMessage() string {
    808 	if e.Message == nil {
    809 		return ""
    810 	}
    811 	return *e.Message
    812 }
    813 func (e *InvalidKeySigningKeyStatus) ErrorCode() string {
    814 	if e == nil || e.ErrorCodeOverride == nil {
    815 		return "InvalidKeySigningKeyStatus"
    816 	}
    817 	return *e.ErrorCodeOverride
    818 }
    819 func (e *InvalidKeySigningKeyStatus) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    820 
    821 // The KeyManagementServiceArn that you specified isn't valid to use with DNSSEC
    822 // signing.
    823 type InvalidKMSArn struct {
    824 	Message *string
    825 
    826 	ErrorCodeOverride *string
    827 
    828 	noSmithyDocumentSerde
    829 }
    830 
    831 func (e *InvalidKMSArn) Error() string {
    832 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    833 }
    834 func (e *InvalidKMSArn) ErrorMessage() string {
    835 	if e.Message == nil {
    836 		return ""
    837 	}
    838 	return *e.Message
    839 }
    840 func (e *InvalidKMSArn) ErrorCode() string {
    841 	if e == nil || e.ErrorCodeOverride == nil {
    842 		return "InvalidKMSArn"
    843 	}
    844 	return *e.ErrorCodeOverride
    845 }
    846 func (e *InvalidKMSArn) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    847 
    848 // The value that you specified to get the second or subsequent page of results is
    849 // invalid.
    850 type InvalidPaginationToken struct {
    851 	Message *string
    852 
    853 	ErrorCodeOverride *string
    854 
    855 	noSmithyDocumentSerde
    856 }
    857 
    858 func (e *InvalidPaginationToken) Error() string {
    859 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    860 }
    861 func (e *InvalidPaginationToken) ErrorMessage() string {
    862 	if e.Message == nil {
    863 		return ""
    864 	}
    865 	return *e.Message
    866 }
    867 func (e *InvalidPaginationToken) ErrorCode() string {
    868 	if e == nil || e.ErrorCodeOverride == nil {
    869 		return "InvalidPaginationToken"
    870 	}
    871 	return *e.ErrorCodeOverride
    872 }
    873 func (e *InvalidPaginationToken) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    874 
    875 // Your hosted zone status isn't valid for this operation. In the hosted zone,
    876 // change the status to enable DNSSEC or disable DNSSEC .
    877 type InvalidSigningStatus struct {
    878 	Message *string
    879 
    880 	ErrorCodeOverride *string
    881 
    882 	noSmithyDocumentSerde
    883 }
    884 
    885 func (e *InvalidSigningStatus) Error() string {
    886 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    887 }
    888 func (e *InvalidSigningStatus) ErrorMessage() string {
    889 	if e.Message == nil {
    890 		return ""
    891 	}
    892 	return *e.Message
    893 }
    894 func (e *InvalidSigningStatus) ErrorCode() string {
    895 	if e == nil || e.ErrorCodeOverride == nil {
    896 		return "InvalidSigningStatus"
    897 	}
    898 	return *e.ErrorCodeOverride
    899 }
    900 func (e *InvalidSigningStatus) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    901 
    902 // The format of the traffic policy document that you specified in the Document
    903 // element is not valid.
    904 type InvalidTrafficPolicyDocument struct {
    905 	Message *string
    906 
    907 	ErrorCodeOverride *string
    908 
    909 	noSmithyDocumentSerde
    910 }
    911 
    912 func (e *InvalidTrafficPolicyDocument) Error() string {
    913 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    914 }
    915 func (e *InvalidTrafficPolicyDocument) ErrorMessage() string {
    916 	if e.Message == nil {
    917 		return ""
    918 	}
    919 	return *e.Message
    920 }
    921 func (e *InvalidTrafficPolicyDocument) ErrorCode() string {
    922 	if e == nil || e.ErrorCodeOverride == nil {
    923 		return "InvalidTrafficPolicyDocument"
    924 	}
    925 	return *e.ErrorCodeOverride
    926 }
    927 func (e *InvalidTrafficPolicyDocument) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    928 
    929 // The VPC ID that you specified either isn't a valid ID or the current account is
    930 // not authorized to access this VPC.
    931 type InvalidVPCId struct {
    932 	Message *string
    933 
    934 	ErrorCodeOverride *string
    935 
    936 	noSmithyDocumentSerde
    937 }
    938 
    939 func (e *InvalidVPCId) Error() string {
    940 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    941 }
    942 func (e *InvalidVPCId) ErrorMessage() string {
    943 	if e.Message == nil {
    944 		return ""
    945 	}
    946 	return *e.Message
    947 }
    948 func (e *InvalidVPCId) ErrorCode() string {
    949 	if e == nil || e.ErrorCodeOverride == nil {
    950 		return "InvalidVPCId"
    951 	}
    952 	return *e.ErrorCodeOverride
    953 }
    954 func (e *InvalidVPCId) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    955 
    956 // You've already created a key-signing key (KSK) with this name or with the same
    957 // customer managed key ARN.
    958 type KeySigningKeyAlreadyExists struct {
    959 	Message *string
    960 
    961 	ErrorCodeOverride *string
    962 
    963 	noSmithyDocumentSerde
    964 }
    965 
    966 func (e *KeySigningKeyAlreadyExists) Error() string {
    967 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    968 }
    969 func (e *KeySigningKeyAlreadyExists) ErrorMessage() string {
    970 	if e.Message == nil {
    971 		return ""
    972 	}
    973 	return *e.Message
    974 }
    975 func (e *KeySigningKeyAlreadyExists) ErrorCode() string {
    976 	if e == nil || e.ErrorCodeOverride == nil {
    977 		return "KeySigningKeyAlreadyExists"
    978 	}
    979 	return *e.ErrorCodeOverride
    980 }
    981 func (e *KeySigningKeyAlreadyExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
    982 
    983 // The key-signing key (KSK) is specified in a parent DS record.
    984 type KeySigningKeyInParentDSRecord struct {
    985 	Message *string
    986 
    987 	ErrorCodeOverride *string
    988 
    989 	noSmithyDocumentSerde
    990 }
    991 
    992 func (e *KeySigningKeyInParentDSRecord) Error() string {
    993 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
    994 }
    995 func (e *KeySigningKeyInParentDSRecord) ErrorMessage() string {
    996 	if e.Message == nil {
    997 		return ""
    998 	}
    999 	return *e.Message
   1000 }
   1001 func (e *KeySigningKeyInParentDSRecord) ErrorCode() string {
   1002 	if e == nil || e.ErrorCodeOverride == nil {
   1003 		return "KeySigningKeyInParentDSRecord"
   1004 	}
   1005 	return *e.ErrorCodeOverride
   1006 }
   1007 func (e *KeySigningKeyInParentDSRecord) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1008 
   1009 // The key-signing key (KSK) that you specified can't be deactivated because it's
   1010 // the only KSK for a currently-enabled DNSSEC. Disable DNSSEC signing, or add or
   1011 // enable another KSK.
   1012 type KeySigningKeyInUse struct {
   1013 	Message *string
   1014 
   1015 	ErrorCodeOverride *string
   1016 
   1017 	noSmithyDocumentSerde
   1018 }
   1019 
   1020 func (e *KeySigningKeyInUse) Error() string {
   1021 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1022 }
   1023 func (e *KeySigningKeyInUse) ErrorMessage() string {
   1024 	if e.Message == nil {
   1025 		return ""
   1026 	}
   1027 	return *e.Message
   1028 }
   1029 func (e *KeySigningKeyInUse) ErrorCode() string {
   1030 	if e == nil || e.ErrorCodeOverride == nil {
   1031 		return "KeySigningKeyInUse"
   1032 	}
   1033 	return *e.ErrorCodeOverride
   1034 }
   1035 func (e *KeySigningKeyInUse) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1036 
   1037 // A key-signing key (KSK) with ACTIVE status wasn't found.
   1038 type KeySigningKeyWithActiveStatusNotFound struct {
   1039 	Message *string
   1040 
   1041 	ErrorCodeOverride *string
   1042 
   1043 	noSmithyDocumentSerde
   1044 }
   1045 
   1046 func (e *KeySigningKeyWithActiveStatusNotFound) Error() string {
   1047 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1048 }
   1049 func (e *KeySigningKeyWithActiveStatusNotFound) ErrorMessage() string {
   1050 	if e.Message == nil {
   1051 		return ""
   1052 	}
   1053 	return *e.Message
   1054 }
   1055 func (e *KeySigningKeyWithActiveStatusNotFound) ErrorCode() string {
   1056 	if e == nil || e.ErrorCodeOverride == nil {
   1057 		return "KeySigningKeyWithActiveStatusNotFound"
   1058 	}
   1059 	return *e.ErrorCodeOverride
   1060 }
   1061 func (e *KeySigningKeyWithActiveStatusNotFound) ErrorFault() smithy.ErrorFault {
   1062 	return smithy.FaultClient
   1063 }
   1064 
   1065 // The VPC that you're trying to disassociate from the private hosted zone is the
   1066 // last VPC that is associated with the hosted zone. Amazon Route 53 doesn't
   1067 // support disassociating the last VPC from a hosted zone.
   1068 type LastVPCAssociation struct {
   1069 	Message *string
   1070 
   1071 	ErrorCodeOverride *string
   1072 
   1073 	noSmithyDocumentSerde
   1074 }
   1075 
   1076 func (e *LastVPCAssociation) Error() string {
   1077 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1078 }
   1079 func (e *LastVPCAssociation) ErrorMessage() string {
   1080 	if e.Message == nil {
   1081 		return ""
   1082 	}
   1083 	return *e.Message
   1084 }
   1085 func (e *LastVPCAssociation) ErrorCode() string {
   1086 	if e == nil || e.ErrorCodeOverride == nil {
   1087 		return "LastVPCAssociation"
   1088 	}
   1089 	return *e.ErrorCodeOverride
   1090 }
   1091 func (e *LastVPCAssociation) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1092 
   1093 // This operation can't be completed because the current account has reached the
   1094 // limit on the resource you are trying to create. To request a higher limit,
   1095 // create a case (http://aws.amazon.com/route53-request) with the Amazon Web
   1096 // Services Support Center.
   1097 type LimitsExceeded struct {
   1098 	Message *string
   1099 
   1100 	ErrorCodeOverride *string
   1101 
   1102 	noSmithyDocumentSerde
   1103 }
   1104 
   1105 func (e *LimitsExceeded) Error() string {
   1106 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1107 }
   1108 func (e *LimitsExceeded) ErrorMessage() string {
   1109 	if e.Message == nil {
   1110 		return ""
   1111 	}
   1112 	return *e.Message
   1113 }
   1114 func (e *LimitsExceeded) ErrorCode() string {
   1115 	if e == nil || e.ErrorCodeOverride == nil {
   1116 		return "LimitsExceeded"
   1117 	}
   1118 	return *e.ErrorCodeOverride
   1119 }
   1120 func (e *LimitsExceeded) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1121 
   1122 // A change with the specified change ID does not exist.
   1123 type NoSuchChange struct {
   1124 	Message *string
   1125 
   1126 	ErrorCodeOverride *string
   1127 
   1128 	noSmithyDocumentSerde
   1129 }
   1130 
   1131 func (e *NoSuchChange) Error() string {
   1132 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1133 }
   1134 func (e *NoSuchChange) ErrorMessage() string {
   1135 	if e.Message == nil {
   1136 		return ""
   1137 	}
   1138 	return *e.Message
   1139 }
   1140 func (e *NoSuchChange) ErrorCode() string {
   1141 	if e == nil || e.ErrorCodeOverride == nil {
   1142 		return "NoSuchChange"
   1143 	}
   1144 	return *e.ErrorCodeOverride
   1145 }
   1146 func (e *NoSuchChange) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1147 
   1148 // The CIDR collection you specified, doesn't exist.
   1149 type NoSuchCidrCollectionException struct {
   1150 	Message *string
   1151 
   1152 	ErrorCodeOverride *string
   1153 
   1154 	noSmithyDocumentSerde
   1155 }
   1156 
   1157 func (e *NoSuchCidrCollectionException) Error() string {
   1158 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1159 }
   1160 func (e *NoSuchCidrCollectionException) ErrorMessage() string {
   1161 	if e.Message == nil {
   1162 		return ""
   1163 	}
   1164 	return *e.Message
   1165 }
   1166 func (e *NoSuchCidrCollectionException) ErrorCode() string {
   1167 	if e == nil || e.ErrorCodeOverride == nil {
   1168 		return "NoSuchCidrCollectionException"
   1169 	}
   1170 	return *e.ErrorCodeOverride
   1171 }
   1172 func (e *NoSuchCidrCollectionException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1173 
   1174 // The CIDR collection location doesn't match any locations in your account.
   1175 type NoSuchCidrLocationException struct {
   1176 	Message *string
   1177 
   1178 	ErrorCodeOverride *string
   1179 
   1180 	noSmithyDocumentSerde
   1181 }
   1182 
   1183 func (e *NoSuchCidrLocationException) Error() string {
   1184 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1185 }
   1186 func (e *NoSuchCidrLocationException) ErrorMessage() string {
   1187 	if e.Message == nil {
   1188 		return ""
   1189 	}
   1190 	return *e.Message
   1191 }
   1192 func (e *NoSuchCidrLocationException) ErrorCode() string {
   1193 	if e == nil || e.ErrorCodeOverride == nil {
   1194 		return "NoSuchCidrLocationException"
   1195 	}
   1196 	return *e.ErrorCodeOverride
   1197 }
   1198 func (e *NoSuchCidrLocationException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1199 
   1200 // There is no CloudWatch Logs log group with the specified ARN.
   1201 type NoSuchCloudWatchLogsLogGroup struct {
   1202 	Message *string
   1203 
   1204 	ErrorCodeOverride *string
   1205 
   1206 	noSmithyDocumentSerde
   1207 }
   1208 
   1209 func (e *NoSuchCloudWatchLogsLogGroup) Error() string {
   1210 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1211 }
   1212 func (e *NoSuchCloudWatchLogsLogGroup) ErrorMessage() string {
   1213 	if e.Message == nil {
   1214 		return ""
   1215 	}
   1216 	return *e.Message
   1217 }
   1218 func (e *NoSuchCloudWatchLogsLogGroup) ErrorCode() string {
   1219 	if e == nil || e.ErrorCodeOverride == nil {
   1220 		return "NoSuchCloudWatchLogsLogGroup"
   1221 	}
   1222 	return *e.ErrorCodeOverride
   1223 }
   1224 func (e *NoSuchCloudWatchLogsLogGroup) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1225 
   1226 // A reusable delegation set with the specified ID does not exist.
   1227 type NoSuchDelegationSet struct {
   1228 	Message *string
   1229 
   1230 	ErrorCodeOverride *string
   1231 
   1232 	noSmithyDocumentSerde
   1233 }
   1234 
   1235 func (e *NoSuchDelegationSet) Error() string {
   1236 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1237 }
   1238 func (e *NoSuchDelegationSet) ErrorMessage() string {
   1239 	if e.Message == nil {
   1240 		return ""
   1241 	}
   1242 	return *e.Message
   1243 }
   1244 func (e *NoSuchDelegationSet) ErrorCode() string {
   1245 	if e == nil || e.ErrorCodeOverride == nil {
   1246 		return "NoSuchDelegationSet"
   1247 	}
   1248 	return *e.ErrorCodeOverride
   1249 }
   1250 func (e *NoSuchDelegationSet) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1251 
   1252 // Amazon Route 53 doesn't support the specified geographic location. For a list
   1253 // of supported geolocation codes, see the GeoLocation (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GeoLocation.html)
   1254 // data type.
   1255 type NoSuchGeoLocation struct {
   1256 	Message *string
   1257 
   1258 	ErrorCodeOverride *string
   1259 
   1260 	noSmithyDocumentSerde
   1261 }
   1262 
   1263 func (e *NoSuchGeoLocation) Error() string {
   1264 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1265 }
   1266 func (e *NoSuchGeoLocation) ErrorMessage() string {
   1267 	if e.Message == nil {
   1268 		return ""
   1269 	}
   1270 	return *e.Message
   1271 }
   1272 func (e *NoSuchGeoLocation) ErrorCode() string {
   1273 	if e == nil || e.ErrorCodeOverride == nil {
   1274 		return "NoSuchGeoLocation"
   1275 	}
   1276 	return *e.ErrorCodeOverride
   1277 }
   1278 func (e *NoSuchGeoLocation) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1279 
   1280 // No health check exists with the specified ID.
   1281 type NoSuchHealthCheck struct {
   1282 	Message *string
   1283 
   1284 	ErrorCodeOverride *string
   1285 
   1286 	noSmithyDocumentSerde
   1287 }
   1288 
   1289 func (e *NoSuchHealthCheck) Error() string {
   1290 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1291 }
   1292 func (e *NoSuchHealthCheck) ErrorMessage() string {
   1293 	if e.Message == nil {
   1294 		return ""
   1295 	}
   1296 	return *e.Message
   1297 }
   1298 func (e *NoSuchHealthCheck) ErrorCode() string {
   1299 	if e == nil || e.ErrorCodeOverride == nil {
   1300 		return "NoSuchHealthCheck"
   1301 	}
   1302 	return *e.ErrorCodeOverride
   1303 }
   1304 func (e *NoSuchHealthCheck) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1305 
   1306 // No hosted zone exists with the ID that you specified.
   1307 type NoSuchHostedZone struct {
   1308 	Message *string
   1309 
   1310 	ErrorCodeOverride *string
   1311 
   1312 	noSmithyDocumentSerde
   1313 }
   1314 
   1315 func (e *NoSuchHostedZone) Error() string {
   1316 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1317 }
   1318 func (e *NoSuchHostedZone) ErrorMessage() string {
   1319 	if e.Message == nil {
   1320 		return ""
   1321 	}
   1322 	return *e.Message
   1323 }
   1324 func (e *NoSuchHostedZone) ErrorCode() string {
   1325 	if e == nil || e.ErrorCodeOverride == nil {
   1326 		return "NoSuchHostedZone"
   1327 	}
   1328 	return *e.ErrorCodeOverride
   1329 }
   1330 func (e *NoSuchHostedZone) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1331 
   1332 // The specified key-signing key (KSK) doesn't exist.
   1333 type NoSuchKeySigningKey struct {
   1334 	Message *string
   1335 
   1336 	ErrorCodeOverride *string
   1337 
   1338 	noSmithyDocumentSerde
   1339 }
   1340 
   1341 func (e *NoSuchKeySigningKey) Error() string {
   1342 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1343 }
   1344 func (e *NoSuchKeySigningKey) ErrorMessage() string {
   1345 	if e.Message == nil {
   1346 		return ""
   1347 	}
   1348 	return *e.Message
   1349 }
   1350 func (e *NoSuchKeySigningKey) ErrorCode() string {
   1351 	if e == nil || e.ErrorCodeOverride == nil {
   1352 		return "NoSuchKeySigningKey"
   1353 	}
   1354 	return *e.ErrorCodeOverride
   1355 }
   1356 func (e *NoSuchKeySigningKey) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1357 
   1358 // There is no DNS query logging configuration with the specified ID.
   1359 type NoSuchQueryLoggingConfig struct {
   1360 	Message *string
   1361 
   1362 	ErrorCodeOverride *string
   1363 
   1364 	noSmithyDocumentSerde
   1365 }
   1366 
   1367 func (e *NoSuchQueryLoggingConfig) Error() string {
   1368 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1369 }
   1370 func (e *NoSuchQueryLoggingConfig) ErrorMessage() string {
   1371 	if e.Message == nil {
   1372 		return ""
   1373 	}
   1374 	return *e.Message
   1375 }
   1376 func (e *NoSuchQueryLoggingConfig) ErrorCode() string {
   1377 	if e == nil || e.ErrorCodeOverride == nil {
   1378 		return "NoSuchQueryLoggingConfig"
   1379 	}
   1380 	return *e.ErrorCodeOverride
   1381 }
   1382 func (e *NoSuchQueryLoggingConfig) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1383 
   1384 // No traffic policy exists with the specified ID.
   1385 type NoSuchTrafficPolicy struct {
   1386 	Message *string
   1387 
   1388 	ErrorCodeOverride *string
   1389 
   1390 	noSmithyDocumentSerde
   1391 }
   1392 
   1393 func (e *NoSuchTrafficPolicy) Error() string {
   1394 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1395 }
   1396 func (e *NoSuchTrafficPolicy) ErrorMessage() string {
   1397 	if e.Message == nil {
   1398 		return ""
   1399 	}
   1400 	return *e.Message
   1401 }
   1402 func (e *NoSuchTrafficPolicy) ErrorCode() string {
   1403 	if e == nil || e.ErrorCodeOverride == nil {
   1404 		return "NoSuchTrafficPolicy"
   1405 	}
   1406 	return *e.ErrorCodeOverride
   1407 }
   1408 func (e *NoSuchTrafficPolicy) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1409 
   1410 // No traffic policy instance exists with the specified ID.
   1411 type NoSuchTrafficPolicyInstance struct {
   1412 	Message *string
   1413 
   1414 	ErrorCodeOverride *string
   1415 
   1416 	noSmithyDocumentSerde
   1417 }
   1418 
   1419 func (e *NoSuchTrafficPolicyInstance) Error() string {
   1420 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1421 }
   1422 func (e *NoSuchTrafficPolicyInstance) ErrorMessage() string {
   1423 	if e.Message == nil {
   1424 		return ""
   1425 	}
   1426 	return *e.Message
   1427 }
   1428 func (e *NoSuchTrafficPolicyInstance) ErrorCode() string {
   1429 	if e == nil || e.ErrorCodeOverride == nil {
   1430 		return "NoSuchTrafficPolicyInstance"
   1431 	}
   1432 	return *e.ErrorCodeOverride
   1433 }
   1434 func (e *NoSuchTrafficPolicyInstance) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1435 
   1436 // Associating the specified VPC with the specified hosted zone has not been
   1437 // authorized.
   1438 type NotAuthorizedException struct {
   1439 	Message *string
   1440 
   1441 	ErrorCodeOverride *string
   1442 
   1443 	noSmithyDocumentSerde
   1444 }
   1445 
   1446 func (e *NotAuthorizedException) Error() string {
   1447 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1448 }
   1449 func (e *NotAuthorizedException) ErrorMessage() string {
   1450 	if e.Message == nil {
   1451 		return ""
   1452 	}
   1453 	return *e.Message
   1454 }
   1455 func (e *NotAuthorizedException) ErrorCode() string {
   1456 	if e == nil || e.ErrorCodeOverride == nil {
   1457 		return "NotAuthorizedException"
   1458 	}
   1459 	return *e.ErrorCodeOverride
   1460 }
   1461 func (e *NotAuthorizedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1462 
   1463 // If Amazon Route 53 can't process a request before the next request arrives, it
   1464 // will reject subsequent requests for the same hosted zone and return an HTTP 400
   1465 // error ( Bad request ). If Route 53 returns this error repeatedly for the same
   1466 // request, we recommend that you wait, in intervals of increasing duration, before
   1467 // you try the request again.
   1468 type PriorRequestNotComplete struct {
   1469 	Message *string
   1470 
   1471 	ErrorCodeOverride *string
   1472 
   1473 	noSmithyDocumentSerde
   1474 }
   1475 
   1476 func (e *PriorRequestNotComplete) Error() string {
   1477 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1478 }
   1479 func (e *PriorRequestNotComplete) ErrorMessage() string {
   1480 	if e.Message == nil {
   1481 		return ""
   1482 	}
   1483 	return *e.Message
   1484 }
   1485 func (e *PriorRequestNotComplete) ErrorCode() string {
   1486 	if e == nil || e.ErrorCodeOverride == nil {
   1487 		return "PriorRequestNotComplete"
   1488 	}
   1489 	return *e.ErrorCodeOverride
   1490 }
   1491 func (e *PriorRequestNotComplete) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1492 
   1493 // You're trying to associate a VPC with a public hosted zone. Amazon Route 53
   1494 // doesn't support associating a VPC with a public hosted zone.
   1495 type PublicZoneVPCAssociation struct {
   1496 	Message *string
   1497 
   1498 	ErrorCodeOverride *string
   1499 
   1500 	noSmithyDocumentSerde
   1501 }
   1502 
   1503 func (e *PublicZoneVPCAssociation) Error() string {
   1504 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1505 }
   1506 func (e *PublicZoneVPCAssociation) ErrorMessage() string {
   1507 	if e.Message == nil {
   1508 		return ""
   1509 	}
   1510 	return *e.Message
   1511 }
   1512 func (e *PublicZoneVPCAssociation) ErrorCode() string {
   1513 	if e == nil || e.ErrorCodeOverride == nil {
   1514 		return "PublicZoneVPCAssociation"
   1515 	}
   1516 	return *e.ErrorCodeOverride
   1517 }
   1518 func (e *PublicZoneVPCAssociation) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1519 
   1520 // You can create only one query logging configuration for a hosted zone, and a
   1521 // query logging configuration already exists for this hosted zone.
   1522 type QueryLoggingConfigAlreadyExists struct {
   1523 	Message *string
   1524 
   1525 	ErrorCodeOverride *string
   1526 
   1527 	noSmithyDocumentSerde
   1528 }
   1529 
   1530 func (e *QueryLoggingConfigAlreadyExists) Error() string {
   1531 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1532 }
   1533 func (e *QueryLoggingConfigAlreadyExists) ErrorMessage() string {
   1534 	if e.Message == nil {
   1535 		return ""
   1536 	}
   1537 	return *e.Message
   1538 }
   1539 func (e *QueryLoggingConfigAlreadyExists) ErrorCode() string {
   1540 	if e == nil || e.ErrorCodeOverride == nil {
   1541 		return "QueryLoggingConfigAlreadyExists"
   1542 	}
   1543 	return *e.ErrorCodeOverride
   1544 }
   1545 func (e *QueryLoggingConfigAlreadyExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1546 
   1547 // The limit on the number of requests per second was exceeded.
   1548 type ThrottlingException struct {
   1549 	Message *string
   1550 
   1551 	ErrorCodeOverride *string
   1552 
   1553 	noSmithyDocumentSerde
   1554 }
   1555 
   1556 func (e *ThrottlingException) Error() string {
   1557 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1558 }
   1559 func (e *ThrottlingException) ErrorMessage() string {
   1560 	if e.Message == nil {
   1561 		return ""
   1562 	}
   1563 	return *e.Message
   1564 }
   1565 func (e *ThrottlingException) ErrorCode() string {
   1566 	if e == nil || e.ErrorCodeOverride == nil {
   1567 		return "ThrottlingException"
   1568 	}
   1569 	return *e.ErrorCodeOverride
   1570 }
   1571 func (e *ThrottlingException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1572 
   1573 // This health check can't be created because the current account has reached the
   1574 // limit on the number of active health checks. For information about default
   1575 // limits, see Limits (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html)
   1576 // in the Amazon Route 53 Developer Guide. For information about how to get the
   1577 // current limit for an account, see GetAccountLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html)
   1578 // . To request a higher limit, create a case (http://aws.amazon.com/route53-request)
   1579 // with the Amazon Web Services Support Center. You have reached the maximum number
   1580 // of active health checks for an Amazon Web Services account. To request a higher
   1581 // limit, create a case (http://aws.amazon.com/route53-request) with the Amazon
   1582 // Web Services Support Center.
   1583 type TooManyHealthChecks struct {
   1584 	Message *string
   1585 
   1586 	ErrorCodeOverride *string
   1587 
   1588 	noSmithyDocumentSerde
   1589 }
   1590 
   1591 func (e *TooManyHealthChecks) Error() string {
   1592 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1593 }
   1594 func (e *TooManyHealthChecks) ErrorMessage() string {
   1595 	if e.Message == nil {
   1596 		return ""
   1597 	}
   1598 	return *e.Message
   1599 }
   1600 func (e *TooManyHealthChecks) ErrorCode() string {
   1601 	if e == nil || e.ErrorCodeOverride == nil {
   1602 		return "TooManyHealthChecks"
   1603 	}
   1604 	return *e.ErrorCodeOverride
   1605 }
   1606 func (e *TooManyHealthChecks) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1607 
   1608 // This operation can't be completed either because the current account has
   1609 // reached the limit on the number of hosted zones or because you've reached the
   1610 // limit on the number of hosted zones that can be associated with a reusable
   1611 // delegation set. For information about default limits, see Limits (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html)
   1612 // in the Amazon Route 53 Developer Guide. To get the current limit on hosted zones
   1613 // that can be created by an account, see GetAccountLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html)
   1614 // . To get the current limit on hosted zones that can be associated with a
   1615 // reusable delegation set, see GetReusableDelegationSetLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetReusableDelegationSetLimit.html)
   1616 // . To request a higher limit, create a case (http://aws.amazon.com/route53-request)
   1617 // with the Amazon Web Services Support Center.
   1618 type TooManyHostedZones struct {
   1619 	Message *string
   1620 
   1621 	ErrorCodeOverride *string
   1622 
   1623 	noSmithyDocumentSerde
   1624 }
   1625 
   1626 func (e *TooManyHostedZones) Error() string {
   1627 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1628 }
   1629 func (e *TooManyHostedZones) ErrorMessage() string {
   1630 	if e.Message == nil {
   1631 		return ""
   1632 	}
   1633 	return *e.Message
   1634 }
   1635 func (e *TooManyHostedZones) ErrorCode() string {
   1636 	if e == nil || e.ErrorCodeOverride == nil {
   1637 		return "TooManyHostedZones"
   1638 	}
   1639 	return *e.ErrorCodeOverride
   1640 }
   1641 func (e *TooManyHostedZones) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1642 
   1643 // You've reached the limit for the number of key-signing keys (KSKs). Remove at
   1644 // least one KSK, and then try again.
   1645 type TooManyKeySigningKeys struct {
   1646 	Message *string
   1647 
   1648 	ErrorCodeOverride *string
   1649 
   1650 	noSmithyDocumentSerde
   1651 }
   1652 
   1653 func (e *TooManyKeySigningKeys) Error() string {
   1654 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1655 }
   1656 func (e *TooManyKeySigningKeys) ErrorMessage() string {
   1657 	if e.Message == nil {
   1658 		return ""
   1659 	}
   1660 	return *e.Message
   1661 }
   1662 func (e *TooManyKeySigningKeys) ErrorCode() string {
   1663 	if e == nil || e.ErrorCodeOverride == nil {
   1664 		return "TooManyKeySigningKeys"
   1665 	}
   1666 	return *e.ErrorCodeOverride
   1667 }
   1668 func (e *TooManyKeySigningKeys) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1669 
   1670 // This traffic policy can't be created because the current account has reached
   1671 // the limit on the number of traffic policies. For information about default
   1672 // limits, see Limits (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html)
   1673 // in the Amazon Route 53 Developer Guide. To get the current limit for an account,
   1674 // see GetAccountLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html)
   1675 // . To request a higher limit, create a case (http://aws.amazon.com/route53-request)
   1676 // with the Amazon Web Services Support Center.
   1677 type TooManyTrafficPolicies struct {
   1678 	Message *string
   1679 
   1680 	ErrorCodeOverride *string
   1681 
   1682 	noSmithyDocumentSerde
   1683 }
   1684 
   1685 func (e *TooManyTrafficPolicies) Error() string {
   1686 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1687 }
   1688 func (e *TooManyTrafficPolicies) ErrorMessage() string {
   1689 	if e.Message == nil {
   1690 		return ""
   1691 	}
   1692 	return *e.Message
   1693 }
   1694 func (e *TooManyTrafficPolicies) ErrorCode() string {
   1695 	if e == nil || e.ErrorCodeOverride == nil {
   1696 		return "TooManyTrafficPolicies"
   1697 	}
   1698 	return *e.ErrorCodeOverride
   1699 }
   1700 func (e *TooManyTrafficPolicies) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1701 
   1702 // This traffic policy instance can't be created because the current account has
   1703 // reached the limit on the number of traffic policy instances. For information
   1704 // about default limits, see Limits (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html)
   1705 // in the Amazon Route 53 Developer Guide. For information about how to get the
   1706 // current limit for an account, see GetAccountLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html)
   1707 // . To request a higher limit, create a case (http://aws.amazon.com/route53-request)
   1708 // with the Amazon Web Services Support Center.
   1709 type TooManyTrafficPolicyInstances struct {
   1710 	Message *string
   1711 
   1712 	ErrorCodeOverride *string
   1713 
   1714 	noSmithyDocumentSerde
   1715 }
   1716 
   1717 func (e *TooManyTrafficPolicyInstances) Error() string {
   1718 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1719 }
   1720 func (e *TooManyTrafficPolicyInstances) ErrorMessage() string {
   1721 	if e.Message == nil {
   1722 		return ""
   1723 	}
   1724 	return *e.Message
   1725 }
   1726 func (e *TooManyTrafficPolicyInstances) ErrorCode() string {
   1727 	if e == nil || e.ErrorCodeOverride == nil {
   1728 		return "TooManyTrafficPolicyInstances"
   1729 	}
   1730 	return *e.ErrorCodeOverride
   1731 }
   1732 func (e *TooManyTrafficPolicyInstances) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1733 
   1734 // This traffic policy version can't be created because you've reached the limit
   1735 // of 1000 on the number of versions that you can create for the current traffic
   1736 // policy. To create more traffic policy versions, you can use GetTrafficPolicy (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetTrafficPolicy.html)
   1737 // to get the traffic policy document for a specified traffic policy version, and
   1738 // then use CreateTrafficPolicy (https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateTrafficPolicy.html)
   1739 // to create a new traffic policy using the traffic policy document.
   1740 type TooManyTrafficPolicyVersionsForCurrentPolicy struct {
   1741 	Message *string
   1742 
   1743 	ErrorCodeOverride *string
   1744 
   1745 	noSmithyDocumentSerde
   1746 }
   1747 
   1748 func (e *TooManyTrafficPolicyVersionsForCurrentPolicy) Error() string {
   1749 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1750 }
   1751 func (e *TooManyTrafficPolicyVersionsForCurrentPolicy) ErrorMessage() string {
   1752 	if e.Message == nil {
   1753 		return ""
   1754 	}
   1755 	return *e.Message
   1756 }
   1757 func (e *TooManyTrafficPolicyVersionsForCurrentPolicy) ErrorCode() string {
   1758 	if e == nil || e.ErrorCodeOverride == nil {
   1759 		return "TooManyTrafficPolicyVersionsForCurrentPolicy"
   1760 	}
   1761 	return *e.ErrorCodeOverride
   1762 }
   1763 func (e *TooManyTrafficPolicyVersionsForCurrentPolicy) ErrorFault() smithy.ErrorFault {
   1764 	return smithy.FaultClient
   1765 }
   1766 
   1767 // You've created the maximum number of authorizations that can be created for the
   1768 // specified hosted zone. To authorize another VPC to be associated with the hosted
   1769 // zone, submit a DeleteVPCAssociationAuthorization request to remove an existing
   1770 // authorization. To get a list of existing authorizations, submit a
   1771 // ListVPCAssociationAuthorizations request.
   1772 type TooManyVPCAssociationAuthorizations struct {
   1773 	Message *string
   1774 
   1775 	ErrorCodeOverride *string
   1776 
   1777 	noSmithyDocumentSerde
   1778 }
   1779 
   1780 func (e *TooManyVPCAssociationAuthorizations) Error() string {
   1781 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1782 }
   1783 func (e *TooManyVPCAssociationAuthorizations) ErrorMessage() string {
   1784 	if e.Message == nil {
   1785 		return ""
   1786 	}
   1787 	return *e.Message
   1788 }
   1789 func (e *TooManyVPCAssociationAuthorizations) ErrorCode() string {
   1790 	if e == nil || e.ErrorCodeOverride == nil {
   1791 		return "TooManyVPCAssociationAuthorizations"
   1792 	}
   1793 	return *e.ErrorCodeOverride
   1794 }
   1795 func (e *TooManyVPCAssociationAuthorizations) ErrorFault() smithy.ErrorFault {
   1796 	return smithy.FaultClient
   1797 }
   1798 
   1799 // A traffic policy that has the same value for Name already exists.
   1800 type TrafficPolicyAlreadyExists struct {
   1801 	Message *string
   1802 
   1803 	ErrorCodeOverride *string
   1804 
   1805 	noSmithyDocumentSerde
   1806 }
   1807 
   1808 func (e *TrafficPolicyAlreadyExists) Error() string {
   1809 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1810 }
   1811 func (e *TrafficPolicyAlreadyExists) ErrorMessage() string {
   1812 	if e.Message == nil {
   1813 		return ""
   1814 	}
   1815 	return *e.Message
   1816 }
   1817 func (e *TrafficPolicyAlreadyExists) ErrorCode() string {
   1818 	if e == nil || e.ErrorCodeOverride == nil {
   1819 		return "TrafficPolicyAlreadyExists"
   1820 	}
   1821 	return *e.ErrorCodeOverride
   1822 }
   1823 func (e *TrafficPolicyAlreadyExists) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1824 
   1825 // There is already a traffic policy instance with the specified ID.
   1826 type TrafficPolicyInstanceAlreadyExists struct {
   1827 	Message *string
   1828 
   1829 	ErrorCodeOverride *string
   1830 
   1831 	noSmithyDocumentSerde
   1832 }
   1833 
   1834 func (e *TrafficPolicyInstanceAlreadyExists) Error() string {
   1835 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1836 }
   1837 func (e *TrafficPolicyInstanceAlreadyExists) ErrorMessage() string {
   1838 	if e.Message == nil {
   1839 		return ""
   1840 	}
   1841 	return *e.Message
   1842 }
   1843 func (e *TrafficPolicyInstanceAlreadyExists) ErrorCode() string {
   1844 	if e == nil || e.ErrorCodeOverride == nil {
   1845 		return "TrafficPolicyInstanceAlreadyExists"
   1846 	}
   1847 	return *e.ErrorCodeOverride
   1848 }
   1849 func (e *TrafficPolicyInstanceAlreadyExists) ErrorFault() smithy.ErrorFault {
   1850 	return smithy.FaultClient
   1851 }
   1852 
   1853 // One or more traffic policy instances were created by using the specified
   1854 // traffic policy.
   1855 type TrafficPolicyInUse struct {
   1856 	Message *string
   1857 
   1858 	ErrorCodeOverride *string
   1859 
   1860 	noSmithyDocumentSerde
   1861 }
   1862 
   1863 func (e *TrafficPolicyInUse) Error() string {
   1864 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1865 }
   1866 func (e *TrafficPolicyInUse) ErrorMessage() string {
   1867 	if e.Message == nil {
   1868 		return ""
   1869 	}
   1870 	return *e.Message
   1871 }
   1872 func (e *TrafficPolicyInUse) ErrorCode() string {
   1873 	if e == nil || e.ErrorCodeOverride == nil {
   1874 		return "TrafficPolicyInUse"
   1875 	}
   1876 	return *e.ErrorCodeOverride
   1877 }
   1878 func (e *TrafficPolicyInUse) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }
   1879 
   1880 // The VPC that you specified is not authorized to be associated with the hosted
   1881 // zone.
   1882 type VPCAssociationAuthorizationNotFound struct {
   1883 	Message *string
   1884 
   1885 	ErrorCodeOverride *string
   1886 
   1887 	noSmithyDocumentSerde
   1888 }
   1889 
   1890 func (e *VPCAssociationAuthorizationNotFound) Error() string {
   1891 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1892 }
   1893 func (e *VPCAssociationAuthorizationNotFound) ErrorMessage() string {
   1894 	if e.Message == nil {
   1895 		return ""
   1896 	}
   1897 	return *e.Message
   1898 }
   1899 func (e *VPCAssociationAuthorizationNotFound) ErrorCode() string {
   1900 	if e == nil || e.ErrorCodeOverride == nil {
   1901 		return "VPCAssociationAuthorizationNotFound"
   1902 	}
   1903 	return *e.ErrorCodeOverride
   1904 }
   1905 func (e *VPCAssociationAuthorizationNotFound) ErrorFault() smithy.ErrorFault {
   1906 	return smithy.FaultClient
   1907 }
   1908 
   1909 // The specified VPC and hosted zone are not currently associated.
   1910 type VPCAssociationNotFound struct {
   1911 	Message *string
   1912 
   1913 	ErrorCodeOverride *string
   1914 
   1915 	noSmithyDocumentSerde
   1916 }
   1917 
   1918 func (e *VPCAssociationNotFound) Error() string {
   1919 	return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage())
   1920 }
   1921 func (e *VPCAssociationNotFound) ErrorMessage() string {
   1922 	if e.Message == nil {
   1923 		return ""
   1924 	}
   1925 	return *e.Message
   1926 }
   1927 func (e *VPCAssociationNotFound) ErrorCode() string {
   1928 	if e == nil || e.ErrorCodeOverride == nil {
   1929 		return "VPCAssociationNotFound"
   1930 	}
   1931 	return *e.ErrorCodeOverride
   1932 }
   1933 func (e *VPCAssociationNotFound) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }