You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::RDS::DBLogFile
- Inherits:
-
Aws::Resources::Resource
- Object
- Aws::Resources::Resource
- Aws::RDS::DBLogFile
- Defined in:
- (unknown)
Instance Attribute Summary collapse
-
#instance_id ⇒ String
readonly
-
#last_written ⇒ Integer
readonly
A POSIX timestamp when the last log entry was written.
-
#log_file_name ⇒ String
readonly
The name of the log file for the specified DB instance.
-
#name ⇒ String
readonly
-
#size ⇒ Integer
readonly
The size, in bytes, of the log file for the specified DB instance.
Attributes inherited from Aws::Resources::Resource
Instance Method Summary collapse
-
#download(options = {}) ⇒ Types::DownloadDBLogFilePortionDetails
Downloads all or a portion of the specified log file, up to 1 MB in size.
.
-
#initialize ⇒ Object
constructor
Methods inherited from Aws::Resources::Resource
add_data_attribute, add_identifier, #data, data_attributes, #data_loaded?, identifiers, #load, #wait_until
Methods included from Aws::Resources::OperationMethods
#add_batch_operation, #add_operation, #batch_operation, #batch_operation_names, #batch_operations, #operation, #operation_names, #operations
Constructor Details
#initialize(instance_id, name, options = {}) ⇒ Object #initialize(options = {}) ⇒ Object
Instance Attribute Details
#instance_id ⇒ String (readonly)
#last_written ⇒ Integer (readonly)
A POSIX timestamp when the last log entry was written.
#log_file_name ⇒ String (readonly)
The name of the log file for the specified DB instance.
#name ⇒ String (readonly)
#size ⇒ Integer (readonly)
The size, in bytes, of the log file for the specified DB instance.
Instance Method Details
#download(options = {}) ⇒ Types::DownloadDBLogFilePortionDetails
Downloads all or a portion of the specified log file, up to 1 MB in size.