Class VoiceIDException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\VoiceID\Exception\VoiceIDException
- Namespace: Aws\VoiceID\Exception
- Located at VoiceID/Exception/VoiceIDException.php
Represents an error interacting with the Amazon Voice ID 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 do not have sufficient permissions to perform this action. Check the error message and try again.
Members
- Message
-
- Type: string
ConflictException
[ 'ConflictType' => 'ANOTHER_ACTIVE_STREAM|DOMAIN_NOT_ACTIVE|CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT|ENROLLMENT_ALREADY_EXISTS|SPEAKER_NOT_SET|SPEAKER_OPTED_OUT|CONCURRENT_CHANGES|DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES|CANNOT_DELETE_NON_EMPTY_WATCHLIST|FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST', 'Message' => '<string>', ]
Description
The request failed due to a conflict. Check the ConflictType
and error message for more details.
Members
- ConflictType
-
- Type: string
The type of conflict which caused a ConflictException. Possible types and the corresponding error messages are as follows:
-
DOMAIN_NOT_ACTIVE
: The domain is not active. -
CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT
: You cannot change the speaker ID after an enrollment has been requested. -
ENROLLMENT_ALREADY_EXISTS
: There is already an enrollment for this session. -
SPEAKER_NOT_SET
: You must set the speaker ID before requesting an enrollment. -
SPEAKER_OPTED_OUT
: You cannot request an enrollment for an opted out speaker. -
CONCURRENT_CHANGES
: The request could not be processed as the resource was modified by another request during execution.
- Message
-
- Type: string
InternalServerException
[ 'Message' => '<string>', ]
Description
The request failed due to an unknown error on the server side.
Members
- Message
-
- Type: string
ResourceNotFoundException
[ 'Message' => '<string>', 'ResourceType' => 'BATCH_JOB|COMPLIANCE_CONSENT|DOMAIN|FRAUDSTER|SESSION|SPEAKER|WATCHLIST', ]
Description
The specified resource cannot be found. Check the ResourceType
and error message for more details.
Members
- Message
-
- Type: string
- ResourceType
-
- Type: string
The type of resource which cannot not be found. Possible types are
BATCH_JOB
,COMPLIANCE_CONSENT
,DOMAIN
,FRAUDSTER
,SESSION
andSPEAKER
.
ServiceQuotaExceededException
[ 'Message' => '<string>', ]
Description
The request exceeded the service quota. Refer to Voice ID Service Quotas and try your request again.
Members
- Message
-
- Type: string
ThrottlingException
[ 'Message' => '<string>', ]
Description
The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
Members
- Message
-
- Type: string
ValidationException
[ 'Message' => '<string>', ]
Description
The request failed one or more validations; check the error message for more details.
Members
- Message
-
- Type: string