download_db_log_file_portion ( $opt )

Downloads the last line of the specified log file.

Access

public

Parameters

Parameter

Type

Required

Description

$opt

array

Optional

An associative array of parameters that can have the following keys:

  • DBInstanceIdentifier - string - Optional - The customer-assigned name of the DB Instance that contains the log files you want to list. Constraints:
    • Must contain from 1 to 63 alphanumeric characters or hyphens
    • First character must be a letter
    • Cannot end with a hyphen or contain two consecutive hyphens
  • LogFileName - string - Optional - The name of the log file to be downloaded.
  • Marker - string - Optional - The pagination token provided in the previous request. If this parameter is specified the response includes only records beyond the marker, up to MaxRecords.
  • NumberOfLines - integer - Optional - The number of lines remaining to be downloaded.
  • curlopts - array - Optional - A set of values to pass directly into curl_setopt(), where the key is a pre-defined CURLOPT_* constant.
  • returnCurlHandle - boolean - Optional - A private toggle specifying that the cURL handle be returned rather than actually completing the request. This toggle is useful for manually managed batch requests.

Returns

Type

Description

CFResponse

A CFResponse object containing a parsed HTTP response.

Source

Method defined in services/rds.class.php | Toggle source view (6 lines) | View on GitHub

public function download_db_log_file_portion($opt = null)
{
    if (!$opt) $opt = array();
            
    return $this->authenticate('DownloadDBLogFilePortion', $opt);
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback