Struct aws_sdk_accessanalyzer::types::JobDetails
source · #[non_exhaustive]pub struct JobDetails {
pub job_id: Option<String>,
pub status: Option<JobStatus>,
pub started_on: Option<DateTime>,
pub completed_on: Option<DateTime>,
pub job_error: Option<JobError>,
}Expand description
Contains details about the policy generation 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.job_id: Option<String>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.
status: Option<JobStatus>The status of the job request.
started_on: Option<DateTime>A timestamp of when the job was started.
completed_on: Option<DateTime>A timestamp of when the job was completed.
job_error: Option<JobError>The job error for the policy generation request.
Implementations§
source§impl JobDetails
impl JobDetails
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 started_on(&self) -> Option<&DateTime>
pub fn started_on(&self) -> Option<&DateTime>
A timestamp of when the job was started.
sourcepub fn completed_on(&self) -> Option<&DateTime>
pub fn completed_on(&self) -> Option<&DateTime>
A timestamp of when the job was completed.
source§impl JobDetails
impl JobDetails
sourcepub fn builder() -> JobDetailsBuilder
pub fn builder() -> JobDetailsBuilder
Creates a new builder-style object to manufacture JobDetails.
Trait Implementations§
source§impl Clone for JobDetails
impl Clone for JobDetails
source§fn clone(&self) -> JobDetails
fn clone(&self) -> JobDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for JobDetails
impl Debug for JobDetails
source§impl PartialEq<JobDetails> for JobDetails
impl PartialEq<JobDetails> for JobDetails
source§fn eq(&self, other: &JobDetails) -> bool
fn eq(&self, other: &JobDetails) -> bool
self and other values to be equal, and is used
by ==.