Class LexModelBuildingServiceException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\LexModelBuildingService\Exception\LexModelBuildingServiceException
- Namespace: Aws\LexModelBuildingService\Exception
- Located at LexModelBuildingService/Exception/LexModelBuildingServiceException.php
Represents an error interacting with the Amazon Lex Model Building Service 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
Your IAM user or role does not have permission to call the Amazon Lex V2 APIs required to migrate your bot.
Members
- message
-
- Type: string
BadRequestException
[ 'message' => '<string>', ]
Description
The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.
Members
- message
-
- Type: string
ConflictException
[ 'message' => '<string>', ]
Description
There was a conflict processing the request. Try your request again.
Members
- message
-
- Type: string
InternalFailureException
[ 'message' => '<string>', ]
Description
An internal Amazon Lex error occurred. Try your request again.
Members
- message
-
- Type: string
LimitExceededException
[ 'message' => '<string>', 'retryAfterSeconds' => '<string>', ]
Description
The request exceeded a limit. Try your request again.
Members
- message
-
- Type: string
- retryAfterSeconds
-
- Type: string
NotFoundException
[ 'message' => '<string>', ]
Description
The resource specified in the request was not found. Check the resource and try again.
Members
- message
-
- Type: string
PreconditionFailedException
[ 'message' => '<string>', ]
Description
The checksum of the resource that you are trying to change does not match the checksum in the request. Check the resource's checksum and try again.
Members
- message
-
- Type: string
ResourceInUseException
[ 'exampleReference' => [ 'name' => '<string>', 'version' => '<string>', ], 'referenceType' => 'Intent|Bot|BotAlias|BotChannel', ]
Description
The resource that you are attempting to delete is referred to by another resource. Use this information to remove references to the resource that you are trying to delete.
The body of the exception contains a JSON object that describes the resource.
{ "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT,
"resourceReference": {
"name": string, "version": string } }
Members
- exampleReference
-
- Type: ResourceReference structure
Describes the resource that refers to the resource that you are attempting to delete. This object is returned as part of the
ResourceInUseException
exception. - referenceType
-
- Type: string