@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()
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 TransactionCanceledException.Builder toBuilder()
AwsServiceExceptionAwsServiceException.Builder initialized with the properties of this AwsServiceException.toBuilder in interface ToCopyableBuilder<TransactionCanceledException.Builder,TransactionCanceledException>toBuilder in class DynamoDbExceptionpublic 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.