pub struct SnsClient<'a> { /* private fields */ }Implementations§
Source§impl SnsClient<'_>
impl SnsClient<'_>
Sourcepub async fn get_messages(&self) -> Result<SnsMessagesResponse, Error>
pub async fn get_messages(&self) -> Result<SnsMessagesResponse, Error>
List all published SNS messages.
Sourcepub async fn get_pending_confirmations(
&self,
) -> Result<PendingConfirmationsResponse, Error>
pub async fn get_pending_confirmations( &self, ) -> Result<PendingConfirmationsResponse, Error>
List subscriptions pending confirmation.
Sourcepub async fn confirm_subscription(
&self,
req: &ConfirmSubscriptionRequest,
) -> Result<ConfirmSubscriptionResponse, Error>
pub async fn confirm_subscription( &self, req: &ConfirmSubscriptionRequest, ) -> Result<ConfirmSubscriptionResponse, Error>
Confirm a pending subscription.
Sourcepub async fn cert_pem(&self) -> Result<String, Error>
pub async fn cert_pem(&self) -> Result<String, Error>
Fetch the PEM-encoded SNS signing certificate used to sign
outbound notification payloads. Served as
application/x-pem-file; returned as the raw PEM string so
callers can hand it straight to an X.509 parser.
Sourcepub async fn sms(&self) -> Result<SnsSmsResponse, Error>
pub async fn sms(&self) -> Result<SnsSmsResponse, Error>
List recorded SMS publications (phone number + message body).
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SnsClient<'a>
impl<'a> !UnwindSafe for SnsClient<'a>
impl<'a> Freeze for SnsClient<'a>
impl<'a> Send for SnsClient<'a>
impl<'a> Sync for SnsClient<'a>
impl<'a> Unpin for SnsClient<'a>
impl<'a> UnsafeUnpin for SnsClient<'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