Struct aws_sdk_iam::types::Group
source · #[non_exhaustive]pub struct Group {
pub path: String,
pub group_name: String,
pub group_id: String,
pub arn: String,
pub create_date: DateTime,
}
Expand description
Contains information about an IAM group entity.
This data type is used as a response element in the following operations:
-
CreateGroup
-
GetGroup
-
ListGroups
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.path: String
The path to the group. For more information about paths, see IAM identifiers in the IAM User Guide.
group_name: String
The friendly name that identifies the group.
group_id: String
The stable and unique string identifying the group. For more information about IDs, see IAM identifiers in the IAM User Guide.
arn: String
The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
create_date: DateTime
The date and time, in ISO 8601 date-time format, when the group was created.
Implementations§
source§impl Group
impl Group
sourcepub fn path(&self) -> &str
pub fn path(&self) -> &str
The path to the group. For more information about paths, see IAM identifiers in the IAM User Guide.
sourcepub fn group_name(&self) -> &str
pub fn group_name(&self) -> &str
The friendly name that identifies the group.
sourcepub fn group_id(&self) -> &str
pub fn group_id(&self) -> &str
The stable and unique string identifying the group. For more information about IDs, see IAM identifiers in the IAM User Guide.
sourcepub fn arn(&self) -> &str
pub fn arn(&self) -> &str
The Amazon Resource Name (ARN) specifying the group. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
sourcepub fn create_date(&self) -> &DateTime
pub fn create_date(&self) -> &DateTime
The date and time, in ISO 8601 date-time format, when the group was created.
Trait Implementations§
source§impl PartialEq for Group
impl PartialEq for Group
impl StructuralPartialEq for Group
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more