Class DetectiveException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\Detective\Exception\DetectiveException
- Namespace: Aws\Detective\Exception
- Located at Detective/Exception/DetectiveException.php
Represents an error interacting with the Amazon Detective 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
AccessDeniedException
[ 'ErrorCode' => 'INVALID_GRAPH_ARN|INVALID_REQUEST_BODY|INTERNAL_ERROR', 'ErrorCodeReason' => '<string>', 'Message' => '<string>', 'SubErrorCode' => 'INVALID_GRAPH_ARN|INVALID_REQUEST_BODY|INTERNAL_ERROR', 'SubErrorCodeReason' => '<string>', ]
Description
The request issuer does not have permission to access this resource or perform this operation.
Members
- ErrorCode
-
- Type: string
The SDK default error code associated with the access denied exception.
- ErrorCodeReason
-
- Type: string
The SDK default explanation of why access was denied.
- Message
-
- Type: string
- SubErrorCode
-
- Type: string
The error code associated with the access denied exception.
- SubErrorCodeReason
-
- Type: string
An explanation of why access was denied.
ConflictException
[ 'Message' => '<string>', ]
Description
The request attempted an invalid action.
Members
- Message
-
- Type: string
InternalServerException
[ 'Message' => '<string>', ]
Description
The request was valid but failed because of a problem with the service.
Members
- Message
-
- Type: string
ResourceNotFoundException
[ 'Message' => '<string>', ]
Description
The request refers to a nonexistent resource.
Members
- Message
-
- Type: string
ServiceQuotaExceededException
[ 'Message' => '<string>', 'Resources' => ['<string>', ...], ]
Description
This request cannot be completed for one of the following reasons.
-
The request would cause the number of member accounts in the behavior graph to exceed the maximum allowed. A behavior graph cannot have more than 1200 member accounts.
-
The request would cause the data rate for the behavior graph to exceed the maximum allowed.
-
Detective is unable to verify the data rate for the member account. This is usually because the member account is not enrolled in Amazon GuardDuty.
Members
- Message
-
- Type: string
- Resources
-
- Type: Array of strings
The type of resource that has exceeded the service quota.
TooManyRequestsException
[ 'Message' => '<string>', ]
Description
The request cannot be completed because too many other requests are occurring at the same time.
Members
- Message
-
- Type: string
ValidationException
[ 'ErrorCode' => 'INVALID_GRAPH_ARN|INVALID_REQUEST_BODY|INTERNAL_ERROR', 'ErrorCodeReason' => '<string>', 'Message' => '<string>', ]
Description
The request parameters are invalid.
Members
- ErrorCode
-
- Type: string
The error code associated with the validation failure.
- ErrorCodeReason
-
- Type: string
An explanation of why validation failed.
- Message
-
- Type: string