delete_item

package
v0.0.0-...-9d7f9ab Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2014 License: BSD-2-Clause Imports: 5 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 = "ALL_OLD"
	RETVAL_NONE    = ep.RETVAL_NONE
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Delete

type Delete struct {
	TableName    string
	Key          ep.Item
	Expected     ep.Expected
	ReturnValues ep.ReturnValues
}

func NewDelete

func NewDelete() *Delete

NewDelete returns a pointer to an instantiation of the Delete struct.

func (Delete) EndpointReq

func (del Delete) EndpointReq() (string, int, error)

EndpointReq implements the Endpoint interface.

type Request

type Request Delete

func (Request) EndpointReq

func (req Request) EndpointReq() (string, int, error)

EndpointReq implements the Endpoint interface on the local Request type.

type Response

type Response ep.AttributesResponse

func NewResponse

func NewResponse() *Response

NewResponse returns a pointer to an instantiation of the local Response struct.

Jump to

Keyboard shortcuts

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