Documentation ¶
Overview ¶
Support for the DynamoDB GetItem endpoint.
example use:
tests/get_item-livestest.go
Index ¶
Constants ¶
View Source
const ( ENDPOINT_NAME = "GetItem" GETITEM_ENDPOINT = aws_const.ENDPOINT_PREFIX + ENDPOINT_NAME )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetItem ¶
type GetItem struct { AttributesToGet attributestoget.AttributesToGet `json:",omitempty"` ConsistentRead bool // false is sane default ExpressionAttributeNames expressionattributenames.ExpressionAttributeNames `json:",omitempty"` Key item.Key ProjectionExpression string `json:",omitempty"` ReturnConsumedCapacity string `json:",omitempty"` TableName string }
func NewGetItem ¶
func NewGetItem() *GetItem
type Response ¶
type Response struct { Item item.Item ConsumedCapacity *capacity.ConsumedCapacity `json:",omitempty"` }
func NewResponse ¶
func NewResponse() *Response
Click to show internal directories.
Click to hide internal directories.