Struct aws_sdk_iam::types::EntityInfo
source · #[non_exhaustive]pub struct EntityInfo {
pub arn: String,
pub name: String,
pub type: PolicyOwnerEntityType,
pub id: String,
pub path: Option<String>,
}
Expand description
Contains details about the specified entity (user or role).
This data type is an element of the EntityDetails
object.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: String
The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon Web Services resources.
For more information about ARNs, go to Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
name: String
The name of the entity (user or role).
type: PolicyOwnerEntityType
The type of entity (user or role).
id: String
The identifier of the entity (user or role).
path: Option<String>
The path to the entity (user or role). For more information about paths, see IAM identifiers in the IAM User Guide.
Implementations§
source§impl EntityInfo
impl EntityInfo
sourcepub fn arn(&self) -> &str
pub fn arn(&self) -> &str
The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon Web Services resources.
For more information about ARNs, go to Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn type(&self) -> &PolicyOwnerEntityType
pub fn type(&self) -> &PolicyOwnerEntityType
The type of entity (user or role).
sourcepub fn path(&self) -> Option<&str>
pub fn path(&self) -> Option<&str>
The path to the entity (user or role). For more information about paths, see IAM identifiers in the IAM User Guide.
source§impl EntityInfo
impl EntityInfo
sourcepub fn builder() -> EntityInfoBuilder
pub fn builder() -> EntityInfoBuilder
Creates a new builder-style object to manufacture EntityInfo
.
Trait Implementations§
source§impl Clone for EntityInfo
impl Clone for EntityInfo
source§fn clone(&self) -> EntityInfo
fn clone(&self) -> EntityInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EntityInfo
impl Debug for EntityInfo
source§impl PartialEq for EntityInfo
impl PartialEq for EntityInfo
source§fn eq(&self, other: &EntityInfo) -> bool
fn eq(&self, other: &EntityInfo) -> bool
self
and other
values to be equal, and is used
by ==
.