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.

ReplicaGlobalSecondaryIndexSettingsDescription

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

type ReplicaGlobalSecondaryIndexSettingsDescription struct { IndexName *string `min:"3" type:"string" required:"true"` IndexStatus *string `type:"string" enum:"IndexStatus"` ProvisionedReadCapacityAutoScalingSettings *AutoScalingSettingsDescription `type:"structure"` ProvisionedReadCapacityUnits *int64 `min:"1" type:"long"` ProvisionedWriteCapacityAutoScalingSettings *AutoScalingSettingsDescription `type:"structure"` ProvisionedWriteCapacityUnits *int64 `min:"1" type:"long"` }

Represents the properties of a global secondary index.

IndexName

Type: *string

The name of the global secondary index. The name must be unique among all other indexes on this table.

IndexName is a required field

IndexStatus

Type: *string

The current status of the global secondary index:

  • CREATING - The global secondary index is being created.

  • UPDATING - The global secondary index is being updated.

  • DELETING - The global secondary index is being deleted.

  • ACTIVE - The global secondary index is ready for use.

ProvisionedReadCapacityAutoScalingSettings

Represents the autoscaling settings for a global table or global secondary index.

ProvisionedReadCapacityUnits

Type: *int64

The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException.

ProvisionedWriteCapacityAutoScalingSettings

Represents the autoscaling settings for a global table or global secondary index.

ProvisionedWriteCapacityUnits

Type: *int64

The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.

Method

GoString

func (s ReplicaGlobalSecondaryIndexSettingsDescription) GoString() string

GoString returns the string representation

SetIndexName

func (s *ReplicaGlobalSecondaryIndexSettingsDescription) SetIndexName(v string) *ReplicaGlobalSecondaryIndexSettingsDescription

SetIndexName sets the IndexName field's value.

SetIndexStatus

func (s *ReplicaGlobalSecondaryIndexSettingsDescription) SetIndexStatus(v string) *ReplicaGlobalSecondaryIndexSettingsDescription

SetIndexStatus sets the IndexStatus field's value.

SetProvisionedReadCapacityAutoScalingSettings

func (s *ReplicaGlobalSecondaryIndexSettingsDescription) SetProvisionedReadCapacityAutoScalingSettings(v *AutoScalingSettingsDescription) *ReplicaGlobalSecondaryIndexSettingsDescription

SetProvisionedReadCapacityAutoScalingSettings sets the ProvisionedReadCapacityAutoScalingSettings field's value.

SetProvisionedReadCapacityUnits

func (s *ReplicaGlobalSecondaryIndexSettingsDescription) SetProvisionedReadCapacityUnits(v int64) *ReplicaGlobalSecondaryIndexSettingsDescription

SetProvisionedReadCapacityUnits sets the ProvisionedReadCapacityUnits field's value.

SetProvisionedWriteCapacityAutoScalingSettings

func (s *ReplicaGlobalSecondaryIndexSettingsDescription) SetProvisionedWriteCapacityAutoScalingSettings(v *AutoScalingSettingsDescription) *ReplicaGlobalSecondaryIndexSettingsDescription

SetProvisionedWriteCapacityAutoScalingSettings sets the ProvisionedWriteCapacityAutoScalingSettings field's value.

SetProvisionedWriteCapacityUnits

func (s *ReplicaGlobalSecondaryIndexSettingsDescription) SetProvisionedWriteCapacityUnits(v int64) *ReplicaGlobalSecondaryIndexSettingsDescription

SetProvisionedWriteCapacityUnits sets the ProvisionedWriteCapacityUnits field's value.

String

func (s ReplicaGlobalSecondaryIndexSettingsDescription) String() string

String returns the string representation

On this page: