Class QBusinessException
- Exception
- RuntimeException
- Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
- Aws\QBusiness\Exception\QBusinessException
- Namespace: Aws\QBusiness\Exception
- Located at QBusiness/Exception/QBusinessException.php
Represents an error interacting with the QBusiness 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
You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
Members
- message
-
- Required: Yes
- Type: string
ConflictException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistences with your resources and try again.
Members
- message
-
- Required: Yes
- Type: string
The message describing a
ConflictException
. - resourceId
-
- Required: Yes
- Type: string
The identifier of the resource affected.
- resourceType
-
- Required: Yes
- Type: string
The type of the resource affected.
InternalServerException
[ 'message' => '<string>', ]
Description
An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
Members
- message
-
- Required: Yes
- Type: string
LicenseNotFoundException
[ 'message' => '<string>', ]
Description
You don't have permissions to perform the action because your license is inactive. Ask your admin to activate your license and try again after your licence is active.
Members
- message
-
- Required: Yes
- Type: string
ResourceNotFoundException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
The resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
Members
- message
-
- Required: Yes
- Type: string
The message describing a
ResourceNotFoundException
. - resourceId
-
- Required: Yes
- Type: string
The identifier of the resource affected.
- resourceType
-
- Required: Yes
- Type: string
The type of the resource affected.
ServiceQuotaExceededException
[ 'message' => '<string>', 'resourceId' => '<string>', 'resourceType' => '<string>', ]
Description
You have exceeded the set limits for your Amazon Q Business service.
Members
- message
-
- Required: Yes
- Type: string
The message describing a
ServiceQuotaExceededException
. - resourceId
-
- Required: Yes
- Type: string
The identifier of the resource affected.
- resourceType
-
- Required: Yes
- Type: string
The type of the resource affected.
ThrottlingException
[ 'message' => '<string>', ]
Description
The request was denied due to throttling. Reduce the number of requests and try again.
Members
- message
-
- Required: Yes
- Type: string
ValidationException
[ 'fields' => [ [ 'message' => '<string>', 'name' => '<string>', ], // ... ], 'message' => '<string>', 'reason' => 'CANNOT_PARSE|FIELD_VALIDATION_FAILED|UNKNOWN_OPERATION', ]
Description
The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
Members
- fields
-
- Type: Array of ValidationExceptionField structures
The input field(s) that failed validation.
- message
-
- Required: Yes
- Type: string
The message describing the
ValidationException
. - reason
-
- Required: Yes
- Type: string
The reason for the
ValidationException
.