capacity

package
v0.0.0-...-7913028 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2015 License: BSD-2-Clause Imports: 1 Imported by: 35

Documentation

Overview

Package Capacity implements the Capacity type. See: http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Capacity.html

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsumedCapacity

type ConsumedCapacity struct {
	CapacityUnits          ConsumedCapacityUnit                   `json:",omitempty"`
	GlobalSecondaryIndexes map[string]ConsumedCapacityUnit_struct `json:",omitempty"`
	LocalSecondaryIndexes  map[string]ConsumedCapacityUnit_struct `json:",omitempty"`
	Table                  *ConsumedCapacityUnit_struct           `json:",omitempty"`
	TableName              string                                 `json:",omitempty"`
}

func NewConsumedCapacity

func NewConsumedCapacity() *ConsumedCapacity

func (ConsumedCapacity) Empty

func (c ConsumedCapacity) Empty() bool

Empty determines if this has struct has been assigned

func (ConsumedCapacity) MarshalJSON

func (c ConsumedCapacity) MarshalJSON() ([]byte, error)

type ConsumedCapacityUnit

type ConsumedCapacityUnit float32

type ConsumedCapacityUnit_struct

type ConsumedCapacityUnit_struct struct {
	CapacityUnits ConsumedCapacityUnit `json:",omitempty"`
}

type ReturnConsumedCapacity

type ReturnConsumedCapacity string

Jump to

Keyboard shortcuts

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