Class XRayException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\XRay\Exception\XRayException
- Namespace: Aws\XRay\Exception
- Located at XRay/Exception/XRayException.php
Represents an error interacting with the AWS X-Ray 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
InvalidPolicyRevisionIdException
[ 'Message' => '<string>', ]
Description
A policy revision id was provided which does not match the latest policy revision. This exception is also if a policy revision id of 0 is provided via PutResourcePolicy
and a policy with the same name already exists.
Members
- Message
-
- Type: string
InvalidRequestException
[ 'Message' => '<string>', ]
Description
The request is missing required parameters or has invalid parameters.
Members
- Message
-
- Type: string
LockoutPreventionException
[ 'Message' => '<string>', ]
Description
The provided resource policy would prevent the caller of this request from calling PutResourcePolicy in the future.
Members
- Message
-
- Type: string
MalformedPolicyDocumentException
[ 'Message' => '<string>', ]
Description
Invalid policy document provided in request.
Members
- Message
-
- Type: string
PolicyCountLimitExceededException
[ 'Message' => '<string>', ]
Description
Exceeded the maximum number of resource policies for a target Amazon Web Services account.
Members
- Message
-
- Type: string
PolicySizeLimitExceededException
[ 'Message' => '<string>', ]
Description
Exceeded the maximum size for a resource policy.
Members
- Message
-
- Type: string
ResourceNotFoundException
[ 'Message' => '<string>', 'ResourceName' => '<string>', ]
Description
The resource was not found. Verify that the name or Amazon Resource Name (ARN) of the resource is correct.
Members
- Message
-
- Type: string
- ResourceName
-
- Type: string
RuleLimitExceededException
[ 'Message' => '<string>', ]
Description
You have reached the maximum number of sampling rules.
Members
- Message
-
- Type: string
ThrottledException
[ 'Message' => '<string>', ]
Description
The request exceeds the maximum number of requests per second.
Members
- Message
-
- Type: string
TooManyTagsException
[ 'Message' => '<string>', 'ResourceName' => '<string>', ]
Description
You have exceeded the maximum number of tags you can apply to this resource.
Members
- Message
-
- Type: string
- ResourceName
-
- Type: string