Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttributeDefinition ¶
type AttributeDefinition struct { AttributeName string AttributeType AttributeType }
type AttributeType ¶
type AttributeType string
const ( String AttributeType = "S" Number AttributeType = "N" Binary AttributeType = "B" )
type CreateRequest ¶
type CreateRequest struct { TableName string AttributeDefinitions []AttributeDefinition KeySchema []KeySchema ProvisionedThroughput ProvisionedThroughput }
func NewCreateRequest ¶
func NewCreateRequest(table string) *CreateRequest
func (*CreateRequest) HashKey ¶
func (r *CreateRequest) HashKey(name string, attributeType AttributeType) *CreateRequest
Simple way to add a hash key and attribute definition in one go.
func (*CreateRequest) RangeKey ¶
func (r *CreateRequest) RangeKey(name string, attributeType AttributeType) *CreateRequest
Simple way to add a hash key and attribute definition in one go.
type CreateResponse ¶
type CreateResponse struct {
TableDescription TableDescription
}
type ProvisionedThroughput ¶
Click to show internal directories.
Click to hide internal directories.