Amazon DynamoDB
API Reference (API Version 2012-08-10)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

AttributeValue

Description

Represents the data for an attribute. You can set one, and only one, of the elements.

Each attribute in an item is a name-value pair. An attribute can be single-valued or multi-valued set. For example, a book item can have title and authors attributes. Each book has one title but can have many authors. The multi-valued attribute is a set; duplicate values are not allowed.

Contents

Note

In the following list, the required parameters are described first.

B

A Binary data type

Type: Blob

Required: No

BS

A Binary set data type

Type: array of Blobs

Required: No

N

A Number data type

Type: String

Required: No

NS

Number set data type

Type: array of Strings

Required: No

S

A String data type

Type: String

Required: No

SS

A String set data type

Type: array of Strings

Required: No