Skip to content

Commit

Permalink
add RDS log file commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Barry committed Jan 22, 2015
1 parent ac38cd2 commit 4f049af
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions aws
Expand Up @@ -449,6 +449,26 @@ use Digest::SHA qw(hmac_sha1_base64 sha256_hex hmac_sha256 hmac_sha256_hex hmac_
["rds", "delete-db-snapshot deldbsnap", DeleteDBSnapshot, [
["", DBSnapshotIdentifier]
]],

# http://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DownloadDBLogFilePortion.html
# http://docs.aws.amazon.com/AmazonRDS/latest/CommandLineReference/CLIReference-cmd-DownloadCompleteDBLogFile.html
["rds", "download-db-log-file-portion downdblog", DownloadDBLogFilePortion, [
["", DBInstanceIdentifier],
["log-file-name l", LogFileName],
["marker m", Marker],
["number-of-lines n", NumberOfLines]
]],

# http://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBLogFiles.html
# http://docs.aws.amazon.com/AmazonRDS/latest/CommandLineReference/CLIReference-cmd-DescribeDBLogFiles.html
["rds", "describe-db-log-files ddlf", DescribeDBLogFiles, [
["", DBInstanceIdentifier],
["file-last-written l", FileLastWritten],
["file-size s", FileSize],
["filename-contains c", FilenameContains],
["marker m", Marker],
["max-records x", MaxRecords]
]],

###########################
### Elastic BeaNstalk ###
Expand Down

0 comments on commit 4f049af

Please sign in to comment.