Delete Item
Operation name
Delete Item
Function overview
Deletes items in an Amazon DynamoDB table where the primary key matches with the primary key received from input data.
This operation uses DeleteItem API or BatchWriteItem API. For more details on API specifications, refer to the following pages:
-
"DeleteItem" (http://docs.aws.amazon.com/en_us/amazondynamodb/latest/APIReference/API_DeleteItem.html)
-
"BatchWriteItem" (http://docs.aws.amazon.com/en_us/amazondynamodb/latest/APIReference/API_BatchWriteItem.html)
Data model
The data model of this component is table model type.
Properties
For details on use of variables, refer to Variables.
Basic settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not available |
Enter a name that is used on the script canvas. |
|
Input data |
Required |
Not available |
Select a component on the script canvas. |
|
Required settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Destination |
Required |
Not available |
Select a connection resource.
|
|
Table name |
Required |
Available |
Select or enter a table name where items will be deleted. |
|
Primary key list |
Required |
- |
Specify primary key list of the table specified in Table name. |
|
Primary key list/Hash key |
Optional |
Not available |
Displays whether it's a hash key attribute of the table specified in Table name or not. |
|
Primary key list/Range key |
Optional |
Not available |
Displays whether it's a range key attribute of the table specified in Table name or not. |
|
Primary key list/Attribute name |
Required |
Available |
Displays an attribute name of the table specified in Table name. |
|
Primary key list/Type |
Required |
Not available |
Select the type of Attribute name. |
|
Property actions
Item name |
Description |
Remarks |
---|---|---|
Update table name list |
Get table names in the specified destination and set them in Table name. |
|
Update primary key list |
Update primary key list of the table specified in Table name. |
|
Write settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Enable batch writing |
Optional |
Not available |
Select whether or not to enable batch writing.
|
|
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
Input schema
The number of columns varies depending on the Primary key list settings.
For schema structure, refer to Table model type .
Output schema
None.
Loading schema in Mapper
The schema is loaded automatically.
For details, refer to Edit Schema.
Transaction
Transaction isn't supported.
Parallel Stream Processing
PSP is supported.
For details on PSP, refer to Parallel Stream Processing.
Available component variables
Component variable name |
Description |
Remarks |
---|---|---|
count |
The number of delete requests that has been sent is stored. |
|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the error is stored. |
|
error_type |
When an error occurs, the error type is stored. |
|
error_message |
When an error occurs, the error message is stored. |
|
error_trace |
When an error occurs, the trace information for the error is stored. |
|
Message codes, exception messages, and limitations
Connector |
Message code |
Exception message |
Limitations |
---|---|---|---|
-
When a request to Amazon DynamoDB fails due to a reason such as a connection timeout, the request will be retried 10 times.