AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Capacity

import "github.com/aws/aws-sdk-go/service/dynamodb"

type Capacity struct { CapacityUnits *float64 `type:"double"` ReadCapacityUnits *float64 `type:"double"` WriteCapacityUnits *float64 `type:"double"` }

Represents the amount of provisioned throughput capacity consumed on a table or an index.

CapacityUnits

Type: *float64

The total number of capacity units consumed on a table or an index.

ReadCapacityUnits

Type: *float64

The total number of read capacity units consumed on a table or an index.

WriteCapacityUnits

Type: *float64

The total number of write capacity units consumed on a table or an index.

Method

GoString

func (s Capacity) GoString() string

GoString returns the string representation

SetCapacityUnits

func (s *Capacity) SetCapacityUnits(v float64) *Capacity

SetCapacityUnits sets the CapacityUnits field's value.

SetReadCapacityUnits

func (s *Capacity) SetReadCapacityUnits(v float64) *Capacity

SetReadCapacityUnits sets the ReadCapacityUnits field's value.

SetWriteCapacityUnits

func (s *Capacity) SetWriteCapacityUnits(v float64) *Capacity

SetWriteCapacityUnits sets the WriteCapacityUnits field's value.

String

func (s Capacity) String() string

String returns the string representation

On this page: