delete_item

package
v0.0.0-...-6459383 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2014 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Overview

Support for the DynamoDB DeleteItem endpoint.

example use:

tests/delete_item-livestest.go

Index

Constants

View Source
const (
	ENDPOINT_NAME       = "DeleteItem"
	DELETEITEM_ENDPOINT = aws_const.ENDPOINT_PREFIX + ENDPOINT_NAME
	// the permitted ReturnValues flags for this op
	RETVAL_ALL_OLD = aws_strings.RETVAL_ALL_OLD
	RETVAL_NONE    = aws_strings.RETVAL_NONE
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Delete

type Delete DeleteItem

Delete is an alias for backwards compatibility

func NewDelete

func NewDelete() *Delete

func (*Delete) EndpointReq

func (delete *Delete) EndpointReq() ([]byte, int, error)

type DeleteItem

type DeleteItem struct {
	ConditionExpression         string                                            `json:",omitempty"`
	ConditionalOperator         string                                            `json:",omitempty"`
	Expected                    expected.Expected                                 `json:",omitempty"`
	ExpressionAttributeNames    expressionattributenames.ExpressionAttributeNames `json:",omitempty"`
	ExpressionAttributeValues   attributevalue.AttributeValueMap                  `json:",omitempty"`
	Key                         item.Key
	ReturnConsumedCapacity      string `json:",omitempty"`
	ReturnItemCollectionMetrics string `json:",omitempty"`
	ReturnValues                string `json:",omitempty"`
	TableName                   string
}

func NewDeleteItem

func NewDeleteItem() *DeleteItem

func (*DeleteItem) EndpointReq

func (delete_item *DeleteItem) EndpointReq() ([]byte, int, error)

type Request

type Request DeleteItem

func (*Request) EndpointReq

func (req *Request) EndpointReq() ([]byte, int, error)

type Response

func NewResponse

func NewResponse() *Response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL