ModifyDBSnapshot - Amazon Relational Database Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Updates a manual DB snapshot with a new engine version. The snapshot can be encrypted or unencrypted, but not shared or public.

Amazon RDS supports upgrading DB snapshots for MySQL, PostgreSQL, and Oracle. This command doesn't apply to RDS Custom.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.


The identifier of the DB snapshot to modify.

Type: String

Required: Yes


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.


  • 5.5.46 (supported for 5.1 DB snapshots)


  • (supported for DB snapshots)

  • (supported for DB snapshots)

  • (supported for DB snapshots)

  • (supported for DB snapshots)

  • (supported for DB snapshots)


For the list of engine versions that are available for upgrading a DB snapshot, see Upgrading the PostgreSQL DB Engine for Amazon RDS.

Type: String

Required: No


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 in the Amazon RDS User Guide.

Type: String

Required: No

Response Elements

The following element is returned by the service.


Contains the details of an Amazon RDS DB snapshot.

This data type is used as a response element in the DescribeDBSnapshots action.

Type: DBSnapshot object


For information about the errors that are common to all actions, see Common Errors.


DBSnapshotIdentifier doesn't refer to an existing DB snapshot.

HTTP Status Code: 404



This example illustrates one usage of ModifyDBSnapshot.

Sample Request ?Action=ModifyDBSnapshot &DBSnapshotIdentifier=mysnapshot1 &EngineVersion=5.6.44 &SignatureMethod=HmacSHA256 &SignatureVersion=4 &Version=2014-10-31 &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Credential=AKIADQKE4SARGYLE/20161228/us-west-2/rds/aws4_request &X-Amz-Date=20210628T220515Z &X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date &X-Amz-Signature=eb44f1ce3dab4e1dbf113d8d2a265d88d17ece1999ffd36be85714ed36cbdbe3

Sample Response

<ModifyDBSnapshotResponse xmlns=""> <ModifyDBSnapshotResult> <DBSnapshot> <Port>3306</Port> <OptionGroupName>default:mysql-5-6</OptionGroupName> <Engine>mysql</Engine> <Status>available</Status> <SnapshotType>manual</SnapshotType> <LicenseModel>general-public-license</LicenseModel> <EngineVersion>5.6.44</EngineVersion> <DBInstanceIdentifier>mysqldb-sample</DBInstanceIdentifier> <DBSnapshotIdentifier>mysnapshot1</DBSnapshotIdentifier> <SnapshotCreateTime>2021-04-20T10:09:15.446Z</SnapshotCreateTime> <OriginalSnapshotCreateTime>2021-04-20T10:09:15.446Z</OriginalSnapshotCreateTime> <AvailabilityZone>us-west-2b</AvailabilityZone> <InstanceCreateTime>2016-12-28T22:24:26.573Z</InstanceCreateTime> <PercentProgress>100</PercentProgress> <AllocatedStorage>100</AllocatedStorage> <MasterUsername>myawsuser</MasterUsername> </DBSnapshot> </ModifyDBSnapshotResult> <ResponseMetadata> <RequestId>aa80a25a-af09-11d4-ed11-23c32f9aa7d3</RequestId> </ResponseMetadata> </ModifyDBSnapshotResponse>

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: