Deletes a database in Amazon Lightsail.
See https://www.paws-r-sdk.com/docs/lightsail_delete_relational_database/ for full documentation.
lightsail_delete_relational_database(
relationalDatabaseName,
skipFinalSnapshot = NULL,
finalRelationalDatabaseSnapshotName = NULL
)
[required] The name of the database that you are deleting.
Determines whether a final database snapshot is created before your
database is deleted. If true
is specified, no database snapshot is
created. If false
is specified, a database snapshot is created before
your database is deleted.
You must specify the final relational database snapshot name
parameter
if the skip final snapshot
parameter is false
.
Default: false
The name of the database snapshot created if skip final snapshot
is
false
, which is the default value for that parameter.
Specifying this parameter and also specifying the skip final snapshot
parameter to true
results in an error.
Constraints:
Must contain from 2 to 255 alphanumeric characters, or hyphens.
The first and last character must be a letter or number.