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 for IamIdPrefix
impl PartialEq for IamIdPrefix
Source§impl PartialOrd for IamIdPrefix
impl PartialOrd for IamIdPrefix
impl Copy for IamIdPrefix
impl Eq for IamIdPrefix
impl StructuralPartialEq for IamIdPrefix
Auto Trait Implementations§
impl Freeze for IamIdPrefix
impl RefUnwindSafe for IamIdPrefix
impl Send for IamIdPrefix
impl Sync for IamIdPrefix
impl Unpin for IamIdPrefix
impl UnwindSafe for IamIdPrefix
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