Struct aws_sdk_datasync::types::ManifestConfig
source · #[non_exhaustive]pub struct ManifestConfig {
pub action: Option<ManifestAction>,
pub format: Option<ManifestFormat>,
pub source: Option<SourceManifestConfig>,
}
Expand description
Configures a manifest, which is a list of files or objects that you want DataSync to transfer. For more information and configuration examples, see Specifying what DataSync transfers by using a 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.action: Option<ManifestAction>
Specifies what DataSync uses the manifest for.
format: Option<ManifestFormat>
Specifies the file format of your manifest. For more information, see Creating a manifest.
source: Option<SourceManifestConfig>
Specifies the manifest that you want DataSync to use and where it's hosted.
You must specify this parameter if you're configuring a new manifest on or after February 7, 2024.
If you don't, you'll get a 400 status code and ValidationException
error stating that you're missing the IAM role for DataSync to access the S3 bucket where you're hosting your manifest. For more information, see Providing DataSync access to your manifest.
Implementations§
source§impl ManifestConfig
impl ManifestConfig
sourcepub fn action(&self) -> Option<&ManifestAction>
pub fn action(&self) -> Option<&ManifestAction>
Specifies what DataSync uses the manifest for.
sourcepub fn format(&self) -> Option<&ManifestFormat>
pub fn format(&self) -> Option<&ManifestFormat>
Specifies the file format of your manifest. For more information, see Creating a manifest.
sourcepub fn source(&self) -> Option<&SourceManifestConfig>
pub fn source(&self) -> Option<&SourceManifestConfig>
Specifies the manifest that you want DataSync to use and where it's hosted.
You must specify this parameter if you're configuring a new manifest on or after February 7, 2024.
If you don't, you'll get a 400 status code and ValidationException
error stating that you're missing the IAM role for DataSync to access the S3 bucket where you're hosting your manifest. For more information, see Providing DataSync access to your manifest.
source§impl ManifestConfig
impl ManifestConfig
sourcepub fn builder() -> ManifestConfigBuilder
pub fn builder() -> ManifestConfigBuilder
Creates a new builder-style object to manufacture ManifestConfig
.
Trait Implementations§
source§impl Clone for ManifestConfig
impl Clone for ManifestConfig
source§fn clone(&self) -> ManifestConfig
fn clone(&self) -> ManifestConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ManifestConfig
impl Debug for ManifestConfig
source§impl PartialEq for ManifestConfig
impl PartialEq for ManifestConfig
source§fn eq(&self, other: &ManifestConfig) -> bool
fn eq(&self, other: &ManifestConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ManifestConfig
Auto Trait Implementations§
impl Freeze for ManifestConfig
impl RefUnwindSafe for ManifestConfig
impl Send for ManifestConfig
impl Sync for ManifestConfig
impl Unpin for ManifestConfig
impl UnwindSafe for ManifestConfig
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