Class LexRuntimeServiceException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\LexRuntimeService\Exception\LexRuntimeServiceException
- Namespace: Aws\LexRuntimeService\Exception
- Located at LexRuntimeService/Exception/LexRuntimeServiceException.php
Represents an error interacting with the Amazon Lex Runtime 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
BadGatewayException
[ 'Message' => '<string>', ]
Description
Either the Amazon Lex bot is still building, or one of the dependent services (Amazon Polly, AWS Lambda) failed with an internal service error.
Members
- Message
-
- Type: string
BadRequestException
[ 'message' => '<string>', ]
Description
Request validation failed, there is no usable message in the context, or the bot build failed, is still in progress, or contains unbuilt changes.
Members
- message
-
- Type: string
ConflictException
[ 'message' => '<string>', ]
Description
Two clients are using the same AWS account, Amazon Lex bot, and user ID.
Members
- message
-
- Type: string
DependencyFailedException
[ 'Message' => '<string>', ]
Description
One of the dependencies, such as AWS Lambda or Amazon Polly, threw an exception. For example,
-
If Amazon Lex does not have sufficient permissions to call a Lambda function.
-
If a Lambda function takes longer than 30 seconds to execute.
-
If a fulfillment Lambda function returns a
Delegate
dialog action without removing any slot values.
Members
- Message
-
- Type: string
InternalFailureException
[ 'message' => '<string>', ]
Description
Internal service error. Retry the call.
Members
- message
-
- Type: string
LimitExceededException
[ 'message' => '<string>', 'retryAfterSeconds' => '<string>', ]
Description
Exceeded a limit.
Members
- message
-
- Type: string
- retryAfterSeconds
-
- Type: string
LoopDetectedException
[ 'Message' => '<string>', ]
Description
This exception is not used.
Members
- Message
-
- Type: string
NotAcceptableException
[ 'message' => '<string>', ]
Description
The accept header in the request does not have a valid value.
Members
- message
-
- Type: string
NotFoundException
[ 'message' => '<string>', ]
Description
The resource (such as the Amazon Lex bot or an alias) that is referred to is not found.
Members
- message
-
- Type: string
RequestTimeoutException
[ 'message' => '<string>', ]
Description
The input speech is too long.
Members
- message
-
- Type: string
UnsupportedMediaTypeException
[ 'message' => '<string>', ]
Description
The Content-Type header (PostContent
API) has an invalid value.
Members
- message
-
- Type: string