pub struct IamAction {
pub service: &'static str,
pub action: &'static str,
pub resource: String,
}Expand description
One IAM action that the dispatch layer should evaluate against the caller’s effective policy set.
Produced by crate::service::AwsService::iam_action_for on services
that opt into enforcement. The resource is a fully-qualified AWS ARN
built from request.principal.account_id so multi-account isolation
(#381) becomes a state-partitioning change rather than a cross-cutting
rewrite.
Fields§
§service: &'static strIAM service prefix, e.g. "s3", "sqs", "iam".
action: &'static strAWS action name, e.g. "GetObject", "SendMessage".
resource: StringFully-qualified ARN of the target resource.
Implementations§
Trait Implementations§
impl Eq for IamAction
impl StructuralPartialEq for IamAction
Auto Trait Implementations§
impl Freeze for IamAction
impl RefUnwindSafe for IamAction
impl Send for IamAction
impl Sync for IamAction
impl Unpin for IamAction
impl UnsafeUnpin for IamAction
impl UnwindSafe for IamAction
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