Struct aws_sdk_iam::operation::get_account_authorization_details::GetAccountAuthorizationDetailsOutput
source · #[non_exhaustive]pub struct GetAccountAuthorizationDetailsOutput {
pub user_detail_list: Option<Vec<UserDetail>>,
pub group_detail_list: Option<Vec<GroupDetail>>,
pub role_detail_list: Option<Vec<RoleDetail>>,
pub policies: Option<Vec<ManagedPolicyDetail>>,
pub is_truncated: bool,
pub marker: Option<String>,
/* private fields */
}
Expand description
Contains the response to a successful GetAccountAuthorizationDetails
request.
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.user_detail_list: Option<Vec<UserDetail>>
A list containing information about IAM users.
group_detail_list: Option<Vec<GroupDetail>>
A list containing information about IAM groups.
role_detail_list: Option<Vec<RoleDetail>>
A list containing information about IAM roles.
policies: Option<Vec<ManagedPolicyDetail>>
A list containing information about managed policies.
is_truncated: bool
A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker
request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems
number of results even when there are more results available. We recommend that you check IsTruncated
after every call to ensure that you receive all your results.
marker: Option<String>
When IsTruncated
is true
, this element is present and contains the value to use for the Marker
parameter in a subsequent pagination request.
Implementations§
source§impl GetAccountAuthorizationDetailsOutput
impl GetAccountAuthorizationDetailsOutput
sourcepub fn user_detail_list(&self) -> &[UserDetail]
pub fn user_detail_list(&self) -> &[UserDetail]
A list containing information about IAM users.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .user_detail_list.is_none()
.
sourcepub fn group_detail_list(&self) -> &[GroupDetail]
pub fn group_detail_list(&self) -> &[GroupDetail]
A list containing information about IAM groups.
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_detail_list.is_none()
.
sourcepub fn role_detail_list(&self) -> &[RoleDetail]
pub fn role_detail_list(&self) -> &[RoleDetail]
A list containing information about IAM roles.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .role_detail_list.is_none()
.
sourcepub fn policies(&self) -> &[ManagedPolicyDetail]
pub fn policies(&self) -> &[ManagedPolicyDetail]
A list containing information about managed policies.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .policies.is_none()
.
sourcepub fn is_truncated(&self) -> bool
pub fn is_truncated(&self) -> bool
A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the Marker
request parameter to retrieve more items. Note that IAM might return fewer than the MaxItems
number of results even when there are more results available. We recommend that you check IsTruncated
after every call to ensure that you receive all your results.
source§impl GetAccountAuthorizationDetailsOutput
impl GetAccountAuthorizationDetailsOutput
sourcepub fn builder() -> GetAccountAuthorizationDetailsOutputBuilder
pub fn builder() -> GetAccountAuthorizationDetailsOutputBuilder
Creates a new builder-style object to manufacture GetAccountAuthorizationDetailsOutput
.
Trait Implementations§
source§impl Clone for GetAccountAuthorizationDetailsOutput
impl Clone for GetAccountAuthorizationDetailsOutput
source§fn clone(&self) -> GetAccountAuthorizationDetailsOutput
fn clone(&self) -> GetAccountAuthorizationDetailsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetAccountAuthorizationDetailsOutput
impl PartialEq for GetAccountAuthorizationDetailsOutput
source§fn eq(&self, other: &GetAccountAuthorizationDetailsOutput) -> bool
fn eq(&self, other: &GetAccountAuthorizationDetailsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetAccountAuthorizationDetailsOutput
impl RequestId for GetAccountAuthorizationDetailsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.