public class TextLengthExceededException extends AmazonServiceException
The value of the "Text" parameter is longer than the accepted limits. For the
SynthesizeSpeech API, the limit for input text is a maximum of
6000 characters total, of which no more than 3000 can be billed characters.
For the StartSpeechSynthesisTask API, the maximum is 200,000
characters, of which no more than 100,000 can be billed characters. SSML tags
are not counted as billed characters.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
TextLengthExceededException(java.lang.String message)
Constructs a new TextLengthExceededException with the specified error
message.
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRequestId, setServiceName, setStatusCodeisRetryableCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.