Struct aws_sdk_iam::output::SimulateCustomPolicyOutput
source · [−]#[non_exhaustive]pub struct SimulateCustomPolicyOutput {
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 SimulateCustomPolicyOutput
impl SimulateCustomPolicyOutput
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 SimulateCustomPolicyOutput
impl SimulateCustomPolicyOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SimulateCustomPolicyOutput
Trait Implementations
sourceimpl Clone for SimulateCustomPolicyOutput
impl Clone for SimulateCustomPolicyOutput
sourcefn clone(&self) -> SimulateCustomPolicyOutput
fn clone(&self) -> SimulateCustomPolicyOutput
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 SimulateCustomPolicyOutput
impl Debug for SimulateCustomPolicyOutput
sourceimpl PartialEq<SimulateCustomPolicyOutput> for SimulateCustomPolicyOutput
impl PartialEq<SimulateCustomPolicyOutput> for SimulateCustomPolicyOutput
sourcefn eq(&self, other: &SimulateCustomPolicyOutput) -> bool
fn eq(&self, other: &SimulateCustomPolicyOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SimulateCustomPolicyOutput) -> bool
fn ne(&self, other: &SimulateCustomPolicyOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for SimulateCustomPolicyOutput
Auto Trait Implementations
impl RefUnwindSafe for SimulateCustomPolicyOutput
impl Send for SimulateCustomPolicyOutput
impl Sync for SimulateCustomPolicyOutput
impl Unpin for SimulateCustomPolicyOutput
impl UnwindSafe for SimulateCustomPolicyOutput
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