With the UpdateItem operation of the Amazon S3 DynamoDB Connector, you update a specific element in a table.
For more information on other operations of the Amazon S3 DynamoDB Connector, see Amazon S3 DynamoDB Connector.
Parameters
|
|
This parameter is required for this operation. Access key ID for requests to Amazon Web Services (AWS) Note: The credentials are sent to the adapter via parameters. There are various configuration options. For more information, see Setting Up Credentials. Possible values: Any string with the access key ID, e.g. |
|
|
This parameter is required for this operation. Secret access key for requests to AWS Note: The credentials are sent to the adapter via parameters. There are various configuration options. For more information, see Setting Up Credentials. Possible values: Any string with the secret access key, e.g. |
|
|
This parameter is required for this operation. Region of the domains Note: Buckets created in a specific region cannot be invoked from another region. For more information, see Regions and Endpoints. Possible values: Any string with the name of the region, e.g. |
|
|
This parameter is required for this operation. Table name Possible values: String with the table name according to the following name rules:
|
|
|
The Elements of the primary table key Possible values:
|
|
|
Elements of the primary table key Possible values:
|
|
|
Read/Write capacity units Possible values:
|
|
|
DynamoDB uses eventually consistent reads unless otherwise specified. Read operations such as |
Status values
|
|
The adapter operation was executed successfully |
|
|
The operation was not completed, but no error occurred. |
|
|
The operation failed due to a technical error. |
Input
The adapter expects a predefined XML structure as input.
The following actions are available for the UpdateItem operation:
|
ADD |
Adds a new attribute in the element. |
|
PUT |
Updates the value of the attribute in the specified element. |
|
DELETE |
Deletes the attribute from the element. |
<?xml version="1.0" encoding="UTF-8"?>
<Input>
<Item>
<Attribute name="ID" type="N" value="5"
action="ADD|PUT|DELETE"></Attribute>
<Attribute name="Name" type="S" value="Luis"
action="ADD|PUT|DELETE"></Attribute>
<Attribute name="Surname" type="S" value="Delgado"
action="ADD|PUT|DELETE"></Attribute>
</Item>
</Input>
Output
The adapter updates the specific element in the desired table.