pub struct DownloadDBLogFilePortionMessage {
pub db_instance_identifier: String,
pub log_file_name: String,
pub marker: Option<String>,
pub number_of_lines: Option<i64>,
}
Expand description
Fields
db_instance_identifier: String
The customer-assigned name of the DB instance that contains the log files you want to list.
Constraints:
-
Must match the identifier of an existing DBInstance.
log_file_name: String
The name of the log file to be downloaded.
marker: Option<String>
The pagination token provided in the previous request or "0". If the Marker parameter is specified the response includes only records beyond the marker until the end of the file or up to NumberOfLines.
number_of_lines: Option<i64>
The number of lines to download. If the number of lines specified results in a file over 1 MB in size, the file is truncated at 1 MB in size.
If the NumberOfLines parameter is specified, then the block of lines returned can be from the beginning or the end of the log file, depending on the value of the Marker parameter.
-
If neither Marker or NumberOfLines are specified, the entire log file is returned up to a maximum of 10000 lines, starting with the most recent log entries first.
-
If NumberOfLines is specified and Marker isn't specified, then the most recent lines from the end of the log file are returned.
-
If Marker is specified as "0", then the specified number of lines from the beginning of the log file are returned.
-
You can download the log file in blocks of lines by specifying the size of the block using the NumberOfLines parameter, and by specifying a value of "0" for the Marker parameter in your first request. Include the Marker value returned in the response as the Marker value for the next request, continuing until the AdditionalDataPending response element returns false.
Trait Implementations
sourceimpl Clone for DownloadDBLogFilePortionMessage
impl Clone for DownloadDBLogFilePortionMessage
sourcefn clone(&self) -> DownloadDBLogFilePortionMessage
fn clone(&self) -> DownloadDBLogFilePortionMessage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for DownloadDBLogFilePortionMessage
impl Default for DownloadDBLogFilePortionMessage
sourcefn default() -> DownloadDBLogFilePortionMessage
fn default() -> DownloadDBLogFilePortionMessage
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DownloadDBLogFilePortionMessage> for DownloadDBLogFilePortionMessage
impl PartialEq<DownloadDBLogFilePortionMessage> for DownloadDBLogFilePortionMessage
sourcefn eq(&self, other: &DownloadDBLogFilePortionMessage) -> bool
fn eq(&self, other: &DownloadDBLogFilePortionMessage) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DownloadDBLogFilePortionMessage) -> bool
fn ne(&self, other: &DownloadDBLogFilePortionMessage) -> bool
This method tests for !=
.
impl StructuralPartialEq for DownloadDBLogFilePortionMessage
Auto Trait Implementations
impl RefUnwindSafe for DownloadDBLogFilePortionMessage
impl Send for DownloadDBLogFilePortionMessage
impl Sync for DownloadDBLogFilePortionMessage
impl Unpin for DownloadDBLogFilePortionMessage
impl UnwindSafe for DownloadDBLogFilePortionMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more