Class WellArchitectedException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\WellArchitected\Exception\WellArchitectedException
- Namespace: Aws\WellArchitected\Exception
- Located at WellArchitected/Exception/WellArchitectedException.php
Represents an error interacting with the AWS Well-Architected Tool 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
User does not have sufficient access to perform this action.
Members
ConflictException
[ 'Message' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => '<string>', ]
Description
The resource has already been processed, was deleted, or is too large.
Members
InternalServerException
[ 'Message' => '<string>', ]
Description
There is a problem with the Well-Architected Tool API service.
Members
ResourceNotFoundException
[ 'Message' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => '<string>', ]
Description
The requested resource was not found.
Members
ServiceQuotaExceededException
[ 'Message' => '<string>', 'QuotaCode' => '<string>', 'ResourceId' => '<string>', 'ResourceType' => '<string>', 'ServiceCode' => '<string>', ]
Description
The user has reached their resource quota.
Members
- Message
-
- Required: Yes
- Type: string
Description of the error.
- QuotaCode
-
- Required: Yes
- Type: string
Service Quotas requirement to identify originating quota.
- ResourceId
-
- Type: string
Identifier of the resource affected.
- ResourceType
-
- Type: string
Type of the resource affected.
- ServiceCode
-
- Required: Yes
- Type: string
Service Quotas requirement to identify originating service.
ThrottlingException
[ 'Message' => '<string>', 'QuotaCode' => '<string>', 'ServiceCode' => '<string>', ]
Description
Request was denied due to request throttling.
Members
ValidationException
[ 'Fields' => [ [ 'Message' => '<string>', 'Name' => '<string>', ], // ... ], 'Message' => '<string>', 'Reason' => 'UNKNOWN_OPERATION|CANNOT_PARSE|FIELD_VALIDATION_FAILED|OTHER', ]
Description
The user input is not valid.
Members
- Fields
-
- Type: Array of ValidationExceptionField structures
The fields that caused the error, if applicable.
- Message
-
- Required: Yes
- Type: string
Description of the error.
- Reason
-
- Type: string
The reason why the request failed validation.