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.

ModifyCurrentDBClusterCapacityInput

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

type ModifyCurrentDBClusterCapacityInput struct { Capacity *int64 `type:"integer"` DBClusterIdentifier *string `type:"string" required:"true"` SecondsBeforeTimeout *int64 `type:"integer"` TimeoutAction *string `type:"string"` }

Capacity

Type: *int64

The DB cluster capacity.

Constraints:

  • Value must be 2, 4, 8, 16, 32, 64, 128, or 256.

DBClusterIdentifier

Type: *string

The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive.

Constraints:

  • Must match the identifier of an existing DB cluster.

DBClusterIdentifier is a required field

SecondsBeforeTimeout

Type: *int64

The amount of time, in seconds, that Aurora Serverless tries to find a scaling point to perform seamless scaling before enforcing the timeout action. The default is 300.

  • Value must be from 10 through 600.

TimeoutAction

Type: *string

The action to take when the timeout is reached, either ForceApplyCapacityChange or RollbackCapacityChange.

ForceApplyCapacityChange, the default, sets the capacity to the specified value as soon as possible.

RollbackCapacityChange ignores the capacity change if a scaling point is not found in the timeout period.

Method

GoString

func (s ModifyCurrentDBClusterCapacityInput) GoString() string

GoString returns the string representation

SetCapacity

func (s *ModifyCurrentDBClusterCapacityInput) SetCapacity(v int64) *ModifyCurrentDBClusterCapacityInput

SetCapacity sets the Capacity field's value.

SetDBClusterIdentifier

func (s *ModifyCurrentDBClusterCapacityInput) SetDBClusterIdentifier(v string) *ModifyCurrentDBClusterCapacityInput

SetDBClusterIdentifier sets the DBClusterIdentifier field's value.

SetSecondsBeforeTimeout

func (s *ModifyCurrentDBClusterCapacityInput) SetSecondsBeforeTimeout(v int64) *ModifyCurrentDBClusterCapacityInput

SetSecondsBeforeTimeout sets the SecondsBeforeTimeout field's value.

SetTimeoutAction

func (s *ModifyCurrentDBClusterCapacityInput) SetTimeoutAction(v string) *ModifyCurrentDBClusterCapacityInput

SetTimeoutAction sets the TimeoutAction field's value.

String

func (s ModifyCurrentDBClusterCapacityInput) String() string

String returns the string representation

Validate

func (s *ModifyCurrentDBClusterCapacityInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: