pub struct LambdaClient { /* private fields */ }Implementations§
Source§impl LambdaClient
impl LambdaClient
pub fn new(config: AwsConfig) -> Self
pub async fn list_functions(&self) -> Result<Vec<LambdaFunction>>
pub async fn list_applications(&self) -> Result<Vec<LambdaApplication>>
pub async fn list_versions( &self, function_name: &str, ) -> Result<Vec<LambdaVersion>>
Source§impl LambdaClient
impl LambdaClient
pub async fn list_aliases( &self, function_name: &str, ) -> Result<Vec<LambdaAlias>>
pub async fn get_invocations_metric( &self, function_name: &str, resource: Option<&str>, ) -> Result<Vec<(i64, f64)>>
pub async fn get_duration_metric( &self, function_name: &str, stat: Statistic, ) -> Result<Vec<(i64, f64)>>
pub async fn get_errors_metric( &self, function_name: &str, ) -> Result<Vec<(i64, f64)>>
pub async fn get_throttles_metric( &self, function_name: &str, ) -> Result<Vec<(i64, f64)>>
pub async fn get_concurrent_executions_metric( &self, function_name: &str, ) -> Result<Vec<(i64, f64)>>
pub async fn get_recursive_invocations_dropped_metric( &self, function_name: &str, ) -> Result<Vec<(i64, f64)>>
pub async fn get_async_event_age_metric( &self, function_name: &str, stat: Statistic, ) -> Result<Vec<(i64, f64)>>
pub async fn get_async_events_received_metric( &self, function_name: &str, ) -> Result<Vec<(i64, f64)>>
pub async fn get_async_events_dropped_metric( &self, function_name: &str, ) -> Result<Vec<(i64, f64)>>
pub async fn get_destination_delivery_failures_metric( &self, function_name: &str, ) -> Result<Vec<(i64, f64)>>
pub async fn get_dead_letter_errors_metric( &self, function_name: &str, ) -> Result<Vec<(i64, f64)>>
pub async fn get_iterator_age_metric( &self, function_name: &str, ) -> Result<Vec<(i64, f64)>>
Auto Trait Implementations§
impl Freeze for LambdaClient
impl RefUnwindSafe for LambdaClient
impl Send for LambdaClient
impl Sync for LambdaClient
impl Unpin for LambdaClient
impl UnwindSafe for LambdaClient
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.