pub struct LogsClient<'a> { /* private fields */ }Implementations§
Source§impl LogsClient<'_>
impl LogsClient<'_>
Sourcepub async fn inject_anomaly(
&self,
req: &LogsAnomalyInjectRequest,
) -> Result<LogsAnomalyInjectResponse, Error>
pub async fn inject_anomaly( &self, req: &LogsAnomalyInjectRequest, ) -> Result<LogsAnomalyInjectResponse, Error>
Seed a synthetic CloudWatch Logs anomaly so tests can exercise
ListAnomalies / UpdateAnomaly deterministically. Returns the
minted anomaly id.
Sourcepub async fn get_delivery_config(
&self,
) -> Result<LogsDeliveryConfigResponse, Error>
pub async fn get_delivery_config( &self, ) -> Result<LogsDeliveryConfigResponse, Error>
Snapshot the per-delivery configuration (one row per
Delivery), joined with the log_type of its associated
DeliverySource.
Sourcepub async fn get_field_indexes(
&self,
log_group_name: &str,
) -> Result<LogsFieldIndexesResponse, Error>
pub async fn get_field_indexes( &self, log_group_name: &str, ) -> Result<LogsFieldIndexesResponse, Error>
Get the parsed Fields lists from a single log group’s index
policies. Returns Error::Api { status: 404, .. } if the log
group is unknown.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for LogsClient<'a>
impl<'a> !UnwindSafe for LogsClient<'a>
impl<'a> Freeze for LogsClient<'a>
impl<'a> Send for LogsClient<'a>
impl<'a> Sync for LogsClient<'a>
impl<'a> Unpin for LogsClient<'a>
impl<'a> UnsafeUnpin for LogsClient<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more