Struct aws_sdk_iam::output::SimulatePrincipalPolicyOutput
source · [−]#[non_exhaustive]pub struct SimulatePrincipalPolicyOutput {
pub evaluation_results: Option<Vec<EvaluationResult>>,
pub is_truncated: bool,
pub marker: Option<String>,
}
Expand description
Contains the response to a successful SimulatePrincipalPolicy
or SimulateCustomPolicy
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.evaluation_results: Option<Vec<EvaluationResult>>
The results of the simulation.
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 SimulatePrincipalPolicyOutput
impl SimulatePrincipalPolicyOutput
sourcepub fn evaluation_results(&self) -> Option<&[EvaluationResult]>
pub fn evaluation_results(&self) -> Option<&[EvaluationResult]>
The results of the simulation.
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 SimulatePrincipalPolicyOutput
impl SimulatePrincipalPolicyOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SimulatePrincipalPolicyOutput
Trait Implementations
sourceimpl Clone for SimulatePrincipalPolicyOutput
impl Clone for SimulatePrincipalPolicyOutput
sourcefn clone(&self) -> SimulatePrincipalPolicyOutput
fn clone(&self) -> SimulatePrincipalPolicyOutput
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 SimulatePrincipalPolicyOutput
impl Debug for SimulatePrincipalPolicyOutput
sourceimpl PartialEq<SimulatePrincipalPolicyOutput> for SimulatePrincipalPolicyOutput
impl PartialEq<SimulatePrincipalPolicyOutput> for SimulatePrincipalPolicyOutput
sourcefn eq(&self, other: &SimulatePrincipalPolicyOutput) -> bool
fn eq(&self, other: &SimulatePrincipalPolicyOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SimulatePrincipalPolicyOutput) -> bool
fn ne(&self, other: &SimulatePrincipalPolicyOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for SimulatePrincipalPolicyOutput
Auto Trait Implementations
impl RefUnwindSafe for SimulatePrincipalPolicyOutput
impl Send for SimulatePrincipalPolicyOutput
impl Sync for SimulatePrincipalPolicyOutput
impl Unpin for SimulatePrincipalPolicyOutput
impl UnwindSafe for SimulatePrincipalPolicyOutput
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