Learn R Programming

paws.compute (version 0.7.0)

lightsail_delete_relational_database: Deletes a database in Amazon Lightsail

Description

Deletes a database in Amazon Lightsail.

See https://www.paws-r-sdk.com/docs/lightsail_delete_relational_database/ for full documentation.

Usage

lightsail_delete_relational_database(
  relationalDatabaseName,
  skipFinalSnapshot = NULL,
  finalRelationalDatabaseSnapshotName = NULL
)

Arguments

relationalDatabaseName

[required] The name of the database that you are deleting.

skipFinalSnapshot

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

finalRelationalDatabaseSnapshotName

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.