Class BedrockAgentException
- Exception
- RuntimeException
- Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
- Aws\BedrockAgent\Exception\BedrockAgentException
- Namespace: Aws\BedrockAgent\Exception
- Located at BedrockAgent/Exception/BedrockAgentException.php
Represents an error interacting with the Agents for Amazon Bedrock 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
The request is denied because of missing access permissions.
Members
- message
-
- Type: string
ConflictException
[ 'message' => '<string>', ]
Description
There was a conflict performing an operation.
Members
- message
-
- Type: string
InternalServerException
[ 'message' => '<string>', ]
Description
An internal server error occurred. Retry your request.
Members
- message
-
- Type: string
ResourceNotFoundException
[ 'message' => '<string>', ]
Description
The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
Members
- message
-
- Type: string
ServiceQuotaExceededException
[ 'message' => '<string>', ]
Description
The number of requests exceeds the service quota. Resubmit your request later.
Members
- message
-
- Type: string
ThrottlingException
[ 'message' => '<string>', ]
Description
The number of requests exceeds the limit. Resubmit your request later.
Members
- message
-
- Type: string
ValidationException
[ 'fieldList' => [ [ 'message' => '<string>', 'name' => '<string>', ], // ... ], 'message' => '<string>', ]
Description
Input validation failed. Check your request parameters and retry the request.
Members
- fieldList
-
- Type: Array of ValidationExceptionField structures
A list of objects containing fields that caused validation errors and their corresponding validation error messages.
- message
-
- Type: string