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.

SourceTableDetails

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

type SourceTableDetails struct { BillingMode *string `type:"string" enum:"BillingMode"` ItemCount *int64 `type:"long"` KeySchema []*KeySchemaElement `min:"1" type:"list" required:"true"` ProvisionedThroughput *ProvisionedThroughput `type:"structure" required:"true"` TableArn *string `type:"string"` TableCreationDateTime *time.Time `type:"timestamp" required:"true"` TableId *string `type:"string" required:"true"` TableName *string `min:"3" type:"string" required:"true"` TableSizeBytes *int64 `type:"long"` }

Contains the details of the table when the backup was created.

BillingMode

Type: *string

Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

  • PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using PROVISIONED for predictable workloads.

  • PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_PER_REQUEST for unpredictable workloads.

ItemCount

Type: *int64

Number of items in the table. Please note this is an approximate value.

KeySchema

Represents a single element of a key schema. A key schema specifies the attributes that make up the primary key of a table, or the key attributes of an index.

A KeySchemaElement represents exactly one attribute of the primary key. For example, a simple primary key would be represented by one KeySchemaElement (for the partition key). A composite primary key would require one KeySchemaElement for the partition key, and another KeySchemaElement for the sort key.

A KeySchemaElement must be a scalar, top-level attribute (not a nested attribute). The data type must be one of String, Number, or Binary. The attribute cannot be nested within a List or a Map.

ProvisionedThroughput

Represents the provisioned throughput settings for a specified table or index. The settings can be modified using the UpdateTable operation.

For current minimum and maximum provisioned throughput values, see Limits (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) in the Amazon DynamoDB Developer Guide.

TableArn

Type: *string

ARN of the table for which backup was created.

TableCreationDateTime

Type: *time.Time

Time when the source table was created.

TableCreationDateTime is a required field

TableId

Type: *string

Unique identifier for the table for which the backup was created.

TableId is a required field

TableName

Type: *string

The name of the table for which the backup was created.

TableName is a required field

TableSizeBytes

Type: *int64

Size of the table in bytes. Please note this is an approximate value.

Method

GoString

func (s SourceTableDetails) GoString() string

GoString returns the string representation

SetBillingMode

func (s *SourceTableDetails) SetBillingMode(v string) *SourceTableDetails

SetBillingMode sets the BillingMode field's value.

SetItemCount

func (s *SourceTableDetails) SetItemCount(v int64) *SourceTableDetails

SetItemCount sets the ItemCount field's value.

SetKeySchema

func (s *SourceTableDetails) SetKeySchema(v []*KeySchemaElement) *SourceTableDetails

SetKeySchema sets the KeySchema field's value.

SetProvisionedThroughput

func (s *SourceTableDetails) SetProvisionedThroughput(v *ProvisionedThroughput) *SourceTableDetails

SetProvisionedThroughput sets the ProvisionedThroughput field's value.

SetTableArn

func (s *SourceTableDetails) SetTableArn(v string) *SourceTableDetails

SetTableArn sets the TableArn field's value.

SetTableCreationDateTime

func (s *SourceTableDetails) SetTableCreationDateTime(v time.Time) *SourceTableDetails

SetTableCreationDateTime sets the TableCreationDateTime field's value.

SetTableId

func (s *SourceTableDetails) SetTableId(v string) *SourceTableDetails

SetTableId sets the TableId field's value.

SetTableName

func (s *SourceTableDetails) SetTableName(v string) *SourceTableDetails

SetTableName sets the TableName field's value.

SetTableSizeBytes

func (s *SourceTableDetails) SetTableSizeBytes(v int64) *SourceTableDetails

SetTableSizeBytes sets the TableSizeBytes field's value.

String

func (s SourceTableDetails) String() string

String returns the string representation

On this page: