Struct rusoto_lightsail::GetContainerLogRequest
source · [−]pub struct GetContainerLogRequest {
pub container_name: String,
pub end_time: Option<f64>,
pub filter_pattern: Option<String>,
pub page_token: Option<String>,
pub service_name: String,
pub start_time: Option<f64>,
}
Fields
container_name: String
The name of the container that is either running or previously ran on the container service for which to return a log.
end_time: Option<f64>
The end of the time interval for which to get log data.
Constraints:
-
Specified in Coordinated Universal Time (UTC).
-
Specified in the Unix time format.
For example, if you wish to use an end time of October 1, 2018, at 9 PM UTC, specify
1538427600
as the end time.
You can convert a human-friendly time to Unix time format using a converter like Epoch converter.
filter_pattern: Option<String>
The pattern to use to filter the returned log events to a specific term.
The following are a few examples of filter patterns that you can specify:
-
To return all log events, specify a filter pattern of
""
. -
To exclude log events that contain the
ERROR
term, and return all other log events, specify a filter pattern of"-ERROR"
. -
To return log events that contain the
ERROR
term, specify a filter pattern of"ERROR"
. -
To return log events that contain both the
ERROR
andException
terms, specify a filter pattern of"ERROR Exception"
. -
To return log events that contain the
ERROR
or theException
term, specify a filter pattern of"?ERROR ?Exception"
.
page_token: Option<String>
The token to advance to the next page of results from your request.
To get a page token, perform an initial GetContainerLog
request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
service_name: String
The name of the container service for which to get a container log.
start_time: Option<f64>
The start of the time interval for which to get log data.
Constraints:
-
Specified in Coordinated Universal Time (UTC).
-
Specified in the Unix time format.
For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, specify
1538424000
as the start time.
You can convert a human-friendly time to Unix time format using a converter like Epoch converter.
Trait Implementations
sourceimpl Clone for GetContainerLogRequest
impl Clone for GetContainerLogRequest
sourcefn clone(&self) -> GetContainerLogRequest
fn clone(&self) -> GetContainerLogRequest
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 GetContainerLogRequest
impl Debug for GetContainerLogRequest
sourceimpl Default for GetContainerLogRequest
impl Default for GetContainerLogRequest
sourcefn default() -> GetContainerLogRequest
fn default() -> GetContainerLogRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<GetContainerLogRequest> for GetContainerLogRequest
impl PartialEq<GetContainerLogRequest> for GetContainerLogRequest
sourcefn eq(&self, other: &GetContainerLogRequest) -> bool
fn eq(&self, other: &GetContainerLogRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetContainerLogRequest) -> bool
fn ne(&self, other: &GetContainerLogRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for GetContainerLogRequest
impl Serialize for GetContainerLogRequest
impl StructuralPartialEq for GetContainerLogRequest
Auto Trait Implementations
impl RefUnwindSafe for GetContainerLogRequest
impl Send for GetContainerLogRequest
impl Sync for GetContainerLogRequest
impl Unpin for GetContainerLogRequest
impl UnwindSafe for GetContainerLogRequest
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