code.dwrz.net

Go monorepo.
Log | Files | Refs

errors.go (48034B)


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