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
- Message
-
- Type: string
DuplicateRequest
[ 'DuplicateOperationId' => '<string>', 'Message' => '<string>', ]
Description
The operation is already in progress.
Members
- DuplicateOperationId
-
- Type: string
The ID of the operation that's already in progress.
- Message
-
- Type: string
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
- Message
-
- Type: string
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
- Message
-
- Type: string
NamespaceAlreadyExists
[ 'CreatorRequestId' => '<string>', 'Message' => '<string>', 'NamespaceId' => '<string>', ]
Description
The namespace that you're trying to create already exists.
Members
- CreatorRequestId
-
- Type: string
The
CreatorRequestId
that was used to create the namespace. - Message
-
- Type: string
- NamespaceId
-
- Type: string
The ID of the existing namespace.
NamespaceNotFound
[ 'Message' => '<string>', ]
Description
No namespace exists with the specified ID.
Members
- Message
-
- Type: string
OperationNotFound
[ 'Message' => '<string>', ]
Description
No operation exists with the specified ID.
Members
- Message
-
- Type: 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
- Message
-
- Type: string
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
- Message
-
- Type: string
ResourceLimitExceeded
[ 'Message' => '<string>', ]
Description
The resource can't be created because you've reached the quota on the number of resources.
Members
- Message
-
- Type: string
ResourceNotFoundException
[ 'Message' => '<string>', ]
Description
The operation can't be completed because the resource was not found.
Members
- Message
-
- Type: string
ServiceAlreadyExists
[ 'CreatorRequestId' => '<string>', 'Message' => '<string>', 'ServiceId' => '<string>', ]
Description
The service can't be created because a service with the same name already exists.
Members
- CreatorRequestId
-
- Type: string
The
CreatorRequestId
that was used to create the service. - Message
-
- Type: string
- ServiceId
-
- Type: string
The ID of the existing service.
ServiceNotFound
[ 'Message' => '<string>', ]
Description
No service exists with the specified ID.
Members
- Message
-
- Type: string
TooManyTagsException
[ 'Message' => '<string>', 'ResourceName' => '<string>', ]
Description
The list of tags on the resource is over the quota. The maximum number of tags that can be applied to a resource is 50.
Members
- Message
-
- Type: string
- ResourceName
-
- Type: string
The name of the resource.