Class ServiceDiscoveryException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\ServiceDiscovery\Exception\ServiceDiscoveryException
- Namespace: Aws\ServiceDiscovery\Exception
- Located at ServiceDiscovery/Exception/ServiceDiscoveryException.php
Represents an error interacting with the Amazon Route 53 Auto Naming 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
CustomHealthNotFound
[ 'Message' => '<string>', ]
Description
The health check for the instance that's specified by ServiceId
and InstanceId
isn't a custom health check.
Members
DuplicateRequest
[ 'DuplicateOperationId' => '<string>', 'Message' => '<string>', ]
Description
The operation is already in progress.
Members
InstanceNotFound
[ 'Message' => '<string>', ]
Description
No instance exists with the specified ID, or the instance was recently registered, and information about the instance hasn't propagated yet.
Members
InvalidInput
[ 'Message' => '<string>', ]
Description
One or more specified values aren't valid. For example, a required value might be missing, a numeric value might be outside the allowed range, or a string value might exceed length constraints.
Members
NamespaceAlreadyExists
[ 'CreatorRequestId' => '<string>', 'Message' => '<string>', 'NamespaceId' => '<string>', ]
Description
The namespace that you're trying to create already exists.
Members
NamespaceNotFound
[ 'Message' => '<string>', ]
OperationNotFound
[ 'Message' => '<string>', ]
RequestLimitExceeded
[ 'Message' => '<string>', ]
Description
The operation can't be completed because you've reached the quota for the number of requests. For more information, see Cloud Map API request throttling quota in the Cloud Map Developer Guide.
Members
ResourceInUse
[ 'Message' => '<string>', ]
Description
The specified resource can't be deleted because it contains other resources. For example, you can't delete a service that contains any instances.
Members
ResourceLimitExceeded
[ 'Message' => '<string>', ]
Description
The resource can't be created because you've reached the quota on the number of resources.
Members
ResourceNotFoundException
[ 'Message' => '<string>', ]
Description
The operation can't be completed because the resource was not found.
Members
ServiceAlreadyExists
[ 'CreatorRequestId' => '<string>', 'Message' => '<string>', 'ServiceId' => '<string>', ]
Description
The service can't be created because a service with the same name already exists.
Members
ServiceNotFound
[ 'Message' => '<string>', ]
TooManyTagsException
[ 'Message' => '<string>', 'ResourceName' => '<string>', ]