pub struct SnsService { /* private fields */ }Implementations§
Source§impl SnsService
impl SnsService
pub fn new(state: SharedSnsState, delivery: Arc<DeliveryBus>) -> Self
Trait Implementations§
Source§impl AwsService for SnsService
impl AwsService for SnsService
Source§fn iam_action_for(&self, request: &AwsRequest) -> Option<IamAction>
fn iam_action_for(&self, request: &AwsRequest) -> Option<IamAction>
SNS resources are topic / subscription / platform-app / endpoint
ARNs. Topic-targeted actions carry a TopicArn; subscription
actions carry a SubscriptionArn; platform-app actions carry
PlatformApplicationArn; endpoint actions carry EndpointArn.
Listing and account-scoped actions target *.
Source§fn service_name(&self) -> &str
fn service_name(&self) -> &str
The AWS service identifier (e.g., “sqs”, “sns”, “sts”, “events”, “ssm”).
Source§fn handle<'life0, 'async_trait>(
&'life0 self,
req: AwsRequest,
) -> Pin<Box<dyn Future<Output = Result<AwsResponse, AwsServiceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn handle<'life0, 'async_trait>(
&'life0 self,
req: AwsRequest,
) -> Pin<Box<dyn Future<Output = Result<AwsResponse, AwsServiceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Handle an incoming request.
Source§fn supported_actions(&self) -> &[&str]
fn supported_actions(&self) -> &[&str]
List of actions this service supports (for introspection).
Source§fn iam_enforceable(&self) -> bool
fn iam_enforceable(&self) -> bool
Whether this service participates in opt-in IAM enforcement
(
FAKECLOUD_IAM=soft|strict). Read moreAuto Trait Implementations§
impl Freeze for SnsService
impl !RefUnwindSafe for SnsService
impl Send for SnsService
impl Sync for SnsService
impl Unpin for SnsService
impl UnsafeUnpin for SnsService
impl !UnwindSafe for SnsService
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