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.

BatchModifyClusterSnapshotsInput

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

type BatchModifyClusterSnapshotsInput struct { Force *bool `type:"boolean"` ManualSnapshotRetentionPeriod *int64 `type:"integer"` SnapshotIdentifierList []*string `locationNameList:"String" type:"list" required:"true"` }

Force

Type: *bool

A boolean value indicating whether to override an exception if the retention period has passed.

ManualSnapshotRetentionPeriod

Type: *int64

The number of days that a manual snapshot is retained. If you specify the value -1, the manual snapshot is retained indefinitely.

The number must be either -1 or an integer between 1 and 3,653.

If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option.

SnapshotIdentifierList

Type: []*string

A list of snapshot identifiers you want to modify.

SnapshotIdentifierList is a required field

Method

GoString

func (s BatchModifyClusterSnapshotsInput) GoString() string

GoString returns the string representation

SetForce

func (s *BatchModifyClusterSnapshotsInput) SetForce(v bool) *BatchModifyClusterSnapshotsInput

SetForce sets the Force field's value.

SetManualSnapshotRetentionPeriod

func (s *BatchModifyClusterSnapshotsInput) SetManualSnapshotRetentionPeriod(v int64) *BatchModifyClusterSnapshotsInput

SetManualSnapshotRetentionPeriod sets the ManualSnapshotRetentionPeriod field's value.

SetSnapshotIdentifierList

func (s *BatchModifyClusterSnapshotsInput) SetSnapshotIdentifierList(v []*string) *BatchModifyClusterSnapshotsInput

SetSnapshotIdentifierList sets the SnapshotIdentifierList field's value.

String

func (s BatchModifyClusterSnapshotsInput) String() string

String returns the string representation

Validate

func (s *BatchModifyClusterSnapshotsInput) Validate() error

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

On this page: