Struct aws_sdk_s3control::types::S3JobManifestGenerator
source · #[non_exhaustive]pub struct S3JobManifestGenerator {
pub expected_bucket_owner: Option<String>,
pub source_bucket: String,
pub manifest_output_location: Option<S3ManifestOutputLocation>,
pub filter: Option<JobManifestGeneratorFilter>,
pub enable_manifest_output: bool,
}
Expand description
The container for the service that will create the S3 manifest.
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.expected_bucket_owner: Option<String>
The Amazon Web Services account ID that owns the bucket the generated manifest is written to. If provided the generated manifest bucket's owner Amazon Web Services account ID must match this value, else the job fails.
source_bucket: String
The source bucket used by the ManifestGenerator.
Directory buckets - Directory buckets aren't supported as the source buckets used by S3JobManifestGenerator
to generate the job manifest.
manifest_output_location: Option<S3ManifestOutputLocation>
Specifies the location the generated manifest will be written to. Manifests can't be written to directory buckets. For more information, see Directory buckets.
filter: Option<JobManifestGeneratorFilter>
Specifies rules the S3JobManifestGenerator should use to decide whether an object in the source bucket should or should not be included in the generated job manifest.
enable_manifest_output: bool
Determines whether or not to write the job's generated manifest to a bucket.
Implementations§
source§impl S3JobManifestGenerator
impl S3JobManifestGenerator
sourcepub fn expected_bucket_owner(&self) -> Option<&str>
pub fn expected_bucket_owner(&self) -> Option<&str>
The Amazon Web Services account ID that owns the bucket the generated manifest is written to. If provided the generated manifest bucket's owner Amazon Web Services account ID must match this value, else the job fails.
sourcepub fn source_bucket(&self) -> &str
pub fn source_bucket(&self) -> &str
The source bucket used by the ManifestGenerator.
Directory buckets - Directory buckets aren't supported as the source buckets used by S3JobManifestGenerator
to generate the job manifest.
sourcepub fn manifest_output_location(&self) -> Option<&S3ManifestOutputLocation>
pub fn manifest_output_location(&self) -> Option<&S3ManifestOutputLocation>
Specifies the location the generated manifest will be written to. Manifests can't be written to directory buckets. For more information, see Directory buckets.
sourcepub fn filter(&self) -> Option<&JobManifestGeneratorFilter>
pub fn filter(&self) -> Option<&JobManifestGeneratorFilter>
Specifies rules the S3JobManifestGenerator should use to decide whether an object in the source bucket should or should not be included in the generated job manifest.
sourcepub fn enable_manifest_output(&self) -> bool
pub fn enable_manifest_output(&self) -> bool
Determines whether or not to write the job's generated manifest to a bucket.
source§impl S3JobManifestGenerator
impl S3JobManifestGenerator
sourcepub fn builder() -> S3JobManifestGeneratorBuilder
pub fn builder() -> S3JobManifestGeneratorBuilder
Creates a new builder-style object to manufacture S3JobManifestGenerator
.
Trait Implementations§
source§impl Clone for S3JobManifestGenerator
impl Clone for S3JobManifestGenerator
source§fn clone(&self) -> S3JobManifestGenerator
fn clone(&self) -> S3JobManifestGenerator
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3JobManifestGenerator
impl Debug for S3JobManifestGenerator
source§impl PartialEq for S3JobManifestGenerator
impl PartialEq for S3JobManifestGenerator
source§fn eq(&self, other: &S3JobManifestGenerator) -> bool
fn eq(&self, other: &S3JobManifestGenerator) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3JobManifestGenerator
Auto Trait Implementations§
impl Freeze for S3JobManifestGenerator
impl RefUnwindSafe for S3JobManifestGenerator
impl Send for S3JobManifestGenerator
impl Sync for S3JobManifestGenerator
impl Unpin for S3JobManifestGenerator
impl UnwindSafe for S3JobManifestGenerator
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