Struct aws_sdk_accessanalyzer::model::PolicyGeneration
source · [−]#[non_exhaustive]pub struct PolicyGeneration { /* private fields */ }Expand description
Contains details about the policy generation status and properties.
Implementations
sourceimpl PolicyGeneration
impl PolicyGeneration
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&str>
The JobId that is returned by the StartPolicyGeneration operation. The JobId can be used with GetGeneratedPolicy to retrieve the generated policies or used with CancelPolicyGeneration to cancel the policy generation request.
sourcepub fn principal_arn(&self) -> Option<&str>
pub fn principal_arn(&self) -> Option<&str>
The ARN of the IAM entity (user or role) for which you are generating a policy.
sourcepub fn started_on(&self) -> Option<&DateTime>
pub fn started_on(&self) -> Option<&DateTime>
A timestamp of when the policy generation started.
sourcepub fn completed_on(&self) -> Option<&DateTime>
pub fn completed_on(&self) -> Option<&DateTime>
A timestamp of when the policy generation was completed.
sourceimpl PolicyGeneration
impl PolicyGeneration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PolicyGeneration.
Trait Implementations
sourceimpl Clone for PolicyGeneration
impl Clone for PolicyGeneration
sourcefn clone(&self) -> PolicyGeneration
fn clone(&self) -> PolicyGeneration
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 moresourceimpl Debug for PolicyGeneration
impl Debug for PolicyGeneration
sourceimpl PartialEq<PolicyGeneration> for PolicyGeneration
impl PartialEq<PolicyGeneration> for PolicyGeneration
sourcefn eq(&self, other: &PolicyGeneration) -> bool
fn eq(&self, other: &PolicyGeneration) -> bool
impl StructuralPartialEq for PolicyGeneration
Auto Trait Implementations
impl RefUnwindSafe for PolicyGeneration
impl Send for PolicyGeneration
impl Sync for PolicyGeneration
impl Unpin for PolicyGeneration
impl UnwindSafe for PolicyGeneration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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