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
sourceimpl ListEntitiesForPolicyOutput
impl ListEntitiesForPolicyOutput
sourcepub fn policy_groups(&self) -> Option<&[PolicyGroup]>
pub fn policy_groups(&self) -> Option<&[PolicyGroup]>
A list of IAM groups that the policy is attached to.
sourcepub fn policy_users(&self) -> Option<&[PolicyUser]>
pub fn policy_users(&self) -> Option<&[PolicyUser]>
A list of IAM users that the policy is attached to.
sourcepub fn policy_roles(&self) -> Option<&[PolicyRole]>
pub fn policy_roles(&self) -> Option<&[PolicyRole]>
A list of IAM roles that the policy is attached to.
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.
sourceimpl ListEntitiesForPolicyOutput
impl ListEntitiesForPolicyOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListEntitiesForPolicyOutput
Trait Implementations
sourceimpl Clone for ListEntitiesForPolicyOutput
impl Clone for ListEntitiesForPolicyOutput
sourcefn clone(&self) -> ListEntitiesForPolicyOutput
fn clone(&self) -> ListEntitiesForPolicyOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ListEntitiesForPolicyOutput
impl Debug for ListEntitiesForPolicyOutput
sourceimpl PartialEq<ListEntitiesForPolicyOutput> for ListEntitiesForPolicyOutput
impl PartialEq<ListEntitiesForPolicyOutput> for ListEntitiesForPolicyOutput
sourcefn eq(&self, other: &ListEntitiesForPolicyOutput) -> bool
fn eq(&self, other: &ListEntitiesForPolicyOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListEntitiesForPolicyOutput) -> bool
fn ne(&self, other: &ListEntitiesForPolicyOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ListEntitiesForPolicyOutput
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more