Struct aws_sdk_iam::types::Statement
source · #[non_exhaustive]pub struct Statement { /* private fields */ }
Expand description
Contains a reference to a Statement
element in a policy document that determines the result of the simulation.
This data type is used by the MatchedStatements
member of the
type.EvaluationResult
Implementations§
source§impl Statement
impl Statement
sourcepub fn source_policy_id(&self) -> Option<&str>
pub fn source_policy_id(&self) -> Option<&str>
The identifier of the policy that was provided as an input.
sourcepub fn source_policy_type(&self) -> Option<&PolicySourceType>
pub fn source_policy_type(&self) -> Option<&PolicySourceType>
The type of the policy.
sourcepub fn start_position(&self) -> Option<&Position>
pub fn start_position(&self) -> Option<&Position>
The row and column of the beginning of the Statement
in an IAM policy.
sourcepub fn end_position(&self) -> Option<&Position>
pub fn end_position(&self) -> Option<&Position>
The row and column of the end of a Statement
in an IAM policy.