Struct aws_sdk_iam::types::GroupDetail
source · #[non_exhaustive]pub struct GroupDetail {
pub path: Option<String>,
pub group_name: Option<String>,
pub group_id: Option<String>,
pub arn: Option<String>,
pub create_date: Option<DateTime>,
pub group_policy_list: Option<Vec<PolicyDetail>>,
pub attached_managed_policies: Option<Vec<AttachedPolicy>>,
}
Expand description
Contains information about an IAM group, including all of the group's policies.
This data type is used as a response element in the GetAccountAuthorizationDetails
operation.
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: Option<String>
The path to the group. For more information about paths, see IAM identifiers in the IAM User Guide.
group_name: Option<String>
The friendly name that identifies the group.
group_id: Option<String>
The stable and unique string identifying the group. For more information about IDs, see IAM identifiers in the IAM User Guide.
arn: Option<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.
create_date: Option<DateTime>
The date and time, in ISO 8601 date-time format, when the group was created.
group_policy_list: Option<Vec<PolicyDetail>>
A list of the inline policies embedded in the group.
attached_managed_policies: Option<Vec<AttachedPolicy>>
A list of the managed policies attached to the group.
Implementations§
source§impl GroupDetail
impl GroupDetail
sourcepub fn path(&self) -> Option<&str>
pub fn path(&self) -> Option<&str>
The path to the group. For more information about paths, see IAM identifiers in the IAM User Guide.
sourcepub fn group_name(&self) -> Option<&str>
pub fn group_name(&self) -> Option<&str>
The friendly name that identifies the group.
sourcepub fn group_id(&self) -> Option<&str>
pub fn group_id(&self) -> Option<&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) -> Option<&str>
pub fn arn(&self) -> Option<&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 create_date(&self) -> Option<&DateTime>
pub fn create_date(&self) -> Option<&DateTime>
The date and time, in ISO 8601 date-time format, when the group was created.
sourcepub fn group_policy_list(&self) -> &[PolicyDetail]
pub fn group_policy_list(&self) -> &[PolicyDetail]
A list of the inline policies embedded in the group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .group_policy_list.is_none()
.
sourcepub fn attached_managed_policies(&self) -> &[AttachedPolicy]
pub fn attached_managed_policies(&self) -> &[AttachedPolicy]
A list of the managed policies attached to the group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .attached_managed_policies.is_none()
.
source§impl GroupDetail
impl GroupDetail
sourcepub fn builder() -> GroupDetailBuilder
pub fn builder() -> GroupDetailBuilder
Creates a new builder-style object to manufacture GroupDetail
.
Trait Implementations§
source§impl Clone for GroupDetail
impl Clone for GroupDetail
source§fn clone(&self) -> GroupDetail
fn clone(&self) -> GroupDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GroupDetail
impl Debug for GroupDetail
source§impl PartialEq for GroupDetail
impl PartialEq for GroupDetail
source§fn eq(&self, other: &GroupDetail) -> bool
fn eq(&self, other: &GroupDetail) -> bool
self
and other
values to be equal, and is used
by ==
.