Struct aws_sdk_s3control::types::JobReport
source · #[non_exhaustive]pub struct JobReport {
pub bucket: Option<String>,
pub format: Option<JobReportFormat>,
pub enabled: bool,
pub prefix: Option<String>,
pub report_scope: Option<JobReportScope>,
}
Expand description
Contains the configuration parameters for a job-completion report.
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.bucket: Option<String>
The Amazon Resource Name (ARN) for the bucket where specified job-completion report will be stored.
Directory buckets - Directory buckets aren't supported as a location for Batch Operations to store job completion reports.
format: Option<JobReportFormat>
The format of the specified job-completion report.
enabled: bool
Indicates whether the specified job will generate a job-completion report.
prefix: Option<String>
An optional prefix to describe where in the specified bucket the job-completion report will be stored. Amazon S3 stores the job-completion report at
.
report_scope: Option<JobReportScope>
Indicates whether the job-completion report will include details of all tasks or only failed tasks.
Implementations§
source§impl JobReport
impl JobReport
sourcepub fn bucket(&self) -> Option<&str>
pub fn bucket(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the bucket where specified job-completion report will be stored.
Directory buckets - Directory buckets aren't supported as a location for Batch Operations to store job completion reports.
sourcepub fn format(&self) -> Option<&JobReportFormat>
pub fn format(&self) -> Option<&JobReportFormat>
The format of the specified job-completion report.
sourcepub fn enabled(&self) -> bool
pub fn enabled(&self) -> bool
Indicates whether the specified job will generate a job-completion report.
sourcepub fn prefix(&self) -> Option<&str>
pub fn prefix(&self) -> Option<&str>
An optional prefix to describe where in the specified bucket the job-completion report will be stored. Amazon S3 stores the job-completion report at
.
sourcepub fn report_scope(&self) -> Option<&JobReportScope>
pub fn report_scope(&self) -> Option<&JobReportScope>
Indicates whether the job-completion report will include details of all tasks or only failed tasks.
Trait Implementations§
source§impl PartialEq for JobReport
impl PartialEq for JobReport
impl StructuralPartialEq for JobReport
Auto Trait Implementations§
impl Freeze for JobReport
impl RefUnwindSafe for JobReport
impl Send for JobReport
impl Sync for JobReport
impl Unpin for JobReport
impl UnwindSafe for JobReport
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