@Generated(value="software.amazon.awssdk:codegen") public final class TransactionCanceledException extends DynamoDbException implements ToCopyableBuilder<TransactionCanceledException.Builder,TransactionCanceledException>
The entire transaction request was rejected.
DynamoDB rejects a TransactWriteItems
request under the following circumstances:
A condition in one of the condition expressions is not met.
A table in the TransactWriteItems
request is in a different account or region.
More than one action in the TransactWriteItems
operation targets the same item.
There is insufficient provisioned capacity for the transaction to be completed.
An item size becomes too large (larger than 400 KB), or a local secondary index (LSI) becomes too large, or a similar validation error occurs because of changes made by the transaction.
There is a user error, such as an invalid data format.
DynamoDB rejects a TransactGetItems
request under the following circumstances:
There is an ongoing TransactGetItems
operation that conflicts with a concurrent PutItem
,
UpdateItem
, DeleteItem
or TransactWriteItems
request. In this case the
TransactGetItems
operation fails with a TransactionCanceledException
.
A table in the TransactGetItems
request is in a different account or region.
There is insufficient provisioned capacity for the transaction to be completed.
There is a user error, such as an invalid data format.
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
create, 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.