Class AccessAnalyzerException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\AccessAnalyzer\Exception\AccessAnalyzerException
- Namespace: Aws\AccessAnalyzer\Exception
- Located at AccessAnalyzer/Exception/AccessAnalyzerException.php
Represents an error interacting with the Access Analyzer 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
The following are the known exception codes and corresponding data shapes that
this service may return as part of an error response.
AccessDeniedException
[ 'message' => '<string>', ]
Description
You do not have sufficient access to perform this action.
Members
- message
-
- Required: Yes
- Type: string
ConflictException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
A conflict exception error.
Members
- message
-
- Required: Yes
- Type: string
- resourceId
-
- Required: Yes
- Type: string
The ID of the resource.
- resourceType
-
- Required: Yes
- Type: string
The resource type.
InternalServerException
[ 'message' => '<string>', 'retryAfterSeconds' => <integer>, ]
Description
Internal server error.
Members
- message
-
- Required: Yes
- Type: string
- retryAfterSeconds
-
- Type: int
The seconds to wait to retry.
ResourceNotFoundException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
The specified resource could not be found.
Members
- message
-
- Required: Yes
- Type: string
- resourceId
-
- Required: Yes
- Type: string
The ID of the resource.
- resourceType
-
- Required: Yes
- Type: string
The type of the resource.
ServiceQuotaExceededException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
Service quote met error.
Members
- message
-
- Required: Yes
- Type: string
- resourceId
-
- Required: Yes
- Type: string
The resource ID.
- resourceType
-
- Required: Yes
- Type: string
The resource type.
ThrottlingException
[ 'message' => '<string>', 'retryAfterSeconds' => <integer>, ]
Description
Throttling limit exceeded error.
Members
- message
-
- Required: Yes
- Type: string
- retryAfterSeconds
-
- Type: int
The seconds to wait to retry.
ValidationException
[ 'fieldList' => [ [ 'message' => '<string>', 'name' => '<string>', ], // ... ], 'message' => '<string>', 'reason' => 'unknownOperation|cannotParse|fieldValidationFailed|other', ]
Description
Validation exception error.
Members
- fieldList
-
- Type: Array of ValidationExceptionField structures
A list of fields that didn't validate.
- message
-
- Required: Yes
- Type: string
- reason
-
- Required: Yes
- Type: string
The reason for the exception.