#[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 ==
.impl StructuralPartialEq for RecommendationExportJob
Auto Trait Implementations§
impl Freeze for RecommendationExportJob
impl RefUnwindSafe for RecommendationExportJob
impl Send for RecommendationExportJob
impl Sync for RecommendationExportJob
impl Unpin for RecommendationExportJob
impl UnwindSafe for RecommendationExportJob
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more