@Generated(value="software.amazon.awssdk:codegen") public final class TextLengthExceededException extends PollyException implements ToCopyableBuilder<TextLengthExceededException.Builder,TextLengthExceededException>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TextLengthExceededException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TextLengthExceededException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TextLengthExceededException.Builder> |
serializableBuilderClass() |
TextLengthExceededException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException. |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionrequestId, statusCoderetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcopypublic TextLengthExceededException.Builder toBuilder()
AwsServiceExceptionAwsServiceException.Builder initialized with the properties of this AwsServiceException.toBuilder in interface ToCopyableBuilder<TextLengthExceededException.Builder,TextLengthExceededException>toBuilder in class PollyExceptionpublic static TextLengthExceededException.Builder builder()
public static Class<? extends TextLengthExceededException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.