Struct aws_sdk_iam::operation::get_service_last_accessed_details::GetServiceLastAccessedDetailsOutput
source · #[non_exhaustive]pub struct GetServiceLastAccessedDetailsOutput {
pub job_status: JobStatusType,
pub job_type: Option<AccessAdvisorUsageGranularityType>,
pub job_creation_date: DateTime,
pub services_last_accessed: Vec<ServiceLastAccessed>,
pub job_completion_date: DateTime,
pub is_truncated: bool,
pub marker: Option<String>,
pub error: Option<ErrorDetails>,
/* private fields */
}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_status: JobStatusTypeThe status of the job.
job_type: Option<AccessAdvisorUsageGranularityType>The type of job. Service jobs return information about when each service was last accessed. Action jobs also include information about when tracked actions within the service were last accessed.
job_creation_date: DateTimeThe date and time, in ISO 8601 date-time format, when the report job was created.
services_last_accessed: Vec<ServiceLastAccessed> A ServiceLastAccessed object that contains details about the most recent attempt to access the service.
job_completion_date: DateTimeThe date and time, in ISO 8601 date-time format, when the generated report job was completed or failed.
This field is null if the job is still in progress, as indicated by a job status value of IN_PROGRESS.
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.
error: Option<ErrorDetails>An object that contains details about the reason the operation failed.
Implementations§
source§impl GetServiceLastAccessedDetailsOutput
impl GetServiceLastAccessedDetailsOutput
sourcepub fn job_status(&self) -> &JobStatusType
pub fn job_status(&self) -> &JobStatusType
The status of the job.
sourcepub fn job_type(&self) -> Option<&AccessAdvisorUsageGranularityType>
pub fn job_type(&self) -> Option<&AccessAdvisorUsageGranularityType>
The type of job. Service jobs return information about when each service was last accessed. Action jobs also include information about when tracked actions within the service were last accessed.
sourcepub fn job_creation_date(&self) -> &DateTime
pub fn job_creation_date(&self) -> &DateTime
The date and time, in ISO 8601 date-time format, when the report job was created.
sourcepub fn services_last_accessed(&self) -> &[ServiceLastAccessed]
pub fn services_last_accessed(&self) -> &[ServiceLastAccessed]
A ServiceLastAccessed object that contains details about the most recent attempt to access the service.
sourcepub fn job_completion_date(&self) -> &DateTime
pub fn job_completion_date(&self) -> &DateTime
The date and time, in ISO 8601 date-time format, when the generated report job was completed or failed.
This field is null if the job is still in progress, as indicated by a job status value of IN_PROGRESS.
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.
sourcepub fn marker(&self) -> Option<&str>
pub fn marker(&self) -> Option<&str>
When IsTruncated is true, this element is present and contains the value to use for the Marker parameter in a subsequent pagination request.
sourcepub fn error(&self) -> Option<&ErrorDetails>
pub fn error(&self) -> Option<&ErrorDetails>
An object that contains details about the reason the operation failed.
source§impl GetServiceLastAccessedDetailsOutput
impl GetServiceLastAccessedDetailsOutput
sourcepub fn builder() -> GetServiceLastAccessedDetailsOutputBuilder
pub fn builder() -> GetServiceLastAccessedDetailsOutputBuilder
Creates a new builder-style object to manufacture GetServiceLastAccessedDetailsOutput.
Trait Implementations§
source§impl Clone for GetServiceLastAccessedDetailsOutput
impl Clone for GetServiceLastAccessedDetailsOutput
source§fn clone(&self) -> GetServiceLastAccessedDetailsOutput
fn clone(&self) -> GetServiceLastAccessedDetailsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for GetServiceLastAccessedDetailsOutput
impl PartialEq for GetServiceLastAccessedDetailsOutput
source§fn eq(&self, other: &GetServiceLastAccessedDetailsOutput) -> bool
fn eq(&self, other: &GetServiceLastAccessedDetailsOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetServiceLastAccessedDetailsOutput
impl RequestId for GetServiceLastAccessedDetailsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.