Class AccountException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\Account\Exception\AccountException
- Namespace: Aws\Account\Exception
- Located at Account/Exception/AccountException.php
Represents an error interacting with the AWS Account 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
[ 'message' => '<string>', ]
Description
The operation failed because the calling identity doesn't have the minimum required permissions.
Members
- message
-
- Required: Yes
- Type: string
ConflictException
[ 'message' => '<string>', ]
Description
The request could not be processed because of a conflict in the current status of the resource. For example, this happens if you try to enable a Region that is currently being disabled (in a status of DISABLING).
Members
- message
-
- Required: Yes
- Type: string
InternalServerException
[ 'message' => '<string>', ]
Description
The operation failed because of an error internal to Amazon Web Services. Try your operation again later.
Members
- message
-
- Required: Yes
- Type: string
ResourceNotFoundException
[ 'message' => '<string>', ]
Description
The operation failed because it specified a resource that can't be found.
Members
- message
-
- Required: Yes
- Type: string
TooManyRequestsException
[ 'message' => '<string>', ]
Description
The operation failed because it was called too frequently and exceeded a throttle limit.
Members
- message
-
- Required: Yes
- Type: string
ValidationException
[ 'fieldList' => [ [ 'message' => '<string>', 'name' => '<string>', ], // ... ], 'message' => '<string>', 'reason' => 'invalidRegionOptTarget|fieldValidationFailed', ]
Description
The operation failed because one of the input parameters was invalid.
Members
- fieldList
-
- Type: Array of ValidationExceptionField structures
The field where the invalid entry was detected.
- message
-
- Required: Yes
- Type: string
The message that informs you about what was invalid about the request.
- reason
-
- Type: string
The reason that validation failed.