Class CodeGuruSecurityException
- Exception
- RuntimeException
- Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
- Aws\CodeGuruSecurity\Exception\CodeGuruSecurityException
- Namespace: Aws\CodeGuruSecurity\Exception
- Located at CodeGuruSecurity/Exception/CodeGuruSecurityException.php
Represents an error interacting with the Amazon CodeGuru Security 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' => '<string>', 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
You do not have sufficient access to perform this action.
Members
- errorCode
-
- Required: Yes
- Type: string
The identifier for the error.
- message
-
- Required: Yes
- Type: string
Description of the error.
- resourceId
-
- Type: string
The identifier for the resource you don't have access to.
- resourceType
-
- Type: string
The type of resource you don't have access to.
ConflictException
[ 'errorCode' => '<string>', 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.
Members
- errorCode
-
- Required: Yes
- Type: string
The identifier for the error.
- message
-
- Required: Yes
- Type: string
Description of the error.
- resourceId
-
- Required: Yes
- Type: string
The identifier for the service resource associated with the request.
- resourceType
-
- Required: Yes
- Type: string
The type of resource associated with the request.
InternalServerException
[ 'error' => '<string>', 'message' => '<string>', ]
Description
The server encountered an internal error and is unable to complete the request.
Members
- error
-
- Type: string
The internal error encountered by the server.
- message
-
- Type: string
Description of the error.
ResourceNotFoundException
[ 'errorCode' => '<string>', 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
The resource specified in the request was not found.
Members
- errorCode
-
- Required: Yes
- Type: string
The identifier for the error.
- message
-
- Required: Yes
- Type: string
Description of the error.
- resourceId
-
- Required: Yes
- Type: string
The identifier for the resource that was not found.
- resourceType
-
- Required: Yes
- Type: string
The type of resource that was not found.
ThrottlingException
[ 'errorCode' => '<string>', 'message' => '<string>', 'quotaCode' => '<string>', 'serviceCode' => '<string>', ]
Description
The request was denied due to request throttling.
Members
- errorCode
-
- Required: Yes
- Type: string
The identifier for the error.
- message
-
- Required: Yes
- Type: string
Description of the error.
- quotaCode
-
- Type: string
The identifier for the originating quota.
- serviceCode
-
- Type: string
The identifier for the originating service.
ValidationException
[ 'errorCode' => '<string>', 'fieldList' => [ [ 'message' => '<string>', 'name' => '<string>', ], // ... ], 'message' => '<string>', 'reason' => 'unknownOperation|cannotParse|fieldValidationFailed|other|lambdaCodeShaMisMatch', ]
Description
The input fails to satisfy the specified constraints.
Members
- errorCode
-
- Required: Yes
- Type: string
The identifier for the error.
- fieldList
-
- Type: Array of ValidationExceptionField structures
The field that caused the error, if applicable.
- message
-
- Required: Yes
- Type: string
Description of the error.
- reason
-
- Required: Yes
- Type: string
The reason the request failed validation.