Update Relational Database

POST {{aws_lightsail_base_url}}/?applyImmediately&disableBackupRetention&enableBackupRetention&masterUserPassword&preferredBackupWindow&preferredMaintenanceWindow&publiclyAccessible&relationalDatabaseName&rotateMasterUserPassword&Version=2016-11-28

Request Params

KeyDatatypeRequiredDescription
applyImmediatelynullWhen true, applies changes immediately. When false, applies changes during the preferred maintenance window. Some changes may cause an outage.
disableBackupRetentionnullWhen true, disables automated backup retention for your database.
enableBackupRetentionnullWhen true, enables automated backup retention for your database.
masterUserPasswordnullThe password for the master user of your database. The password can include any printable ASCII character except /, , or @.
preferredBackupWindownullThe daily time range during which automated backups are created for your database if automated backups are enabled.
preferredMaintenanceWindownullThe weekly time range during which system maintenance can occur on your database.
publiclyAccessiblenullSpecifies the accessibility options for your database. A value of true specifies a database that is available to resources outside of your Lightsail account. A value of false specifies a database that is available only to your Lightsail resources in the same region as your database.
relationalDatabaseNamenullThe name of your database to update.
rotateMasterUserPasswordnullWhen true, the master user password is changed to a new strong password generated by Lightsail.
VersionstringThe version of the API.

Request Body

{"applyImmediately"=>1, "disableBackupRetention"=>1, "enableBackupRetention"=>1, "masterUserPassword"=>"string", "preferredBackupWindow"=>"string", "preferredMaintenanceWindow"=>"string", "publiclyAccessible"=>1, "relationalDatabaseName"=>"string", "rotateMasterUserPassword"=>1}