pub enum IamIdPrefix {
AccessKey,
BearerToken,
Certificate,
ContextSpecificCredential,
Group,
InstanceProfile,
ManagedPolicy,
ManagedPolicyVersion,
PublicKey,
Role,
TemporaryAccessKey,
User,
}Expand description
IamIdPrefix represents the four character prefix used to identify IAM resources. See the unique identifiers section of the IAM identifiers documentation.
Variants§
AccessKey
The prefix for static IAM access keys: AKIA.
BearerToken
The prefix for IAM bearer tokens: ABIA.
Certificate
The prefix for IAM certificates: ASCA.
ContextSpecificCredential
The prefix for IAM context-specific credentials: ACCA.
Group
The prefix for IAM groups: AGPA.
InstanceProfile
The prefix for IAM instance profiles: AIPA.
ManagedPolicy
The prefix for IAM managed policies: ANPA.
ManagedPolicyVersion
The prefix for IAM managed policy versions: ANVA.
This does not appear to be used within IAM.
PublicKey
The prefix for IAM public keys: APKA.
Role
The prefix for IAM roles: AROA.
TemporaryAccessKey
The prefix for IAM temporary access keys: ASIA.
User
The prefix for IAM users: AIDA.
Implementations§
Trait Implementations§
source§impl AsRef<str> for IamIdPrefix
impl AsRef<str> for IamIdPrefix
source§impl Clone for IamIdPrefix
impl Clone for IamIdPrefix
source§fn clone(&self) -> IamIdPrefix
fn clone(&self) -> IamIdPrefix
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for IamIdPrefix
impl Debug for IamIdPrefix
source§impl Display for IamIdPrefix
impl Display for IamIdPrefix
source§impl Hash for IamIdPrefix
impl Hash for IamIdPrefix
source§impl Ord for IamIdPrefix
impl Ord for IamIdPrefix
source§fn cmp(&self, other: &IamIdPrefix) -> Ordering
fn cmp(&self, other: &IamIdPrefix) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<IamIdPrefix> for IamIdPrefix
impl PartialEq<IamIdPrefix> for IamIdPrefix
source§fn eq(&self, other: &IamIdPrefix) -> bool
fn eq(&self, other: &IamIdPrefix) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<IamIdPrefix> for IamIdPrefix
impl PartialOrd<IamIdPrefix> for IamIdPrefix
source§fn partial_cmp(&self, other: &IamIdPrefix) -> Option<Ordering>
fn partial_cmp(&self, other: &IamIdPrefix) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more