Struct aws_sdk_iam::output::ListEntitiesForPolicyOutput
source · [−]#[non_exhaustive]pub struct ListEntitiesForPolicyOutput {
pub policy_groups: Option<Vec<PolicyGroup>>,
pub policy_users: Option<Vec<PolicyUser>>,
pub policy_roles: Option<Vec<PolicyRole>>,
pub is_truncated: bool,
pub marker: Option<String>,
}
Expand description
Contains the response to a successful ListEntitiesForPolicy
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.policy_groups: Option<Vec<PolicyGroup>>
A list of IAM groups that the policy is attached to.
policy_users: Option<Vec<PolicyUser>>
A list of IAM users that the policy is attached to.
policy_roles: Option<Vec<PolicyRole>>
A list of IAM roles that the policy is attached to.
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
A list of IAM groups that the policy is attached to.
A list of IAM users that the policy is attached to.
A list of IAM roles that the policy is attached to.
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.
Creates a new builder-style object to manufacture ListEntitiesForPolicyOutput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ListEntitiesForPolicyOutput
impl Send for ListEntitiesForPolicyOutput
impl Sync for ListEntitiesForPolicyOutput
impl Unpin for ListEntitiesForPolicyOutput
impl UnwindSafe for ListEntitiesForPolicyOutput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more