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.

ModifyDBSnapshotInput

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

type ModifyDBSnapshotInput struct { DBSnapshotIdentifier *string `type:"string" required:"true"` EngineVersion *string `type:"string"` OptionGroupName *string `type:"string"` }

DBSnapshotIdentifier

Type: *string

The identifier of the DB snapshot to modify.

DBSnapshotIdentifier is a required field

EngineVersion

Type: *string

The engine version to upgrade the DB snapshot to.

The following are the database engines and engine versions that are available when you upgrade a DB snapshot.

MySQL

  • 5.5.46 (supported for 5.1 DB snapshots)

Oracle

  • 12.1.0.2.v8 (supported for 12.1.0.1 DB snapshots)

  • 11.2.0.4.v12 (supported for 11.2.0.2 DB snapshots)

  • 11.2.0.4.v11 (supported for 11.2.0.3 DB snapshots)

OptionGroupName

Type: *string

The option group to identify with the upgraded DB snapshot.

You can specify this parameter when you upgrade an Oracle DB snapshot. The same option group considerations apply when upgrading a DB snapshot as when upgrading a DB instance. For more information, see Option Group Considerations (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Oracle.html#USER_UpgradeDBInstance.Oracle.OGPG.OG) in the Amazon RDS User Guide.

Method

GoString

func (s ModifyDBSnapshotInput) GoString() string

GoString returns the string representation

SetDBSnapshotIdentifier

func (s *ModifyDBSnapshotInput) SetDBSnapshotIdentifier(v string) *ModifyDBSnapshotInput

SetDBSnapshotIdentifier sets the DBSnapshotIdentifier field's value.

SetEngineVersion

func (s *ModifyDBSnapshotInput) SetEngineVersion(v string) *ModifyDBSnapshotInput

SetEngineVersion sets the EngineVersion field's value.

SetOptionGroupName

func (s *ModifyDBSnapshotInput) SetOptionGroupName(v string) *ModifyDBSnapshotInput

SetOptionGroupName sets the OptionGroupName field's value.

String

func (s ModifyDBSnapshotInput) String() string

String returns the string representation

Validate

func (s *ModifyDBSnapshotInput) Validate() error

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

On this page: