Get the Latest Snapshot of your Database
Introduction
The following command can be used to get the latest snapshot of your Oracle database.
Code
aws rds describe-db-snapshots --db-instance-identifier <db instance identifier> --query="reverse(sort_by(DBSnapshots, &SnapshotCreateTime))[0].DBSnapshotIdentifier"
Published 2nd November 2022