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.
manifest_output_location: Option<S3ManifestOutputLocation>
Specifies the location the generated manifest will be written to.
filter: Option<JobManifestGeneratorFilter>
Specifies rules the S3JobManifestGenerator should use to 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.
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.
sourcepub fn filter(&self) -> Option<&JobManifestGeneratorFilter>
pub fn filter(&self) -> Option<&JobManifestGeneratorFilter>
Specifies rules the S3JobManifestGenerator should use to 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 ==
.