With the GetItem operation of the Amazon S3 DynamoDB Connector, you get a specific element from a table.
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:
|
|
|
These parameters are required for this operation and must match the element to be retrieved. Elements of the primary table key Possible values:
|
|
|
These parameters are required for sortable keys. 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. |
Output
The adapter retrieves the specific element from the desired table and outputs data in an XML structure.
<?xml version="1.0" encoding="UTF-8"
<Result>
<Item partitionKey="ID" partitionKeyValue="2" SortKey="Name" SortKeyValue="Carlos">
<Attribute name="Address" type="S" value="Pirandello"/>
<Attribute name="Phone" type="N" value="637559681"/>
<Attribute name="Bonus" type="BOOL" value="true"/>
<Attribute name="DocumentCode" type="B" value="qwrqfgdas1223455sdfffr"/>
<Attribute name="Surname" type="S" value="Delgado"/>
<Attribute name="Profession" type="S" value="Programmer"/>
</Item>
</Result>