[−][src]Enum aws_iam::model::types::Action
The Action element describes the specific action or actions that will be allowed or denied. Statements must include either an Action or NotAction element. Each AWS service has its own set of actions that describe tasks that you can perform with that service.
You specify a value using a service namespace as an action prefix (iam
, ec2
, sqs
,
sns
, s3
, etc.) followed by the name of the action to allow or deny. The name must match
an action that is supported by the service. The prefix and the action name are case
insensitive. For example, iam:ListAccessKeys
is the same as IAM:listaccesskeys
.
From IAM JSON Policy Elements: Action and IAM JSON Policy Elements: NotAction.
Variants
Asserts that the action in the request must match one of the specified ones.
Asserts that the action in the request must not match one of the specified ones.
Methods
impl Action
[src]
pub fn any() -> Self
[src]
Construct a wildcard Action.
pub fn this(one: QString) -> Self
[src]
Construct an Action with one value.
pub fn these(any_of: &mut Vec<QString>) -> Self
[src]
Construct an Action with a list of values.
pub fn none() -> Self
[src]
Construct a negative wildcard Action.
pub fn not_this(one: QString) -> Self
[src]
Construct an Action with one negative value.
pub fn not_these(any_of: &mut Vec<QString>) -> Self
[src]
Construct an Action with a list of negative values.
Trait Implementations
impl Clone for Action
[src]
impl PartialEq<Action> for Action
[src]
impl Debug for Action
[src]
impl StructuralPartialEq for Action
[src]
impl Serialize for Action
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Action
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
impl RefUnwindSafe for Action
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,