Documentation ¶
Index ¶
- type ApiError
- type AttributeDefinition
- type AttributeUpdate
- type ConsumedCapacity
- type DescribeTable
- type DescribeTableResponse
- type Expected
- type GetItem
- type GetItemResponse
- type Item
- type ItemDefinition
- type KeySchema
- type ListTables
- type ListTablesResponse
- type NullWriter
- type ProvisionedThroughput
- type PutItem
- type PutItemResponse
- type Scan
- type ScanFilter
- type ScanResponse
- type Table
- type UpdateItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttributeDefinition ¶
type AttributeUpdate ¶
type AttributeUpdate struct { Action string `json:"Action"` Value *ItemDefinition `json:"ItemDefinition,omitempty"` }
type ConsumedCapacity ¶
type DescribeTable ¶
type DescribeTable struct {
TableName string
}
func (*DescribeTable) Execute ¶
func (d *DescribeTable) Execute(client *aws.Client) (*DescribeTableResponse, error)
type DescribeTableResponse ¶
type DescribeTableResponse struct {
Table *Table `json:"Table,omitempty"`
}
type Expected ¶
type Expected struct { Exists string `json:"Exists,omitempty"` Value *ItemDefinition `json:"Value,omitempty"` }
type GetItem ¶
type GetItemResponse ¶
type GetItemResponse struct { ConsumedCapacity *ConsumedCapacity `json:"ConsumedCapacity,omitempty"` Item Item `json:"Item,omitempty"` }
type Item ¶
type Item map[string]*ItemDefinition
type ItemDefinition ¶
type ListTables ¶
type ListTables struct { ExclusiveStartTableName string `json:"ExclusiveStartTableName,omitempty"` Limit int `json:"Limit,omitempty"` }
func (*ListTables) Execute ¶
func (l *ListTables) Execute(client *aws.Client) (*ListTablesResponse, error)
type ListTablesResponse ¶
type NullWriter ¶
type NullWriter struct { }
type ProvisionedThroughput ¶
type PutItem ¶
type PutItem struct { TableName string `json:"TableName,omitempty"` Expected map[string]*Expected `json:"Expected,omitempty"` Item Item `json:"Item,omitempty"` ReturnValues string `json:"ReturnValues,omitempty"` ReturnConsumedCapacity string `json:"ReturnConsumedCapacity,omitempty"` ReturnItemCollectionMetrics string `json:"ReturnItemCollectionMetrics,omitempty"` }
type PutItemResponse ¶
type PutItemResponse struct{}
type Scan ¶
type Scan struct { TableName string `json:"TableName,omitempty"` TotalSegments string `json:"TotalSegments,omitempty"` AttributesToGet []string `json:"AttributesToGet,omitempty"` ExclusiveStartKey Item `json:"ExclusiveStartKey,omitempty"` Limit int `json:"Limit,omitempty"` ReturnConsumedCapacity string `json:"ReturnConsumedCapacity,omitempty"` // INDEXES, TOTAL or NONE ScanFilter map[string]*ScanFilter `json:"ScanFilter,omitempty"` Segment string `json:"Segment,omitempty"` Select string `json:"Select,omitempty"` }
type ScanFilter ¶
type ScanFilter struct { AttributeValueList []*ItemDefinition `json:"AttributeValueList,omitempty"` ComparisonOperator string `json:"parisonOperator,omitempty"` }
type ScanResponse ¶
type ScanResponse struct { ConsumedCapacity *ConsumedCapacity Count int `json:"Count,omitempty"` ScannedCount int `json:"ScannedCount,omitempty"` Items []Item `json:"Items,omitempty"` LastEvaluatedKey Item `json:"tEvaluatedKey,omitempty"` }
type Table ¶
type Table struct { TableStatus string `json:"TableStatus,omitempty"` TableSizesBytes int `json:"TableSizesBytes,omitempty"` TableName string `json:"TableName,omitempty"` ProvisionedThroughput *ProvisionedThroughput `json:"ProvisionedThroughput,omitempty"` KeySchema []*KeySchema `json:"KeySchema"` ItemCount int `json:"ItemCount,omitempty"` CreationDateTime float64 `json:"CreationDateTime,omitempty"` AttributeDefinitions []*AttributeDefinition `json:"AttributeDefinitions,omitempty"` }
type UpdateItem ¶
type UpdateItem struct { AttributeUpdates map[string]*AttributeUpdate `json:"AttributeUpdate"` Expected *Expected `json:"Expected"` Key *Item `json:"Key"` ReturnConsumedCapacity string `json:"ReturnConsumedCapacity"` // "string", ReturnItemCollectionMetrics string `json:"ReturnItemCollectionMetrics"` // "string", ReturnValues string `json:"ReturnValues"` // "string", TableName string `json:"TableName"` // "string" }
Click to show internal directories.
Click to hide internal directories.