Withh the BatchGetMultipleItems operation of the Amazon S3 DynamoDB Connector, you call multiplple elements dependinng on thhe values alues of partitionKey specifiedd in an XML file.
All elements ars are rettrieved withh all element attributes.
For more information on other operations of the Amazon S3 DynamoDB Connector, , see Amazon S3 DynamoDB Connector.
Parameterss
|
|
Access k key ID for requests to Amazon Web Services (AWS (AWS) Note: The credentials are sentt to the adapter vivia parameters.s. There are variouious configuration optionss. For more information, s, see Setting Up Credentialstials. Possible valuess: Any string withh the access k key ID, e.g. |
|
|
Secret access k key for requests to AWS Note: The credentialstials are sentt to the adapter vivia parameters. There are various configuration optionss. For more information, s, see Setting Up Cg Up Credentialstials. Possible valuess: Any string with the seccret access k key, e.g. |
|
|
Region of the domains Note: Buckets createdated in a spa speccific region cannot be invoked fd fromom another region.. For more information, see Regions and Endpoints. Possible valuess: Any string with the name of the region, e.g. |
|
|
This parameter is rrequiquired for this operation. Table name Possible valuess: String withh the table name according to tcording to thee followingg name rules:
|
|
|
These parameters arare required for this operation and must matchch the elements to be retrrieved. Elements of the primary table key Possible valuess:
|
|
|
These parameterss are required for sortable kkeys. Elements of the primary table key Possible valuess:
|
|
|
Read/Write capacity units Possible valuess:
|
|
|
DynamoDB uses eventually consistent reads unlesunless otherwise specified. Read ad operations such as |
Status values
|
|
The adapterr operation was executed succesccessfully |
|
|
The operation was not completed, but no error occurred. |
|
|
The operation fafailed due too a technical error. |
Input
The adapter expecctss a preedefined XML structuree as input.
Note:
Primary keys can be specified fod for different objects. If the object matches a table in whwhich oonly partitionKey is is defined, only partitionKey ccan be specified. Otherwise,e, partitionKey and SortKey can be specified can be specified.
<?xml version="1.0" encoding="UTF-8" ?>
<PrimaryKeyValues>
<PrimaryKey partitionKey="2" SortKey="Carlos" />
<PrimaryKey partitionKey="5" SortKey="Luis" />
</PrimaryKeyValues>
Output
The adapter retrievesrieves the specific element from the desired table and outputss data in an XML structure.
An Item element including fields for the primary key and the associateassociated v values is creaeated for each element. Within the Item element, therehere is a list of the respectespective attributess.
<?xml version="1.0" encoding="UTF-8" ?>
<Result>
<Item partitionKey="ID" partitionKeyValue="5" SortKey="Name" SortKeyValue="Luis">
<Attribute type="MAP" name="Cars">
<Attribute type="N" name="Phone" value="637559681" />
<Attribute type="BOOL" name="Bonus" value="true" />
<Attribute type="B" name="DocumentCode" value="qwrqfgdas1223455sdfffr" />
<Attribute type="S" name="Profession" value="Programmer" />
</Attribute>
<Attribute type="N" name="Phone" value="34666777888" />
<Attribute type="LIST" name="Colours">
<Attribute type="S" value="Red" />
<Attribute type="S" value="Green" />
<Attribute type="S" value="Blue" />
<Attribute type="MAP" name="Colours">
<Attribute type="N" name="Phone" value="637559681" />
<Attribute type="BOOL" name="Bonus" value="true" />
<Attribute type="B" name="DocumentCode" value="qwrqfgdas1223455sdfffr" />
<Attribute type="S" name="Profession" value="Programmer" />
</Attribute>
</Attribute>
<Attribute type="BOOL" name="Bonus" value="true" />
</Item>
<Item partitionKey="ID" partitionKeyValue="2" SortKey="Name" SortKeyValue="Carlos">
<Attribute type="S" name="Address" value="Pirandello" />
<Attribute type="N" name="Phone" value="637559681" />
<Attribute type="BOOL" name="Bonus" value="true" />
<Attribute type="B" name="DocumentCode" value="qwrqfgdas1223455sdfffr" />
<Attribute type="S" name="Surname" value="Delgado" />
<Attribute type="S" name="Profession" value="Programmer" />
</Item>
</Result>