@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-08T20:48:16.772Z") @Stability(value=Stable) public interface DynamoDeleteItemProps extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
Example:
Table myTable; DynamoDeleteItem.Builder.create(this, "DeleteItem") .key(Map.of("MessageId", DynamoAttributeValue.fromString("message-007"))) .table(myTable) .resultPath(JsonPath.DISCARD) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
DynamoDeleteItemProps.Builder
A builder for
DynamoDeleteItemProps |
static class |
DynamoDeleteItemProps.Jsii$Proxy
An implementation for
DynamoDeleteItemProps |
Modifier and Type | Method and Description |
---|---|
static DynamoDeleteItemProps.Builder |
builder() |
default String |
getConditionExpression()
A condition that must be satisfied in order for a conditional DeleteItem to succeed.
|
default Map<String,String> |
getExpressionAttributeNames()
One or more substitution tokens for attribute names in an expression.
|
default Map<String,DynamoAttributeValue> |
getExpressionAttributeValues()
One or more values that can be substituted in an expression.
|
Map<String,DynamoAttributeValue> |
getKey()
Primary key of the item to retrieve.
|
default DynamoConsumedCapacity |
getReturnConsumedCapacity()
Determines the level of detail about provisioned throughput consumption that is returned in the response.
|
default DynamoItemCollectionMetrics |
getReturnItemCollectionMetrics()
Determines whether item collection metrics are returned.
|
default DynamoReturnValues |
getReturnValues()
Use ReturnValues if you want to get the item attributes as they appeared before they were deleted.
|
ITable |
getTable()
The name of the table containing the requested item.
|
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout
@Stability(value=Stable) @NotNull Map<String,DynamoAttributeValue> getKey()
For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.
@Stability(value=Stable) @NotNull ITable getTable()
@Stability(value=Stable) @Nullable default String getConditionExpression()
Default: - No condition expression
@Stability(value=Stable) @Nullable default Map<String,String> getExpressionAttributeNames()
Default: - No expression attribute names
@Stability(value=Stable) @Nullable default Map<String,DynamoAttributeValue> getExpressionAttributeValues()
Default: - No expression attribute values
@Stability(value=Stable) @Nullable default DynamoConsumedCapacity getReturnConsumedCapacity()
Default: DynamoConsumedCapacity.NONE
@Stability(value=Stable) @Nullable default DynamoItemCollectionMetrics getReturnItemCollectionMetrics()
If set to SIZE, the response includes statistics about item collections, if any, that were modified during the operation are returned in the response. If set to NONE (the default), no statistics are returned.
Default: DynamoItemCollectionMetrics.NONE
@Stability(value=Stable) @Nullable default DynamoReturnValues getReturnValues()
Default: DynamoReturnValues.NONE
@Stability(value=Stable) static DynamoDeleteItemProps.Builder builder()
builder
in interface TaskStateBaseProps
DynamoDeleteItemProps.Builder
of DynamoDeleteItemProps
Copyright © 2022. All rights reserved.