Struct aws_sdk_rds::input::DownloadDbLogFilePortionInput
source · [−]#[non_exhaustive]pub struct DownloadDbLogFilePortionInput {
pub db_instance_identifier: Option<String>,
pub log_file_name: Option<String>,
pub marker: Option<String>,
pub number_of_lines: i32,
}Expand description
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.db_instance_identifier: Option<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: Option<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: i32The 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.
Implementations
sourceimpl DownloadDbLogFilePortionInput
impl DownloadDbLogFilePortionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DownloadDBLogFilePortion, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DownloadDBLogFilePortion, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DownloadDBLogFilePortion>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DownloadDbLogFilePortionInput
sourceimpl DownloadDbLogFilePortionInput
impl DownloadDbLogFilePortionInput
sourcepub fn db_instance_identifier(&self) -> Option<&str>
pub fn db_instance_identifier(&self) -> Option<&str>
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.
sourcepub fn log_file_name(&self) -> Option<&str>
pub fn log_file_name(&self) -> Option<&str>
The name of the log file to be downloaded.
sourcepub fn marker(&self) -> Option<&str>
pub fn marker(&self) -> Option<&str>
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.
sourcepub fn number_of_lines(&self) -> i32
pub fn number_of_lines(&self) -> i32
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 DownloadDbLogFilePortionInput
impl Clone for DownloadDbLogFilePortionInput
sourcefn clone(&self) -> DownloadDbLogFilePortionInput
fn clone(&self) -> DownloadDbLogFilePortionInput
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 Debug for DownloadDbLogFilePortionInput
impl Debug for DownloadDbLogFilePortionInput
sourceimpl PartialEq<DownloadDbLogFilePortionInput> for DownloadDbLogFilePortionInput
impl PartialEq<DownloadDbLogFilePortionInput> for DownloadDbLogFilePortionInput
sourcefn eq(&self, other: &DownloadDbLogFilePortionInput) -> bool
fn eq(&self, other: &DownloadDbLogFilePortionInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DownloadDbLogFilePortionInput) -> bool
fn ne(&self, other: &DownloadDbLogFilePortionInput) -> bool
This method tests for !=.
impl StructuralPartialEq for DownloadDbLogFilePortionInput
Auto Trait Implementations
impl RefUnwindSafe for DownloadDbLogFilePortionInput
impl Send for DownloadDbLogFilePortionInput
impl Sync for DownloadDbLogFilePortionInput
impl Unpin for DownloadDbLogFilePortionInput
impl UnwindSafe for DownloadDbLogFilePortionInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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