@Generated(value="software.amazon.awssdk:codegen") public final class TransactionCanceledException extends DynamoDbException implements ToCopyableBuilder<TransactionCanceledException.Builder,TransactionCanceledException>
The entire transaction request was rejected.
DynamoDB will reject the entire TransactWriteItems
request if any of the following is true:
A table in the TransactWriteItems
request does not exist.
A table in the TransactWriteItems
request is on a different account or region.
Operations contain item schema violations.
More than one write operation (UpdateItem
, PutItem
, DeleteItem
) operates on
the same item.
More than one check operation operates on the same item.
The number of operations sent in the TransactWriteItems
request is 0 or greater than 10.
A TransactWriteItems
request exceeds the maximum 4 MB request size.
Any operation in the TransactWriteItems
request would cause an item to become larger than 400KB.
Modifier and Type | Class and Description |
---|---|
static interface |
TransactionCanceledException.Builder |
Modifier and Type | Method and Description |
---|---|
static TransactionCanceledException.Builder |
builder() |
List<CancellationReason> |
cancellationReasons()
A list of cancellation reasons.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TransactionCanceledException.Builder> |
serializableBuilderClass() |
TransactionCanceledException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
requestId, statusCode
retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public TransactionCanceledException.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<TransactionCanceledException.Builder,TransactionCanceledException>
toBuilder
in class DynamoDbException
public static TransactionCanceledException.Builder builder()
public static Class<? extends TransactionCanceledException.Builder> serializableBuilderClass()
public List<CancellationReason> cancellationReasons()
A list of cancellation reasons.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Copyright © 2019. All rights reserved.