Class Route53Exception
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\Route53\Exception\Route53Exception
- Namespace: Aws\Route53\Exception
- Located at Route53/Exception/Route53Exception.php
Represents an error interacting with the Amazon Route 53 service.
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorShape()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
CidrBlockInUseException
[ 'Message' => '<string>', ]
CidrCollectionAlreadyExistsException
[ 'Message' => '<string>', ]
Description
A CIDR collection with this name and a different caller reference already exists in this account.
Members
CidrCollectionInUseException
[ 'Message' => '<string>', ]
CidrCollectionVersionMismatchException
[ 'Message' => '<string>', ]
Description
The CIDR collection version you provided, doesn't match the one in the ListCidrCollections
operation.
Members
ConcurrentModification
[ 'message' => '<string>', ]
Description
Another user submitted a request to create, update, or delete the object at the same time that you did. Retry the request.
Members
ConflictingDomainExists
[ 'message' => '<string>', ]
Description
The cause of this error depends on the operation that you're performing:
-
Create a public hosted zone: Two hosted zones that have the same name or that have a parent/child relationship (example.com and test.example.com) can't have any common name servers. You tried to create a hosted zone that has the same name as an existing hosted zone or that's the parent or child of an existing hosted zone, and you specified a delegation set that shares one or more name servers with the existing hosted zone. For more information, see CreateReusableDelegationSet.
-
Create a private hosted zone: A hosted zone with the specified name already exists and is already associated with the Amazon VPC that you specified.
-
Associate VPCs with a private hosted zone: The VPC that you specified is already associated with another hosted zone that has the same name.
Members
ConflictingTypes
[ 'message' => '<string>', ]
Description
You tried to update a traffic policy instance by using a traffic policy version that has a different DNS type than the current type for the instance. You specified the type in the JSON document in the CreateTrafficPolicy
or CreateTrafficPolicyVersion
request.
Members
DNSSECNotFound
[ 'message' => '<string>', ]
DelegationSetAlreadyCreated
[ 'message' => '<string>', ]
Description
A delegation set with the same owner and caller reference combination has already been created.
Members
DelegationSetAlreadyReusable
[ 'message' => '<string>', ]
Description
The specified delegation set has already been marked as reusable.
Members
DelegationSetInUse
[ 'message' => '<string>', ]
Description
The specified delegation contains associated hosted zones which must be deleted before the reusable delegation set can be deleted.
Members
DelegationSetNotAvailable
[ 'message' => '<string>', ]
Description
You can create a hosted zone that has the same name as an existing hosted zone (example.com is common), but there is a limit to the number of hosted zones that have the same name. If you get this error, Amazon Route 53 has reached that limit. If you own the domain name and Route 53 generates this error, contact Customer Support.
Members
DelegationSetNotReusable
[ 'message' => '<string>', ]
Description
A reusable delegation set with the specified ID does not exist.
Members
HealthCheckAlreadyExists
[ 'message' => '<string>', ]
Description
The health check you're attempting to create already exists. Amazon Route 53 returns this error when you submit a request that has the following values:
-
The same value for
CallerReference
as an existing health check, and one or more values that differ from the existing health check that has the same caller reference. -
The same value for
CallerReference
as a health check that you created and later deleted, regardless of the other settings in the request.
Members
HealthCheckInUse
[ 'message' => '<string>', ]
HealthCheckVersionMismatch
[ 'message' => '<string>', ]
Description
The value of HealthCheckVersion
in the request doesn't match the value of HealthCheckVersion
in the health check.
Members
HostedZoneAlreadyExists
[ 'message' => '<string>', ]
Description
The hosted zone you're trying to create already exists. Amazon Route 53 returns this error when a hosted zone has already been created with the specified CallerReference
.
Members
HostedZoneNotEmpty
[ 'message' => '<string>', ]
Description
The hosted zone contains resource records that are not SOA or NS records.
Members
HostedZoneNotFound
[ 'message' => '<string>', ]
HostedZoneNotPrivate
[ 'message' => '<string>', ]
Description
The specified hosted zone is a public hosted zone, not a private hosted zone.
Members
HostedZonePartiallyDelegated
[ 'message' => '<string>', ]
Description
The hosted zone nameservers don't match the parent nameservers. The hosted zone and parent must have the same nameservers.
Members
IncompatibleVersion
[ 'message' => '<string>', ]
Description
The resource you're trying to access is unsupported on this Amazon Route 53 endpoint.
Members
InsufficientCloudWatchLogsResourcePolicy
[ 'message' => '<string>', ]
Description
Amazon Route 53 doesn't have the permissions required to create log streams and send query logs to log streams. Possible causes include the following:
-
There is no resource policy that specifies the log group ARN in the value for
Resource
. -
The resource policy that includes the log group ARN in the value for
Resource
doesn't have the necessary permissions. -
The resource policy hasn't finished propagating yet.
-
The Key management service (KMS) key you specified doesn’t exist or it can’t be used with the log group associated with query log. Update or provide a resource policy to grant permissions for the KMS key.
-
The Key management service (KMS) key you specified is marked as disabled for the log group associated with query log. Update or provide a resource policy to grant permissions for the KMS key.
Members
InvalidArgument
[ 'message' => '<string>', ]
InvalidChangeBatch
[ 'message' => '<string>', 'messages' => ['<string>', ...], ]
Description
This exception contains a list of messages that might contain one or more error messages. Each error message indicates one error in the change batch.
Members
InvalidDomainName
[ 'message' => '<string>', ]
InvalidInput
[ 'message' => '<string>', ]
InvalidKMSArn
[ 'message' => '<string>', ]
Description
The KeyManagementServiceArn that you specified isn't valid to use with DNSSEC signing.
Members
InvalidKeySigningKeyName
[ 'message' => '<string>', ]
Description
The key-signing key (KSK) name that you specified isn't a valid name.
Members
InvalidKeySigningKeyStatus
[ 'message' => '<string>', ]
Description
The key-signing key (KSK) status isn't valid or another KSK has the status INTERNAL_FAILURE
.
Members
InvalidPaginationToken
[ 'message' => '<string>', ]
Description
The value that you specified to get the second or subsequent page of results is invalid.
Members
InvalidSigningStatus
[ 'message' => '<string>', ]
Description
Your hosted zone status isn't valid for this operation. In the hosted zone, change the status to enable DNSSEC
or disable DNSSEC
.
Members
InvalidTrafficPolicyDocument
[ 'message' => '<string>', ]
Description
The format of the traffic policy document that you specified in the Document
element is not valid.
Members
InvalidVPCId
[ 'message' => '<string>', ]
Description
The VPC ID that you specified either isn't a valid ID or the current account is not authorized to access this VPC.
Members
KeySigningKeyAlreadyExists
[ 'message' => '<string>', ]
Description
You've already created a key-signing key (KSK) with this name or with the same customer managed key ARN.
Members
KeySigningKeyInParentDSRecord
[ 'message' => '<string>', ]
Description
The key-signing key (KSK) is specified in a parent DS record.
Members
KeySigningKeyInUse
[ 'message' => '<string>', ]
Description
The key-signing key (KSK) that you specified can't be deactivated because it's the only KSK for a currently-enabled DNSSEC. Disable DNSSEC signing, or add or enable another KSK.
Members
KeySigningKeyWithActiveStatusNotFound
[ 'message' => '<string>', ]
LastVPCAssociation
[ 'message' => '<string>', ]
Description
The VPC that you're trying to disassociate from the private hosted zone is the last VPC that is associated with the hosted zone. Amazon Route 53 doesn't support disassociating the last VPC from a hosted zone.
Members
LimitsExceeded
[ 'message' => '<string>', ]
Description
This operation can't be completed because the current account has reached the limit on the resource you are trying to create. To request a higher limit, create a case with the Amazon Web Services Support Center.
Members
NoSuchChange
[ 'message' => '<string>', ]
NoSuchCidrCollectionException
[ 'Message' => '<string>', ]
NoSuchCidrLocationException
[ 'Message' => '<string>', ]
Description
The CIDR collection location doesn't match any locations in your account.
Members
NoSuchCloudWatchLogsLogGroup
[ 'message' => '<string>', ]
Description
There is no CloudWatch Logs log group with the specified ARN.
Members
NoSuchDelegationSet
[ 'message' => '<string>', ]
Description
A reusable delegation set with the specified ID does not exist.
Members
NoSuchGeoLocation
[ 'message' => '<string>', ]
Description
Amazon Route 53 doesn't support the specified geographic location. For a list of supported geolocation codes, see the GeoLocation data type.
Members
NoSuchHealthCheck
[ 'message' => '<string>', ]
NoSuchHostedZone
[ 'message' => '<string>', ]
NoSuchKeySigningKey
[ 'message' => '<string>', ]
NoSuchQueryLoggingConfig
[ 'message' => '<string>', ]
Description
There is no DNS query logging configuration with the specified ID.
Members
NoSuchTrafficPolicy
[ 'message' => '<string>', ]
NoSuchTrafficPolicyInstance
[ 'message' => '<string>', ]
NotAuthorizedException
[ 'message' => '<string>', ]
Description
Associating the specified VPC with the specified hosted zone has not been authorized.
Members
PriorRequestNotComplete
[ 'message' => '<string>', ]
Description
If Amazon Route 53 can't process a request before the next request arrives, it will reject subsequent requests for the same hosted zone and return an HTTP 400 error
(Bad request
). If Route 53 returns this error repeatedly for the same request, we recommend that you wait, in intervals of increasing duration, before you try the request again.
Members
PublicZoneVPCAssociation
[ 'message' => '<string>', ]
Description
You're trying to associate a VPC with a public hosted zone. Amazon Route 53 doesn't support associating a VPC with a public hosted zone.
Members
QueryLoggingConfigAlreadyExists
[ 'message' => '<string>', ]
Description
You can create only one query logging configuration for a hosted zone, and a query logging configuration already exists for this hosted zone.
Members
ThrottlingException
[ 'message' => '<string>', ]
Description
The limit on the number of requests per second was exceeded.
Members
TooManyHealthChecks
[ 'message' => '<string>', ]
Description
This health check can't be created because the current account has reached the limit on the number of active health checks.
For information about default limits, see Limits in the Amazon Route 53 Developer Guide.
For information about how to get the current limit for an account, see GetAccountLimit. To request a higher limit, create a case with the Amazon Web Services Support Center.
You have reached the maximum number of active health checks for an Amazon Web Services account. To request a higher limit, create a case with the Amazon Web Services Support Center.
Members
TooManyHostedZones
[ 'message' => '<string>', ]
Description
This operation can't be completed either because the current account has reached the limit on the number of hosted zones or because you've reached the limit on the number of hosted zones that can be associated with a reusable delegation set.
For information about default limits, see Limits in the Amazon Route 53 Developer Guide.
To get the current limit on hosted zones that can be created by an account, see GetAccountLimit.
To get the current limit on hosted zones that can be associated with a reusable delegation set, see GetReusableDelegationSetLimit.
To request a higher limit, create a case with the Amazon Web Services Support Center.
Members
TooManyKeySigningKeys
[ 'message' => '<string>', ]
Description
You've reached the limit for the number of key-signing keys (KSKs). Remove at least one KSK, and then try again.
Members
TooManyTrafficPolicies
[ 'message' => '<string>', ]
Description
This traffic policy can't be created because the current account has reached the limit on the number of traffic policies.
For information about default limits, see Limits in the Amazon Route 53 Developer Guide.
To get the current limit for an account, see GetAccountLimit.
To request a higher limit, create a case with the Amazon Web Services Support Center.
Members
TooManyTrafficPolicyInstances
[ 'message' => '<string>', ]
Description
This traffic policy instance can't be created because the current account has reached the limit on the number of traffic policy instances.
For information about default limits, see Limits in the Amazon Route 53 Developer Guide.
For information about how to get the current limit for an account, see GetAccountLimit.
To request a higher limit, create a case with the Amazon Web Services Support Center.
Members
TooManyTrafficPolicyVersionsForCurrentPolicy
[ 'message' => '<string>', ]
Description
This traffic policy version can't be created because you've reached the limit of 1000 on the number of versions that you can create for the current traffic policy.
To create more traffic policy versions, you can use GetTrafficPolicy to get the traffic policy document for a specified traffic policy version, and then use CreateTrafficPolicy to create a new traffic policy using the traffic policy document.
Members
TooManyVPCAssociationAuthorizations
[ 'message' => '<string>', ]
Description
You've created the maximum number of authorizations that can be created for the specified hosted zone. To authorize another VPC to be associated with the hosted zone, submit a DeleteVPCAssociationAuthorization
request to remove an existing authorization. To get a list of existing authorizations, submit a ListVPCAssociationAuthorizations
request.
Members
TrafficPolicyAlreadyExists
[ 'message' => '<string>', ]
Description
A traffic policy that has the same value for Name
already exists.
Members
TrafficPolicyInUse
[ 'message' => '<string>', ]
Description
One or more traffic policy instances were created by using the specified traffic policy.
Members
TrafficPolicyInstanceAlreadyExists
[ 'message' => '<string>', ]
Description
There is already a traffic policy instance with the specified ID.
Members
VPCAssociationAuthorizationNotFound
[ 'message' => '<string>', ]
Description
The VPC that you specified is not authorized to be associated with the hosted zone.
Members
VPCAssociationNotFound
[ 'message' => '<string>', ]