#[non_exhaustive]pub struct RecommendationExportJob {
pub job_id: Option<String>,
pub destination: Option<ExportDestination>,
pub resource_type: Option<ResourceType>,
pub status: Option<JobStatus>,
pub creation_timestamp: Option<DateTime>,
pub last_updated_timestamp: Option<DateTime>,
pub failure_reason: Option<String>,
}
Expand description
Describes a recommendation export job.
Use the DescribeRecommendationExportJobs
action to view your recommendation export jobs.
Use the ExportAutoScalingGroupRecommendations
or ExportEC2InstanceRecommendations
actions to request an export of your recommendations.
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 identification number of the export job.
destination: Option<ExportDestination>
An object that describes the destination of the export file.
resource_type: Option<ResourceType>
The resource type of the exported recommendations.
status: Option<JobStatus>
The status of the export job.
creation_timestamp: Option<DateTime>
The timestamp of when the export job was created.
last_updated_timestamp: Option<DateTime>
The timestamp of when the export job was last updated.
failure_reason: Option<String>
The reason for an export job failure.
Implementations§
source§impl RecommendationExportJob
impl RecommendationExportJob
sourcepub fn destination(&self) -> Option<&ExportDestination>
pub fn destination(&self) -> Option<&ExportDestination>
An object that describes the destination of the export file.
sourcepub fn resource_type(&self) -> Option<&ResourceType>
pub fn resource_type(&self) -> Option<&ResourceType>
The resource type of the exported recommendations.
sourcepub fn creation_timestamp(&self) -> Option<&DateTime>
pub fn creation_timestamp(&self) -> Option<&DateTime>
The timestamp of when the export job was created.
sourcepub fn last_updated_timestamp(&self) -> Option<&DateTime>
pub fn last_updated_timestamp(&self) -> Option<&DateTime>
The timestamp of when the export job was last updated.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
The reason for an export job failure.
source§impl RecommendationExportJob
impl RecommendationExportJob
sourcepub fn builder() -> RecommendationExportJobBuilder
pub fn builder() -> RecommendationExportJobBuilder
Creates a new builder-style object to manufacture RecommendationExportJob
.
Trait Implementations§
source§impl Clone for RecommendationExportJob
impl Clone for RecommendationExportJob
source§fn clone(&self) -> RecommendationExportJob
fn clone(&self) -> RecommendationExportJob
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RecommendationExportJob
impl Debug for RecommendationExportJob
source§impl PartialEq for RecommendationExportJob
impl PartialEq for RecommendationExportJob
source§fn eq(&self, other: &RecommendationExportJob) -> bool
fn eq(&self, other: &RecommendationExportJob) -> bool
self
and other
values to be equal, and is used
by ==
.