With the BatchPutMultipleItemsoperation of the Amazon S3 DynamoDB Connector, you insert multiple elements into a table with a single call.
For more information on other operations of the Amazon S3 DynamoDB Connector, see Amazon S3 DynamoDB Connector.
Parameters
|
|
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. |
|
|
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. |
|
|
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:
|
|
|
Elements of the primary table key Possible values:
|
|
|
Elements of the primary table key 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.
Note:
You can specify multiple items. In the items, you can specify attributes of the following types: Boolean (BOOL), String (S), Number (N), Map (MAP), List (LIST), and Binary (B). The output of this operation is the same XML file. This can be useful for further operations.
<?xml version="1.0" encoding="UTF-8" ?>
<RootElement>
<Item>
<Attribute name="ID" type="N" value="5" />
<Attribute name="Name" type="S" value="Luis" />
<Attribute name="Phone" type="N" value="0034666777888" />
<Attribute name="Bonus" type="BOOL" value="true" />
<Attribute name="Colours" type="LIST">
<Attribute type="S" value="Red" />
<Attribute type="S" value="Green" />
<Attribute type="S" value="Blue" />
<Attribute name="Cars" type="MAP">
<Attribute5 name="Phone" type="N" value="637559681" />
<Attribute6 name="Bonus" type="BOOL" value="true" />
<Attribute7 name="Profession" type="S" value="Programmer" />
<Attribute7 name="DocumentCode" type="B" value="qwrqfgdas1223455sdfffr" />
</Attribute>
</Attribute>
<Attribute name="Cars" type="MAP">
<Attribute5 name="Phone" type="N" value="637559681" />
<Attribute6 name="Bonus" type="BOOL" value="true" />
<Attribute7 name="Profession" type="S" value="Programmer" />
<Attribute7 name="DocumentCode" type="B" value="qwrqfgdas1223455sdfffr" />
</Attribute>
</Item>
<Item>
<Attribute1 name="ID" type="N" value="5" />
<Attribute3 name="Name" type="S" value="Luis" />
<Attribute4 name="Surname" type="S" value="Delgado" />
<Attribute2 name="Address" type="S" value="Pirandello" />
<Attribute5 name="Phone" type="N" value="637559681" />
<Attribute6 name="Bonus" type="BOOL" value="true" />
<Attribute7 name="Profession" type="S" value="Programmer" />
<Attribute7 name="DocumentCode" type="B" value="qwrqfgdas1223455sdfffr" />
</Item>
</RootElement>
Output
The adapter places the defined element in the desired table. In addition, the adapter outputs the same XML file that was entered during input. This can be useful for further operations.