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.

ReplicaSettingsDescription

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

type ReplicaSettingsDescription struct { RegionName *string `type:"string" required:"true"` ReplicaBillingModeSummary *BillingModeSummary `type:"structure"` ReplicaGlobalSecondaryIndexSettings []*ReplicaGlobalSecondaryIndexSettingsDescription `type:"list"` ReplicaProvisionedReadCapacityAutoScalingSettings *AutoScalingSettingsDescription `type:"structure"` ReplicaProvisionedReadCapacityUnits *int64 `type:"long"` ReplicaProvisionedWriteCapacityAutoScalingSettings *AutoScalingSettingsDescription `type:"structure"` ReplicaProvisionedWriteCapacityUnits *int64 `type:"long"` ReplicaStatus *string `type:"string" enum:"ReplicaStatus"` }

Represents the properties of a replica.

RegionName

Type: *string

The region name of the replica.

RegionName is a required field

ReplicaBillingModeSummary

Contains the details for the read/write capacity mode.

ReplicaGlobalSecondaryIndexSettings

Represents the properties of a global secondary index.

ReplicaProvisionedReadCapacityAutoScalingSettings

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

ReplicaProvisionedReadCapacityUnits

Type: *int64

The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput) in the Amazon DynamoDB Developer Guide.

ReplicaProvisionedWriteCapacityAutoScalingSettings

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

ReplicaProvisionedWriteCapacityUnits

Type: *int64

The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput) in the Amazon DynamoDB Developer Guide.

ReplicaStatus

Type: *string

The current state of the region:

  • CREATING - The region is being created.

  • UPDATING - The region is being updated.

  • DELETING - The region is being deleted.

  • ACTIVE - The region is ready for use.

Method

GoString

func (s ReplicaSettingsDescription) GoString() string

GoString returns the string representation

SetRegionName

func (s *ReplicaSettingsDescription) SetRegionName(v string) *ReplicaSettingsDescription

SetRegionName sets the RegionName field's value.

SetReplicaBillingModeSummary

func (s *ReplicaSettingsDescription) SetReplicaBillingModeSummary(v *BillingModeSummary) *ReplicaSettingsDescription

SetReplicaBillingModeSummary sets the ReplicaBillingModeSummary field's value.

SetReplicaGlobalSecondaryIndexSettings

func (s *ReplicaSettingsDescription) SetReplicaGlobalSecondaryIndexSettings(v []*ReplicaGlobalSecondaryIndexSettingsDescription) *ReplicaSettingsDescription

SetReplicaGlobalSecondaryIndexSettings sets the ReplicaGlobalSecondaryIndexSettings field's value.

SetReplicaProvisionedReadCapacityAutoScalingSettings

func (s *ReplicaSettingsDescription) SetReplicaProvisionedReadCapacityAutoScalingSettings(v *AutoScalingSettingsDescription) *ReplicaSettingsDescription

SetReplicaProvisionedReadCapacityAutoScalingSettings sets the ReplicaProvisionedReadCapacityAutoScalingSettings field's value.

SetReplicaProvisionedReadCapacityUnits

func (s *ReplicaSettingsDescription) SetReplicaProvisionedReadCapacityUnits(v int64) *ReplicaSettingsDescription

SetReplicaProvisionedReadCapacityUnits sets the ReplicaProvisionedReadCapacityUnits field's value.

SetReplicaProvisionedWriteCapacityAutoScalingSettings

func (s *ReplicaSettingsDescription) SetReplicaProvisionedWriteCapacityAutoScalingSettings(v *AutoScalingSettingsDescription) *ReplicaSettingsDescription

SetReplicaProvisionedWriteCapacityAutoScalingSettings sets the ReplicaProvisionedWriteCapacityAutoScalingSettings field's value.

SetReplicaProvisionedWriteCapacityUnits

func (s *ReplicaSettingsDescription) SetReplicaProvisionedWriteCapacityUnits(v int64) *ReplicaSettingsDescription

SetReplicaProvisionedWriteCapacityUnits sets the ReplicaProvisionedWriteCapacityUnits field's value.

SetReplicaStatus

func (s *ReplicaSettingsDescription) SetReplicaStatus(v string) *ReplicaSettingsDescription

SetReplicaStatus sets the ReplicaStatus field's value.

String

func (s ReplicaSettingsDescription) String() string

String returns the string representation

On this page: