#[non_exhaustive]pub struct SimulateCustomPolicyOutput {
pub evaluation_results: Option<Vec<EvaluationResult>>,
pub is_truncated: bool,
pub marker: Option<String>,
/* private fields */
}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: boolA 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 SimulateCustomPolicyOutput
impl SimulateCustomPolicyOutput
sourcepub fn evaluation_results(&self) -> &[EvaluationResult]
pub fn evaluation_results(&self) -> &[EvaluationResult]
The results of the simulation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .evaluation_results.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 SimulateCustomPolicyOutput
impl SimulateCustomPolicyOutput
sourcepub fn builder() -> SimulateCustomPolicyOutputBuilder
pub fn builder() -> SimulateCustomPolicyOutputBuilder
Creates a new builder-style object to manufacture SimulateCustomPolicyOutput.
Trait Implementations§
source§impl Clone for SimulateCustomPolicyOutput
impl Clone for SimulateCustomPolicyOutput
source§fn clone(&self) -> SimulateCustomPolicyOutput
fn clone(&self) -> SimulateCustomPolicyOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SimulateCustomPolicyOutput
impl Debug for SimulateCustomPolicyOutput
source§impl PartialEq for SimulateCustomPolicyOutput
impl PartialEq for SimulateCustomPolicyOutput
source§fn eq(&self, other: &SimulateCustomPolicyOutput) -> bool
fn eq(&self, other: &SimulateCustomPolicyOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for SimulateCustomPolicyOutput
impl RequestId for SimulateCustomPolicyOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for SimulateCustomPolicyOutput
Auto Trait Implementations§
impl Freeze for SimulateCustomPolicyOutput
impl RefUnwindSafe for SimulateCustomPolicyOutput
impl Send for SimulateCustomPolicyOutput
impl Sync for SimulateCustomPolicyOutput
impl Unpin for SimulateCustomPolicyOutput
impl UnwindSafe for SimulateCustomPolicyOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more