pub struct SqsClient { /* private fields */ }Implementations§
Source§impl SqsClient
impl SqsClient
pub fn new(config: AwsConfig) -> Self
pub async fn list_lambda_triggers( &self, queue_arn: &str, ) -> Result<Vec<LambdaTrigger>>
pub async fn list_queues(&self, prefix: &str) -> Result<Vec<SqsQueue>>
pub async fn list_message_move_tasks( &self, queue_url: &str, ) -> Result<(String, String, String, String, String)>
pub async fn get_queue_arn(&self, queue_url: &str) -> Result<String>
pub async fn list_pipes(&self, queue_arn: &str) -> Result<Vec<EventBridgePipe>>
pub async fn get_queue_metrics( &self, queue_name: &str, ) -> Result<Vec<(i64, f64)>>
pub async fn get_queue_delayed_metrics( &self, queue_name: &str, ) -> Result<Vec<(i64, f64)>>
pub async fn get_queue_not_visible_metrics( &self, queue_name: &str, ) -> Result<Vec<(i64, f64)>>
pub async fn get_queue_visible_metrics( &self, queue_name: &str, ) -> Result<Vec<(i64, f64)>>
pub async fn get_queue_empty_receives_metrics( &self, queue_name: &str, ) -> Result<Vec<(i64, f64)>>
pub async fn get_queue_messages_deleted_metrics( &self, queue_name: &str, ) -> Result<Vec<(i64, f64)>>
pub async fn get_queue_messages_received_metrics( &self, queue_name: &str, ) -> Result<Vec<(i64, f64)>>
pub async fn get_queue_messages_sent_metrics( &self, queue_name: &str, ) -> Result<Vec<(i64, f64)>>
pub async fn get_queue_sent_message_size_metrics( &self, queue_name: &str, ) -> Result<Vec<(i64, f64)>>
Auto Trait Implementations§
impl Freeze for SqsClient
impl RefUnwindSafe for SqsClient
impl Send for SqsClient
impl Sync for SqsClient
impl Unpin for SqsClient
impl UnsafeUnpin for SqsClient
impl UnwindSafe for SqsClient
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.