delete_item

package
Version: v0.0.0-...-1f046af Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2015 License: BSD-2-Clause Imports: 11 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)

func (*Delete) EndpointReqWithConf

func (delete *Delete) EndpointReqWithConf(c *conf.AWS_Conf) ([]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)

func (*DeleteItem) EndpointReqWithConf

func (delete_item *DeleteItem) EndpointReqWithConf(c *conf.AWS_Conf) ([]byte, int, error)

type Request

type Request DeleteItem

func (*Request) EndpointReq

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

func (*Request) EndpointReqWithConf

func (req *Request) EndpointReqWithConf(c *conf.AWS_Conf) ([]byte, int, error)

type Response

func NewResponse

func NewResponse() *Response

Source Files

Jump to

Keyboard shortcuts

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